/* =========================================================================
   Dr Tabitha Backhouse Spriggs — Clinical Psychologist
   Design system v2 — "steady ground".
   Direction (via ui-ux-pro-max + frontend-design): restrained editorial
   minimalism. Warm ivory paper, deep slate ink drawn from the accent family
   so the page reads cool-warm and cohesive, Fraunces serif on the big
   statements only, one terracotta spark used as the signature (a hand-drawn
   underline + a warm tick before each section label). Generous negative space,
   hairline "ground lines" every section sits on, quiet scroll-reveals.
   ========================================================================= */

/* ---- Fonts (self-hosted — no third-party CDN, faster + GDPR-clean) ------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;            /* variable range covers body 400 → labels 600 */
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-var.woff2') format('woff2');
}

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* Palette — warm ivory paper, deep slate ink, slate-blue accent, one warm spark */
  --paper:        #f4f1ea;   /* warm ivory base (brand)                     */
  --paper-2:      #ebe6db;   /* slightly deeper panel tone                  */
  --ink:          #1c2a36;   /* deep slate ink (from the accent family)     */
  --ink-soft:     #4b5964;   /* secondary text                             */
  --muted:        #66717a;   /* captions, meta, eyebrows                   */
  --line:         rgba(28, 42, 54, 0.14);  /* hairline rules               */
  --line-soft:    rgba(28, 42, 54, 0.08);
  --accent:       #2c4159;   /* slate blue — links, buttons, markers       */
  --accent-hover: #21324a;
  --on-accent:    #f4f1ea;
  --warm:         #b4623c;   /* terracotta — the signature spark, used rarely */

  /* Typography */
  /* One typeface across the whole site — Fraunces (the opening-paragraph font) */
  --font:         'Fraunces', Georgia, 'Times New Roman', serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-label:   'Fraunces', Georgia, 'Times New Roman', serif;

  /* Fluid type scale */
  --step-eyebrow: clamp(0.72rem, 0.68rem + 0.15vw, 0.8rem);
  --step-body:    clamp(1rem, 0.96rem + 0.2vw, 1.15rem);
  --step-lead:    clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  --step-h3:      clamp(1.3rem, 1.1rem + 0.9vw, 1.9rem);
  --step-h2:      clamp(2rem, 1.35rem + 2.9vw, 3.8rem);
  --step-h1:      clamp(2.7rem, 1.5rem + 5vw, 6.2rem);

  /* Fluid spacing (spacious — density dial 3/10) */
  --space-xs: clamp(0.5rem, 0.4rem + 0.4vw, 0.75rem);
  --space-s:  clamp(0.85rem, 0.7rem + 0.6vw, 1.25rem);
  --space-m:  clamp(1.35rem, 1.05rem + 1.3vw, 2.25rem);
  --space-l:  clamp(2.25rem, 1.5rem + 3vw, 4rem);
  --section:  clamp(4.5rem, 2.8rem + 7vw, 10rem);

  --container: 1240px;
  --pad-x: clamp(1.25rem, 0.5rem + 4.5vw, 5.5rem);
  --radius: 2px;
  --nav-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

/* Display headings — Fraunces, used with restraint on the big statements */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 420;
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  margin: 0;
  text-wrap: balance;
}
h3, h4 {
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- Layout helpers ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: clamp(2.5rem, 1.6rem + 2.8vw, 4.5rem); }
.section--tight { padding-block: clamp(2.5rem, 1.6rem + 3.6vw, 5rem); }
.section--alt { background: var(--paper-2); }

/* Deep-blue inverted section — flips the colour tokens so text, hairlines and
   markers read correctly on a dark ground. */
.section--dark {
  background: #1d3452;
  color: #f4f1ea;
  --ink: #f4f1ea;
  --ink-soft: #cbd3dc;
  --muted: #94a1af;
  --line: rgba(244, 241, 234, 0.18);
  --line-soft: rgba(244, 241, 234, 0.09);
}
/* Trim the empty space above each section heading */
#about, #areas, #how-i-work, #fees, #contact { padding-top: clamp(1.75rem, 1.2rem + 2vw, 3rem); }

/* "Ground line" — the recurring hairline every section sits on. Applied to
   section boundaries so the whole page reads as sitting on steady ground. */
.section + .section,
.section + .section--alt,
main > .section { border-top: 1px solid var(--line); }
.hero + .section { border-top: 0; }

.section__head { max-width: 54ch; margin-bottom: var(--space-l); }
#areas .section__head { max-width: none; }   /* let the Areas lead run full width */
#contact .section__head { max-width: none; margin-bottom: var(--space-m); }   /* full-width lead + tighter gap */

/* ---- Eyebrow (small caps label + warm tick) ----------------------------- */
.eyebrow {
  font-family: var(--font-label);
  font-size: calc(var(--step-eyebrow) * 1.05);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--warm);           /* the warm tick — signature echo */
  border-radius: 2px;
  flex: none;
}
.eyebrow--block { display: inline-flex; margin-bottom: var(--space-l); }

.lead { font-size: var(--step-lead); line-height: 1.32; color: var(--ink); font-weight: 400; font-family: var(--font-display); letter-spacing: -0.01em; }

/* ---- Buttons / links ---------------------------------------------------- */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 500;
  color: var(--accent);
  font-size: var(--step-body);
  padding-block: 0.15em;
  border-bottom: 1px solid transparent;
  transition: gap 0.3s ease, border-color 0.3s ease, color 0.2s ease;
}
.arrow-link .arw { transition: transform 0.3s ease; display: inline-block; }
.arrow-link:hover { gap: 0.85em; color: var(--accent-hover); border-bottom-color: currentColor; }
.arrow-link--warm, .arrow-link--warm:hover { color: var(--warm); }
.arrow-link:hover .arw { transform: translateX(3px); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 500;
  padding: 0.95em 1.5em;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn .arw { transition: transform 0.3s ease; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:hover .arw { transform: translateX(3px); }

/* ---- Navigation --------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;   /* name | centred links | actions */
  align-items: center;
  gap: var(--space-m);
}
.wordmark { justify-self: start; }
.nav__menu { justify-self: center; }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: var(--space-s); }
.wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark__name { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em; }
.wordmark__role { font-family: var(--font-label); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--warm); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: var(--space-m); }
.nav__links a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.25em;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__links a[aria-current] { color: var(--ink); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.62em 1.15em;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__cta:hover { background: var(--accent); color: var(--on-accent); }
.nav__cta .arw { transition: transform 0.3s ease; }
.nav__cta:hover .arw { transform: translateX(3px); }

.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px;
  padding: 0;
}
.nav__toggle span { display: block; height: 1.5px; width: 24px; background: var(--ink); transition: transform 0.3s ease, opacity 0.2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__inner { display: flex; justify-content: space-between; }
  .nav__toggle { display: flex; }
  .nav__actions { gap: var(--space-xs); }
  .nav__cta { font-size: 0.82rem; padding: 0.5em 0.9em; }
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-s) var(--pad-x) var(--space-l);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav__menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav__links a { font-size: 1.4rem; padding-block: 0.6em; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
  overflow: clip;
  /* Fill the screen below the nav, with the text centred in that space */
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* keep hero content above the decorative line texture */
.hero > .container { position: relative; z-index: 1; }

/* ---- Line texture (decorative canvas background) ------------------------ */
/* Mounts a <canvas> of fine terracotta wedge-lines that radiate from the
   bottom-right corner (narrow at the corner, widening outward) and drift
   gently. A radial mask anchored at that corner both caps the reach at ~3/4
   of the area and — as --reveal animates 0→1 — makes the fan grow outward
   from the corner. Drop <div class="line-texture"></div> into any
   position:relative container. Settings live in main.js; per-instance
   overrides via data-* attributes. */
@property --reveal { syntax: '<number>'; inherits: false; initial-value: 0; }

.line-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  --reveal: 0;
  opacity: 0;
  -webkit-mask-image: radial-gradient(circle at 100% 100%, #000 calc(var(--reveal) * 46%), transparent calc(var(--reveal) * 68%));
          mask-image: radial-gradient(circle at 100% 100%, #000 calc(var(--reveal) * 46%), transparent calc(var(--reveal) * 68%));
  transition: --reveal 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
}
.line-texture.is-in { --reveal: 1; opacity: 1; }
.line-texture canvas { display: block; }

@media (prefers-reduced-motion: reduce) {
  .line-texture { transition: none; }
}

.hero__eyebrow { margin-bottom: var(--space-m); }
.hero h1 {
  font-size: clamp(2.4rem, 1.5rem + 3.8vw, 5rem);
  max-width: 16ch;
  margin: 0;
}
/* Top eyebrow sits flush-left with the headline (no leading tick) */
.hero__eyebrow::before { display: none; }

/* Signature — the hand-drawn "steady ground" underline under one word */
.mark { position: relative; white-space: nowrap; }
.mark__line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.14em;
  width: 100%;
  height: 0.36em;
  color: var(--warm);
  overflow: visible;
  /* draw-on once the hero reveals */
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}
[data-reveal].is-visible .mark__line,
h1.is-visible .mark__line { stroke-dashoffset: 0; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-m) clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: 0;
}
.hero__lead { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-l); }
.hero__lead .hero__cta { margin-top: 0; }
.hero__statement { max-width: none; }
.hero__statement .statement { max-width: none; opacity: 0; will-change: opacity; }
.hero__statement .hl { color: var(--warm); }   /* only the first line is orange */
.hero__cta { margin-top: var(--space-l); display: flex; flex-wrap: wrap; gap: var(--space-m); align-items: center; }
.hero__figure {
  margin-top: var(--space-l);
  aspect-ratio: 16 / 7;
  width: 100%;
}
@media (max-width: 780px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .mark__line { stroke-dashoffset: 0; transition: none; }
}

/* ---- Image placeholder treatment (no photography yet) ------------------- */
.imgslot {
  background: linear-gradient(135deg, var(--paper-2), color-mix(in srgb, var(--accent) 14%, var(--paper-2)));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: var(--step-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.imgslot::after {
  content: attr(data-label);
  padding: 0.5em 0.9em;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: color-mix(in srgb, var(--paper) 70%, transparent);
}

/* ---- Two-column editorial split ----------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.65fr);
  gap: var(--space-l);
}
.split--approach, .split--also { margin-top: var(--space-l); padding-top: var(--space-l); border-top: 1px solid var(--line); }
.split--also { padding-top: 0; border-top: 0; }   /* accordion already closes with its own rule */
.split__aside { position: sticky; top: calc(var(--nav-h) + var(--space-m)); align-self: start; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: var(--space-m); }
  .split__aside { position: static; }
}
.statement { font-family: var(--font-display); font-size: var(--step-h3); line-height: 1.28; letter-spacing: -0.01em; max-width: 26ch; font-weight: 400; }
.statement + .statement { margin-top: var(--space-m); }
.statement--soft { color: var(--ink-soft); }
.prose-narrow { max-width: 52ch; color: var(--ink-soft); }

/* ---- About: portrait + intro + credentials ------------------------------ */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);   /* high-res portrait; well within native 922px */
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: var(--space-l);
  border-top: 1px solid var(--line);
}
.about__portrait {
  display: block;
  width: 100%;
  height: auto;                              /* natural 4:5 — never cropped */
  border-radius: var(--radius);
  /* photo is already black & white — no CSS filter needed */
}
.about__bio { color: var(--ink-soft); max-width: 56ch; }
.about__bio strong { color: var(--ink); font-weight: 500; }
.about__bio + .about__bio { margin-top: var(--space-m); }
.about__bio--lead { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); line-height: 1.42; color: var(--ink); }

/* Beneath the portrait: My approach (left) | Education + Experience stacked (right) */
.about__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  margin-top: var(--space-l);
  align-items: start;
}
.about__col { border-top: 1px solid var(--line); padding-top: var(--space-m); }
.about__col h3 {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-m);
}
.about__col p { color: var(--ink-soft); }
.cred__intro { margin-bottom: var(--space-m); max-width: 46ch; }
.about__col--approach p { margin-bottom: var(--space-m); max-width: 46ch; }
.about__col-stack { display: grid; gap: var(--space-l); align-content: start; }
.about__experience { margin-top: var(--space-l); }
.exp-list { display: grid; grid-template-columns: 1fr; gap: var(--space-s); }
.exp-list li { max-width: none; }

/* Descriptive bullets (My approach) reuse the ring marker with a label + note */
.cred__list--desc { gap: 0.9em; }
.cred__list--desc li { color: var(--ink-soft); }
.cred__list li strong { color: var(--ink); font-weight: 500; }

@media (max-width: 720px) {
  .about__cols { grid-template-columns: 1fr; gap: 0; }
  .about__col-stack { gap: 0; }
  .about__col { padding-block: var(--space-m); }
  .exp-list { grid-template-columns: 1fr; }
}

.cred { margin-top: var(--space-l); }
.cred:first-child { margin-top: 0; }
.about__bio + .cred { margin-top: var(--space-l); }
.cred__label {
  font-family: var(--font-label);
  font-size: calc(var(--step-eyebrow) * 1.05);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: var(--space-s);
}
.cred__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6em; }
.cred__list li { color: var(--ink); padding-left: 1.35em; position: relative; }
.cred__list li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 0.5em; height: 0.5em;
  border-radius: 50%;
  border: 1.5px solid var(--warm);
}
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; gap: var(--space-l); }
  .about__portrait { max-width: 340px; }
}

/* ---- Areas (parallel categories — deliberately NOT numbered) ------------ */
/* ---- Areas v2: other issues (left, small) | specialisms (right, large) -- */
.areas2 {
  display: grid;
  grid-template-columns: 1.3fr 1fr;   /* specialism boxes (left) | other issues (right) */
  grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
.areas2__label { grid-column: 1; grid-row: 1; color: var(--warm); margin-bottom: var(--space-m); font-weight: 600; }
.areas2__intro { grid-column: 2; grid-row: 1; color: var(--ink-soft); margin-bottom: var(--space-m); max-width: 42ch; font-weight: 600; }
.areas2__main { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.areablock { flex: 1; display: flex; align-items: center; padding-block: var(--space-s); border-bottom: 1px solid var(--line); }
.areablock__title {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem);
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-bottom: 0;
}
.areas2__list { grid-column: 2; grid-row: 2; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.areas2__list li { padding: 0.6em 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 1.05rem; }
@media (max-width: 720px) {
  .areas2 { grid-template-columns: 1fr; grid-template-rows: none; column-gap: 0; }
  .areas2__label, .areas2__intro, .areas2__main, .areas2__list { grid-column: 1; grid-row: auto; }
  .areablock { flex: none; }
}

.areas { display: grid; gap: 0; }
.area {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  column-gap: var(--space-l);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-right: 2.5rem;   /* reserve room at the far right for the +/× toggle */
}
.area:last-child { border-bottom: 1px solid var(--line); }
.area__title {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.95rem + 0.55vw, 1.4rem);
  font-weight: 420;
  letter-spacing: -0.015em;
  padding-block: var(--space-s);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.area__title::-webkit-details-marker { display: none; }
.area__title:hover { color: var(--accent); }
.area__title::after {
  content: "+";
  position: absolute;
  right: 0;
  top: var(--space-s);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--accent);
  transition: transform 0.3s ease;
}
.area[open] .area__title::after { transform: rotate(45deg); }
.area__body {
  grid-column: 2;
  color: var(--ink-soft);
  max-width: 60ch;
  padding-block: var(--space-s);
}
.area[open] .area__body { animation: areaReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes areaReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .area[open] .area__body { animation: none; } }
@media (max-width: 720px) {
  .area { grid-template-columns: 1fr; }
  .area__body { grid-column: 1; padding-top: 0; padding-bottom: var(--space-m); }
}

/* ---- Facts / credibility strip ------------------------------------------ */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-m);
  border-top: 1px solid var(--line);
  padding-top: var(--space-l);
}
.fact__k { font-family: var(--font-display); font-size: var(--step-h3); font-weight: 420; letter-spacing: -0.01em; }
.fact__v { color: var(--muted); font-size: 0.95rem; margin-top: 0.45em; max-width: 24ch; }
@media (max-width: 820px) { .facts { grid-template-columns: repeat(2, 1fr); gap: var(--space-l) var(--space-m); } }
@media (max-width: 460px) { .facts { grid-template-columns: 1fr; } }

/* ---- Steps (how it works — a genuine sequence, so numbered) ------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-l); list-style: none; margin: 0; padding: 0; }
.step__num { font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: var(--space-s); display: flex; align-items: center; gap: 0.6em; }
.step__num::before { content: ""; width: 1.4rem; height: 1px; background: currentColor; }
.step h3 { font-family: var(--font-display); font-weight: 420; letter-spacing: -0.015em; font-size: var(--step-h3); margin-bottom: var(--space-xs); }
.step p { color: var(--ink-soft); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; gap: var(--space-m); } }

/* ---- Fees / CTA band ---------------------------------------------------- */
.cta-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-l); align-items: start; }
.cta-band h2 { font-size: clamp(1.55rem, 1.2rem + 1.7vw, 2.6rem); max-width: 18ch; }
.cta-band__meta { display: grid; gap: 0; }
.meta-row { display: flex; justify-content: space-between; gap: var(--space-m); padding-block: 0.85em; border-bottom: 1px solid var(--line); }
.meta-row:first-child { border-top: 1px solid var(--line); }
.meta-row dt { color: var(--muted); }
.meta-row dd { margin: 0; font-weight: 500; text-align: right; }
@media (max-width: 780px) { .cta-band { grid-template-columns: 1fr; } }

/* ---- Prose (body copy) -------------------------------------------------- */
.prose { max-width: 60ch; color: var(--ink-soft); }
.prose p + p { margin-top: var(--space-m); }
.prose strong { font-weight: 600; color: var(--ink); }
.approach-list { padding-left: 0; margin: var(--space-m) 0; list-style: none; }
.approach-list li { margin-block: 0.7em; color: var(--ink-soft); padding-left: 1.3em; position: relative; }
.approach-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5em; height: 0.5em; border-radius: 50%; border: 1.5px solid var(--warm); }
.approach-list strong { font-weight: 600; color: var(--ink); }

/* ---- "Also very welcome" grid (directory-style, not bubbles) ------------- */
.welcome-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.welcome-grid li {
  padding: 0.8em 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1.05rem;
}
@media (max-width: 640px) { .welcome-grid { grid-template-columns: repeat(2, 1fr); } }
.welcome { margin-top: var(--space-m); }   /* equal to the intro's bottom margin, so it sits centred between the hairlines */
.welcome .prose-narrow { max-width: none; }   /* use the full page width, fewer wrapped lines */

/* ---- Contact ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-l); align-items: start; }
.contact-email { margin-top: var(--space-m); font-size: var(--step-h3); font-weight: 500; }
.fine-print { color: var(--muted); font-size: 0.95rem; max-width: 42ch; }
.contact-body .prose-narrow, .contact-body .fine-print { max-width: none; }   /* stretch contact text full width */
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- Callout / crisis box ----------------------------------------------- */
.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--warm);
  border-radius: var(--radius);
  padding: var(--space-l);
  background: var(--paper-2);
}
.callout h3 { font-size: var(--step-h3); margin-bottom: var(--space-s); }
.callout__intro { color: var(--ink-soft); margin-bottom: var(--space-m); }
.callout ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6em; }
.callout li { display: flex; gap: 0.6em; color: var(--ink-soft); }
.callout li strong { color: var(--ink); font-weight: 600; }

/* Full-width crisis band (moved out of Contact) — list in two columns */
.callout--wide { padding: var(--space-l); }
.callout--wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7em var(--space-l); margin-top: var(--space-s); }
@media (max-width: 640px) { .callout--wide ul { grid-template-columns: 1fr; } }

/* ---- Footer ------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: var(--space-l); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--space-l); }
.footer__brand .wordmark__name { font-family: var(--font-display); font-size: 1.4rem; }
.footer__brand p { color: var(--ink-soft); max-width: 34ch; margin-top: var(--space-s); }
.footer__col h4 { font-family: var(--font-label); font-size: calc(var(--step-eyebrow) * 1.05); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-s); font-weight: 600; }
.footer__col a, .footer__col p { display: block; color: var(--ink-soft); padding-block: 0.3em; }
.footer__col a:hover { color: var(--ink); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-s); color: var(--muted); font-size: 0.85rem; }
.footer__legal .regs { display: flex; flex-wrap: wrap; gap: var(--space-m); }
.footer__note { margin-top: var(--space-m); color: var(--muted); font-size: 0.82rem; line-height: 1.5; max-width: 90ch; }
@media (max-width: 780px) { .footer__top { grid-template-columns: 1fr; gap: var(--space-m); } }

/* ---- Scroll reveal ------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
[data-reveal="left"]  { transform: translate3d(-56px, 0, 0); }
[data-reveal="right"] { transform: translate3d(56px, 0, 0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal="left"], [data-reveal="right"] { opacity: 1; transform: none; transition: none; }
}

/* Contain sideways transforms so they never create a horizontal scrollbar */
main { overflow-x: clip; }

/* ---- Utility ------------------------------------------------------------ */
.mt-l { margin-top: var(--space-l); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.75em 1.25em; z-index: 200; }
.skip-link:focus { left: 0; }
