@charset "utf-8";
/* ==========================================================================
   Mansfield Vision Center — 2026 redesign.
   Layout language after the Optcare template: arches, ghost words, overlap
   cards, counters, tabs, team plates, map card. Brand colors are the
   original mansfieldvision.com palette: royal blue #1200FF, navy #17224D,
   sky blue #3393F0, pale blues #EDF1FC / #D5E6FF. (Token names --teal and
   --gold are kept from v1; they now hold royal blue and sky blue.)
   Mobile-first, no framework.

   CONTRAST (WCAG 2.2 AA, measured):
     muted #54595F on white 7.1:1, on #EDF1FC 6.3:1
     royal #1200FF on white 8.5:1, on #EDF1FC 7.5:1 · white on royal 8.5:1
     sky #3393F0 on navy #17224D 4.8:1, on navy-deep 5.6:1; never sky
     text on white (3.2:1). gold-ink #1462B8 on white 6.1:1 where sky
     words are needed on light backgrounds. Royal on navy is 1.8:1: fills
     only, never text.
   ========================================================================== */

:root {
  --navy: #17224D;
  --navy-deep: #0E1535;
  --navy-2: #1C2A5E;
  --teal: #1200FF;
  --teal-ink: #1200FF;
  --teal-soft: #EDF1FC;
  --gold: #3393F0;
  --gold-soft: #D5E6FF;
  --gold-ink: #1462B8;
  --ink: #141B3D;
  --muted: #54595F;
  --line: #D7DEED;
  --mist: #F4F6FD;
  --white: #FFFFFF;
  --on-dark: #C9D3EE;

  --f-head: 'Jost', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --wrap: 1200px;
  --gut: 1rem;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(20, 27, 61, .05), 0 14px 34px rgba(20, 27, 61, .08);
  --shadow-lg: 0 30px 70px rgba(20, 27, 61, .16);
  --s1: .5rem; --s2: .75rem; --s3: 1rem; --s4: 1.5rem; --s5: 2rem; --s6: 3rem; --s7: 4.5rem; --s8: 7rem;
}
@media (min-width: 48rem) { :root { --gut: 2rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  margin: 0; overflow-x: hidden; background: var(--white); color: var(--ink);
  font: 400 1rem/1.7 var(--f-body); -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.12; margin: 0; color: var(--navy-deep); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
p + p { margin-top: var(--s3); }
a { color: var(--teal-ink); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 200; top: .5rem; left: .5rem; padding: .6rem 1rem; background: var(--navy-deep); color: #fff; border-radius: 10px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; position: relative; }
.center { text-align: center; }
.band { position: relative; padding-block: clamp(4.5rem, 9vw, var(--s8)); overflow: hidden; }
.band--mist { background: var(--mist); }
.band--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

/* preview confirmation marks */
mark.ph { background: #FFF3B0; color: var(--ink) !important; padding: 0 .2em; border-radius: 3px; box-shadow: inset 0 -2px 0 #E8C24A; cursor: help; }
.preview-bar { position: relative; z-index: 60; padding: .5rem var(--gut); background: #7A4B00; color: #FFF6E5; font-size: .85rem; text-align: center; }
.preview-bar mark.ph { color: var(--ink); }

/* ----------------------------------------------------------------- type -- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: var(--s3);
  font: 600 .8rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--light { color: var(--gold); }
.lede { margin-top: var(--s3); font-size: 1.125rem; color: var(--muted); max-width: 56ch; }
.hb { position: relative; margin-bottom: var(--s5); }
.hb--center { text-align: center; }
.hb--center .lede { margin-inline: auto; }
.hb--center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.hb-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }
.hb-row .hb { margin: 0; }

/* the hand-drawn underline that draws itself on reveal */
.hl { position: relative; font-style: normal; color: var(--teal-ink); white-space: nowrap; }
.hl svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .32em; overflow: visible; }
.hl svg path { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.1s .35s var(--ease); }
.is-in .hl svg path, .hl.is-in svg path, .rv.is-in .hl svg path { stroke-dashoffset: 0; }
.hl--gold { color: var(--gold); }
@media (max-width: 30rem) { .hl { white-space: normal; } .hl svg { display: none; } }

/* ghost word: huge, faint, drifts sideways with scroll */
.ghost {
  position: absolute; z-index: 0; left: 50%; top: -.42em; transform: translateX(calc(-50% + var(--drift, 0px)));
  font: 700 clamp(4rem, 2rem + 9vw, 9.5rem)/1 var(--f-head); letter-spacing: -.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(18, 0, 255, .16); pointer-events: none; user-select: none;
}
.hb:not(.hb--center) .ghost { left: -.04em; transform: translateX(var(--drift, 0px)); }
.ghost--light { -webkit-text-stroke-color: rgba(255, 255, 255, .1); }
.hb > *:not(.ghost) { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- lists -- */
.ticks { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231200FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/62% no-repeat;
}
.steps { counter-reset: s; list-style: none; padding: 0; margin: var(--s4) 0; display: grid; gap: .9rem; }
.steps li { counter-increment: s; position: relative; padding-left: 3rem; color: var(--muted); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -.1em; font: 700 1.35rem/1 var(--f-head); color: var(--gold-ink); }
.steps b { display: block; color: var(--navy-deep); font-family: var(--f-head); font-weight: 600; }

/* --------------------------------------------------------------- buttons -- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transform: translate(var(--mx), var(--my)); transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn__ico { width: 1.15em; height: 1.15em; flex: none; transition: transform .3s var(--ease); }
.btn:hover .btn__ico { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 26px rgba(51, 147, 240, .35); }
.btn--gold:hover { background: #5AA8F5; color: var(--navy-deep); box-shadow: 0 14px 34px rgba(51, 147, 240, .45); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--line { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--lg { min-height: 56px; padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--teal-ink); text-decoration: none; }
.link-arrow .ico { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
@media (max-width: 30rem) { .btn { white-space: normal; text-align: center; } .btn--lg, .hero__act .btn, .phero__act .btn, .cta__act .btn { width: 100%; } }

/* --------------------------------------------------------------- top bar -- */
.topbar { background: var(--navy-deep); color: var(--on-dark); font-size: .85rem; transition: margin-top .35s var(--ease); }
.topbar__in { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; justify-content: center; padding-block: .5rem; }
.topbar__i { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; }
.topbar__i .ico { width: 1rem; height: 1rem; color: var(--gold); }
.topbar__phone { color: #fff; font-weight: 600; }
.topbar a:hover { color: #fff; }
@media (max-width: 47.99rem) { .topbar__i:not(.topbar__phone) { display: none; } }
@media (min-width: 64rem) { .topbar__in { justify-content: flex-end; } .topbar__i:first-child { margin-right: auto; } }

/* ----------------------------------------------------------------- header -- */
.head { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
/* The frosted background lives on a pseudo-element: backdrop-filter on the
   header itself would make it the containing block of the fixed mobile menu. */
.head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.head.is-stuck { box-shadow: 0 8px 30px rgba(20, 27, 61, .08); border-color: var(--line); }
.head__in { display: flex; align-items: center; gap: var(--s4); min-height: 76px; }
.logo img { width: 150px; height: auto; transition: width .3s var(--ease); }
.head.is-stuck .logo img { width: 130px; }
@media (min-width: 30rem) { .logo img { width: 175px; } .head.is-stuck .logo img { width: 150px; } }
.head__act { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.head__call { display: none; align-items: center; gap: .45rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.head__call .ico { width: 1.15rem; height: 1.15rem; color: var(--teal-ink); }
.head__book { display: none; }
@media (min-width: 40rem) { .head__book { display: inline-flex; } }
@media (min-width: 75rem) { .head__call { display: inline-flex; } }

.burger { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--mist); cursor: pointer; }
.burger__bars { display: grid; gap: 5px; }
.burger__bars i { display: block; width: 22px; height: 2px; background: var(--navy-deep); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] .burger__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu: a full-height panel */
.nav { position: fixed; inset: 0 0 0 auto; z-index: 70; width: min(88vw, 380px); padding: 5.5rem 1.4rem 2rem; background: #fff; box-shadow: var(--shadow-lg); overflow-y: auto; transform: translateX(105%); transition: transform .45s var(--ease); }
.nav.is-open { transform: none; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; border-bottom: 1px solid var(--line); }
.nav__a { display: block; padding: .95rem 0; font: 600 1.15rem/1.2 var(--f-head); color: var(--navy-deep); text-decoration: none; }
.nav__a[aria-current="page"], .nav__sub a[aria-current="page"] { color: var(--teal-ink); }
.nav__sub-btn { position: absolute; right: 0; top: .45rem; width: 40px; height: 40px; border: 0; background: var(--mist); border-radius: 10px; cursor: pointer; color: var(--navy); }
.nav__sub-btn .ico { width: 18px; height: 18px; margin: auto; transform: rotate(90deg); transition: transform .3s var(--ease); }
.nav__sub-btn[aria-expanded="true"] .ico { transform: rotate(-90deg); }
.nav__sub { list-style: none; margin: 0; padding: 0 0 .8rem .9rem; display: none; }
.nav__sub.is-open { display: block; }
.nav__sub a { display: block; padding: .45rem 0; color: var(--muted); text-decoration: none; }
.nav__mobile-extra { display: grid; gap: .7rem; margin-top: 1.6rem; }
.nav__mobile-extra .btn--line { color: var(--navy); border-color: var(--navy); background: none; }
.nav-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(14, 21, 53, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav-scrim.is-on { opacity: 1; pointer-events: auto; }

@media (min-width: 64rem) {
  .burger, .nav__mobile-extra, .nav__sub-btn { display: none; }
  .nav { position: static; width: auto; padding: 0; background: none; box-shadow: none; transform: none; overflow: visible; margin-left: auto; }
  .head__act { margin-left: var(--s3); }
  .nav__list { display: flex; gap: 1.6rem; }
  .nav__item { border: 0; }
  .nav__a { position: relative; padding: 1.6rem 0; font-size: 1rem; }
  .nav__a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1.15rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
  .nav__item:hover .nav__a::after, .nav__a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .nav__sub {
    display: block; position: absolute; left: -1.2rem; top: 100%; min-width: 230px; padding: .7rem; background: #fff;
    border-radius: 14px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--teal);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__sub a { padding: .55rem .8rem; border-radius: 8px; color: var(--navy-deep); font-weight: 500; }
  .nav__sub a:hover { background: var(--mist); color: var(--teal-ink); }
}

/* ------------------------------------------------------------- decoration -- */
.dots { position: absolute; width: 150px; height: 150px; background-image: radial-gradient(var(--teal) 1.6px, transparent 1.8px); background-size: 14px 14px; opacity: .35; pointer-events: none; mask-image: radial-gradient(circle, #000 40%, transparent 72%); -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 72%); }
.iris { position: absolute; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle, transparent 38%, rgba(51, 147, 240, .55) 38.5%, transparent 40%),
    repeating-conic-gradient(rgba(18, 0, 255, .35) 0 2deg, transparent 2deg 9deg);
  mask: radial-gradient(circle, transparent 36%, #000 37%, #000 69%, transparent 70%);
  -webkit-mask: radial-gradient(circle, transparent 36%, #000 37%, #000 69%, transparent 70%);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

/* the arch: Optcare's signature shape, here as a photo frame */
.arch { position: relative; aspect-ratio: 9 / 11; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--teal-soft); box-shadow: var(--shadow-lg); isolation: isolate; }
.arch::after { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: inherit; pointer-events: none; }
.arch__inner { position: absolute; inset: -9% 0; }
.arch__pic, .arch__pic img { width: 100%; height: 100%; object-fit: cover; }

/* glass card */
.glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-radius: var(--r-lg); }

/* hours list */
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .45rem; border-bottom: 1px dashed rgba(255, 255, 255, .2); }
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours li span:first-child { font-weight: 600; }

/* --------------------------------------------------------------------- hero -- */
.hero { position: relative; min-height: min(100svh - 40px, 900px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-deep); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* The film simply plays behind the hero: no scroll zoom or parallax (client, 20 Oct). */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14, 21, 53, .94) 0%, rgba(14, 21, 53, .82) 38%, rgba(14, 21, 53, .35) 70%, rgba(14, 21, 53, .15) 100%),
  linear-gradient(0deg, rgba(14, 21, 53, .65) 0%, transparent 35%); }
@media (max-width: 63.99rem) { .hero__veil { background: linear-gradient(180deg, rgba(14, 21, 53, .38) 0%, rgba(14, 21, 53, .8) 42%, rgba(14, 21, 53, .95) 100%); } .hero__in { padding-top: 34vh; } }
.hero__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.dots--hero { left: 2%; bottom: 8%; background-image: radial-gradient(var(--gold) 1.6px, transparent 1.8px); opacity: .45; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__in { display: grid; gap: var(--s5); padding-block: clamp(4rem, 10vh, 7rem) clamp(5rem, 12vh, 8rem); }
.hero__h { color: #fff; font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); font-weight: 600; line-height: 1.02; max-width: 12ch; }
.hero__h em { font-style: normal; color: var(--gold); }
.hero__lede { color: var(--on-dark); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); max-width: 48ch; }
.hero__act { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: var(--s5); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(51, 147, 240, .7); animation: pulse 2s infinite; }
.hero__eyebrow::before { display: none; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(51, 147, 240, 0); } }
.hero__card { padding: 1.4rem 1.5rem; max-width: 380px; }
.hero__card-h { display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; font: 600 1.05rem var(--f-head); }
.hero__card-h .ico { width: 1.2rem; height: 1.2rem; color: var(--gold); }
.hero__award { display: flex; align-items: center; gap: .8rem; margin-top: 1.1rem; padding: .8rem; border-radius: 14px; background: rgba(51, 147, 240, .14); color: #fff; text-decoration: none; transition: background .25s; }
.hero__award:hover { background: rgba(51, 147, 240, .24); color: #fff; }
.hero__award-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--gold); color: var(--navy-deep); }
.hero__award-ico .ico { width: 24px; height: 24px; }
.hero__award b { display: block; font-family: var(--f-head); }
.hero__award span span, .hero__award > span:last-child { font-size: .85rem; color: var(--on-dark); }
.hero__award > span:last-child b { color: #fff; font-size: 1rem; }
@media (min-width: 64rem) { .hero__in { grid-template-columns: 1fr auto; align-items: end; } .hero__card { margin-bottom: .5rem; } }

/* spinning booking badge */
.spin { position: absolute; z-index: 2; right: clamp(1rem, 4vw, 3.5rem); bottom: clamp(1.2rem, 5vh, 3rem); width: 118px; height: 118px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: none; place-items: center; text-decoration: none; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); transition: transform .4s var(--ease); }
.spin:hover { transform: scale(1.06); color: var(--navy-deep); }
.spin > svg { position: absolute; inset: 0; animation: spin 14s linear infinite; font: 600 9px var(--f-body); letter-spacing: .06em; fill: var(--navy-deep); }
.spin__eye { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy-deep); color: var(--gold); }
.spin__eye .ico { width: 26px; height: 26px; }
@media (min-width: 64rem) { .spin { display: grid; } }
.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 63.99rem) { .hero__scroll { display: none; } }

/* hero entrance: words rise out of a mask */
.hero__h .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero__h .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.hero.is-ready .hero__h .w > span { transform: none; }
[data-hero-in] { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.hero.is-ready [data-hero-in] { opacity: 1; transform: none; filter: none; }
.hero.is-ready .hero__eyebrow { transition-delay: .05s; }
.hero.is-ready .hero__lede { transition-delay: .55s; }
.hero.is-ready .hero__act { transition-delay: .7s; }
.hero.is-ready .hero__card { transition-delay: .9s; }

/* --------------------------------------------------------------- benefits -- */
.benefits { position: relative; z-index: 3; margin-top: -3.5rem; }
.benefits__card { display: grid; gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.benefit { padding: 1.7rem 1.5rem; background: #fff; transition: background .3s; }
.benefit:hover { background: var(--mist); }
.benefit__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--teal-soft); color: var(--teal-ink); margin-bottom: 1rem; transition: transform .45s var(--ease), background .3s, color .3s; }
.benefit:hover .benefit__ico { transform: rotate(-8deg) scale(1.06); background: var(--teal); color: #fff; }
.benefit__ico .ico { width: 28px; height: 28px; }
.benefit h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.benefit p { color: var(--muted); font-size: .95rem; }
@media (min-width: 40rem) { .benefits__card { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .benefits__card { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------ split -- */
.split { display: grid; gap: var(--s6); align-items: center; }
.split__media { position: relative; max-width: 460px; width: 100%; margin-inline: auto; }
@media (min-width: 64rem) {
  .split { grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); }
  .split--rev { grid-template-columns: 1.1fr .9fr; }
  .split--rev .split__media { order: 2; }
}
.badge-years { position: absolute; right: -6px; bottom: 12%; display: grid; place-items: center; width: 140px; height: 140px; padding: 1rem; border-radius: 50%; background: var(--gold); color: var(--navy-deep); text-align: center; box-shadow: 0 20px 40px rgba(51, 147, 240, .4); border: 6px solid #fff; }
.badge-years b { font: 700 2.6rem/1 var(--f-head); }
.badge-years span { font-size: .72rem; font-weight: 600; line-height: 1.2; }
.dots--side { left: -40px; top: -30px; }
@media (min-width: 64rem) { .badge-years { right: -40px; } }

/* --------------------------------------------------------------- services -- */
.tabs__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: 1.6rem; }
@media (min-width: 40rem) { .tabs__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .tabs__list { grid-template-columns: repeat(6, 1fr); gap: .9rem; } }
.tab { position: relative; display: grid; justify-items: center; gap: .55rem; padding: 1.1rem .6rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--navy-deep); font: 600 .92rem/1.25 var(--f-head); text-align: center; cursor: pointer; overflow: hidden; transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s; }
.tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.tab:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tab:hover::before { transform: scaleX(1); }
.tab__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); transition: background .3s, color .3s; }
.tab__ico .ico { width: 24px; height: 24px; }
.tab[aria-selected="true"] { background: var(--teal-ink); color: #fff; border-color: var(--teal-ink); box-shadow: 0 16px 34px rgba(18, 0, 255, .3); }
.tab[aria-selected="true"] .tab__ico { background: rgba(255, 255, 255, .18); color: #fff; }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 16px; height: 9px; margin-left: -8px; background: var(--mist); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tabpanel { display: grid; gap: var(--s5); align-items: center; padding: clamp(1.4rem, 3vw, 2.6rem); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); animation: panelIn .6s var(--ease); }
.tabpanel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.tabpanel h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: .6rem; }
.tabpanel p { color: var(--muted); }
.tabpanel .link-arrow { margin-top: 1.4rem; }
.tabpanel__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; }
.tabpanel__pic, .tabpanel__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tabpanel:hover .tabpanel__pic img { transform: scale(1.05); }
@media (min-width: 52rem) { .tabpanel { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------- counters -- */
.counters { position: relative; overflow: hidden; color: #fff; background: linear-gradient(110deg, var(--teal-ink), var(--navy) 55%, var(--navy-deep)); }
.counters__bg { position: absolute; inset: -40% -10%; background: radial-gradient(circle at 20% 50%, rgba(51, 147, 240, .22), transparent 40%), radial-gradient(circle at 85% 30%, rgba(18, 0, 255, .35), transparent 45%); }
.counters__in { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.counter { display: grid; justify-items: center; text-align: center; gap: .3rem; }
.counter .ico { width: 34px; height: 34px; color: var(--gold); margin-bottom: .3rem; }
.counter b { font: 700 clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem)/1 var(--f-head); }
.counter > span { color: var(--on-dark); font-size: .92rem; max-width: 18ch; }
@media (min-width: 52rem) { .counters__in { grid-template-columns: repeat(4, 1fr); } .counter + .counter { border-left: 1px solid rgba(255, 255, 255, .14); } }

/* ------------------------------------------------- the "1 or 2" eye chart -- */
.chart { position: relative; aspect-ratio: 4 / 5; max-width: 420px; margin-inline: auto; padding: 2rem 1rem 4.5rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.chart__rows { display: grid; justify-items: center; align-content: center; gap: .35em; height: 100%; font: 700 1rem/1 var(--f-head); color: var(--navy-deep); filter: blur(var(--blur, 6px)); transition: filter .15s linear; letter-spacing: .3em; }
.chart__rows span { display: block; }
.chart__rows .r1 { font-size: 4.4rem; } .chart__rows .r2 { font-size: 3rem; } .chart__rows .r3 { font-size: 2.2rem; }
.chart__rows .r4 { font-size: 1.65rem; } .chart__rows .r5 { font-size: 1.25rem; } .chart__rows .r6 { font-size: 1rem; } .chart__rows .r7 { font-size: .8rem; }
.chart__lens { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 42%, transparent 55%, rgba(18, 0, 255, .08) 56%, transparent 75%); }
.chart__toggle { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); display: flex; gap: .5rem; padding: .3rem; border-radius: 999px; background: var(--mist); }
.chart__toggle button { width: 46px; height: 40px; border: 0; border-radius: 999px; background: transparent; font: 700 1.05rem var(--f-head); color: var(--navy); cursor: pointer; transition: background .25s, color .25s; }
.chart__toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.focus .split__media::before { content: ""; position: absolute; inset: 12% -8% -6% 18%; border-radius: 999px 999px var(--r-lg) var(--r-lg); background: var(--teal-soft); z-index: -1; }

/* -------------------------------------------------------- meet + booking -- */
.meet { position: relative; padding-block: clamp(4.5rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5rem); background: linear-gradient(180deg, var(--navy-deep) 0 62%, #fff 62% 100%); overflow: hidden; }
.meet__top { position: absolute; inset: 0 0 auto; height: 60%; }
.meet__top .ghost { top: .1em; }
.meet__head { text-align: center; margin-bottom: var(--s5); }
.meet__head h2 { color: #fff; }
.meet__head .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); }
.meet__grid { display: grid; gap: 1.4rem; align-items: stretch; }
@media (min-width: 64rem) { .meet__grid { grid-template-columns: 340px 1fr; } }
.bookcard { padding: 1.8rem; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.bookcard h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.bookcard > p { color: var(--muted); margin-bottom: 1.2rem; font-size: .95rem; }
.bookcard__or { display: flex; align-items: center; gap: .8rem; margin: 1rem 0; color: var(--muted); font-size: .85rem; }
.bookcard__or::before, .bookcard__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bookcard__tel { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 14px; background: var(--mist); color: var(--navy-deep); text-decoration: none; line-height: 1.3; }
.bookcard__tel .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--teal); color: #fff; flex: none; }
.bookcard__tel b { font: 700 1.25rem var(--f-head); }
.hours--sm { margin-top: 1.2rem; font-size: .88rem; }
.hours--sm li, .bookcard .hours li { border-color: var(--line); }

/* video card with the red play button */
.vcard { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.vcard__poster, .vcard__poster img, .vcard video { width: 100%; height: 100%; object-fit: cover; }
.vcard video { position: absolute; inset: 0; background: #000; }
/* A base rule sets video { display: block }, which beat the hidden attribute:
   the native control bar showed over the poster before play. */
.vcard video[hidden] { display: none; }
.vcard__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(0deg, rgba(14, 21, 53, .55), transparent 55%); cursor: pointer; }
.playbtn { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #E53935; color: #fff; box-shadow: 0 14px 34px rgba(229, 57, 53, .45); transition: transform .35s var(--ease); }
.playbtn::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); animation: ring 2.2s infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.playbtn .ico { width: 40px; height: 40px; margin-left: 4px; }
.vcard__play:hover .playbtn { transform: scale(1.08); }
.vcard__cap { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1rem; display: flex; justify-content: space-between; gap: 1rem; color: #fff; font-size: .88rem; pointer-events: none; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.vcard__cap b { font-family: var(--f-head); font-weight: 600; font-size: 1rem; }
.vcard.is-playing .vcard__play, .vcard.is-playing .vcard__cap, .vcard.is-playing .vcard__poster { display: none; }
@media (max-width: 30rem) { .vcard__cap { display: none; } .playbtn { width: 68px; height: 68px; } }

/* ----------------------------------------------------------------- doctors -- */
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 64rem) { .docs { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; } }
.doc { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; background: var(--mist); aspect-ratio: 9 / 11; }
.doc__photo, .doc__pic, .doc__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.doc__pic img { transition: transform 1s var(--ease), filter .5s; }
.doc:hover .doc__pic img { transform: scale(1.06); }
.doc__plate { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; padding: .9rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--navy-deep); transition: background .35s, color .35s, transform .45s var(--ease); }
.doc__plate b { display: block; font: 600 1.02rem/1.2 var(--f-head); }
.doc__role { display: block; font-size: .82rem; color: var(--muted); transition: color .35s; }
.doc__more { display: flex; align-items: center; gap: .35rem; max-height: 0; overflow: hidden; opacity: 0; font-size: .85rem; font-weight: 600; transition: max-height .45s var(--ease), opacity .35s, margin .35s; }
.doc__more .ico { width: 1rem; height: 1rem; }
.doc:hover .doc__plate, .doc:focus-visible .doc__plate { background: var(--teal-ink); color: #fff; transform: translateY(-4px); }
.doc:hover .doc__role, .doc:focus-visible .doc__role { color: rgba(255, 255, 255, .85); }
.doc:hover .doc__more, .doc:focus-visible .doc__more { max-height: 2rem; opacity: 1; margin-top: .4rem; }
@media (max-width: 30rem) { .doc__plate { padding: .7rem .75rem; left: .45rem; right: .45rem; bottom: .45rem; } .doc__plate b { font-size: .9rem; } .doc__role { font-size: .74rem; } }

/* ------------------------------------------------------------------- award -- */
.award__frame { position: relative; padding: 1rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease); }
.award__frame::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; z-index: -1; border-radius: var(--r-lg); background: var(--gold); opacity: .9; }
.award__pic img { border-radius: 12px; }
.years { list-style: none; padding: 0; margin: var(--s4) 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.years li { padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 .95rem var(--f-head); color: var(--navy); }
.years li:last-child { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ----------------------------------------------------------------- reviews -- */
.reviews { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 200'%3E%3Cpath d='M20 120 C 140 40, 260 180, 380 90 S 560 60, 590 110' fill='none' stroke='%23F4F6FD' stroke-width='60' stroke-linecap='round'/%3E%3C/svg%3E") center 58%/min(1100px, 140%) no-repeat; }
.reviews .center + .slider { margin-top: 1rem; }
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 1rem .2rem 2rem; overscroll-behavior-x: contain; }
.slider__track::-webkit-scrollbar { display: none; }
@media (min-width: 48rem) { .slider__track { grid-auto-columns: calc(50% - .6rem); } }
@media (min-width: 75rem) { .slider__track { grid-auto-columns: calc(33.333% - .8rem); } }
.review { position: relative; scroll-snap-align: start; margin: 0; padding: 2.2rem 1.7rem 1.6rem; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.review__mark { position: absolute; right: 1.2rem; top: -.6rem; font: 700 6rem/1 Georgia, serif; color: var(--teal); opacity: .2; }
.review__stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: .8rem; }
.review__stars .ico { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0 0 1.2rem; color: var(--ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: .7rem; font: 600 1rem var(--f-head); color: var(--navy-deep); }
.review__av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; }
.slider__ctrl { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.slider__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: background .25s, color .25s; }
.slider__btn:hover { background: var(--navy); color: #fff; }
.slider__btn[data-prev] .ico { transform: rotate(180deg); }
.slider__btn .ico { width: 20px; height: 20px; }
.slider__dots { display: flex; gap: .4rem; }
.slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.slider__dots button[aria-current="true"] { width: 28px; background: var(--teal); }
.reviews > .wrap > .center:last-child { margin-top: 1.4rem; }

/* ----------------------------------------------------------------- marquee -- */
.marquee { padding-block: 2.8rem; background: var(--navy-deep); overflow: hidden; }
.marquee__label { text-align: center; margin-bottom: 1.2rem; font: 600 .8rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.marquee__label mark.ph { color: var(--ink); }
.marquee__row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--mq, 38s) linear infinite; }
.marquee__track span { padding-inline: 1.6rem; font: 600 clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem)/1.2 var(--f-head); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); white-space: nowrap; transition: color .3s; }
.marquee__track span:nth-child(3n+1) { color: #fff; -webkit-text-stroke: 0; }
.marquee__track span::after { content: "✦"; margin-left: 3.2rem; font-size: .5em; vertical-align: middle; color: var(--gold); -webkit-text-stroke: 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ photo strip -- */
.strip { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 52rem) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip__i { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.strip__pic, .strip__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.strip__i:hover .strip__pic img { transform: scale(1.08); }
.strip__ov { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .8rem; padding: 1rem; background: rgba(18, 0, 255, .9); color: #fff; text-align: center; opacity: 0; transition: opacity .4s; }
.strip__plus { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; transform: scale(.6) rotate(-90deg); transition: transform .5s var(--ease); }
.strip__plus .ico { width: 24px; height: 24px; }
.strip__ov b { font: 600 1.1rem var(--f-head); transform: translateY(10px); transition: transform .5s var(--ease); }
.strip__i:hover .strip__ov, .strip__i:focus-visible .strip__ov { opacity: 1; }
.strip__i:hover .strip__plus, .strip__i:focus-visible .strip__plus { transform: none; }
.strip__i:hover .strip__ov b { transform: none; }
@media (hover: none) { .strip__ov { opacity: 1; background: linear-gradient(0deg, rgba(14, 21, 53, .8), transparent 60%); place-content: end center; padding-bottom: 1.2rem; } .strip__plus { display: none; } .strip__ov b { transform: none; } }

/* --------------------------------------------------------------- insurance -- */
.insure__in { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 64rem) { .insure__in { grid-template-columns: 1fr 1fr; } }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .7rem 1.1rem; border-radius: 14px; background: var(--mist); border: 1px solid var(--line); font: 600 .98rem var(--f-head); color: var(--navy-deep); transition: transform .3s var(--ease), background .3s; }
.chips li:hover { transform: translateY(-3px); background: var(--teal-soft); }
.chips__more { background: transparent !important; border-style: dashed !important; color: var(--muted) !important; }

/* ----------------------------------------------------------------- find us -- */
.findus { position: relative; min-height: 520px; display: flex; align-items: center; background: var(--mist); }
.findus__map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.02); }
.findus__wrap { pointer-events: none; padding-block: 3rem; }
.findus__card { pointer-events: auto; max-width: 360px; padding: 1.8rem; border-radius: var(--r-lg); background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-lg); }
.findus__card h2 { color: #fff; font-size: 1.6rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.findus__card h2::before { content: ""; width: 10px; height: 26px; border-radius: 4px; background: var(--gold); }
.findus__card .hours { margin: 1rem 0 1.3rem; }
.findus__card a:not(.btn) { color: #fff; }
.foot__line { display: flex; gap: .7rem; align-items: flex-start; margin-top: .8rem; }
.foot__line .ico { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .25rem; color: var(--gold); }
.foot__line small { display: block; color: var(--on-dark); font-size: .82rem; margin-top: .2rem; }
@media (max-width: 47.99rem) { .findus { flex-direction: column; align-items: stretch; min-height: 0; } .findus__map { position: relative; height: 300px; } .findus__wrap { padding-block: 0; margin-top: -2.5rem; padding-bottom: 2.5rem; } .findus__card { max-width: none; } }

/* ------------------------------------------------------------- closing CTA -- */
.cta { position: relative; overflow: hidden; color: #fff; background: var(--navy-deep); isolation: isolate; }
.cta__bg { position: absolute; inset: -20% 0; z-index: -1; }
.cta__img, .cta__img img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14, 21, 53, .96) 0%, rgba(14, 21, 53, .88) 50%, rgba(18, 0, 255, .6) 100%); }
.cta__in { display: grid; gap: var(--s5); align-items: center; padding-block: clamp(4rem, 8vw, 6rem); }
.cta h2 { color: #fff; max-width: 18ch; }
.cta .lede { color: var(--on-dark); }
.cta__act { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 64rem) { .cta__in { grid-template-columns: 1.3fr 1fr; } .cta__act { justify-content: flex-end; } }

/* ------------------------------------------------------------------ footer -- */
.foot { position: relative; margin-top: 60px; background: var(--navy-deep); color: var(--on-dark); padding-top: 4.5rem; }
.cta + .foot, main:has(> .cta:last-child) + .foot { margin-top: 0; }
.foot__notch { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); padding: 1rem 1.6rem; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); }
.foot__notch img { width: 160px; }
.foot__grid { display: grid; gap: 2.2rem; padding-block: 2rem 2.6rem; }
@media (min-width: 40rem) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.foot__h { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot__col li { margin-bottom: .55rem; }
.foot a { color: var(--on-dark); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot__about p { font-size: .95rem; }
.foot__award { display: flex; gap: .6rem; align-items: center; margin-top: 1rem; color: var(--gold); font-weight: 600; font-size: .92rem; }
.foot__award .ico { width: 1.3rem; height: 1.3rem; flex: none; }
.hours--foot { margin-top: 1rem; font-size: .9rem; }
.foot__bar { display: grid; gap: .8rem; padding-block: 1.4rem 2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.foot__legal { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.foot__legal li { margin: 0; }

/* back to top with scroll-progress ring */
.totop { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop > .ico { width: 22px; height: 22px; }
.totop__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 3; }
.totop__ring .totop__bar { stroke: var(--gold); stroke-dasharray: 132; stroke-dashoffset: calc(132 - 132 * var(--p, 0)); stroke-linecap: round; }
.totop:hover { color: var(--gold); }

/* ---------------------------------------------------------- interior hero -- */
.phero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 20%, rgba(18, 0, 255, .35), transparent 45%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%); color: #fff; isolation: isolate; }
.phero .ghost { top: auto; bottom: .9em; left: auto; right: -.05em; transform: translateX(var(--drift, 0px)); }
.phero__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.iris--a { width: 420px; height: 420px; left: -180px; bottom: -180px; opacity: .5; }
.dots--a { right: 38%; top: 12%; background-image: radial-gradient(var(--gold) 1.6px, transparent 1.8px); }
.phero__in { display: grid; gap: var(--s5); align-items: center; padding-block: 2.2rem 5.5rem; }
.phero h1 { color: #fff; max-width: 16ch; }
.phero .lede { color: var(--on-dark); }
.phero__act { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: var(--s5); }
.phero__media { position: relative; width: min(100%, 360px); margin-inline: auto; }
.phero__badge { position: absolute; left: -14px; bottom: 18%; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); border: 5px solid var(--navy-deep); animation: bob 5s ease-in-out infinite; }
.phero__badge .ico { width: 34px; height: 34px; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.phero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; fill: #fff; }
.phero--mist .phero__wave { fill: var(--mist); }
@media (min-width: 64rem) { .phero__in { grid-template-columns: 1.25fr .75fr; padding-block: 3rem 6.5rem; } .phero__media { width: 100%; max-width: 380px; } }
@media (max-width: 63.99rem) { .phero__media { display: none; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1.6rem; padding: 0; font-size: .88rem; color: var(--on-dark); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .5; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--gold); }

/* ------------------------------------------------------------ prose pages -- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 2.4rem 0 .8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .5rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: .8rem 0; }
.prose li + li { margin-top: .35rem; }
.prose > :first-child { margin-top: 0; }

/* cards (services hub, conditions hub) */
.cards { display: grid; gap: 1.2rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; padding: 1.8rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 140px; height: 140px; border-radius: 50%; background: var(--teal-soft); transition: transform .6s var(--ease); z-index: 0; }
.card > * { position: relative; z-index: 1; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.card:hover::after { transform: scale(2.6); }
.card__ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--navy); color: var(--gold); margin-bottom: 1.2rem; transition: transform .45s var(--ease); }
.card:hover .card__ico { transform: rotate(-6deg); }
.card__ico .ico { width: 30px; height: 30px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); flex: 1; }
.card .link-arrow { margin-top: 1.2rem; }
.card--img { padding: 0; }
.card--img .card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card--img .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card--img:hover .card__media img { transform: scale(1.06); }
.card--img .card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card--img::after { display: none; }

/* doctor profile rows */
.profile { display: grid; gap: var(--s5); padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); align-items: start; }
.profile:last-child { border-bottom: 0; }
.profile__side { position: relative; }
.profile__photo { max-width: 340px; }
.profile__facts { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; }
.profile__facts li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.profile__facts .ico { width: 1.1rem; height: 1.1rem; color: var(--teal-ink); flex: none; margin-top: .25rem; }
.profile__role { margin: .4rem 0 1.2rem; color: var(--teal-ink); font-weight: 600; font-size: .95rem; }
.profile .vcard { margin-top: 1.8rem; }
@media (min-width: 64rem) { .profile { grid-template-columns: 340px 1fr; gap: clamp(3rem, 6vw, 5rem); } .profile__side { position: sticky; top: 110px; } }

/* staff grid */
.staff { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 40rem) { .staff { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .staff { grid-template-columns: repeat(3, 1fr); } }
.person { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s; }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.person__photo { aspect-ratio: 9 / 10; overflow: hidden; background: linear-gradient(150deg, var(--navy), var(--teal-ink)); display: grid; place-items: center; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.person:hover .person__photo img { transform: scale(1.05); }
.person__initials { font: 700 4rem var(--f-head); color: var(--gold); }
.person__body { padding: 1.3rem 1.4rem 1.5rem; }
.person__body h3 { font-size: 1.2rem; }
.person__role { display: inline-block; margin: .3rem 0 .7rem; padding: .2rem .7rem; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); font-size: .8rem; font-weight: 600; }
.person__body p { color: var(--muted); font-size: .94rem; }

/* FAQ accordion */
.faq-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.faq-nav a { padding: .5rem 1rem; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); color: var(--navy-deep); text-decoration: none; font: 600 .9rem var(--f-head); transition: background .25s, color .25s; }
.faq-nav a:hover { background: var(--navy); color: #fff; }
.faq-group { margin-top: 2.8rem; }
.faq-group h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-bottom: 1rem; display: flex; align-items: center; gap: .7rem; }
.faq-group h2::before { content: ""; width: 10px; height: 24px; border-radius: 4px; background: var(--gold); }
.qa { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: .7rem; transition: box-shadow .3s, border-color .3s; }
.qa[open] { box-shadow: var(--shadow); border-color: transparent; }
.qa summary { position: relative; list-style: none; cursor: pointer; padding: 1.1rem 3.6rem 1.1rem 1.3rem; font: 600 1.05rem/1.35 var(--f-head); color: var(--navy-deep); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231200FF' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.qa[open] summary::after { transform: rotate(135deg); background-color: var(--gold-soft); }
.qa__a { padding: 0 1.3rem 1.3rem; color: var(--muted); }
.qa__a p + p, .qa__a ul { margin-top: .6rem; }
.qa__a ul { padding-left: 1.2rem; }
.faq-search { position: relative; max-width: 520px; margin-bottom: 1.4rem; }
.faq-search input { width: 100%; padding: .95rem 1.1rem .95rem 3rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.faq-search input:focus { outline: 3px solid rgba(18, 0, 255, .3); border-color: var(--teal); }
.faq-search .ico { position: absolute; left: 1.1rem; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); }

/* facts strip on condition pages */
.facts { display: grid; gap: .9rem; margin-top: 2rem; }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 1.2rem 1.3rem; border-radius: 18px; background: var(--mist); border-left: 4px solid var(--gold); font-weight: 600; color: var(--navy-deep); }
.side-card { padding: 1.6rem; border-radius: var(--r-lg); background: var(--navy-deep); color: var(--on-dark); }
.side-card h3 { color: #fff; margin-bottom: .8rem; }
.side-card ul { padding-left: 1.1rem; margin: 0; }
.side-card li + li { margin-top: .4rem; }
.side-card .btn { margin-top: 1.2rem; }
.urgent { display: flex; gap: .9rem; align-items: flex-start; margin-top: 1.2rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: #FDECEA; color: #7A1E16; }
.urgent .ico { width: 1.4rem; height: 1.4rem; flex: none; margin-top: .15rem; }
.layout-side { display: grid; gap: var(--s6); }
@media (min-width: 64rem) { .layout-side { grid-template-columns: 1fr 340px; gap: clamp(3rem, 5vw, 4.5rem); } .layout-side__aside { position: sticky; top: 110px; align-self: start; } }

/* contact form */
.form { display: grid; gap: 1rem; }
.form label { display: block; font-weight: 600; color: var(--navy-deep); margin-bottom: .35rem; font-size: .95rem; }
.form input, .form select, .form textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(18, 0, 255, .25); border-color: var(--teal); }
.form .hint { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.note { padding: 1rem 1.2rem; border-radius: 14px; background: #FFF6E0; border: 1px solid #F0D58A; color: #5C4300; font-size: .92rem; }
.note--ok { background: #E7F6EC; border-color: #A9DDB9; color: #1D5C33; }
.note--err { background: #FDECEA; border-color: #F2B8B1; color: #7A1E16; }
.contact-cards { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.ccard { padding: 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ccard .ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-ink); margin-bottom: .8rem; }
.ccard h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.ccard p, .ccard a { color: var(--muted); }
.ccard .hours li { border-color: var(--line); }

/* legal */
.review-box { margin-bottom: 2rem; padding: 1.2rem 1.4rem; border-radius: 16px; background: #FFF6E0; border: 1px solid #F0D58A; color: #5C4300; font-size: .92rem; }
.review-box h2 { font-size: 1.05rem; color: #5C4300; margin-bottom: .5rem; }
.review-box ul { margin: 0; padding-left: 1.2rem; }

/* --------------------------------------------------------- reveal motion -- */
.js .rv { opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .rv.is-in { opacity: 1; transform: none; filter: none; }
.js .phero .rv { transition-duration: 1s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv, [data-hero-in], .hero__h .w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hl svg path { stroke-dashoffset: 0; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track span[aria-hidden] { display: none; }
  .chart__rows { filter: none !important; }
}

/* ---- Explainer film (Home, before "Who we are") ---- */
.explainer__wrap { max-width: 900px; }
.transcript { margin-top: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.transcript summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding: .75rem 1.1rem; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::after { content: "+"; font-size: 1.3rem; line-height: 1; transition: transform .3s ease; }
.transcript[open] summary::after { transform: rotate(45deg); }
.transcript p { margin: 0; padding: 0 1.1rem 1.1rem; color: var(--muted); line-height: 1.7; }

/* Floow web voice widget (Rev 7): the hero panel lines up with the
   headline and buttons (left edge), not centred in the copy column. */
.hero__copy .fw { margin-left: 0; margin-right: 0; }
