/* ==========================================================================
   Bluewater Medical — stylesheet
   Brand navy #384e7b + slate #808b8e (from the logo), maritime aqua accent.
   Product photos are cut out and shown on a soft "studio" plate with a faint
   engineering grid, light on pale sections and glowing on navy.
   ========================================================================== */

:root {
  --navy:     #384e7b;
  --navy-700: #2d3f66;
  --navy-800: #22325a;
  --navy-900: #1b2a4a;
  --navy-950: #111c33;
  --aqua:     #2fa7bb;
  --aqua-300: #7fd3e0;
  --slate:    #808b8e;
  --ink:      #16202e;
  --muted:    #5b6673;
  --line:     #e3e8f0;
  --mist:     #f3f6fa;
  --white:    #fff;

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-text:    "Inter", "Segoe UI", system-ui, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(17,28,51,.06), 0 2px 8px rgba(17,28,51,.05);
  --shadow:    0 12px 32px rgba(17,28,51,.12);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-text); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-display); line-height: 1.12; font-weight: 600; color: var(--navy-900); letter-spacing: -.01em; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--mist { background: var(--mist); }
.section--dark { position: relative; background: var(--navy-900); color: rgba(255,255,255,.8); }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); display: inline-flex; align-items: center; gap: .6em; margin-bottom: 14px; }
.eyebrow::before { /* small wave mark */
  content: ""; width: 28px; height: 8px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 8'%3E%3Cpath d='M0 4 Q3.5 0 7 4 T14 4 T21 4 T28 4' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 8'%3E%3Cpath d='M0 4 Q3.5 0 7 4 T14 4 T21 4 T28 4' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
}
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.section--dark .section-head p { color: rgba(255,255,255,.72); }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 600; font-size: .95rem; padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent; background: var(--navy); color: #fff; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 17px; height: 17px; }
.btn--accent { background: var(--aqua); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.link-arrow { font-family: var(--font-display); font-weight: 600; display: inline-flex; align-items: center; gap: .4em; color: var(--aqua); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); background: rgba(17,28,51,.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 54px; width: auto; filter: brightness(0) invert(1); }
@media (max-width: 560px) { .brand img { height: 42px; } }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.86); border-radius: 8px; transition: color .2s, background .2s; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-links .caret { width: 10px; height: 10px; transition: transform .2s; }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--navy-900); }
.dropdown a:hover { background: var(--mist); }
.dropdown a b { display: block; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.dropdown a span { font-size: .8rem; color: var(--slate); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }
main { padding-top: var(--header-h); }

/* ---------------------------------------------------------- product shot */
.shot {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; padding: 28px 28px 52px;
  background:
    radial-gradient(70% 60% at 50% 45%, #fff 0%, rgba(255,255,255,0) 100%),
    linear-gradient(rgba(56,78,123,.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(56,78,123,.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, #f7fafc, var(--mist));
  border: 1px solid var(--line);
}
.shot img { width: 100%; height: 100%; max-height: 340px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(17,28,51,.18)); transition: transform .6s var(--ease); }
.shot figcaption { position: absolute; left: 18px; bottom: 14px; right: 18px; font-family: var(--font-display); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); display: flex; justify-content: space-between; gap: 10px; }
.shot figcaption span:last-child { color: var(--slate); text-transform: none; letter-spacing: .02em; }
.shot--dark { background: radial-gradient(60% 55% at 50% 45%, rgba(127,211,224,.22), transparent 70%), rgba(17,28,51,.55); border-color: rgba(127,211,224,.18); }
.shot--dark img { filter: drop-shadow(0 16px 24px rgba(0,0,0,.45)); }
.shot--dark figcaption { color: var(--aqua-300); }
.shot--dark figcaption span:last-child { color: rgba(255,255,255,.5); }
a:hover .shot img, .band .shot:hover img { transform: scale(1.03); }
.sticky .shot + .shot { margin-top: 18px; }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 500px at 85% 10%, rgba(47,167,187,.35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 60%, var(--navy-950) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(127,211,224,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(127,211,224,.07) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(100deg, transparent 20%, #000 75%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: min(72vh, 660px); padding-block: 56px 110px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; line-height: 1.06; }
.hero h1 em { font-style: normal; color: var(--aqua-300); }
.hero p.lead { margin-top: 22px; font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: rgba(255,255,255,.8); max-width: 560px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-focus { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-focus li { font-family: var(--font-display); font-size: .82rem; letter-spacing: .06em; padding: 7px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.85); }
/* hero "drawing sheet": one large slot over two small ones; each slot cross-fades through its shots */
.hero-sheet { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-slot { display: grid; }
.hero-slot:first-child { grid-column: 1 / -1; }
.hero-sheet .shot { grid-area: 1 / 1; padding: 22px 22px 44px; aspect-ratio: 4 / 3; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-sheet .shot.is-active { opacity: 1; }
.hero-slot:first-child .shot { aspect-ratio: 16 / 8; }
.hero-sheet .shot img { position: absolute; top: 18px; left: 18px; width: calc(100% - 36px); height: calc(100% - 56px); max-height: none; object-fit: contain; }
.hero-sheet .shot figcaption { font-size: .66rem; }

/* animated waves: three layers drifting at different speeds */
.waves { position: absolute; left: 0; right: 0; height: 90px; overflow: hidden; pointer-events: none; z-index: 3; }
.waves--bottom { bottom: -1px; }
.waves--top { top: -89px; }
.waves svg { position: absolute; left: 0; bottom: 0; width: 200%; animation: wave-drift linear infinite; }
.waves .w1 { height: 100%; animation-duration: 28s; }
.waves .w2 { height: 78%; animation-duration: 19s; animation-direction: reverse; }
.waves .w3 { height: 56%; animation-duration: 13s; }
@keyframes wave-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* page hero (subpages) */
.page-hero { position: relative; color: #fff; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 70%); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(127,211,224,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(127,211,224,.07) 1px, transparent 1px); background-size: 64px 64px; }
.page-hero .container { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 110px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 820px; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 1.12rem; max-width: 680px; margin-top: 16px; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: #fff; }
.tag { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); background: rgba(47,167,187,.12); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.page-hero .tag { color: var(--aqua-300); background: rgba(127,211,224,.12); }

/* --------------------------------------------------------------- services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.service { padding: 36px 32px; border-right: 1px solid var(--line); }
.service:last-child { border-right: 0; }
.service .num { font-family: var(--font-display); font-weight: 600; color: var(--aqua); font-size: .85rem; letter-spacing: .1em; }
.service h3 { font-size: 1.35rem; margin: 10px 0; }
.service p { color: var(--muted); font-size: .98rem; }

/* ------------------------------------------------------- project bands */
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band:nth-child(odd) { background: var(--mist); }  /* first band continues the grey intro */
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.band:nth-child(even) .band-grid > :last-child { order: -1; }
.band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.band p { color: var(--muted); margin-bottom: 18px; }
.band ul.ticks { margin: 0 0 22px; }
.ip-note { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 26px; padding: 10px 14px; border-left: 3px solid var(--aqua); background: rgba(47,167,187,.08); border-radius: 0 8px 8px 0; font-size: .92rem; color: var(--muted); }
.ip-note b { font-family: var(--font-display); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); }
.band .shot { aspect-ratio: 4 / 3; }
.band .shot img { position: absolute; inset: 28px 28px 52px; width: calc(100% - 56px); height: calc(100% - 80px); max-height: none; }

ul.ticks { display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 28px; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 13px; height: 7px; border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(-45deg); }

/* ------------------------------------------------------------- quote band */
.quote-band { position: relative; text-align: center; }
.quote-band blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.35; color: #fff; max-width: 880px; margin-inline: auto; }
.quote-band cite { display: block; margin-top: 18px; font-style: normal; color: var(--aqua-300); font-family: var(--font-display); letter-spacing: .06em; font-size: .9rem; }

/* ---------------------------------------------------------------- patents */
.patent-teaser { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.patent-teaser .shot { aspect-ratio: 1; padding: 22px 22px 44px; }
.patent-teaser .shot img { position: absolute; inset: 18px 18px 44px; width: calc(100% - 36px); height: calc(100% - 62px); max-height: none; }
.patent-teaser .shot figcaption { font-size: .66rem; flex-direction: column; gap: 2px; }
.field-group { margin-bottom: 56px; }
.field-group > h2 { font-size: 1.5rem; margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.field-group > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.patent-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.patent-card { display: grid; grid-template-columns: 220px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.patent-card .shot { border-radius: 0; border: 0; border-right: 1px solid var(--line); padding: 18px; }
.patent-card .shot img { max-height: 170px; }
.patent-card .body { padding: 22px 24px; }
.patent-card .no { font-family: var(--font-display); font-size: .78rem; letter-spacing: .06em; color: var(--aqua); font-weight: 600; }
.patent-card h3 { font-size: 1.08rem; margin: 6px 0 8px; }
.patent-card p { color: var(--muted); font-size: .93rem; }
.patent-card--text { grid-template-columns: 1fr; }

/* ------------------------------------------------------------ project page */
.detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail-grid h2 { font-size: 1.6rem; margin: 0 0 14px; }
.detail-grid h2:not(:first-child) { margin-top: 40px; }
.detail-grid p { color: var(--muted); margin-bottom: 14px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); margin-top: 22px; }
.aside-card h3 { font-size: 1rem; margin-bottom: 10px; }
.aside-card p { font-size: .93rem; color: var(--muted); margin-bottom: 14px; }
.patent-refs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.patent-refs a { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--navy); }
.patent-refs a:hover { color: var(--aqua); }
.patent-refs span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 28px; }
.pager a { font-family: var(--font-display); font-weight: 600; }
.pager small { display: block; font-family: var(--font-text); font-weight: 400; color: var(--slate); font-size: .8rem; }

/* ---------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-grid h2 { font-size: 1.6rem; margin: 0 0 14px; }
.about-grid h2:not(:first-child) { margin-top: 40px; }
.about-grid p { color: var(--muted); margin-bottom: 14px; }
.timeline { border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 24px 26px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--aqua); }
.timeline b { font-family: var(--font-display); color: var(--navy-900); display: block; }
.timeline span { color: var(--muted); font-size: .95rem; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.facts li { background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .86rem; color: var(--navy-900); }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.principle { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--aqua); border-radius: var(--radius); padding: 26px 28px; }
.principle h3 { font-size: 1.12rem; margin-bottom: 8px; }
.principle p { color: var(--muted); font-size: .97rem; }
.testimonial { margin: 32px 0 0; padding: 26px 28px; background: var(--mist); border-left: 3px solid var(--aqua); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; line-height: 1.55; color: var(--navy-900); }
.testimonial cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--font-text); font-weight: 500; font-size: .9rem; color: var(--aqua); }
.study-cite { margin-top: 18px; font-size: .9rem; color: var(--slate); }
.study-cite a { font-weight: 600; color: var(--navy); }
.principle blockquote { margin-top: 14px; font-family: var(--font-display); font-style: italic; color: var(--navy); font-size: .95rem; }
.principle cite { display: block; font-style: normal; color: var(--slate); font-size: .8rem; margin-top: 4px; }

/* -------------------------------------------------------------- about teaser */
.teaser { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.teaser img { border-radius: var(--radius); box-shadow: var(--shadow); }
.teaser h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.teaser p { color: var(--muted); margin-bottom: 20px; }

/* --------------------------------------------------------------- contact */
.contact-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ic { flex: 0 0 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(127,211,224,.12); color: var(--aqua-300); }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list b { display: block; color: #fff; font-family: var(--font-display); font-size: .92rem; }
.contact-list a, .contact-list span { color: rgba(255,255,255,.75); }
.contact-list a:hover { color: var(--aqua-300); }
.contact-list small { color: rgba(255,255,255,.45); font-size: .78rem; }
.contact-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.contact-form .field { margin-bottom: 16px; }
.contact-form label { display: block; font-family: var(--font-display); font-size: .85rem; color: #fff; margin-bottom: 6px; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: .98rem; color: #fff; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.14); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--aqua); background: rgba(255,255,255,.1); }
.contact-form textarea { resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { margin-top: 14px; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: var(--aqua-300); }
.form-status.err { color: #ffb4a8; }
.coords { font-family: var(--font-display); letter-spacing: .06em; }

/* ------------------------------------------------------------------ legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal p { color: var(--muted); margin-bottom: 14px; }
.legal .box { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.legal .box p { margin: 0; color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.68); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer img { height: 38px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer li { margin-bottom: 9px; font-size: .94rem; }
.site-footer a { color: rgba(255,255,255,.68); }
.site-footer a:hover { color: var(--aqua-300); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; }

/* ----------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .waves svg { animation: none; } html { scroll-behavior: auto; } }

/* ------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero-grid, .band-grid, .detail-grid, .about-grid, .teaser, .contact-band { grid-template-columns: 1fr; }
  .band:nth-child(even) .band-grid > :last-child { order: 0; }
  .services { grid-template-columns: 1fr; }
  .service { border-right: 0; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: 0; }
  .patent-list, .principles { grid-template-columns: 1fr; }
  .patent-teaser { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-photo, .teaser img { max-width: 320px; }
  .sticky { position: static; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--navy-950); padding: 8px var(--gutter) 18px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-header.open .nav-links > li > a { padding: 14px 4px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 6px 12px; min-width: 0; }
  .dropdown a { color: rgba(255,255,255,.75); padding: 8px 4px; }
  .dropdown a:hover { background: transparent; color: #fff; }
  .dropdown a span { display: none; }
  .nav-cta { display: none; }
  .hero-slot:not(:first-child) { display: none; }
  .hero-grid { min-height: 0; }
  .waves { height: 60px; }
  .waves--top { top: -59px; }
}
@media (max-width: 560px) {
  .patent-card { grid-template-columns: 1fr; }
  .patent-card .shot { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .patent-teaser { grid-template-columns: 1fr 1fr; gap: 10px; }
}
