/* Glowing Hearts Psychotherapy
   Built by Eagle Trust AI. Brand palette preserved from the existing site:
   #7BA3D7 (brand blue), #FBFDFF (page), #54595F (grey), Roboto / Roboto Slab.
   #7BA3D7 fails WCAG AA as text on white (2.3:1), so text, links and buttons use
   --brand-deep #2E5B8F: same hue, darker, 6.9:1 on white.
   Radius rule for the whole site: buttons pill, cards 16px, inputs 10px, images 16px. */

/* ---------- tokens ---------- */
:root {
  --bg:            #FBFDFF;
  --surface:       #FFFFFF;
  --surface-tint:  #EEF4FB;
  --surface-deep:  #2E5B8F;
  --ink:           #2B3038;
  --ink-2:         #54595F;
  --brand:         #7BA3D7;
  --brand-soft:    #C9DCF0;
  --brand-deep:    #2E5B8F;
  --brand-deeper:  #24486F;
  --line:          #DCE7F3;
  --btn-bg:        #2E5B8F;
  --btn-fg:        #FFFFFF;
  --btn-bg-hover:  #24486F;
  --shadow:        0 1px 2px rgba(46,91,143,.06), 0 8px 24px rgba(46,91,143,.07);
  --shadow-lift:   0 2px 4px rgba(46,91,143,.08), 0 14px 34px rgba(46,91,143,.12);

  --r-card: 16px;
  --r-btn: 999px;
  --r-input: 10px;
  --r-img: 16px;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);

  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Roboto Slab", Georgia, serif;

  --ease: cubic-bezier(.16,1,.3,1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:            #12161C;
    --surface:       #1A2029;
    --surface-tint:  #1E2733;
    --surface-deep:  #1E2733;
    --ink:           #E9EEF4;
    --ink-2:         #AAB5C2;
    --brand:         #7BA3D7;
    --brand-soft:    #33465C;
    --brand-deep:    #9DC0E7;
    --brand-deeper:  #B7D2F0;
    --line:          #2B3644;
    --btn-bg:        #9DC0E7;
    --btn-fg:        #10161D;
    --btn-bg-hover:  #B7D2F0;
    --shadow:        0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.28);
    --shadow-lift:   0 2px 4px rgba(0,0,0,.34), 0 14px 34px rgba(0,0,0,.36);
  }
}

/* ---------- 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; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
/* Icon default. Phosphor sources ship no width/height, so without this an icon
   in a context that has no sizing rule stretches to the container width. The
   context rules below (.btn svg, .checks svg, ...) are more specific and win. */
.ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.125em; }
/* Any image sized by a CSS height MUST also reset width. Otherwise the HTML width
   attribute supplies the width, max-width:100% clamps it to the container, and the
   fixed height squashes the image. The footer logo rendered 9:1 against a 4:1 source. */
.brand img, .footer-logo, .creds__list img { width: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.012em; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.03rem + .5vw, 1.4rem); }
p  { margin: 0 0 1.1em; max-width: 68ch; }
a  { color: var(--brand-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-deeper); }
ul, ol { padding-left: 1.15em; }
li { margin-bottom: .45em; }
:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-soft); color: var(--ink); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-tint); }
.lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.eyebrow {
  font: 600 .74rem/1 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-deep); margin: 0 0 .9rem;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--btn-bg); color: var(--btn-fg); padding: 12px 20px; border-radius: 0 0 var(--r-input) 0;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 13px 26px;
  border-radius: var(--r-btn); border: 1.5px solid transparent;
  font: 500 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .12s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
.btn--ghost { background: transparent; color: var(--brand-deep); border-color: var(--brand); }
.btn--ghost:hover { background: var(--surface-tint); color: var(--brand-deeper); border-color: var(--brand-deep); }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
.brand img { height: 40px; width: auto; }
@media (prefers-color-scheme: dark) { .brand img { filter: invert(1) hue-rotate(180deg) brightness(1.08); } }
.nav { display: flex; align-items: center; gap: 4px; }
/* :not(.btn) matters: `.nav a` out-specifies `.btn--primary` and would
   repaint the booking CTA dark-on-blue. Same reason in the footer below. */
.nav a:not(.btn) {
  display: inline-block; padding: 9px 12px; border-radius: var(--r-input);
  font-size: .95rem; color: var(--ink); text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav a:not(.btn):hover { background: var(--surface-tint); color: var(--brand-deep); }
.nav a[aria-current="page"] { color: var(--brand-deep); font-weight: 500; box-shadow: inset 0 -2px 0 var(--brand); }
.header-cta { flex: none; }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 10px 16px; background: transparent;
    border: 1.5px solid var(--line); border-radius: var(--r-btn);
    color: var(--ink); font: 500 .95rem var(--font-body); cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 22px; box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .header-cta { display: none; }
  .nav .btn { margin-top: 18px; }
}
@media (min-width: 1024px) { .nav .btn { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(44px, 6vw, 84px) var(--section-y); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
/* Hero headline is capped tighter than the global h1 so it holds 2 lines at desktop. */
.hero h1 { font-size: clamp(1.95rem, 1.4rem + 2vw, 2.8rem); margin-bottom: .35em; text-wrap: balance; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--r-img); box-shadow: var(--shadow-lift); width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero__badge {
  position: absolute; left: -14px; bottom: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 14px 20px; box-shadow: var(--shadow); max-width: 250px;
}
.hero__badge strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.hero__badge span { font-size: .85rem; color: var(--ink-2); }
@media (max-width: 899px) { .hero__badge { position: static; margin-top: 16px; max-width: none; } }

/* ---------- page head (interior pages) ---------- */
.page-head { background: var(--surface-tint); padding-block: clamp(44px, 6vw, 76px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .3em; }

/* ---------- registration statement ----------
   Replaces the old site's "Certificates & Accreditations" logo strip. The CRPO logo
   may not be used by registrants, and the university logos were staff alma maters
   rather than clinic accreditations, so registration is stated in text instead. */
.creds { border-block: 1px solid var(--line); padding-block: clamp(26px, 3.5vw, 38px); background: var(--surface); }
.creds__statement { max-width: 68ch; margin: 0 auto; text-align: center; color: var(--ink-2); font-size: 1rem; }
.creds__statement strong { color: var(--ink); font-weight: 500; }

/* ---------- generic grids ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 700px)  { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: clamp(22px, 3vw, 32px);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* ---------- concerns list (services on home) ---------- */
.concerns { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
@media (min-width: 620px)  { .concerns { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .concerns { grid-template-columns: repeat(3, 1fr); } }
.concerns > div { background: var(--surface); padding: clamp(22px, 3vw, 32px); }
.concerns h3 { font-size: 1.15rem; margin-bottom: .35em; }
.concerns p { font-size: .96rem; color: var(--ink-2); margin: 0; }

/* ---------- feature band ---------- */
.band { background: var(--surface-deep); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255,255,255,.86); }
.band a:not(.btn) { color: #fff; }
.band .btn--primary { background: #fff; color: #2E5B8F; }
.band .btn--primary:hover { background: #E8F0F9; color: #24486F; }
.band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.band .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
@media (prefers-color-scheme: dark) {
  .band { background: var(--surface-tint); color: var(--ink); border-block: 1px solid var(--line); }
  .band h2, .band h3 { color: var(--ink); }
  .band p { color: var(--ink-2); }
  .band a:not(.btn) { color: var(--brand-deep); }
  .band .btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
  .band .btn--primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
  .band .btn--ghost { color: var(--brand-deep); border-color: var(--brand); }
  .band .btn--ghost:hover { background: rgba(157,192,231,.14); color: var(--brand-deeper); }
}
.band__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .band__grid { grid-template-columns: 1.1fr .9fr; } }

/* ---------- steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.steps > li {
  counter-increment: step; position: relative;
  padding: 22px 0 22px 66px; margin: 0; border-bottom: 1px solid var(--line);
}
.steps > li:last-child { border-bottom: 0; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-tint); color: var(--brand-deep);
  border: 1.5px solid var(--brand-soft);
  font: 600 1.05rem/1 var(--font-head);
}
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--ink-2); }

/* ---------- team ---------- */
.team-grid { display: grid; gap: clamp(26px, 3.5vw, 40px); grid-template-columns: 1fr; }
@media (min-width: 640px)  { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.member__photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--surface-tint); }
.member__body { padding: clamp(20px, 2.6vw, 28px); display: flex; flex-direction: column; flex: 1; }
.member__body h3 { margin-bottom: .15em; }
.member__role { font-size: .9rem; color: var(--ink-2); margin: 0 0 1em; }
.member__body p { font-size: .97rem; }
.member__links { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .92rem; }

/* ---------- video facade (spec 7) ----------
   Poster + play button. The Vimeo iframe is injected on click, so no player, no
   third-party request and no page weight until the visitor asks for it. */
.video-facade { position: relative; width: 100%; aspect-ratio: var(--video-ratio, 4/5); background: var(--surface-tint); border-radius: var(--r-img); overflow: hidden; }
.video-facade__btn {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0;
  border: 0; background: none; cursor: pointer; display: block;
}
.video-facade__btn img { width: 100%; height: 100%; object-fit: cover; }
.video-facade__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--brand-deep);
  box-shadow: var(--shadow-lift);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.video-facade__play svg { width: 38px; height: 38px; }
.video-facade__btn:hover .video-facade__play { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.video-facade__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 16px 14px; color: #fff; font-size: .92rem; text-align: left;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
}
.video-facade__frame { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- map facade (spec 1.4) ---------- */
.map-facade { display: grid; place-content: center; gap: 10px; padding: 24px; text-align: center; background: var(--surface-tint); }
.map-facade__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 13px 22px; margin: 0 auto;
  border: 1.5px solid var(--brand); border-radius: var(--r-btn);
  background: var(--surface); color: var(--brand-deep);
  font: 500 .98rem/1 var(--font-body); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.map-facade__btn:hover { background: var(--bg); border-color: var(--brand-deep); }
.map-facade__btn svg { width: 20px; height: 20px; flex: none; }
.map-facade__note { margin: 0; font-size: .84rem; color: var(--ink-2); max-width: 40ch; }
.map-facade__frame { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- bio pages ---------- */
.bio { display: grid; gap: clamp(28px, 4vw, 52px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) { .bio { grid-template-columns: 340px 1fr; } }
.bio__aside img { border-radius: var(--r-img); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.bio__facts { margin-top: 22px; border-top: 1px solid var(--line); }
.bio__facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.bio__facts dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.bio__facts dd { margin: 0; font-size: .98rem; }
/* Owl has no per-therapist booking links, so the personal CTA needs this caveat. */
.bio__booknote { margin: 8px 0 0; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }

/* ---------- fees ---------- */
.fee-hero { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(32px, 5vw, 56px); }
.fee-hero__label { font: 600 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1.1rem; }
.fee-hero .amount { font: 600 clamp(3rem, 2rem + 5vw, 4.6rem)/1 var(--font-head); color: var(--brand-deep); display: block; font-variant-numeric: tabular-nums; }
.fee-hero .unit { display: block; color: var(--ink-2); margin-top: 6px; }
.fee-hero p { margin-inline: auto; }

/* ---------- fee tiers ---------- */
.tiers { margin-top: clamp(32px, 4vw, 52px); }
.tiers__list { margin: 1.4rem 0 0; border-top: 1px solid var(--line); }
.tiers__list > div {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  align-items: baseline; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.tiers__list dt { font-weight: 500; }
.tiers__list dd { margin: 0; font-variant-numeric: tabular-nums; }
.tiers__list dd strong { font-size: 1.2rem; color: var(--brand-deep); }
.tkbadge {
  display: inline-block; padding: 5px 12px; border-radius: var(--r-btn);
  background: var(--surface-tint); border: 1px dashed var(--brand);
  color: var(--ink-2); font-size: .86rem;
}

/* ---------- form privacy notice (spec 1.4) ---------- */
.form__phi {
  margin: 4px 0 0; padding: 16px 18px;
  background: var(--surface-tint); border: 1px solid var(--brand-soft);
  border-radius: var(--r-input); font-size: .92rem; color: var(--ink-2);
}
.form__phi strong { color: var(--ink); }

/* ---------- locations ---------- */
.loc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.loc__map { width: 100%; height: 260px; border: 0; display: block; background: var(--surface-tint); }
.loc__body { padding: clamp(22px, 3vw, 32px); }
.loc__body h3 { margin-bottom: .3em; }
.detail-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.detail-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: .7em; font-size: .98rem; }
.detail-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--brand-deep); }

/* ---------- checklist ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--brand-deep); }
.band .checks svg { color: #fff; }
@media (prefers-color-scheme: dark) { .band .checks svg { color: var(--brand-deep); } }

/* ---------- contact form ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .94rem; font-weight: 500; }
.field .hint { font-size: .86rem; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font: 400 1rem var(--font-body); color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r-input); padding: 13px 15px; min-height: 48px; width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
/* Border + soft ring for the look. The outline is deliberately NOT removed:
   the ring alone is ~1.3:1 on white and would not be a compliant focus indicator. */
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand-deep); box-shadow: 0 0 0 3px var(--brand-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); opacity: .8; }
.notice {
  background: var(--surface-tint); border: 1px solid var(--brand-soft);
  border-radius: var(--r-card); padding: 20px 24px;
}
.notice p:last-child { margin-bottom: 0; }
.notice--urgent { background: #FFF4F3; border-color: #EFC1BA; }
.notice--urgent strong { color: #8E2416; }
@media (prefers-color-scheme: dark) {
  .notice--urgent { background: #2A1A18; border-color: #5C302B; }
  .notice--urgent strong { color: #F2A79B; }
}

/* ---------- prose (privacy etc) ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

/* ---------- final CTA ---------- */
.cta-final { text-align: center; }
.cta-final .btn-row { justify-content: center; }
.cta-final p { margin-inline: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 68px) 32px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
/* h2, not h4: the footer follows section h2s and skipping to h4 breaks heading order. */
.site-footer .footer-head { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .15em; }
/* inline-block + padding gets these nav links to a 24px target (WCAG 2.2 AA). */
.site-footer a:not(.btn) { display: inline-block; padding-block: 4px; color: var(--ink); text-decoration: none; font-size: .96rem; }
.site-footer a:not(.btn):hover { color: var(--brand-deep); text-decoration: underline; }
.site-footer img.footer-logo { height: 48px; margin-bottom: 20px; }
@media (prefers-color-scheme: dark) { .site-footer img.footer-logo { filter: invert(1) hue-rotate(180deg) brightness(1.08); } }
/* ---------- crisis block (spec 1.3) ----------
   Every page, in the footer, plain HTML, never behind a click or a media query. */
.crisis {
  margin-top: clamp(36px, 4.5vw, 52px);
  padding: clamp(22px, 3vw, 30px);
  background: var(--surface-tint);
  border: 1px solid var(--brand-soft);
  border-left: 4px solid var(--brand-deep);
  border-radius: var(--r-card);
}
.crisis__head { font-family: var(--font-head); font-size: 1.1rem; margin: 0 0 .8em; color: var(--ink); }
.crisis__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.crisis__list li { margin: 0; font-size: .97rem; color: var(--ink-2); }
.crisis__list a {
  display: inline-block; min-height: 24px; padding: 2px 0;
  font-weight: 700; color: var(--brand-deep); text-decoration: underline;
  font-variant-numeric: tabular-nums; margin-right: .35em;
}
.crisis__list a:hover { color: var(--brand-deeper); }

.footer__legal {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .88rem; color: var(--ink-2);
}
.footer__legal p { margin: 0; max-width: none; }

/* ---------- scroll reveal (JS opt-in, content visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .btn:active { transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
