@font-face{font-family:'Rokkitt';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/rokkitt-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Rokkitt';font-style:italic;font-weight:100 900;font-display:swap;src:url('../fonts/rokkitt-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-display:swap;src:url('../fonts/opensans-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Open Sans';font-style:italic;font-weight:300 800;font-display:swap;src:url('../fonts/opensans-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* metric-matched fallbacks so font-display:swap costs no layout shift */
@font-face{font-family:'Rokkitt Fallback';src:local('Georgia');size-adjust:96%;ascent-override:92%;descent-override:24%;line-gap-override:0%;}
@font-face{font-family:'Open Sans Fallback';src:local('Arial');size-adjust:104%;ascent-override:104%;descent-override:28%;line-gap-override:0%;}

/* ============================================================
   DAIDRA FOUNDATION — the quality floor every build starts from
   v1.0 · 2026-08-06 · sources: live-verified extractions in
   knowledge/websites-enterprise.md (Stripe et al.) + DESIGN.md

   HOW TO USE (per project):
   1. Copy this file into the project as the base of site.css.
   2. Skin ONLY the "BRAND SLOTS" block — fonts, hues, radius,
      heading weight. Everything below the slots is the standard;
      it should survive the skin untouched.
   3. The specimen page (index.html beside this file) shows every
      token and primitive in every state — rebuild it mentally
      against your skin before building pages.

   Rules encoded here (don't fight them):
   - Spacing lives on an 8px grid. Type lives on the clamp() scale.
   - Two easings, four durations. Nothing animates off-system.
   - Never `transition: all`. Hover moves ≥2 properties.
   - :focus-visible is a designed brand element, not a default.
   - Content never touches the viewport edge (--px gutter).
   - .section uses LONG-HAND padding (shorthand resets .wrap).
   - prefers-reduced-motion gets designed static states, not
     frozen half-animations.
   ============================================================ */

/* ----------------------------------------------------------
   1. BRAND SLOTS — the only block a project should edit
   ---------------------------------------------------------- */
:root {
  /* Type: one display face, one text face (or one variable font
     for both — preload it, font-display: block if <80KB). */
  --font-display: "Rokkitt", "Rokkitt Fallback", Georgia, serif;
  --font-body: "Open Sans", "Open Sans Fallback", Arial, sans-serif;
  --font-mono: "Open Sans", "Open Sans Fallback", Arial, sans-serif;

  /* Enterprise voice = light-weight large type. 300–400 display
     weight reads expensive; 700 reads template. */
  --weight-display: 380;
  --weight-body: 400;
  --weight-medium: 500;   /* the heaviest weight most UIs need */

  /* Brand hues. --brand-h drives the neutral tint below — the
     single cheapest "expensive" trick: neutrals tinted toward the
     brand hue instead of pure gray. */
  --brand-h: 235;                       /* hue 0-360 */
  --accent: oklch(0.55 0.19 var(--brand-h));
  --accent-strong: oklch(0.45 0.21 var(--brand-h));

  /* Geometry personality: 4px = precise/enterprise (Stripe),
     8-12px = friendly SaaS, 999px pills = consumer. Pick ONE. */
  --radius: 4px;
  --radius-lg: 12px;
}

/* ----------------------------------------------------------
   2. NEUTRALS — brand-tinted ramp (never pure gray)
   ---------------------------------------------------------- */
:root {
  --n-50:  oklch(0.985 0.004 var(--brand-h));
  --n-100: oklch(0.96  0.006 var(--brand-h));
  --n-200: oklch(0.91  0.008 var(--brand-h));
  --n-300: oklch(0.83  0.010 var(--brand-h));
  --n-500: oklch(0.60  0.020 var(--brand-h));
  --n-700: oklch(0.40  0.028 var(--brand-h));
  --n-900: oklch(0.25  0.030 var(--brand-h));
  --n-950: oklch(0.17  0.025 var(--brand-h));
}

/* ----------------------------------------------------------
   3. SEMANTIC COLOR + SECTION MODES
   Components consume ONLY these slots. Sections switch skin by
   mode class — components are never restyled per section.
   ---------------------------------------------------------- */
:root, .mode-light {
  --surface: #fff;
  --surface-2: var(--n-50);
  --text: var(--n-900);
  --text-2: var(--n-500);
  --line: var(--n-200);
  --link: var(--accent-strong);
}
.mode-tint {
  --surface: var(--n-50);
  --surface-2: #fff;
}
.mode-dark {
  --surface: var(--n-950);
  --surface-2: var(--n-900);
  --text: var(--n-50);
  --text-2: var(--n-300);
  --line: oklch(0.32 0.03 var(--brand-h));
  --link: oklch(0.75 0.12 var(--brand-h));
}

/* ----------------------------------------------------------
   4. SPACE — 8px grid + the edge gutter
   ---------------------------------------------------------- */
:root {
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-6: 48px; --s-8: 64px; --s-12: 96px; --s-16: 128px; --s-20: 160px;
  --px: clamp(24px, 5vw, 96px);        /* viewport edge gutter */
  --measure: 68ch;                      /* body copy max width */
  --wrap: 1200px;
}

/* ----------------------------------------------------------
   5. TYPE SCALE — clamp()-fluid, tracking tightens as size grows
   ---------------------------------------------------------- */
:root {
  --text-xs: 0.75rem;                               /* 12 — labels */
  --text-sm: 0.875rem;                              /* 14 — UI */
  --text-md: 1rem;                                  /* 16 — body */
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-2xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --text-hero: clamp(2.5rem, 1.75rem + 3.5vw, 4.5rem);
}

/* ----------------------------------------------------------
   6. MOTION — the closed system. Two easings, four durations.
   ---------------------------------------------------------- */
:root {
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);        /* easeOutQuart — default */
  --ease-inout: cubic-bezier(0.45, 0.05, 0.55, 0.95); /* panels, nav */
  --dur-1: 150ms;   /* feedback: press, toggle */
  --dur-2: 240ms;   /* hover, small reveals */
  --dur-3: 450ms;   /* panels, section transitions */
  --dur-4: 800ms;   /* card lifts, entrances */
  --stagger: 70ms;  /* sibling choreography interval */
}

/* ----------------------------------------------------------
   7. ELEVATION + FOCUS — designed, tokenized
   ---------------------------------------------------------- */
:root {
  --shadow-soft: 0 20px 40px -20px rgb(0 0 0 / 0.12);
  --shadow-lift: 0 32px 64px -24px rgb(0 0 0 / 0.18);
  --focus-ring: 0 0 0 3px oklch(0.55 0.19 var(--brand-h) / 0.18);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius);
}

/* ----------------------------------------------------------
   8. BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--weight-body);
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: 1.1;
  margin: 0 0 var(--s-3);
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); letter-spacing: -0.022em; line-height: 1.05; }
h2 { font-size: var(--text-2xl); letter-spacing: -0.018em; }
h3 { font-size: var(--text-xl); letter-spacing: -0.012em; }
h4 { font-size: var(--text-lg); letter-spacing: -0.008em; font-weight: var(--weight-medium); }
p { margin: 0 0 var(--s-2); max-width: var(--measure); text-wrap: pretty; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }

/* Eyebrow / utility label — mono, tracked wide, the "instrument" voice */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ----------------------------------------------------------
   9. LAYOUT — section + wrap (long-hand padding, always)
   ---------------------------------------------------------- */
.section {
  /* LONG-HAND on purpose: `padding: X 0` here silently resets
     .wrap's gutters when combined (documented failure). */
  padding-top: var(--s-12);
  padding-bottom: var(--s-12);
  background: var(--surface);
  color: var(--text);
}
.section--hero {
  min-height: 72vh;              /* never 100vh — next section peeks */
  display: flex;
  align-items: center;
}
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

/* ----------------------------------------------------------
   10. PRIMITIVES — one spec each, reused verbatim on every page
   ---------------------------------------------------------- */

/* Button — asymmetric vertical padding (optical balance),
   transitions name their properties, hover moves ≥2. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: 13px 24px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: var(--weight-medium) var(--text-md) / 1 var(--font-body);
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
}
.btn:hover, .btn:focus-visible {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.btn:active { transform: translateY(0); transition-duration: var(--dur-1); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: var(--surface-2);
  border-color: var(--text-2);
  transform: translateY(-1px);
  box-shadow: none;
}
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* The one-variable hover engine — parent flips --hover, children
   consume it. Focus replays the full hover choreography for free. */
.hoverable { --hover: 0; }
.hoverable:hover, .hoverable:focus-visible, .hoverable:focus-within { --hover: 1; }

/* Link-arrow — title + arrow whose shaft draws in on hover */
.link-arrow {
  --hover: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: var(--weight-medium);
  color: var(--link);
  text-decoration: none;
}
.link-arrow:hover, .link-arrow:focus-visible { --hover: 1; }
.link-arrow .arrow { transition: transform var(--dur-2) var(--ease-out); }
.link-arrow .arrow .shaft {
  opacity: var(--hover);
  transition: opacity var(--dur-2) var(--ease-out);
}
.link-arrow:hover .arrow, .link-arrow:focus-visible .arrow { transform: translateX(3px); }

/* Card — soft negative-spread shadow, lift on hover */
.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  transition:
    transform var(--dur-4) var(--ease-out),
    box-shadow var(--dur-4) var(--ease-out),
    border-color var(--dur-2) var(--ease-out);
}
.card:hover, .card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--n-300);
}
.card > :last-child { margin-bottom: 0; }

/* Stat — big number, smaller unit, mono label underneath */
.stat { display: grid; gap: 4px; }
.stat b {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-display);
  letter-spacing: -0.018em;
  line-height: 1;
}
.stat b small { font-size: 0.55em; font-weight: var(--weight-medium); }
.stat .eyebrow { margin-top: 2px; }

/* Dom-graphic scaffold — product UI as scaled live HTML.
   Design the mock at a fixed px width, scale the block. */
.dom-graphic {
  --gw: 320px;        /* design width */
  --gs: 1;            /* scale (set per placement / media query) */
  width: calc(var(--gw) * var(--gs));
  pointer-events: none;
  user-select: none;
}
.dom-graphic > .dg-frame {
  width: var(--gw);
  transform: scale(var(--gs));
  transform-origin: top left;
}

/* ----------------------------------------------------------
   11. REVEAL CHOREOGRAPHY — IO adds .in; siblings stagger.
   JS contract (site.js):
     const io = new IntersectionObserver(es => es.forEach(e => {
       if (e.isIntersecting) { e.target.classList.add('in'); io.unobserve(e.target); }
     }), { threshold: 0.15, rootMargin: '0px 0px -8% 0px' });
     document.querySelectorAll('.reveal').forEach(el => io.observe(el));
   Fail-safe: .reveal without JS must still be readable — the
   `no-js` class (set in <head>, removed by JS) keeps opacity 1.
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-4) var(--ease-out),
    transform var(--dur-4) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ----------------------------------------------------------
   12. REDUCED MOTION — designed static states, not freezes
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn--ghost, .card, .link-arrow .arrow, .link-arrow .arrow .shaft {
    transition: none;
  }
  .card:hover { transform: none; }
  .btn:hover { transform: none; }
  /* Per-project: every animated signature block MUST add its own
     designed fallback here (static frame, final state, or swap-in
     element) — never leave it half-animated. */
}

/* ============================================================
   ALL ABOUT AUDIOLOGY v2 — brand skin over foundation.css
   Rebuilt 2026-09-18 against cmrijeansforgenes.org.au (lead),
   dhrhealth.com and zynxhealth.com (rsmi.md / motion.md).
   Values measured from the references' live CSSOM and from the
   client's own logo pixels + site CSS.

   Personality lanes (DESIGN.md Part 2):
     radius language = CMRI's SINGLE-CORNER rounding, never uniform
     display weight  = 600 geometric slab, tracking POSITIVE (CMRI
                       measured +0.8px at 68px — the slab's wide
                       geometry wants air, not tightening); the
                       negative-tracking floor is carried by the
                       oversized numerals and ghost marks
     headline anatomy= solid navy blocks, one per line, white type
     dark CTA        = clay fill (the client's own CTA hue, corrected)
     spectacle       = one SVG audiogram, transition-driven elsewhere
   ============================================================ */
:root {
  --font-display: "Rokkitt", "Rokkitt Fallback", Georgia, serif;
  --font-body: "Open Sans", "Open Sans Fallback", Arial, sans-serif;
  --font-mono: "Open Sans", "Open Sans Fallback", Arial, sans-serif;
  --weight-display: 600;
  --weight-body: 400;
  --weight-medium: 600;

  --brand-h: 212;                     /* neutrals tint toward the practice navy */

  /* the machine: navy ground · bone paper · clay action · logo gradient as the instrument */
  --navy: #12324a;                    /* the client's ink; CMRI's #0B203D role */
  --navy-deep: #0b2033;
  --navy-2: #163b56;
  --steel: #246185;                   /* measured from allaboutaudiologyde.com */
  --steel-ink: #1d5473;               /* steel as TEXT on white — 6.4:1 */
  --sky: #06abef;                     /* logo bar start — FILL only */
  --aqua: #1cd9ba;                    /* logo bar end — FILL only */
  --accent-ink: #0b6f83;              /* the gradient as TEXT on white — 4.9:1 */
  --grad: linear-gradient(90deg, var(--sky), var(--aqua));
  --grad-soft: linear-gradient(135deg, rgb(6 171 239 / .14), rgb(28 217 186 / .14));

  /* clay: the practice's own Request-an-Appointment hue (#e6bcb3 on the live
     site) darkened until white-on-it clears 4.5:1. CMRI's orange role. */
  --clay: #C0563F;
  --clay-deep: #A3452F;
  --clay-ink: #99402C;                /* clay as TEXT on white/bone — 5.2:1 */
  --clay-soft: #F3E2DC;

  --bone: #F6F2EC;                    /* CMRI's warm offset card */
  --bone-2: #FBF8F4;
  --ice: #EDF4F8;

  /* radius language: ONE corner, never four (CMRI measured 16px 0 / 0 0 16px) */
  --radius: 14px 0 14px 0;
  --radius-lg: 22px 0 22px 0;
  --radius-flip: 0 14px 0 14px;
  --radius-pill: 999px;
  --radius-sm: 8px 0 8px 0;
}

:root, .mode-light {
  --surface: #fff;
  --surface-2: var(--bone);
  --text: var(--navy);
  --text-2: #5a6a78;
  --line: #dfe6ec;
  --link: var(--clay-ink);
  --el-ink: var(--navy);
  --el-paper: #fff;
  --el-green: var(--aqua);
  --el-navy: var(--navy-deep);
}
.mode-bone { --surface: var(--bone); --surface-2: #fff; --line: #e4dcd2; }
.mode-tint { --surface: var(--ice); --surface-2: #fff; --line: #d3e2ea; }
.mode-dark {
  --surface: var(--navy);
  --surface-2: var(--navy-2);
  --text: #f2f7fa;
  --text-2: #b9cbd8;
  --line: rgb(255 255 255 / .14);
  --link: #fff;
  --accent-ink: var(--aqua);
  --clay-ink: #F0A98F;
  --steel-ink: #9fd3ee;
}
.mode-deep { --surface: var(--navy-deep); --surface-2: var(--navy); --text: #f2f7fa; --text-2: #b9cbd8; --line: rgb(255 255 255 / .12); --link: #fff; --accent-ink: var(--aqua); --clay-ink: #F0A98F; }

:root {
  --wrap: 1264px;
  --measure: 66ch;
  --px: clamp(20px, 5vw, 88px);
  /* CMRI: h1 68px, h2 40px. Fluid, rem+vw so browser zoom survives. */
  --text-hero: clamp(2.5rem, 1.35rem + 4.3vw, 4.25rem);
  --text-2xl: clamp(1.8rem, 1.25rem + 2vw, 2.5rem);
  --text-xl: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --text-lg: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);

  /* motion — the references' own curves, named for what they drive */
  --ease-out: cubic-bezier(0.165, 0.84, 0.44, 1);     /* CMRI: blocks, arrows, entrances */
  --ease-swoosh: cubic-bezier(0.22, 0.61, 0.36, 1);   /* DHR: masked stroke, audiogram draw */
  --ease-inout: cubic-bezier(0.45, 0.05, 0.55, 0.95); /* panels, menu */
  --dur-1: 150ms; --dur-2: 300ms; --dur-3: 400ms; --dur-4: 800ms;
  --stagger: 80ms;

  --focus-ring: 0 0 0 4px rgb(192 86 63 / 0.26);
  --shadow-soft: 0 6px 14px -4px rgb(18 50 74 / 0.12), 0 2px 6px -2px rgb(0 0 0 / 0.05);
  --shadow-lift: 0 28px 54px -18px rgb(18 50 74 / 0.26), 0 10px 22px -12px rgb(0 0 0 / 0.14);
}
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; box-shadow: var(--focus-ring); border-radius: 4px; }
.mode-dark :focus-visible, .mode-deep :focus-visible { outline-color: var(--aqua); box-shadow: 0 0 0 4px rgb(28 217 186 / 0.3); }

/* ============================================================
   DAIDRA ELEMENTS — the reusable section/element library.
   Elementor-style reuse, engineered: include AFTER foundation.css
   and the project's brand-slot skin. Every element consumes only
   foundation tokens (--accent, --green, --paper, --navy, --s-*,
   --dur-*, easings) so one skin restyles the whole library.
   Behaviors attach from elements.js by class contract (README.md).
   Advanced-CSS register: masks, conic gradients, blend modes,
   clip-path chrome, pointer-var lighting. 2026-08-07.
   ============================================================ */

/* Library-local slots with safe fallbacks (projects override) */
:root {
  --el-ink: var(--ink, #16181d);
  --el-navy: var(--navy, #0b1826);
  --el-green: var(--green, #58b765);
  --el-paper: var(--paper, #fbfaf7);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout-hard: cubic-bezier(0.83, 0, 0.17, 1);
}

/* ============ el-aurora — canvas mesh field ============ */
.el-aurora {
  position: absolute; inset: 0; width: 100%; height: 100%;
  --el-aurora-1: var(--accent); --el-aurora-2: var(--el-green);
  --el-aurora-3: #2a6fb8;
  filter: blur(60px) saturate(1.15);
  opacity: 0.85;
  pointer-events: none;
}

/* ============ el-marquee — infinite ticker ============ */
.el-marquee { overflow: hidden; position: relative; }
.el-marquee-track {
  display: flex; align-items: center; gap: var(--s-8);
  width: max-content;
  animation: el-mq var(--el-mq-dur, 30s) linear infinite;
}
.el-marquee:hover .el-marquee-track { animation-play-state: paused; }
@keyframes el-mq { to { transform: translateX(-50%); } }
.el-marquee--fade {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* photo strip variant */
.el-marquee--photos .el-marquee-track { gap: var(--s-2); }
.el-marquee--photos img {
  height: clamp(160px, 22vw, 260px); width: auto; border-radius: var(--radius-lg);
  object-fit: cover; aspect-ratio: 3/2;
}

/* ============ el-orbit — rotating arc ring (SVG) ============ */
.el-orbit { animation: el-spin 60s linear infinite; transform-origin: center; }
.el-orbit--rev { animation-direction: reverse; animation-duration: 90s; }
@keyframes el-spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .el-orbit, .el-marquee-track { animation: none !important; }
}

/* ============ el-shine — pointer-lit card ============ */
.el-shine { position: relative; --mx: 50%; --my: 50%; }
.el-shine::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx) var(--my),
    rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.06) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
}
.el-shine:hover::before, .el-shine:focus-within::before { opacity: 1; }
.el-shine::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--mx) var(--my),
    rgb(255 255 255 / 0.08), transparent 60%);
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
}
.el-shine:hover::after, .el-shine:focus-within::after { opacity: 1; }

/* ============ el-glow — cursor glow for dark sections ============ */
.el-glow { position: relative; --gx: 50%; --gy: 40%; }
.el-glow > .el-glow-layer {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at var(--gx) var(--gy),
    rgb(88 183 101 / 0.10), rgb(1 90 163 / 0.07) 45%, transparent 70%);
  transition: opacity var(--dur-3) var(--ease-out);
}
@media (hover: none) { .el-glow > .el-glow-layer { display: none; } }

/* ============ el-magnetic — cursor-lean CTA ============ */
.el-magnetic { transition: transform var(--dur-2) var(--ease-out); will-change: transform; }

/* ============ el-notch-panel — Terminal tab-notch media panel ==== */
.el-notch { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.el-notch::before {
  content: ""; position: absolute; top: 0; right: 48px; z-index: 3;
  width: 120px; height: 14px; background: var(--el-notch-bg, var(--el-paper));
  border-radius: 0 0 12px 12px;
}

/* ============ el-knockout — photo etched through display type ==== */
.el-knockout {
  background-image: var(--el-knockout-img);
  background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text;
  color: rgb(255 255 255 / 0.14);
  filter: drop-shadow(0 2px 24px rgb(0 0 0 / 0.35));
}
@supports not (background-clip: text) { .el-knockout { color: #fff; } }

/* ============ el-grain — feTurbulence paper/film grain ============ */
.el-grain { position: relative; }
.el-grain::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.14 0 0 0 0 0.12 0 0 0 0 0.13 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ el-ghost-mark — viewport-scale watermark ============ */
.el-ghost-mark {
  position: absolute; left: 50%; bottom: -0.24em; transform: translateX(-50%);
  z-index: 1; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: 12.2vw; line-height: 1; letter-spacing: -0.01em;
  color: var(--el-ghost-color, rgb(143 193 234 / 0.07)); white-space: nowrap;
}

/* ============ el-dive — split whole-panel CTA pair ============ */
.el-dive { display: grid; grid-template-columns: 1fr 1fr; }
.el-dive a {
  display: flex; align-items: center; gap: var(--s-3);
  padding: clamp(48px, 7vw, 96px) var(--px);
  text-decoration: none; color: #fff;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  transition: background-color var(--dur-3) var(--ease-out);
}
.el-dive a:first-child { background: var(--accent); }
.el-dive a:first-child:hover, .el-dive a:first-child:focus-visible { background: var(--accent-strong); }
.el-dive a:last-child { background: var(--el-ink); }
.el-dive a:last-child:hover, .el-dive a:last-child:focus-visible { background: #000; }
.el-dive .darr { flex: none; transition: transform var(--dur-3) var(--ease-out); }
.el-dive a:hover .darr, .el-dive a:focus-visible .darr { transform: translate(6px, 6px); }
@media (max-width: 860px) { .el-dive { grid-template-columns: 1fr; } }

/* ============ el-chip-pill — mono chip (nav/filters) ============ */
.el-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px 11px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--el-ink);
  background: #fff; border: 1px solid rgb(0 0 0 / 0.14);
  cursor: pointer;
  transition: background-color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}
.el-chip:hover, .el-chip:focus-visible { border-color: var(--accent); transform: translateY(-1px); }
.el-chip--green { background: var(--el-green); border-color: var(--el-green); color: #06250c; }
.el-chip[aria-pressed="true"] { background: var(--el-green); border-color: var(--el-green); color: #06250c; }

/* ============ el-metric-chip — floating stat chip ============ */
.el-metric {
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 14px 20px; border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.5);
}
.el-metric b {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -0.02em;
}
.el-metric b sup { font-size: 0.55em; font-weight: 500; }
.el-metric .micro { color: rgb(255 255 255 / 0.65); }

/* ============ el-ring-conic — conic progress ring ============ */
.el-ring-conic {
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--el-rc-hole, var(--el-navy)) 79%, transparent 80% 100%),
    conic-gradient(var(--el-green) calc(var(--p, 0) * 1%), rgb(255 255 255 / 0.12) 0);
}

/* ============ el-mosaic — two-row photo marquee band ============ */
.el-mosaic { display: grid; gap: var(--s-2); }

/* ============ el-quote-ghost — testimonial w/ giant glyph ======== */
.el-quote-ghost { position: relative; }
.el-quote-ghost::before {
  content: "\201C"; position: absolute; top: -0.18em; left: -0.06em;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(8rem, 18vw, 16rem); line-height: 1;
  color: var(--accent); opacity: 0.08; pointer-events: none;
}

/* ============ Scene stepping visuals (used with [data-el-scene]) == */
.el-scene .svc-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transform: scale(1.04);
  transition: opacity 700ms var(--ease-out-expo), transform 900ms var(--ease-out-expo);
}
.el-scene .svc-media img.active { opacity: 1; transform: scale(1); }
.el-scene .svc-desc { position: relative; }
.el-scene .svc-desc p {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity 500ms var(--ease-out-expo), transform 500ms var(--ease-out-expo);
}
.el-scene .svc-desc p.active { opacity: 1; transform: none; }
.el-scene .scene-bar { height: 2px; overflow: hidden; }
.el-scene .scene-bar i { display: block; height: 100%; background: var(--el-green); transform-origin: left; transform: scaleX(0); }

/* ============ Reduced motion: designed static states ============ */
@media (prefers-reduced-motion: reduce) {
  .el-shine::before, .el-shine::after, .el-glow > .el-glow-layer { display: none; }
  .el-magnetic { transition: none; }
  .el-scene .svc-media img, .el-scene .svc-desc p { transition: none; }
}

/* ============ el-field — branded form controls (input/select/textarea) ==== */
/* Contract: <div class="el-field"><label for=X>…</label><input|select|textarea id=X>
   <span class="el-field-err">message</span></div>. Add .err on the wrapper to show
   the error state. Selects get a token-colored SVG chevron (appearance:none);
   labels tint to --accent on focus-within. Never ship native-chrome fields. */
.el-field { display: grid; gap: 6px; }
.el-field label {
  font-size: var(--text-sm); font-weight: 700; color: var(--el-ink, var(--ink, #232830));
  transition: color var(--dur-2) var(--ease-out);
}
.el-field:focus-within label { color: var(--accent); }
.el-field input, .el-field select, .el-field textarea {
  border: 1px solid var(--n-300, #C5CAD3); border-radius: var(--radius);
  padding: 12px 14px; font: 400 var(--text-md) var(--font-body);
  color: var(--el-ink, var(--ink, #232830));
  background: #fff; width: 100%; min-height: 48px;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.el-field input:hover, .el-field select:hover, .el-field textarea:hover {
  border-color: color-mix(in oklab, var(--accent) 45%, #fff);
}
.el-field input::placeholder, .el-field textarea::placeholder { color: #7A8398; }
.el-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  /* chevron inherits --accent via mask so it always matches the skin */
  background-image: none; padding-right: 40px; position: relative;
}
.el-field .el-field-sel { position: relative; }
.el-field .el-field-sel::after {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 12px; height: 8px; transform: translateY(-50%);
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 8px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 8px no-repeat;
  pointer-events: none;
}
.el-field textarea { resize: vertical; min-height: 120px; }
.el-field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px #fff inset;
  -webkit-text-fill-color: var(--el-ink, var(--ink, #232830));
}
.el-field input:focus, .el-field select:focus, .el-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--focus-ring);
}
.el-field.err input, .el-field.err select { border-color: var(--el-red, #D33); }
.el-field.err input:focus, .el-field.err select:focus {
  border-color: var(--el-red, #D33);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--el-red, #D33) 15%, transparent);
}
.el-field .el-field-err { display: none; font-size: var(--text-xs); color: var(--el-red, #D33); }
.el-field.err .el-field-err { display: block; }

/* ── el-device: scrolling site-in-frame mockups (desktop browser + phone) ──
   Origin: sharkdig.com case studies 2026-08-11. Feed each viewport a full-page
   capture (desktop ~1200w, mobile 390w@2x). Frames are user-scrollable. */
.el-device-pair { display: grid; grid-template-columns: minmax(0,1fr) 292px; gap: clamp(18px,2.5vw,28px); align-items: stretch; }
.el-browser { border: 1px solid var(--rule, #dde4ee); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(6,27,49,.4); }
.el-browser .bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--card, #fff); border-bottom: 1px solid var(--rule, #dde4ee); }
.el-browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3dce8; }
.el-browser .view { height: clamp(420px,62vh,640px); overflow-y: auto; overflow-x: hidden; background: var(--card, #fff); -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.el-browser .view img { display: block; width: 100%; height: auto; }
.el-phone { position: relative; display: flex; flex-direction: column; height: calc(clamp(420px,62vh,640px) + 40px); border: 10px solid #10151d; border-radius: 44px; background: #10151d; box-shadow: 0 24px 60px -30px rgba(6,27,49,.5), inset 0 0 0 2px rgba(255,255,255,.06); }
.el-phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 86px; height: 22px; border-radius: 12px; background: #10151d; z-index: 3; }
.el-phone .view { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; background: var(--card, #fff); border-radius: 34px; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; scrollbar-width: none; }
.el-phone .view::-webkit-scrollbar { display: none; }
.el-phone .view img { display: block; width: 100%; height: auto; }
@media (max-width: 880px) {
  .el-device-pair { grid-template-columns: 1fr; }
  .el-phone { width: min(320px,82vw); height: 560px; margin: 0 auto; }
}

/* ============ el-menu — mobile navigation drawer, done right (2026-09-16) ============
   Born from Beach Bookshop: a fixed #menu INSIDE a header with backdrop-filter was
   positioned against the header (filters create containing blocks), so it opened
   40px low, then rendered with negative height and "didn't work" on X's phone.
   Contract (markup lives OUTSIDE <header>):
     <button class="chrome-burger" aria-expanded="false" aria-controls="menu" aria-label="Open menu"><span></span></button>
     <dialog id="menu" class="el-menu" aria-label="Menu">
       <div class="el-menu-bar"><a class="brand" href="/">…</a><button class="el-menu-close" aria-label="Close menu"></button></div>
       <nav class="el-menu-nav"><ol><li><a href>…</a></li>…</ol></nav>
       <div class="el-menu-foot">…hours / address / CTAs / socials…</div>
     </dialog>
   Engine (elements.js): showModal() → top layer (immune to z-index, overflow, filter
   containing blocks); iOS-proof scroll lock; Esc/backdrop/link/resize close; focus in
   and back to the burger; staggered link rise via --i. Slots: --el-menu-bg, --el-menu-fg,
   --el-menu-accent, --el-menu-bp (px, close when the viewport grows past it). */
.el-menu { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--el-menu-bg, var(--el-navy)); color: var(--el-menu-fg, #fff); overflow: auto; -webkit-overflow-scrolling: touch;
  opacity: 0; transition: opacity var(--dur-3, 450ms) var(--ease-out, ease); }
.el-menu[open] { display: grid; grid-template-rows: auto 1fr auto; }
.el-menu.in { opacity: 1; }
.el-menu::backdrop { background: transparent; }
html.el-menu-lock { overflow: hidden; }
html.el-menu-lock body { position: fixed; width: 100%; overflow: hidden; }
.el-menu-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; padding: 0 var(--px, 20px); }
.el-menu-bar .brand { min-height: 48px; display: inline-flex; align-items: center; }
.el-menu-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.06); color: inherit; cursor: pointer; position: relative; flex: none; }
.el-menu-close::before, .el-menu-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.el-menu-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.el-menu-nav { padding: 8px var(--px, 20px) 24px; align-self: center; }
.el-menu-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.el-menu-nav li { counter-increment: m; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.el-menu-nav a { display: grid; grid-template-columns: 2.4ch minmax(0, 1fr) auto; align-items: baseline; gap: 12px; min-height: 60px; padding: 14px 0; color: inherit; text-decoration: none;
  font-family: var(--font-display); font-weight: var(--weight-display, 500); font-size: clamp(1.75rem, 7.5vw, 2.6rem); line-height: 1; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(14px); transition: opacity var(--dur-3, 450ms) var(--ease-out, ease), transform var(--dur-3, 450ms) var(--ease-out, ease); transition-delay: calc(80ms + var(--i, 0) * 55ms); }
.el-menu-nav a::before { content: counter(m, decimal-leading-zero); font-family: var(--font-body); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; color: var(--el-menu-accent, var(--accent)); align-self: center; }
.el-menu-nav a::after { content: "\2192"; font-family: var(--font-body); font-size: 1.1rem; color: var(--el-menu-accent, var(--accent)); opacity: 0.7; align-self: center; }
.el-menu-nav a[aria-current="page"] { color: var(--el-menu-accent, var(--accent)); }
.el-menu.in .el-menu-nav a { opacity: 1; transform: none; }
.el-menu-foot { padding: 20px var(--px, 20px) max(28px, env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / 0.12); display: grid; gap: 16px; font-size: 0.9375rem;
  opacity: 0; transform: translateY(10px); transition: opacity var(--dur-3, 450ms) var(--ease-out, ease) 420ms, transform var(--dur-3, 450ms) var(--ease-out, ease) 420ms; }
.el-menu.in .el-menu-foot { opacity: 1; transform: none; }
.el-menu-foot .el-menu-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.el-menu-foot .el-menu-ctas .btn { justify-content: center; }
.el-menu-foot .el-menu-meta { display: grid; gap: 4px; color: rgb(255 255 255 / 0.78); }
.el-menu-foot .el-menu-meta b { color: var(--el-menu-accent, var(--accent)); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-body); }
.el-menu-foot a { color: inherit; }
@media (prefers-reduced-motion: reduce) {
  .el-menu, .el-menu-nav a, .el-menu-foot { transition: none; }
  .el-menu[open] { opacity: 1; } .el-menu[open] .el-menu-nav a, .el-menu[open] .el-menu-foot { opacity: 1; transform: none; }
}

/* ============ el-summon — hover-intent card (2026-09-16) ============
   `.summon-host` > `[data-summon]` + `.summon`. The card is hidden by transform/opacity/
   visibility, becomes interactive when `.on`, and carries an invisible bridge above it
   so the pointer can cross the gap from the trigger without "leaving". Engine: elements.js. */
.summon { --el-summon-grace: 420; position: absolute; z-index: 30; opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform var(--dur-3, 450ms) var(--ease-out, ease), opacity var(--dur-3, 450ms) var(--ease-out, ease), visibility 0s linear var(--dur-3, 450ms); }
.summon.on { opacity: 1; visibility: visible; pointer-events: auto; transition: transform var(--dur-3, 450ms) var(--ease-out, ease), opacity var(--dur-3, 450ms) var(--ease-out, ease); }
.summon::before { content: ""; position: absolute; left: -24px; right: -24px; top: -28px; height: 28px; }
@media (hover: none), (pointer: coarse) { .summon { display: none; } }
@media (prefers-reduced-motion: reduce) { .summon { transition: none; } }

/* ============================================================
   ALL ABOUT AUDIOLOGY v2 — components (after foundation + skin + elements)
   Every block below traces to a move in rsmi.md / motion.md.
   Hover rules live behind @media (hover: hover). No transition: all.
   ============================================================ */
html { scroll-padding-top: 108px; }
body { -webkit-font-smoothing: antialiased; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: var(--radius-sm); font-weight: var(--weight-medium); }
.skip:focus { top: 12px; }
/* the skip target is focusable so focus actually lands in the content; it is a container, not a control */
main#main:focus { outline: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--weight-display); hyphens: none; }
h1 { letter-spacing: 0.006em; line-height: 1.16; }        /* CMRI measured +0.8px at 68px */
h2 { font-size: var(--text-2xl); letter-spacing: 0.004em; line-height: 1.2; }
h3 { font-size: var(--text-xl); letter-spacing: 0.002em; line-height: 1.25; }
h4 { font-size: var(--text-lg); letter-spacing: 0; }
p { line-height: 1.7; }
p.lede { font-size: var(--text-lg); line-height: 1.6; color: var(--text-2); }
.muted { color: var(--text-2); }
.small { font-size: 0.875rem; }
b, strong { font-weight: var(--weight-medium); }
.center { text-align: center; }
.center .sechead { justify-content: center; text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); align-items: start; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); align-items: start; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.section--tight { padding-top: var(--s-8); padding-bottom: var(--s-8); }
.section--hero { background-image: linear-gradient(165deg, var(--navy-deep), var(--navy) 60%, var(--steel)); }

/* ---------- the micro-gesture: clay arrow link (motion.md arrow-advance-hover) ---------- */
.arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--clay-ink); font-weight: var(--weight-medium); text-decoration: none; font-size: 0.95rem; }
.arrow-link svg { width: 18px; height: 12px; flex: none; transition: transform var(--dur-1) var(--ease-out); }
.mode-dark .arrow-link, .mode-deep .arrow-link { color: var(--clay-ink); }
@media (hover: hover) { .arrow-link:hover, .arrow-link:focus-visible { color: var(--clay-deep); } .arrow-link:hover svg, .arrow-link:focus-visible svg { transform: translateX(4px); } .mode-dark .arrow-link:hover { color: #fff; } }

/* ---------- buttons ---------- */
.btn { border-radius: var(--radius-sm); padding: 15px 26px; font-family: var(--font-display); font-weight: var(--weight-display); font-size: 1.02rem; letter-spacing: 0.01em; background: var(--clay); color: #fff; border: 2px solid var(--clay); transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.btn svg { width: 18px; height: 12px; transition: transform var(--dur-1) var(--ease-out); }
.btn--navy { background: var(--navy); border-color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); border-color: #fff; }
.btn--ghost { background: transparent; color: var(--clay-ink); border-color: currentColor; }
.mode-dark .btn--ghost, .mode-deep .btn--ghost, .hero .btn--ghost, .visit-info .btn--ghost { color: #fff; border-color: rgb(255 255 255 / .55); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn.is-loading { opacity: .7; pointer-events: none; }
@media (hover: hover) {
  .btn:hover, .btn:focus-visible { background: var(--clay-deep); border-color: var(--clay-deep); box-shadow: none; transform: translateY(-1px); }
  .btn svg { transition: transform var(--dur-1) var(--ease-out); }
  .btn:hover svg, .btn:focus-visible svg { transform: translateX(3px); }
  .btn--navy:hover, .btn--navy:focus-visible { background: var(--navy-deep); border-color: var(--navy-deep); }
  .btn--white:hover, .btn--white:focus-visible { background: var(--bone); border-color: var(--bone); color: var(--navy); }
  .btn--ghost:hover, .btn--ghost:focus-visible { background: var(--clay); border-color: var(--clay); color: #fff; }
  .mode-dark .btn--ghost:hover, .hero .btn--ghost:hover, .visit-info .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
}
.btn:active { transform: translateY(0) scale(.985); }

/* ---------- section head (rsmi: sechead-rule-viewall, DHR) ---------- */
.sechead { display: flex; align-items: flex-end; gap: 28px; margin-bottom: var(--s-6); }
.sechead .txt { min-width: 0; }
.eyebrow { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: var(--weight-medium); color: var(--steel-ink); display: block; margin-bottom: 10px; }
.mode-dark .eyebrow, .mode-deep .eyebrow { color: var(--aqua); }
.sechead h2 { margin: 0; max-width: 20ch; }
.sechead .rule { flex: 1; height: 1px; background: var(--line); margin-bottom: 14px; }
.sechead .btn { flex: none; margin-bottom: 4px; }
.sechead p.lede { margin: 12px 0 0; max-width: 60ch; }

/* ---------- home hero: boxed knockout headline (rsmi + motion blocks-fill-in) ---------- */
.hero { position: relative; min-height: min(84vh, 860px); display: flex; align-items: center; background: var(--navy-deep); isolation: isolate; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(11 32 51 / .58) 0%, rgb(11 32 51 / .28) 45%, rgb(11 32 51 / .1) 70%); }
.hero .wrap { width: 100%; padding-top: 168px; padding-bottom: 120px; }
.boxhead { margin: 0 0 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.boxhead .ln { display: inline-block; background-color: rgb(18 50 74 / .18); color: #fff; padding: 8px 14px 10px; font-size: var(--text-hero); line-height: 1.12; transition: background-color var(--dur-3) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.boxhead .ln--sm { font-size: clamp(1rem, .85rem + .6vw, 1.3rem); font-family: var(--font-body); font-weight: var(--weight-medium); padding: 8px 14px; line-height: 1.5; max-width: 46ch; }
.hero.ready .boxhead .ln, .no-js .boxhead .ln { background-color: var(--navy); }
.hero .btn { opacity: 0; transition: opacity var(--dur-3) var(--ease-out) calc(3 * var(--stagger)); }
.hero.ready .btn, .no-js .hero .btn { opacity: 1; }
.hero .hero-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 132px; z-index: 1; pointer-events: none; }

/* the signature: SVG audiogram (motion.md audiogram-draw) */
.audiogram { display: block; width: 100%; height: 100%; overflow: visible; }
.audiogram .axis { stroke: rgb(255 255 255 / .28); stroke-width: 1; }
.audiogram .tick { stroke: rgb(255 255 255 / .4); stroke-width: 1.5; }
.audiogram .lbl { fill: rgb(255 255 255 / .62); font: 500 10px/1 var(--font-body); letter-spacing: .1em; }
.audiogram .curve { fill: none; stroke: url(#agGrad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.audiogram .sym { stroke: var(--aqua); stroke-width: 2; fill: none; opacity: 0; transition: opacity var(--dur-2) var(--ease-out); }
.audiogram .sym.on { opacity: 1; }
.audiogram--light .axis { stroke: rgb(18 50 74 / .2); } .audiogram--light .tick { stroke: rgb(18 50 74 / .3); } .audiogram--light .lbl { fill: rgb(18 50 74 / .55); } .audiogram--light .sym { stroke: var(--steel-ink); }

/* ---------- offset intro card + icon trio (rsmi: offset-intro-card, icon-trio) ---------- */
.intro-band { position: relative; z-index: 4; }
.intro-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.intro-card { background: var(--bone); border-radius: var(--radius-lg); padding: 34px 30px; margin-top: -110px; position: relative; z-index: 2; box-shadow: var(--shadow-soft); }
.intro-card p { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.55; color: var(--navy); }
.intro-card p b { font-weight: 700; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding-top: 8px; }
.trio .ic { display: block; width: 52px; height: 52px; margin-bottom: 16px; color: var(--steel-ink); }
.trio .ic svg { width: 100%; height: 100%; }
.trio h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--navy); }
.mode-dark .trio h3 { color: #fff; }
.trio p { font-size: 0.95rem; color: var(--text-2); margin-bottom: 14px; }

/* ---------- quicklinks card over the hero (rsmi: floating-quicklinks-card, DHR) ---------- */
.quicklinks { position: relative; z-index: 3; margin-top: -76px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 26px 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ql { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; text-decoration: none; color: var(--navy); padding: 6px; }
.ql .dia { display: grid; width: 62px; height: 62px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; transform: rotate(45deg); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.ql .dia svg { width: 26px; height: 26px; transform: rotate(-45deg); color: #fff; }
.ql b { font-family: var(--font-display); font-size: 1.05rem; }
.ql span { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay-ink); font-weight: var(--weight-medium); }
@media (hover: hover) { .ql:hover .dia, .ql:focus-visible .dia { transform: rotate(45deg) scale(1.06); box-shadow: 0 10px 22px -8px rgb(6 171 239 / .55); } }

/* ---------- split band: photo bleeds one side, navy the other (rsmi: photo-navy-split-band) ---------- */
.split-band { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-band > .media { position: relative; min-height: 460px; }
.split-band > .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-band > .copy { background: var(--navy); color: #fff; padding: clamp(36px, 5vw, 76px) clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.split-band > .copy h2 { color: #fff; margin-bottom: 18px; }
.split-band > .copy p { color: #cfdde7; max-width: 52ch; }
.split-band > .copy .eyebrow, .story .eyebrow { color: var(--aqua); }
.split-band.flip > .media { order: 2; }
.split-band--bone > .copy { background: var(--bone); color: var(--navy); }
.split-band--bone > .copy h2 { color: var(--navy); } .split-band--bone > .copy p { color: var(--text-2); }
.split-band .cap { position: absolute; left: 18px; bottom: 18px; background: rgb(11 32 51 / .78); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: var(--weight-medium); }

/* ---------- action card with tabs (rsmi: overlapping-action-card) ---------- */
.action-card { background: var(--steel); color: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.action-card .tabs { display: flex; }
.action-card .tabs button.act-tab { flex: 1; background: var(--navy); color: #cfdde7; border: 0; font-family: var(--font-display); font-weight: var(--weight-display); font-size: 1.02rem; padding: 18px 12px; cursor: pointer; transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.action-card .tabs button.act-tab[aria-selected="true"] { background: var(--steel); color: #fff; }
.action-card .body { padding: 28px 30px 32px; }
.action-card h3 { color: #fff; margin-bottom: 8px; }
.action-card p { color: #dbe8f0; font-size: 0.95rem; }
.action-card--over { margin-top: -90px; position: relative; z-index: 3; }

/* ---------- story strip: tabbed reviews (rsmi + motion tab-pointer-slide) ---------- */
.story { background: var(--navy); color: #fff; border-radius: var(--radius-lg) ; overflow: hidden; }
.story-main[hidden] { display: none; }
.story-main { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 380px; }
.story-copy { padding: clamp(30px, 4vw, 58px); display: flex; flex-direction: column; justify-content: center; }
.story-copy .r { width: 68px; height: 4px; background: var(--clay); margin: 14px 0 20px; }
.story-copy blockquote { margin: 0; font-size: 1.08rem; line-height: 1.7; color: #dbe8f0; }
.story-copy cite { display: block; font-style: normal; font-family: var(--font-display); font-size: 1.15rem; color: #fff; margin-top: 18px; }
.story-media { position: relative; background: var(--navy-2); }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgb(255 255 255 / .14); position: relative; background: #fff; }
.story-tabs .tab-ind { position: absolute; top: 0; left: 0; height: 100%; background: var(--steel); transition: transform var(--dur-2) var(--ease-out), width var(--dur-2) var(--ease-out); z-index: 0; }
.story-tabs .tab-ind::after { content: ""; position: absolute; top: -11px; left: 50%; margin-left: -12px; border: 12px solid transparent; border-bottom-color: var(--steel); border-top: 0; }
.story-tabs button.story-tab, .story-tabs a { position: relative; z-index: 1; background: none; border: 0; padding: 20px 14px; text-align: center; cursor: pointer; font-family: inherit; color: var(--navy); text-decoration: none; transition: color var(--dur-2) var(--ease-out); }
.story-tabs b { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.story-tabs span { font-size: 0.85rem; color: var(--text-2); }
.story-tabs button.story-tab[aria-selected="true"], .story-tabs a[aria-selected="true"] { color: #fff; }
/* the sliding indicator is sized in JS — without it the selected tab would be white-on-white */
.no-js .story-tabs button.story-tab[aria-selected="true"], .no-js .story-tabs a[aria-selected="true"] { background: var(--steel); }
.story-tabs [aria-selected="true"] span { color: #dbe8f0; }
@media (hover: hover) { .story-tabs button.story-tab:hover { color: var(--clay-ink); } .story-tabs button.story-tab[aria-selected="true"]:hover { color: #fff; } }

/* ---------- inner hero: swoosh-masked photo (rsmi: swoosh-masked-hero-photo, DHR) ---------- */
.ihero { position: relative; background: var(--bone-2); padding-top: 150px; padding-bottom: var(--s-8); overflow: hidden; }
.ihero::before { content: ""; position: absolute; right: -8%; top: -30%; width: 70%; height: 160%; background: var(--grad-soft); transform: skewX(-12deg); z-index: 0; }
.ihero .wrap { position: relative; z-index: 1; }
.ihero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.ihero .rail { display: flex; align-items: center; gap: 10px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: var(--weight-medium); color: var(--steel-ink); margin-bottom: 16px; }
.ihero .rail a { color: inherit; text-decoration: none; } .ihero .rail a:hover { text-decoration: underline; }
.ihero .rail .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.ihero h1 { font-size: var(--text-hero); color: var(--navy); margin-bottom: 18px; max-width: 16ch; }
.ihero p.lede { max-width: 54ch; }
.ihero .shot { position: relative; }
/* a path() clip is in fixed px and does nothing once the element scales — the single-corner
   radius language carries the same "cut corner" read at any width (rsmi: asymmetric-corner-radius) */
.ihero .shot img { width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 38px 0 38px 0; }
.ihero .shot::after { content: ""; position: absolute; left: -14px; top: 34px; bottom: 34px; width: 8px; background: var(--grad); border-radius: 8px 0 8px 0; }
.ihero--short { padding-top: 140px; padding-bottom: var(--s-6); }
.ihero--short .ihero-grid { grid-template-columns: 1fr; } .ihero--short .shot { display: none; }

/* ---------- service / feature cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.svc { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow-soft); transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }
.svc .pic { position: relative; overflow: hidden; }
.svc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform var(--dur-4) var(--ease-swoosh); }
.svc .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--navy); }
.svc p { font-size: 0.95rem; color: var(--text-2); margin-bottom: 16px; }
.svc ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.svc li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-2); }
.svc li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--clay); }
.svc .arrow-link { margin-top: auto; }
@media (hover: hover) { .svc:hover, .svc:focus-within { transform: translateY(-5px); box-shadow: var(--shadow-lift); } .svc:hover img { transform: scale(1.04); } .svc:hover .arrow-link svg { transform: translateX(4px); } }
.mode-dark .svc, .mode-deep .svc { background: var(--navy-2); } .mode-dark .svc h3 { color: #fff; } .mode-dark .svc p, .mode-dark .svc li { color: #b9cbd8; }

/* ---------- news card with overlay panel (rsmi: news-card-overlay-panel, DHR) ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: start; }
.news-card { position: relative; display: block; text-decoration: none; color: var(--navy); min-height: 462px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; }
.news-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform var(--dur-4) var(--ease-swoosh); }
.news-card .panel { margin-top: 214px; background: rgb(255 255 255 / .93); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 22px 24px 26px; min-height: 248px; }
.news-card time { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.news-card .r { display: block; width: 42px; height: 3px; background: var(--clay); margin: 10px 0 12px; }
.news-card h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 10px; }
.news-card p { font-size: 0.9rem; color: var(--text-2); margin: 0; }
.news-grid > :nth-child(even) { margin-top: 34px; }
@media (hover: hover) { .news-card:hover img { transform: scale(1.05); } .news-card:hover h3 { color: var(--clay-ink); } }
.news-card h3 { transition: color var(--dur-2) var(--ease-out); }

/* ---------- row list with circled arrow (rsmi: row-with-circled-arrow, DHR) ---------- */
.row-list { border-top: 1px solid var(--line); }
.row-item { display: grid; grid-template-columns: 108px 1fr auto; gap: 26px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); transition: background-color var(--dur-2) var(--ease-out); }
.row-item img { width: 108px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); }
.row-item .meta { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.row-item .meta::before { content: ""; width: 24px; height: 1px; background: var(--clay); }
.row-item h3 { font-size: 1.2rem; margin: 0; }
.row-item .go { display: flex; align-items: center; gap: 14px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay-ink); font-weight: var(--weight-medium); }
.row-item .go .circ { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.row-item .go svg { width: 18px; height: 12px; }
@media (hover: hover) { .row-item:hover { background: var(--bone); } .row-item:hover .circ { background: var(--clay); border-color: var(--clay); color: #fff; } }

/* ---------- portrait blob + badge (rsmi: blob-masked-portrait-with-badge, Zynx) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.person { text-decoration: none; color: inherit; display: block; text-align: center; }
.portrait-blob { position: relative; width: 100%; max-width: 280px; margin: 0 auto 22px; }
.portrait-blob img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 50% 8px; transition: transform var(--dur-3) var(--ease-out); }
.portrait-blob::before { content: ""; position: absolute; inset: -10px; border-radius: 50% 50% 50% 12px; background: var(--grad); z-index: -1; opacity: .9; }
.portrait-blob { z-index: 0; }
.portrait-blob .badge { position: absolute; right: -10px; top: 2px; background: var(--navy); color: #fff; border-radius: 50%; width: 104px; height: 104px; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-size: 0.8rem; line-height: 1.25; padding: 10px; box-shadow: var(--shadow-soft); hyphens: none; overflow-wrap: normal; }
.mode-dark .portrait-blob .badge { background: var(--clay); }
.person h3 { font-size: 1.3rem; margin-bottom: 4px; }
.person .cred { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); font-weight: var(--weight-medium); margin-bottom: 12px; }
.mode-dark .person h3 { color: #fff; } .mode-dark .person .cred { color: #b9cbd8; }
@media (hover: hover) { .person:hover .portrait-blob img { transform: scale(1.03); } }
.bio { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; padding: 34px; background: var(--bone); border-radius: var(--radius-lg); }
.bio .portrait-blob { margin: 0; }
.bio h3 { margin-bottom: 4px; }

/* ---------- steps / accordion / faq ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; counter-reset: step; }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; color: var(--clay); line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; } .step p { font-size: 0.94rem; color: var(--text-2); margin: 0; }
.mode-dark .step, .mode-deep .step { background: var(--navy-2); } .mode-dark .step h3 { color: #fff; } .mode-dark .step p { color: #b9cbd8; }
.acc { display: grid; gap: 12px; counter-reset: acc; }
.acc details { position: relative; padding-left: 58px; }
.acc details::before { content: counter(acc); counter-increment: acc; position: absolute; left: 0; top: 4px; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 22px; font-family: var(--font-display); font-size: 1.08rem; transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--clay); transition: transform var(--dur-2) var(--ease-out); flex: none; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 12px 22px 8px; color: var(--text-2); }
.acc .acc-body p:last-child { margin-bottom: 0; }
.mode-dark .acc summary, .mode-deep .acc summary { background: rgb(255 255 255 / .06); color: #fff; }
.mode-dark .acc details::before { background: var(--clay); }
@media (hover: hover) { .acc summary:hover { background: var(--bone); border-color: var(--clay); } .mode-dark .acc summary:hover { background: rgb(255 255 255 / .12); } }
.faq { display: grid; gap: 12px; max-width: 78ch; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-family: var(--font-display); font-size: 1.08rem; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--clay); border-bottom: 2px solid var(--clay); transform: rotate(45deg); transition: transform var(--dur-2) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body { padding: 0 0 18px; color: var(--text-2); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- checks, chips, logos, stats ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 var(--s-3); display: grid; gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--clay); }
.mode-dark .checks li svg, .mode-deep .checks li svg { color: var(--aqua); }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 14px; }
.chip { display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: var(--weight-medium); font-size: 0.95rem; transition: border-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.chip img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
@media (hover: hover) { .chip:hover { border-color: var(--clay); transform: translateY(-2px); } }
.logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.logo-grid div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; display: grid; place-items: center; min-height: 116px; }
.logo-grid img { max-height: 46px; width: auto; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.stat-card { background: var(--bone); border-radius: var(--radius-lg); padding: 30px; }
.stat-card b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--clay); margin-bottom: 10px; }
.stat-card span { color: var(--text-2); font-size: 0.95rem; }

/* ---------- chrome ---------- */
.topbar { background: var(--navy-deep); color: #cfdde7; font-size: 0.82rem; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 24px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: color var(--dur-1) var(--ease-out); }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; }
.chrome { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--line); }
.chrome .bar { display: flex; align-items: stretch; gap: 20px; min-height: 86px; }
.chrome .brand { display: inline-flex; align-items: center; align-self: center; flex: none; }
.chrome .brand img { height: 52px; width: auto; transition: height var(--dur-2) var(--ease-out); }
.nav { display: flex; align-items: stretch; gap: 2px; margin-left: auto; }
.nav > a, .nav .has-sub > button { position: relative; display: inline-flex; align-items: center; align-self: center; gap: 6px; white-space: nowrap; padding: 11px 15px 13px; border: 0; border-radius: var(--radius-sm); background: none; font-family: var(--font-display); font-weight: var(--weight-display); font-size: 1rem; line-height: 1.1; color: var(--navy); text-decoration: none; cursor: pointer; transition: color var(--dur-2) var(--ease-out); }
/* the current/hover mark is a clay rule under the label — no cell dividers, no full-height blocks */
.nav > a::after, .nav .has-sub > button::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 3px; background: var(--clay); transform: scaleX(0); transform-origin: left center; transition: transform var(--dur-2) var(--ease-out); }
.nav > a[aria-current="page"], .nav .has-sub.current > button { color: var(--clay-ink); }
.nav > a[aria-current="page"]::after, .nav .has-sub.current > button::after { transform: none; }
@media (hover: hover) {
  .nav > a:hover, .nav .has-sub > button:hover { color: var(--clay-ink); }
  .nav > a:hover::after, .nav .has-sub > button:hover::after, .nav .has-sub.open > button::after { transform: none; }
}
.nav .has-sub { position: relative; display: flex; align-items: center; }
.nav .has-sub > button svg { width: 11px; height: 11px; margin-top: 1px; transition: transform var(--dur-2) var(--ease-out); }
.nav .has-sub.open > button { color: var(--clay-ink); }
.nav .has-sub.open > button svg { transform: rotate(180deg); }
.nav .sub { position: absolute; top: 100%; left: 0; right: auto; width: 372px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 0; padding: 10px; box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2); }
.nav .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav .sub a { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center; padding: 11px 14px; text-decoration: none; color: var(--navy); font-size: 0.95rem; border-radius: var(--radius-sm); transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.nav .sub a small { display: block; color: var(--text-2); font-size: 0.78rem; line-height: 1.4; margin-top: 2px; }
.nav .sub a .ic { width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--ice); display: grid; place-items: center; color: var(--steel-ink); }
.nav .sub a .ic svg { width: 19px; height: 19px; }
.nav .sub a[aria-current="page"], .nav .sub a:hover, .nav .sub a:focus-visible { background: var(--bone); color: var(--clay-ink); }
.chrome .cta-cell { display: inline-flex; align-items: center; align-self: center; flex: none; margin-left: 10px; white-space: nowrap; background: var(--clay); color: #fff; padding: 14px 26px; border-radius: var(--radius); font-family: var(--font-display); font-weight: var(--weight-display); font-size: 1rem; line-height: 1; text-decoration: none; transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.chrome .cta-cell:hover { background: var(--clay-deep); transform: translateY(-1px); }
.chrome-burger { display: none; width: 50px; height: 50px; margin-left: auto; align-self: center; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; position: relative; cursor: pointer; }
.chrome-burger span, .chrome-burger::before, .chrome-burger::after { content: ""; position: absolute; left: 14px; right: 14px; height: 2px; background: var(--navy); border-radius: 2px; }
.chrome-burger::before { top: 17px; } .chrome-burger span { top: 24px; } .chrome-burger::after { top: 31px; }
.el-menu { --el-menu-bg: var(--navy-deep); --el-menu-fg: #fff; --el-menu-accent: var(--clay); background-image: radial-gradient(60% 45% at 85% 0%, rgb(6 171 239 / .18), transparent 60%), radial-gradient(48% 40% at 5% 100%, rgb(192 86 63 / .2), transparent 60%); }
.el-menu .brand img { height: 46px; width: auto; }
.el-menu-nav ol a { font-family: var(--font-display); font-weight: var(--weight-display); }
.el-menu-nav ol li.sub a { font-size: 1.05rem; min-height: 48px; padding-left: 28px; opacity: .85; }
.soc { display: flex; gap: 12px; }
.soc a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: inherit; transition: border-color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.soc a svg { width: 19px; height: 19px; }
@media (hover: hover) { .soc a:hover { border-color: var(--clay); background: rgb(192 86 63 / .12); transform: translateY(-2px); } }

/* ---------- visit / map / forms ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.visit-info { background: var(--navy); color: #fff; padding: clamp(34px, 4.5vw, 66px); }
.visit-info h2 { color: #fff; } .visit-info .eyebrow { color: var(--aqua); }
.visit-info dl { display: grid; gap: 22px; margin: 26px 0 0; }
.visit-info dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua); margin-bottom: 6px; }
.visit-info dd { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.visit-info dd a { color: #fff; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .35); }
.visit-map { min-height: 440px; position: relative; }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hours { display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; border-bottom: 1px dashed rgb(255 255 255 / .2); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-soft); }
.contact-form { display: grid; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.el-field input, .el-field select, .el-field textarea { font-family: inherit; font-size: 1rem; border-radius: var(--radius-sm); }
.el-field label { font-family: var(--font-display); font-size: 1rem; }
.el-field .el-field-err { display: none; color: #b3261e; font-size: 0.84rem; }
.el-field.err .el-field-err { display: block; }
.el-field.err input, .el-field.err textarea { border-color: #b3261e; }
.form-status { min-height: 1.4em; font-weight: var(--weight-medium); }
.form-status.is-ok { color: #0d7a4f; } .form-status.is-err { color: #b3261e; }
.pillset { display: flex; flex-wrap: wrap; gap: 10px; }
.pillset label { position: relative; }
.pillset input { position: absolute; inset: 0; opacity: 0; }
.pillset span { display: inline-block; padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; font-size: 0.92rem; font-weight: var(--weight-medium); cursor: pointer; transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.pillset input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pillset input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.action-card .pillset span { background: rgb(255 255 255 / .16); border-color: rgb(255 255 255 / .3); color: #fff; }
.action-card .pillset input:checked + span { background: #fff; color: var(--navy); border-color: #fff; }
.action-card .el-field label { color: #fff; }
.action-card .el-field input, .action-card .el-field textarea { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .3); color: #fff; }
.action-card .el-field input::placeholder { color: rgb(255 255 255 / .6); }

/* ---------- article ---------- */
.read-progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; z-index: 70; pointer-events: none; }
.read-progress::before { content: ""; display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-8); align-items: start; }
.article { max-width: 70ch; font-size: 1.08rem; line-height: 1.75; }
.article h2, .article h3 { margin-top: var(--s-6); font-size: var(--text-xl); color: var(--navy); }
.article ul, .article ol { padding-left: 1.3em; } .article li { margin-bottom: 9px; }
.article a { color: var(--clay-ink); }
.article img { border-radius: var(--radius-lg); margin: var(--s-4) 0; }
.sticky-aside { position: sticky; top: 130px; display: grid; gap: 22px; }
.aside-card { background: var(--bone); border-radius: var(--radius-lg); padding: 28px; }
.aside-card h4 { margin-bottom: 12px; }
.aside-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.aside-card li a { color: var(--clay-ink); text-decoration: none; font-weight: var(--weight-medium); font-size: 0.93rem; }
.aside-card li a:hover { text-decoration: underline; }
.post-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: var(--weight-medium); color: var(--text-2); margin-bottom: var(--s-4); }
.pager { display: flex; justify-content: space-between; gap: 20px; margin-top: var(--s-8); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.pager a, .pager span { flex: 1; text-decoration: none; color: inherit; }
.pager a small { display: block; color: var(--text-2); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 5px; }
.pager a:last-child { text-align: right; } .pager a b { color: var(--clay-ink); font-family: var(--font-display); }
.notice { border-left: 4px solid var(--clay); background: var(--bone); padding: 16px 20px; color: var(--text-2); font-size: 0.95rem; }
.two-col { columns: 2; column-gap: var(--s-6); } .two-col p { break-inside: avoid; }
.portal-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.portal-frame iframe { width: 100%; height: 760px; border: 0; display: block; }
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall img { aspect-ratio: 4 / 5; } .media--wide img { aspect-ratio: 16 / 10; }
.media .cap { position: absolute; left: 16px; bottom: 16px; background: rgb(11 32 51 / .78); color: #fff; padding: 8px 13px; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: var(--weight-medium); }
.oops { text-align: center; padding-top: 170px; }
.oops-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: var(--s-8); }
.oops-grid img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; }

/* ---------- footer ---------- */
.foot { background: var(--navy-deep); color: #cfdde7; }
.foot .wrap { padding-top: var(--s-12); padding-bottom: var(--s-4); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: var(--s-6); }
.foot h4 { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--aqua); margin-bottom: 16px; font-family: var(--font-body); font-weight: var(--weight-medium); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: #cfdde7; text-decoration: none; transition: color var(--dur-1) var(--ease-out); }
.foot a:hover { color: #fff; }
.foot p { color: #a9bdcb; font-size: 0.95rem; }
.foot .brand img { height: 62px; width: auto; margin-bottom: 18px; }
.foot .legal { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / .12); margin-top: var(--s-8); padding-top: var(--s-3); font-size: 0.83rem; color: #8ea6b7; }
.foot .soc a { border-color: rgb(255 255 255 / .22); }

/* ---------- responsive ---------- */
/* the primary nav rides down to tablet width: tighten the cells first, collapse only when it stops fitting */
@media (max-width: 1340px) {
  .chrome .bar { gap: 16px; }
  .nav > a, .nav .has-sub > button { padding-left: 11px; padding-right: 11px; font-size: 0.96rem; }
  .nav > a::after, .nav .has-sub > button::after { left: 11px; right: 11px; }
  .chrome .cta-cell { padding: 13px 20px; font-size: 0.96rem; margin-left: 6px; }
  .chrome .brand img { height: 46px; }
}
@media (max-width: 1120px) {
  .nav { display: none; } .chrome .cta-cell { display: none; } .chrome-burger { display: block; }
  .chrome .bar { justify-content: space-between; min-height: 76px; }
  .chrome .brand img { height: 48px; }
}
@media (max-width: 1180px) {
  .intro-grid { grid-template-columns: 1fr; } .intro-card { margin-top: -80px; max-width: 520px; }
  .card-grid, .news-grid, .team-grid, .steps, .steps--4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: 1fr; } .sticky-aside { position: static; }
  .ihero-grid { grid-template-columns: 1fr; } .ihero .shot { max-width: 520px; }
}
@media (max-width: 900px) {
  .hero .wrap { padding-top: 132px; padding-bottom: 96px; }
  .split-band, .visit-grid, .story-main, .grid-2, .grid-3, .bio { grid-template-columns: 1fr; }
  .split-band.flip > .media { order: 0; }
  .split-band > .media { min-height: 320px; }
  .story-tabs { grid-template-columns: repeat(2, 1fr); }
  .story-tabs .tab-ind { display: none; }
  .story-tabs button.story-tab[aria-selected="true"], .story-tabs a[aria-selected="true"] { background: var(--steel); color: #fff; }
  .quicklinks { grid-template-columns: 1fr; margin-top: -40px; }
  .trio { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .two-col { columns: 1; }
  .visit-map { min-height: 320px; }
  .row-item { grid-template-columns: 84px 1fr; gap: 16px; } .row-item img { width: 84px; height: 64px; } .row-item .go { grid-column: 2; }
  .news-grid > :nth-child(even) { margin-top: 0; }
  .bio { padding: 24px; } .bio .portrait-blob { max-width: 220px; }
}
@media (max-width: 560px) {
  .card-grid, .news-grid, .team-grid, .steps, .steps--2, .steps--4, .stats, .oops-grid, .foot-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: 1fr; }
  .chrome .bar { min-height: 68px; }
  .chrome .brand img { height: 42px; }
  .boxhead .ln { padding: 6px 10px 8px; }
  .sechead { flex-wrap: wrap; gap: 14px; } .sechead .rule { display: none; } .sechead .btn { margin-bottom: 0; }
  .topbar .wrap { justify-content: center; gap: 16px; font-size: 0.76rem; }
  .btn { padding: 14px 22px; }
  .acc details { padding-left: 0; } .acc details::before { display: none; }
  .story-tabs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .boxhead .ln { background-color: var(--navy); transition: none; }
  .hero .btn { opacity: 1; transition: none; }
  .audiogram .sym { opacity: 1; transition: none; }
  .btn, .svc, .svc img, .news-card img, .arrow-link svg, .chip, .portrait-blob img, .story-tabs .tab-ind, .row-item .circ { transition: none; }
}
@media print {
  .chrome, .topbar, .el-menu, .foot, .read-progress, .btn-row, .quicklinks, .audiogram { display: none !important; }
  body { color: #000; background: #fff; }
  .split-band > .copy, .visit-info { background: #fff !important; color: #000 !important; }
}
