/* ===========================================
   VISION WELLBEING — styles.css
   =========================================== */

/* ─── Google Fonts are loaded via <link> in HTML ─── */

/* ─────────────────────────────────────────
   1. CUSTOM PROPERTIES
   ───────────────────────────────────────── */
:root {
  /* Brand colours */
  --primary:        #2F4A4D; /* Deep blue-green slate */
  --secondary-bg:   #F4F1EC; /* Soft stone ivory */
  --accent-cta:     #B89C7A; /* Muted sandstone */
  --tertiary:       #7C8F7A; /* Muted sage */
  --dark:           #243236; /* Charcoal teal */
  --text-primary:   #2C2C2C; /* Warm charcoal */
  --text-secondary: #6B6B6B; /* Mid grey */
  --text-light:     #F4F1EC; /* Stone ivory for dark backgrounds */

  /* Extended palette */
  --sand-warm:        #F8F5F1; /* Warm sand — recognition block, CBT process bg */

  /* Derived */
  --accent-cta-hover: #a08868;
  --primary-hover:    #243a3d;

  /* Layout */
  --container-max:     1120px;
  --text-max:          680px;
  --container-padding: 24px;

  /* Spacing scale */
  --section-padding-mobile:  60px;
  --section-padding-desktop: 80px;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Nav */
  --nav-height: 70px;

  /* Transitions */
  --transition: 0.3s ease;
}


/* ─────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--secondary-bg);
}

/* Body when mobile nav is open — prevent scroll */
body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ─── Desktop font size ─── */
@media (min-width: 768px) {
  body {
    font-size: 17px;
  }
}


/* ─────────────────────────────────────────
   3. ACCESSIBILITY
   ───────────────────────────────────────── */

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 10px 20px;
  background-color: var(--primary);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: 0 0 6px 6px;
  z-index: 10000;
  transition: top var(--transition);
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Visible focus indicators */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Remove default focus ring where :focus-visible is supported */
:focus:not(:focus-visible) {
  outline: none;
}

.btn:focus-visible,
.nav__link:focus-visible,
.skip-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}


/* ─────────────────────────────────────────
   4. LAYOUT UTILITIES
   ───────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}


/* ─────────────────────────────────────────
   5. TYPOGRAPHY
   ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary);
}

p {
  max-width: var(--text-max);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .eyebrow {
    font-size: 12px;
  }
}

.hero .eyebrow {
  color: var(--accent-cta);
  letter-spacing: 0.22em;
  font-weight: 500;
}


/* ─────────────────────────────────────────
   6. BUTTONS
   ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  min-height: 52px;
  white-space: nowrap;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform 150ms ease,
    box-shadow 150ms ease;
}

.btn:hover {
  box-shadow: 0 4px 12px rgba(47, 74, 77, 0.15);
  transform: scale(1.02);
}

@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
  }
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(47, 74, 77, 0.15);
}

@media (max-width: 600px) {
  .btn {
    min-height: 48px;
    padding: 1rem 2rem;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: block;
    margin-bottom: 1rem;
  }

  .hero__ctas .btn:last-child {
    margin-bottom: 0;
  }
}

/* Primary button — sandstone fill */
.btn--primary {
  background-color: var(--accent-cta);
  color: #ffffff;
  border-color: var(--accent-cta);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--accent-cta-hover);
  border-color: var(--accent-cta-hover);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(47,74,77,0.15);
}

/* Secondary button — primary outline */
.btn--secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: var(--primary);
  color: var(--text-light);
}

.hero .btn--secondary {
  border: 1.5px solid #c8c2ba;
  color: var(--primary);
}

/* CTA nav button (same as primary, slight sizing difference at desktop) */
.btn--nav-cta {
  background-color: var(--accent-cta);
  color: #ffffff;
  border-color: var(--accent-cta);
  padding: 10px 22px;
  font-size: 15px;
  min-height: 48px;
}

.btn--nav-cta:hover,
.btn--nav-cta:focus-visible {
  background-color: var(--accent-cta-hover);
  border-color: var(--accent-cta-hover);
}


/* ─────────────────────────────────────────
   7. NAVIGATION
   ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--secondary-bg);
  border-bottom: 1px solid rgba(47, 74, 77, 0.1);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(36, 50, 54, 0.09);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
  height: var(--nav-height);
}

/* Logo / wordmark */
.nav__logo {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: -0.025em;
  flex-shrink: 0;
  transition: opacity var(--transition);
  text-decoration: none;
}

.nav__logo-img {
  height: 32px;          /* fits comfortably inside the navbar          */
  width: auto;           /* maintain aspect ratio (≈ 159 px at 32 px h) */
  display: block;        /* remove inline-img baseline gap              */
  object-fit: contain;
}

.nav__logo:hover,
.nav__logo:focus-visible {
  opacity: 0.75;
}

/* Hamburger toggle button */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 4px;
  transition: background-color var(--transition);
  flex-shrink: 0;
}

.nav__hamburger:hover {
  background-color: rgba(47, 74, 77, 0.07);
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

/* Animate hamburger → X when open */
.nav__hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav panel ── */
.nav__menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--secondary-bg);
  padding: 28px var(--container-padding) 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  z-index: 999;
  /* Hidden off-screen to the right */
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  /* Prevent focus trap bypass */
  visibility: hidden;
}

.nav__menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.nav__list {
  display: flex;
  flex-direction: column;
}

.nav__link {
  display: flex;
  align-items: center;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(47, 74, 77, 0.1);
  min-height: 52px;
  transition: color var(--transition);
}

.nav__link:last-child {
  border-bottom: none;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--primary);
}

.nav__cta-wrapper {
  margin-top: 8px;
}

.nav__cta-wrapper .btn {
  width: 100%;
}

/* ── Desktop nav (≥ 1024px) ── */
@media (min-width: 1024px) {
  .nav__hamburger {
    display: none;
  }

  .nav__menu {
    /* Reset mobile-panel styles */
    position: static;
    transform: none;
    visibility: visible;
    background: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 0;
    overflow: visible;
    bottom: auto;
    top: auto;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
  }

  .nav__link {
    padding: 8px 14px;
    font-size: 15px;
    border-bottom: none;
    border-radius: 4px;
    min-height: 44px;
    letter-spacing: 0.01em;
  }

  .nav__link:hover,
  .nav__link:focus-visible {
    background-color: rgba(47, 74, 77, 0.07);
    color: var(--primary);
  }

  .nav__cta-wrapper {
    margin-top: 0;
    margin-left: 20px;
  }

  .nav__cta-wrapper .btn {
    width: auto;
  }
}


/* ─────────────────────────────────────────
   8. HERO SECTION — senior treatment
   Cream paper · Fraunces display · Inter UI · JetBrains Mono micro
   Confidence in negative space; no decorative blob, no side-rail.
   ───────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 64px;
  background: linear-gradient(180deg, #F6F2EA 0%, #F0EBDF 100%);
  overflow: hidden;
}

/* Whisper-quiet paper grain */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.04;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
}

/* On mobile, headline copy reads first, then centred portrait */
.hero__text { order: 0; }
.hero__image-col {
  order: 1;
  display: flex;
  justify-content: center;
}

/* Eyebrow — sage label with sandstone hairline */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin: 0 0 20px;
  max-width: none;
}

.hero__eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent-cta);
  flex-shrink: 0;
}

/* Headline */
.hero__heading {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 8vw, 54px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin: 0 0 28px;
  max-width: none;
  font-variation-settings: '"opsz" 144';
}

.hero__heading-line { display: block; }

.hero__rotator {
  display: inline-grid;
  position: relative;
  align-items: center;
  justify-items: center;
  vertical-align: baseline;
}

.hero__rotator-word {
  display: block;
  grid-area: 1 / 1;
  font-style: italic;
  font-weight: 300;
  color: var(--accent-cta);
  white-space: nowrap;
  transition: opacity 0.7s ease;
  font-variation-settings: '"opsz" 144', '"SOFT" 100';
}

.hero__rotator-word.is-out {
  opacity: 0;
}

/* Subhead */
.hero__subhead {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 460px;
}

/* CTA row */
.hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 24px;
}

/* Hero primary — pill, deep teal, sandstone dot */
.btn--hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--text-light);
  border: 1.5px solid var(--primary);
  padding: 14px 24px;
  border-radius: 999px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  min-height: 0;
  transition: background-color var(--transition), border-color var(--transition), box-shadow 200ms ease, transform 150ms ease;
}

.btn--hero-primary::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cta);
  flex-shrink: 0;
}

.btn--hero-primary:hover,
.btn--hero-primary:focus-visible {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 6px 18px rgba(47, 74, 77, 0.18);
}

@media (hover: none) and (pointer: coarse) {
  .btn--hero-primary:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Ghost link — sandstone underline */
.btn--ghost {
  display: inline-block;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-cta);
  padding-bottom: 4px;
  transition: color var(--transition), border-color var(--transition);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--primary-hover);
  border-bottom-color: var(--primary-hover);
}

/* Hero meta — availability + fees mono row */
.hero__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  line-height: 1.4;
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero__meta-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__meta-dot--sage { background: var(--tertiary); }
.hero__meta-dot--sand { background: var(--accent-cta); }

/* Portrait — clean rectangular crop, soft teal-tinted shadow */
.hero__portrait-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin: 0;
  background-color: var(--primary);
  box-shadow: 0 18px 48px -16px rgba(47, 74, 77, 0.3);
}

.hero__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.02) saturate(0.96);
}

.hero__portrait-meta {
  position: absolute;
  bottom: 6px;
  left: 14px;
  background: var(--secondary-bg);
  border: 1px solid rgba(47, 74, 77, 0.1);
  padding: 9px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__portrait-meta-name {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--primary);
  line-height: 1.2;
}

.hero__portrait-meta-role {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Roman-numeral footnote credentials below the hero grid */
.hero__credentials {
  list-style: none;
  margin: 48px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(47, 74, 77, 0.12);
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.hero__credential {
  display: flex;
  gap: 14px;
}

.hero__credential-numeral {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 26px;
  font-weight: 300;
  color: var(--accent-cta);
  line-height: 1;
  flex-shrink: 0;
  font-variation-settings: '"opsz" 48', '"SOFT" 100';
  min-width: 30px;
}

.hero__credential-body { flex: 1; }

.hero__credential-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--tertiary);
  margin-bottom: 6px;
}

.hero__credential-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 4px;
  font-variation-settings: '"opsz" 32';
}

.hero__credential-meta {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── Tablet+ (≥ 768px) ── */
@media (min-width: 768px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero__container {
    grid-template-columns: 1.25fr 0.75fr;
    column-gap: 48px;
    row-gap: 48px;
    align-items: end;
  }

  .hero__text { order: 0; }
  .hero__image-col {
    order: 1;
    justify-content: flex-start;
  }

  .hero__heading {
    font-size: clamp(46px, 5.8vw, 64px);
    margin-bottom: 32px;
  }

  .hero__subhead {
    font-size: 17px;
    margin-bottom: 32px;
  }

  .hero__ctas {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
  }

  .hero__portrait-frame {
    max-width: 380px;
  }

  .hero__credentials {
    grid-template-columns: 1fr 1fr;
    gap: 24px 36px;
    margin-top: 56px;
  }
}

/* ── Desktop (≥ 1024px) ── */
@media (min-width: 1024px) {
  .hero {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .hero__rotator {
    justify-items: start;
  }

  .hero__heading {
    font-size: clamp(56px, 5.4vw, 78px);
  }

  .hero__subhead {
    font-size: 18px;
    max-width: 480px;
  }

  .hero__portrait-frame {
    max-width: 100%;
  }

  .hero__credentials {
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    margin-top: 72px;
    padding-top: 40px;
  }

  .hero__credential-numeral { font-size: 28px; }
  .hero__credential-value { font-size: 17px; }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .hero {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .hero__container {
    gap: 32px;
  }

  .hero__heading {
    font-size: clamp(34px, 9.5vw, 44px);
    margin-bottom: 24px;
  }

  .hero__subhead {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero__ctas {
    width: 100%;
    align-items: stretch;
  }

  .btn--hero-primary {
    justify-content: center;
    width: 100%;
  }

  .btn--ghost {
    align-self: center;
  }

  .hero__portrait-frame {
    max-width: 280px;
  }
}

/* ── Mobile-only (≤ 767px): centred hero copy, portrait sits just below the fold ── */
@media (max-width: 767px) {
  .hero {
    padding-top: 28px;
  }

  /* Text column fills the visible viewport so the portrait reads as a
     reveal on scroll. ~99 = sticky header (~71) + hero pad-top (28);
     the remaining offset accounts for grid gap and a small safety margin
     so the portrait edge sits a few px past the fold. */
  .hero__text {
    min-height: calc(100svh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero__subhead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    align-items: center;
  }

  .hero__meta {
    justify-content: center;
  }
}


/* ─────────────────────────────────────────
   9. TEXT LINK UTILITY
   ───────────────────────────────────────── */
.text-link {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition), color var(--transition);
  font-weight: 500;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration-color: currentColor;
}

.text-link--accent {
  color: var(--accent-cta);
}

.text-link--light {
  color: var(--text-light);
  opacity: 0.85;
}

.text-link--light:hover,
.text-link--light:focus-visible {
  opacity: 1;
}

.text-link--tertiary {
  color: var(--tertiary);
}

.text-link--tertiary:hover,
.text-link--tertiary:focus-visible {
  color: var(--tertiary);
  text-decoration-color: currentColor;
}


/* ─────────────────────────────────────────
   9b. SENIOR TYPOGRAPHY — scoped to homepage
   Extends the hero's Fraunces / JetBrains Mono treatment to the
   sections beneath it (how-it-works, specialisms, about, cta) so
   the page reads cohesively. Other pages stay on Playfair / DM Sans.
   ───────────────────────────────────────── */
.page-home .how-it-works h2,
.page-home .specialisms-preview h2,
.page-home .about-preview h2,
.page-home .cta-block h2,
.page-home .step__heading,
.page-home .specialism-card__heading {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-variation-settings: '"opsz" 144';
}

.page-home .step__heading,
.page-home .specialism-card__heading {
  font-variation-settings: '"opsz" 32';
}

.page-home .step__number {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: '"opsz" 48', '"SOFT" 100';
}

.page-home .how-it-works .eyebrow,
.page-home .specialisms-preview .eyebrow,
.page-home .cta-block .eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.22em;
  font-weight: 400;
  color: var(--tertiary);
}


/* ─────────────────────────────────────────
   10. RECOGNITION BLOCK — senior treatment
   Quiet eyebrow, numbered statements, italic pull-quote.
   No decorative illustration; restraint is the design.
   ───────────────────────────────────────── */
.recognition-block {
  position: relative;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--sand-warm) 22%,
    var(--sand-warm) 100%);
  padding-top: 88px;
  padding-bottom: 96px;
}

.recognition-block .container {
  max-width: 760px;
  text-align: center;
  position: relative;
}

.recognition-intro {
  text-align: center;
  margin-bottom: 56px;
}

.recognition-eyebrow {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tertiary);
  margin: 0;
  line-height: 1;
}

.recognition-statements {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.recognition-statement {
  display: flex;
  gap: 22px;
  align-items: baseline;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  color: var(--primary);
  margin: 0;
  max-width: none;
  font-variation-settings: '"opsz" 60';
}

.recognition-statement__num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--accent-cta);
  flex-shrink: 0;
  padding-top: 7px;
}

.recognition-statement__text {
  flex: 1;
}

@media (min-width: 768px) {
  .recognition-block {
    padding-top: 112px;
    padding-bottom: 120px;
  }

  .recognition-statement {
    font-size: 24px;
  }
}

@media (min-width: 1024px) {
  .recognition-statement {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .recognition-block {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .recognition-statement {
    font-size: 19px;
    gap: 16px;
  }

  .recognition-statement__num {
    font-size: 10px;
    padding-top: 5px;
  }
}


/* ─────────────────────────────────────────
   11. HOW THERAPY WORKS
   ───────────────────────────────────────── */
.how-it-works {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
}

.how-it-works .eyebrow {
  margin-bottom: 12px;
  color: var(--accent-cta);
  letter-spacing: 0.22em;
  font-weight: 500;
}

.how-it-works h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--primary);
  margin-bottom: 0.75rem;
  max-width: none;
}

.how-it-works__rule {
  width: 36px;
  height: 1px;
  background: var(--accent-cta);
  margin: 0.75rem 0 2.75rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.step {
  position: relative;
  padding-left: 0;
}

.step__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent-cta);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.7;
}

.step__heading {
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-weight: 400;
}

.step__description {
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  max-width: none;
}

.steps-path {
  display: block;
  width: 100%;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .how-it-works {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .step__description {
    font-size: 17px;
  }
}


/* ─────────────────────────────────────────
   12. SPECIALISMS PREVIEW
   ───────────────────────────────────────── */
.specialisms-preview {
  background-color: var(--secondary-bg);
  padding-top: 60px;
  padding-bottom: 60px;
}

.specialisms-preview h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--primary);
  margin-bottom: 2.5rem;
  max-width: none;
}

.specialisms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.specialism-card {
  background-color: #ffffff;
  border-left: 4px solid var(--primary);
  border-radius: 0 6px 6px 0;
  padding: 0;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.specialism-card:hover {
  box-shadow: 0 4px 20px rgba(47, 74, 77, 0.1);
  transform: translateY(-2px);
}

.specialism-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.specialism-card__body {
  padding: 1.5rem 1.75rem;
}

.specialism-card__heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.specialism-card p {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.65;
  max-width: none;
}

.specialisms-footer-text {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: none;
}

.specialisms-footer-text .text-link {
  font-size: 15px;
  margin-left: 4px;
}

@media (min-width: 768px) {
  .specialisms-preview {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .specialisms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ─────────────────────────────────────────
   13. HOW CBT WORKS (PHASES)
   ───────────────────────────────────────── */
.cbt-process {
  background-color: var(--sand-warm);
  padding-top: 60px;
  padding-bottom: 60px;
}

.cbt-process h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--primary);
  margin-bottom: 3rem;
  max-width: none;
}

.cbt-phases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 2.5rem;
}

.cbt-phase {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(47, 74, 77, 0.1);
  position: relative;
}

.cbt-phase:last-child {
  border-bottom: none;
}

.cbt-phase__number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  margin-top: 2px;
}

.cbt-phase__content {
  flex: 1;
}

.cbt-phase__heading {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.cbt-phase__content p {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.65;
  max-width: none;
  margin-bottom: 0;
}

.cbt-process__closing {
  font-size: 16px;
  color: var(--text-secondary);
  font-style: italic;
  max-width: none;
  padding: 1.5rem;
  background-color: var(--secondary-bg);
  border-radius: 6px;
  border-left: 3px solid var(--tertiary);
}

@media (min-width: 768px) {
  .cbt-process {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .cbt-phases {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .cbt-phase {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    border-bottom: none;
    border-top: 3px solid var(--accent-cta);
    background-color: var(--secondary-bg);
    border-radius: 0 0 6px 6px;
  }

  .cbt-phase__number {
    margin-bottom: 0.75rem;
    margin-top: 0;
  }

  .cbt-phase__heading {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .cbt-process__closing {
    font-size: 17px;
  }
}


/* ─────────────────────────────────────────
   14. ABOUT PREVIEW
   ───────────────────────────────────────── */
.about-preview {
  background-color: var(--secondary-bg);
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid rgba(47, 74, 77, 0.1);
}

.about-preview__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-preview__image-col {
  display: flex;
  justify-content: center;
}

.about-preview__portrait-wrap {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(124, 143, 122, 0.3);
  background-color: var(--secondary-bg);
  position: relative;
}

/* CSS placeholder shown behind image — visible if portrait image is unavailable */
.about-preview__portrait-wrap::after {
  content: 'Jack Wells\A CBT Therapist';
  white-space: pre;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  padding: 1rem;
  z-index: 0;
  background-color: var(--secondary-bg);
  border: 1px solid rgba(47, 74, 77, 0.15);
  border-radius: 4px;
}

.about-preview__portrait {
  position: relative;
  z-index: 1;
}

.about-preview__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-preview__text-col .eyebrow {
  margin-bottom: 12px;
}

.about-preview__text-col h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--primary);
  margin-bottom: 1.25rem;
  max-width: none;
}

.about-preview__text-col p {
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: none;
}

.about-preview__trust-signals {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-preview__trust-signals li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.about-preview__trust-signals li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--tertiary);
}

@media (min-width: 768px) {
  .about-preview {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .about-preview__inner {
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
  }

  .about-preview__portrait-wrap {
    max-width: 100%;
    height: 440px;
    aspect-ratio: unset;
  }
}

@media (min-width: 1024px) {
  .about-preview__portrait-wrap {
    height: 480px;
  }
}


/* ─────────────────────────────────────────
   15. CTA BLOCK (SECTION 7)
   ───────────────────────────────────────── */
.cta-block {
  background-color: var(--dark);
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
}

.cta-block .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-block h2 {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 0;
}

.cta-block__fee {
  font-size: 18px;
  color: var(--text-light);
  opacity: 0.85;
  max-width: none;
  margin-bottom: 0;
}

.cta-block__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.cta-block__buttons .btn {
  width: 100%;
  justify-content: center;
}

/* Sandstone filled button for dark bg */
.btn--cta-primary {
  background-color: var(--accent-cta);
  color: #ffffff;
  border-color: var(--accent-cta);
}

.btn--cta-primary:hover,
.btn--cta-primary:focus-visible {
  background-color: var(--accent-cta-hover);
  border-color: var(--accent-cta-hover);
}

/* Ivory outline button for dark bg */
.btn--cta-outline {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn--cta-outline:hover,
.btn--cta-outline:focus-visible {
  background-color: rgba(244, 241, 236, 0.12);
}

.cta-block__location {
  font-size: 14px;
  color: var(--text-light);
  opacity: 0.6;
  max-width: none;
  margin-bottom: 0;
}

.cta-block__waitlist {
  font-size: 14px;
  color: var(--text-light);
  opacity: 0.7;
  max-width: none;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .cta-block {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .cta-block__buttons {
    flex-direction: row;
    max-width: none;
    width: auto;
  }

  .cta-block__buttons .btn {
    width: auto;
    min-width: 200px;
  }
}


/* ─────────────────────────────────────────
   16. FOOTER
   ───────────────────────────────────────── */
.site-footer {
  background-color: var(--dark);
  padding-top: 48px;
  padding-bottom: 0;
  color: var(--text-light);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(244, 241, 236, 0.12);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text-light);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.footer-col p {
  font-size: 14px;
  color: rgba(244, 241, 236, 0.7);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  max-width: none;
}

.footer-col .babcp-status {
  font-size: 13px;
  color: rgba(244, 241, 236, 0.5);
  margin-top: 0.5rem;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.5);
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 15px;
  color: rgba(244, 241, 236, 0.8);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text-light);
}

.footer-email {
  color: var(--primary) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--transition), color var(--transition);
}

.footer-email:hover,
.footer-email:focus-visible {
  text-decoration-color: currentColor;
}

.crisis-disclaimer {
  padding: 1.25rem 1.5rem;
  background-color: rgba(244, 241, 236, 0.06);
  border-left: 3px solid var(--tertiary);
  border-radius: 0 4px 4px 0;
  margin: 2rem 0;
}

.crisis-disclaimer p {
  font-size: 13px;
  color: rgba(244, 241, 236, 0.75);
  line-height: 1.6;
  max-width: none;
  margin-bottom: 0;
}

.crisis-disclaimer strong {
  color: var(--text-light);
  font-weight: 500;
}

.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(244, 241, 236, 0.08);
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(244, 241, 236, 0.4);
  max-width: none;
  margin-bottom: 0;
}

.footer-bottom a {
  color: rgba(244, 241, 236, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--text-light);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 2fr;
    gap: 3rem;
  }
}


/* ─────────────────────────────────────────
   17a. ABOUT HERO & PAGE SECTIONS
   ───────────────────────────────────────── */

/* About hero section — image left, text right */
.about-hero {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(47, 74, 77, 0.1);
}

.about-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Portrait container — same placeholder system as homepage about-preview */
.about-hero-image {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  border: 2px solid rgba(124, 143, 122, 0.5);
  background-color: var(--sand-warm);
  position: relative;
  margin-inline: auto;
  box-shadow: 4px 4px 0 0 rgba(124, 143, 122, 0.18);
}

.about-hero-image::after {
  content: 'Jack Wells\A CBT Therapist\A Edinburgh';
  white-space: pre;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  padding: 1rem;
  z-index: 0;
  background-color: var(--sand-warm);
  border-radius: 4px;
}

.about-hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-hero__text h1 {
  font-size: clamp(30px, 5vw, 44px);
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.about-hero__text p {
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: 17px;
}

.about-hero__text p:last-child {
  margin-bottom: 0;
}

.about-pullquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15em;
  border-left: 3px solid var(--primary);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2.5rem 0;
  color: var(--primary);
  max-width: var(--text-max);
}

.approach-pullquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25em;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding: 1.5rem 0 1.5rem 2rem;
  margin: 2.5rem 0;
  max-width: 600px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 700ms ease-out, opacity 700ms ease-out;
}

.approach-pullquote.visible {
  transform: translateY(0);
  opacity: 1;
}

.approach-pullquote p {
  margin-bottom: 0;
}

/* Generic page section — used for content sections 2–4 */
.page-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-section--stone {
  background-color: var(--secondary-bg);
}

.page-section--white {
  background-color: #ffffff;
}

.page-section .section-title,
.page-section h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  color: var(--primary);
  margin-bottom: 1.5rem;
  max-width: none;
}

.page-section p {
  font-size: 17px;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: var(--text-max);
}

.page-section p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .about-hero {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .about-hero__inner {
    grid-template-columns: 9fr 11fr;
    gap: 4rem;
    align-items: start;
  }

  .about-hero-image {
    max-width: 100%;
    height: 480px;
    aspect-ratio: unset;
    margin-inline: 0;
  }

  .page-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (min-width: 1024px) {
  .about-hero-image {
    height: 520px;
  }
}


/* ─────────────────────────────────────────
   17. PAGE HEADER (STUB PAGES)
   ───────────────────────────────────────── */
.page-header {
  background-color: var(--secondary-bg);
  padding-top: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(47, 74, 77, 0.1);
}

.page-header h1 {
  font-size: clamp(28px, 5vw, 48px);
  color: var(--primary);
  margin-bottom: 1rem;
  max-width: 680px;
}

.page-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.page-content {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 80px;
}

.page-content p {
  font-size: 17px;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 680px;
}

.page-content .btn {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .page-header {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}


/* ─────────────────────────────────────────
   18. FEES PAGE
   ───────────────────────────────────────── */

.page-header--fees {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(184,156,122,0.08) 0%, transparent 70%),
    var(--sand-warm);
  border-bottom: 1px solid rgba(124, 143, 122, 0.2);
}

/* Mobile full-width primary CTA on fees booking section */
@media (max-width: 600px) {
  .fees-booking .btn--primary {
    width: 100%;
    display: flex;
  }
}

/* Prominent fee display in page header */
.fees-headline {
  font-family: var(--font-heading);
  font-size: clamp(38px, 7vw, 58px);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Q&A list */
.fees-qa {
  margin-top: 1rem;
}

.fees-qa__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(47, 74, 77, 0.12);
}

.fees-qa__item:first-child {
  padding-top: 0;
}

.fees-qa__item:last-child {
  border-bottom: none;
}

.fees-qa__question {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
  font-size: 17px;
  line-height: 1.5;
}

.fees-qa__answer {
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: var(--text-max);
}

/* Practical details section */
.practical-details h3 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.practical-details p {
  margin-bottom: 1.25rem;
}

.practical-details .fees-qa {
  background-color: rgba(124, 143, 122, 0.03);
  padding: 2rem;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .practical-details .fees-qa {
    padding: 1.5rem;
  }
}

/* Waitlist form */
.waitlist-form {
  margin-top: 1.5rem;
  max-width: 500px;
  background-color: rgba(47, 74, 77, 0.02);
  padding: 2rem;
  border-radius: 6px;
}

.waitlist-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.waitlist-form__input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  background-color: #ffffff;
  border: 1.5px solid rgba(47, 74, 77, 0.25);
  border-radius: 4px;
  min-height: 48px;
  transition: border-color var(--transition);
  box-sizing: border-box;
}

.waitlist-form__input::placeholder {
  color: var(--text-secondary);
}

.waitlist-form__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(184,156,122,0.2);
}

.waitlist-form__submit {
  align-self: stretch;
  width: 100%;
}

.waitlist-form__note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

@media (min-width: 601px) {
  .waitlist-form__field {
    flex-direction: row;
    align-items: stretch;
  }

  .waitlist-form__input {
    flex: 1;
  }

  .waitlist-form__submit {
    align-self: auto;
    width: auto;
    white-space: nowrap;
  }
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


@media (max-width: 600px) {
  .page-section {
    padding-block: 3rem;
  }
}


/* ─────────────────────────────────────────
   19. SPECIALISMS PAGE
   ───────────────────────────────────────── */

/* Anchor navigation bar */
.anchor-nav {
  background: var(--secondary-bg);
  padding: 1.1rem 0;
  border-top: 1px solid rgba(47, 74, 77, 0.12);
  border-bottom: 1px solid rgba(47, 74, 77, 0.12);
}

/* Sticky variant — pinned beneath the main site header while inside its parent */
.anchor-nav--sticky {
  position: sticky;
  top: var(--nav-height);
  z-index: 50;
  background: var(--secondary-bg);
  box-shadow: 0 1px 0 rgba(47, 74, 77, 0.08), 0 6px 18px -12px rgba(36, 50, 54, 0.18);
  backdrop-filter: saturate(1.05);
}

/* Wrapper that bounds the sticky nav to the WCBTHW section */
.therapy-help-wrapper {
  position: relative;
}

.anchor-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anchor-nav__link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.anchor-nav__link:hover {
  color: var(--accent-cta);
}

/* Gold accent variant — used by the "Jump to how CBT works" skip link */
.anchor-nav__link--accent {
  color: var(--accent-cta);
  font-style: italic;
  font-weight: 500;
}

.anchor-nav__link--accent:hover,
.anchor-nav__link--accent:focus-visible {
  color: var(--primary);
}

/* Visually separate the skip link from the section list */
.anchor-nav__skip {
  position: relative;
  padding-left: 1.25rem;
  margin-left: 0.25rem;
}

.anchor-nav__skip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  width: 1px;
  background: rgba(47, 74, 77, 0.25);
}

@media (max-width: 768px) {
  .anchor-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .anchor-nav__skip {
    padding-left: 0;
    margin-left: 0;
    margin-top: 0.25rem;
  }
  .anchor-nav__skip::before {
    display: none;
  }
}

/* Page sections */
.page-section {
  padding-top: var(--section-padding-mobile);
  padding-bottom: var(--section-padding-mobile);
}

.page-section--white {
  background-color: #ffffff;
}

.page-section--stone {
  background-color: var(--secondary-bg);
}

.page-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 4vw, 32px);
  color: var(--primary);
  margin-bottom: 1.25rem;
  max-width: var(--text-max);
}

.page-section p {
  font-size: 17px;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: var(--text-max);
}

.page-section p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .page-section {
    padding-top: var(--section-padding-desktop);
    padding-bottom: var(--section-padding-desktop);
  }
}

/* "I also work with" section */
.also-work-with {
  background: var(--secondary-bg);
  padding-top: var(--section-padding-mobile);
  padding-bottom: var(--section-padding-mobile);
}

.also-work-with h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 4vw, 32px);
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.also-work-with > .container > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  max-width: var(--text-max);
}

.also-work-with ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.also-work-with li {
  color: var(--text-primary);
  position: relative;
  padding-left: 1.5rem;
  font-size: 17px;
  line-height: 1.6;
}

.also-work-with li::before {
  content: "✓";
  color: var(--tertiary);
  position: absolute;
  left: 0;
}

@media (min-width: 768px) {
  .also-work-with {
    padding-top: var(--section-padding-desktop);
    padding-bottom: var(--section-padding-desktop);
  }
}

/* ─────────────────────────────────────────
   MOBILE ANCHOR NAV (specialisms)
   ───────────────────────────────────────── */
@media (max-width: 768px) {
    .anchor-nav {
        position: relative;
    }

    .anchor-nav__list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-bg);
        border: 1px solid var(--tertiary);
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(47, 74, 77, 0.1);
        z-index: 100;
        flex-direction: column;
        padding: 1rem;
    }

    .anchor-nav__list.is-open {
        display: flex;
    }

    .anchor-nav__toggle {
        display: block;
        background: var(--primary);
        color: white;
        border: none;
        padding: 0.75rem 1rem;
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.9rem;
        width: 100%;
        text-align: left;
    }

    .anchor-nav__toggle::after {
        content: '▾';
        float: right;
        transition: transform 0.2s ease;
    }

    .anchor-nav__toggle.is-open::after {
        transform: rotate(180deg);
    }
}

@media (min-width: 769px) {
    .anchor-nav__toggle {
        display: none;
    }
}

/* ─────────────────────────────────────────
   RESOURCES PAGE
   ───────────────────────────────────────── */
.resources-section {
  padding-top: var(--section-padding-mobile);
  padding-bottom: var(--section-padding-mobile);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .resources-section {
    padding-top: var(--section-padding-desktop);
    padding-bottom: var(--section-padding-desktop);
  }

  .resources-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.article-card {
  background: #ffffff;
  border: 1px solid rgba(47, 74, 77, 0.12);
  border-radius: 6px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.article-card:hover {
  box-shadow: 0 4px 20px rgba(47, 74, 77, 0.12);
  transform: translateY(-2px);
}

.article-card__body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card__meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 12px;
}

.article-card__description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__link {
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition);
  margin-top: auto;
}

.article-card__link:hover,
.article-card__link:focus {
  color: var(--accent-cta-hover);
  text-decoration: underline;
}

/* ─────────────────────────────────────────
   ARTICLE PAGES
   ───────────────────────────────────────── */
.article-header {
  background: var(--primary);
  color: var(--text-light);
  padding: calc(var(--section-padding-mobile) + var(--nav-height)) 0 var(--section-padding-mobile);
}

.article-header .eyebrow {
  color: var(--accent-cta);
  margin-bottom: 1rem;
}

.article-header .eyebrow a {
  color: var(--accent-cta);
  text-decoration: none;
}

.article-header .eyebrow a:hover {
  text-decoration: underline;
}

.article-header h1 {
  color: var(--text-light);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  max-width: 780px;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: rgba(244, 241, 236, 0.75);
  flex-wrap: wrap;
}

.article-meta__author {
  font-style: italic;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--section-padding-mobile) 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.article-body p {
  margin-bottom: 1.4em;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--primary);
  margin-top: 2.25em;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .article-header {
    padding-top: calc(var(--section-padding-desktop) + var(--nav-height));
    padding-bottom: var(--section-padding-desktop);
  }

  .article-body {
    padding-top: var(--section-padding-desktop);
    padding-bottom: var(--section-padding-desktop);
  }
}

.article-cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 48px;
  background: var(--sand-warm);
  border-radius: 6px;
  margin-bottom: var(--section-padding-mobile);
  border-left: 4px solid var(--accent-cta);
}

@media (min-width: 768px) {
  .article-cta {
    margin-bottom: var(--section-padding-desktop);
  }
}

.article-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.article-cta p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* ─────────────────────────────────────────
   YOUNG PEOPLE PAGE
   ───────────────────────────────────────── */
.young-people-cards {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .young-people-cards {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.young-people-card {
  background: var(--secondary-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.young-people-card h3 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}

.young-people-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
}

.practical-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.practical-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--tertiary);
  font-size: 1rem;
  line-height: 1.6;
}

.practical-list li:last-child {
  border-bottom: none;
}

.practical-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.75rem;
}


/* ─────────────────────────────────────────
   17. SCROLL ANIMATIONS
   ───────────────────────────────────────── */
.reveal {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 800ms ease-out, opacity 800ms ease-out;
}

.reveal.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Hero reveal — quieter, smaller travel for the senior treatment */
.reveal-hero-eyebrow,
.reveal-hero-h1,
.reveal-hero-subtitle,
.reveal-hero-ctas,
.reveal-hero-trust,
.reveal-hero-credentials {
  transform: translateY(12px);
  opacity: 0;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 700ms ease;
}

.reveal-hero-eyebrow.visible,
.reveal-hero-h1.visible,
.reveal-hero-subtitle.visible,
.reveal-hero-ctas.visible,
.reveal-hero-trust.visible,
.reveal-hero-credentials.visible {
  transform: translateY(0);
  opacity: 1;
}

.reveal-hero-eyebrow    { transition-delay: 80ms;  }
.reveal-hero-h1         { transition-delay: 200ms; }
.reveal-hero-subtitle   { transition-delay: 700ms; }
.reveal-hero-ctas       { transition-delay: 850ms; }
.reveal-hero-trust      { transition-delay: 1000ms;}
.reveal-hero-credentials{ transition-delay: 1150ms;}

.reveal-hero-portrait {
  transform: scale(0.985);
  opacity: 0;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1400ms ease;
  transition-delay: 1300ms;
}

.reveal-hero-portrait.visible {
  transform: scale(1);
  opacity: 1;
}

.reveal-recognition {
  transform: translateY(12px);
  opacity: 0;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 700ms ease;
}

.reveal-recognition.visible {
  transform: translateY(0);
  opacity: 1;
}

.reveal-recognition-image-mobile {
  opacity: 1;
}

@media (max-width: 600px) {
  .reveal-recognition-image-mobile {
    opacity: 0;
    transform: translateX(-19%) translateY(calc(var(--parallax-y, 0px) + 20px));
    transition: transform 800ms ease-out, opacity 800ms ease-out;
  }

  .reveal-recognition-image-mobile.visible {
    opacity: 1;
    transform: translateX(-19%) translateY(var(--parallax-y, 0px));
  }
}

.reveal-cta {
  opacity: 0;
  transition: opacity 800ms ease-out;
  transition-delay: 0ms;
}

.reveal-cta.visible {
  opacity: 1;
}

/* (Hero CTA + trust reveals are consolidated above.) */

.reveal-about-para {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 800ms ease-out, opacity 800ms ease-out;
}

.reveal-about-para.visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-hero-eyebrow,
  .reveal-hero-h1,
  .reveal-hero-subtitle,
  .reveal-hero-portrait,
  .reveal-hero-ctas,
  .reveal-hero-trust,
  .reveal-hero-credentials,
  .reveal-about-para,
  .reveal-recognition,
  .reveal-cta,
  .approach-pullquote {
    transform: none;
    transition: opacity 0.01ms;
    transition-delay: 0ms;
  }
}


/* ─────────────────────────────────────────
   18. RECOGNITION PULLQUOTE
   ───────────────────────────────────────── */
.recognition-pullquote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--accent-cta);
  line-height: 1.25;
  text-align: center;
  margin: 56px auto 0;
  max-width: 640px;
  padding-top: 0;
  border-top: none;
  font-variation-settings: '"opsz" 96', '"SOFT" 100';
}

.recognition-pullquote__mark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.7em;
  color: var(--accent-cta);
  opacity: 0.4;
  vertical-align: -0.18em;
  margin-right: 0.18em;
  font-variation-settings: '"opsz" 144';
}

@media (min-width: 768px) {
  .recognition-pullquote {
    margin-top: 72px;
  }
}


/* ─────────────────────────────────────────
   RESEARCH PROJECTS (about.html)
   ───────────────────────────────────────── */
.research-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.research-project {
  border-left: 2px solid #e0dbd3;
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.research-project__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.research-project__meta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-bottom: 0.6rem;
}


/* ─────────────────────────────────────────
   FIT LIST (about.html — who I work well with)
   ───────────────────────────────────────── */
.fit-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
}

.fit-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.55;
}

.fit-list li::before {
  content: "—";
  color: var(--accent-cta);
  position: absolute;
  left: 0;
}


/* ─────────────────────────────────────────
   SKIP TO CONTENT
   ───────────────────────────────────────── */
.skip-to-content {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  z-index: 9999;
  text-decoration: none;
}

.skip-to-content:focus {
  position: fixed;
  top: 0;
  left: 1rem;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-size: 0.875rem;
}


/* ─────────────────────────────────────────
   EXPLORE FURTHER LIST (resources page)
   ───────────────────────────────────────── */
.explore-further-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  list-style: none;
}

.explore-further-list li {
  font-size: 15px;
  line-height: 1.5;
}

.explore-further-list a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.explore-further-list a:hover,
.explore-further-list a:focus-visible {
  color: var(--primary-hover);
}


/* ─────────────────────────────────────────
   FORM VALIDATION
   ───────────────────────────────────────── */
.waitlist-form__input:invalid {
  border-color: #d63384;
}

.waitlist-form__input:focus:invalid {
  box-shadow: 0 0 0 2px rgba(214, 51, 132, 0.25);
}


/* ─────────────────────────────────────────
   COOKIE CONSENT BANNER
   ───────────────────────────────────────── */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--text-light);
  z-index: 9999;
  padding: 1rem 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  transform: translateY(100%);
  animation: slideInUp 0.4s ease forwards;
}

@keyframes slideInUp {
  to { transform: translateY(0); }
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-consent-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  flex: 1;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-consent-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-height: 40px;
  font-family: var(--font-body);
}

.cookie-consent-btn--accept {
  background: var(--accent-cta);
  color: white;
}

.cookie-consent-btn--accept:hover {
  background: var(--accent-cta-hover);
}

.cookie-consent-btn--decline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(244,241,236,0.3);
}

.cookie-consent-btn--decline:hover {
  background: rgba(244,241,236,0.1);
}

.cookie-consent-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    padding: 1rem 0;
    background: rgba(36, 50, 54, 0.97);
    backdrop-filter: blur(4px);
  }

  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .cookie-consent-text {
    font-size: 0.875rem;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-consent-btn {
    flex: 1;
    min-height: 48px;
  }
}

@media (max-width: 350px) {
  .cookie-consent-actions {
    flex-direction: column;
  }

  .cookie-consent-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent-banner {
    animation: none;
    transform: translateY(0);
  }
}


/* ─────────────────────────────────────────
   COOKIE CONSENT (STATIC BANNER)
   ───────────────────────────────────────── */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--text-light);
  z-index: 10000;
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-consent__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.875rem;
  flex: 1;
}

.cookie-consent__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cookie-consent__accept {
  background: var(--accent-cta);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cookie-consent__accept:hover {
  background: var(--accent-cta-hover);
}

.cookie-consent__decline {
  background: none;
  border: none;
  color: var(--text-light);
  text-decoration: underline;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .cookie-consent__content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent__actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-consent__accept {
    min-width: 120px;
  }
}


/* ─────────────────────────────────────────
   MOBILE POLISH PASS
   ───────────────────────────────────────── */

@media (max-width: 767px) {
  .about-hero-image {
    max-width: 220px;
    height: 275px;
    aspect-ratio: unset;
  }

  .about-preview__portrait-wrap {
    max-width: 220px;
    height: 275px;
    aspect-ratio: unset;
  }

  .footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .anchor-nav__toggle {
    min-height: 48px;
  }

  .young-people-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .article-cta {
    padding: 1.5rem 1.25rem;
  }

  .footer-bottom p {
    line-height: 1.8;
    word-break: break-word;
  }

  .footer-content {
    gap: 2rem;
  }

  .specialisms-grid {
    gap: 1.25rem;
  }
}

@media (max-width: 399px) {
  .cta-block__buttons {
    max-width: 100%;
    width: 100%;
  }

  .hero__ctas .btn {
    max-width: 100%;
  }

  .fees-headline {
    font-size: clamp(28px, 12vw, 38px);
  }
}

/* ─────────────────────────────────────────
   DESKTOP ZOOM-OUT DEFAULT
   The page is composed to look its best at the equivalent of
   browser zoom 90%. Apply only at desktop widths so mobile/tablet
   layouts (already designed for their native scale) are untouched.
   `zoom` reflows like real browser zoom — supported in Chromium,
   Safari, and Firefox 126+.
   ───────────────────────────────────────── */
@media (min-width: 1024px) {
  html {
    zoom: 0.9;
  }
}


/* =============================================================
   THE THERAPY — page-therapy scope
   Sister page to the homepage. Uses the same Fraunces / Inter /
   JetBrains Mono treatment, scoped under .page-therapy so other
   pages keep Playfair / DM Sans.
   ============================================================= */

/* Typography scope — match the page-home block at section 9b */
.page-therapy h1,
.page-therapy h2,
.page-therapy .therapy-step__heading,
.page-therapy .therapy-specialism__heading,
.page-therapy .cta-block h2 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-variation-settings: '"opsz" 144';
}

.page-therapy .therapy-step__heading,
.page-therapy .therapy-specialism__heading {
  font-variation-settings: '"opsz" 32';
}


/* ─────────────────────────────────────────
   §I — HERO
   ───────────────────────────────────────── */
.therapy-hero {
  position: relative;
  padding-top: clamp(40px, 4.4vw, 68px);
  padding-bottom: clamp(36px, 4.4vw, 60px);
  background:
    radial-gradient(circle at 12% 8%, rgba(184, 156, 122, 0.14), transparent 30%),
    radial-gradient(circle at 78% 40%, rgba(124, 143, 122, 0.11), transparent 24%),
    linear-gradient(180deg, #f8f4ed 0%, #f5f1e9 100%);
  overflow: hidden;
}

.therapy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.03;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.therapy-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.32), transparent 56%),
    linear-gradient(90deg, rgba(184, 156, 122, 0.05) 0%, transparent 16%, transparent 84%, rgba(184, 156, 122, 0.05) 100%);
  pointer-events: none;
  z-index: 0;
}

.therapy-hero__shell {
  position: relative;
  z-index: 1;
}

.therapy-hero__topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(47, 74, 77, 0.15);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.therapy-hero__layout {
  position: relative;
  min-height: clamp(284px, 31vw, 470px);
}

.therapy-hero__content,
.therapy-hero__index {
  position: relative;
  z-index: 2;
}

.therapy-hero__content {
  max-width: 560px;
}

.therapy-hero__eyebrow { color: var(--tertiary); }
.therapy-hero__range { color: var(--accent-cta); }

.therapy-hero__heading {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: clamp(36px, 5.2vw, 61px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin: 0 0 26px;
  max-width: 10ch;
  font-variation-settings: '"opsz" 144';
}

.therapy-hero__heading em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-cta);
  font-variation-settings: '"opsz" 144', '"SOFT" 100';
}

.therapy-hero__lead {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--text-secondary);
  margin: 0 0 32px;
  max-width: 36ch;
}

.therapy-hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
}

.therapy-hero__visual {
  position: absolute;
  top: clamp(64px, 9vw, 122px);
  right: clamp(-300px, -15vw, -108px);
  width: clamp(684px, 64vw, 972px);
  pointer-events: none;
  z-index: 1;
}

.therapy-hero__art-layer {
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.therapy-hero__art {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.96;
  filter: saturate(0.9) contrast(0.96) brightness(1.01);
}

.therapy-hero__index {
  list-style: none;
  margin: 52px 0 0;
  padding: 60px 0 32px;
  border-top: 1px solid rgba(47, 74, 77, 0.18);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.therapy-hero__index-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.therapy-hero__index-num {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 30px;
  font-weight: 300;
  color: var(--accent-cta);
  line-height: 1;
  flex-shrink: 0;
  font-variation-settings: '"opsz" 48', '"SOFT" 100';
  min-width: 36px;
  padding-top: 2px;
}

.therapy-hero__index-link {
  flex: 1;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition);
}

.therapy-hero__index-link:hover,
.therapy-hero__index-link:focus-visible {
  opacity: 0.78;
}

.therapy-hero__index-label {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  font-weight: 300;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 7px;
  font-variation-settings: '"opsz" 32';
}

.therapy-hero__index-meta {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

@media (min-width: 768px) {
  .therapy-hero {
    padding-top: clamp(54px, 5.4vw, 75px);
    padding-bottom: clamp(42px, 4.5vw, 70px);
  }
  .therapy-hero__layout {
    min-height: clamp(360px, 35vw, 504px);
  }
  .therapy-hero__heading { margin-bottom: 28px; }
  .therapy-hero__lead { font-size: 16px; }
  .therapy-hero__ctas {
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }
  .therapy-hero__visual {
    top: clamp(74px, 9.9vw, 137px);
    right: clamp(-288px, -14vw, -100px);
    width: clamp(738px, 68vw, 1017px);
  }
  .therapy-hero__index {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(36px, 4.2vw, 60px);
    margin-top: 72px;
    padding-top: 84px;
    padding-bottom: 56px;
  }
}

@media (min-width: 1024px) {
  .therapy-hero {
    padding-top: clamp(60px, 5.4vw, 82px);
    padding-bottom: clamp(60px, 5.4vw, 96px);
  }
  .therapy-hero__layout {
    min-height: clamp(384px, 36vw, 528px);
  }
  .therapy-hero__lead { font-size: 16.5px; }
  .therapy-hero__visual {
    top: clamp(-14px, 2.5vw, 50px);
    right: clamp(-312px, -13vw, -132px);
    width: clamp(774px, 68vw, 1044px);
  }
  .therapy-hero__index {
    margin-top: 96px;
    padding-top: 104px;
    padding-bottom: 72px;
    gap: clamp(40px, 4.5vw, 72px);
  }
}

@media (max-width: 1023px) {
  .therapy-hero__layout {
    min-height: auto;
  }

  .therapy-hero__visual {
    display: none;
  }
}

@media (max-width: 480px) {
  .therapy-hero {
    padding-top: 34px;
    padding-bottom: 50px;
  }
  .therapy-hero__topline {
    gap: 16px;
    margin-bottom: 28px;
  }
  .therapy-hero__heading {
    font-size: clamp(31px, 10vw, 44px);
    line-height: 1.02;
  }
  .therapy-hero__lead {
    margin-bottom: 30px;
    max-width: 32ch;
  }
  .therapy-hero__ctas { width: 100%; align-items: stretch; }
  .therapy-hero__ctas .btn--hero-primary { justify-content: center; width: 100%; }
  .therapy-hero__ctas .btn--ghost { align-self: center; }
  .therapy-hero__visual {
    width: 165%;
    margin-right: -35%;
  }
  .therapy-hero__index {
    margin-top: 44px;
    padding-top: 48px;
    padding-bottom: 28px;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .therapy-hero__art-layer {
    transform: none !important;
  }
}


/* ─────────────────────────────────────────
   Shared therapy section utilities
   ───────────────────────────────────────── */
.page-therapy .therapy-section-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--tertiary);
  margin: 0 0 18px;
}

.page-therapy .therapy-section-eyebrow span {
  color: var(--accent-cta);
  margin-right: 6px;
}

.page-therapy .therapy-section-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 4.2vw, 38px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--primary);
  margin: 0 0 24px;
  max-width: 26ch;
  font-variation-settings: '"opsz" 96';
}

.page-therapy .therapy-section-lead {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--text-primary);
  margin: 0 0 28px;
  max-width: 640px;
}

.page-therapy .therapy-section-close {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  max-width: 580px;
  margin: 32px 0 0;
}


/* ─────────────────────────────────────────
   §III — INSIDE A SESSION
   ───────────────────────────────────────── */
.therapy-sessions {
  background: #ffffff;
  padding: 80px 0;
}

.therapy-expect-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 720px;
}

.therapy-expect-item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(47, 74, 77, 0.12);
}

.therapy-expect-item:last-child {
  border-bottom: 1px solid rgba(47, 74, 77, 0.12);
}

.therapy-expect-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-cta);
  flex-shrink: 0;
  min-width: 28px;
}

.therapy-expect-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-primary);
  font-weight: 400;
}

@media (min-width: 768px) {
  .therapy-sessions { padding: 104px 0; }
  .therapy-expect-list { gap: 0; }
}


/* ─────────────────────────────────────────
   §IV — HOW CBT WORKS (cycle + steps)
   ───────────────────────────────────────── */
.therapy-howcbt {
  background: var(--sand-warm);
  padding: 80px 0;
}

.therapy-howcbt__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .therapy-howcbt { padding: 112px 0; }
  .therapy-howcbt__grid {
    grid-template-columns: 0.85fr 1fr;
    gap: 64px;
    margin-top: 40px;
  }
}

/* Cycle diagram */
.therapy-cycle {
  margin: 0;
  max-width: 360px;
  width: 100%;
  justify-self: center;
}

.therapy-cycle__svg {
  display: block;
  width: 100%;
  height: auto;
}

.therapy-cycle__node circle {
  fill: #ffffff;
  stroke: var(--primary);
  stroke-width: 1.2;
}

.therapy-cycle__node text {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  fill: var(--primary);
  font-weight: 500;
}

.therapy-cycle__arrow {
  fill: none;
  stroke: var(--accent-cta);
  stroke-width: 1.4;
  opacity: 0.85;
}

.therapy-cycle__caption {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(47, 74, 77, 0.18);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.therapy-cycle__caption-fig {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cta);
  flex-shrink: 0;
}

.therapy-cycle__caption-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  font-style: italic;
}

/* Four-step process */
.therapy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.therapy-step {
  position: relative;
  padding-left: 56px;
}

.therapy-step__num {
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 300;
  color: var(--accent-cta);
  line-height: 1;
  font-variation-settings: '"opsz" 48', '"SOFT" 100';
}

.therapy-step__heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  font-weight: 300;
  color: var(--primary);
  line-height: 1.3;
  margin: 0 0 8px;
  font-variation-settings: '"opsz" 32';
}

.therapy-step__body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}


/* ─────────────────────────────────────────
   §V — SPECIALISMS
   ───────────────────────────────────────── */
.therapy-specialisms-intro {
  background: #ffffff;
  padding: 80px 0 48px;
}

@media (min-width: 768px) {
  .therapy-specialisms-intro { padding: 112px 0 56px; }
}

.therapy-specialism {
  background: #ffffff;
  padding: 56px 0;
}

.therapy-specialism--alt {
  background: var(--sand-warm);
}

.therapy-specialism--other {
  background: var(--secondary-bg);
  padding: 64px 0;
  border-top: 1px solid rgba(47, 74, 77, 0.10);
}

.therapy-specialism .container {
  max-width: 760px;
}

.therapy-specialism__fig {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-cta);
  margin: 0 0 14px;
}

.therapy-specialism__heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: var(--primary);
  margin: 0 0 22px;
  font-variation-settings: '"opsz" 64';
}

.therapy-specialism__recognition,
.therapy-specialism__how,
.therapy-specialism__close {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  margin: 0 0 18px;
  max-width: 660px;
  font-weight: 400;
}

.therapy-specialism__recognition {
  font-weight: 400;
  color: var(--text-primary);
}

.therapy-specialism__how {
  font-weight: 300;
  color: var(--text-secondary);
}

.therapy-specialism__close {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 0;
  padding-top: 8px;
}

.therapy-specialism__close .text-link {
  font-style: normal;
  font-weight: 500;
}

.therapy-other-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 520px;
}

.therapy-other-list li {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15.5px;
  color: var(--text-primary);
  padding: 10px 0;
  border-top: 1px solid rgba(47, 74, 77, 0.12);
}

.therapy-other-list li:last-child {
  border-bottom: 1px solid rgba(47, 74, 77, 0.12);
}

@media (min-width: 768px) {
  .therapy-specialism { padding: 80px 0; }
  .therapy-other-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 36px;
  }
}


/* ─────────────────────────────────────────
   CTA block — adopt the Fraunces treatment
   ───────────────────────────────────────── */
.page-therapy .cta-block h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-variation-settings: '"opsz" 144';
}


/* ─────────────────────────────────────────
   Reveal animations — match homepage timing
   The .reveal class is wired to IntersectionObserver in main.js;
   these rules give .therapy-hero its eager (on-load) reveal.
   ───────────────────────────────────────── */
.page-therapy .reveal-hero-h1,
.page-therapy .reveal-hero-subtitle,
.page-therapy .reveal-hero-portrait,
.page-therapy .reveal-hero-ctas,
.page-therapy .reveal-hero-credentials {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.page-therapy .reveal-hero-subtitle { transition-delay: 120ms; }
.page-therapy .reveal-hero-portrait { transition-delay: 120ms; }
.page-therapy .reveal-hero-ctas { transition-delay: 240ms; }
.page-therapy .reveal-hero-credentials { transition-delay: 380ms; }

.page-therapy .reveal-hero-h1.visible,
.page-therapy .reveal-hero-subtitle.visible,
.page-therapy .reveal-hero-portrait.visible,
.page-therapy .reveal-hero-ctas.visible,
.page-therapy .reveal-hero-credentials.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .page-therapy .reveal-hero-h1,
  .page-therapy .reveal-hero-subtitle,
.page-therapy .reveal-hero-portrait,
  .page-therapy .reveal-hero-ctas,
  .page-therapy .reveal-hero-credentials {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
