@charset "utf-8";

/* ===========================================================================
   LUMEN DENTAL — work/lumen-dental/styles.css
   Family & cosmetic dentistry, Almaden Valley, San Jose CA.

   Structural signature: soft rounded containers floating on a warm ground.
   Separation comes from elevation and space, never from borders. Centered
   hero. Loosest vertical rhythm of the five properties. Content caps at the
   880 narrow container on every screen size.

   The :root block below is GENERATED FROM design-system/tokens.json:
     primitives  -> primitive.lumen
     roles       -> semantic.lumen
     scales      -> scales.*
     fonts       -> typography.lumen
   Do not hand-edit values here. Edit tokens.json and regenerate.
   Every rule after :root consumes var(--semantic-role). No literals, and no
   --lumen-* primitive references outside the token block.
   =========================================================================== */


/* --- PHOTO SWAP POINTS -------------------------------------------------
   All imagery on this page is hand-authored inline SVG plus layered CSS
   gradients. There are zero image files and zero external requests beyond
   the Google Fonts link. To drop real photography in later, replace the
   generated art on these selectors:

     .hero__art        -> 1600x900 practice interior, centred composition,
                          keep the top 45% quiet so the headline stays legible
     .portrait         -> 640x640 square headshot per team member (3 total)
     .card__icon       -> keep as line icons, or 400x300 procedure photos
     .tech__icon       -> 400x400 equipment detail shots (4 total)
     .site-footer__map -> 560x260 static map export of the Almaden Valley block

   When a photo replaces .hero__art, delete .hero__mesh, .hero__arcs and
   .hero__grain from the markup and set object-fit: cover on the image.
   ---------------------------------------------------------------------- */


:root {
  /* ── Primitives — tokens.json / primitive.lumen ───────────────────────── */
  --lumen-sand-050: #FAF9F7;
  --lumen-mint-050: #E8F6F4;
  --lumen-mint-200: #BFE3DD;
  --lumen-teal-600: #0891B2;
  --lumen-teal-700: #0E7490;
  --lumen-teal-800: #155E75;
  --lumen-green-700: #047857;
  --lumen-ink-900: #13343D;
  --lumen-ink-600: #4A6068;
  --lumen-ink-400: #6E8891;
  --lumen-white: #FFFFFF;

  /* Alpha ramps off the same primitives, also declared in tokens.json, so
     that no derived role and no component rule ever spells a channel. */
  --lumen-sand-050-a88: rgba(250, 249, 247, 0.88);
  --lumen-sand-050-a00: rgba(250, 249, 247, 0);
  --lumen-mint-050-a92: rgba(232, 246, 244, 0.92);
  --lumen-mint-200-a72: rgba(191, 227, 221, 0.72);
  --lumen-teal-600-a20: rgba(8, 145, 178, 0.20);
  --lumen-teal-600-a09: rgba(8, 145, 178, 0.09);
  --lumen-teal-800-a12: rgba(21, 94, 117, 0.12);
  --lumen-ink-900-a10: rgba(19, 52, 61, 0.10);
  --lumen-ink-900-a06: rgba(19, 52, 61, 0.06);
  --lumen-ink-900-a05: rgba(19, 52, 61, 0.05);
  --lumen-ink-900-a04: rgba(19, 52, 61, 0.04);
  --lumen-white-a80: rgba(255, 255, 255, 0.80);
  --lumen-white-a55: rgba(255, 255, 255, 0.55);
  --lumen-white-a26: rgba(255, 255, 255, 0.26);
  --lumen-white-a10: rgba(255, 255, 255, 0.10);

  /* ── Semantic roles — tokens.json / semantic.lumen ────────────────────── */
  --bg: var(--lumen-sand-050);
  --surface: var(--lumen-white);
  --surface-raised: var(--lumen-mint-050);
  --surface-inverse: var(--lumen-teal-800);
  --border-subtle: var(--lumen-mint-200);
  --border-interactive: var(--lumen-ink-400);
  --text-primary: var(--lumen-ink-900);
  --text-muted: var(--lumen-ink-600);
  --text-on-inverse: var(--lumen-white);
  --action-primary: var(--lumen-teal-700);
  --action-primary-hover: var(--lumen-teal-800);
  --on-action-primary: var(--lumen-white);
  --action-secondary: var(--lumen-green-700);
  --accent-graphic: var(--lumen-teal-600);
  --danger: var(--lumen-ink-900);
  --focus-ring: var(--lumen-teal-700);
  --focus-ring-inverse: var(--lumen-white);

  /* Translucent roles. Contrast for every pair that carries text or a focus
     ring is verified in tokens.json / contrastChecks — the footer ring runs
     7.27:1 and --text-on-inverse-soft 5.31:1, both on --surface-inverse.
     --on-inverse-line is a decorative hairline only, the way Ironclad's
     slate-300 is: never an input border, never a load-bearing graphic. */
  --surface-translucent: var(--lumen-sand-050-a88);
  --text-on-inverse-soft: var(--lumen-white-a80);
  --on-inverse-wash: var(--lumen-white-a10);
  --on-inverse-line: var(--lumen-white-a26);
  --wash-accent-strong: var(--lumen-teal-600-a20);
  --wash-accent-soft: var(--lumen-teal-600-a09);
  --wash-mint-strong: var(--lumen-mint-200-a72);
  --wash-mint-soft: var(--lumen-mint-050-a92);
  --wash-deep: var(--lumen-teal-800-a12);
  --wash-fade: var(--lumen-sand-050-a00);
  --shadow-ambient: var(--lumen-ink-900-a04);
  --shadow-ambient-strong: var(--lumen-ink-900-a05);
  --shadow-cast: var(--lumen-ink-900-a06);
  --shadow-cast-strong: var(--lumen-ink-900-a10);
  --shadow-highlight: var(--lumen-white-a55);

  /* ── Elevation — soft, layered, low opacity, large blur ───────────────── */
  --shadow-soft: 0 1px 2px var(--shadow-ambient), 0 10px 28px var(--shadow-cast);
  --shadow-lift: 0 2px 4px var(--shadow-ambient-strong), 0 18px 40px var(--shadow-cast-strong);
  --shadow-header: 0 1px 0 var(--shadow-ambient), 0 8px 24px var(--shadow-cast);
  --shadow-inset: inset 0 1px 0 var(--shadow-highlight);

  /* ── Type — typography.lumen, stacks copied verbatim ──────────────────── */
  --font-display: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Noto Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* ── Scale: space ─────────────────────────────────────────────────────── */
  --space-0: 0px;
  --space-px: 2px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --space-40: 160px;

  /* ── Scale: type ──────────────────────────────────────────────────────── */
  --type-xs: 12px;
  --type-sm: 14px;
  --type-base: 16px;
  --type-md: 18px;
  --type-lg: 20px;
  --type-xl: 24px;
  --type-2xl: 30px;
  --type-3xl: 36px;
  --type-4xl: 48px;
  --type-5xl: 60px;
  --type-6xl: 72px;
  --type-7xl: 96px;

  /* ── Scale: leading ───────────────────────────────────────────────────── */
  --leading-tight: 1.05;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --leading-loose: 1.75;

  /* ── Scale: weight ────────────────────────────────────────────────────── */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;

  /* ── Scale: radius — this property binds lg / xl / 2xl, plus full for
         genuinely circular objects (radio dots, map pins) ─────────────── */
  --radius-none: 0px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-4xl: 32px;
  --radius-full: 999px;

  /* ── Scale: motion ────────────────────────────────────────────────────── */
  --motion-instant: 120ms;
  --motion-fast: 180ms;
  --motion-base: 240ms;
  --motion-slow: 320ms;
  --motion-slower: 480ms;
  --motion-slowest: 640ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Scale: z ─────────────────────────────────────────────────────────── */
  --z-base: 0;
  --z-raised: 10;
  --z-sticky: 20;
  --z-overlay: 40;
  --z-modal: 100;
  --z-toast: 1000;

  /* ── Scale: container ─────────────────────────────────────────────────── */
  --container-prose: 680px;
  --container-narrow: 880px;
  --container-default: 1160px;
  --container-wide: 1360px;
}


/* ===========================================================================
   1. RESET AND BASE
   =========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--type-base);
  line-height: var(--leading-relaxed);
  font-weight: var(--weight-regular);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

p { margin: 0; }

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

svg { display: block; }

img { max-width: 100%; height: auto; }

address { font-style: normal; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: var(--space-4);
  z-index: var(--z-toast);
  transform: translateY(-200%);
  background-color: var(--action-primary);
  color: var(--on-action-primary);
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  transition: transform var(--motion-fast) var(--ease-out);
}

.skip-link:focus-visible { transform: translateY(0); }


/* ===========================================================================
   2. LAYOUT — the 880 narrow container, everywhere
   =========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section { padding-block: var(--space-16); }

.section--flat {
  background-color: var(--bg);
}

.section--band {
  background-color: var(--surface-raised);
}

.section--tight-top { padding-block-start: var(--space-4); }

.section__head {
  max-width: var(--container-prose);
  margin-bottom: var(--space-10);
}

.section__title {
  font-size: var(--type-2xl);
  line-height: var(--leading-snug);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
}

.section__lede {
  font-size: var(--type-md);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  max-width: 62ch;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--type-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--action-primary);
  margin-bottom: var(--space-3);
}


/* ===========================================================================
   3. LINK AND ICON PRIMITIVES
   =========================================================================== */

.link {
  color: var(--action-primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness var(--motion-fast) var(--ease-out);
}

.link:hover { text-decoration-thickness: 2px; }
.link:active { color: var(--action-primary-hover); }

.icon,
.card__icon svg,
.tech__icon svg,
.faq__chevron svg,
.pledge__mark svg,
.form__success-mark svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon__fill { fill: currentColor; stroke: none; }

.icon--inline { flex: 0 0 auto; }


/* ===========================================================================
   4. BUTTON — contract from MASTER section 6
   =========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--type-base);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition:
    background-color var(--motion-base) var(--ease-out),
    color var(--motion-base) var(--ease-out),
    border-color var(--motion-base) var(--ease-out),
    box-shadow var(--motion-base) var(--ease-out),
    transform var(--motion-fast) var(--ease-out);
}

.btn--md { min-height: 44px; padding: var(--space-2) var(--space-5); }
.btn--lg { min-height: 52px; padding: var(--space-3) var(--space-6); }

.btn--primary {
  background-color: var(--action-primary);
  color: var(--on-action-primary);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background-color: var(--action-primary-hover);
  box-shadow: var(--shadow-lift);
}

.btn--secondary {
  background-color: transparent;
  color: var(--action-primary);
  border-color: var(--action-primary);
}

.btn--secondary:hover { background-color: var(--surface-raised); }

.btn--ghost {
  background-color: transparent;
  color: var(--text-primary);
}

.btn--ghost:hover { background-color: var(--surface-raised); }

.btn:active { transform: scale(0.98); }

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}


/* ===========================================================================
   5. SITE HEADER AND NAVIGATION
   =========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: var(--surface-translucent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  transition: box-shadow var(--motion-base) var(--ease-out);
}

.site-header.is-stuck { box-shadow: var(--shadow-header); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 72px;
  padding-block: var(--space-2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--text-primary);
  padding-block: var(--space-1);
  border-radius: var(--radius-lg);
}

.brand__mark { flex: 0 0 auto; }
.brand__mark svg { width: 40px; height: 40px; }
.brand__mark-disc { fill: var(--surface-raised); stroke: none; }
.brand__mark-arc,
.brand__mark-ray {
  fill: none;
  stroke: var(--accent-graphic);
  stroke-width: 2.4;
  stroke-linecap: round;
}
.brand__mark-dot { fill: var(--action-primary); stroke: none; }

.brand__text { display: flex; flex-direction: column; }

.brand__name {
  font-family: var(--font-display);
  font-size: var(--type-lg);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
}

.brand__name-accent { color: var(--action-primary); }

.brand__tag {
  font-size: var(--type-xs);
  line-height: var(--leading-normal);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  background-color: var(--surface);
  color: var(--text-primary);
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-display);
  font-size: var(--type-sm);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: box-shadow var(--motion-base) var(--ease-out);
}

.nav-toggle:hover { box-shadow: var(--shadow-lift); }

.nav-toggle__label { line-height: var(--leading-snug); }

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-1);
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: var(--radius-full);
  background-color: var(--action-primary);
  transition: transform var(--motion-base) var(--ease-out),
              opacity var(--motion-fast) var(--ease-out);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  left: var(--space-5);
  right: var(--space-5);
  top: calc(100% - var(--space-2));
  padding: var(--space-4);
  background-color: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lift);
}

.site-nav.is-open { display: block; }

.site-nav__list {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-3);
}

.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--type-base);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: background-color var(--motion-base) var(--ease-out),
              color var(--motion-base) var(--ease-out);
}

.site-nav__link:hover {
  background-color: var(--surface-raised);
  color: var(--action-primary);
}

.site-nav__link.is-active { color: var(--action-primary); }

.site-nav__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-nav__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-xl);
  background-color: var(--surface-raised);
  color: var(--action-primary);
  font-family: var(--font-display);
  font-size: var(--type-base);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transition: background-color var(--motion-base) var(--ease-out);
}

.site-nav__phone:hover { background-color: var(--border-subtle); }


/* ===========================================================================
   6. HERO — centred, which no other property in the portfolio does
   =========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-16) var(--space-20);
  text-align: center;
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(58% 52% at 16% 10%, var(--wash-accent-strong), var(--wash-fade) 70%),
    radial-gradient(52% 48% at 86% 6%, var(--wash-mint-strong), var(--wash-fade) 72%),
    radial-gradient(74% 62% at 50% 112%, var(--wash-mint-soft), var(--wash-fade) 70%),
    radial-gradient(38% 38% at 94% 76%, var(--wash-accent-soft), var(--wash-fade) 75%),
    radial-gradient(34% 34% at 6% 84%, var(--wash-deep), var(--wash-fade) 78%);
}

.hero__arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

/* fill-box puts the origin on the rings' own centre (600, 330) rather than
   the viewBox centre, so the load-in scale expands them from the middle. */
.hero__arc-group { transform-origin: center; transform-box: fill-box; }

.hero__arc {
  fill: none;
  stroke: var(--accent-graphic);
  stroke-width: 1;
  opacity: 0.35;
}

.hero__smile {
  fill: none;
  stroke: var(--accent-graphic);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.45;
}

.hero__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  mix-blend-mode: multiply;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-size: var(--type-3xl);
  line-height: var(--leading-tight);
  font-weight: var(--weight-black);
  letter-spacing: -0.035em;
  margin-bottom: var(--space-4);
}

.hero__line {
  font-family: var(--font-display);
  font-size: var(--type-xl);
  line-height: var(--leading-snug);
  font-weight: var(--weight-semibold);
  max-width: 18ch;
  margin-bottom: var(--space-5);
}

.hero__lede {
  font-size: var(--type-md);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  max-width: 54ch;
  margin-bottom: var(--space-8);
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-width: 340px;
  margin-bottom: var(--space-8);
}

.hero__facts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background-color: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

.hero__fact {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--type-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  text-align: left;
}

.icon--fact {
  flex: 0 0 auto;
  color: var(--action-secondary);
  stroke-width: 2.5;
}


/* ===========================================================================
   7. SERVICE CARDS
   =========================================================================== */

.cards {
  display: grid;
  gap: var(--space-5);
}

.card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background-color: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
  transition: transform var(--motion-base) var(--ease-out),
              box-shadow var(--motion-base) var(--ease-out);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-xl);
  background-color: var(--surface-raised);
  color: var(--action-primary);
}

.card__title {
  font-size: var(--type-lg);
  line-height: var(--leading-snug);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
}

.card__body {
  font-size: var(--type-base);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.card__note {
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  border-radius: var(--radius-lg);
  background-color: var(--surface-raised);
  font-size: var(--type-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.card__note-label {
  display: block;
  margin-bottom: var(--space-1);
  font-family: var(--font-display);
  font-size: var(--type-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--action-primary);
}

.card__price {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: var(--type-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}


/* ===========================================================================
   8. TEAM
   =========================================================================== */

.team {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}

.team__member {
  padding: var(--space-6);
  background-color: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
  transition: transform var(--motion-base) var(--ease-out),
              box-shadow var(--motion-base) var(--ease-out);
}

.team__member:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.portrait {
  display: block;
  width: 132px;
  max-width: 100%;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.portrait svg { width: 100%; height: auto; }

.portrait--a {
  background-image:
    radial-gradient(80% 80% at 20% 10%, var(--wash-mint-strong), var(--wash-fade) 75%),
    linear-gradient(160deg, var(--surface-raised), var(--border-subtle));
}
.portrait--b {
  background-image:
    radial-gradient(80% 80% at 80% 12%, var(--wash-accent-soft), var(--wash-fade) 78%),
    linear-gradient(200deg, var(--surface-raised), var(--border-subtle));
}
.portrait--c {
  background-image:
    radial-gradient(85% 75% at 50% 0%, var(--wash-mint-soft), var(--wash-fade) 80%),
    linear-gradient(140deg, var(--border-subtle), var(--surface-raised));
}

.portrait__head { fill: var(--surface); stroke: none; }
.portrait__body { fill: var(--accent-graphic); stroke: none; }
.portrait__collar {
  fill: none;
  stroke: var(--surface);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.portrait__accent { fill: var(--surface); stroke: none; opacity: 0.5; }

.portrait--a .portrait__hair { fill: var(--action-primary); stroke: none; }
.portrait--b .portrait__hair { fill: var(--surface-inverse); stroke: none; }
.portrait--c .portrait__hair { fill: var(--action-secondary); stroke: none; }

.team__text { min-width: 0; }

.team__name {
  font-size: var(--type-lg);
  line-height: var(--leading-snug);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-1);
}

.team__role {
  font-family: var(--font-display);
  font-size: var(--type-base);
  font-weight: var(--weight-semibold);
  color: var(--action-primary);
  margin-bottom: var(--space-2);
}

.team__cred {
  font-size: var(--type-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
}

.team__bio {
  font-size: var(--type-base);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.standards {
  padding: var(--space-6);
  background-color: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

.standards__title {
  font-size: var(--type-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-5);
}

.standards__list { display: grid; gap: var(--space-5); }

.standards__item { min-width: 0; }

.standards__figure {
  display: block;
  font-family: var(--font-display);
  font-size: var(--type-2xl);
  line-height: var(--leading-snug);
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--action-primary);
  margin-bottom: var(--space-1);
}

.standards__label {
  display: block;
  font-size: var(--type-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}


/* ===========================================================================
   9. TECHNOLOGY
   =========================================================================== */

.tech { display: grid; gap: var(--space-5); }

.tech__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background-color: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
  transition: transform var(--motion-base) var(--ease-out),
              box-shadow var(--motion-base) var(--ease-out);
}

.tech__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.tech__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  background-color: var(--surface-raised);
  color: var(--action-primary);
}

.tech__text { min-width: 0; }

.tech__title {
  font-size: var(--type-lg);
  line-height: var(--leading-snug);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
}

.tech__body {
  font-size: var(--type-base);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.chart {
  margin: var(--space-5) 0 0;
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  background-color: var(--surface-raised);
}

.chart__svg { width: 100%; height: auto; }

.chart__track { fill: var(--surface); }
.chart__bar { stroke: none; }
/* The film bar is the comparison, not decoration, so it needs 3:1 against
   both the white track and the mint panel. border-subtle gave 1.24:1. */
.chart__bar--film { fill: var(--surface-inverse); }
.chart__bar--digital { fill: var(--accent-graphic); }

.chart__label {
  fill: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--type-xs);
  font-weight: var(--weight-semibold);
}

.chart__value {
  fill: var(--text-muted);
  font-family: var(--font-body);
  font-size: var(--type-xs);
}

.chart__caption {
  margin-top: var(--space-3);
  font-size: var(--type-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}


/* ===========================================================================
   10. INSURANCE, PRICING AND FINANCING PANELS
   =========================================================================== */

.panel {
  padding: var(--space-6);
  margin-bottom: var(--space-5);
  background-color: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

.panel__title {
  font-size: var(--type-lg);
  line-height: var(--leading-snug);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
}

.panel__body {
  font-size: var(--type-base);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.panel__body:last-child { margin-bottom: 0; }

.panel__note {
  font-size: var(--type-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  margin-top: var(--space-4);
}

.panel-row { display: grid; gap: var(--space-5); }
.panel-row .panel { margin-bottom: 0; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-2xl);
  background-color: var(--surface-raised);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--type-sm);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  text-align: left;
}

.table__caption {
  caption-side: bottom;
  margin-top: var(--space-4);
  font-size: var(--type-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  text-align: left;
}

.table th,
.table td {
  padding: var(--space-3) var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.table thead th {
  font-family: var(--font-display);
  font-size: var(--type-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--action-primary);
  white-space: nowrap;
}

.table tbody th {
  font-family: var(--font-body);
  font-size: var(--type-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.table tbody td {
  font-size: var(--type-sm);
  color: var(--text-muted);
}

.table tbody tr:last-child th,
.table tbody tr:last-child td { border-bottom: 0; }

.price-list { margin-bottom: var(--space-4); }

.price-list__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
}

.price-list__row:last-child { border-bottom: 0; }

.price-list__name {
  font-size: var(--type-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  flex: 1 1 60%;
}

.price-list__value {
  font-family: var(--font-display);
  font-size: var(--type-base);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  white-space: nowrap;
}

.pledge {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  background-color: var(--surface-raised);
  box-shadow: var(--shadow-inset);
}

.pledge__mark {
  flex: 0 0 auto;
  color: var(--action-secondary);
}

.pledge__text {
  font-size: var(--type-base);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
}


/* ===========================================================================
   11. NEW PATIENT OFFER BAND
   =========================================================================== */

.offer {
  padding: var(--space-8) var(--space-6);
  background-color: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

.offer__title { margin-bottom: var(--space-5); }

.offer__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.offer__price-now {
  font-family: var(--font-display);
  font-size: var(--type-5xl);
  line-height: var(--leading-tight);
  font-weight: var(--weight-black);
  letter-spacing: -0.04em;
  color: var(--accent-graphic);
}

.offer__price-was {
  font-family: var(--font-display);
  font-size: var(--type-md);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.offer__lede {
  font-size: var(--type-md);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  max-width: 58ch;
}

.offer__subtitle {
  font-size: var(--type-base);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--action-primary);
  margin-bottom: var(--space-4);
}

.offer__terms {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.offer__term {
  position: relative;
  padding-left: var(--space-8);
  font-size: var(--type-base);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.offer__term::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background-color: var(--surface-raised);
  box-shadow: inset 0 0 0 2px var(--accent-graphic);
}

.offer__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}


/* ===========================================================================
   12. FIELD AND FORM — contract from MASTER section 6
   =========================================================================== */

.form-card {
  padding: var(--space-6);
  background-color: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

.form { display: block; }

.form__grid { display: grid; gap: var(--space-5); }

.field { display: flex; flex-direction: column; }

.field__label {
  font-family: var(--font-display);
  font-size: var(--type-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.field__input {
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--type-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--surface);
  border: 1px solid var(--border-interactive);
  border-radius: var(--radius-lg);
  transition: border-color var(--motion-base) var(--ease-out),
              box-shadow var(--motion-base) var(--ease-out);
}

.field__input:hover { border-color: var(--text-muted); }

.field__input:focus-visible {
  border-color: var(--action-primary);
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.field__input--select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: var(--space-10);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--action-primary) 50%),
    linear-gradient(135deg, var(--action-primary) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% + 1px),
    calc(100% - 16px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field__input--textarea {
  min-height: 120px;
  resize: vertical;
  line-height: var(--leading-relaxed);
}

.field__hint {
  margin-top: var(--space-2);
  font-size: var(--type-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.field__error {
  margin-top: var(--space-2);
  font-size: var(--type-sm);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-relaxed);
  color: var(--danger);
}

.field__error::before {
  content: "\2715\00a0\00a0";
  font-weight: var(--weight-bold);
}

/* The contract asks for a 1px danger border. This palette carries no red, so
   --danger resolves to the darkest ink and hue alone cannot signal the state.
   The doubled width is what makes the error perceivable without colour, next
   to the ✕ glyph and role="alert". Drop it back to 1px if a red is approved. */
.field.has-error .field__input { border-color: var(--danger); border-width: 2px; }

.field__input:disabled { opacity: 0.45; cursor: not-allowed; }

.fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.fieldset__legend { padding: 0; }

.radio-row { display: grid; gap: var(--space-3); }

.radio,
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  min-height: 44px;
  padding: var(--space-2) 0;
  cursor: pointer;
}

.radio__input,
.checkbox__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
}

.radio__box,
.checkbox__box {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  background-color: var(--surface);
  border: 2px solid var(--border-interactive);
  transition: border-color var(--motion-base) var(--ease-out),
              background-color var(--motion-base) var(--ease-out);
}

.radio__box { border-radius: var(--radius-full); }
.checkbox__box { border-radius: var(--radius-md); }

.radio:hover .radio__box,
.checkbox:hover .checkbox__box { border-color: var(--action-primary); }

.radio__input:checked + .radio__box { border-color: var(--action-primary); }

.radio__input:checked + .radio__box::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: var(--radius-full);
  background-color: var(--action-primary);
}

.checkbox__input:checked + .checkbox__box {
  background-color: var(--action-primary);
  border-color: var(--action-primary);
}

.checkbox__input:checked + .checkbox__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--on-action-primary);
  border-bottom: 2px solid var(--on-action-primary);
  transform: rotate(42deg);
}

.radio__input:focus-visible + .radio__box,
.checkbox__input:focus-visible + .checkbox__box {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.radio__text,
.checkbox__text {
  font-size: var(--type-base);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
}

.form__foot {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.form__submit { width: 100%; }

.form__small {
  font-size: var(--type-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.form__success {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  background-color: var(--surface-raised);
  box-shadow: var(--shadow-inset);
}

.form__success-mark {
  flex: 0 0 auto;
  color: var(--action-secondary);
  stroke-width: 2.5;
}

.form__success-text {
  font-size: var(--type-base);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
}


/* ===========================================================================
   13. FAQ ACCORDION
   =========================================================================== */

.faq {
  background-color: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq__item + .faq__item { border-top: 1px solid var(--border-subtle); }

.faq__heading { margin: 0; }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  min-height: 56px;
  padding: var(--space-5) var(--space-5);
  background-color: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--type-base);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  transition: background-color var(--motion-base) var(--ease-out);
}

.faq__question:hover { background-color: var(--surface-raised); }

.faq__question:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: -2px;
}

.faq__question-text { flex: 1 1 auto; min-width: 0; }

.faq__chevron {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--surface-raised);
  color: var(--action-primary);
  transition: transform var(--motion-base) var(--ease-out),
              background-color var(--motion-base) var(--ease-out);
}

.faq__question[aria-expanded="true"] .faq__chevron {
  transform: rotate(180deg);
  background-color: var(--border-subtle);
}

.faq__answer {
  padding: 0 var(--space-5) var(--space-5);
}

.faq__answer p {
  font-size: var(--type-base);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  max-width: 66ch;
}

.faq__answer p + p { margin-top: var(--space-4); }


/* ===========================================================================
   14. FOOTER
   =========================================================================== */

.site-footer {
  background-color: var(--surface-inverse);
  color: var(--text-on-inverse);
  padding-block: var(--space-16);
}

/* The teal ring is invisible on the teal band (1.36:1). Nine links live
   down here, so the band takes the inverse ring role instead: 7.27:1. */
.site-footer :focus-visible { outline-color: var(--focus-ring-inverse); }

.site-footer__title {
  color: var(--text-on-inverse);
  font-size: var(--type-2xl);
  line-height: var(--leading-snug);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-8);
}

.site-footer__grid { display: grid; gap: var(--space-10); }

.site-footer__col { min-width: 0; }

.site-footer__heading {
  color: var(--text-on-inverse);
  font-size: var(--type-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.site-footer__heading--spaced { margin-top: var(--space-8); }

.site-footer__address {
  font-size: var(--type-base);
  line-height: var(--leading-relaxed);
  color: var(--text-on-inverse);
  margin-bottom: var(--space-4);
}

.site-footer__body {
  font-size: var(--type-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-on-inverse-soft);
  margin-bottom: var(--space-5);
}

.site-footer__contact { display: grid; gap: var(--space-1); }

.site-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-on-inverse);
  font-size: var(--type-base);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
  transition: text-decoration-thickness var(--motion-fast) var(--ease-out);
}

.site-footer__link:hover { text-decoration-thickness: 2px; }

.hours { margin-bottom: var(--space-5); }

.hours__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--on-inverse-line);
}

.hours__row:last-child { border-bottom: 0; }

.hours__day {
  font-family: var(--font-display);
  font-size: var(--type-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-on-inverse);
}

.hours__time {
  font-size: var(--type-sm);
  color: var(--text-on-inverse-soft);
  text-align: right;
}

.site-footer__map {
  display: block;
  max-width: 280px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.site-footer__map svg { width: 100%; height: auto; }

.map__ground { fill: var(--on-inverse-wash); }
.map__road {
  fill: none;
  stroke: var(--on-inverse-line);
  stroke-width: 2;
}
.map__road--major { stroke-width: 5; }
.map__park { fill: var(--on-inverse-wash); }
.map__pin-halo { fill: var(--on-inverse-wash); }
.map__pin { fill: var(--text-on-inverse); }

.site-footer__legal {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--on-inverse-line);
  font-size: var(--type-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-on-inverse-soft);
  max-width: 70ch;
}


/* ===========================================================================
   15. CREDIT STRIP — identical markup across all four demo sites
   =========================================================================== */

.credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-5);
  background-color: var(--bg);
  text-align: center;
}

.credit__text {
  font-size: var(--type-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.credit__text strong {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}

.credit__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--space-3);
  border-radius: var(--radius-lg);
  color: var(--action-primary);
  font-family: var(--font-display);
  font-size: var(--type-sm);
  font-weight: var(--weight-semibold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness var(--motion-fast) var(--ease-out);
}

.credit__link:hover { text-decoration-thickness: 2px; }


/* ===========================================================================
   16. SCROLL REVEAL
   The hiding rule is scoped to a class that main.js adds, so the page is
   fully readable if JavaScript never runs.
   =========================================================================== */

.reveals-armed .js-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--motion-base) var(--ease-out),
              transform var(--motion-base) var(--ease-out);
}

.reveals-armed .js-reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ===========================================================================
   17. BREAKPOINTS — mobile first, at the token breakpoints
   =========================================================================== */

/* --- 480 ----------------------------------------------------------------- */
@media (min-width: 480px) {

  .hero__title { font-size: var(--type-4xl); }

  .hero__ctas {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }

  .hero__facts {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-5);
    padding: var(--space-4) var(--space-6);
  }

  .offer__ctas { flex-direction: row; flex-wrap: wrap; }

  .form__submit { width: auto; min-width: 220px; }

  .form__foot { flex-direction: row; align-items: center; }

  .form__small { flex: 1 1 260px; }

  .credit { flex-direction: row; justify-content: center; gap: var(--space-4); }
}

/* --- 768 ----------------------------------------------------------------- */
@media (min-width: 768px) {

  .wrap { padding-inline: var(--space-8); }

  .site-nav { left: var(--space-8); right: var(--space-8); }

  .section { padding-block: var(--space-20); }

  .section--tight-top { padding-block-start: var(--space-6); }

  .section__head { margin-bottom: var(--space-12); }

  .section__title { font-size: var(--type-3xl); }

  .hero { padding-block: var(--space-20) var(--space-24); }

  .hero__title { font-size: var(--type-5xl); }

  .hero__line { font-size: var(--type-2xl); max-width: 22ch; }

  .hero__lede { font-size: var(--type-lg); }

  .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }

  .card { padding: var(--space-8); }

  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }

  .team__member { padding: var(--space-5); }

  .portrait { width: 116px; }

  .standards { padding: var(--space-8); }

  .standards__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }

  .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }

  .tech__item { padding: var(--space-8); }

  .tech__item:first-child { grid-column: 1 / -1; flex-direction: row; }

  .panel { padding: var(--space-8); margin-bottom: var(--space-6); }

  .panel-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }

  .offer { padding: var(--space-12) var(--space-10); }

  .offer__terms { gap: var(--space-5); }

  .form-card { padding: var(--space-8); }

  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }

  .field--wide { grid-column: 1 / -1; }

  .radio-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .faq__question { padding: var(--space-6); font-size: var(--type-md); }

  .faq__answer { padding: 0 var(--space-6) var(--space-6); }

  .site-footer { padding-block: var(--space-20); }

  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- 1024 ---------------------------------------------------------------- */
@media (min-width: 1024px) {

  html { scroll-padding-top: var(--space-24); }

  .section { padding-block: var(--space-24); }

  .section--tight-top { padding-block-start: var(--space-8); }

  .hero { padding-block: var(--space-24) var(--space-32); }

  .hero__title { font-size: var(--type-6xl); }

  /* The 880 cap is this property's content signature and still governs every
     section below. The header bar is chrome, not content: brand, five links,
     the phone and the CTA measure 998px laid out on one line, which will not
     fit inside 880 at any screen width, so the bar alone takes the 1160
     container and its items are told not to break mid-phrase. */
  .site-header__inner {
    max-width: var(--container-default);
    padding-inline: var(--space-6);
  }

  .nav-toggle { display: none; }

  .site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    position: static;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: var(--space-0);
    margin-bottom: 0;
  }

  .site-nav__link {
    font-size: var(--type-sm);
    padding-inline: var(--space-2);
    white-space: nowrap;
  }

  .site-nav__actions { flex-direction: row; align-items: center; gap: var(--space-2); }

  .site-nav__phone {
    font-size: var(--type-sm);
    padding-inline: var(--space-3);
    white-space: nowrap;
  }

  .site-nav__actions .btn { white-space: nowrap; }

  .brand__name,
  .brand__tag { white-space: nowrap; }

  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-8); }
}

/* --- 1280 ---------------------------------------------------------------- */
@media (min-width: 1280px) {

  /* The container deliberately stops at 880. Wide screens get more air,
     not more columns, because cramped medical sites read as cheap. */
  .section { padding-block: var(--space-32); }

  .hero { padding-block: var(--space-32) var(--space-40); }

  .section__head { margin-bottom: var(--space-16); }

  /* Past 1280 the bar has ~100px to spare, so the nav goes back to the
     roomier spacing the rest of the property uses. */
  .site-header__inner { padding-inline: var(--space-8); }

  .site-nav { gap: var(--space-4); }

  .site-nav__list { gap: var(--space-1); }

  .site-nav__link { padding-inline: var(--space-3); }

  .site-nav__actions { gap: var(--space-3); }
}


/* ===========================================================================
   18. PAGE LOAD, AMBIENT HERO AND PAGE TRANSITIONS
   An inline script in <head> adds .is-loading before this sheet arrives.
   Only [data-load] elements hide, and only while that class is present;
   main.js plays the load timeline with the Web Animations API and then
   removes it. If main.js never runs, the failsafe shows everything at 2.5s.

   After the timeline, main.js adds .is-ambient to the hero: the rings
   breathe on a 7s loop and the mesh drifts on a 24s loop. Both are
   transform-only on their own layers, both pause via .is-ambient-paused
   when the hero is offscreen or the tab is hidden, and the mesh drift is
   dropped entirely on touch and small screens.
   =========================================================================== */

@view-transition { navigation: auto; }

.is-loading [data-load] { opacity: 0; }

.is-loading [data-load] { animation: load-failsafe 0s 2.5s forwards; }

@keyframes load-failsafe { to { opacity: 1; } }

.hero.is-ambient .hero__arcs { animation: lumen-breathe 7s ease-in-out infinite; }

.hero.is-ambient .hero__mesh { animation: lumen-drift 24s ease-in-out infinite; }

@media (hover: none), (pointer: coarse), (max-width: 767px) {
  .hero.is-ambient .hero__mesh { animation: none; }
}

.hero.is-ambient-paused .hero__arcs,
.hero.is-ambient-paused .hero__mesh { animation-play-state: paused; }

@keyframes lumen-breathe {
  0%, 100% { transform: none; }
  50% { transform: scale(1.02); }
}

/* Starts and ends on the resting transform, so the drift begins without a
   jump. At every waypoint the scale overhang, (s - 1) / 2 per side, is wider
   than the scaled shift s * t, so no edge of the mesh ever enters the hero. */
@keyframes lumen-drift {
  0%, 100% { transform: none; }
  25% { transform: scale(1.06) translate3d(-1.5%, 1%, 0); }
  50% { transform: scale(1.08) translate3d(1.5%, -1.2%, 0); }
  75% { transform: scale(1.05) translate3d(1%, 1.2%, 0); }
}


/* ===========================================================================
   19. REDUCED MOTION
   =========================================================================== */

@media (prefers-reduced-motion: reduce) {

  @view-transition { navigation: none; }

  /* Nothing is load-animated under reduced motion, so nothing waits on the
     2.5s failsafe even if main.js fails to arrive. */
  .is-loading [data-load] { opacity: 1; animation: none; }

  .hero__arcs,
  .hero__mesh { animation: none !important; }

  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .reveals-armed .js-reveal {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .team__member:hover,
  .tech__item:hover,
  .btn:active {
    transform: none;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1),
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
    transform: none;
  }

  .faq__question[aria-expanded="true"] .faq__chevron { transform: none; }

  .skip-link { transition: none; }
}
