/* ==========================================================================
   The Therapy Intensive — styles
   Fonts: Aboreto (display), DM Sans (body), IBM Plex Mono (labels)
   ========================================================================== */

@font-face {
  font-family: "Aboreto";
  src: url("../assets/fonts/aboreto.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500; font-display: swap;
}

:root {
  /* palette (from Colors.png + sampled from the Figma exports) */
  --cream: #f6f2eb;
  --sand: #e8dfd5;
  --stone: #c6b9a9;
  --taupe: #867c73;
  --taupe-hero: #9f907f;
  --taupe-soft: #b0a398;
  --ink: #5a524b;
  --ink-deep: #302c27;
  --paper: #fdfbf8;
  --white: #ffffff;
  --line: rgba(90, 82, 75, 0.22);

  --font-display: "Aboreto", "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --radius: 6px;
  --gutter: 50px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 3px;
}

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink-deep); color: var(--cream);
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
}
.h-xl { font-size: clamp(44px, 5.7vw, 82px); line-height: 1.18; }
.h-lg { font-size: clamp(36px, 4.3vw, 62px); line-height: 1.13; letter-spacing: 0.015em; }
.h-md { font-size: clamp(34px, 3.2vw, 46px); line-height: 1.1; }
.h-sm { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
}

.lede { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; }
.prose p + p { margin-top: 1.4em; }

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px;
  font-family: var(--font-body); font-size: 18px; line-height: 1.2;
  border: 0; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), opacity .25s;
}
.btn:active { transform: translateY(1px); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: var(--white); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--ink-deep); }
.btn--taupe { background: var(--taupe); color: var(--cream); }
.btn--taupe:hover { background: var(--ink); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--cream); }
.btn--sm { padding: 12px 26px; font-size: 17px; }

.link-underline {
  display: inline-block;
  color: var(--taupe);
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  transition: color .2s, border-color .2s;
}
.link-underline:hover { color: var(--ink-deep); }

/* ---------- header / nav ---------- */

.site-header {
  position: relative;
  z-index: 20;
  padding: 32px var(--gutter);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.logo {
  font-family: var(--font-display);
  font-size: 19px; letter-spacing: 0.03em;
  text-decoration: none; text-transform: uppercase; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 40px; margin-left: auto; }
.nav__links { display: flex; gap: 40px; }
.nav__links a {
  text-decoration: none; font-size: 16px; opacity: .95;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { border-color: currentColor; }
.nav__cta { margin-left: 0; }
.nav-toggle { display: none; }

/* header theming */
.site-header--light { color: var(--white); }
.site-header--dark { color: var(--ink); }

/* ---------- hero ---------- */

.hero { position: relative; }
.hero--home {
  background: var(--taupe-hero);
  color: var(--white);
  text-align: center;
}
.hero--home .hero__body { padding: 76px var(--gutter) 120px; }
.hero--home .eyebrow { margin-bottom: 44px; }
.eyebrow--hero { font-size: 20px; font-weight: 500; letter-spacing: 0.28em; line-height: 1.6; }
.hero--home h1 { max-width: 900px; margin: 0 auto 32px; }
.hero--home .lede { max-width: 800px; margin: 0 auto 60px; }

.hero--page .hero__body {
  padding: 66px 120px 110px;
  max-width: 1440px; margin: 0 auto;
}
.hero--page h1 { max-width: 1200px; }
.hero--page .lede { max-width: 1100px; margin-top: 48px; }
.hero--page .btn { margin-top: 52px; }

.hero--ifs { background: #fffdfc; color: var(--ink); }
.hero--couple { background: var(--taupe); color: var(--white); }

/* header over hero: page background comes from the wrapper */
.top--home { background: var(--taupe-hero); }
.top--ifs { background: #fffdfc; }
.top--couple { background: var(--taupe); }
.top--blog { background: #fbfaf8; }

/* ---------- split rows (choose your path / pattern / outcome) ---------- */

/* Stacked squares: each row is two equal squares (text + image) and pins to the
   top while the next row slides over it. */
.stack { position: relative; background: var(--white); }
.split {
  --dim: 0;
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  aspect-ratio: 2 / 1; /* two equal squares */
  background: var(--white);
}
.stack > .split {
  position: sticky;
  top: min(0px, calc(100vh - 50vw));
}
.split::after { /* darkens the row that is being covered */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: #2a241d; opacity: calc(var(--dim) * 0.4);
}
.split__media { position: relative; overflow: hidden; min-height: 0; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px max(48px, calc((50vw - 560px) / 2));
  background: var(--white);
}
.split--flip .split__media { order: -1; }
.split__text .eyebrow { color: var(--taupe); margin-bottom: 26px; font-size: 13px; }
.split__text h2 { margin-bottom: 30px; }
.split__text p { font-size: 18px; line-height: 1.5; }
.split__text .link-underline { margin-top: 44px; align-self: flex-start; }
.split__text strong { font-weight: 700; }
.split--path .split__text .eyebrow { margin-bottom: 20px; }

/* ---------- therapist ---------- */

.therapist { padding: 116px var(--gutter); }
.therapist__inner {
  display: grid; grid-template-columns: 500px minmax(0, 1fr); gap: 80px;
  max-width: 1132px; margin: 0 auto; align-items: center;
}
.therapist__text { min-width: 0; }
.therapist__photo { border-radius: 8px; overflow: hidden; }
.therapist__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.therapist h2 { margin-bottom: 40px; }
.therapist__bio { font-size: 17px; line-height: 1.6; max-width: 560px; }
.socials { display: flex; gap: 24px; margin: 28px 0 40px; }
.socials a { display: block; width: 44px; height: 44px; padding: 2px; transition: opacity .2s, transform .2s; }
.socials a:hover { opacity: .65; transform: translateY(-2px); }
.socials img { width: 100%; height: 100%; object-fit: contain; }
.creds { display: grid; gap: 16px; }
.creds li {
  display: grid; grid-template-columns: 22px 1fr; gap: 18px; align-items: start;
  font-size: 17px; line-height: 1.6; max-width: 480px;
}
.creds svg { width: 20px; height: 20px; margin-top: 5px; color: currentColor; }

.therapist--cream { background: var(--cream); }
/* homepage About: extra breathing room above and below (desktop/tablet) */
@media (min-width: 761px) { .therapist--cream { padding-top: 180px; padding-bottom: 180px; } }
.therapist--white { background: var(--paper); }
.therapist--couple { background: var(--taupe-soft); color: var(--white); }
.therapist--couple .socials img { filter: none; }

/* ---------- how it works cards (home) ---------- */

.how { padding: 116px var(--gutter) 130px; background: linear-gradient(var(--cream), #fefdfc); }
.how__inner {
  display: grid; grid-template-columns: 1fr 600px; gap: 100px;
  max-width: 1206px; margin: 0 auto;
}
.how__intro { position: sticky; top: 60px; align-self: start; }
.how__intro h2 { margin-bottom: 44px; font-size: clamp(36px, 3.4vw, 48px); }
.how__intro p { max-width: 500px; font-size: 18px; line-height: 1.55; }
.how__cards { display: grid; gap: 60px; }
.card {
  background: var(--paper);
  padding: 58px 50px 56px;
  box-shadow: 0 2px 5px rgba(48, 44, 39, 0.18);
  border-radius: 2px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(48, 44, 39, 0.16); }
.card h3 { font-size: 28px; font-weight: 400; margin-bottom: 20px; line-height: 1.25; }
.card p { font-size: 16px; line-height: 1.6; margin-bottom: 34px; }

/* ---------- comparison / statement ---------- */

.statement { padding: 190px var(--gutter) 200px; text-align: center; }
.statement__inner { max-width: 1080px; margin: 0 auto; }
.statement .eyebrow { margin-bottom: 30px; font-size: 14px; letter-spacing: 0.08em; }
.statement p { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.65; }
.statement p + p { margin-top: 36px; }
.statement--cream { background: var(--cream); }
.statement--cream .eyebrow { color: var(--taupe); }
.statement--taupe { background: var(--taupe); color: var(--white); padding-bottom: 150px; }

/* ---------- timeline ("how the intensive unfolds") ---------- */

.unfold { padding: 30px var(--gutter) 120px; }
.unfold--ifs { background: linear-gradient(var(--cream), #fffdfc 55%); }
.unfold--couple { background: linear-gradient(var(--taupe), var(--taupe-soft) 90%); color: var(--white); padding-top: 0; }
.unfold__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px;
  max-width: 1240px; margin: 0 auto; padding-top: 110px;
}
.unfold__intro { position: sticky; top: 60px; align-self: start; padding-right: 30px; }
.unfold__intro .eyebrow { margin-bottom: 20px; font-size: 14px; letter-spacing: 0.08em; }
.unfold__intro h2 { margin-bottom: 40px; font-size: clamp(36px, 3.2vw, 46px); }
.unfold__intro p { font-size: 19px; line-height: 1.6; max-width: 540px; }
.unfold__intro p + p { margin-top: 30px; }

.timeline { position: relative; margin-left: 0; }
.timeline li { position: relative; padding: 0 0 46px 64px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { /* line */
  content: ""; position: absolute; left: 10px; top: 10px; bottom: -2px; width: 2px;
  background: currentColor; opacity: .75;
}
.timeline li:last-child::before { bottom: 0; }
.timeline li::after { /* dot */
  content: ""; position: absolute; left: 4px; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--taupe);
}
.unfold--couple .timeline li::after { background: var(--white); }
.unfold--ifs .timeline li::before { background: var(--taupe); opacity: 1; }
.timeline h3 {
  font-family: var(--font-mono); font-weight: 400; font-size: 19px;
  letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4;
  margin-bottom: 20px;
}
.timeline p { font-size: 17px; line-height: 1.6; max-width: 500px; }

/* ---------- video / client story ---------- */

.story { padding: 150px var(--gutter) 130px; text-align: center; }
.story--white { background: var(--white); }
.story--couple { background: var(--taupe-soft); color: var(--white); }
.story .eyebrow { margin-bottom: 30px; font-size: 14px; letter-spacing: 0.08em; }
.story h2 { max-width: 700px; margin: 0 auto 64px; line-height: 1.5; font-size: clamp(30px, 3.2vw, 46px); }
.story__media {
  position: relative; max-width: 680px; margin: 0 auto 56px;
  aspect-ratio: 680 / 416; overflow: hidden; background: var(--sand);
}
.story__media img, .story__media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.story__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(48, 44, 39, .12); border: 0; cursor: pointer; padding: 0;
  transition: background .25s;
}
.story__play:hover { background: rgba(48, 44, 39, .3); }
.story__play span {
  width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: grid; place-items: center;
}
.story__play svg { width: 26px; height: 26px; margin-left: 4px; color: var(--ink); }
.story p.story__caption { max-width: 690px; margin: 0 auto; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.65; }

/* ---------- testimonials ---------- */

.voices { background: var(--taupe); color: var(--white); padding: 120px 0 110px; overflow: hidden; }
.voices__head, .voices__foot { padding: 0 96px; max-width: 1440px; margin: 0 auto; }
.voices__head h2 { max-width: 780px; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.05; margin-bottom: 26px; }
.voices__head p { font-size: 20px; line-height: 1.5; max-width: 620px; }
.voices__track-wrap { padding: 0 96px; max-width: 1440px; margin: 64px auto 0; }
.voices__track {
  display: flex; gap: 32px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 4px;
}
.voices__track::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 calc((100% - 32px) / 2);
  scroll-snap-align: start;
  background: var(--paper); color: var(--ink);
  border-radius: 8px; padding: 40px 40px 36px;
  display: flex; flex-direction: column;
}
.quote__text { font-size: 19px; line-height: 1.58; }
.quote__text p + p { margin-top: 1em; }
.quote__text.is-clamped {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7;
  overflow: hidden;
}
.quote__more {
  align-self: flex-start; margin-top: 12px; padding: 0; background: none; border: 0; cursor: pointer;
  font-size: 15px; color: var(--taupe); text-decoration: underline; text-underline-offset: 4px;
}
.quote__more[hidden] { display: none; }
.quote__by { margin-top: auto; padding-top: 28px; font-family: var(--font-mono); font-size: 16px; line-height: 1.7; color: var(--taupe); }
.voices__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 46px; }
.dots { display: flex; gap: 8px; }
.dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.35); cursor: pointer; transition: background .2s, transform .2s;
}
.dots button[aria-current="true"] { background: var(--white); transform: scale(1.1); }
.arrows { display: flex; gap: 28px; }
.arrows button {
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--white);
  display: grid; place-items: center; transition: opacity .2s, transform .2s;
}
.arrows button:hover { transform: scale(1.12); }
.arrows button[disabled] { opacity: .35; cursor: default; transform: none; }
.arrows svg { width: 26px; height: 26px; }

/* ---------- FAQ ---------- */

.faq { padding: 130px var(--gutter) 120px; }
.faq--cream { background: var(--cream); }
.faq--white { background: var(--white); }
.faq h2 { text-align: center; color: var(--taupe); font-size: clamp(38px, 4vw, 52px); margin-bottom: 78px; }
.faq__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; align-items: start;
  max-width: 1280px; margin: 0 auto;
}
.faq__col { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0 12px; font-size: 20px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ink-deep); }
.faq summary svg { flex: none; width: 18px; height: 18px; transition: transform .3s var(--ease); }
.faq details:not([open]) summary { padding-bottom: 26px; }
.faq details:not([open]) summary svg { transform: rotate(180deg); }
.faq__a { overflow: hidden; font-size: 17px; line-height: 1.6; }
.faq__a p { padding: 0 44px 30px 0; }

/* ---------- booking form ---------- */

.book { padding: 118px var(--gutter); background: var(--cream); scroll-margin-top: 0; }
.book__panel {
  position: relative; max-width: 1200px; margin: 0 auto;
  background: #4d4536 url("../assets/img/texture-cliffs.webp") center / cover no-repeat;
  border-radius: 8px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 580px; gap: 0; align-items: start;
  padding: 48px 48px 48px 50px; min-height: 634px;
  color: var(--white);
}
.book__panel::before { content: ""; position: absolute; inset: 0; background: rgba(38, 32, 24, .22); }
.book__panel > * { position: relative; }
.book__title { padding-right: 40px; font-size: clamp(32px, 3vw, 43px); line-height: 1.3; padding-top: 0; }
.book__card { background: var(--paper); color: #1f1c19; padding: 44px 50px 48px; margin-right: 0; }
.field { margin-bottom: 24px; }
.field label, .field .label { display: block; font-size: 18px; line-height: 1.25; margin-bottom: 12px; color: #1f1c19; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%; height: 48px; padding: 0 16px;
  font: inherit; font-size: 17px; color: #1f1c19;
  background: #f2f2f1; border: 1px solid transparent; border-radius: 4px;
  transition: border-color .2s, background .2s;
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: #7a7570; }
.field input:focus, .field select:focus { outline: none; border-color: var(--taupe); background: #fff; }
.field.is-invalid input, .field.is-invalid select { border-color: #a4473a; }
.field__error { display: none; margin-top: 8px; font-size: 14px; color: #a4473a; }
.field.is-invalid .field__error { display: block; }
.phone { display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
.phone select {
  padding-right: 26px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%235a524b' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 16px; align-items: start; margin: 4px 0 34px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--taupe); cursor: pointer; }
.consent label { font-size: 13.5px; line-height: 1.45; color: #7a7570; margin: 0; }
.consent.is-invalid label { color: #a4473a; }
.form__actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.form__actions .btn { min-width: 136px; }
.form__actions .btn[disabled] { opacity: .6; cursor: progress; }
.form__status { margin-top: 18px; font-size: 15px; line-height: 1.5; min-height: 1em; }
.form__status.is-error { color: #a4473a; }
.form__done { text-align: left; padding: 24px 0; }
.form__done h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: 1.15; margin-bottom: 18px; }
.form__done p { color: var(--ink); font-size: 18px; line-height: 1.55; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- footer ---------- */

.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 44px var(--gutter) 48px; }
@media (max-width: 760px) { .site-footer { padding-bottom: 96px; } }
.site-footer__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.site-footer .logo { font-size: 20px; }
.site-footer nav { display: flex; gap: 32px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; font-size: 15px; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-footer .socials { margin: 0; gap: 14px; }
.site-footer .socials a { width: 30px; height: 30px; padding: 0; }
.site-footer__legal { max-width: 1240px; margin: 28px auto 0; font-size: 13px; color: var(--taupe); }

/* ---------- blog ---------- */

.blog-head { text-align: center; padding: 20px var(--gutter) 0; }
.blog-head h1 { max-width: 760px; margin: 0 auto 24px; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; color: var(--ink-deep); }
.blog-head p { font-family: var(--font-mono); font-size: 19px; line-height: 1.5; max-width: 780px; margin: 0 auto; color: var(--ink-deep); }
.filters { display: flex; justify-content: center; gap: 32px; margin: 44px 0 60px; }
.filters button {
  background: none; border: 0; cursor: pointer; padding: 6px 2px; font-size: 16px; color: var(--taupe);
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.filters button:hover { color: var(--ink-deep); }
.filters button[aria-pressed="true"] { color: var(--ink-deep); border-color: currentColor; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 32px; max-width: 1280px; margin: 0 auto; padding: 0 80px 120px; }
.post-card { display: block; text-decoration: none; color: inherit; }
.post-card[hidden] { display: none; }
.post-card__img { aspect-ratio: 405 / 300; background: var(--sand); overflow: hidden; }
.post-card__img svg { width: 82px; color: #b8b8b8; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__cat { margin-top: 26px; font-family: var(--font-mono); font-size: 14px; text-transform: uppercase; color: var(--ink-deep); }
.post-card__title { margin: 6px 0 8px; font-family: var(--font-display); font-size: 21px; text-transform: uppercase; line-height: 1.2; color: var(--ink-deep); }
.post-card:hover .post-card__title { text-decoration: underline; text-underline-offset: 5px; }
.post-card__excerpt { font-size: 18px; line-height: 1.3; color: #171513; }
.post-meta { margin-top: 22px; font-size: 14px; line-height: 1.7; color: var(--taupe); }
.post-meta .dot { margin: 0 8px; color: #000; }

.article { max-width: 768px; margin: 0 auto; padding: 20px var(--gutter) 100px; }
.crumbs { display: flex; align-items: center; gap: 14px; font-size: 16px; margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--taupe); }
.crumbs svg { width: 10px; height: 10px; }
.article h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.15; color: #4f5a52; margin-bottom: 52px; }
.article .post-meta { margin: 0 0 56px; color: var(--ink); }
.article__hero { aspect-ratio: 16 / 9; background: var(--sand); border-radius: 8px; margin-bottom: 56px; overflow: hidden; }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__cta { margin-top: 44px; }
.article h2 + p { margin-top: 0; }
.article__hero svg { width: 168px; color: #b8b8b8; }
.article h2 { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; color: var(--taupe); margin: 56px 0 22px; }
.article p { font-size: 18px; line-height: 1.65; color: var(--ink); }
.article p + p { margin-top: 1.25em; }
.article__figure { margin: 64px 0 20px; }
.article__figure .ph { aspect-ratio: 768 / 400; background: #dcdcdc; border-radius: 8px; display: grid; place-items: center; }
.article__figure svg { width: 152px; color: #b8b8b8; }
.article figcaption { margin-top: 8px; padding-left: 10px; border-left: 1px solid var(--stone); font-size: 15px; color: var(--taupe); }
.article .pull { font-family: var(--font-mono); font-size: 22px; line-height: 1.2; color: var(--taupe); margin: 64px 0 16px; }
.article blockquote { margin: 44px 0 40px; padding: 4px 0 4px 20px; border-left: 1px solid var(--stone); font-style: italic; color: var(--taupe); font-size: 16px; line-height: 1.2; }
.article .concl { margin-top: 58px; }
.share { margin-top: 68px; font-size: 20px; color: var(--taupe); }
.share__row { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; gap: 20px; flex-wrap: wrap; }
.share__icons { display: flex; gap: 18px; }
.share__icons a, .share__icons button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--taupe); display: block; }
.share__icons svg { width: 22px; height: 22px; display: block; }
.share__icons a:hover, .share__icons button:hover { color: var(--ink-deep); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { background: #f0efed; padding: 5px 10px; border-radius: 3px; font-size: 14px; }
.byline { margin-top: 32px; padding-top: 44px; border-top: 1px solid var(--line); font-size: 20px; line-height: 1.15; color: var(--taupe); }

/* ---------- logo marquee ---------- */

.marquee { --gap: 48px; margin-top: 52px; }
.marquee__viewport {
  display: flex; gap: var(--gap); overflow: hidden; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.marquee__track {
  flex: none; min-width: 100%;
  display: flex; align-items: center; justify-content: space-around; gap: var(--gap);
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
.marquee__item { flex: none; display: grid; place-items: center; }
.marquee__item img { height: 34px; width: auto; max-width: none; }
.marquee__item--h-lg img { height: 54px; }
/* on the taupe Couple page the logos are white, no background */
.marquee--light .marquee__item img { filter: brightness(0) invert(1); opacity: .92; }
.marquee--light .marquee__item--h-lg img { filter: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 20px; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .marquee__viewport { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- motion ---------- */

/* headlines: words rise in one after another */
.split-words .w {
  display: inline-block;
  opacity: 0; transform: translateY(0.45em); filter: blur(5px);
  transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.split-words.is-in .w { opacity: 1; transform: none; filter: none; }

/* above-the-fold headline + hero copy: pure CSS, starts on first paint (no JS needed) */
.split-words--now .w { animation: wordIn 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 60ms); }
@keyframes wordIn {
  from { opacity: 0; transform: translateY(0.45em); filter: blur(5px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.hero .eyebrow, .hero .lede, .hero .btn { animation: riseIn .9s var(--ease) both; }
.hero .lede { animation-delay: .35s; }
.hero .btn  { animation-delay: .5s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* page fade out */
html.is-leaving body { opacity: 0; transition: opacity .3s ease; }

.share__icons button:focus-visible, .share__icons a:focus-visible { outline: 2px solid var(--taupe); outline-offset: 4px; }

/* ---------- floating WhatsApp button ---------- */

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0 17px;
  border-radius: 999px;
  background: var(--ink); color: var(--cream);
  text-decoration: none;
  box-shadow: 0 0 0 2px rgba(246, 242, 235, .55), 0 6px 20px rgba(48, 44, 39, .28);
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: 16px; line-height: 1;
  opacity: 0;
  transition: max-width .35s var(--ease), opacity .25s var(--ease), margin-left .35s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible {
  background: var(--ink-deep);
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px rgba(246, 242, 235, .8), 0 10px 26px rgba(48, 44, 39, .34);
}
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label {
  max-width: 130px; opacity: 1; margin-left: 10px;
}

@media (max-width: 760px) {
  .wa-float { right: 16px; bottom: 16px; height: 54px; padding: 0 15px; }
  .wa-float svg { width: 24px; height: 24px; }
  /* the label never expands on touch, where there is no hover */
  .wa-float__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float__label { transition: none; }
  .wa-float:hover { transform: none; }
}

/* ---------- cookie consent ---------- */

.consent-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--cream);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px rgba(48, 44, 39, .12);
  padding: 20px var(--gutter);
  transform: translateY(100%);
  transition: transform .45s var(--ease);
}
.consent-bar[data-open] { transform: none; }
.consent-bar__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.consent-bar p { font-size: 15px; line-height: 1.55; max-width: 720px; color: var(--ink); }
.consent-bar a { color: var(--taupe); text-decoration: underline; text-underline-offset: 3px; }
.consent-bar a:hover { color: var(--ink-deep); }
.consent-bar__actions { display: flex; gap: 12px; flex: none; }
.consent-bar .btn { padding: 11px 24px; font-size: 16px; }
.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { background: rgba(90, 82, 75, .07); }

/* keep the WhatsApp button clear of the bar while it is showing */
html.has-consent .wa-float { bottom: calc(var(--consent-h, 96px) + 20px); }

@media (max-width: 760px) {
  .consent-bar { padding: 18px 24px 20px; }
  .consent-bar__inner { gap: 16px; }
  .consent-bar p { font-size: 14px; }
  .consent-bar__actions { width: 100%; }
  .consent-bar .btn { flex: 1; }
  html.has-consent .wa-float { bottom: calc(var(--consent-h, 140px) + 14px); }
}

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

/* ---------- privacy / plain text page ---------- */

.legal { max-width: 760px; margin: 0 auto; padding: 20px var(--gutter) 110px; }
.legal h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.15; color: var(--ink-deep); margin-bottom: 14px; }
.legal__updated { font-family: var(--font-mono); font-size: 14px; color: var(--taupe); margin-bottom: 48px; }
.legal h2 { font-family: var(--font-display); text-transform: uppercase; font-weight: 400;
            font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; color: var(--taupe); margin: 48px 0 16px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; }
.legal p + p { margin-top: 1.1em; }
.legal ul { margin-top: 14px; display: grid; gap: 10px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--taupe); }
.legal a { color: var(--taupe); text-underline-offset: 3px; }

@media (max-width: 760px) {
  .legal { padding-bottom: 80px; }
  .legal p, .legal li { font-size: 16px; }
}

/* ---------- utilities ---------- */

.m-only { display: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .split-words .w { opacity: 1; transform: none; filter: none; transition: none; }
  .split-words--now .w, .hero .eyebrow, .hero .lede, .hero .btn { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
.no-js .reveal, .no-js .split-words .w { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }

/* ==========================================================================
   Tablet / small laptop
   ========================================================================== */
@media (max-width: 1200px) {
  .hero--page .hero__body { padding-left: 60px; padding-right: 60px; }
  .therapist__inner { grid-template-columns: 420px minmax(0, 1fr); gap: 56px; }
  .how__inner { grid-template-columns: 1fr 520px; gap: 64px; }
  .voices__head, .voices__foot, .voices__track-wrap { padding-left: 56px; padding-right: 56px; }
  .book__panel { grid-template-columns: 1fr 520px; }
  .posts { padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 900px) {
  .stack > .split { position: relative; top: auto; }
  .split { grid-template-columns: 1fr; aspect-ratio: auto; }
  .split::after { display: none; }
  .split__media, .split--flip .split__media { order: -1; aspect-ratio: 1 / 1; }
  .split__text { padding: 64px 40px 72px; }
}

@media (max-width: 960px) {
  .therapist__inner { grid-template-columns: minmax(0, 1fr); max-width: 560px; gap: 44px; }
  .how__inner { grid-template-columns: 1fr; gap: 48px; }
  .how__intro { position: static; }
  .unfold__inner { grid-template-columns: 1fr; gap: 56px; }
  .unfold__intro { position: static; }
  .book__panel { grid-template-columns: 1fr; padding: 40px; min-height: 0; }
  .book__title { padding-right: 0; margin-bottom: 36px; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .faq__cols { grid-template-columns: 1fr; gap: 0; }
  .faq__col + .faq__col { margin-top: 0; }
  .faq__col:first-child { border-bottom: 0; }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  body { font-size: 16px; }

  .m-only { display: initial; }
  .d-only, .d-txt { display: none !important; }

  /* nav */
  .site-header { padding: 22px 24px; }
  .logo { font-size: 18px; }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; color: inherit;
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  .nav-toggle .i-close { display: none; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); color: var(--ink);
    padding: 12px 24px 28px; box-shadow: 0 18px 30px rgba(48, 44, 39, .14);
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav__links { flex-direction: column; gap: 0; margin: 0 !important; transform: none !important; }
  .nav__links a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 22px; }
  .site-header--center .nav { flex: none; justify-content: flex-start; }
  .nav .btn--white, .nav .btn--cream { background: var(--taupe); color: var(--cream); }

  /* hero */
  .hero--home .hero__body { padding: 68px 30px 72px; }
  .hero--home .eyebrow { font-size: 13px; letter-spacing: 0.22em; margin-bottom: 36px; }
  .hero--home h1 { font-size: 36px; line-height: 1.05; margin-bottom: 24px; }
  .hero--home .lede { font-size: 17px; line-height: 1.45; margin-bottom: 38px; }
  .hero--home .btn { display: flex; width: 100%; }
  .hero--page .hero__body { padding: 44px 24px 64px; }
  .hero--page h1 { font-size: 34px; line-height: 1.1; }
  .hero--page .lede { font-size: 17px; margin-top: 30px; }
  .hero--page .btn { display: flex; width: 100%; margin-top: 44px; }

  /* split */
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 0; aspect-ratio: 1 / 1; order: -1 !important; }
  .split__text { padding: 64px 24px 72px; max-width: none; }
  .split__text .eyebrow { font-size: 11px; }
  .split__text h2 { font-size: 34px; margin-bottom: 22px; }
  .split__text p { font-size: 15px; }
  .split--path .split__text .link-underline { margin-top: 34px; }
  .split--story .split__media { aspect-ratio: 4 / 3; }

  /* therapist */
  .therapist { padding: 72px 24px; }
  .therapist__inner { max-width: none; gap: 28px; }
  .therapist__photo { max-width: 200px; margin: 0 auto; }
  .therapist__photo img { aspect-ratio: 3 / 4; }
  .therapist__text { text-align: center; }
  .therapist h2 { font-size: 34px; margin: 0 0 28px; }
  .therapist__bio { font-size: 16px; margin: 0 auto; }
  .socials { justify-content: center; margin: 22px 0 34px; }
  .creds { gap: 26px; }
  .creds li { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; max-width: 300px; margin: 0 auto; }
  .creds svg { margin: 0; }

  /* how it works */
  .how { padding: 72px 24px 80px; }
  .how__intro h2 { font-size: 34px; text-align: center; margin-bottom: 26px; }
  .how__intro p { font-size: 15px; text-align: left; }
  .how__cards { gap: 40px; }
  .card { padding: 48px 40px; }
  .card h3 { font-size: 26px; }
  .card p { font-size: 15px; }

  /* statements */
  .statement { padding: 84px 24px 88px; }
  .statement p { font-size: 17px; line-height: 1.55; }
  .statement p + p { margin-top: 26px; }

  /* timeline */
  .unfold { padding: 20px 24px 72px; }
  .unfold__inner { padding-top: 64px; gap: 44px; }
  .unfold__intro { text-align: center; padding-right: 0; }
  .unfold__intro h2 { font-size: 34px; margin-bottom: 24px; }
  .unfold__intro p { font-size: 15px; margin: 0 auto; }
  .timeline li { padding: 0 0 38px 40px; }
  .timeline li::before { left: 6px; }
  .timeline li::after { left: 0; width: 13px; height: 13px; }
  .timeline h3 { font-size: 16px; margin-bottom: 12px; }
  .timeline p { font-size: 14px; }

  /* story */
  .story { padding: 84px 24px 80px; }
  .story h2 { font-size: 30px; line-height: 1.4; margin-bottom: 40px; }
  .story__media { margin-bottom: 32px; }
  .story p.story__caption { font-size: 17px; }

  /* voices */
  .voices { padding: 72px 0 64px; }
  .voices__head, .voices__foot { padding: 0 24px; }
  .voices__head h2 { font-size: 32px; }
  .voices__head p { font-size: 17px; }
  .voices__track-wrap { padding: 0 0 0 24px; margin-top: 36px; }
  .voices__track { gap: 16px; padding-right: 24px; }
  .quote { flex: 0 0 84%; padding: 28px 24px; }
  .quote__text { font-size: 16px; }
  .voices__foot { margin-top: 32px; }

  /* faq */
  .faq { padding: 80px 32px 72px; }
  .faq h2 { margin-bottom: 44px; font-size: 40px; }
  .faq summary { font-size: 18px; padding-top: 22px; }
  .faq__a { font-size: 15px; }
  .faq__a p { padding-right: 0; }
  .faq__col:first-child { border-bottom: 0; }

  /* form */
  .book { padding: 0; background: #4d4536; }
  .book__panel { border-radius: 0; padding: 64px 24px 56px; display: block; }
  .book__title { margin-bottom: 40px; font-size: 32px; line-height: 1.16; }
  .book__card { padding: 36px 40px 40px; }
  .field { margin-bottom: 22px; }
  .field label, .field .label { font-size: 15px; margin-bottom: 8px; }
  .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select { height: 44px; font-size: 16px; }
  .phone { grid-template-columns: 96px 1fr; }
  .consent label { font-size: 12px; }
  .form__actions .btn { width: 100%; }

  /* footer */
  .site-footer { padding: 40px 24px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }

  /* blog */
  .blog-head { padding-top: 20px; }
  .blog-head h1 { font-size: 30px; }
  .blog-head p { font-size: 15px; }
  .filters { flex-direction: column; align-items: stretch; gap: 0; margin: 32px 24px 40px; }
  .filters button { padding: 8px; text-align: center; border: 1px solid transparent; }
  .filters button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink-deep); }
  .posts { grid-template-columns: 1fr; padding: 0 24px 80px; gap: 48px; }
  .article { padding: 12px 24px 72px; }
  .article h1 { font-size: 30px; margin-bottom: 32px; }
  .article .post-meta { margin-bottom: 36px; }
  .article__hero { margin-bottom: 44px; }
  .article__figure { margin-top: 44px; }
  .article .pull { font-size: 18px; margin-top: 44px; }
  .article h2 { font-size: 28px; }
}
