/* ==========================================================================
   Harborside Eye Specialists | Lead gen landing page
   Photo-led and high contrast: a photo hero, then sections that alternate
   white, light blue, dark ink, brand blue, sand and navy so each band reads
   clearly as you scroll. Brand colors come from the logo.
   Type: Atkinson Hyperlegible Next, designed by the Braille Institute
   for low vision readers. Sizes in rem so the text-size control scales all.
   ========================================================================== */

:root {
  --ink: #0f1a3a;
  --navy: #1d2a62;
  --navy-deep: #111a44;
  --night: #070b18;
  --blue: #1a6db0;
  --blue-dark: #12578f;
  --blue-light: #7cc0ef;
  --blue-50: #edf4fb;
  --tint: #e2edf9;
  --soft: #f5f8fc;
  --sand: #f7f0e3;
  --white: #ffffff;
  --line: #d6e0ec;
  --muted: #44506b;
  --gold: #f2b33d;
  --gold-dark: #d99a1f;
  --ok: #1f7a4d;
  --error: #b3261e;
  --focus: #1a6db0;
  --on-dark: #ffffff;
  --on-dark-muted: #d3dcf2;

  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, "Segoe UI", sans-serif;

  --radius: 1rem;
  --radius-sm: 0.625rem;
  --shadow: 0 1px 2px rgba(15, 26, 58, 0.06), 0 12px 32px -12px rgba(15, 26, 58, 0.22);
  --shadow-lg: 0 1px 2px rgba(15, 26, 58, 0.08), 0 28px 56px -18px rgba(15, 26, 58, 0.35);
  --wrap: 72rem;
  --header-h: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font); color: var(--navy); margin: 0 0 0.5em; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 999; background: var(--navy); color: #fff; padding: 0.75rem 1rem; border-radius: 0.5rem; font-weight: 700; }
.skip-link:focus { top: 1rem; color: #fff; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

.kicker { font-size: 0.875rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem; }
.kicker--light { color: var(--gold); }
.fine { font-size: 0.9375rem; color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.1875rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.25rem; padding: 0.75rem 1.5rem;
  font: 700 1.0625rem/1.2 var(--font);
  border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(26, 109, 176, 0.85); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-50); color: var(--navy); }
.btn--glass { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #ffc85c; color: var(--navy-deep); }
.btn--sm { min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 1rem; }
.btn--lg { min-height: 3.5rem; padding: 0.85rem 1.75rem; font-size: 1.125rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.7; cursor: wait; }

/* White plate so the navy Rays mark reads on dark backgrounds */
.logo-chip { display: inline-grid; place-items: center; flex: none; background: #fff; border-radius: 0.6rem; padding: 0.35rem 0.6rem; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5); }
.logo-chip img { width: auto; height: 2.1rem; }
.logo-chip--lg { padding: 0.6rem 0.9rem; margin-bottom: 1.25rem; }
.logo-chip--lg img { height: 3.5rem; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid transparent; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 16px -8px rgba(15, 26, 58, 0.18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { flex: 0 1 auto; min-width: 0; }
.brand img { width: clamp(12.5rem, 9rem + 9vw, 16.5rem); max-width: 100%; }
.header__cta { display: flex; align-items: center; gap: 1rem; }
.header__phone { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--navy); font-weight: 700; font-size: 1.125rem; text-decoration: none; }
.header__phone:hover { color: var(--blue); }
.header__phone .ico { width: 1.25rem; height: 1.25rem; color: var(--blue); }
@media (max-width: 47.99rem) {
  :root { --header-h: 4.5rem; }
  .header__phone span, .header .btn { display: none; }
  .header__phone { width: 2.75rem; height: 2.75rem; justify-content: center; border-radius: 50%; background: var(--blue); }
  .header__phone .ico { color: #fff; }
  .header__cta { gap: 0.5rem; }
}

/* ---------- Hero (photo) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: #fff; padding: clamp(3rem, 2rem + 5vw, 6.5rem) 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 70% 60%; }
/* Navy wash: strong behind the copy, clear over the couple on the right */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(13, 22, 58, 0.92) 0%, rgba(13, 22, 58, 0.8) 38%, rgba(13, 22, 58, 0.25) 66%, rgba(13, 22, 58, 0.05) 100%),
  linear-gradient(0deg, rgba(10, 16, 44, 0.85) 0%, rgba(10, 16, 44, 0) 32%); }
.hero__inner { position: relative; }
.hero__copy { max-width: 37rem; }
.tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 0.35rem 0.95rem; margin-bottom: 1.25rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tag::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); flex: none; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.accent { display: block; color: var(--blue-light); }
.hero .accent { color: #8fd0ff; }
.hero__sub { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); color: #e8eefc; max-width: 34rem; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.9rem 1.75rem; }
.hero__proof li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9375rem; font-weight: 700; line-height: 1.3; color: #fff; max-width: 17rem; }
.hero__proof-ico { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--gold); color: var(--navy-deep); flex: none; }
.hero__proof-ico .ico { width: 1.4rem; height: 1.4rem; }

/* Hero strip: three stats on frosted glass */
.hero__strip { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 0; background: rgba(9, 15, 42, 0.55); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 1.25rem 1rem; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.stat dd { margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 800; color: var(--gold); line-height: 1.05; letter-spacing: -0.02em; }
.stat dt { font-size: 0.875rem; color: #e3e9f8; line-height: 1.35; margin-top: 0.35rem; }

@media (max-width: 47.99rem) {
  .hero { padding-top: 15rem; }
  .hero__media img { object-position: center top; height: 26rem; }
  .hero::before { background: linear-gradient(180deg, rgba(13, 22, 58, 0) 0, rgba(13, 22, 58, 0.15) 9rem, rgba(13, 22, 58, 0.92) 15.5rem, var(--navy-deep) 22rem); }
  .tag { font-size: 0.8125rem; padding: 0.3rem 0.8rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__proof li { max-width: none; }
  .stat { padding: 1rem 0.4rem; }
  .stat dt { font-size: 0.75rem; }
}

/* ---------- Booking ---------- */
.book { background: var(--tint); }
.book__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 62rem) { .book__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 4rem; align-items: center; } }
/* On phones the form comes first, so visitors can act right away */
@media (max-width: 61.99rem) { .book__form { order: -1; } }
.book__lead { color: var(--muted); font-size: 1.1875rem; }
.checks { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 700; line-height: 1.45; color: var(--navy); }
.checks .ico { width: 1.6rem; height: 1.6rem; padding: 0.3rem; margin-top: -0.05rem; border-radius: 50%; background: var(--blue); color: #fff; }
.book__docs { display: flex; align-items: center; gap: 0.9rem; padding-top: 1.5rem; border-top: 1px solid #c4d5ea; }
.book__docs p { margin: 0; font-size: 1rem; color: var(--muted); line-height: 1.45; }
.book__docs strong { color: var(--navy); }
.avatars { display: flex; flex: none; }
.avatars img { width: 3.75rem; height: 3.75rem; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(15, 26, 58, 0.18); }
.avatars img + img { margin-left: -0.9rem; }

/* ---------- Lead form ---------- */
.lead-form { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-top: 6px solid var(--gold); }
.lead-form__title { font-size: 1.65rem; margin-bottom: 0.25rem; }
.lead-form__intro { color: var(--muted); font-size: 1rem; margin-bottom: 1.4rem; }
.field { margin: 0 0 1.1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 36rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 3.25rem; padding: 0.7rem 0.9rem;
  font: 400 1.125rem var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid #b9c7da; border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231d2a62' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; text-overflow: ellipsis; }
.field input:hover, .field select:hover { border-color: #8fa3bd; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 109, 176, 0.2); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: 0.875rem; color: var(--muted); line-height: 1.45; margin: 0.45rem 0 0; }
.consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9375rem; color: var(--muted); margin: 0.25rem 0 1.25rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 1.3rem; height: 1.3rem; margin: 0.1rem 0 0; flex: none; accent-color: var(--blue); }
.lead-form__note { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.875rem; color: var(--muted); margin: 0.9rem 0 0; }
.form-error { color: var(--error); font-size: 0.9375rem; font-weight: 600; margin: 0.35rem 0 0; }
.consent + .form-error { margin: -0.9rem 0 1rem; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0; }
.section--tint { background: var(--tint); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; }
.section--ink { background: var(--night); color: var(--on-dark); }
.section--blue h2, .section--ink h2, .section--navy h2 { color: #fff; }
.section--blue :focus-visible, .section--ink :focus-visible, .section--navy :focus-visible { outline-color: var(--gold); }
.section-head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 2rem + 1.5vw, 3.5rem); text-align: center; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.1875rem; margin: 0; }
.section-head--left { margin-left: 0; text-align: left; }
.center-cta { text-align: center; margin-top: 2.5rem; }
.center-cta p { color: var(--muted); font-weight: 600; }

/* Split: photo + copy */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 62rem) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.split__media { margin: 0; }
.split__frame { position: relative; isolation: isolate; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.25rem; box-shadow: var(--shadow-lg); }
.split__media--natural img { aspect-ratio: auto; }
.split__media figcaption { margin-top: 1.75rem; font-size: 0.9375rem; font-weight: 600; color: var(--muted); }
.split__frame::after { content: ""; position: absolute; z-index: -1; left: -1rem; bottom: -1rem; width: 60%; height: 60%; border-radius: 1.25rem; background: var(--gold); }
.ticks { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.ticks li { position: relative; padding-left: 2.4rem; color: var(--muted); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231a6db0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat; }
.ticks strong { color: var(--navy); }

/* Premium lenses (dark, with iris art) */
.lenses { overflow: hidden; isolation: isolate; }
.lenses__art { position: absolute; z-index: -1; right: -14rem; top: 50%; width: 62rem; max-width: none; transform: translateY(-50%); opacity: 0.85; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); }
@media (max-width: 61.99rem) { .lenses__art { right: -22rem; top: 2rem; width: 34rem; transform: none; opacity: 0.35; } }
.lenses .section-head { max-width: 38rem; }
.lenses .section-head p:not(.kicker) { color: var(--on-dark-muted); }
.lens-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 56rem) { .lens-cards { grid-template-columns: repeat(3, 1fr); } }
.lens-card { position: relative; padding: 2rem 1.75rem 1.75rem; border-radius: var(--radius); background: rgba(14, 22, 52, 0.78); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lens-card--premium { border-color: rgba(242, 179, 61, 0.65); box-shadow: inset 0 0 0 1px rgba(242, 179, 61, 0.25); }
.lens-card h3 { color: #fff; }
.lens-card p { color: var(--on-dark-muted); margin: 0; }
.lens-card__tag { position: absolute; top: -0.8rem; left: 1.5rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 999px; background: #fff; color: var(--navy); }
.lens-card--premium .lens-card__tag { background: var(--gold); color: var(--navy-deep); }
.icon--dark { background: rgba(255, 255, 255, 0.1); color: #8fd0ff; }
.lenses__foot { display: grid; gap: 1.5rem; align-items: center; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
@media (min-width: 56rem) { .lenses__foot { grid-template-columns: 1fr auto; gap: 3rem; } }
.lenses__fine { margin: 0; font-size: 0.9375rem; color: var(--on-dark-muted); max-width: 46rem; }

/* Cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .cards--3, .cards--svc { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 40rem) and (max-width: 47.99rem) { .cards--svc { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.card--raised { border-color: transparent; box-shadow: var(--shadow); }
@media (hover: hover) { .cards--svc .card:hover { border-color: #b7cde6; box-shadow: var(--shadow); transform: translateY(-2px); } }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); margin: 0; }
.card--compact { padding: 1.5rem; }
.card--compact p { font-size: 1rem; }
.icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 0.875rem; background: var(--tint); color: var(--blue); margin-bottom: 1.1rem; }
.icon svg { width: 1.75rem; height: 1.75rem; }
.section--tint .icon { background: var(--blue); color: #fff; }

/* Self-check (brand blue) */
.selfcheck { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 62rem) { .selfcheck { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; } }
.selfcheck__intro > p:not(.kicker):not(.fine) { color: #e6effb; font-size: 1.1875rem; }
.section--blue .fine { color: #d6e5f6; }
.checklist { border: 0; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 40rem) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist label { display: flex; align-items: center; gap: 0.8rem; min-height: 3.75rem; padding: 0.75rem 1rem; background: var(--white); color: var(--ink); border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer; font-weight: 700; line-height: 1.35; box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.45); transition: border-color 0.15s ease, background-color 0.15s ease; }
.checklist label:hover { border-color: var(--gold); }
.checklist input { width: 1.35rem; height: 1.35rem; flex: none; margin: 0; accent-color: var(--blue); cursor: pointer; }
.checklist label:has(input:checked) { border-color: var(--gold); background: #fff8e8; }
.selfcheck__result { margin-top: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm); background: var(--navy-deep); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.selfcheck__result p { margin: 0; font-weight: 600; flex: 1 1 16rem; }
.selfcheck__result .btn--primary { background: var(--gold); color: var(--navy-deep); box-shadow: none; }
.selfcheck__result .btn--primary:hover { background: #ffc85c; color: var(--navy-deep); }

/* Doctors */
/* Two equal cards side by side. The photo is inset with padding so all four
   corners are rounded evenly (no edge clipped by the card). */
.docs { display: grid; gap: 1.5rem; max-width: 66rem; margin: 0 auto; }
@media (min-width: 56rem) { .docs { grid-template-columns: 1fr 1fr; gap: 2rem; } }
/* Both cards share one set of rows (photo, role, name, chips, bio, credentials),
   so every line and divider sits at the same height side by side. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 56rem) {
    .docs { grid-template-rows: repeat(6, auto); row-gap: 0; }
    .doc { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
    .doc__body { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-items: start; }
  }
}
.doc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 1.25rem; padding: 0.75rem; box-shadow: var(--shadow); }
.doc__media { position: relative; }
/* Anchored to the top: the source headshots are framed tightly, so any lower anchor crops the head */
.doc__photo { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; object-position: center top; border-radius: 0.875rem; background: var(--soft); }
.doc__badge { position: absolute; left: 0.75rem; bottom: 0.75rem; display: inline-flex; align-items: center; gap: 0.4rem; max-width: calc(100% - 1.5rem); padding: 0.4rem 0.8rem; border-radius: 999px; background: var(--navy-deep); color: #fff; font-size: 0.875rem; font-weight: 700; line-height: 1.25; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.6); }
.doc__badge .ico { color: var(--gold); }
@media (max-width: 30rem) { .doc__badge { font-size: 0.8125rem; padding: 0.35rem 0.7rem; left: 0.6rem; bottom: 0.6rem; } }
.doc__body { flex: 1; display: flex; flex-direction: column; padding: 1.5rem clamp(0.75rem, 0.5rem + 1vw, 1.25rem) 1rem; }
.doc__role { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.35rem; }
.doc h3 { font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.8rem); margin-bottom: 0.9rem; }
.chips { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { font-size: 0.875rem; font-weight: 700; color: var(--navy); background: var(--tint); border-radius: 999px; padding: 0.3rem 0.75rem; line-height: 1.3; }
.doc__bio { color: var(--muted); font-size: 1.0625rem; margin-bottom: 1.25rem; }
.creds { list-style: none; padding: 1.1rem 0 0; margin: 0; display: grid; gap: 0.55rem; font-size: 0.9375rem; border-top: 1px solid var(--line); }
.creds li { position: relative; padding-left: 1.6rem; line-height: 1.45; }
.creds li::before { content: ""; position: absolute; left: 0.3rem; top: 0.2rem; width: 0.4rem; height: 0.75rem; border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Awards (sand) */
.awards { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 60rem; }
@media (min-width: 48rem) { .awards { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.award { margin: 0; text-align: center; }
.award img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0.75rem; box-shadow: 0 18px 32px -18px rgba(60, 40, 10, 0.55); background: #222; }
.award p { margin: 0.85rem 0 0; font-size: 0.9375rem; color: var(--muted); line-height: 1.35; }
.award strong { display: block; font-size: 1.25rem; color: var(--navy); }

/* Rays (navy) */
.rays { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56rem) { .rays { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.rays__photo { margin: 0; }
.rays__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 6px solid rgba(255, 255, 255, 0.95); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6); }
.rays__photo figcaption { font-size: 0.9375rem; color: var(--on-dark-muted); text-align: center; margin-top: 0.75rem; }
.rays__copy > p { color: var(--on-dark-muted); font-size: 1.125rem; max-width: 38rem; }
.rays__punch { color: #fff !important; font-weight: 700; }

/* Reviews */
.review { margin: 0; display: flex; flex-direction: column; }
.review p { color: var(--ink); font-size: 1.125rem; line-height: 1.55; flex: 1; margin: 0.9rem 0 1.25rem; }
.review footer { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; color: var(--muted); line-height: 1.35; padding-top: 1rem; border-top: 1px solid var(--line); }
.review footer strong { color: var(--navy); }
.review__avatar { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; flex: none; }
.stars { display: flex; gap: 0.15rem; color: var(--gold); }
.stars svg { width: 1.3rem; height: 1.3rem; }
#reviews .fine { margin: 1.5rem 0 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.steps li { position: relative; text-align: center; max-width: 22rem; margin: 0 auto; }
@media (min-width: 48rem) { .steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.75rem; left: calc(50% + 2.5rem); width: calc(100% - 2.5rem); height: 3px; border-radius: 3px; background: #c9d8ea; } }
.steps__n { position: relative; z-index: 1; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 0 0 6px var(--tint); font-weight: 800; font-size: 1.35rem; }
.steps p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { display: grid; gap: 2.5rem; }
@media (min-width: 62rem) { .faq { grid-template-columns: 0.75fr 1.25fr; gap: 4rem; align-items: start; } .faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); } }
.faq__intro > p:not(.kicker) { color: var(--muted); }
.faq__list { background: var(--white); border-radius: var(--radius); padding: 0.25rem 1.5rem; box-shadow: var(--shadow); }
.faq__list details + details { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font-weight: 700; font-size: 1.125rem; color: var(--navy); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 1.5rem; height: 1.5rem; margin-top: -0.75rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231a6db0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; transition: transform 0.2s ease; }
.faq__list details[open] summary::after { transform: rotate(180deg); }
.faq__list summary:hover { color: var(--blue); }
.faq__list details p { color: var(--muted); margin: -0.25rem 0 1.25rem; }
.faq__list details[open] summary { color: var(--blue); }

/* Final CTA (photo) */
.final { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: #fff; padding: clamp(4.5rem, 3rem + 5vw, 7.5rem) 0; }
.final__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 18, 50, 0.9) 0%, rgba(11, 18, 50, 0.7) 55%, rgba(11, 18, 50, 0.45) 100%); }
.final__inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 62rem) { .final__inner { grid-template-columns: 1fr auto; gap: 3.5rem; } }
.final h2 { color: #fff; font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.2rem); }
.final__copy > p:not(.kicker) { color: #e3e9f8; font-size: 1.1875rem; max-width: 34rem; }
.final__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.info { display: grid; gap: 1.5rem; padding: 1.75rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (min-width: 36rem) { .info { grid-template-columns: auto auto; justify-content: start; column-gap: 2.5rem; } }
.info h3 { font-size: 1rem; display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.4rem; color: #fff; }
.info h3 .ico { color: var(--gold); }
.info p { color: #e3e9f8; font-size: 1rem; margin: 0; }
.info a { font-weight: 700; color: #fff; }
.final :focus-visible { outline-color: var(--gold); }

/* Footer */
.footer { background: var(--navy-deep); color: var(--on-dark-muted); padding: 2.75rem 0 7rem; font-size: 0.9375rem; text-align: center; }
@media (min-width: 62rem) { .footer { padding-bottom: 2.75rem; } }
.footer__logo { width: 12rem; margin: 0 auto 1.25rem; filter: brightness(0) invert(1); opacity: 0.92; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
.footer a { color: #fff; }
.footer :focus-visible { outline-color: var(--gold); }
.footer__fine { font-size: 0.8125rem; max-width: 48rem; margin: 1rem auto 0; opacity: 0.85; }

/* Mobile sticky action bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 2fr; gap: 0.6rem; padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(15, 26, 58, 0.25); transform: translateY(110%); transition: transform 0.25s ease; }
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.25rem; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; font-size: 1.0625rem; }
.mobile-bar__call { background: #fff; color: var(--navy); border: 2px solid var(--line); }
.mobile-bar__book { background: var(--blue); color: #fff; }
@media (min-width: 62rem) { .mobile-bar { display: none; } }

/* Cost and coverage: accepted plans panel (keep the plan list in sync with the form dropdown) */
.plans { margin-top: 1.5rem; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); text-align: center; }
.plans__title { margin-bottom: 1.25rem; }
.plans__groups { display: grid; gap: 1.5rem; text-align: left; margin-bottom: 1.25rem; }
@media (min-width: 48rem) { .plans__groups { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.plans__label { font-size: 0.875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.6rem; }
.plans .chips { margin: 0; }
.plans .chips li { background: var(--white); border: 1px solid var(--line); }
.plans__note { color: var(--muted); font-weight: 600; margin-bottom: 1.25rem; }
.hero__sub a { color: #fff; font-weight: 700; text-underline-offset: 0.2em; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(0.75rem); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2), .docs .reveal:nth-child(2), .lens-cards .reveal:nth-child(2), .awards .reveal:nth-child(2) { transition-delay: 0.06s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3), .lens-cards .reveal:nth-child(3), .awards .reveal:nth-child(3) { transition-delay: 0.12s; }
.awards .reveal:nth-child(4) { transition-delay: 0.18s; }

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

/* ==========================================================================
   Accessibility widget
   ========================================================================== */
.a11y-toggle {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 80;
  width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 0;
  background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow); transition: background-color 0.15s ease, bottom 0.25s ease;
}
.a11y-toggle:hover { background: var(--blue); }
.a11y-toggle svg { width: 1.75rem; height: 1.75rem; }
.a11y-panel {
  position: fixed; left: 1rem; bottom: 5rem; z-index: 81;
  width: min(22rem, calc(100vw - 2rem)); max-height: calc(100vh - 6.5rem); overflow: auto;
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 1.25rem;
}
.a11y-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.a11y-panel__head h2 { font-size: 1.125rem; margin: 0; letter-spacing: 0; }
.a11y-close { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: var(--soft); color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.a11y-size { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin-bottom: 1rem; }
.a11y-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.45rem; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.a11y-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; text-align: center;
  min-height: 4.5rem; padding: 0.6rem 0.4rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--navy); font: 700 0.875rem/1.2 var(--font); cursor: pointer;
}
.a11y-btn:hover { border-color: var(--blue); }
.a11y-btn svg { width: 1.5rem; height: 1.5rem; }
.a11y-size .a11y-btn { min-height: 2.9rem; flex-direction: row; }
.a11y-btn[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.a11y-reset { width: 100%; margin-top: 0.85rem; min-height: 2.75rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: 700 0.9375rem var(--font); cursor: pointer; }
.a11y-reset:hover { border-color: var(--navy); }
.a11y-note { font-size: 0.8125rem; color: var(--muted); margin: 0.75rem 0 0; }
.a11y-guide { position: fixed; left: 0; right: 0; height: 2.75rem; z-index: 70; pointer-events: none; background: rgba(242, 179, 61, 0.15); border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); display: none; transform: translateY(-50%); }
html.a11y-guide-on .a11y-guide { display: block; }

/* Text size */
html[data-text-size="1"] { font-size: 118%; }
html[data-text-size="2"] { font-size: 136%; }

/* High contrast */
html.a11y-contrast {
  --ink: #000; --navy: #000; --navy-deep: #000; --blue: #0040a0; --blue-dark: #002e75; --blue-light: #0040a0; --blue-50: #fff;
  --soft: #fff; --tint: #fff; --sand: #fff; --night: #000; --line: #000; --muted: #000; --gold: #ffd400; --on-dark-muted: #fff; --focus: #000;
}
/* Photos and washes are hidden so text sits on solid black */
html.a11y-contrast .hero__media, html.a11y-contrast .final__bg, html.a11y-contrast .lenses__art, html.a11y-contrast .hero::before, html.a11y-contrast .final::before { display: none; }
html.a11y-contrast .hero, html.a11y-contrast .final, html.a11y-contrast .section--navy, html.a11y-contrast .section--blue, html.a11y-contrast .section--ink { background: #000; }
html.a11y-contrast .hero__sub, html.a11y-contrast .hero .accent, html.a11y-contrast .stat dt, html.a11y-contrast .lens-card p, html.a11y-contrast .selfcheck__intro > p, html.a11y-contrast .final__copy > p, html.a11y-contrast .info p { color: #fff; }
html.a11y-contrast .lens-card, html.a11y-contrast .hero__strip, html.a11y-contrast .info { background: #000; border: 2px solid #fff; }
html.a11y-contrast .hero :focus-visible, html.a11y-contrast .final :focus-visible { outline-color: #ffd400; }
html.a11y-contrast .stars { color: #000; }
html.a11y-contrast .chips li { background: #fff; border: 2px solid #000; }
html.a11y-contrast .checks .ico, html.a11y-contrast .review__avatar { background: #000; color: #fff; }
html.a11y-contrast .btn--primary { box-shadow: none; }
html.a11y-contrast .card, html.a11y-contrast .lead-form, html.a11y-contrast .faq__list, html.a11y-contrast .checklist label { border-width: 2px; }
html.a11y-contrast a:not(.btn) { text-decoration: underline; }

/* Bold text */
html.a11y-bold body { font-weight: 700; }
html.a11y-bold h1, html.a11y-bold h2, html.a11y-bold h3 { font-weight: 800; }

/* Highlight links */
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: #fff59d !important; color: #000 !important; outline: 2px solid #000; }

/* Spacing */
html.a11y-spacing body { line-height: 1.95; letter-spacing: 0.03em; word-spacing: 0.12em; }
html.a11y-spacing p, html.a11y-spacing li { margin-bottom: 1.2em; }

/* Stop motion */
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion .reveal { opacity: 1; transform: none; }

/* Big cursor */
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 4l30 16-13 3 8 15-6 3-8-15-11 9z' fill='%23000' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important; }

/* ==========================================================================
   Chatbot: styles live in chatbot-static/chatbot.css (shared by the LPs).
   Only the offset for this page's mobile action bar stays here.
   ========================================================================== */

/* ---------- Small screens ---------- */
@media (max-width: 61.99rem) {
  body.has-mobile-bar .chat-launch { bottom: 5.25rem; }
  body.has-mobile-bar .chat { bottom: 9.25rem; } /* chat panel: chatbot-static/chatbot.css */
  /* accessibility button sits in the header so it never covers content */
  .header .a11y-toggle { position: static; width: 2.75rem; height: 2.75rem; box-shadow: none; }
  .header .a11y-toggle svg { width: 1.5rem; height: 1.5rem; }
  .a11y-panel { left: 0.75rem; bottom: auto; top: 5.25rem; max-height: calc(100vh - 6.5rem); }
}
