/* ===========================================================
   Barnardt & Fleming — Online Clinical Psychology
   Warm editorial identity, modern crisp execution.
   No fade-to-cream overlays, no soft drop-shadows at rest.
   =========================================================== */

:root {
  /* Surfaces */
  --white: #ffffff;
  --cream: #f7f4ed;
  --cream-2: #f1ece1;
  --oat: #e7ddcd;
  --paper: #fcfaf5;

  /* Ink */
  --ink: #1b1a17;
  --ink-2: #34322d;
  --muted: #6c6a62;

  /* Brand */
  --sage: #6f826d;
  --sage-dk: #3e5042;
  --sage-deep: #2c3a30;
  --clay: #a9794e;          /* warm interactive accent, used sparingly */
  --clay-soft: #c79a6b;

  /* Lines */
  --line: rgba(27, 26, 23, 0.12);
  --line-2: rgba(27, 26, 23, 0.07);
  --sage-line: rgba(111, 130, 109, 0.28);

  /* Fonts
     Futura PT is an Adobe Fonts (Typekit) face — paste your kit <link> in index.html
     to activate it; until then the UI gracefully falls back to Inter. */
  --font-display: "Lora", Georgia, "Times New Roman", serif;     /* serif headings */
  --font-serif: "Merriweather", Georgia, serif;                  /* serif ledes / accents */
  --font-ui: "Futura PT", "Inter", system-ui, sans-serif;        /* labels, nav, buttons */
  --font-body: "Inter", system-ui, "Helvetica Neue", Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 76px);
  --header-h: 88px;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

::selection { background: var(--sage-dk); color: #f6f3ec; }

/* Paper grain — a whisper of print texture over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.032;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.section-head p { text-wrap: balance; }

.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;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 55;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(44, 58, 48, 0.92);
  color: #f6f3ec;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 30px -14px rgba(27, 26, 23, 0.5);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease), background 320ms var(--ease);
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--sage-dk); transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; }
.to-top:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 60;
  background: linear-gradient(90deg, var(--sage), var(--clay));
  transition: width 80ms linear;
  pointer-events: none;
}

/* ===========================================================
   Reveal / motion utilities
   =========================================================== */
.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 760ms var(--ease) calc(var(--i, 0) * 90ms),
    transform 760ms var(--ease) calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.motion [data-reveal="left"]  { transform: translate3d(-38px, 0, 0); }
.motion [data-reveal="right"] { transform: translate3d(38px, 0, 0); }
.motion [data-reveal="zoom"]  { transform: scale(0.94); }
.motion [data-reveal].is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: transform 220ms var(--ease), background-color 220ms var(--ease),
    color 220ms var(--ease), border-color 220ms var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform 260ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--sage-deep);
  color: #f6f3ec;
  box-shadow: 0 12px 26px -14px rgba(44, 58, 48, 0.55);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease);
}
.btn--primary:hover { transform: translateY(-3px); background: var(--sage-dk); box-shadow: 0 20px 36px -16px rgba(44, 58, 48, 0.6); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--sage);
  background: rgba(111, 130, 109, 0.08);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--light:hover { transform: translateY(-3px); border-color: var(--sage); }

.btn:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

/* Text link with animated underline */
.link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage-dk);
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1.5px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }
.link-underline svg { width: 15px; height: 15px; transition: transform 300ms var(--ease); }
.link-underline:hover svg { transform: translateX(4px); }

/* ===========================================================
   Header
   =========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  z-index: 50;
  display: grid;
  width: 100%;
  min-height: var(--header-h);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 10px var(--gutter);
  background: transparent;
  transition: background 240ms var(--ease), box-shadow 240ms var(--ease),
    min-height 240ms var(--ease), border-color 240ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  min-height: 72px;
  background: rgba(247, 244, 237, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-2);
  box-shadow: 0 14px 34px -26px rgba(27, 26, 23, 0.35);
}

.logo-link { justify-self: start; display: inline-flex; align-items: center; }
.site-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 0.9;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 2px;
  font-size: 0.94rem;
  font-weight: 600;
}
.primary-nav > a.is-active,
.nav-group.is-active .nav-trigger { color: var(--sage-dk); }
.primary-nav > a.is-active::after,
.nav-group.is-active > .nav-trigger::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--clay);
  transform: translateX(-50%);
}
.primary-nav > a, .nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}
.primary-nav > a:hover, .nav-trigger:hover,
.nav-group:hover .nav-trigger, .nav-group:focus-within .nav-trigger {
  background: rgba(111, 130, 109, 0.12);
  color: var(--sage-dk);
}
.nav-chevron {
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.65;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 220ms var(--ease);
}
.nav-group.is-open .nav-chevron,
.nav-group:hover .nav-chevron { transform: translateY(0) rotate(225deg); }

.nav-group { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px); left: 50%;
  display: grid;
  min-width: 220px;
  width: max-content;
  max-width: min(340px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: rgba(252, 250, 245, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 6px rgba(27, 26, 23, 0.05), 0 26px 50px -22px rgba(27, 26, 23, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 200ms var(--ease) 180ms, transform 200ms var(--ease) 180ms;
}
/* Invisible bridge across the gap so the menu stays open while the cursor moves into it */
.dropdown::before {
  content: "";
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 18px;
}
.dropdown a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.dropdown a:hover { background: var(--cream-2); color: var(--sage-dk); }
.nav-group:hover .dropdown, .nav-group:focus-within .dropdown, .nav-group.is-open .dropdown {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); transition-delay: 0ms;
}
.dropdown-right { left: auto; right: 0; transform: translateY(8px); }
.nav-group:hover .dropdown-right, .nav-group.is-open .dropdown-right { transform: translateY(0); }

.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 12px; }
.header-cta .btn { min-height: 44px; padding: 0 22px; font-size: 0.74rem; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(252, 250, 245, 0.72);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 99px;
  background: var(--ink);
  transition: transform 320ms var(--ease), opacity 200ms var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0.3); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header sits over the dark hero until you scroll (or open the mobile menu) — light text there */
.site-header:not(.is-scrolled):not(.is-nav-open) .brand-mark,
.site-header:not(.is-scrolled):not(.is-nav-open) .primary-nav > a,
.site-header:not(.is-scrolled):not(.is-nav-open) .nav-trigger { color: #fff; }
.site-header:not(.is-scrolled):not(.is-nav-open) .brand-divider { background: rgba(255, 255, 255, 0.35); }
.site-header:not(.is-scrolled):not(.is-nav-open) .primary-nav > a:hover,
.site-header:not(.is-scrolled):not(.is-nav-open) .nav-trigger:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.site-header:not(.is-scrolled):not(.is-nav-open) .menu-toggle { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.12); }
.site-header:not(.is-scrolled):not(.is-nav-open) .menu-toggle span { background: #fff; }
/* Subtle top scrim so the white nav stays legible over ANY hero image (light or dark) until scrolled */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 24, 19, 0.5), rgba(18, 24, 19, 0));
  transition: opacity 240ms var(--ease);
}
.site-header.is-scrolled::before,
.site-header.is-nav-open::before { opacity: 0; }

/* ===========================================================
   Section scaffolding
   =========================================================== */
.section { position: relative; padding: clamp(72px, 9vw, 132px) 0; }
.section--tight { padding: clamp(52px, 6vw, 88px) 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--oat { background: var(--cream-2); }
.section--sage { background: var(--sage-deep); color: #eef1ea; }

.container { width: min(100%, var(--maxw)); margin: 0 auto; padding: 0 var(--gutter); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--sage-dk);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--clay); }
.section--sage .kicker { color: var(--clay-soft); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.is-left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.02; }
.section-head p { margin: 20px 0 0; color: var(--muted); font-family: var(--font-serif); font-weight: 300; font-size: 1.1rem; line-height: 1.7; }
.section--sage .section-head p { color: rgba(238, 241, 234, 0.78); }

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 90vh;
  min-height: 90svh;
  padding: calc(var(--header-h) + clamp(44px, 7vw, 84px)) 0 clamp(60px, 8vw, 104px);
  overflow: hidden;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
  animation: heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero::after,
.qa-hero::after,
.em-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 24, 19, 0.66) 0%, rgba(18, 24, 19, 0.34) 26%, rgba(18, 24, 19, 0.38) 60%, rgba(18, 24, 19, 0.78) 100%),
    rgba(18, 24, 19, 0.28);
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; text-align: center; }

.kicker--light { color: var(--clay-soft); }
.kicker--light::before { background: var(--clay-soft); }

.hero-title {
  color: #fff;
  font-size: clamp(2.35rem, 6.2vw, 5.2rem);
  line-height: 1.05;
}
.hero-line { display: block; white-space: nowrap; }
.hero-rotate { display: block; min-height: 1.05em; }
.hero-title .rotator { font-style: italic; color: #fff; }
.hero-title .caret {
  display: inline-block;
  width: 3px;
  height: 0.8em;
  margin-left: 3px;
  background: var(--clay-soft);
  vertical-align: -0.04em;
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

.hero-lede {
  margin: 28px auto 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.14rem;
  line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.hero .btn--primary { background: var(--clay); color: #fff; }
.hero .btn--primary:hover { background: var(--clay-soft); }
.hero .btn--ghost, .qa-hero .btn--ghost, .em-hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.42); }
.hero .btn--ghost:hover, .qa-hero .btn--ghost:hover, .em-hero .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  font-size: 0.8rem;
  font-weight: 700;
  color: #f3efe9;
  transition: transform 320ms var(--ease), background 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}
.trust-pill svg { width: 15px; height: 15px; color: var(--clay-soft); transition: color 320ms var(--ease), transform 320ms var(--ease); }
.trust-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 154, 107, 0.65);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(199, 154, 107, 0.32), inset 0 0 0 1px rgba(199, 154, 107, 0.3);
}
.trust-pill:hover svg { color: #fff; transform: scale(1.12); }

/* Hero entrance — staggered fade-up on load (independent of scroll) */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { opacity: 0; animation: heroIn 0.9s var(--ease) both; }
  .hero-ticker { animation-delay: 0.15s; }
  .hero-title { animation-delay: 0.3s; }
  .hero-lede { animation-delay: 0.48s; }
  .hero-actions { animation-delay: 0.62s; }
  .hero-trust { animation-delay: 0.74s; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* Hero keyword ticker (small SEO carousel) */
.hero-ticker { max-width: 540px; margin: 0 auto 22px; }
.hero-ticker-mask {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hero-ticker-track {
  display: inline-flex;
  gap: 9px;
  width: max-content;
  animation: ticker 26s linear infinite;
  will-change: transform;
}
.hero-ticker:hover .hero-ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-ticker-track span {
  flex: 0 0 auto;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-soft);
  white-space: nowrap;
}

/* ===========================================================
   Trust stat strip
   =========================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 48px);
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14%; right: calc(clamp(18px, 3vw, 48px) / -2);
  height: 72%;
  width: 1px;
  background: var(--line);
}
.stat {
  position: relative;
}
@media (min-width: 861px) {
  .stat + .stat::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 14%;
    bottom: 14%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--line), transparent);
  }
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 3.7rem);
  font-weight: 600;
  line-height: 1;
  color: var(--sage-dk);
}
.stat-label {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ===========================================================
   Split layout (brand / services)
   =========================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}
.split.is-reverse .split-media { order: 2; }
.split-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.04; }
.split-copy p { margin: 20px 0 0; color: var(--ink-2); font-family: var(--font-serif); font-weight: 300; font-size: 1.05rem; line-height: 1.74; }
.split-copy .btn, .split-copy .link-underline { margin-top: 30px; }

.media-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    0 1px 2px rgba(27, 26, 23, 0.05),
    0 30px 60px -30px rgba(27, 26, 23, 0.28);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.media-frame:hover img { transform: scale(1.045); }
.media-frame.is-portrait { aspect-ratio: 4 / 3.4; }
.media-frame.is-wide { aspect-ratio: 16 / 10; }

/* Feature split — image fills the full height of its column (whole left side) */
.split.is-feature { align-items: stretch; }
.split.is-feature .split-media { display: flex; }
.split.is-feature .media-frame { width: 100%; height: 100%; min-height: 500px; aspect-ratio: auto; }
.split.is-feature .media-frame img { width: 100%; height: 100%; }

/* Approach chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  padding: 9px 16px;
  border: 1px solid var(--sage-line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sage-dk);
  background: rgba(111, 130, 109, 0.06);
  transition: transform 300ms var(--ease), border-color 300ms var(--ease), background 300ms var(--ease), box-shadow 300ms var(--ease);
}
.chip:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
  background: rgba(111, 130, 109, 0.13);
  box-shadow: 0 10px 22px rgba(44, 58, 48, 0.10);
}

.approach-list { display: grid; gap: 14px; margin-top: 28px; }
.approach-list p {
  margin: 0;
  padding-left: 20px;
  position: relative;
  color: var(--ink-2);
  font-size: 1rem;
}
.approach-list p::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--sage);
}
.approach-list strong { color: var(--ink); font-weight: 800; }

/* ===========================================================
   Concerns cards
   =========================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.concern-card {
  padding: 26px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: transform 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease), background 320ms var(--ease);
}
.concern-card:hover,
.concern-card:active {
  transform: translateY(-5px);
  border-color: var(--sage-line);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(44, 58, 48, 0.08);
}
.concern-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  border-radius: 13px;
  background: rgba(111, 130, 109, 0.12);
  color: var(--sage-dk);
}
.concern-icon svg { width: 23px; height: 23px; }
.concern-card h3 { font-family: var(--font-ui); font-size: 1.04rem; font-weight: 800; letter-spacing: -0.01em; }
.concern-card p { margin: 8px 0 0; font-size: 0.92rem; color: var(--muted); line-height: 1.55; }

/* ===========================================================
   Process steps
   =========================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  overflow: hidden;
  padding: 34px 26px 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: transform 380ms var(--ease), border-color 380ms var(--ease), box-shadow 380ms var(--ease);
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clay), var(--clay-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--sage-line);
  box-shadow: 0 22px 46px rgba(44, 58, 48, 0.1);
}
.step:hover::before { transform: scaleX(1); }
.step-watermark {
  position: static;
  display: block;
  margin: 0 0 14px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  color: var(--ink);
  pointer-events: none;
}
.step-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--clay), var(--clay-soft));
  color: #fff;
  box-shadow: 0 12px 24px rgba(169, 121, 78, 0.28);
}
.step-icon svg { width: 26px; height: 26px; }
.step h3 { position: relative; z-index: 1; font-family: var(--font-ui); font-size: 1.12rem; font-weight: 800; }
.step p { position: relative; z-index: 1; margin: 10px 0 0; font-size: 0.95rem; color: var(--muted); line-height: 1.6; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 56px; right: -13px;
  z-index: 2;
  width: 11px; height: 11px;
  border-top: 2px solid var(--clay);
  border-right: 2px solid var(--clay);
  transform: rotate(45deg);
}

/* ===========================================================
   Therapists
   =========================================================== */
.therapist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
  max-width: 900px;
  margin: 0 auto;
}
.therapist {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.therapist-photo {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 2px rgba(27, 26, 23, 0.05),
    0 26px 52px -28px rgba(27, 26, 23, 0.3);
  transition: box-shadow 420ms var(--ease), transform 420ms var(--ease);
}
.therapist-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.therapist:hover .therapist-photo {
  transform: translateY(-4px);
  box-shadow:
    0 1px 2px rgba(27, 26, 23, 0.05),
    0 36px 64px -30px rgba(27, 26, 23, 0.38);
}
.therapist-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
  filter: saturate(0.95);
}
.therapist:hover .therapist-photo img { transform: scale(1.04); filter: saturate(1.03); }
.therapist h3 { margin-top: 24px; font-size: 1.85rem; letter-spacing: -0.01em; }
.therapist .role {
  margin-top: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--sage-dk);
}
.therapist .therapist-bio { margin-top: 14px; font-size: 0.96rem; color: var(--muted); max-width: 330px; }
.therapist .link-underline { margin-top: 18px; }

/* ===========================================================
   Logo marquee (medical aids / accreditations)
   =========================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-card {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  height: 78px;
  min-width: 188px;
  padding: 0 28px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--white);
  transition: transform 280ms var(--ease), border-color 280ms var(--ease);
}
.logo-card:hover { transform: translateY(-4px); border-color: var(--sage-line); }
.logo-card span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.logo-card small {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* ===========================================================
   Reassurance / values band (on sage)
   =========================================================== */
/* Values section — depth, glow, readable heading */
.values { position: relative; overflow: hidden; }
.values::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 15% 0%, rgba(199, 154, 107, 0.16), transparent 62%),
    radial-gradient(50% 50% at 100% 100%, rgba(111, 130, 109, 0.26), transparent 60%);
}
.values .container { position: relative; z-index: 1; }
.section--sage .section-head h2 { color: #f6f3ec; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.value {
  position: relative;
  overflow: hidden;
  padding: 36px 30px 32px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  transition: transform 400ms var(--ease), border-color 400ms var(--ease), box-shadow 400ms var(--ease);
}
.value::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clay), var(--clay-soft));
  opacity: 0;
  transition: opacity 400ms var(--ease);
}
.value:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 154, 107, 0.5);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.3);
}
.value:hover::before { opacity: 1; }
.value:hover { transform: translateY(-5px); border-color: rgba(244, 241, 234, 0.3); box-shadow: 0 26px 48px -22px rgba(0, 0, 0, 0.36); }
.value-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  border-radius: 15px;
  background: linear-gradient(150deg, var(--clay), var(--clay-soft));
  color: #fff;
  box-shadow: 0 12px 26px rgba(169, 121, 78, 0.32);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.value:hover .value-icon { transform: translateY(-2px) scale(1.06); box-shadow: 0 16px 32px rgba(169, 121, 78, 0.42), 0 0 0 6px rgba(199, 154, 107, 0.14); }
.value-icon svg { width: 25px; height: 25px; }
.value h3 { font-family: var(--font-ui); color: #f6f3ec; font-size: 1.18rem; font-weight: 800; }
.value p { margin: 12px 0 0; color: rgba(238, 241, 234, 0.8); font-size: 0.97rem; line-height: 1.66; }

/* ===========================================================
   CTA
   =========================================================== */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72vh;
  min-height: 72svh;
  overflow: hidden;
  color: #fff;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(26, 36, 28, 0.76) 0%, rgba(26, 36, 28, 0.52) 45%, rgba(26, 36, 28, 0.78) 100%),
    rgba(26, 36, 28, 0.3);
}
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }
.cta h2 { color: #f6f3ec; font-size: clamp(2.4rem, 4.8vw, 4.1rem); line-height: 1.02; }
.cta p { margin: 22px auto 0; color: rgba(241, 239, 232, 0.9); font-family: var(--font-serif); font-weight: 300; font-size: 1.1rem; line-height: 1.72; max-width: 500px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.cta .btn--primary { background: var(--clay); }
.cta .btn--primary:hover { background: var(--clay-soft); }
.cta .btn--ghost { color: #f1efe8; border-color: rgba(255, 255, 255, 0.42); }
.cta .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { position: relative; background: var(--paper); border-top: 0; }
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 26px;
  padding: 26px var(--gutter);
  border-bottom: 1px solid var(--line-2);
}
.footer-trust-item {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.84rem; font-weight: 700; color: var(--ink-2);
}
.footer-trust-item svg { width: 17px; height: 17px; color: var(--sage); }
.footer-trust .sep { width: 1px; height: 16px; background: var(--line); }

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: clamp(36px, 6vw, 88px);
  padding: clamp(46px, 6vw, 72px) var(--gutter) 36px;
}
.footer-brand .site-logo { font-size: 2.4rem; }
.footer-brand p { margin: 16px 0 0; color: var(--muted); font-size: 0.96rem; max-width: 300px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.footer-col h4 {
  margin: 0 0 14px;
  font-family: "Inter", var(--font-ui), sans-serif;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink);
}
.footer-col a { display: block; padding: 5px 0; color: var(--muted); font-size: 0.95rem; transition: color 160ms var(--ease); }
.footer-col a:hover { color: var(--sage-dk); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 22px var(--gutter);
  border-top: 1px solid var(--line-2);
  color: var(--muted); font-size: 0.84rem;
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1000px) {
  .hero-inner { max-width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .stat:nth-child(2)::after { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after, .step::after { display: none; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .primary-nav { display: none; }
  .header-cta .btn { display: none; }
  .menu-toggle { display: flex; justify-self: end; }
  .site-header { grid-template-columns: auto 1fr; }
  .site-header.is-nav-open {
    background: rgba(247, 244, 237, 0.98);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--line-2);
  }

  .primary-nav.is-open {
    display: grid;
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px var(--gutter) 22px;
    background: rgba(247, 244, 237, 0.99);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-2);
    justify-self: stretch;
  }
  .primary-nav.is-open > a, .primary-nav.is-open .nav-trigger { width: 100%; justify-content: space-between; min-height: 50px; }
  .primary-nav.is-open .dropdown {
    position: static; opacity: 1; pointer-events: auto;
    transform: none; display: grid; gap: 2px; min-width: 0; width: 100%;
    border: 0; padding: 4px 0 10px 14px; background: transparent; backdrop-filter: none;
  }
  .primary-nav.is-open .nav-chevron { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.is-reverse .split-media { order: -1; }
  .split-media { max-width: 560px; }
  .split.is-feature .media-frame { min-height: 0; height: auto; aspect-ratio: 4 / 3.6; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .therapist-grid { grid-template-columns: 1fr; }
  .therapist-photo { max-width: 320px; }
}

@media (max-width: 520px) {
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 26px; }
  .stat::after { display: none !important; }
  .footer-links { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}

/* ===========================================================
   Brand logo lockup (typographic — mirrors the real B&F mark)
   =========================================================== */
/* Real logo: monogram (B & F) + real cropped wording to its right, divider between */
.logo-link {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.brand-mono { display: block; height: 35px; width: auto; transition: filter 240ms var(--ease); }
.brand-divider { width: 1px; height: 30px; background: var(--line); align-self: center; }
.brand-words { display: block; height: 21px; width: auto; transition: filter 240ms var(--ease); }
/* Collapse to the B & F monogram before the wide lockup can crowd the centred nav (header only) */
@media (max-width: 1240px) {
  .site-header .brand-divider, .site-header .brand-words { display: none; }
}
.site-header.is-scrolled .brand-mono,
.site-header.is-scrolled .brand-words,
.site-header.is-nav-open .brand-mono,
.site-header.is-nav-open .brand-words { filter: brightness(0); }
.footer-brand .brand-lockup { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand .brand-mono { height: 34px; width: auto; filter: brightness(0); }
.footer-brand .brand-divider { display: block; width: 1px; height: 28px; background: var(--line); }
.footer-brand .brand-words { display: block; height: 20px; width: auto; filter: brightness(0); }

/* ===========================================================
   Professional affiliation cards (in the carousel)
   =========================================================== */
.affil-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 17px;
  height: 98px;
  min-width: 300px;
  padding: 0 32px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--white);
  transition: transform 300ms var(--ease), border-color 300ms var(--ease);
}
.affil-card:hover { transform: translateY(-4px); border-color: var(--sage-line); }
.affil-emblem {
  flex: 0 0 auto;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  color: var(--sage-dk);
}
.affil-emblem svg { width: 100%; height: 100%; }
.affil-text { display: flex; flex-direction: column; }
.affil-acr {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 600; letter-spacing: 0.015em;
  color: var(--ink); line-height: 1;
}
.affil-name {
  margin-top: 5px;
  font-family: var(--font-ui);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  max-width: 210px; line-height: 1.32;
}
.affil-card img { max-height: 58px; width: auto; }

@media (max-width: 560px) {
  .brand-mono { height: 32px; }
  .brand-divider { height: 32px; }
  .brand-words { height: 21px; }
  .affil-card { min-width: 250px; padding: 0 24px; height: 88px; }
}

/* ===========================================================
   FAQ accordion (native details/summary — crawlable + accessible)
   =========================================================== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.faq-item:hover { border-color: var(--sage-line); box-shadow: 0 14px 30px -18px rgba(44, 58, 48, 0.18); }
.faq-item[open] { border-color: var(--sage-line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--sage-dk); }
.faq-item[open] summary { border-bottom: 1px solid var(--line-2); }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 1.6px solid var(--sage);
  border-bottom: 1.6px solid var(--sage);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 260ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: 2px; }
.faq-item .faq-a {
  padding: 0 24px 22px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.72;
}

/* ===========================================================
   Shared micro-interactions — hover glow + icon motion
   =========================================================== */
.concern-icon, .affil-emblem, .value-icon, .step-icon {
  transition: transform 380ms var(--ease), background 380ms var(--ease), color 380ms var(--ease), box-shadow 380ms var(--ease);
}
.concern-card:hover { box-shadow: 0 18px 38px rgba(44, 58, 48, 0.1), 0 0 0 1px rgba(199, 154, 107, 0.2); }
.concern-card:hover .concern-icon { transform: translateY(-2px) scale(1.1); background: var(--sage); color: #fff; }
.affil-card:hover { box-shadow: 0 16px 32px rgba(44, 58, 48, 0.08), 0 0 0 1px rgba(199, 154, 107, 0.22); }
.affil-card:hover .affil-emblem { transform: scale(1.1); color: var(--clay); }
.value:hover .value-icon { transform: translateY(-2px) scale(1.08) rotate(-4deg); box-shadow: 0 16px 32px rgba(169, 121, 78, 0.45); }
.step:hover .step-icon { transform: translateY(-2px) scale(1.08) rotate(-4deg); box-shadow: 0 16px 30px rgba(169, 121, 78, 0.4), 0 0 0 6px rgba(169, 121, 78, 0.12); }

/* Real affiliation logos: drop assets/affil-hpcsa.png, affil-psyssa.png, affil-bhf.png
   and each automatically replaces its custom emblem. */
.affil-logo { max-height: 54px; width: auto; }
.affil-card.has-logo { justify-content: center; }
.affil-card.has-logo .affil-emblem,
.affil-card.has-logo .affil-text { display: none; }

/* ===========================================================
   Ticker band — "What we help with" / "How we work"
   =========================================================== */
.ticker-band {
  position: relative;
  padding: clamp(52px, 6vw, 88px) 0;
  background:
    radial-gradient(80% 120% at 50% -10%, rgba(111, 130, 109, 0.1), transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 48%, var(--cream) 100%);
  overflow: hidden;
}
.ticker-band::before,
.ticker-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.ticker-band::before { top: 0; }
.ticker-band::after { bottom: 0; }
.ticker-head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 3.8vw, 48px); padding: 0 var(--gutter); }
.ticker-head .kicker, .ticker-kicker { justify-content: center; margin: 0 0 14px; }
.ticker-sub { margin: 0; font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.05rem, 1.5vw, 1.32rem); line-height: 1.6; color: var(--ink-2); }
.t-marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.t-marquee + .t-marquee { margin-top: 16px; }
.ticker-row {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 44s linear infinite;
  will-change: transform;
}
.ticker-row--rev { animation-direction: reverse; animation-duration: 52s; }
.t-marquee:hover .ticker-row { animation-play-state: paused; }
.tpill {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 6px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: none;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-2);
  white-space: normal;
  box-shadow: none;
  transition: color 260ms var(--ease), padding-left 260ms var(--ease), border-color 260ms var(--ease);
}
.tpill::before {
  content: "";
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(111, 130, 109, 0.16);
}
.tpill--alt::before { background: var(--clay); box-shadow: 0 0 0 4px rgba(169, 121, 78, 0.18); }
.tpill:hover { color: var(--sage-dk); padding-left: 12px; }
.tpill--alt:hover { color: var(--clay); }

/* ===========================================================
   Editorial article layout — long-form clinical pages
   (anxiety / depression / trauma / overthinking, services)
   Two-column: sticky wayfinding aside + readable prose column.
   =========================================================== */
.article { position: relative; padding: clamp(56px, 7vw, 104px) 0; background: var(--paper); }
.article::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 240px; pointer-events: none;
  background: radial-gradient(78% 100% at 50% 0%, rgba(111, 130, 109, 0.08), transparent 72%);
}
.article .container { position: relative; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(38px, 5vw, 66px); }
@media (min-width: 981px) { .article-grid { grid-template-columns: 250px minmax(0, 1fr); } }

/* --- Sticky sidebar --- */
.article-aside { display: grid; gap: 18px; align-content: start; }
@media (min-width: 981px) {
  .article-aside { position: sticky; top: calc(var(--header-h) + 20px); }
}
/* Mobile: lead with the content; drop the TOC, keep the enquiry card + trust below */
@media (max-width: 980px) {
  .article-main { order: 1; }
  .article-aside { order: 2; }
  .article-aside .toc { display: none; }
}
.toc { border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--white); padding: 20px 20px 14px; }
.toc-title {
  display: flex; align-items: center; gap: 9px; margin: 0 0 12px;
  font-family: var(--font-ui); font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
.toc-title::before { content: ""; width: 18px; height: 1.5px; background: var(--clay); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a {
  display: block; padding: 8px 0 8px 14px; margin-left: -1px;
  border-left: 2px solid var(--line-2);
  color: var(--muted); font-size: 0.9rem; font-weight: 600; line-height: 1.35;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.toc a:hover { color: var(--sage-dk); border-left-color: var(--sage); }
.toc a.is-active { color: var(--sage-dk); border-left-color: var(--clay); }

/* --- Aside enquiry card --- */
.aside-cta { border-radius: var(--r-md); padding: 24px 22px; background: linear-gradient(165deg, var(--sage-dk), var(--sage-deep)); color: #eef1ea; }
.aside-cta h3 { color: #f6f3ec; font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; line-height: 1.16; }
.aside-cta p { margin: 10px 0 18px; font-size: 0.91rem; line-height: 1.6; color: rgba(238, 241, 234, 0.84); }
.aside-cta .btn { width: 100%; min-height: 46px; background: var(--clay); color: #fff; }
.aside-cta .btn:hover { background: var(--clay-soft); }

/* --- Aside trust list --- */
.aside-trust { display: grid; gap: 11px; margin: 0; padding: 2px 6px; list-style: none; }
.aside-trust li { display: flex; align-items: center; gap: 11px; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.aside-trust svg { width: 18px; height: 18px; color: var(--sage); flex: 0 0 auto; }

/* --- Main column --- */
.article-main { min-width: 0; max-width: 772px; }
.article-block { scroll-margin-top: calc(var(--header-h) + 26px); }
.article-block + .article-block,
.pullquote + .article-block,
.inline-cta + .article-block,
.pullquote + h2, .inline-cta + h2 { margin-top: clamp(54px, 6.5vw, 82px); }
.article-block > .kicker { margin-bottom: 12px; }
.article-block h2 { font-size: clamp(1.7rem, 2.9vw, 2.45rem); line-height: 1.12; margin-bottom: 18px; }
.article-block h3 { margin-bottom: 12px; }
.article-block > p { margin: 18px 0 0; color: var(--ink-2); font-family: var(--font-serif); font-weight: 300; font-size: 1.07rem; line-height: 1.8; }

/* left-align + widen the reused content blocks inside the article column */
.article-main .prose, .article-main .lede-list, .article-main .note { max-width: none; margin-left: 0; margin-right: 0; }
.article-main .experience-grid, .article-main .approach-grid { max-width: none; }
.article-main .experience-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .article-main .experience-grid { grid-template-columns: 1fr; } }

/* --- Pull quote (breaks up the long read) --- */
.pullquote { margin: clamp(40px, 5vw, 60px) 0 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--clay); }
.pullquote p { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.35rem, 2.3vw, 1.8rem); line-height: 1.36; color: var(--clay); }
.pullquote cite { display: block; margin-top: 14px; font-family: var(--font-ui); font-style: normal; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* --- Inline CTA band inside the article flow --- */
.inline-cta {
  position: relative; overflow: hidden;
  margin: clamp(44px, 5.5vw, 64px) 0 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--sage-dk), var(--sage-deep));
  color: #eef1ea;
}
.inline-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 130% at 100% 0%, rgba(199, 154, 107, 0.24), transparent 60%); }
.inline-cta-copy { position: relative; max-width: 480px; }
.inline-cta h3 { color: #f6f3ec; font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.16; }
.inline-cta p { margin: 9px 0 0; font-size: 0.96rem; line-height: 1.62; color: rgba(238, 241, 234, 0.84); }
.inline-cta .btn { position: relative; flex: 0 0 auto; background: var(--clay); color: #fff; }
.inline-cta .btn:hover { background: var(--clay-soft); }
@media (max-width: 720px) { .inline-cta { flex-direction: column; align-items: flex-start; } .inline-cta .btn { width: 100%; } }

/* Static "What we help with" pills — calm, no marquee motion */
.tpill-static {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px 44px;
  max-width: 1040px;
  margin: clamp(30px, 4vw, 46px) auto 0;
  padding: 0 var(--gutter);
}

/* Process steps — ink/black variant (homepage "Starting therapy, made simple") */
.steps--ink .step-icon { background: linear-gradient(150deg, #34322d, #15140f); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22); }
.steps--ink .step::before { background: linear-gradient(90deg, var(--ink), #4a473f); }
.steps--ink .step:not(:last-child)::after { border-top-color: var(--ink); border-right-color: var(--ink); }
.steps--ink .step:hover .step-icon { box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32); }

/* Therapist directory links (bio pages) */
.directory-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 860px; margin: 0 auto; }
.directory-link {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white);
  font-family: var(--font-ui); font-weight: 700; font-size: 0.9rem; color: var(--ink-2);
  transition: transform 280ms var(--ease), border-color 280ms var(--ease), color 280ms var(--ease), box-shadow 280ms var(--ease);
}
.directory-link svg { width: 14px; height: 14px; color: var(--sage); transition: transform 280ms var(--ease), color 280ms var(--ease); }
.directory-link:hover { transform: translateY(-3px); border-color: var(--sage-line); color: var(--sage-dk); box-shadow: 0 12px 26px rgba(44, 58, 48, 0.1); }
.directory-link:hover svg { transform: translate(2px, -2px); color: var(--clay); }

/* Therapist-directory logo marquee (bio pages) — official logos drift across, lift + colour on hover */
.marquee--dir .marquee-track { animation-duration: 55s; gap: 18px; }
.dir-card {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  height: 92px;
  min-width: 212px;
  padding: 0 36px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(44, 58, 48, 0.05);
  transition: transform 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.dir-logo {
  max-height: 38px;
  max-width: 166px;
  width: auto;
  filter: grayscale(1) opacity(0.6);
  transition: filter 320ms var(--ease);
}
.dir-logo--invert { filter: invert(1) grayscale(1) opacity(0.62); }
.dir-card:hover { transform: translateY(-5px); border-color: var(--sage-line); box-shadow: 0 18px 36px rgba(44, 58, 48, 0.12); }
.dir-card:hover .dir-logo { filter: grayscale(0) opacity(1); }
.dir-card:hover .dir-logo--invert { filter: invert(1) opacity(1); }
@media (max-width: 640px) {
  .marquee--dir .marquee-track { animation-duration: 42s; }
  .dir-card { height: 80px; min-width: 170px; padding: 0 26px; }
  .dir-logo { max-height: 32px; max-width: 132px; }
}


/* "What we help with" — compact icon cards (homepage) */
.help-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.help-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 28px 14px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--white); transition: transform 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease); }
.help-card .concern-icon { margin: 0; }
.help-card h3 { font-family: var(--font-ui); font-size: 0.95rem; font-weight: 800; letter-spacing: -0.01em; }
.help-card:hover { transform: translateY(-5px); border-color: var(--sage-line); box-shadow: 0 16px 34px rgba(44, 58, 48, 0.08); }
.help-card:hover .concern-icon { transform: translateY(-2px) scale(1.1); background: var(--sage); color: #fff; }
@media (max-width: 900px) { .help-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-bg img { animation: none !important; transform: none !important; }
  .marquee-track, .ticker-row, .hero-ticker-track { animation: none !important; }
  .ticker-row { flex-wrap: wrap; justify-content: center; width: 100%; }
  .btn--primary::after { display: none; }
  .hero-title .caret { animation: none; }
}


/* Bio pages — trimmer portrait column on desktop (client request) */
@media (min-width: 981px) {
  .split--bio { grid-template-columns: 0.72fr 1.28fr; }
  .split--bio .media-frame { min-height: 430px; }
}

.faq-more { text-align: center; margin: clamp(30px, 4vw, 44px) 0 0; }

/* Responsive guard: pages that set inline grid-template-columns on card grids must still collapse on small screens */
@media (min-width: 641px) and (max-width: 980px) {
  .card-grid[style*="grid-template-columns"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  .card-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* Mobile: bias hero/CTA banner crop upward so the person stays visible (client request) */
@media (max-width: 640px) {
  .hero-bg img,
  .cta-bg img,
  .qa-hero .hero-bg img,
  .em-hero .hero-bg img { object-position: center 26% !important; }
}


/* Client-requested: reposition specific banner images on mobile so the person is visible/centred */
@media (max-width: 640px) {
  .hero-bg img[style*="--mobpos"],
  .cta-bg img[style*="--mobpos"] { object-position: var(--mobpos) !important; }
}


/* Client-requested: subtle one-shot light sweep on one hero button per page (on scroll-into-view) */
.btn-sweep { position: relative; }
.btn-shine {
  position: absolute; top: 0; bottom: 0; left: -140%; width: 55%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-16deg); pointer-events: none; opacity: 0;
}
.btn-sweep.is-swept .btn-shine { animation: btnShine 1.15s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes btnShine {
  0% { left: -140%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 165%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .btn-shine { display: none; } }
