/* ================================================================
   AURA EYE CENTER — design system
   "Luxurious without feeling expensive."
   Teal, confidently. Purple, sparingly. Gold, only when earned.
   ================================================================ */

:root {
  /* color */
  --ink: #071312;
  --ink-soft: #16302d;
  --paper: #fafcfc;
  --paper-warm: #f4f7f6;
  --teal: #128a90;          /* deepened brand teal — AA on white */
  --teal-bright: #25b6bd;   /* exact logo teal — accents only */
  --teal-deep: #0d686d;
  --teal-ghost: #e2f3f4;
  --teal-glow: #7edee2;
  --purple: #7a68e8;
  --gold: #e6b34c;
  --line: rgba(7, 19, 18, 0.09);

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* rhythm */
  --space: clamp(5rem, 12vw, 10rem);
  --wrap: 1200px;
  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------- large displays: scale type up ---------------- */
@media (min-width: 1600px) {
  html { font-size: 17px; }
  :root { --wrap: 1320px; }
}
@media (min-width: 1920px) {
  html { font-size: 18px; }
  :root { --wrap: 1400px; }
}

/* ---------------- reset ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ---------------- typography ---------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display .dim { color: color-mix(in srgb, currentColor 42%, transparent); }
.kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.4rem;
}
.kicker--teal { color: var(--teal-glow); }
.lede {
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.65;
  max-width: 34em;
  color: color-mix(in srgb, currentColor 78%, transparent);
}
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: var(--space); position: relative; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9875rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              color 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn--solid {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--teal) 55%, transparent);
}
.btn--solid:hover {
  background: var(--purple);
  box-shadow: 0 14px 32px -10px color-mix(in srgb, var(--purple) 55%, transparent);
}
.btn--ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn--glass {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.24); }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.0625rem; }
.btn--sm { padding: 0.65rem 1.25rem; font-size: 0.875rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--teal);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.textlink:hover { color: var(--purple); gap: 0.75rem; }

/* ---------------- nav ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem clamp(1.25rem, 3.5vw, 2.5rem);
  color: #fff;
  /* scrim so white nav text stays readable over bright video frames */
  background: linear-gradient(to bottom, rgba(4, 19, 18, 0.62), rgba(4, 19, 18, 0.3) 60%, rgba(4, 19, 18, 0));
  transition: background 0.5s var(--ease), color 0.5s var(--ease),
              box-shadow 0.5s var(--ease), padding 0.5s var(--ease);
}
.nav:not(.nav--solid) .nav__links a,
.nav:not(.nav--solid) .nav__brand { text-shadow: 0 1px 10px rgba(2, 12, 11, 0.5); }
.nav:not(.nav--solid) .btn--ghost { text-shadow: 0 1px 8px rgba(2, 12, 11, 0.45); }
.nav--solid {
  background: rgba(250, 252, 252, 0.82);
  color: var(--ink);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.65rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.nav__brand em { font-style: normal; font-weight: 300; opacity: 0.85; }
.nav__mark { width: 26px; height: 26px; color: var(--teal-glow); flex: none; }
.nav--solid .nav__mark { color: var(--teal); }
.nav__links { display: flex; gap: 1.8rem; font-size: 0.95rem; font-weight: 500; }
.nav__links a { opacity: 0.94; transition: opacity 0.25s, color 0.25s; }
.nav__links a:hover { opacity: 1; color: var(--purple); }
.nav--solid .nav__links a:hover { color: var(--purple); }
.nav__actions { display: flex; gap: 0.6rem; }
.nav .btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.nav--solid .btn--ghost { border-color: var(--line); color: var(--ink); }
.nav--solid .btn--ghost:hover, .nav .btn--ghost:hover { border-color: var(--purple); color: var(--purple); }

.nav.menu-open { color: var(--ink); }
.nav.menu-open .nav__mark { color: var(--teal); }

.nav__call {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav--solid .nav__call { background: rgba(7, 19, 18, 0.82); }
.nav__call:hover, .nav--solid .nav__call:hover { background: var(--purple); transform: translateY(-2px); }
.nav__call svg { width: 16px; height: 16px; fill: #fff; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 10px 4px;
  cursor: pointer;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobilemenu[hidden] { display: none; }
.mobilemenu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(250, 252, 252, 0.9);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  display: grid;
  place-items: center;
  text-align: center;
}
.mobilemenu nav { display: grid; gap: 1.4rem; }
.mobilemenu a:not(.btn) {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--ink);
}
.mobilemenu__cta { display: grid; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------------- chapters (film) ---------------- */
.chapter { position: relative; overflow: clip; background: #020808; }
.chapter__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chapter--band { height: min(88vh, 800px); }
.chapter__caption {
  position: absolute;
  inset: auto 0 clamp(2rem, 6vh, 4rem) 0;
  text-align: center;
  color: #fff;
  z-index: 2;
  padding-inline: 1.5rem;
}
.chapter__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-bottom: 0.5rem;
}
.chapter__line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

/* ---------------- hero ---------------- */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
}
.hero__media { position: absolute; inset: 0; }
.hero__content { text-shadow: 0 1px 16px rgba(2, 10, 10, 0.4); }
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(2, 10, 10, 0.55) 0%, rgba(2, 10, 10, 0.12) 65%),
    linear-gradient(to top, rgba(2, 10, 10, 0.78) 0%, rgba(2, 10, 10, 0.28) 45%, rgba(2, 10, 10, 0.34) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 clamp(1.25rem, 5vw, 4rem) clamp(4.5rem, 10vh, 7rem);
  max-width: 60rem;
}
.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 1.2rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.hero__title span {
  background: linear-gradient(92deg, #8fe6da 10%, #b6a6ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
  opacity: 0.88;
  margin-bottom: 2.2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }
.hero__award {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 500;
  opacity: 0.85;
}
.hero__award svg { width: 15px; height: 15px; fill: var(--gold); flex: none; }
.hero__scrollcue {
  position: absolute;
  bottom: 1.6rem;
  right: clamp(1.5rem, 4vw, 3rem);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}
.hero__scrollcue span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.75);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
}

/* ---------------- why ---------------- */
.why { background: var(--paper); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.why__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--teal-ghost);
  color: var(--teal);
  margin-bottom: 1.3rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.why__grid article:hover .why__icon {
  background: color-mix(in srgb, var(--purple) 12%, transparent);
  color: var(--purple);
  transform: translateY(-3px);
}
.why__icon svg { width: 30px; height: 30px; }
.why__grid h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.55rem; letter-spacing: -0.01em; }
.why__grid p { color: color-mix(in srgb, var(--ink) 68%, transparent); font-size: 1rem; }

/* ---------------- doctor ---------------- */
.doctor { background: var(--paper-warm); }
.doctor__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.doctor__media {
  border-radius: var(--radius);
  overflow: clip;
  box-shadow: 0 30px 60px -30px rgba(7, 19, 18, 0.35);
}
.doctor__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.doctor__facts { margin: 1.8rem 0 2rem; display: grid; gap: 0.9rem; }
.doctor__facts li {
  padding-left: 1.6rem;
  position: relative;
  color: color-mix(in srgb, var(--ink) 75%, transparent);
}
.doctor__facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.doctor__text .display { margin-bottom: 1.1rem; }

/* ---------------- services ---------------- */
.services { padding-top: var(--space); background: var(--paper); }
.services__head { margin-bottom: clamp(3rem, 7vw, 5.5rem); }

.feature { position: relative; }

/* flagship: full-bleed dark */
.feature--dark {
  min-height: 92vh;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: clip;
  background: #041412;
}
.feature--dark .feature__media { position: absolute; inset: 0; }
.feature--dark .feature__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.feature--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 12, 11, 0.85) 20%, rgba(2, 12, 11, 0.15) 70%);
}
.feature--dark .feature__body { position: relative; z-index: 2; max-width: 40rem; padding-block: var(--space); }
.feature--dark .display { margin-bottom: 1.3rem; }
.feature__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; }
.feature--dark .textlink { color: var(--teal-glow); }
.feature--dark .textlink:hover { color: #c4b8ff; }

/* split editorial */
.feature--split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 2.5rem);
}
.feature--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature--flip .feature__media { order: 2; }
.feature--split .feature__media {
  border-radius: var(--radius);
  overflow: clip;
  box-shadow: 0 30px 60px -30px rgba(7, 19, 18, 0.3);
}
.feature--split .feature__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.feature--split:hover .feature__media img { transform: scale(1.035); }
.feature--split h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.feature--split p {
  color: color-mix(in srgb, var(--ink) 70%, transparent);
  max-width: 30em;
  margin-bottom: 1.6rem;
}

.services__more {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.services__morehead {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 50%, transparent);
  margin-bottom: 1.5rem;
}
.services__more ul { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.services__more li {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--ink) 80%, transparent);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.services__more li:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

/* ---------------- tech ---------------- */
.tech { background: var(--ink); color: #f2f7f6; }
.tech .kicker { color: var(--teal-glow); }
.tech__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.tech__grid article {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}
.tech__grid article:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--purple) 55%, transparent);
}
.tech__grid h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.6rem; color: #fff; }
.tech__grid p { font-size: 0.98rem; color: rgba(242, 247, 246, 0.66); }

/* ---------------- flow ---------------- */
.flow { background: var(--paper); }
.flow__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  counter-reset: step;
}
.flow__steps li { border-top: 2px solid var(--teal-ghost); padding-top: 1.6rem; position: relative; }
.flow__steps span {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--teal);
  letter-spacing: 0.08em;
}
.flow__steps h3 { font-size: 1.2rem; font-weight: 600; margin: 0.7rem 0 0.5rem; }
.flow__steps p { font-size: 1rem; color: color-mix(in srgb, var(--ink) 68%, transparent); }

/* ---------------- voices ---------------- */
.voices { background: var(--paper-warm); text-align: center; }
.voices__stars { display: flex; justify-content: center; gap: 0.35rem; margin-bottom: 2rem; }
.voices__stars svg { width: 22px; height: 22px; fill: var(--gold); }
.voices__quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 24em;
  margin-inline: auto;
  text-wrap: balance;
}
.voices__attr { margin-top: 1.8rem; font-weight: 600; font-size: 0.95rem; }
.voices__meta { margin-top: 0.4rem; font-size: 0.85rem; color: color-mix(in srgb, var(--ink) 55%, transparent); }

/* ---------------- eyewear ---------------- */
.eyewear { background: var(--paper); }
.eyewear__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.eyewear__media { border-radius: var(--radius); overflow: clip; box-shadow: 0 30px 60px -30px rgba(7, 19, 18, 0.3); }
.eyewear__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.eyewear__grid:hover .eyewear__media img { transform: scale(1.035); }
.eyewear__text .display { margin-bottom: 1.2rem; }
.eyewear__text .textlink { margin-top: 1.6rem; }

/* ---------------- insurance ---------------- */
.insurance { background: var(--paper-warm); text-align: center; }
.insurance h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: -0.015em;
  margin-bottom: 2.4rem;
}
.insurance__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  max-width: 52rem;
  margin-inline: auto;
}
.insurance__list li {
  padding: 0.6rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--ink) 75%, transparent);
}
.insurance__note { margin-top: 2rem; font-size: 0.95rem; color: color-mix(in srgb, var(--ink) 60%, transparent); }

/* ---------------- visit ---------------- */
.visit { background: var(--paper); }
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.visit__media { border-radius: var(--radius); overflow: clip; box-shadow: 0 30px 60px -30px rgba(7, 19, 18, 0.3); }
.visit__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.visit__block { margin-top: 1.6rem; font-size: 1.1rem; line-height: 1.55; }
.visit__hours span { color: color-mix(in srgb, var(--ink) 55%, transparent); font-size: 0.95rem; }
.visit .btn { margin-top: 2rem; }

/* ---------------- final ---------------- */
.chapter--final {
  min-height: 96vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}
.chapter__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(2, 10, 10, 0.25) 0%, rgba(2, 10, 10, 0.62) 100%);
}
.final__content { position: relative; z-index: 2; padding: var(--space) 1.5rem; }
.final__content .display { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 2.4rem; }
.final__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.final__note { margin-top: 1.8rem; font-size: 0.9rem; opacity: 0.75; }

/* ---------------- footer ---------------- */
.footer { background: var(--ink); color: rgba(242, 247, 246, 0.72); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand { display: grid; gap: 0.7rem; justify-items: start; }
.footer__brand .nav__mark { color: var(--teal-glow); width: 30px; height: 30px; }
.footer__brand span { font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.footer__brand p { font-size: 0.92rem; }
.footer nav { display: grid; gap: 0.8rem; align-content: start; font-size: 0.95rem; }
.footer nav a:hover, .footer__contact a:hover { color: var(--teal-glow); }
.footer__contact { display: grid; gap: 0.8rem; align-content: start; font-size: 0.95rem; }
.footer__contact a { font-weight: 600; color: #fff; }
.footer__legal { text-align: center; padding-top: 2rem; font-size: 0.8rem; opacity: 0.5; }
.footer .wrap { padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* ---------------- nav dropdown ---------------- */
.nav__links .has-menu { position: relative; }
.nav__links .has-menu > a::after {
  content: "";
  display: inline-block;
  margin-left: 0.35em;
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
}
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  padding: 0.6rem;
  border-radius: 18px;
  background: rgba(250, 252, 252, 0.96);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 24px 60px -18px rgba(7, 19, 18, 0.28), 0 0 0 1px var(--line);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  color: var(--ink) !important;
  font-size: 0.9rem;
  opacity: 1 !important;
}
.dropdown a:hover { background: var(--teal-ghost); color: var(--teal) !important; }

/* ---------------- brand logo image ---------------- */
.nav__logo { height: 44px; width: auto; display: block; transition: filter 0.5s var(--ease); }
.nav:not(.nav--solid):not(.menu-open) .nav__logo { filter: brightness(0) invert(1); }

/* ---------------- page hero (subpages) ---------------- */
.pagehero {
  position: relative;
  padding: clamp(9rem, 20vh, 13rem) 0 clamp(3.5rem, 8vh, 6rem);
  background:
    radial-gradient(90rem 40rem at 80% -20%, color-mix(in srgb, var(--teal-bright) 14%, transparent), transparent 60%),
    radial-gradient(60rem 30rem at 10% 10%, color-mix(in srgb, var(--purple) 7%, transparent), transparent 60%),
    var(--ink);
  color: #fff;
}
.pagehero .kicker { color: var(--teal-glow); }
.pagehero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  text-wrap: balance;
}
.pagehero .lede { color: rgba(255, 255, 255, 0.88); }
.pagehero .wrap { text-shadow: 0 1px 14px rgba(2, 10, 10, 0.35); }
.pagehero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

/* ---------------- video / tour ---------------- */
.tour__frame {
  border-radius: var(--radius);
  overflow: clip;
  box-shadow: 0 40px 80px -35px rgba(7, 19, 18, 0.45);
  background: #000;
}
.tour__frame video { width: 100%; display: block; }
.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: clip;
  background: #041412;
  box-shadow: 0 30px 60px -30px rgba(7, 19, 18, 0.35);
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------- team ---------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.team-card { display: grid; gap: 1.1rem; align-content: start; }
.team-card figure {
  border-radius: var(--radius);
  overflow: clip;
  box-shadow: 0 30px 60px -30px rgba(7, 19, 18, 0.3);
}
.team-card img {
  width: 100%;
  aspect-ratio: 3 / 3.4;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.team-card:hover img { transform: scale(1.04); }
.team-card h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.team-card .role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 0.2rem;
}
.team-card p { font-size: 0.98rem; color: color-mix(in srgb, var(--ink) 70%, transparent); }

/* ---------------- testimonial marquee ---------------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.marquee + .marquee { margin-top: 1.2rem; }
.marquee__track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.quote-card {
  width: min(420px, 78vw);
  padding: 1.6rem 1.8rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px -22px rgba(7, 19, 18, 0.25);
  flex: none;
}
.quote-card .stars { display: flex; gap: 0.2rem; margin-bottom: 0.8rem; }
.quote-card .stars svg { width: 14px; height: 14px; fill: var(--gold); }
.quote-card p { font-size: 0.95rem; line-height: 1.55; color: color-mix(in srgb, var(--ink) 82%, transparent); }

/* ---------------- pricing ---------------- */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.price-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.price-panel h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 1.2rem; }
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.price-row:first-of-type { border-top: 0; }
.price-row strong { color: var(--teal); font-weight: 600; white-space: nowrap; }
.price-panel--featured {
  background: linear-gradient(165deg, var(--teal-ghost), #fff 55%);
  border: 1.5px solid color-mix(in srgb, var(--teal-bright) 45%, transparent);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--teal) 40%, transparent);
}
.price-panel--featured h3 { color: var(--teal); }
.price-panel ul { display: grid; gap: 0.55rem; margin: 1rem 0 1.2rem; }
.price-panel ul li { padding-left: 1.5rem; position: relative; font-size: 0.95rem; }
.price-panel ul li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.price-note { font-size: 0.85rem; color: color-mix(in srgb, var(--ink) 55%, transparent); margin-top: 1rem; }
.pkg-row { display: grid; gap: 1rem; margin-top: 1.5rem; }
.pkg-row article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.pkg-row h4 { font-size: 1rem; font-weight: 600; }
.pkg-row span { color: color-mix(in srgb, var(--ink) 62%, transparent); }

/* ---------------- form cards ---------------- */
.formcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.formcard {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.formcard:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--purple) 45%, transparent);
  box-shadow: 0 24px 50px -28px rgba(7, 19, 18, 0.3);
}
.formcard h3 { font-size: 1.15rem; font-weight: 600; }
.formcard p { font-size: 0.95rem; color: color-mix(in srgb, var(--ink) 68%, transparent); }
.formcard .textlink { margin-top: 0.4rem; }

/* ---------------- checklist ---------------- */
.checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.checklist article {
  padding: 1.5rem 1.6rem;
  border-radius: 20px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
}
.checklist h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.4rem; }
.checklist p { font-size: 0.92rem; color: color-mix(in srgb, var(--ink) 66%, transparent); }

/* ---------------- guide band ---------------- */
.guide { background: var(--ink); color: #f2f7f6; }
.guide .kicker { color: var(--teal-glow); }
.guide__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.guide ul { display: grid; gap: 0.7rem; margin: 1.5rem 0 2rem; }
.guide ul li { padding-left: 1.7rem; position: relative; color: rgba(242, 247, 246, 0.8); }
.guide ul li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-glow); font-weight: 700; }
.guide__note { font-size: 0.85rem; opacity: 0.6; margin-top: 1rem; }

/* ---------------- quiz band ---------------- */
.quizband {
  background:
    radial-gradient(70rem 30rem at 85% 120%, color-mix(in srgb, var(--purple) 16%, transparent), transparent 65%),
    radial-gradient(80rem 36rem at 10% -30%, color-mix(in srgb, var(--teal-bright) 22%, transparent), transparent 60%),
    var(--ink);
  color: #fff;
  text-align: center;
}
.quizband .display { margin-bottom: 1rem; }
.quizband .lede { margin-inline: auto; color: rgba(255, 255, 255, 0.78); }
.quizband .btn { margin-top: 2.2rem; }
.quizband .fine { margin-top: 1.1rem; font-size: 0.85rem; opacity: 0.6; }

/* ---------------- service landing pages ---------------- */
.pagehero--img { position: relative; overflow: clip; min-height: 72vh; display: grid; align-items: end; padding-bottom: clamp(3rem, 8vh, 5.5rem); }
.pagehero--img .pagehero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroDrift 22s var(--ease) infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.0); } to { transform: scale(1.07); } }
.pagehero--img::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 15, 14, 0.72) 10%, rgba(4, 15, 14, 0.18) 70%),
    linear-gradient(to top, rgba(4, 15, 14, 0.82), rgba(4, 15, 14, 0.15) 55%, rgba(4, 15, 14, 0.3));
}
.pagehero--img .wrap { position: relative; z-index: 2; }
.pagehero__trust {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  margin-top: 2.2rem;
  font-size: 0.84rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.pagehero__trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.pagehero__trust svg { width: 14px; height: 14px; fill: var(--gold); flex: none; }

/* sticky book bar */
.stickycta {
  position: fixed;
  left: 50%; bottom: 1rem;
  transform: translate(-50%, 140%);
  z-index: 80;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(7, 19, 18, 0.88);
  color: #fff;
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 18px 50px -12px rgba(7, 19, 18, 0.55);
  transition: transform 0.5s var(--ease);
  white-space: nowrap;
}
.stickycta.show { transform: translate(-50%, 0); }
.stickycta p { font-size: 0.88rem; font-weight: 500; margin-right: 0.4rem; }
.stickycta .btn--sm { padding: 0.7rem 1.3rem; }
.stickycta__call {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.3s var(--ease);
}
.stickycta__call:hover { background: var(--purple); }
.stickycta__call svg { width: 18px; height: 18px; fill: #fff; }
@media (max-width: 640px) {
  .stickycta { width: calc(100% - 1.6rem); justify-content: space-between; }
  .stickycta p { display: none; }
  .stickycta .btn--sm { flex: 1; }
}

/* FAQ accordion */
.faq { display: grid; gap: 0.8rem; margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 52rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: clip;
  transition: border-color 0.3s var(--ease);
}
.faq details[open] { border-color: color-mix(in srgb, var(--teal-bright) 55%, transparent); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 600; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem; font-weight: 300;
  color: var(--teal);
  transition: transform 0.3s var(--ease);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--purple); }
.faq details p { padding: 0 1.4rem 1.3rem; font-size: 0.96rem; color: color-mix(in srgb, var(--ink) 70%, transparent); max-width: 46rem; }

/* related services */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.related a {
  display: grid; gap: 0.5rem; align-content: start;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.related a:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--purple) 45%, transparent);
  box-shadow: 0 24px 50px -28px rgba(7, 19, 18, 0.3);
}
.related h3 { font-size: 1.05rem; font-weight: 600; }
.related p { font-size: 0.9rem; color: color-mix(in srgb, var(--ink) 64%, transparent); }
.related span { font-size: 0.88rem; font-weight: 600; color: var(--teal); }

/* mini insurance strip */
.insurance--mini { padding-block: clamp(3rem, 6vw, 4.5rem); }
.insurance--mini h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* number stat chips */
.stats { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.stats div {
  padding: 1.1rem 1.6rem;
  border-radius: 18px;
  background: var(--teal-ghost);
  min-width: 10rem;
}
.stats strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--teal-deep); }
.stats span { font-size: 0.85rem; color: color-mix(in srgb, var(--ink) 65%, transparent); }
@media (max-width: 860px) {
  .related { grid-template-columns: 1fr; }
  .pagehero--img { min-height: 62vh; }
}

/* ---------------- premium video player ---------------- */
.vplayer {
  position: relative;
  border-radius: var(--radius);
  overflow: clip;
  background: #041412;
  box-shadow: 0 40px 80px -35px rgba(7, 19, 18, 0.45);
  cursor: pointer;
}
.vplayer img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.vplayer:hover img { transform: scale(1.03); }
.vplayer::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2, 10, 10, 0.55), rgba(2, 10, 10, 0.05) 55%);
  pointer-events: none;
}
.vplayer__btn {
  position: absolute; z-index: 2;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.vplayer:hover .vplayer__btn { transform: translate(-50%, -50%) scale(1.08); background: color-mix(in srgb, var(--teal) 75%, transparent); }
.vplayer__btn svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.vplayer__meta {
  position: absolute; z-index: 2;
  left: 1.2rem; bottom: 1rem; right: 1.2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  color: #fff;
  pointer-events: none;
}
.vplayer__title { font-size: 0.9rem; font-weight: 600; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.vplayer__dur {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  flex: none;
}
.vplayer video { width: 100%; display: block; aspect-ratio: 16 / 9; }

/* ---------------- eyewear carousel ---------------- */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: clip;
  box-shadow: 0 30px 60px -30px rgba(7, 19, 18, 0.35);
  aspect-ratio: 4 / 3;
  background: #0a1a18;
}
.carousel__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.carousel__slide.on { opacity: 1; }
.carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 6s linear;
}
.carousel__slide.on img { transform: scale(1.0); }
.carousel__cap {
  position: absolute;
  left: 1.4rem; right: 1.4rem; bottom: 2.4rem;
  color: #fff;
  font-size: 0.92rem; font-weight: 600;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.carousel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2, 10, 10, 0.55), transparent 45%);
  pointer-events: none;
}
.carousel__dots {
  position: absolute; z-index: 3;
  bottom: 1rem; left: 1.4rem;
  display: flex; gap: 6px;
}
.carousel__dots button {
  width: 22px; height: 4px;
  border: 0; border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.carousel__dots button.on { background: #fff; }

/* ---------------- clean carousel (no scrim/captions) ---------------- */
.carousel--clean::after { display: none; }
.carousel--clean .carousel__dots { left: 50%; transform: translateX(-50%); }

/* single measurement hero figure */
.measurefig {
  position: relative;
  border-radius: var(--radius);
  overflow: clip;
  box-shadow: 0 30px 60px -30px rgba(7, 19, 18, 0.35);
  aspect-ratio: 4 / 3;
  background: #0a1a18;
}
.measurefig img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 8s var(--ease); }
.measurefig.in img { transform: scale(1.0); }

/* animated measurement overlay — plays when scrolled into view */
.measure {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 2;
}
.measure svg { width: 100%; height: 100%; }
.m-box, .m-cross, .m-dot, .m-line, .m-chip { opacity: 0; }
.m-box { fill: none; stroke: rgba(126, 222, 226, 0.9); stroke-width: 1.6; stroke-dasharray: 8 7; }
.m-cross { stroke: rgba(126, 222, 226, 0.9); stroke-width: 1.6; }
.m-dot { fill: #7edee2; transform-origin: center; transform-box: fill-box; }
.m-line { stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.2; stroke-dasharray: 3 6; }
.m-chip rect { fill: rgba(20, 34, 33, 0.42); stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; }
.m-chip--glass rect { fill: rgba(255, 255, 255, 0.14); }
.m-chip text {
  fill: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.m-chip tspan.v { fill: #7edee2; }
.measurefig.in .m-box { animation: mFade 1.2s var(--ease) 0.3s forwards; }
.measurefig.in .m-cross { animation: mFade 1s var(--ease) 0.6s forwards; }
.measurefig.in .m-dot { animation: mFade 0.8s var(--ease) 0.8s forwards, mPulse 3s var(--ease) 1.8s infinite; }
.measurefig.in .m-line { animation: mFade 1.2s var(--ease) 1s forwards; }
.measurefig.in .m-chip { animation: mFade 0.9s var(--ease) 1.3s forwards; }
@keyframes mFade { to { opacity: 1; } }
@keyframes mPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) {
  .m-box, .m-cross, .m-dot, .m-line, .m-chip { animation: none !important; opacity: 1; }
}

/* story steps */
.storysteps {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  margin-top: 1.4rem;
  font-size: 0.82rem; font-weight: 600;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}
.storysteps span { display: inline-flex; align-items: center; gap: 0.5rem; }
.storysteps span::after { content: "→"; color: var(--teal-bright); font-weight: 400; }
.storysteps span:last-child::after { content: ""; }

/* ---------------- mega dropdown ---------------- */
.dropdown--mega {
  min-width: 720px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem 1.2rem;
  padding: 1.1rem 1.2rem;
}
.has-menu:hover .dropdown--mega, .has-menu:focus-within .dropdown--mega { display: grid; }
.dropdown--mega .dd-group { display: grid; gap: 0.15rem; align-content: start; }
.dropdown--mega h4 {
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal);
  padding: 0.45rem 0.9rem 0.25rem;
}
.dropdown--mega a { padding: 0.42rem 0.9rem; font-size: 0.86rem; }
@media (max-width: 1200px) {
  .dropdown--mega { min-width: 560px; grid-template-columns: repeat(2, 1fr); }
}

/* ---------------- legal page ---------------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.05rem; font-weight: 700; margin: 2rem 0 0.6rem; }
.legal p { font-size: 0.95rem; color: color-mix(in srgb, var(--ink) 74%, transparent); line-height: 1.7; margin-bottom: 0.9rem; }
.legal ul { margin: 0.4rem 0 1rem 1.2rem; list-style: disc; }
.legal li { font-size: 0.95rem; color: color-mix(in srgb, var(--ink) 74%, transparent); line-height: 1.65; margin-bottom: 0.35rem; }

/* ---------------- hero shop links ---------------- */
.hero__shops {
  display: flex; gap: 1.6rem; flex-wrap: wrap;
  margin: -1.2rem 0 2rem;
  font-size: 0.88rem; font-weight: 600;
}
.hero__shops a { color: rgba(255, 255, 255, 0.82); display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.25s; }
.hero__shops a:hover { color: var(--teal-glow); }
.hero__shops svg { width: 14px; height: 14px; stroke: currentColor; }

/* ---------------- reveal motion ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scrollcue span { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------------- responsive ---------------- */
.br-d { display: none; }
@media (min-width: 861px) { .br-d { display: inline; } }

@media (max-width: 1024px) {
  .nav__links { display: none; }
}
@media (max-width: 860px) {
  .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .why__grid, .flow__steps { grid-template-columns: 1fr; }
  .doctor__grid, .eyewear__grid, .visit__grid,
  .feature--split, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .eyewear__media { order: -1; }
  .tech__grid { grid-template-columns: 1fr; }
  .team-grid, .checklist { grid-template-columns: 1fr; }
  .pricing__grid, .formcards, .guide__grid { grid-template-columns: 1fr; }
  .quote-card { width: min(340px, 84vw); }
  .team-card img { aspect-ratio: 4 / 4.2; }
  .footer__grid { grid-template-columns: 1fr; }
  .chapter--band { height: 62vh; }
  .hero__cta .btn { flex: 1 1 100%; }
  .final__cta { flex-direction: column; align-items: stretch; }
  .doctor__media img { aspect-ratio: 4 / 4.4; }
}


/* ══ Articles & legal pages ══ */
.article { max-width: 46rem; margin: 0 auto; }
.article p { font-size: 1.05rem; line-height: 1.85; color: color-mix(in srgb, var(--ink) 84%, transparent); margin-bottom: 1.4rem; }
.article a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.article a.textlink { text-decoration: none; }
.article h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; letter-spacing: -0.01em; margin: 2.4rem 0 0.9rem; }
.article-list { list-style: none; counter-reset: art; display: grid; gap: 0.9rem; margin: 0.4rem 0 2rem; padding: 0; }
.article-list li { counter-increment: art; position: relative; padding: 1.25rem 1.5rem 1.25rem 4.4rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-size: 0.98rem; line-height: 1.7; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.article-list li::before { content: counter(art); position: absolute; left: 1.35rem; top: 1.3rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; background: var(--teal-ghost); color: var(--teal); font-weight: 600; font-size: 0.92rem; border-radius: 50%; }
.article-list strong { display: block; margin-bottom: 0.25rem; font-weight: 600; color: var(--ink); }
.article-plain { margin: 0 0 1.4rem 1.2rem; display: grid; gap: 0.5rem; }
.article-plain li { font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--ink) 80%, transparent); }


/* ══ Mobile menu: Our Services accordion ══ */
.mobilemenu { display: block; overflow-y: auto; }
.mobilemenu nav {
  min-height: 100%;
  align-content: center;
  justify-items: center;
  padding: 6rem 1.5rem 3rem;
  box-sizing: border-box;
}
.mm-svc summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  -webkit-tap-highlight-color: transparent;
}
.mm-svc summary::-webkit-details-marker { display: none; }
.mm-svc summary::after {
  content: "›";
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--teal);
  transform: rotate(90deg) translateX(2px);
  transition: transform 0.3s var(--ease);
}
.mm-svc[open] summary::after { transform: rotate(-90deg) translateX(-2px); }
.mm-svc__groups {
  display: grid;
  gap: 1.25rem;
  padding: 1.3rem 0 0.4rem;
}
.mm-svc__group { display: grid; gap: 0.5rem; }
.mm-svc__group h5 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.1rem;
}
.mobilemenu .mm-svc__group a:not(.btn) {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
}
