/* Cassie Fitzpatrick Therapy
   Built on the Rachel Hearle Therapy template (Eleventy + Decap CMS).
   Phase 2 palette: powder blue led, terracotta for action only, blue-ink
   headings. Every colour is a token in :root; components use the role
   tokens (--bg, --fg-*, --card), which each band class sets so the
   contrast rules hold on every background. */

/* Self-hosted fonts, Latin only. Fraunces comes from the Fontsource "full"
   files with SOFT pinned at 100 and WONK at 0 (the only values the site
   uses), which halves the upright file and keeps wght 400-800 and opsz
   36-144 variable. The italic is used only for quotes, so it is one static
   instance (500, opsz 72). Rebuild commands are in README.md.
   DM Sans keeps wght and opsz. */
@font-face{font-family:"Fraunces";src:url(/assets/fonts/fraunces-latin-soft-normal.woff2) format("woff2");font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces";src:url(/assets/fonts/fraunces-latin-quote-italic.woff2) format("woff2");font-weight:500;font-style:italic;font-display:swap}
@font-face{font-family:"DM Sans";src:url(/assets/fonts/dm-sans-latin-opsz-normal.woff2) format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}

/* ── Tokens ───────────────────────────────────────────────────────── */
:root{
  /* Palette. Contrast (WCAG AA): ink 9.2+ and body 6.4+ on every light
     background; terracotta 4.8 on cream, 5.2 on white, fails on blue and
     peach; terracotta display passes as large text on cream/white only. */
  --c-cream:#FBF6EE;
  --c-blue:#C9D8E2;               /* powder blue: header, sections. Signature colour */
  --c-peach:#F4CDA6;
  --c-white:#FFFFFF;
  --c-ink:#1F2F3D;                /* wordmark, headings, nav, dark bands */
  --c-body:#3B4752;
  --c-terracotta:#AD5238;         /* filled buttons; as text only on cream or white */
  --c-terracotta-hover:#9F4B34;   /* terracotta darkened about 8% */
  --c-terracotta-display:#C4664A; /* hero H1 only, on cream or white */
  --c-footer:#17232E;
  --c-line:rgba(31,47,61,.15);
  --c-field:color-mix(in srgb,var(--c-ink) 55%,var(--c-white)); /* form borders, 3:1+ */

  /* Roles. The default suits cream; band classes below override them. */
  --bg:var(--c-cream);
  --fg-heading:var(--c-ink);
  --fg-body:var(--c-body);
  --fg-accent:var(--c-terracotta); /* links, eyebrows, outline buttons, quote marks */
  --card:var(--c-white);
  --pill:var(--c-white);
  --focus:var(--c-ink);

  --font-display:Fraunces,Georgia,"Times New Roman",serif;
  --font-body:"DM Sans",system-ui,-apple-system,sans-serif;

  --radius:8px;                 /* inputs */
  --radius-card:16px;
  --radius-img:24px;            /* one image radius site-wide */

  /* Type. Each style is a font shorthand plus, for Fraunces, its variation
     settings (SOFT 100, WONK 0, fixed opsz) and letter spacing. */
  --type-wordmark:800 clamp(1.3125rem,1rem + 1.2vw,1.75rem)/1 var(--font-display);
  --type-wordmark-vs:"SOFT" 100,"WONK" 0,"opsz" 72;
  --type-wordmark-ls:-.01em;
  --type-display:600 clamp(2.625rem,1.6rem + 4.4vw,4.5rem)/1.02 var(--font-display);
  --type-display-vs:"SOFT" 100,"WONK" 0,"opsz" 144;
  --type-display-ls:-.02em;
  --type-h2:650 clamp(1.875rem,1.35rem + 2.2vw,2.75rem)/1.08 var(--font-display);
  --type-h2-vs:"SOFT" 100,"WONK" 0,"opsz" 96;
  --type-h2-ls:-.015em;
  --type-h3:600 clamp(1.1875rem,1.1rem + .3vw,1.375rem)/1.25 var(--font-display);
  --type-h3-vs:"SOFT" 100,"WONK" 0,"opsz" 36;
  --type-quote:italic 500 clamp(1.375rem,1.2rem + .9vw,1.75rem)/1.3 var(--font-display);
  --type-quote-vs:"SOFT" 100,"WONK" 0,"opsz" 72;
  --type-quote-ls:-.01em;
  --type-body:400 clamp(1.0625rem,1rem + .25vw,1.125rem)/1.6 var(--font-body);
  --type-lede:400 clamp(1.0625rem,.98rem + .4vw,1.1875rem)/1.55 var(--font-body);
  --type-eyebrow:600 .75rem/1.3 var(--font-body);
  --type-eyebrow-ls:.14em;
  --type-nav:500 .9375rem/1 var(--font-body);
  --type-button:600 .9375rem/1 var(--font-body);
  --type-pill:500 clamp(.875rem,.82rem + .25vw,.9375rem)/1 var(--font-body);
  --t-small:.9rem;              /* captions, notes, labels */

  --band:clamp(4rem,8vw,6.5rem);
  --gutter:clamp(1.25rem,5vw,3rem);
  --edge:clamp(1.25rem,2.6vw,2.5rem);
  --gap:clamp(1.5rem,3vw,2.5rem);
  --wide:1240px;
  --measure:65ch;
  --banner:60rem;               /* inner-page hero text column */
}

/* ── Base ─────────────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:6rem}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{font:var(--type-body);color:var(--fg-body);background:var(--c-cream);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
p a,dd a,li a{color:var(--fg-accent);text-decoration-thickness:1px;text-underline-offset:3px}
p a:hover,dd a:hover,li a:hover{text-decoration-thickness:2px}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:2px}
ul,ol{list-style:none}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:1rem;top:-4rem;z-index:100;background:var(--c-ink);color:var(--c-cream);padding:.6rem 1rem;border-radius:var(--radius);--focus:var(--c-cream)}
.skip:focus{top:1rem}

/* ── Type ─────────────────────────────────────────────────────────── */
.wordmark{font:var(--type-wordmark);font-variation-settings:var(--type-wordmark-vs);letter-spacing:var(--type-wordmark-ls);color:var(--c-ink)}
/* Hero H1 on every page: terracotta display, large text on cream only. */
.h-hero,.h-page{font:var(--type-display);font-variation-settings:var(--type-display-vs);letter-spacing:var(--type-display-ls);color:var(--c-terracotta-display);text-wrap:balance}
.h-hero{max-width:16ch}
.h2{font:var(--type-h2);font-variation-settings:var(--type-h2-vs);letter-spacing:var(--type-h2-ls);color:var(--fg-heading);text-wrap:balance}
.h3,.faq summary,.text-subhead,.resource-prose h2,.resource-prose h3{font:var(--type-h3);font-variation-settings:var(--type-h3-vs);color:var(--fg-heading)}
.pullquote p{font:var(--type-quote);font-variation-settings:var(--type-quote-vs);letter-spacing:var(--type-quote-ls);color:var(--fg-heading);text-wrap:balance}
.lead{font:var(--type-lede);color:var(--fg-body)}
.eyebrow,.list-label,.contact-details dt{font:var(--type-eyebrow);letter-spacing:var(--type-eyebrow-ls);text-transform:uppercase;color:var(--fg-accent)}
.eyebrow{margin-bottom:1rem}
.stack > * + *{margin-top:1.1em}
.measure{max-width:var(--measure)}
.measure--centre,.inner.measure--centre{max-width:52ch;margin-inline:auto;text-align:center}

/* ── Bands ────────────────────────────────────────────────────────────
   Each band sets the role tokens for what sits on it. On blue and peach,
   terracotta text fails contrast, so accents switch to ink. */
.band{padding-block:var(--band);padding-inline:var(--gutter);background:var(--bg);color:var(--fg-body)}
.band--cream{--bg:var(--c-cream);--card:var(--c-white);--pill:var(--c-white)}
.band--white{--bg:var(--c-white);--card:var(--c-cream);--pill:var(--c-cream)}
.band--blue{--bg:var(--c-blue);--fg-accent:var(--c-ink);--card:var(--c-white);--pill:var(--c-cream)}
.band--peach{--bg:var(--c-peach);--fg-accent:var(--c-ink);--card:var(--c-cream);--pill:var(--c-cream)}
.band--ink{--bg:var(--c-ink);--fg-heading:var(--c-cream);--fg-body:var(--c-cream);--fg-accent:var(--c-cream);--focus:var(--c-cream)}
/* Terracotta band: urgent support strip only. Cream on terracotta is 4.8:1. */
.band--terracotta{--bg:var(--c-terracotta);--fg-heading:var(--c-cream);--fg-body:var(--c-cream);--fg-accent:var(--c-cream);--focus:var(--c-cream)}
/* Anything on a white or cream card gets terracotta accents back. */
.card,.list-card,.resource-card,.faq details,.step-body{--fg-accent:var(--c-terracotta)}
.inner{max-width:var(--wide);margin-inline:auto;width:100%}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;background:var(--c-terracotta);color:var(--c-white);border:1.5px solid transparent;font:var(--type-button);padding:.8125rem 1.625rem;border-radius:999px;text-decoration:none;cursor:pointer;transition:background .18s,color .18s,transform .18s}
.btn:hover{background:var(--c-terracotta-hover);transform:translateY(-1px)}
.btn--ghost{background:transparent;color:var(--fg-accent);border-color:var(--fg-accent)}
.btn--ghost:hover{background:color-mix(in srgb,var(--fg-accent) 6%,transparent)}
.btn--light{background:var(--c-cream);color:var(--c-ink)}
.btn--light:hover{background:var(--c-white)}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}

/* ── Nav: powder blue band ────────────────────────────────────────── */
.nav{position:sticky;top:0;z-index:50;background:var(--c-blue);border-bottom:1px solid var(--c-line);padding:.9rem var(--edge);--fg-accent:var(--c-ink)}
.nav-in{display:flex;align-items:center;gap:var(--gap)}
.wordmark{text-decoration:none;margin-right:auto}
.nav-links{display:flex;gap:1.75rem}
.nav-links a{white-space:nowrap;font:var(--type-nav);text-decoration:none;color:var(--c-ink);padding-block:.4rem;border-bottom:2px solid transparent}
.nav-links a:hover{border-bottom-color:var(--c-line)}
.nav-links a[aria-current]{border-bottom-color:var(--c-ink)}
.nav-toggle{display:none}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(2rem,6vw,5.5rem);align-items:center}
.hero-meta{margin-top:1.5rem}
@media (min-width:621px){.hero-meta span{white-space:nowrap}}
.hero-text{min-width:0}
.portrait{aspect-ratio:1/1;width:min(100%,66vh);justify-self:end;border-radius:var(--radius-img);overflow:hidden;background:var(--c-blue)}
.portrait img,.portrait picture{width:100%;height:100%;object-fit:cover;object-position:50% 30%}

/* ── Split (image + text) ─────────────────────────────────────────── */
.split{display:grid;grid-template-columns:.85fr 1fr;gap:clamp(2rem,6vw,5.5rem);align-items:center}
.split--flip .split-media{order:2}
.split-media{aspect-ratio:4/5;border-radius:var(--radius-img);overflow:hidden;max-height:min(75vh,600px);width:100%}
.split-media img,.split-media picture{width:100%;height:100%;object-fit:cover;object-position:50% 35%}
/* Photo crop, chosen per section in the CMS (focus field). */
.split-media--top img{object-position:50% 0}
.split-media--bottom img{object-position:50% 100%}
.split-media--left img{object-position:0 50%}
.split-media--right img{object-position:100% 50%}
.split-media.split-media--whole{aspect-ratio:auto;max-height:none}
.split-media.split-media--whole img,.split-media.split-media--whole picture{height:auto}
.split-body .h2{margin-bottom:1.5rem}
.split-body .stack{max-width:var(--measure)}
.split--solo{grid-template-columns:1fr;max-width:var(--banner);text-align:center}
.split--solo .stack{margin-inline:auto}
.split--solo .btn-row{justify-content:center}

/* Labelled striped box for photos the client still needs to supply. */
.img-placeholder{width:100%;height:100%;min-height:280px;display:grid;place-items:center;padding:2rem;text-align:center;background:repeating-linear-gradient(135deg,var(--c-blue) 0 12px,color-mix(in srgb,var(--c-blue) 70%,var(--c-white)) 12px 24px);color:var(--c-ink);font-size:var(--t-small);border:1px dashed var(--c-body);border-radius:inherit}

/* ── Text section ─────────────────────────────────────────────────── */
/* Heading sits left, prose right: left-aligned text without leaving the
   right half of a wide screen empty. */
.text-section{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--gap)}
.text-section .measure{display:grid;grid-template-columns:minmax(12rem,1fr) minmax(0,2fr);column-gap:clamp(2rem,6vw,5.5rem);max-width:none;align-items:start}
.text-section .measure > *{grid-column:2}
.text-section .measure > .eyebrow,.text-section .measure > .h2{grid-column:1}
.text-section .measure > .h2{grid-row:1 / span 3}
.text-section .stack{max-width:var(--measure)}
.chips-intro{margin-bottom:.9rem}
.chips{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:2rem;max-width:var(--measure)}
.text-section--centre .measure{display:block;max-width:var(--banner);margin-inline:auto;text-align:center}
.text-section--centre .h2{margin-bottom:1.25rem}
.text-section--centre .chips{justify-content:center;margin-inline:auto;max-width:52rem}
.text-section--centre .stack{max-width:var(--measure);margin-inline:auto}
.chip{display:inline-block;background:var(--pill);border:1px solid var(--c-line);color:var(--c-ink);border-radius:999px;padding:.625rem 1.1rem;font:var(--type-pill);text-decoration:none}
a.chip{text-decoration:underline;text-decoration-color:var(--c-line);text-underline-offset:3px}
a.chip:hover{border-color:var(--c-ink);text-decoration-color:currentColor}
.text-section--solo .measure{display:block;max-width:var(--measure);margin-inline:auto}
.text-section--quote{grid-template-columns:minmax(12rem,1fr) minmax(0,2fr);column-gap:clamp(2rem,6vw,5.5rem);align-items:start}
.text-section--quote .measure{display:block;grid-column:2;grid-row:1}
.text-section--quote .pullquote{grid-column:1;grid-row:1}

/* ── Pull-quote ───────────────────────────────────────────────────── */
/* The quotation mark is terracotta on cream or white, ink on blue/peach. */
.pullquote{position:relative;padding-top:2.75rem}
.pullquote::before{content:"\201C";position:absolute;top:-.5rem;left:-.05em;font:400 5rem/1 var(--font-display);color:var(--fg-accent)}
.pullquote figcaption{margin-top:1.25rem;font-size:var(--t-small)}
.pullquote figcaption::before{content:"";display:inline-block;width:1.5rem;height:1px;background:var(--fg-accent);vertical-align:middle;margin-right:.6rem}

/* ── Process / timeline ───────────────────────────────────────────── */
.process--quote{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(2rem,6vw,5.5rem);align-items:center}
.path{margin-top:clamp(2.25rem,4vw,3.25rem);--step-gap:clamp(1rem,2vw,1.25rem)}
.step{display:grid;grid-template-columns:48px 1fr;gap:clamp(1rem,2vw,1.5rem);position:relative}
.step + .step{margin-top:var(--step-gap)}
.step:not(:last-child)::after{content:"";position:absolute;left:23.5px;top:48px;width:1px;height:calc(100% - 48px + var(--step-gap));background:var(--c-ink);opacity:.3}
.step-mark{width:48px;height:48px;border-radius:50%;background:var(--card);border:1px solid var(--c-line);display:grid;place-items:center}
.step-mark svg{width:22px;height:22px;stroke:var(--c-ink);fill:none;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.step-body{background:var(--card);border-radius:var(--radius-card);padding:1.1rem 1.4rem;max-width:56ch}
.step-body p{margin-top:.35rem}

/* ── Content blocks (Assessment, Weekly sessions) ──────────────────────
   Navy summary card above a detail card. Subgrid lines the navy cards up
   to the same height across columns. */
.blocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));grid-template-rows:auto auto;column-gap:1.25rem;row-gap:1.5rem;margin-top:clamp(2rem,4vw,3rem)}
.block{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:.6rem}
.block-head{background:var(--c-ink);--fg-heading:var(--c-cream);--fg-body:var(--c-cream);--fg-accent:var(--c-cream);--focus:var(--c-cream);color:var(--fg-body);border-radius:var(--radius-card);padding:clamp(1.4rem,2.4vw,1.9rem)}
.block-head .h3{margin-bottom:.5rem}
.block-summary{font:var(--type-lede);font-weight:500;color:var(--fg-heading)}
.block-body{background:var(--card);border:1px solid var(--c-line);border-radius:var(--radius-card);padding:clamp(1.4rem,2.4vw,1.9rem)}
.block-body p + p{margin-top:1em}
.blocks-cta{margin-top:clamp(2rem,4vw,2.75rem)}
.blocks-section{text-align:center}
.blocks-section .measure{margin-inline:auto}
.blocks-section .blocks-cta{justify-content:center}

/* ── Fees cards ───────────────────────────────────────────────────── */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1.25rem;margin-top:clamp(2rem,4vw,3rem)}
.card{background:var(--card);border:1px solid var(--c-line);border-radius:var(--radius-card);padding:clamp(1.5rem,2.6vw,2.1rem);display:flex;flex-direction:column;gap:.5rem}
.card .h3{margin-bottom:.35rem}
.card--highlight{--card:var(--c-ink);--fg-heading:var(--c-cream);--fg-body:var(--c-cream);--fg-accent:var(--c-cream);--focus:var(--c-cream);color:var(--fg-body);border-color:var(--c-ink)}
.card-link{margin-top:auto;padding-top:1rem;color:var(--fg-accent);font-weight:600;text-underline-offset:4px}

/* ── List (qualifications and training) ───────────────────────────── */
.list-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:clamp(2rem,4vw,3rem)}
.list-card{background:var(--card);border-radius:var(--radius-card);padding:1.4rem 1.6rem}
.list-label{display:block;margin-bottom:.6rem}

/* ── FAQ: each question a card on the band ────────────────────────── */
.faq{max-width:var(--measure);display:grid;gap:.6rem}
.faq details{background:var(--card);border-radius:var(--radius-card);padding-inline:1.4rem}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;min-height:48px;padding-block:1.1rem;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;font:400 1.6rem/1 var(--font-display);color:var(--fg-accent);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{padding-bottom:1.25rem}

/* ── Page header ──────────────────────────────────────────────────── */
.pagehead{padding-block:clamp(3.5rem,7vw,5.5rem)}
.pagehead-in{max-width:var(--banner);text-align:center}
.pagehead .lead{margin-top:1.5rem;text-wrap:pretty}
.pagehead .btn-row{justify-content:center}

/* ── CTA band ─────────────────────────────────────────────────────── */
.cta p{margin-top:1.25rem}
.cta .btn{margin-top:2.25rem}

/* Urgent support strip: a shorter band than the others. */
.band.support{padding-block:clamp(3rem,6vw,4.5rem)}
.support-list{list-style:disc;padding-left:1.25em}
.support-list li + li{margin-top:.4em}
.support-list strong{font-weight:600}
/* Quote leading into the closing section: cream mark on the ink band. */
.cta-quote{margin-bottom:clamp(2rem,4vw,2.75rem)}
.cta-quote::before{left:50%;transform:translateX(-50%)}

/* ── Contact ──────────────────────────────────────────────────────── */
.contact-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:clamp(2rem,6vw,5.5rem);align-items:start}
.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-top:2rem}
.field{display:flex;flex-direction:column;gap:.45rem}
.field--full{grid-column:1/-1}
.field .btn{align-self:flex-start}
.field label{font-size:var(--t-small);font-weight:600;color:var(--c-ink)}
.field input,.field select,.field textarea{font:inherit;color:var(--c-ink);background:var(--c-white);border:1px solid var(--c-field);border-radius:var(--radius);padding:.8rem 1rem;width:100%;min-height:48px}
.field textarea{min-height:160px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--c-ink);outline-offset:1px;border-color:var(--c-ink)}
.field-note{font-size:var(--t-small)}
.contact-details{background:var(--c-blue);--fg-accent:var(--c-ink);border-radius:var(--radius-card);padding:clamp(1.5rem,3vw,2.25rem)}
.contact-details dl{margin-top:1.25rem}
.contact-details dd{margin:.3rem 0 1.25rem}
.contact-details dd:last-child{margin-bottom:0}

/* ── Privacy ──────────────────────────────────────────────────────── */
.prose .h3{margin-top:2.25rem;margin-bottom:.6rem}
.prose .h3:first-child{margin-top:0}
.prose p + p,.prose p + .prose-list,.prose-list + p{margin-top:1em}
.prose-list{list-style:disc;padding-left:1.25rem}
.prose-list li + li{margin-top:.4em}

/* ── Footer: deep ink, cream text and underlined cream links ──────── */
.foot{background:var(--c-footer);color:var(--c-cream);padding:clamp(2.5rem,5vw,3.5rem) var(--edge) 1.75rem;--focus:var(--c-cream)}
.foot a{color:var(--c-cream);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.foot a:hover{text-decoration-thickness:2px}
.foot-in{display:flex;flex-wrap:wrap;gap:var(--gap);justify-content:space-between;align-items:flex-end}
.foot-id p{font-size:var(--t-small);margin-top:.3rem}
.foot-id .foot-name{font:var(--type-h3);font-variation-settings:var(--type-h3-vs);color:var(--c-cream);margin-bottom:.6rem}
.foot-links{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;font-size:var(--t-small)}
.foot-legal{width:100%;display:flex;justify-content:space-between;flex-wrap:wrap;gap:.75rem;padding-top:1.5rem;border-top:1px solid color-mix(in srgb,var(--c-cream) 20%,transparent);font-size:.82rem}

/* ── Two text columns under a centred heading ─────────────────────── */
.columns-heading{text-align:center;margin-bottom:clamp(2rem,4vw,3rem)}
.columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(2rem,6vw,5.5rem);row-gap:2.5rem;align-items:start}
.columns .pullquote{margin-top:2.5rem}

/* ── Learn more links, sub-headings ───────────────────────────────── */
.learn-more{margin-top:1.75rem;font-size:var(--t-small);display:flex;flex-wrap:wrap;gap:.35rem 1.25rem}
.learn-more-label{font-weight:600;color:var(--fg-heading)}
.learn-more a,.learn-more-link{color:var(--fg-accent);text-decoration-thickness:1px;text-underline-offset:3px;white-space:nowrap}
.learn-more-link{font-size:var(--t-small);margin-left:.35rem}
.text-subhead{margin:2.5rem 0 1rem}

/* ── Qualification cards ──────────────────────────────────────────── */
.list-entries > li + li{margin-top:.6rem;padding-top:.6rem;border-top:1px solid var(--c-line)}
.list-note{margin-top:1.75rem}
.list-note .learn-more{margin-top:.5rem}

/* ── Testimonials ─────────────────────────────────────────────────── */
.testimonial{max-width:46rem;margin-inline:auto}
.testimonials-solo .testimonial,.carousel .testimonial{text-align:center}
.testimonials-solo .testimonial::before,.carousel .testimonial::before{left:50%;transform:translateX(-50%)}
.testimonials-solo,.carousel{margin-top:clamp(2rem,4vw,3rem)}
.carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:var(--radius-card)}
.carousel-track::-webkit-scrollbar{display:none}
.carousel-slide{flex:0 0 100%;scroll-snap-align:start;padding-inline:clamp(.5rem,4vw,3rem)}
.carousel-controls{display:none;justify-content:center;gap:.75rem;margin-top:2rem}
.carousel.is-ready .carousel-controls{display:flex}
.carousel-btn{width:48px;height:48px;border-radius:50%;border:1.5px solid var(--fg-accent);background:transparent;color:var(--fg-accent);font:400 1.2rem/1 var(--font-body);cursor:pointer;transition:background .18s}
.carousel-btn:hover:not(:disabled){background:color-mix(in srgb,var(--fg-accent) 6%,transparent)}
.carousel-btn:disabled{opacity:.35;cursor:default}

/* ── Resources ────────────────────────────────────────────────────── */
.resource-group + .resource-group{margin-top:clamp(3rem,6vw,4.5rem)}
.resource-group-h{margin-bottom:1.5rem}
.resource-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,20rem),1fr));gap:1.25rem}
.resource-card{background:var(--card);border-radius:var(--radius-card);overflow:hidden;display:flex;flex-direction:column}
.resource-media{aspect-ratio:3/2;overflow:hidden}
.resource-media img,.resource-media picture{width:100%;height:100%;object-fit:cover}
.resource-body{padding:1.4rem 1.6rem 1.6rem;display:flex;flex-direction:column;gap:.6rem;flex:1}
.resource-body .h3 a{color:var(--fg-heading);text-decoration:none}
.resource-body .h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.resource-body .card-link{margin-top:auto}
.resource-date{font-size:var(--t-small)}
.resource-empty{text-align:center;max-width:var(--measure);margin-inline:auto}
.resource-cover{border-radius:var(--radius-img);overflow:hidden;margin-bottom:2rem;aspect-ratio:3/2}
.resource-cover img,.resource-cover picture{width:100%;height:100%;object-fit:cover}
.resource-prose > * + *{margin-top:1.1em}
.resource-prose h2,.resource-prose h3{margin-top:2rem}
.resource-prose h2{font-size:clamp(1.375rem,1.2rem + .8vw,1.625rem)}
.resource-prose ul{list-style:disc;padding-left:1.25rem}
.resource-prose ol{list-style:decimal;padding-left:1.25rem}
.resource-back{margin-top:2.5rem}

/* ── Tablet ───────────────────────────────────────────────────────── */
@media (max-width:960px){
  .hero,.split,.process--quote,.contact-grid{grid-template-columns:1fr}
  .portrait{justify-self:start;width:min(100%,520px)}
  .split--flip .split-media,.split-media{order:-1}
  .split-media{aspect-ratio:3/2;max-height:none}
  .text-section .measure,.text-section--quote{grid-template-columns:1fr}
  .text-section .measure > *,.text-section .measure > .h2{grid-column:1;grid-row:auto}
  .text-section .measure > .h2{margin-bottom:1.25rem}
  .text-section--quote .measure,.text-section--quote .pullquote{grid-column:1;grid-row:auto}
  .text-section--quote .pullquote{margin-bottom:1rem}
  .columns{grid-template-columns:1fr}
}

/* ── Mobile nav ─────────────────────────────────────────────────────
   1060px. With Home, How I work, About me, Perinatal therapy and
   Resources the full nav needs about 1035px (including a scrollbar);
   below that the wordmark and button wrap. 1060px leaves ~25px to spare.
   The open menu stays on the blue band. */
@media (max-width:1060px){
  .nav-in{flex-wrap:wrap;gap:.5rem}
  .js .nav-toggle{display:inline-grid;place-items:center;width:48px;height:48px;background:none;border:1px solid var(--c-line);border-radius:999px;cursor:pointer;order:3;flex:none}
  .nav-toggle-bars,.nav-toggle-bars::before,.nav-toggle-bars::after{display:block;width:20px;height:1.5px;background:var(--c-ink);position:relative;transition:transform .2s}
  .nav-toggle-bars::before,.nav-toggle-bars::after{content:"";position:absolute;left:0}
  .nav-toggle-bars::before{top:-6px}
  .nav-toggle-bars::after{top:6px}
  .nav.is-open .nav-toggle-bars{background:transparent}
  .nav.is-open .nav-toggle-bars::before{transform:translateY(6px) rotate(45deg)}
  .nav.is-open .nav-toggle-bars::after{transform:translateY(-6px) rotate(-45deg)}
  .nav-cta{order:2;padding:.6rem 1rem;min-height:44px;font-size:.875rem}
  .nav-links{order:4;width:100%;flex-direction:column;gap:0;padding-top:.5rem}
  .js .nav-links{display:none}
  .js .nav.is-open .nav-links{display:flex}
  .nav-links a{padding:.85rem 0;border-bottom:1px solid var(--c-line);font-size:1rem;line-height:1.3}
  .nav-links a[aria-current]{border-bottom:1px solid var(--c-line);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
}
@media (max-width:620px){
  .carousel.is-ready .carousel-controls{display:none}
  /* Name, button and menu don't fit on one row at phone width at 21px, so
     the name breaks after "with" instead of pushing the menu down. */
  .wordmark{max-width:6.5em;line-height:1.05}
  .formgrid,.list-cards{grid-template-columns:1fr}
  .btn-row .btn{flex:1 1 auto}
  .foot-in{flex-direction:column;align-items:flex-start}
}
