/* ==========================================================================
   First Eye Care Services, global stylesheet
   Design goals: calm, high-contrast, generous touch targets, readable at 200%
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --teal-900: #0f3d3e;
  --teal-800: #14504f;
  --teal-700: #1a6b66;
  --teal-600: #23867e;
  --teal-100: #dff0ed;
  --teal-50:  #f0f8f6;

  --amber-600: #b3600a;
  --amber-500: #d97a10;
  --amber-100: #fdeedb;

  --ink:      #17211f;
  --ink-soft: #43524f;
  --line:     #dde5e3;
  --surface:  #ffffff;
  --canvas:   #f7faf9;

  --radius:    14px;
  --radius-lg: 24px;
  --shadow:    0 1px 2px rgba(15, 61, 62, .06), 0 8px 24px rgba(15, 61, 62, .07);
  --shadow-lg: 0 2px 6px rgba(15, 61, 62, .08), 0 18px 44px rgba(15, 61, 62, .12);

  --wrap: 1140px;
  --font: "Segoe UI", Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* One easing curve everywhere, so motion feels like one system */
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Scaled by the text-size control in the accessibility bar */
  --scale: 1;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: calc(1.0625rem * var(--scale));
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
}

img { max-width: 100%; display: block; }
svg { display: block; }

h1, h2, h3, h4 {
  line-height: 1.18;
  margin: 0 0 .5em;
  color: var(--teal-900);
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
p  { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--teal-700); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--teal-900); }

/* Visible focus everywhere. Non-negotiable for keyboard and switch users */
:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3rem, 2rem + 5vw, 5.5rem) 0; }
/* Tinted and dark bands curve away from the page rather than butting against
   it as hard rectangles. Full-bleed, so only the corner arcs are visible. */
.section--tint,
.section--teal { border-radius: clamp(26px, 4vw, 56px); }
.section--tint { background: var(--surface); }
.section--teal { background: var(--teal-900); color: #e8f3f1; }
.section--teal h2, .section--teal h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: .75rem;
}
.section--teal .eyebrow { color: #7fd0c4; }

.lede { font-size: 1.12em; color: var(--ink-soft); max-width: 62ch; }
.section--teal .lede { color: #c4ddd9; }

.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  min-height: 48px;                 /* comfortable target for limited dexterity */
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal-700); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--teal-800); color: #fff; }
.btn--ghost { background: transparent; color: var(--teal-800); border-color: var(--teal-600); }
.btn--ghost:hover { background: var(--teal-50); color: var(--teal-900); }
.btn--amber { background: var(--amber-500); color: #fff; }
.btn--amber:hover { background: var(--amber-600); color: #fff; }
.btn--light { background: #fff; color: var(--teal-900); }
.btn--light:hover { background: var(--teal-100); color: var(--teal-900); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.center .btn-row { justify-content: center; }

/* ==========================================================================
   Accessibility bar
   ========================================================================== */
.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--amber-500); color: #fff;
  padding: .75rem 1.25rem; border-radius: 0 0 10px 10px;
  font-weight: 700; text-decoration: none; z-index: 999;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.a11y-bar {
  background: var(--teal-900);
  color: #d6ebe7;
  font-size: .875rem;
}
.a11y-bar .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .75rem;
  padding-block: .5rem;
}
.a11y-bar a { color: #d6ebe7; font-weight: 600; }
.a11y-bar a:hover { color: #fff; }
.a11y-contact { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.a11y-tools { display: flex; align-items: center; gap: .4rem; }
.a11y-tools span { margin-right: .25rem; }
.a11y-tools button {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  min-width: 34px; min-height: 32px;
  padding: 0 .5rem;
  font: inherit; font-weight: 700;
  cursor: pointer;
}
.a11y-tools button:hover { background: rgba(255,255,255,.22); }
.a11y-tools button[aria-pressed="true"] { background: var(--amber-500); border-color: var(--amber-500); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }

/* The mark is a dark teal disc, near enough to the footer background to
   vanish against it, so on dark ground it sits on a white disc instead. */
.site-footer .brand__mark {
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}
.brand__name { font-weight: 800; font-size: 1.02rem; color: var(--teal-900); line-height: 1.1; }
.brand__tag  { font-size: .72rem; color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; }

.nav-toggle {
  display: none;
  align-items: center; gap: .5rem;
  background: var(--teal-700); color: #fff;
  border: 0; border-radius: 10px;
  padding: .6rem .9rem; min-height: 46px;
  font: inherit; font-weight: 650; cursor: pointer;
}

.site-nav ul {
  display: flex; align-items: center; gap: .35rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  display: block;
  padding: .6rem .85rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover { background: var(--teal-50); color: var(--teal-900); }
.site-nav a[aria-current="page"] { background: var(--teal-100); color: var(--teal-900); }
.site-nav .nav-cta { margin-left: .4rem; }
.site-nav .nav-cta a { background: var(--teal-700); color: #fff; padding-inline: 1.15rem; }
.site-nav .nav-cta a:hover { background: var(--teal-800); color: #fff; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: .75rem 1.25rem 1.25rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .site-nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .site-nav .nav-cta { margin: .5rem 0 0; }
  .site-nav .nav-cta a { text-align: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 88% -10%, var(--teal-100), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--canvas) 100%);
  padding: clamp(2.5rem, 1.5rem + 5vw, 5rem) 0 clamp(3rem, 2rem + 4vw, 5rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero .lede { font-size: 1.2em; }

.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--amber-100); color: var(--amber-600);
  border-radius: 999px; padding: .4rem .95rem;
  font-size: .85rem; font-weight: 700;
  margin-bottom: 1.1rem;
}
.badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber-500);
}

.hero__art {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
}
.hero__art svg { width: 100%; height: auto; border-radius: var(--radius); }

.hero__points {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid; gap: .6rem;
}
.hero__points li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-weight: 600; color: var(--teal-800);
}
.hero__points li::before {
  content: "✓";
  flex: none;
  width: 24px; height: 24px; margin-top: .1rem;
  display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal-700);
  border-radius: 50%; font-size: .8rem; font-weight: 800;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
}

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 950px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--teal-100);
  border-radius: 14px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.card__icon svg { width: 26px; height: 26px; stroke: var(--teal-700); }

.card-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; text-decoration: none; margin-top: .35rem;
}
.card-link::after { content: "→"; transition: transform .15s ease; }
.card-link:hover::after { transform: translateX(3px); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat__num {
  display: block;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem);
  font-weight: 800; color: #fff; line-height: 1.1;
}
.stat__label { color: #a9cfc9; font-size: .95rem; font-weight: 600; }

/* Split content block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.split--flip .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}
.split__media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1rem;
}

/* Checklist */
.checklist { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li::before {
  content: "✓"; flex: none;
  width: 26px; height: 26px; margin-top: .1rem;
  display: grid; place-items: center;
  background: var(--teal-700); color: #fff;
  border-radius: 50%; font-size: .82rem; font-weight: 800;
}
.section--teal .checklist li::before { background: var(--amber-500); }

/* ==========================================================================
   Daily schedule timeline
   ========================================================================== */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 78px; top: .5rem; bottom: .5rem;
  width: 2px; background: var(--teal-100);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 1.75rem;
  padding-bottom: 1.75rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline time { font-weight: 800; color: var(--teal-700); font-size: .95rem; padding-top: .1rem; }
.timeline .timeline__body { position: relative; }
.timeline .timeline__body::before {
  content: ""; position: absolute; left: -1.75rem; top: .45rem;
  transform: translateX(-50%);
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: 3px solid var(--teal-600);
}
.timeline h3 { font-size: 1.1rem; margin-bottom: .2em; }
.timeline p { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: .2rem; padding-left: 2rem; }
  .timeline .timeline__body::before { left: -2rem; }
}

/* ==========================================================================
   Quote / testimonial
   ========================================================================== */
.quote {
  background: #fff;
  border-left: 6px solid var(--amber-500);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
}
.quote blockquote { margin: 0; font-size: 1.15em; color: var(--teal-900); }
.quote blockquote p { max-width: none; }
.quote figcaption { font-weight: 700; color: var(--ink-soft); font-size: .95rem; }

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.faq { display: grid; gap: .85rem; max-width: 860px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.5rem;
  font-weight: 700; color: var(--teal-900);
  cursor: pointer; list-style: none; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .faq-label { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.faq .faq-ico { font-size: 1.3rem; line-height: 1; flex: none; }
.faq summary::after {
  content: "+"; flex: none;
  font-size: 1.5rem; font-weight: 400; color: var(--teal-600);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--teal-50); }
.faq .faq__body { padding: 0 1.5rem 1.35rem; color: var(--ink-soft); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--teal-900); }
.field .hint { font-size: .88rem; color: var(--ink-soft); font-weight: 400; margin: 0 0 .4rem; }
.field .req { color: var(--amber-600); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: .8rem .95rem;
  min-height: 50px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 140px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #bcccc9; }
input:focus, select:focus, textarea:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px var(--teal-100);
  outline: none;
}
.field--error input, .field--error select, .field--error textarea { border-color: #c0392b; }
.error-msg { color: #a5281b; font-size: .9rem; font-weight: 600; margin: .35rem 0 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 650px) { .form-grid { grid-template-columns: 1fr; } }

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
}
/* Honeypot. Hidden from people and assistive tech alike, visible to naive bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status--ok   { background: var(--teal-100); color: var(--teal-900); border: 1px solid var(--teal-600); }
.form-status--bad  { background: #fdecea; color: #a5281b; border: 1px solid #e0b4ae; }

/* Contact info panel */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.35rem; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.info-list .info-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-100); color: var(--teal-700);
  display: grid; place-items: center; font-size: 1.15rem;
}
.info-list strong { display: block; color: var(--teal-900); }
.info-list a { font-weight: 600; }

.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { text-align: left; padding: .55rem .25rem; border-bottom: 1px solid var(--line); font-size: .97rem; }
.hours th { color: var(--teal-900); font-weight: 700; }
.hours td { color: var(--ink-soft); text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-600));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d5eeea; margin-inline: auto; }

/* ==========================================================================
   Page banner (interior pages)
   ========================================================================== */
.page-head {
  background: linear-gradient(180deg, var(--teal-50), var(--canvas));
  border-bottom: 1px solid var(--line);
  padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem) 0;
}
.page-head p { margin-bottom: 0; }
.crumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: .75rem; }
.crumbs a { font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--teal-900); color: #b9d6d1; padding: 3.5rem 0 1.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #b9d6d1; text-decoration: none; font-weight: 500; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { color: #9dc4be; font-size: .95rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand .brand__name { color: #fff; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between;
  font-size: .88rem; color: #8fb5af;
}

/* ==========================================================================
   Scroll reveal

   Children rise in sequence rather than the whole block appearing at once,
   which reads as movement through the page rather than a series of pop-ins.
   Scoped to .js so that with JavaScript disabled nothing is ever left hidden.
   ========================================================================== */
.js .reveal > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.js .reveal.is-visible > * { opacity: 1; transform: none; }

.js .reveal.is-visible > *:nth-child(2) { transition-delay: .07s; }
.js .reveal.is-visible > *:nth-child(3) { transition-delay: .14s; }
.js .reveal.is-visible > *:nth-child(4) { transition-delay: .21s; }
.js .reveal.is-visible > *:nth-child(5) { transition-delay: .28s; }
.js .reveal.is-visible > *:nth-child(6) { transition-delay: .35s; }
.js .reveal.is-visible > *:nth-child(7) { transition-delay: .42s; }
.js .reveal.is-visible > *:nth-child(8) { transition-delay: .49s; }
.js .reveal.is-visible > *:nth-child(9) { transition-delay: .56s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal > * { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .a11y-bar, .site-header, .site-footer, .btn, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .card, .form-card { box-shadow: none; border: 1px solid #ccc; }
}

/* ==========================================================================
   Motion and fluidity

   Restrained on purpose. Everything here is a short, soft movement that
   responds to what the visitor is already doing, and all of it collapses
   under prefers-reduced-motion.
   ========================================================================== */

/* ---------- Ambient drift behind the hero ---------- */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}
.hero::before {
  width: 44vmax; height: 44vmax;
  right: -14vmax; top: -20vmax;
  background: radial-gradient(circle, rgba(35,134,126,.16), transparent 62%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.hero::after {
  width: 34vmax; height: 34vmax;
  left: -16vmax; bottom: -20vmax;
  background: radial-gradient(circle, rgba(217,122,16,.13), transparent 62%);
  animation: drift-b 28s ease-in-out infinite alternate;
}
.hero > .wrap { position: relative; z-index: 1; }

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3.5%, 4%, 0) scale(1.07); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4%, -3.5%, 0) scale(1.09); }
}

/* ---------- Hero content settles in on load ---------- */
.js .hero__grid > * {
  animation: rise-in .8s var(--ease) both;
}
.js .hero__grid > *:nth-child(2) { animation-delay: .12s; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Header reacts to scrolling ---------- */
.site-header {
  transition: box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 6px 26px rgba(15, 61, 62, .10);
}
.site-header .wrap { transition: padding-block .35s var(--ease); }
.site-header.is-stuck .wrap { padding-block: .45rem; }

/* ---------- Cards lift toward the cursor ---------- */
.card {
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card--link:hover { transform: translateY(-5px); }

/* ---------- Photographs breathe inside a clipped frame ---------- */
/* A photograph is its own visual object. It does not need the white card
   frame that sits behind the SVG illustrations, which only surrounded it
   with dead space. */
.split__media--photo {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  /* A portrait at full column width overwhelms the text beside it */
  max-width: 340px;
  margin-inline: auto;
}
.photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .75s var(--ease);
}
.split__media:hover .photo img { transform: scale(1.035); }

/* ---------- Buttons ---------- */
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* ---------- Accordion panels ease open ---------- */
.faq details[open] .faq__body { animation: panel-in .38s var(--ease) both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.faq summary { transition: background-color .2s var(--ease); }
.faq summary::after { transition: transform .3s var(--ease), color .2s var(--ease); }

/* ---------- Navigation ---------- */
.site-nav a { transition: background-color .2s var(--ease), color .2s var(--ease); }
.info-list a, .site-footer a { transition: color .2s var(--ease); }

/* ---------- Timeline markers ---------- */
.timeline .timeline__body::before { transition: transform .3s var(--ease), background-color .3s var(--ease); }
.timeline li:hover .timeline__body::before { transform: translateX(-50%) scale(1.25); background: var(--teal-600); }

/* ---------- Honour the reduced-motion preference throughout ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after { animation: none; }
  .js .hero__grid > * { animation: none; }
  .faq details[open] .faq__body { animation: none; }
  .card:hover,
  .btn:hover,
  .split__media:hover .photo img,
  .timeline li:hover .timeline__body::before { transform: none; }
}
