/* =========================================================================
   CMTHA — Canadian Miniature Therapy Horse Association
   Design system: "Trust & Authority" + "Accessible & Ethical" (WCAG AAA aim)
   Brand: royal purple (logo) + warm gold accent
   Type:  Lexend (headings) / Source Sans 3 (body)
   ========================================================================= */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand purple scale (from logo + tack) */
  --purple-50:  #f7f4fc;
  --purple-100: #efe7fa;
  --purple-200: #ddccf2;
  --purple-300: #c2a8e6;
  --purple-400: #a07cd6;
  --purple-500: #7d4fc0;
  --purple-600: #6334a3;   /* primary */
  --purple-700: #4f2a86;   /* logo ring */
  --purple-800: #3a1f63;
  --purple-900: #2a1747;

  /* Warm gold accent */
  --gold-300: #f3d98a;
  --gold-400: #e9c45f;
  --gold-500: #d9a82e;
  --gold-600: #b9871a;

  /* Neutrals (plum-tinted) */
  --ink:      #241a33;   /* foreground */
  --ink-soft: #4b4357;   /* secondary text */
  --muted:    #6a6376;
  --line:     #e7e1ef;
  --surface:  #ffffff;
  --surface-2:#faf8fd;
  --surface-3:#f3eefb;

  /* Semantic */
  --primary: var(--purple-600);
  --primary-strong: var(--purple-700);
  --accent: var(--gold-500);
  --success: #2f8f5b;
  --danger:  #c23b3b;

  /* Effects */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(42, 23, 71, .06), 0 2px 6px rgba(42, 23, 71, .05);
  --shadow:    0 6px 18px rgba(42, 23, 71, .08), 0 2px 6px rgba(42, 23, 71, .05);
  --shadow-lg: 0 24px 60px rgba(58, 31, 99, .16), 0 8px 24px rgba(58, 31, 99, .10);
  --shadow-glow: 0 18px 50px rgba(99, 52, 163, .35);

  --ring: 0 0 0 3px var(--surface), 0 0 0 6px var(--purple-400);

  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .45s;
}

/* ----------  Reset / base  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: "Lexend", system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
  font-weight: 700;
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: var(--primary-strong); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
strong { font-weight: 700; color: var(--ink); }

::selection { background: var(--purple-200); color: var(--purple-900); }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

/* ----------  Layout helpers  ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 1000;
  background: var(--purple-700); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 12px 12px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ----------  Eyebrow / headings  ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: "Lexend", sans-serif; font-weight: 600;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple-600);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--purple-500));
}
.eyebrow--center { justify-content: center; }

.h-display { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.h-1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.h-2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }
.measure { max-width: 64ch; }
.text-muted { color: var(--muted); }

.gradient-text {
  background: linear-gradient(100deg, var(--purple-600) 0%, var(--purple-500) 40%, var(--gold-500) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ----------  Buttons  ---------- */
.btn {
  --bg: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: "Lexend", sans-serif; font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; min-height: 48px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: #fff; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s;
  box-shadow: var(--shadow-sm);
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.06rem; min-height: 56px; }
.btn--accent { --bg: linear-gradient(120deg, var(--gold-500), var(--gold-400)); color: var(--purple-900); }
.btn--ghost {
  background: transparent; color: var(--primary-strong);
  border-color: var(--line); box-shadow: none;
}
.btn--ghost:hover { background: var(--surface-3); box-shadow: var(--shadow-sm); border-color: var(--purple-200); }
.btn--white { background: #fff; color: var(--purple-700); }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ----------  Header / nav  ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: "Lexend", sans-serif; font-weight: 700; color: var(--ink); }
.brand__mark { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; object-fit: contain; background: #fff; }
.brand__name { display: flex; flex-direction: column; gap: 1px; }
.brand__full { font-family: "Lexend", sans-serif; font-weight: 700; font-size: .92rem; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); max-width: 24ch; }
.brand__acr { font-family: "Lexend", sans-serif; font-weight: 600; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--purple-600); }
@media (max-width: 600px) { .brand__full { font-size: .8rem; max-width: 27ch; } .brand__mark { width: 40px; height: 40px; } }

.nav__links { display: flex; align-items: center; gap: .2rem; list-style: none; padding: 0; }
.nav__links a {
  font-family: "Lexend", sans-serif; font-weight: 500; font-size: .95rem;
  color: var(--ink-soft); padding: .55rem .68rem; border-radius: 10px;
  position: relative; transition: color .2s, background .2s; white-space: nowrap;
}
.nav__links a:hover { color: var(--purple-700); background: var(--surface-3); }
.nav__links a[aria-current="page"] { color: var(--purple-700); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: .68rem; right: .68rem; bottom: .2rem; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--purple-500), var(--gold-500));
}
.nav__cta { display: flex; align-items: center; gap: .6rem; }

.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle svg { width: 24px; height: 24px; stroke: var(--purple-700); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 74px 0 0 0; z-index: 99;
  background: rgba(255,255,255,.98); backdrop-filter: blur(8px);
  padding: 1.5rem var(--gutter) 3rem;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: "Lexend", sans-serif; font-weight: 600; font-size: 1.3rem;
  color: var(--ink); padding: 1rem .25rem; border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover { color: var(--purple-700); }
.mobile-menu .btn { margin-top: 1.5rem; }

/* Show the hamburger + mobile menu, hide the desktop nav, on small screens.
   This block must come AFTER the base .mobile-menu rule so its display:block wins.
   Breakpoint kept high enough that the full brand name + all nav links + the
   "Request a Visit" button never crowd or wrap; below it we use the mobile menu. */
@media (max-width: 1300px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .mobile-menu { display: block; }
}

/* ----------  Hero  ---------- */
.hero { position: relative; overflow: clip; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 18% 12%, rgba(125, 79, 192, .18), transparent 60%),
    radial-gradient(50% 50% at 92% 18%, rgba(217, 168, 46, .16), transparent 60%),
    linear-gradient(180deg, var(--surface-3) 0%, var(--surface) 60%);
}
.hero__bg::before { /* dotted grid */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(99, 52, 163, .10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(75% 65% at 50% 30%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .5; z-index: -1; }
.blob--1 { width: 360px; height: 360px; background: radial-gradient(circle, #b58be0, transparent 70%); top: -80px; right: 4%; animation: float 14s var(--ease) infinite; }
.blob--2 { width: 300px; height: 300px; background: radial-gradient(circle, #f0d27a, transparent 70%); bottom: -60px; left: -40px; animation: float 18s var(--ease) infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(26px) translateX(-18px); } }

.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding-block: clamp(2.5rem, 7vw, 5.5rem);
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .9rem .4rem .5rem; font-size: .85rem; font-weight: 600;
  font-family: "Lexend", sans-serif; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.pill__dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--purple-100); color: var(--purple-700); }
.pill__dot svg { width: 14px; height: 14px; }
.pill--on-dark { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); color: #fff; box-shadow: none; }
.pill--on-dark .pill__dot { background: rgba(255, 255, 255, .18); color: #fff; }

/* ----------  Event announcement banner  ---------- */
.event-banner {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(1.1rem, 3vw, 2.4rem);
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  color: #fff; border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3.5vw, 2.4rem) clamp(1.4rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .08);
  position: relative; overflow: hidden;
}
.event-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 140% at 100% 0%, rgba(233, 196, 95, .22), transparent 55%);
}
.event-banner > * { position: relative; }
.event-banner__date {
  flex: 0 0 auto; display: grid; place-items: center; text-align: center;
  width: 92px; height: 92px; border-radius: var(--radius); line-height: 1;
  background: linear-gradient(140deg, var(--gold-400), var(--gold-500));
  color: var(--purple-900); box-shadow: var(--shadow);
  font-family: "Lexend", sans-serif;
}
.event-banner__month { font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.event-banner__day { font-size: 2.2rem; font-weight: 700; margin-top: .15rem; }
.event-banner__body { flex: 1 1 280px; min-width: 0; }
.event-banner__title { font-family: "Lexend", sans-serif; font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.65rem); color: #fff; }
.event-banner__text { margin-top: .5rem; color: rgba(255, 255, 255, .88); max-width: 62ch; }
.event-banner__text strong { color: var(--gold-300); }
.event-banner__cta { flex: 0 0 auto; display: flex; flex-direction: column; gap: .7rem; }
.event-banner__cta .btn { justify-content: center; }
@media (max-width: 720px) {
  .event-banner__cta { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .event-banner__cta .btn { flex: 1 1 auto; }
}

.hero h1 { margin-top: 1.1rem; }
.hero .lead { margin-top: 1.2rem; }
.hero .btn-group { margin-top: 1.8rem; }

.hero__trust { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center; }
.hero__trust-item { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--ink-soft); }
.hero__trust-item svg { width: 22px; height: 22px; color: var(--success); flex: 0 0 auto; }

/* Hero media — framed photo */
.hero__media { position: relative; }
.hero__photo {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--surface-3);
  border: 1px solid var(--line);
}
.hero__photo img { width: 100%; height: 100%; object-fit: contain; }

/* ----------  Image placeholder (until real photos added)  ---------- */
.ph {
  width: 100%; height: 100%; min-height: 220px; display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 30% 10%, var(--purple-300), transparent 60%),
    linear-gradient(140deg, var(--purple-600), var(--purple-800));
  color: rgba(255,255,255,.92);
}
.ph svg { width: 64px; height: 64px; opacity: .9; }
.ph span { position: absolute; bottom: 10px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ----------  Marquee logos / trust strip  ---------- */
.trust-strip { border-block: 1px solid var(--line); background: var(--surface-2); }
.trust-strip__inner { display: flex; align-items: center; gap: clamp(1.5rem,5vw,3.5rem); flex-wrap: wrap; justify-content: center; padding-block: 1.6rem; }
.trust-strip__inner span { font-family: "Lexend", sans-serif; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; }
.trust-strip__inner svg { width: 20px; height: 20px; color: var(--purple-500); }

/* ----------  Stats  ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2,1fr); } }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem; text-align: center; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--purple-500), var(--gold-500)); }
.stat__num { font-family: "Lexend", sans-serif; font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--purple-700); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: .5rem; color: var(--ink-soft); font-size: .95rem; }

/* ----------  Cards  ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--purple-200); }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--purple-100), var(--surface-3));
  color: var(--purple-700); margin-bottom: 1.1rem; border: 1px solid var(--purple-100);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card--accent .card__icon { background: linear-gradient(140deg, var(--gold-300), #fff5dc); color: var(--gold-600); border-color: var(--gold-300); }
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card__photo { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.card__photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card__photo .ph { min-height: 0; }
.card--photo > :not(.card__photo) { padding-inline: 1.7rem; }
.card--photo h3 { margin-top: 1.2rem; }
.card--photo > p:last-child { padding-bottom: 1.7rem; }

/* Benefit cards with top tint */
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); height: 100%; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit__head { padding: 1.4rem 1.5rem; color: #fff; display: flex; align-items: center; gap: .8rem; }
.benefit__head svg { width: 30px; height: 30px; }
.benefit__head h3 { color: #fff; font-size: 1.25rem; }
.benefit--mind .benefit__head { background: linear-gradient(120deg, var(--purple-600), var(--purple-800)); }
.benefit--body .benefit__head { background: linear-gradient(120deg, #2f8f5b, #1f6b43); }
.benefit--autism .benefit__head { background: linear-gradient(120deg, var(--gold-500), var(--gold-600)); }
.benefit__body { padding: 1.4rem 1.5rem; }
.benefit__body li { list-style: none; padding-left: 1.9rem; position: relative; margin-block: .8rem; color: var(--ink-soft); }
.benefit__body li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px;
  background: var(--purple-100); border-radius: 50%;
}
.benefit__body li::after {
  content: ""; position: absolute; left: 5px; top: .58em; width: 8px; height: 5px;
  border-left: 2px solid var(--purple-600); border-bottom: 2px solid var(--purple-600);
  transform: rotate(-45deg);
}
.benefit--body .benefit__body li::before { background: #e2f3ea; }
.benefit--body .benefit__body li::after { border-color: var(--success); }
.benefit--autism .benefit__body li::before { background: #fbf0d2; }
.benefit--autism .benefit__body li::after { border-color: var(--gold-600); }

/* ----------  Steps / process  ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.step__num {
  counter-increment: step; width: 52px; height: 52px; flex: 0 0 auto;
  display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(140deg, var(--purple-600), var(--purple-800)); color: #fff;
  font-family: "Lexend", sans-serif; font-weight: 700; font-size: 1.3rem;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.18rem; margin-bottom: .3rem; }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* ----------  Split feature  ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; border: 1px solid var(--line); background: var(--surface-2); }
.split__media img { width: 100%; height: 100%; object-fit: contain; }

.checklist { list-style: none; padding: 0; display: grid; gap: .9rem; margin-top: 1.4rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.checklist svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--purple-600); margin-top: 1px; }
.checklist b { font-family: "Lexend", sans-serif; }
.checklist--compact { gap: .7rem; margin-top: .9rem; font-size: .95rem; }
.checklist--compact svg { width: 20px; height: 20px; }

/* ----------  Quote / science highlight  ---------- */
.science {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-900));
  color: #fff; border-radius: var(--radius-xl); padding: clamp(2rem, 5vw, 3.5rem);
  position: relative; overflow: hidden;
}
.science::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(217,168,46,.3), transparent 70%); }
.science h2 { color: #fff; }
.science .lead { color: rgba(255,255,255,.85); }
.hormones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
@media (max-width: 700px) { .hormones { grid-template-columns: repeat(2,1fr); } }
.hormone { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 1.1rem; backdrop-filter: blur(6px); }
.hormone__tag { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; font-family: "Lexend",sans-serif; }
.hormone strong { display: block; color: #fff; font-family: "Lexend",sans-serif; font-size: 1.1rem; margin-top: .2rem; }
.hormone.is-down .hormone__tag { color: #f0a9a9; }
.hormone span { font-size: .88rem; color: rgba(255,255,255,.75); }

/* ----------  CTA band  ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--purple-700), var(--purple-600) 55%, var(--purple-500));
  color: #fff; padding: clamp(2.2rem, 6vw, 4rem); text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin-inline: auto; }
.cta-band .btn-group { justify-content: center; margin-top: 1.8rem; }

/* ----------  FAQ accordion  ---------- */
.faq { display: grid; gap: .8rem; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 1.2rem 1.4rem;
  font-family: "Lexend", sans-serif; font-weight: 600; font-size: 1.06rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 12px; height: 12px; flex: 0 0 auto;
  border-right: 2.5px solid var(--purple-600); border-bottom: 2.5px solid var(--purple-600);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item .faq__body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

/* ----------  Directory (Find a Team)  ---------- */
.dir-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
@media (max-width: 720px) { .dir-toolbar { grid-template-columns: 1fr; } }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search-field input {
  width: 100%; padding: .9rem 1rem .9rem 2.8rem; font: inherit; min-height: 52px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.search-field input:focus { outline: none; border-color: var(--purple-400); box-shadow: 0 0 0 4px var(--purple-100); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-family: "Lexend", sans-serif; font-weight: 500; font-size: .9rem;
  padding: .55rem 1rem; min-height: 44px; display: inline-flex; align-items: center;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--purple-300); color: var(--purple-700); }
.chip[aria-pressed="true"] { background: var(--purple-700); border-color: var(--purple-700); color: #fff; }

.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.team-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column; gap: .9rem;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card__top { display: flex; align-items: center; gap: .9rem; }
.team-card__avatar { width: 54px; height: 54px; border-radius: 14px; flex: 0 0 auto; display: grid; place-items: center; background: linear-gradient(140deg, var(--purple-600), var(--purple-800)); color: #fff; font-family: "Lexend",sans-serif; font-weight: 700; font-size: 1.2rem; }
.team-card__name { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 1.1rem; }
.team-card__handler { font-size: .9rem; color: var(--muted); }
.team-card__row { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink-soft); }
.team-card__row svg { width: 18px; height: 18px; color: var(--purple-500); flex: 0 0 auto; }
.team-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: .9rem; border-top: 1px solid var(--line); }
.badge {
  display: inline-flex; align-items: center; gap: .35rem; font-family: "Lexend", sans-serif;
  font-weight: 600; font-size: .8rem; padding: .35rem .7rem; border-radius: 999px;
}
.badge svg { width: 14px; height: 14px; }
.badge--verified { background: #e4f5ec; color: #1f6b43; }
.badge--expiring { background: #fdf1d8; color: #8a6112; }
.dir-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); display: none; }
.dir-empty.is-visible { display: block; }
.dir-count { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }

/* ----------  Forms  ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-family: "Lexend", sans-serif; font-weight: 600; font-size: .92rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font: inherit; padding: .8rem 1rem; min-height: 50px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--ink); width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple-400); box-shadow: 0 0 0 4px var(--purple-100); }
.field small { color: var(--muted); font-size: .85rem; }
.form__note { font-size: .9rem; color: var(--muted); }
.form-success { display: none; background: #e4f5ec; border: 1px solid #b8e3ca; color: #1f6b43; padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; font-family: "Lexend",sans-serif; }
.form-success.is-visible { display: flex; align-items: center; gap: .6rem; }
.form-error { display: none; background: #fbeaea; border: 1px solid #eec2c2; color: var(--danger); padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; font-family: "Lexend",sans-serif; }
.form-error.is-visible { display: flex; align-items: center; gap: .6rem; }

/* ----------  Info panel / contact aside  ---------- */
.panel { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; }
.panel h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.contact-line { display: flex; align-items: center; gap: .8rem; margin-block: .9rem; color: var(--ink-soft); }
.contact-line svg { width: 22px; height: 22px; color: var(--purple-600); flex: 0 0 auto; }

/* ----------  Page hero (interior)  ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--surface-3), var(--surface)); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 0%, rgba(217,168,46,.14), transparent 60%); }
.page-hero__inner { position: relative; padding-block: clamp(2.5rem, 7vw, 4.5rem); max-width: 70ch; }
.breadcrumbs { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--purple-600); }
.breadcrumbs span { color: var(--muted); }

/* ----------  Footer  ---------- */
.site-footer { background: var(--purple-900); color: rgba(255,255,255,.78); padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand__full { color: #fff; }
.site-footer .brand__acr { color: var(--gold-300); }
.footer-about { max-width: 34ch; margin-top: 1rem; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-family: "Lexend",sans-serif; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .65rem; }
.footer-col a { color: rgba(255,255,255,.78); font-size: .96rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .88rem; color: rgba(255,255,255,.6); }

/* ----------  Scroll reveal  ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .blob { animation: none !important; }
  .btn:hover, .card:hover, .team-card:hover, .step:hover, .benefit:hover { transform: none; }
}

/* ----------  Utilities  ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.flow > * + * { margin-top: 1.1rem; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem,5vw,3.5rem); }
