/* ============================================================
   Walesby Vision Center — design system
   Palette drawn from the iris: deep teal + amber on warm white.
   Type: Bricolage Grotesque (display) / Albert Sans (body).
   ============================================================ */

:root {
  --ink: #182231;
  --ink-soft: #47536a;
  --ink-faint: #71809a;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --mist: #eef3f2;
  --line: #dde4e4;
  --teal: #0d6b76;
  --teal-deep: #094f58;
  --teal-tint: #e3f0f1;
  --amber: #dd9a2e;
  --amber-deep: #b47716;
  --amber-tint: #fbf1dd;
  --good: #1c7a4d;
  --navy: #14293e;
  --navy-soft: #1d3a55;
  --shadow-card: 0 1px 2px rgba(24, 34, 49, 0.05), 0 8px 24px -12px rgba(24, 34, 49, 0.18);
  --shadow-pop: 0 2px 6px rgba(24, 34, 49, 0.08), 0 24px 48px -16px rgba(24, 34, 49, 0.28);
  --radius: 14px;
  --radius-sm: 9px;
  --display: "Bricolage Grotesque", "Avenir Next", "Trebuchet MS", sans-serif;
  --body: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 71rem;
}

* { box-sizing: border-box; }
[id] { scroll-margin-top: 7.5rem; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, label:focus-within {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  text-wrap: balance;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0.7rem 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 44rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.625, 0.05, 0, 1), box-shadow 0.45s cubic-bezier(0.625, 0.05, 0, 1), background 0.45s cubic-bezier(0.625, 0.05, 0, 1), color 0.45s cubic-bezier(0.625, 0.05, 0, 1);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(13, 107, 118, 0.55); }
.btn-primary:hover { background: var(--teal-deep); }
.btn-amber { background: var(--amber); color: #2d1e04; box-shadow: 0 10px 24px -10px rgba(221, 154, 46, 0.55); }
.btn-amber:hover { background: #e7ab48; }
.btn-ghost { background: transparent; color: var(--teal-deep); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal-tint); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }
.btn-lg { font-size: 1.1rem; padding: 1rem 1.9rem; }

/* ---------- utility bar + header ---------- */
.utility {
  background: var(--navy);
  color: #d7e2ea;
  font-size: 0.85rem;
}
.utility .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 2.2rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.utility a { color: #fff; text-decoration: none; font-weight: 600; }
.utility a:hover { text-decoration: underline; }
.utility .offices { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.utility .tag { color: #9fb3c2; margin-right: 0.35rem; font-weight: 400; }
@media (max-width: 480px) {
  .utility .hours { display: none; }
  .utility .offices { gap: 1rem; }
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); }
.brand img { height: 3.4rem; width: auto; }
.brand .name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  white-space: nowrap;
}
.brand .name small { display: block; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.09em; color: var(--ink-faint); text-transform: uppercase; }

nav.main { display: flex; align-items: center; gap: 1.15rem; }
nav.main a.link {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.45s cubic-bezier(0.625, 0.05, 0, 1), color 0.45s cubic-bezier(0.625, 0.05, 0, 1);
}
nav.main a.link:hover { color: var(--teal-deep); border-bottom-color: var(--amber); }
nav.main a.link[aria-current="page"] { color: var(--teal-deep); border-bottom-color: var(--teal); }
nav.main .btn { padding: 0.55rem 1.15rem; font-size: 0.9rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
  nav.main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-pop);
    padding: 0.5rem 1.25rem 1.25rem;
  }
  nav.main.open { display: flex; }
  nav.main a.link { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  nav.main .btn { margin-top: 0.9rem; justify-content: center; }
}

/* ---------- cinematic photo bands (mobile-first) ---------- */
.cine-hero, .photo-band { position: relative; display: flex; overflow: hidden; background: var(--navy); }
.cine-hero { min-height: clamp(34rem, 92svh, 50rem); align-items: flex-end; }
.cine-hero.short { min-height: clamp(23rem, 58svh, 33rem); }
.photo-band { min-height: clamp(23rem, 64svh, 34rem); align-items: flex-end; }
.cine-hero .bg, .photo-band .bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 28%;
}
@media (prefers-reduced-motion: no-preference) {
  .cine-hero .bg { animation: kenburns 20s ease-in-out infinite alternate; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.cine-hero .content > * { animation: rise-in 1.3s cubic-bezier(0.625, 0.05, 0, 1) both; }
.cine-hero .content > *:nth-child(1) { animation-delay: 0.1s; }
.cine-hero .content > *:nth-child(2) { animation-delay: 0.24s; }
.cine-hero .content > *:nth-child(3) { animation-delay: 0.38s; }
.cine-hero .content > *:nth-child(4) { animation-delay: 0.52s; }
.cine-hero .content > *:nth-child(5) { animation-delay: 0.66s; }
.cine-hero .scrim, .photo-band .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,22,36,0.97) 0%, rgba(13,22,36,0.82) 34%, rgba(13,22,36,0.42) 62%, rgba(13,22,36,0.1) 88%, rgba(13,22,36,0.28) 100%);
}
.cine-hero .content, .photo-band .content {
  position: relative; width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 6rem 1.25rem 3.2rem; color: #fff;
  text-shadow: 0 1px 2px rgba(10, 17, 28, 0.6), 0 4px 28px rgba(10, 17, 28, 0.55);
}
.cine-hero .content .btn, .photo-band .content .btn { text-shadow: none; }
.photo-band .content { padding: 5rem 1.25rem 2.8rem; }
.cine-hero .eyebrow, .photo-band .eyebrow { color: #ffd28a; text-shadow: 0 1px 3px rgba(10,17,28,0.85), 0 3px 14px rgba(10,17,28,0.7); }
.cine-hero h1 { color: #fff; font-size: clamp(2.4rem, 8.5vw, 4.6rem); line-height: 1.06; max-width: 15ch; }
.cine-hero .lede, .photo-band .lede { color: #eef3f8; }
.cine-hero .quiet-call { color: #9fb3c2; }
.cine-hero .quiet-call a { color: #fff; }
.photo-band h2 { color: #fff; font-size: clamp(1.9rem, 6vw, 3.1rem); max-width: 17ch; }
.photo-band .lede { max-width: 34rem; margin-top: 0.4rem; }
.photo-band .cta-row, .cine-hero + * .cta-row { margin-top: 1.4rem; }

/* split band: text beside a pinned print */
.band-split { overflow: hidden; }
.split-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
@media (max-width: 900px) { .split-grid { grid-template-columns: 1fr; gap: 2.4rem; } }
.polaroid {
  margin: 0; background: #fdfcf9; padding: 0.9rem 0.9rem 1.1rem;
  border-radius: 6px; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.55);
  transform: rotate(-2deg); max-width: 24rem; justify-self: center;
  transition: transform 0.45s cubic-bezier(0.625, 0.05, 0, 1);
}
.polaroid:hover { transform: rotate(-0.5deg) scale(1.015); }
.polaroid img { display: block; width: 100%; height: auto; border-radius: 3px; }
.polaroid figcaption {
  font-family: var(--display); font-weight: 500; font-size: 0.9rem;
  color: var(--ink-soft); text-align: center; padding-top: 0.8rem;
}
/* the graduation wall: pinned prints */
.wall-grid { columns: 3; column-gap: 1.7rem; }
.wall-grid > .reveal { break-inside: avoid; margin-bottom: 2rem; }
@media (max-width: 900px) { .wall-grid { columns: 2; } }
@media (max-width: 600px) { .wall-grid { columns: 1; max-width: 22rem; margin: 0 auto; } }
.polaroid.pin { max-width: none; padding: 0.7rem 0.7rem 0.9rem; }
.polaroid.pin figcaption { padding-top: 0.65rem; font-size: 0.86rem; }
.polaroid.pin figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.polaroid.pin figcaption span { color: var(--ink-faint); font-weight: 400; }
.polaroid.pin img.letter { background: #f2f0ec; }
.wall-grid .polaroid:nth-child(3n+1) { transform: rotate(-1.8deg); }
.wall-grid .polaroid:nth-child(3n+2) { transform: rotate(1.4deg); }
.wall-grid .polaroid:nth-child(3n) { transform: rotate(-0.8deg); }
.wall-grid .polaroid:hover { transform: rotate(0deg) scale(1.02); z-index: 2; position: relative; }
html.js .polaroid.reveal { transform: rotate(-2deg) translateY(28px); }
html.js .polaroid.reveal.in { transform: rotate(-2deg) translateY(0); }

/* quote strip */
.quote-strip { text-align: center; padding: 3.6rem 0; }
.quote-strip blockquote {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.25rem, 3.4vw, 1.9rem); line-height: 1.35;
  color: var(--ink); max-width: 34ch; margin: 0 auto; text-wrap: balance;
}
.quote-strip cite { display: block; font-style: normal; margin-top: 0.9rem; color: var(--ink-faint); font-size: 0.95rem; }

/* mobile-first CTAs: full-width, thumb-sized */
@media (max-width: 480px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; width: 100%; }
  .btn { white-space: normal; text-align: center; line-height: 1.35; }
  .btn.btn-lg { padding: 0.9rem 1.4rem; font-size: 1rem; }
  .signs-cta .btn, form .btn { width: 100%; justify-content: center; }
  .cine-hero { min-height: clamp(34rem, 96svh, 46rem); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(90rem 40rem at 110% -20%, rgba(13, 107, 118, 0.1), transparent 60%),
    radial-gradient(60rem 30rem at -20% 120%, rgba(221, 154, 46, 0.1), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.hero h1 .focus-word { display: inline-block; }
@keyframes focus-in {
  from { filter: blur(9px); opacity: 0.45; }
  to { filter: blur(0); opacity: 1; }
}
.focusing .focus-line {
  display: inline-block;
  animation: focus-in 1.8s cubic-bezier(0.625, 0.05, 0, 1) 0.35s both;
}
.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.hero .cta-row { margin-top: 1.6rem; }
.hero .quiet-call { font-size: 0.95rem; color: var(--ink-soft); }
.hero .quiet-call a { font-weight: 700; color: var(--teal-deep); text-decoration: none; }
.hero .quiet-call a:hover { text-decoration: underline; }

.hero-media { position: relative; }
.hero-media .photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  width: 100%;
  height: auto;
}
.hero-media .float-card {
  position: absolute;
  left: -1.6rem;
  bottom: 1.6rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-pop);
  padding: 0.8rem 1.1rem;
  font-size: 0.88rem;
  line-height: 1.4;
  max-width: 15rem;
}
.hero-media .float-card strong { font-family: var(--display); font-size: 1.3rem; color: var(--teal-deep); display: block; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 2.8rem; padding-bottom: 3rem; }
  .hero-media { max-width: 26rem; }
  .hero-media .float-card { left: 1rem; }
}

/* ---------- sections ---------- */
section.band { padding: 4.2rem 0; }
section.band.tight { padding: 3rem 0; }
section.band.mist { background: var(--mist); }
section.band.navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%); color: #e8eff5; }
section.band.navy h1, section.band.navy h2, section.band.navy h3 { color: #fff; }
section.band.navy .eyebrow { color: var(--amber); }
section.band.navy .lede { color: #b8c8d5; }

.section-head { max-width: 46rem; margin-bottom: 2.2rem; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid > * { min-width: 0; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.cols-4 { grid-template-columns: 1fr 1fr; } .grid.cols-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-card);
}
.card .icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 10px;
  background: var(--teal-tint);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}
.card .icon svg { width: 1.4rem; height: 1.4rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; margin: 0.35rem 0 0; }
a.card { text-decoration: none; color: var(--ink); transition: transform 0.45s cubic-bezier(0.625, 0.05, 0, 1), box-shadow 0.45s cubic-bezier(0.625, 0.05, 0, 1); display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
a.card .go { font-family: var(--display); font-weight: 600; color: var(--teal-deep); font-size: 0.92rem; margin-top: 0.8rem; display: inline-block; }

/* interactive signs (self-recognition cards) */
.signs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .signs-grid { grid-template-columns: 1fr; } }
.sign-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 1.3rem 1.3rem 1.1rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.sign-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.sign-head h3 { margin: 0; font-size: 1.05rem; }
.sign-icon {
  width: 2.2rem; height: 2.2rem; border-radius: 9px; flex: none;
  background: var(--teal-tint); color: var(--teal-deep); display: grid; place-items: center;
}
.sign-icon svg { width: 1.2rem; height: 1.2rem; }
button.sign {
  font: inherit; font-size: 0.95rem; text-align: left; cursor: pointer;
  color: var(--ink-soft); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0.6rem 1rem 0.6rem 2.4rem; position: relative;
  transition: border-color 0.45s cubic-bezier(0.625, 0.05, 0, 1), background 0.45s cubic-bezier(0.625, 0.05, 0, 1), color 0.45s cubic-bezier(0.625, 0.05, 0, 1);
  min-height: 44px;
}
button.sign::before {
  content: ""; position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%);
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  border: 1.5px solid var(--ink-faint); background: var(--surface);
  transition: all 0.45s cubic-bezier(0.625, 0.05, 0, 1);
}
button.sign:hover { border-color: var(--teal); }
button.sign[aria-pressed="true"] {
  background: var(--amber-tint); border-color: var(--amber); color: var(--amber-deep); font-weight: 600;
}
button.sign[aria-pressed="true"]::before {
  background: var(--amber); border-color: var(--amber);
  content: ""; box-shadow: inset 0 0 0 3px var(--amber-tint);
}
.signs-cta { text-align: center; margin-top: 2rem; }
.signs-cta .btn { transition: transform 0.45s cubic-bezier(0.625, 0.05, 0, 1), box-shadow 0.45s cubic-bezier(0.625, 0.05, 0, 1), background 0.45s cubic-bezier(0.625, 0.05, 0, 1); }
.signs-count {
  font-family: var(--display); font-weight: 600; color: var(--amber-deep);
  min-height: 1.5rem; margin: 0 0 0.7rem; font-size: 0.98rem;
}

/* symptom chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips .chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-card);
}
.chips .chip.hot { border-color: var(--amber); background: var(--amber-tint); color: var(--amber-deep); font-weight: 600; }

/* journey — a path, not a grid */
.journey-band { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .journey-band { grid-template-columns: 1fr; gap: 2.4rem; } }
.journey-intro { display: flex; flex-direction: column; gap: 2.2rem; }
@media (min-width: 901px) { .journey-intro { position: sticky; top: 6rem; } }

.timeline { list-style: none; margin: 0; padding: 0.4rem 0 0 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 1.35rem; top: 0.8rem; bottom: 2.2rem; width: 2px;
  background: linear-gradient(to bottom, var(--teal) 0%, #3e8a8f 55%, var(--amber) 100%);
  border-radius: 2px; opacity: 0.9;
}
.tl-step { position: relative; padding: 0 0 2.1rem 4rem; }
.tl-step:last-child { padding-bottom: 0.4rem; }
.tl-dot {
  position: absolute; left: 0; top: -0.15rem;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em;
  color: #cfe6e8; background: var(--navy-soft);
  border: 2px solid rgba(207, 230, 232, 0.35);
  box-shadow: 0 0 0 6px var(--navy);
}
.tl-step h3 { color: #fff; margin: 0 0 0.15rem; font-size: 1.12rem; }
.tl-step p { margin: 0; color: #a9bccb; font-size: 0.97rem; }
.tl-goal .tl-dot { background: var(--amber); border-color: var(--amber); color: #2d1e04; }
.tl-goal .tl-dot svg { width: 1.3rem; height: 1.3rem; }
.tl-goal h3 { color: var(--amber); font-size: 1.3rem; }
.tl-goal p { color: #d3c4a2; }

.exam-card { display: flex; flex-direction: column; }
.exam-card .eyebrow { margin-bottom: 0.5rem; }
.exam-card .card-cta { margin: auto 0 0; padding-top: 1.2rem; display: flex; gap: 1.4rem; flex-wrap: wrap; }

.arrow-link { font-weight: 700; color: var(--teal-deep); text-decoration: none;
  border-bottom: 2px solid var(--amber); padding-bottom: 0.1rem;
  transition: border-color 0.45s cubic-bezier(0.625, 0.05, 0, 1), color 0.45s cubic-bezier(0.625, 0.05, 0, 1); }
.arrow-link::after { content: " \2192"; }
.arrow-link:hover { color: var(--navy); border-color: var(--teal-deep); }

/* brand wall: two counter-drifting rows of frame-brand wordmarks */
.brand-wall { overflow: hidden; margin-top: 3.2rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.brand-wall-kicker { text-align: center; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep);
  margin: 0 0 1.6rem; }
.brand-track { display: flex; align-items: center; gap: 4rem; width: max-content;
  padding: 0.55rem 0; animation: brand-drift 46s linear infinite; }
.brand-track.rev { animation-direction: reverse; animation-duration: 58s; }
.brand-track span { font-family: var(--display); font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--navy); opacity: 0.42; white-space: nowrap; }
@keyframes brand-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .brand-wall { -webkit-mask-image: none; mask-image: none; }
  .brand-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center;
    gap: 1.4rem 2.4rem; }
  .brand-track span:nth-child(n+9) { display: none; } /* hide the loop duplicates */
}

.quiet-call-ink { font-size: 0.95rem; color: var(--ink-soft); margin: 0.8rem 0 0; }
.quiet-call-ink a { color: var(--teal-deep); text-decoration: none; }
.quiet-call-ink a:hover { text-decoration: underline; }

/* refer steps: numbered dots, compact */
.refer-steps { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 1rem; }
.refer-steps li { display: flex; gap: 0.85rem; align-items: flex-start; color: var(--ink-soft); font-size: 0.97rem; }
.refer-steps .tl-dot { position: static; width: 2.2rem; height: 2.2rem; font-size: 0.78rem; flex: none;
  color: var(--teal-deep); background: var(--surface); border: 2px solid var(--line); box-shadow: none; }

/* light variant: timeline on paper */
.timeline.light .tl-dot { color: var(--teal-deep); background: var(--surface); border-color: var(--line); box-shadow: 0 0 0 6px var(--mist); }
.timeline.light .tl-step h3 { color: var(--ink); }
.timeline.light .tl-step p { color: var(--ink-soft); }
.timeline.light .tl-goal .tl-dot { background: var(--amber); border-color: var(--amber); color: #2d1e04; }
.timeline.light .tl-goal h3 { color: var(--amber-deep); }
.timeline.light .tl-goal p { color: var(--ink-soft); }
.proof-note.light { color: var(--ink-soft); }
.proof-note.light em { color: var(--amber-deep); }

/* the path draws itself: cascade when steps reveal */
html.js .tl-step:nth-child(2) { transition-delay: 0.16s; }
html.js .tl-step:nth-child(3) { transition-delay: 0.32s; }
html.js .tl-step:nth-child(4) { transition-delay: 0.48s; }
html.js .tl-step:nth-child(5) { transition-delay: 0.64s; }
html.js .tl-step:nth-child(6) { transition-delay: 0.8s; }

/* proof — a statement, not a stat block */
.proof-note {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.75;
  color: #b9c9d7;
  border-left: 3px solid var(--amber);
  padding-left: 1.3rem;
  max-width: 30rem;
  margin: 0;
}
.proof-note em {
  font-style: normal;
  font-weight: 700;
  color: var(--amber);
}

/* testimonial */
.quote-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 1.6rem 1.6rem 1.4rem;
  position: relative;
}
.quote-card::before {
  content: "\201C";
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: 0;
  color: var(--amber);
  position: absolute;
  top: 1.9rem;
  left: 1.4rem;
}
.quote-card blockquote { margin: 0.9rem 0 0.9rem 2.1rem; font-size: 1.02rem; color: var(--ink-soft); }
.quote-card cite { margin-left: 2.1rem; font-style: normal; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.quote-card cite small { display: block; color: var(--ink-faint); font-weight: 400; font-size: 0.82rem; }

/* grad cards */
.grad-card { overflow: hidden; padding: 0; }
.grad-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.grad-card img.letter { object-fit: contain; background: #f2f0ec; padding: 0.75rem; }
.grad-card .body { padding: 1.2rem 1.3rem 1.3rem; }
.grad-card .badge {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--amber-tint);
  color: var(--amber-deep);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.5rem;
}

/* ---------- accordion ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 0; }
.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  position: relative;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--teal);
  transition: transform 0.2s ease;
}
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion .a-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- condition doorways ---------- */
.cond-list { display: grid; gap: 1.1rem; max-width: 52rem; margin: 0 auto; }
.cond-card { padding: 1.5rem 1.7rem 1.4rem; }
.cond-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.cond-head h3 { margin: 0; font-size: 1.15rem; }
.cond-card > p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.cond-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.cond-tags span {
  font-family: var(--display); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.04em; color: var(--teal-deep);
  background: var(--teal-tint); border-radius: 999px; padding: 0.25rem 0.75rem;
}

/* ---------- sight vs vision demo ---------- */
.sv-demo { display: grid; gap: 1rem; max-width: 26rem; justify-self: center; width: 100%; }
.sv-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 1.2rem 1.4rem 1.4rem;
}
.sv-tag {
  font-family: var(--display); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 999px; padding: 0.2rem 0.7rem; display: inline-block; margin-bottom: 0.9rem;
}
.sv-pass { background: #e6f2ee; color: #1c6b52; }
.sv-strain { background: var(--amber-tint); color: var(--amber-deep); }
.snellen { text-align: center; font-family: var(--display); font-weight: 700; color: var(--ink); }
.snellen .sn-row { border-bottom: 1px solid var(--line); padding: 0.28rem 0; letter-spacing: 0.45em; text-indent: 0.45em; }
.snellen .sn-row:last-child { border-bottom: 0; }
.sn-1 { font-size: 2.1rem; } .sn-2 { font-size: 1.6rem; } .sn-3 { font-size: 1.2rem; }
.sn-4 { font-size: 0.95rem; } .sn-5 { font-size: 0.75rem; }
.diplopia {
  margin: 0; font-family: var(--body); font-size: 1.05rem; line-height: 1.8; color: var(--ink);
  text-shadow: 3px 2px 0 rgba(24, 34, 49, 0.32);
  filter: blur(0.4px);
}
@media (prefers-reduced-motion: no-preference) {
  .diplopia { animation: swim 5s ease-in-out infinite alternate; }
}
@keyframes swim {
  from { text-shadow: 2.5px 1.5px 0 rgba(24, 34, 49, 0.3); }
  to { text-shadow: 4.5px 3px 0 rgba(24, 34, 49, 0.36); }
}
.sv-sr { position: absolute; left: -9999px; }
.sv-attrib {
  margin: 0.9rem 0 0; padding-top: 0.8rem; border-top: 1px dashed var(--line);
  font-size: 0.85rem; color: var(--ink-faint); font-style: italic;
}
.sv-caption {
  font-family: var(--display); font-weight: 500; font-size: 0.92rem;
  color: var(--ink-faint); text-align: center; margin: 0.2rem 0 0;
}

/* ---------- page hero (interior) ---------- */
.page-hero { padding: 3.4rem 0 2.6rem; background: linear-gradient(180deg, var(--mist), var(--paper)); }
.page-hero .lede { margin-top: 0.4rem; }

/* ---------- forms ---------- */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: 0.92rem; margin-bottom: 0.35rem; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(13,107,118,0.15); }
.field .hint { font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.25rem; }

.intent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-bottom: 1.4rem; }
@media (max-width: 640px) { .intent-grid { grid-template-columns: 1fr; } }
.intent-grid input[type="radio"] { position: absolute; opacity: 0; }
.intent-grid label {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.45s cubic-bezier(0.625, 0.05, 0, 1), background 0.45s cubic-bezier(0.625, 0.05, 0, 1);
}
.intent-grid label strong { font-family: var(--display); display: block; margin-bottom: 0.15rem; }
.intent-grid input[type="radio"]:checked + label { border-color: var(--teal); background: var(--teal-tint); box-shadow: 0 0 0 1px var(--teal); }
.intent-grid input[type="radio"]:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- location cards ---------- */
.office-card { padding: 0; overflow: hidden; }
.office-card iframe { width: 100%; height: 220px; border: 0; display: block; }
.office-card > img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.office-card .body { padding: 1.4rem 1.5rem 1.5rem; }
.office-card .body h3 { display: flex; align-items: center; gap: 0.5rem; }
.office-card .addr { color: var(--ink-soft); margin: 0.4rem 0 0.9rem; font-size: 0.98rem; }
.office-card .actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.office-card .actions .btn { font-size: 0.92rem; padding: 0.6rem 1.15rem; }

/* ---------- feature card (image beside text) ---------- */
.feature-card { display: grid; grid-template-columns: 1fr 1.25fr; padding: 0; overflow: hidden; align-items: center; }
.feature-card > img { width: 100%; height: 100%; object-fit: cover; }
.feature-card .body { padding: 1.8rem 2rem; }
@media (max-width: 720px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-card > img { aspect-ratio: 3 / 2; height: auto; }
}

/* ---------- office tour gallery ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .tour-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tour-grid { grid-template-columns: 1fr; } }
.tour-tile { margin: 0; }
.tour-tile img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-card); }
.tour-tile figcaption { font-family: var(--display); font-weight: 500; font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.45rem; }

/* ---------- mission list ---------- */
.mission-list { max-width: 46rem; display: grid; gap: 0.9rem; }
.mission-list p { margin: 0; color: #b8c8d5; font-size: 1.05rem; }
.mission-list strong { font-family: var(--display); color: var(--amber); letter-spacing: 0.06em; }

/* ---------- expandable testimonials ---------- */
details.more-quotes { border: 0; margin-top: 2rem; }
details.more-quotes > summary {
  list-style: none; cursor: pointer; text-align: center;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  color: var(--teal-deep); border: 2px solid var(--teal);
  border-radius: 999px; padding: 0.8rem 1.6rem; width: fit-content; margin: 0 auto;
  transition: background 0.45s cubic-bezier(0.625, 0.05, 0, 1);
}
details.more-quotes > summary:hover { background: var(--teal-tint); }
details.more-quotes > summary::-webkit-details-marker { display: none; }
details.more-quotes > summary::after { content: " ↓"; }
details.more-quotes[open] > summary::after { content: " ↑"; }
details.more-quotes[open] > summary { margin-bottom: 0.4rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .cta-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------- footer ---------- */
footer.site {
  background: var(--navy);
  color: #b8c8d5;
  padding: 3.4rem 0 2rem;
  font-size: 0.95rem;
}
footer.site h4 { color: #fff; font-size: 1rem; margin-bottom: 0.7rem; }
footer.site a { color: #e2ecf3; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.social-row { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
footer.site .social-row a { display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: #e2ecf3; color: var(--navy);
  transition: background-color 0.45s cubic-bezier(0.625, 0.05, 0, 1),
              transform 0.45s cubic-bezier(0.625, 0.05, 0, 1); }
footer.site .social-row a:hover { background: var(--amber); color: var(--navy);
  transform: translateY(-2px); text-decoration: none; }
.social-row svg { width: 1.2rem; height: 1.2rem; }
footer.site .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 0.45rem 0; }
footer.site .brandline { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
footer.site .brandline img { height: 2.7rem; filter: invert(1) brightness(1.8); }
footer.site .tagline { font-style: italic; color: #8fa5b5; }
footer.site .legal {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #8fa5b5;
}

/* ---------- reveal on scroll (JS-gated: no-JS users see everything) ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.15s cubic-bezier(0.625, 0.05, 0, 1), transform 1.15s cubic-bezier(0.625, 0.05, 0, 1); }

/* staggered reveal: the container yields, its children cascade */
html.js .reveal.stagger { opacity: 1; transform: none; transition: none; }
html.js .stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 1.15s cubic-bezier(0.625, 0.05, 0, 1), transform 1.15s cubic-bezier(0.625, 0.05, 0, 1); }
html.js .stagger.in > * { opacity: 1; transform: none; }
html.js .stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
html.js .stagger.in > *:nth-child(3) { transition-delay: 0.24s; }
html.js .stagger.in > *:nth-child(4) { transition-delay: 0.36s; }
html.js .stagger.in > *:nth-child(5) { transition-delay: 0.48s; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .focusing .focus-line { animation: none; filter: none; opacity: 1; }
  .cine-hero .content > * { animation: none; }
  html.js .stagger > * { opacity: 1; transform: none; transition: none; }
  html.js .tl-step { transition-delay: 0s; }
  .btn, a.card { transition: none; }
}

/* ---------- misc ---------- */
.tel { white-space: nowrap; font-variant-numeric: tabular-nums; }
.note-box {
  background: var(--amber-tint);
  border: 1px solid #efd9ae;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  color: var(--amber-deep);
}
.stat-row { display: flex; gap: 2.6rem; flex-wrap: wrap; margin-top: 2rem; }
.stat-row .stat strong { font-family: var(--display); font-size: 2rem; color: var(--teal-deep); display: block; line-height: 1.1; }
.stat-row .stat span { font-size: 0.88rem; color: var(--ink-faint); }
section.band.navy .stat-row .stat strong { color: var(--amber); }
section.band.navy .stat-row .stat span { color: #9fb3c2; }

/* ---------- v1: dropdown nav (their menu structure, verbatim) ---------- */
.navgroup { position: relative; }
.navgroup .dropdown { position: absolute; top: 100%; left: -0.8rem; min-width: 16rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-pop); padding: 0.5rem; display: none; z-index: 60; }
.navgroup:hover .dropdown, .navgroup:focus-within .dropdown { display: block; }
.navgroup .dropdown a { display: block; padding: 0.55rem 0.8rem; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: 0.97rem;
  transition: background-color 0.45s cubic-bezier(0.625, 0.05, 0, 1); }
.navgroup .dropdown a:hover { background: var(--mist); color: var(--teal-deep); }
.navparent::after { content: " \203A"; display: inline-block; transform: rotate(90deg) translateX(1px);
  font-weight: 700; color: var(--ink-faint); }
@media (max-width: 900px) {
  .navgroup .dropdown { position: static; display: block; border: 0; box-shadow: none;
    background: transparent; padding: 0 0 0 1rem; min-width: 0; }
  .navparent::after { content: ""; }
  .navgroup .dropdown a { border-bottom: 1px solid var(--line); border-radius: 0; padding: 0.7rem 0.25rem; }
}

/* ---------- v1: typographic hero — navy ground + single key light, no photo ---------- */
.type-hero { background:
    radial-gradient(46rem 30rem at 68% 18%, rgba(31, 122, 134, 0.55), transparent 62%),
    radial-gradient(30rem 22rem at 22% 85%, rgba(221, 154, 46, 0.16), transparent 60%),
    linear-gradient(to bottom, #14293e 0%, #0d1624 100%); }
.type-hero.short { min-height: clamp(21rem, 52svh, 30rem); }
.type-hero .content { padding-bottom: 3.2rem; }

/* ---------- v1: pop-cards — color panels with abstract corner geometry ---------- */
.pop-card { position: relative; overflow: hidden; display: block; text-decoration: none;
  border-radius: var(--radius); padding: 1.9rem 1.7rem 3.6rem; min-height: 14rem;
  transition: transform 0.45s cubic-bezier(0.625, 0.05, 0, 1), box-shadow 0.45s cubic-bezier(0.625, 0.05, 0, 1); }
.pop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.pop-card::before { content: ""; position: absolute; top: -4.5rem; right: -4.5rem;
  width: 11rem; height: 11rem; border-radius: 50%; }
.pop-card::after { content: ""; position: absolute; bottom: -2.6rem; left: -2.6rem;
  width: 6.5rem; height: 6.5rem; border-radius: 50%; border: 2px solid; opacity: 0.35; }
.pop-card h3 { margin: 0 0 0.45rem; font-size: 1.35rem; position: relative; }
.pop-card p { margin: 0; font-size: 0.98rem; line-height: 1.55; position: relative; }
.pop-icon { width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 1rem; position: relative; }
.pop-icon svg { width: 1.5rem; height: 1.5rem; }
.pop-arrow { position: absolute; right: 1.3rem; bottom: 1.2rem; width: 2.3rem; height: 2.3rem;
  border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; font-weight: 700;
  border: 1.5px solid; transition: transform 0.45s cubic-bezier(0.625, 0.05, 0, 1); }
.pop-card:hover .pop-arrow { transform: translateX(3px); }

.pop-amber { background: linear-gradient(140deg, #f6d190 0%, #dd9a2e 100%); color: #2d1e04; }
.pop-amber::before { background: rgba(255, 255, 255, 0.28); }
.pop-amber .pop-icon { background: rgba(255, 255, 255, 0.55); color: #2d1e04; }

.pop-teal { background: linear-gradient(140deg, #dcedee 0%, #b5d9dd 100%); color: var(--teal-deep, #0d6b76); }
.pop-teal::before { background: rgba(13, 107, 118, 0.14); }
.pop-teal .pop-icon { background: #fff; color: #0d6b76; }
.pop-teal h3 { color: #0a4a52; }

.pop-navy { background: linear-gradient(140deg, #1e3a58 0%, #14293e 100%); color: #e8eff5; }
.pop-navy::before { background: rgba(221, 154, 46, 0.22); }
.pop-navy::after { opacity: 0.25; }
.pop-navy .pop-icon { background: rgba(255, 255, 255, 0.12); color: #f0b95a; }
.pop-navy h3 { color: #fff; }

/* pop-row: three compact cards hold one line as long as possible, then stack — never 2+1 */
@media (max-width: 900px) { .grid.pop-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) and (min-width: 721px) {
  .pop-card { padding: 1.4rem 1.2rem 3.2rem; min-height: 12rem; }
  .pop-card h3 { font-size: 1.15rem; }
  .pop-card p { font-size: 0.9rem; }
  .pop-icon { width: 2.5rem; height: 2.5rem; margin-bottom: 0.7rem; }
}
@media (max-width: 720px) { .grid.pop-row { grid-template-columns: 1fr; } }

/* ---------- v1: story-cards — the pop system in a softer, text-carrying register ---------- */
.story-card { position: relative; overflow: hidden; display: block; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem 4rem; color: var(--ink);
  transition: transform 0.45s cubic-bezier(0.625, 0.05, 0, 1), box-shadow 0.45s cubic-bezier(0.625, 0.05, 0, 1); }
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.story-card::before { content: ""; position: absolute; top: -3.8rem; right: -3.8rem;
  width: 9rem; height: 9rem; border-radius: 50%; opacity: 0.5; }
.story-card::after { content: ""; position: absolute; bottom: -2.2rem; left: -2.2rem;
  width: 5.5rem; height: 5.5rem; border-radius: 50%; border: 2px solid; opacity: 0.18; }
.story-card h3 { margin: 0 0 0.55rem; font-size: 1.22rem; position: relative; }
.story-card p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); position: relative; }
.story-card .pop-arrow { border-color: var(--line); color: var(--teal-deep); background: var(--surface); }
.story-card:hover .pop-arrow { border-color: currentColor; }

.story-amber::before { background: rgba(221, 154, 46, 0.18); }
.story-amber::after { color: #dd9a2e; }
.story-amber .pop-icon { background: rgba(221, 154, 46, 0.16); color: #a86f14; }
.story-teal::before { background: rgba(13, 107, 118, 0.13); }
.story-teal::after { color: #0d6b76; }
.story-teal .pop-icon { background: rgba(13, 107, 118, 0.12); color: #0d6b76; }
.story-navy::before { background: rgba(20, 41, 62, 0.14); }
.story-navy::after { color: #14293e; }
.story-navy .pop-icon { background: rgba(20, 41, 62, 0.12); color: #14293e; }

@media (max-width: 900px) and (min-width: 721px) {
  .story-card { padding: 1.4rem 1.2rem 3.4rem; }
  .story-card h3 { font-size: 1.05rem; }
  .story-card p { font-size: 0.88rem; }
}

/* ---------- v1: FAQ accordion ---------- */
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 0.9rem; overflow: hidden; }
details.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-weight: 700; color: var(--navy); position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; color: var(--teal-deep); font-weight: 400;
  transition: transform 0.45s cubic-bezier(0.625, 0.05, 0, 1); }
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq > p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--ink-soft); line-height: 1.65; }

/* signs check-lines */
.check-line { margin: 0; padding: 0.85rem 1rem 0.85rem 2.4rem; position: relative;
  background: var(--mist); border-radius: 12px; color: var(--ink); font-size: 0.98rem; }
.check-line::before { content: "?"; position: absolute; left: 0.95rem; top: 0.85rem;
  font-weight: 800; color: var(--teal-deep); }

/* pre-screen list */
.ps-list { list-style: none; counter-reset: ps; margin: 0; padding: 0; }
.ps-list li { counter-increment: ps; position: relative; padding: 0.9rem 6.5rem 0.9rem 3.4rem;
  border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.ps-list li::before { content: counter(ps, decimal-leading-zero); position: absolute; left: 0;
  top: 0.95rem; font-family: var(--display); font-weight: 700; color: var(--teal-deep);
  font-size: 0.95rem; }
.ps-list li::after { content: "N · S · O · A"; position: absolute; right: 0; top: 0.95rem;
  color: var(--ink-faint); font-size: 0.85rem; letter-spacing: 0.08em; font-weight: 600; }
@media (max-width: 560px) { .ps-list li { padding-right: 0; } .ps-list li::after { display: none; } }

/* quote wall */
.quote-card { break-inside: avoid; margin: 0 0 1.2rem; padding: 1.6rem 1.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.quote-card p { margin: 0; font-size: 0.97rem; line-height: 1.65; color: var(--ink); position: relative; }
.quote-card cite { display: block; margin-top: 0.9rem; font-style: normal; font-weight: 700;
  font-size: 0.9rem; position: relative; }
.quote-card::before { content: "\201C"; position: absolute; top: -1.4rem; left: 0.6rem;
  font-family: var(--display); font-size: 7rem; line-height: 1; opacity: 0.12; }
.q-amber { border-top: 3px solid #dd9a2e; } .q-amber cite { color: #a86f14; } .q-amber::before { color: #dd9a2e; }
.q-teal { border-top: 3px solid #0d6b76; } .q-teal cite { color: #0d6b76; } .q-teal::before { color: #0d6b76; }
.q-navy { border-top: 3px solid #14293e; } .q-navy cite { color: #14293e; } .q-navy::before { color: #14293e; }

/* Katie's essay */
.essay p { color: #cfdce6; line-height: 1.75; }
.essay p:first-child::first-letter { font-family: var(--display); font-size: 3.2rem; line-height: 0.9;
  float: left; padding: 0.25rem 0.6rem 0 0; color: var(--amber); font-weight: 700; }
.essay .essay-cite { color: var(--amber); font-weight: 700; margin-top: 1.4rem; }

/* tick lists on exam cards */
.tick-list { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.tick-list li { position: relative; padding: 0.35rem 0 0.35rem 1.6rem; color: var(--ink-soft); font-size: 0.96rem; }
.tick-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal-deep); font-weight: 700; }

/* ---------- v1: spotlight collage hero — blurred cork backdrop, crisp foreground polaroids ---------- */
.collage-hero { overflow: hidden; }
.collage-hero .bg { filter: blur(6px) saturate(0.9); transform: scale(1.08); }
@media (prefers-reduced-motion: no-preference) {
  .collage-hero .bg { animation: kenburns 20s ease-in-out infinite alternate; }
}
.collage-hero .hero-polas { position: absolute; right: 4vw; bottom: 2.4rem; z-index: 2;
  display: flex; gap: 1.6rem; align-items: flex-end; }
.collage-hero .hero-polas .polaroid { margin: 0; max-width: 13.5rem; }
.collage-hero .hero-polas .polaroid img { width: 100%; height: auto; }
.collage-hero .hero-polas .polaroid:first-child { transform: rotate(-3deg) translateY(-1.4rem); }
.collage-hero .hero-polas .polaroid:last-child { transform: rotate(2.5deg); }
@media (max-width: 1080px) { .collage-hero .hero-polas .polaroid { max-width: 10.5rem; } }
@media (max-width: 860px) { .collage-hero .hero-polas { display: none; } }

/* ---------- v1: character pass — no component left plain ---------- */
/* story-card eyebrow spacing when used with icons */
.story-card .eyebrow { position: relative; margin-bottom: 0.35rem; }
.story-card .tick-list { position: relative; }
.story-card .tick-list li { color: var(--ink-soft); }

/* quote wall: cards behave like the rest — lift on hover, corner ring */
.quote-card { transition: transform 0.45s cubic-bezier(0.625, 0.05, 0, 1), box-shadow 0.45s cubic-bezier(0.625, 0.05, 0, 1); }
.quote-card:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: var(--shadow-pop); }
.quote-card::after { content: ""; position: absolute; bottom: -2rem; right: -2rem; width: 5rem; height: 5rem;
  border-radius: 50%; border: 2px solid; opacity: 0.14; }
.q-amber::after { color: #dd9a2e; } .q-teal::after { color: #0d6b76; } .q-navy::after { color: #14293e; }

/* FAQ accordion: color-coded spines, hover, breathing room */
details.faq { border-left: 3px solid var(--line); transition: transform 0.45s cubic-bezier(0.625, 0.05, 0, 1), box-shadow 0.45s cubic-bezier(0.625, 0.05, 0, 1), border-color 0.45s cubic-bezier(0.625, 0.05, 0, 1); }
details.faq:nth-of-type(3n+1) { border-left-color: #0d6b76; }
details.faq:nth-of-type(3n+2) { border-left-color: #dd9a2e; }
details.faq:nth-of-type(3n) { border-left-color: #14293e; }
details.faq:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
details.faq[open] { box-shadow: var(--shadow-pop); }
details.faq summary:hover { color: var(--teal-deep); }

/* signs check-lines: chip icon, hover, alternating accents */
.check-line { transition: transform 0.45s cubic-bezier(0.625, 0.05, 0, 1), box-shadow 0.45s cubic-bezier(0.625, 0.05, 0, 1); }
.check-line:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.check-line::before { width: 1.5rem; height: 1.5rem; border-radius: 8px; display: grid; place-items: center;
  background: #fff; top: 0.7rem; left: 0.7rem; font-size: 0.85rem; }
.check-line { padding-left: 2.9rem; }
.grid > .check-line:nth-child(3n+1)::before { color: #0d6b76; }
.grid > .check-line:nth-child(3n+2)::before { color: #a86f14; }
.grid > .check-line:nth-child(3n)::before { color: #14293e; }

/* pre-screen ledger: colored number dots, N·S·O·A pills, row hover */
.ps-list li { transition: background-color 0.45s cubic-bezier(0.625, 0.05, 0, 1); border-radius: 10px; }
.ps-list li:hover { background: var(--mist); }
.ps-list li::before { width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--mist); top: 0.55rem; font-size: 0.8rem; }
.ps-list li:nth-child(3n+1)::before { color: #0d6b76; background: rgba(13,107,118,0.1); }
.ps-list li:nth-child(3n+2)::before { color: #a86f14; background: rgba(221,154,46,0.16); }
.ps-list li:nth-child(3n)::before { color: #14293e; background: rgba(20,41,62,0.1); }
.ps-list li::after { background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.25rem 0.7rem; top: 0.7rem; }
