/* ==========================================================================
   CGD Counselling — styles
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --slate: #778899;          /* primary brand colour: logo, large display text, decoration */
  --slate-700: #4e5d6c;      /* buttons & small text on light backgrounds (AA) */
  --slate-800: #3a4754;      /* footer */
  --ink: #2f3a45;            /* headings */
  --text: #3d4852;           /* body copy */
  --muted: #56636f;          /* secondary copy */

  /* Surfaces */
  --cream: #f4f1ea;          /* page background, matches off-white logo */
  --paper: #fbfaf6;          /* cards */
  --mist: #e4e9ed;           /* tint of the brand slate */
  --mist-deep: #d3dbe2;

  /* Warm accent */
  --clay: #c9a68a;
  --clay-line: #b98e6e;
  --clay-soft: #ede3d8;
  --clay-ink: #6b5140;

  --line: rgba(47, 58, 69, 0.12);

  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 9vw, 7.5rem);
  --radius: 24px;
  --radius-lg: clamp(28px, 4vw, 48px);
  --header-h: 72px;
  --anchor-gap: clamp(1.5rem, 3vw, 2.5rem);   /* gap below the sticky header after a menu jump */
}

@media (min-width: 60em) {
  :root { --header-h: 88px; }
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 48em) {
  body { font-size: 1.125rem; }
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
address { font-style: normal; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); font-weight: 450; }

p { text-wrap: pretty; }

a { color: var(--slate-700); text-decoration-color: var(--clay-line); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--slate-700);
  outline-offset: 3px;
}
a:not([class]):focus-visible { border-radius: 4px; }
.site-footer :focus-visible { outline-color: var(--cream); }

/* Let columns shrink so long words and enlarged text wrap */
.hero-grid > *, .about-grid > *, .therapy-cards > *, .two-up > *, .steps > *, .fees > *,
.contact-grid > *, .facts > *, .contact-methods li > span:last-child { min-width: 0; }
h1, h2, h3, p, li, figcaption, blockquote { overflow-wrap: break-word; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-space); }
/* Menu jumps land on a section's content, not on its top padding */
.section { scroll-margin-top: calc(-1 * var(--section-space)); }

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

.skip-link {
  position: absolute; left: 1rem; top: 1rem; z-index: 100;
  transform: translateY(calc(-100% - 2rem));
  background: var(--ink); color: var(--cream);
  padding: 0.75rem 1.25rem; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { transform: none; color: var(--cream); }

.icon {
  width: 1.25em; height: 1.25em;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Shared type components ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate-700);
  line-height: 1.4;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1.5px;
  background: var(--clay-line); flex-shrink: 0;
}

.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  line-height: 1.6;
  color: var(--text);
}

.section-head { max-width: 46rem; }
.section-head h2 { margin-top: 1rem; }
.section-head > p:not(.eyebrow) { margin-top: 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.85rem 1.6rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-align: center; text-decoration: none; text-wrap: balance;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary { background: var(--slate-700); color: var(--cream); }
.btn-primary:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(47, 58, 69, 0.6); }
.btn-ghost { border-color: rgba(47, 58, 69, 0.25); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); }
.btn-ghost .icon { color: var(--slate-700); }
.btn-sm { min-height: 44px; padding: 0.55rem 1.2rem; font-size: 0.9375rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.97);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(47, 58, 69, 0.35); }
/* See-through header at the very top */
.header-ready .site-header:not(.is-scrolled):not(:has(.is-open)) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  min-height: var(--header-h);
}

/* Logo may shrink on very narrow screens */
.brand { display: block; flex: 0 1 auto; min-width: 0; border-radius: 6px; }
.brand img { width: calc(26px * 1666 / 210); max-width: 100%; height: auto; }
@media (min-width: 60em) {
  .brand img { width: calc(32px * 1666 / 210); }
}

.site-nav ul { display: flex; gap: 2rem; }
.site-nav ul a {
  position: relative; display: inline-block; padding: 0.5rem 0;
  color: var(--ink); font-weight: 500; font-size: 1rem; text-decoration: none;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 1.5px;
  background: var(--clay-line);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.site-nav ul a:hover::after,
.site-nav ul a[aria-current="true"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
  display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(47, 58, 69, 0.18);
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color 0.2s ease;
}
.icon-btn:hover { background: var(--paper); color: var(--ink); }

.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 18px; height: 1.6px; border-radius: 2px;
  background: currentColor; transition: transform 0.3s ease, opacity 0.2s ease;
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Phone navigation: menu button (tablets and up show the full menu) */
@media (max-width: 47.99em) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(47, 58, 69, 0.35);
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.9rem 0; font-family: var(--font-serif); font-size: 1.5rem; }
  .site-nav ul li + li { border-top: 1px solid var(--line); }
  /* Current section marker in the open menu */
  .site-nav ul a::after { right: auto; width: 1.75rem; bottom: 0.55rem; }
  .nav-cta { width: 100%; margin-top: 1rem; min-height: 52px; font-size: 1rem; }
  /* Menu collapses only once main.js is ready; otherwise the links show as a list */
  .menu-ready .site-nav { display: none; }
  .menu-ready .site-nav.is-open { display: block; }
  html:not(.menu-ready) .site-nav { position: static; width: 100%; order: 3; padding: 0 0 1rem; box-shadow: none; }
  html:not(.menu-ready) .menu-toggle { display: none; }
  html:not(.menu-ready) .header-inner { flex-wrap: wrap; align-content: flex-start; padding-top: 0.75rem; }
  html:not(.menu-ready) .site-header { position: relative; }
}
@media (min-width: 48em) {
  .site-nav { display: flex; align-items: center; gap: 2.5rem; }
  .header-actions { display: none; }
}
/* Tablet portrait: tighter menu spacing */
@media (min-width: 48em) and (max-width: 59.99em) {
  .site-nav { gap: 1.5rem; }
  .site-nav ul { gap: 1.35rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(640px 560px at var(--glow-x, 50%) var(--glow-y, 62%), rgba(119, 136, 153, 0.17), transparent 72%),
    var(--cream);
}
@media (min-width: 60em) {
  .hero { --glow-x: 76%; --glow-y: 40%; }
}
/* Ripples fade out before they reach the section edge */
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 760px; aspect-ratio: 1; left: -380px; bottom: -120px;
  background: url("../images/ripples-slate.svg") center / contain no-repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 78%);
  mask-image: radial-gradient(closest-side, #000 35%, transparent 78%);
  opacity: 0.26;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(3rem, 6vw, 4.5rem); align-items: center;
}
@media (min-width: 60em) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.hero-title {
  display: block; margin-top: 1.25rem;
  font-size: clamp(2.75rem, 1.5rem + 4.8vw, 5.1rem);
  font-weight: 340; line-height: 1.02; letter-spacing: -0.025em;
  color: var(--ink);
}
/* Headline sized to its column beside the photo */
@media (min-width: 60em) {
  .hero-title { font-size: min(5.1rem, calc(7vw - 8px)); }
}
.hero-title em { font-style: italic; color: var(--slate); font-weight: 360; }

.hero-copy .lead { margin-top: 1.5rem; max-width: 34ch; }
.hero-copy .btn-row { margin-top: 2.25rem; }

.hero-portrait {
  position: relative; justify-self: center;
  width: min(100%, 440px);
  margin-inline: auto;
}
@media (max-width: 59.99em) {
  .hero-portrait { width: min(84%, 400px); margin-bottom: 1.5rem; }
}
/* Offset outline arch behind the photo */
.hero-portrait::before {
  content: ""; position: absolute; z-index: 0;
  inset: -18px -18px 18px 18px;
  border: 1.5px solid var(--clay-line);
  border-radius: 999px 999px 32px 32px;
}
.arch {
  position: relative; z-index: 1;
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 32px 32px;
  background: var(--mist);
  box-shadow: 0 40px 70px -40px rgba(47, 58, 69, 0.55);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* Photo tone (data-photo-tone on <html>; filters defined in index.html) */
[data-photo-tone="brand"] .arch img,
[data-photo-tone="brand"] .contact-person img { filter: url("#photo-tone-brand"); }
[data-photo-tone="classic"] .arch img,
[data-photo-tone="classic"] .contact-person img { filter: url("#photo-tone-classic"); }

/* BACP mark on a white card */
.badge-card {
  position: absolute; z-index: 2;
  left: -2.5rem; bottom: 2.5rem;
  display: block;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 44px -20px rgba(47, 58, 69, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.badge-card:hover { transform: translateY(-2px); box-shadow: 0 26px 50px -22px rgba(47, 58, 69, 0.5); }
.badge-card img { height: 52px; width: auto; max-width: none; }
@media (max-width: 59.99em) {
  .badge-card { left: 50%; bottom: -1.75rem; transform: translateX(-50%); width: max-content; padding: 0.85rem 1.1rem; }
  .badge-card:hover { transform: translateX(-50%) translateY(-2px); }
  .badge-card img { height: 44px; }
}

/* At-a-glance facts */
.facts {
  position: relative; z-index: 1;
  display: grid;
  margin-top: clamp(3.5rem, 7vw, 5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -32px rgba(47, 58, 69, 0.4);
}
.facts li { display: flex; flex-direction: column; gap: 0.2rem; padding: 1.35rem 1.75rem; }
.facts li + li { border-top: 1px solid var(--line); }
.fact-value { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.2; color: var(--ink); }
.fact-label { font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }
@media (min-width: 48em) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li { padding: 1.6rem 2rem; }
  .facts li + li { border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- Pull quote (Carl Rogers) ---------- */
.quote-section {
  padding-block: clamp(4.5rem, 9vw, 7rem) 0;
  background: linear-gradient(var(--cream), var(--paper) 70%);
}
.pull-quote { max-width: 56rem; margin-inline: auto; text-align: center; }
.pull-quote blockquote::before {
  content: "\201C";
  display: block; height: 3.25rem;
  font-family: var(--font-serif); font-size: 6rem; line-height: 1;
  color: var(--clay);
}
.pull-quote blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.8rem);
  font-weight: 340; line-height: 1.28; letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.pull-quote figcaption,
.banner-quote figcaption {
  display: inline-flex; align-items: center; gap: 1rem;
  margin-top: 1.75rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate-700);
}
.pull-quote figcaption::before,
.pull-quote figcaption::after { content: ""; width: 32px; height: 1.5px; background: var(--clay-line); }

/* ---------- First steps ---------- */
.steps-section { background: var(--paper); }
.steps-section .section-head { margin-inline: auto; max-width: 52rem; }
@media (min-width: 48em) {
  .steps-section .section-head { text-align: center; }
}
.steps-section .section-head h2 { font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.75rem); font-weight: 360; }
.steps-section .section-head > p:not(.eyebrow) { max-width: 44rem; margin-inline: auto; }

.steps { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 51.25em) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .steps .step { padding: 1.5rem; }
}
/* Equal-height cards; extra content sits at the bottom */
.step {
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--mist);
}
.step:nth-child(2) { background: var(--clay-soft); }
/* Top padding optically centres the numeral in its circle */
.step-num {
  display: grid; place-items: center;
  font-variant-numeric: lining-nums;
  width: 2.1297em; height: 2.1297em; border-radius: 50%;  /* 46px at normal text size */
  border: 1.5px solid currentColor;
  padding-top: 0.28em;
  font-family: var(--font-serif); font-size: 1.35rem; line-height: 1;
  color: var(--slate-700);
}
.step:nth-child(2) .step-num { color: var(--clay-ink); }
@media (min-width: 35em) and (max-width: 51.24em) {
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 1.5rem; align-content: start; }
  .step > * { grid-column: 2; }
  .step .step-num { grid-column: 1; grid-row: 1 / span 3; }
  .step h3 { margin-top: 0.4rem; }
}
.step h3 { margin-top: 1.25rem; }
.step p { margin-top: 0.6rem; font-size: 1rem; line-height: 1.65; }
.step > p:not(:last-child) { margin-bottom: 1.25rem; }

/* Phone and email in the "Get in touch" step */
.step-contact {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem;
  margin-top: auto; padding-top: 1rem;
  border-top: 1px solid rgba(47, 58, 69, 0.14);
}
.step-contact a {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 32px;
  font-size: 0.875rem; font-weight: 600; color: var(--ink);
  text-decoration: none; overflow-wrap: anywhere;
}
.step-contact a:hover { text-decoration: underline; text-decoration-color: var(--clay-line); }
/* Three cards across: phone and email stay on one line */
@media (min-width: 51.25em) { .step-contact a { white-space: nowrap; overflow-wrap: normal; } }
.step-contact .icon { width: 15px; height: 15px; color: var(--slate-700); }

/* ---------- About ---------- */
.about-section {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  scroll-margin-top: calc(-1 * clamp(3rem, 6vw, 4.5rem));
  background: linear-gradient(var(--paper), var(--cream) 420px);
}

.banner-quote {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(3.25rem, 8vw, 6rem) clamp(1.5rem, 7vw, 6rem);
  background: var(--slate);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--cream);
}
.banner-quote::before,
.banner-quote::after {
  content: ""; position: absolute; z-index: -1; aspect-ratio: 1; pointer-events: none;
  background: url("../images/ripples-cream.svg") center / contain no-repeat;
}
.banner-quote::before { width: 380px; right: -210px; top: -200px; opacity: 0.24; }
.banner-quote::after { width: 300px; left: -190px; bottom: -190px; opacity: 0.16; }
@media (min-width: 48em) {
  .banner-quote::before { width: 620px; right: -250px; top: -300px; opacity: 0.28; }
  .banner-quote::after { width: 420px; left: -230px; bottom: -250px; opacity: 0.18; }
}
/* Large text only on the brand slate (contrast) */
.banner-quote blockquote p {
  max-width: 30ch; margin-inline: auto;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.6rem);
  font-weight: 360; line-height: 1.3; letter-spacing: -0.01em;
  text-wrap: balance;
}
.banner-quote figcaption {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.5rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--cream);
}
.banner-quote figcaption::before { content: "— "; }

.about-grid {
  display: grid; gap: 2.5rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}
@media (min-width: 60em) {
  .about-grid { grid-template-columns: 1.55fr 1fr; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
}
/* Card follows the reader only when the screen is tall enough to show all of it */
@media (min-width: 60em) and (min-height: 54em) {
  .quals-card { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.about-copy h2 { margin-top: 1rem; }
.about-copy .lead { margin-top: 1.5rem; color: var(--ink); }
.about-copy p + p { margin-top: 1.15rem; }
.about-copy p { max-width: 64ch; }

.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.quals-card { border: 1px solid var(--line); }
.quals-card .btn { width: 100%; margin-top: 1.75rem; }

.check-list { margin-top: 1rem; }
.check-list li {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 0.9rem 0;
  font-size: 1rem; line-height: 1.5; color: var(--ink);
}
.check-list li + li { border-top: 1px solid var(--line); }
.check-list .icon { margin-top: 0.1rem; color: var(--slate-700); }
/* Registration and directory links, each with the organisation's logo */
.register-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.6rem;
  margin-top: 0.25rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
.register-link {
  display: flex; flex-direction: column; height: 100%;
  padding: 0.9rem 1rem 0.85rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.register-link:hover { border-color: var(--clay-line); background: #fff; color: var(--ink); }
.register-logo { display: flex; align-items: center; height: 2.2rem; margin-bottom: 0.6rem; }
.register-logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
/* Both logos shown at the same width */
.register-logo--wide img { height: 1rem; }
.register-label { font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.register-action { margin-top: 0.15rem; font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.register-action .icon {
  display: inline-block; vertical-align: -0.12em; width: 1em; height: 1em; margin-left: 0.3rem;
  color: var(--clay-ink); transition: transform 0.2s ease;
}
.register-link:hover .register-action .icon { transform: translate(2px, -2px); }

/* ---------- Services ---------- */
.services-section {
  margin-inline: clamp(0.5rem, 1.5vw, 1.5rem);
  background: var(--mist);
  border-radius: var(--radius-lg);
}

.therapy-cards { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 48em) {
  .therapy-cards { grid-template-columns: 1fr 1fr; }
}
.card-kicker {
  display: inline-block;
  padding: 0.3rem 0.8rem; border-radius: 999px;
  background: var(--clay-soft); color: var(--clay-ink);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.therapy-card h3 { margin-top: 1rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.therapy-card p:last-child { margin-top: 0.5rem; }
.therapy-note { margin-top: 1.25rem; text-align: center; color: var(--slate-700); font-size: 1rem; }

.issues-card { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.issues-list { margin-top: 1rem; column-gap: 2.5rem; }
@media (min-width: 35em) { .issues-list { columns: 2; } }
@media (min-width: 60em) { .issues-list { columns: 3; } }
@media (max-width: 34.99em) {
  .issues-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
  .issues-card .issues-list li {
    padding: 0.4rem 0.9rem; border: 1px solid var(--mist-deep); border-radius: 999px;
    background: var(--cream); font-size: 0.9375rem;
  }
  .issues-card .issues-list li::before { display: none; }
}

.issues-list li,
.dot-list li {
  position: relative; break-inside: avoid;
  padding: 0.7rem 0 0.7rem 1.35rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem; line-height: 1.5; color: var(--ink);
}
.issues-list li::before,
.dot-list li::before {
  content: ""; position: absolute; left: 0; top: 1.3rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--clay);
}
.dot-list li:last-child { border-bottom: 0; }
.list-card ul { margin-top: 0.75rem; }

.two-up { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 48em) {
  .two-up { grid-template-columns: 1fr 1fr; }
}

/* Fees & availability */
.fees {
  display: grid; overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: var(--radius);
}
@media (min-width: 48em) {
  .fees { grid-template-columns: 0.85fr 1.15fr; }
}
.fees-price {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--slate-700); color: var(--cream);
}
.fees-price::after {
  content: ""; position: absolute; z-index: -1; width: 420px; aspect-ratio: 1;
  right: -200px; bottom: -220px; opacity: 0.2;
  background: url("../images/ripples-cream.svg") center / contain no-repeat;
}
.fees-price .eyebrow { color: #e4e9ed; }
.fees-price .eyebrow::before { background: var(--clay); }
.price {
  margin-top: 0.75rem;
  font-family: var(--font-serif); font-size: clamp(4rem, 3rem + 4vw, 5.5rem);
  font-weight: 320; line-height: 1; letter-spacing: -0.02em;
}
.price + p { margin-top: 0.75rem; font-size: 1.1rem; }
.fees-detail {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--paper);
}
.fees-detail h3 { display: flex; align-items: center; gap: 0.6rem; }
.fees-detail h3 .icon { color: var(--slate-700); width: 1.1em; height: 1.1em; }
.fees-detail p { margin-top: 0.75rem; max-width: 42ch; }
.fees-detail .btn { margin-top: 1.75rem; }


/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 56.25em) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
}

.contact-card { border: 1px solid var(--line); }
.contact-person { display: flex; align-items: center; gap: 1rem; }
/* Ring on the wrapper so the photo tone doesn't recolour it */
.contact-person picture {
  flex-shrink: 0; border-radius: 50%;
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5.5px var(--clay-line);
}
.contact-person img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.contact-person strong { display: block; font-family: var(--font-serif); font-size: 1.45rem; font-weight: 450; color: var(--ink); line-height: 1.2; }
.contact-person span { display: block; font-size: 0.9375rem; color: var(--muted); line-height: 1.4; margin-top: 0.2rem; }

.contact-methods { margin-top: 1.75rem; }
.contact-methods li {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.method-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--mist); color: var(--slate-700);
}
.method-label {
  display: block;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.method-value {
  display: inline-block;
  font-family: var(--font-serif); font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  color: var(--ink); text-decoration: none; line-height: 1.3;
  overflow-wrap: anywhere;
}
.method-value:hover { text-decoration: underline; text-decoration-color: var(--clay-line); }

.contact-message {
  margin-top: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  background: var(--cream);
  font-size: 0.9375rem; line-height: 1.6; color: var(--text);
}

.location-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--mist);
}
.location-card::after {
  content: ""; position: absolute; z-index: -1; width: 460px; aspect-ratio: 1;
  right: -190px; bottom: -210px; opacity: 0.45;
  background: url("../images/ripples-slate.svg") center / contain no-repeat;
}
.location-card h3 { display: flex; align-items: center; gap: 0.6rem; }
.location-card h3 .icon { color: var(--slate-700); width: 1.1em; height: 1.1em; }
.location-name { margin-top: 0.5rem; font-family: var(--font-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--ink); line-height: 1.2; }
.travel-list { margin-top: 1.5rem; }
.travel-list li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(47, 58, 69, 0.14);
  font-size: 1rem; line-height: 1.55;
}
.travel-list .icon { margin-top: 0.1rem; color: var(--slate-700); }
.nowrap { white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(4rem, 7vw, 5.5rem) 2rem;
  background: var(--slate-800);
  color: #d5dde3;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  font-size: 1rem;
}
.site-footer::before {
  content: ""; position: absolute; z-index: -1; width: 760px; aspect-ratio: 1;
  right: -300px; top: -360px; opacity: 0.1;
  background: url("../images/ripples-cream.svg") center / contain no-repeat;
}
.site-footer a { color: #e4e9ed; text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--clay); }

.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 40em) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 62.5em) {
  .footer-grid { grid-template-columns: 1.5fr 0.8fr 1.1fr 1.3fr; gap: 3rem; }
}
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: 1.25rem; max-width: 30ch; line-height: 1.6; }
.footer-title {
  margin-bottom: 1rem;
  font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream);
}
/* 36px rows for comfortable touch targets */
.footer-col li { display: flex; align-items: center; min-height: 2.25rem; }
.footer-col li a { display: inline-flex; align-items: center; min-height: 2.25rem; }
/* Single-column footer: long email may wrap */
@media (max-width: 39.99em) { .footer-col li a { min-width: 0; overflow-wrap: anywhere; } }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 2.25rem; }
.footer-bacp { display: inline-block; margin-bottom: 1rem; border-radius: 4px; }
.footer-bacp img { height: 44px; width: auto; }
.site-footer .footer-bacp:hover { text-decoration: none; opacity: 0.85; }
.footer-col p { line-height: 1.6; }

.crisis-note {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 18px;
  background: rgba(244, 241, 234, 0.05);
  font-size: 0.9375rem; line-height: 1.6;
}
.crisis-note .icon { color: var(--clay); margin-top: 0.15rem; }
.crisis-note strong { color: var(--cream); }
.crisis-note a { text-decoration: underline; text-decoration-color: var(--clay); color: var(--cream); white-space: nowrap; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 241, 234, 0.15);
  font-size: 0.875rem; color: #c3ccd5;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; z-index: 60; left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  max-width: 26rem; max-height: calc(100vh - 1.5rem); overflow-y: auto;
  padding: 1.25rem 1.25rem 1.1rem;
  background: var(--paper); color: var(--text);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 50px -20px rgba(47, 58, 69, 0.45);
  font-size: 0.9375rem; line-height: 1.55;
}
.cookie-banner[hidden] { display: none; }
@media (min-width: 48em) {
  .cookie-banner { left: 1.5rem; right: auto; bottom: 1.5rem; }
}
.cookie-title { font-size: 1.25rem; font-weight: 450; }
.cookie-banner > p { margin-top: 0.4rem; }
.cookie-details { margin-top: 0.6rem; font-size: 0.875rem; color: var(--muted); }
.cookie-details summary { width: fit-content; cursor: pointer; font-weight: 600; color: var(--slate-700); }
.cookie-details p { margin-top: 0.5rem; }
/* Accept and Reject carry equal weight */
.cookie-actions { display: flex; gap: 0.6rem; margin-top: 1rem; }
.cookie-actions .btn { flex: 1; }

/* Footer: "Cookie settings" reopens the banner (shown only when the consent script is running) */
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; }
.link-button {
  display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0;
  background: none; border: 0; font: inherit; color: #e4e9ed; cursor: pointer;
}
.link-button:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--clay); }
html:not(.consent-ready) [data-cookie-settings] { display: none; }

/* ---------- Gentle reveal on scroll (motion-safe only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
  /* Menu targets only fade, so jumps land precisely */
  .reveal-ready [data-reveal][id] { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  @page { margin: 14mm 14mm 16mm; }
  :root { --section-space: 1.5rem; --radius: 12px; --radius-lg: 12px; }
  html { font-size: 13px; }
  body { background: #fff !important; color: #1f262d; }
  *, *::before, *::after { box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: none !important; }

  /* Every section prints */
  [data-reveal] { opacity: 1 !important; transform: none !important; }

  /* Screen-only elements */
  .skip-link, .site-nav, .header-actions, .btn-row .btn-primary, .quals-card .btn, .fees-detail .btn,
  .hero::before, .hero-portrait::before, .banner-quote::before, .banner-quote::after, .fees-price::after,
  .location-card::after, .site-footer::before, .footer-brand img, .footer-bacp, .footer-bottom a,
  .cookie-banner, .link-button { display: none !important; }

  /* The slate logo prints at the top; nothing is sticky */
  .site-header { position: static !important; background: none !important; }
  .header-inner { min-height: 0; padding-block: 0.25rem 0.75rem; }

  /* Borders instead of fills */
  .hero, .quote-section, .steps-section, .about-section, .services-section, .contact-section,
  .card, .step, .facts, .banner-quote, .fees-price, .fees-detail, .location-card, .contact-message,
  .method-icon, .card-kicker, .crisis-note, .site-footer { background: none !important; }
  .card, .step, .facts, .banner-quote, .fees, .crisis-note { border: 1px solid #c9ced3; }

  /* Dark text on white */
  .banner-quote, .banner-quote figcaption, .fees-price, .fees-price .eyebrow, .site-footer,
  .site-footer a, .footer-title, .crisis-note strong, .crisis-note a, .footer-bottom { color: #1f262d !important; }

  /* Hero */
  .hero { margin-top: 0; padding: 0.5rem 0 1rem; overflow: visible; }
  .hero-grid { grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: center; }
  .hero-title { font-size: 2.6rem; }
  .hero-copy .lead { max-width: none; }
  .hero-portrait { width: 100%; margin: 0; }
  .badge-card { position: static; transform: none; width: max-content; max-width: 100%; margin: 0.75rem auto 0; padding: 0.4rem 0.6rem; border: 1px solid #c9ced3; }
  .badge-card img { height: 34px; }
  .btn-ghost { min-height: 0; padding: 0; border: 0; font-weight: 600; }
  .facts { margin-top: 1rem; grid-template-columns: repeat(3, 1fr); }
  .facts li { padding: 0.75rem 1rem; }
  .facts li + li { border-top: 0; border-left: 1px solid #c9ced3; }

  .quote-section { padding-block: 1.5rem 0; }
  .banner-quote { padding: 1.5rem; }
  .services-section { margin-inline: 0; border-radius: 0; }
  .therapy-cards, .two-up, .contact-grid { grid-template-columns: 1fr 1fr; }
  .issues-list { columns: 3; }
  .fees { grid-template-columns: 0.8fr 1.2fr; }
  .fees-price, .fees-detail { padding: 1.25rem; }
  .site-footer { border-radius: 0; border-top: 1px solid #c9ced3; padding-block: 1.25rem 0; }

  /* Page breaks */
  .eyebrow { display: flex; }
  h2, h3, .eyebrow { break-after: avoid; page-break-after: avoid; }
  .method-value { font-size: 1.3rem; overflow-wrap: normal; }
  .section-head, .card, .step, .facts, .fees, .banner-quote, .pull-quote, .crisis-note, .footer-col {
    break-inside: avoid; page-break-inside: avoid;
  }
  p, li { orphans: 3; widows: 3; }
}
