/* Monochrome, round 2 - same layout as concept B, with colour.
   Ivory ground, one colour (navy, forest or sage) for the big fields. Geist for the site, Quando for the Monogram lockup. */

:root {
  /* Palette tokens. Each palette sets the same roles; switch with <html data-palette="...">. */
  --bg: #F7F3EA;        /* ivory */
  --grey-bg: #EEE8DB;   /* alternating sections */
  --ink: #14243F;       /* text */
  --muted: #5A6274;
  --soft: #7F8697;      /* large statement text only */
  --line: #D9D2C3;
  --field: #14243F;     /* hero, podcast, contact */
  --on-field: #F7F3EA;
  --on-field-2: #AAB4C8;
  --field-2: #1C3054;   /* empty clip slots, social rings on the field */
  --btn: #14243F;  --on-btn: #F7F3EA;
  --btn-inv: #F7F3EA;  --on-btn-inv: #14243F;
  --bar: rgba(247, 243, 234, .9);

  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mark: "Quando", Georgia, serif;
  --display: var(--font);  /* headings; the forest version swaps in a serif */
  --display-track: 1;      /* scales the tight heading letter-spacing (serifs need less) */
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --sect: clamp(88px, 12vw, 168px);
}

/* Navy / ivory (default above) */

/* Forest / ivory */
[data-palette="forest"] {
  --bg: #F6F3EA; --grey-bg: #EBE9DC; --ink: #1C3328; --muted: #58645C; --soft: #7E8981; --line: #D6D6C6;
  --field: #1F3A2E; --on-field: #F6F3EA; --on-field-2: #A9BBAF; --field-2: #284A3B;
  --btn: #1F3A2E; --on-btn: #F6F3EA; --btn-inv: #F6F3EA; --on-btn-inv: #1F3A2E;
  --bar: rgba(246, 243, 234, .9);
}

/* Sage / ivory: the colour fields go light, so text on them flips to deep green. */
[data-palette="sage"] {
  --bg: #F7F4EC; --grey-bg: #E9EDE3; --ink: #1F2E26; --muted: #55635A; --soft: #7D8A82; --line: #D3DACB;
  --field: #B8C5B0; --on-field: #1F2E26; --on-field-2: #3E5046; --field-2: #A7B69F;
  --btn: #1F2E26; --on-btn: #F7F4EC; --btn-inv: #1F2E26; --on-btn-inv: #F7F4EC;
  --bar: rgba(247, 244, 236, .9);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; filter: grayscale(1); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { opacity: .6; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
cite { font-style: italic; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn); color: var(--on-btn); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kw { width: 42px; height: 22px; display: block; flex: none; }

/* Type */
.h2 { font: 500 clamp(2rem, 4vw, 3.25rem)/1.05 var(--display); letter-spacing: calc(-.035em * var(--display-track)); margin-bottom: clamp(40px, 6vw, 72px); }
.h3 { font: 500 15px/1.4 var(--font); color: var(--muted); margin-bottom: 16px; }
.h3--spaced { margin-top: 64px; }

/* Bar */
.bar { position: sticky; top: 0; z-index: 5; background: var(--bar); backdrop-filter: blur(12px); }
.bar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand:hover { opacity: 1; }
.brand { gap: 12px; }
.brand__name { font: 400 17px/1 var(--mark); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); font: 400 15px/1 var(--font); }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav a:not(.btn):hover { color: var(--ink); opacity: 1; }
.nav li:not(:last-child) { display: none; }
@media (min-width: 900px) { .nav li:not(:last-child) { display: block; } }
@media (max-width: 420px) { .brand__name { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--btn); color: var(--on-btn); text-decoration: none; font: 500 15px/1 var(--font); transition: opacity .2s; }
.btn--sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn--inv { background: var(--btn-inv); color: var(--on-btn-inv); }
.btn:hover { opacity: .8; }
.link { font: 400 15px/1 var(--font); text-decoration: none; color: var(--on-field-2); }
.link:hover { color: var(--on-field); opacity: 1; }

/* Hero */
.hero { display: grid; background: var(--field); color: var(--on-field); }
.hero__img { overflow: hidden; position: relative; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; aspect-ratio: 1 / 1; }
/* Desktop: the photo fills its column but never drives the hero's height (it used to overflow on wide screens). */
@media (min-width: 960px) {
  .hero { grid-template-columns: 5fr 7fr; min-height: clamp(560px, calc(100svh - 72px), 920px); }
  .hero__img img { position: absolute; inset: 0; aspect-ratio: auto; }
}
.hero__panel { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(40px, 7vw, 96px) var(--gutter); }
.hero h1 { font: 500 clamp(3rem, 8vw, 7.4rem)/.92 var(--display); letter-spacing: calc(-.055em * var(--display-track)); }
.h1-suffix { color: var(--on-field-2); font-weight: 300; }
.lede { font: 300 clamp(1.2rem, 1.9vw, 1.6rem)/1.4 var(--font); max-width: 30ch; margin-top: 32px; color: var(--on-field); letter-spacing: -.01em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; margin-top: 48px; }

/* Logos */
.logos { padding: 56px 0; }
.logos__list { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.logos__list img { max-height: 28px; width: auto; opacity: .7; }
.logo-ph { font: 500 18px/1 var(--font); letter-spacing: -.02em; color: var(--muted); }
.is-tbc .logo-ph { font-size: 14px; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 8px 14px; }

/* Sections */
.section { padding: var(--sect) 0; }
.section--tight { padding-top: 0; }
.section--grey { background: var(--grey-bg); }
.split { display: grid; gap: 0; }
@media (min-width: 960px) { .split { grid-template-columns: 4fr 8fr; gap: 48px; } .split > .h2 { margin-bottom: 0; } }

/* About */
.statement { font: 500 clamp(1.9rem, 4vw, 3.5rem)/1.1 var(--display); letter-spacing: calc(-.04em * var(--display-track)); max-width: 24ch; margin-bottom: clamp(64px, 9vw, 120px); }
.soft { color: var(--soft); } /* 3:1+, AA for large text */
.about { display: grid; gap: 48px; align-items: end; }
@media (min-width: 960px) { .about { grid-template-columns: 5fr 7fr; gap: 96px; } }
.about__img { overflow: hidden; aspect-ratio: 4 / 5; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text { max-width: 560px; }
.about__text p { color: var(--muted); }
.about__text p + p { margin-top: 1em; }
.about__text .big { font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.35 var(--font); letter-spacing: -.02em; color: var(--ink); margin-bottom: 24px; }
.how { margin-top: 40px; display: grid; gap: 14px; }
.how li { font-size: 16px; padding-left: 22px; position: relative; }
.how li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; margin-top: clamp(80px, 10vw, 140px); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats dt { font: 400 clamp(2.6rem, 5vw, 4.2rem)/1 var(--display); letter-spacing: calc(-.05em * var(--display-track)); margin-bottom: 10px; }
.stats dd { font-size: 15px; color: var(--muted); max-width: 20ch; }

/* Engagements */
.cols3 { display: grid; gap: 48px; }
@media (min-width: 900px) { .cols3 { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.cols3 h3, .grid6 h3 { font: 500 21px/1.25 var(--font); letter-spacing: -.02em; margin-bottom: 12px; }
.cols3 p, .grid6 p { color: var(--muted); font-size: 16px; }

/* Expertise */
.grid6 { display: grid; gap: 56px; }
@media (min-width: 640px) { .grid6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid6 { grid-template-columns: repeat(3, 1fr); } }

/* Lists (research, talks) */
.list { display: grid; gap: 18px; }
.list a { font: 500 clamp(1.15rem, 1.7vw, 1.4rem)/1.3 var(--font); letter-spacing: -.02em; text-decoration: none; }
.list a::after { content: " \2197"; color: var(--muted); font-weight: 400; }
.list--cite { gap: 28px; }
.list--cite li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; }
.list--cite p { font-size: 16px; color: var(--muted); line-height: 1.55; }
.list--cite b { font-weight: 500; color: var(--ink); }
.yr { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.t { display: block; font: 500 18px/1.35 var(--font); letter-spacing: -.015em; color: var(--ink); margin-bottom: 4px; }
.is-ph .t { color: var(--muted); }
.list--sm { gap: 18px; margin-top: 28px; }
.list--sm p { font-size: 15px; }
.more { margin-top: 48px; }
.more summary { cursor: pointer; list-style: none; display: inline-flex; gap: 10px; font: 500 15px/1 var(--font); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; }
.more[open] summary::after { content: "\2212"; }

/* Podcast */
.podcast { background: var(--field); color: var(--on-field); padding: var(--sect) 0; }
.podcast .h2 { margin-bottom: 16px; }
.intro { color: var(--on-field-2); max-width: 48ch; margin-bottom: clamp(40px, 6vw, 72px); }
.eps { display: grid; gap: 40px; }
@media (min-width: 760px) { .eps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.ep__clip { position: relative; aspect-ratio: 4 / 5; background: var(--field-2); border-radius: 6px; margin-bottom: 20px; }
.play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 60px; height: 60px; border-radius: 50%; background: var(--btn-inv); }
.play::after { content: ""; position: absolute; left: 24px; top: 20px; border-left: 15px solid var(--on-btn-inv); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.ep h3 { font: 500 20px/1.25 var(--font); letter-spacing: -.02em; margin-bottom: 6px; }
.ep p { color: var(--on-field-2); font-size: 15px; }

/* Testimonials */
.q { max-width: 900px; }
.q blockquote p { font: 400 clamp(1.6rem, 3.2vw, 2.6rem)/1.2 var(--display); letter-spacing: calc(-.035em * var(--display-track)); }
.q figcaption { margin-top: 28px; color: var(--muted); font-size: 15px; }

/* Contact */
.contact { background: var(--field); color: var(--on-field); padding: var(--sect) 0 calc(var(--sect) * .7); }
.contact__big { display: inline-block; font: 500 clamp(3.2rem, 11vw, 10rem)/.9 var(--display); letter-spacing: calc(-.06em * var(--display-track)); text-decoration: none; }
.contact__big span { display: inline-block; font-weight: 300; transition: translate .25s; }
.contact__big:hover { opacity: 1; }
.contact__big:hover span { translate: 14px 0; }
@media (min-width: 640px) { .contact__big { white-space: nowrap; } }
.contact__row { display: grid; gap: 24px; margin-top: 56px; color: var(--on-field-2); }
@media (min-width: 900px) { .contact__row { grid-template-columns: 1fr 1fr; } .contact__links { justify-self: end; text-align: right; } }
.contact__row p:first-child { max-width: 46ch; }
.contact__links a { color: var(--on-field); text-decoration: none; line-height: 1.9; }

/* Footer */
.footer { background: var(--field); color: var(--on-field-2); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; }
.footer .kw { color: var(--on-field); }
/* Footer uses the same lockup as the header: KW mark + name in Quando, side by side. */
.brand--footer { color: var(--on-field); }
@media (max-width: 420px) { .brand--footer .brand__name { display: inline; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Placeholder logos (fictional) ---------- */
.fl { display: flex; align-items: center; gap: 8px; min-height: 40px; color: var(--muted); }
.fl svg { width: 20px; height: 20px; }
.fl--a { font: 500 17px/1 var(--font); letter-spacing: -.03em; }
.fl--b { font: 600 13px/1 var(--font); letter-spacing: .24em; }
.fl--c { font: 400 18px/1 var(--font); letter-spacing: -.04em; }
.fl--d { font: 300 19px/1 var(--font); letter-spacing: -.03em; }
.fl--d b { font-weight: 600; }
.fl--e { font: 600 18px/1 var(--font); letter-spacing: -.05em; }
.fl--f { font: 400 17px/1 var(--font); letter-spacing: .02em; text-transform: lowercase; }

/* ---------- Podcast photos (greyscale) ---------- */
.ep__clip { overflow: hidden; }
.ep__clip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .6s ease; }
.ep:hover .ep__clip img { scale: 1.03; }
.play { z-index: 1; }

/* ---------- Footer socials ---------- */
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--field-2); color: var(--on-field); transition: background .3s, color .3s; }
.socials a:hover { background: var(--on-field); color: var(--field); opacity: 1; }
.socials svg { width: 17px; height: 17px; }
.footer__inner { flex-wrap: wrap; }

/* ---------- Motion (progressive: only when JS runs and motion is allowed) ---------- */
.hero__img img, .about__img img, .ep__clip img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.1);
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal="fade"] { transform: none; }
  .js [data-reveal="scale"] { transform: scale(.97); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__img img, .about__img img, .ep__clip img { transform: none; }
}

/* ---------- Photos: kept black and white so the colour stays in the fields ---------- */
/* Sage: every photo is toned green (filter defined inline in sage.html). */
[data-palette="sage"] img { filter: url(#green-tone); }

/* Sage hero: name and intro sit on the ivory at the top; a smaller rounded sage panel sits low and centred.
   Kira is cut out at full hero height, so her head and shoulders rise above the panel; the photo is cut flat at the panel's bottom edge. */
.stage { padding: 0 max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); background: var(--bg); }
.stage__inner { position: relative; isolation: isolate; display: grid; container-type: inline-size; }
.stage__panel {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0; z-index: -2;
  width: min(100%, 1180px); height: calc(min(100cqw, 520px) * .68);
  border-radius: clamp(20px, 2.4vw, 32px);
  background:
    radial-gradient(ellipse 34% 70% at 50% 30%, rgba(226, 233, 218, .5) 0%, rgba(226, 233, 218, 0) 70%),
    linear-gradient(180deg, #A9B9A0 0%, #93A68A 100%);
}
.stage__content { display: grid; gap: 28px; padding: clamp(32px, 6vw, 56px) clamp(8px, 3vw, 28px) 36px; color: var(--ink); }
.stage__title { font: 400 clamp(2.6rem, 9vw, 4rem)/1 var(--display); letter-spacing: -.01em; }
.stage__title span { display: block; }
.stage__title .h1-suffix { color: var(--muted); }
.stage__side { display: grid; gap: 22px; align-content: start; }
.stage__side .lede { margin: 0; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.5; color: var(--muted); max-width: 30ch; }
.stage__side .lede { color: var(--ink); }
.stage__side .link { color: var(--muted); }
.stage__side .link:hover { color: var(--ink); }
.stage__side .hero__actions { margin: 0; gap: 22px; }
/* The frame shows the top ~71% of the photo: hands and lap in, legs out. No fades, a clean flat cut. */
.stage__img { position: relative; z-index: -1; margin: 0 auto; width: min(100%, 520px); aspect-ratio: 1000 / 994; overflow: hidden; border-radius: 0 0 clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px); }
.stage__img img { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.stage__chips { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 8px; border-radius: 999px;
  background: rgba(247, 244, 236, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); font: 500 13px/1 var(--font); color: var(--on-field); white-space: nowrap; }
.chip i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--on-field); color: var(--bg); font-style: normal; font-size: 12px; }

@media (min-width: 960px) {
  .stage__inner { height: clamp(640px, calc(100svh - 84px), 840px); }
  /* Panel: narrower than the page and only the lower ~58% of the hero. */
  .stage__panel { height: 58%; }
  /* Her face sits at ~43% of the photo width, so the frame is offset to put her face on the centre line. */
  .stage__img { position: absolute; left: 50%; bottom: 0; translate: -44% 0; height: 100%; width: auto; margin: 0; }
  /* Name and intro sit up on the ivory, close in on either side of her head; chips along the bottom of the panel. */
  .stage__content {
    position: absolute; left: 50%; top: 0; bottom: 0; translate: -50% 0; width: min(100%, 1180px);
    padding: clamp(40px, 5vh, 64px) clamp(28px, 3vw, 44px) 28px;
    grid-template-columns: minmax(0, 1fr) clamp(340px, 30vw, 440px) minmax(0, 1fr);
    grid-template-rows: 1fr auto; column-gap: 28px; row-gap: 0;
  }
  .stage__title { grid-column: 1; grid-row: 1; justify-self: end; align-self: start; font-size: clamp(2.5rem, 3.7vw, 3.6rem); }
  .stage__side { grid-column: 3; grid-row: 1; justify-self: start; align-self: start; padding-top: 8px; }
  .stage__chips { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
}

/* Narrow screens: name on the ivory; the sage panel starts at the intro, so the intro and buttons sit on the green.
   Kira sits on the right, bottom-aligned to the panel, her head rising beside the name. The content wrapper steps aside
   (display: contents) so title, intro, panel and photo share one grid. */
@media (max-width: 959.98px) {
  .stage__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(20px, auto); }
  .stage__content { display: contents; }
  .stage__title { grid-row: 1; grid-column: 1; padding: clamp(28px, 6vw, 48px) clamp(8px, 3vw, 28px) 28px; z-index: 1; }
  .stage__panel { position: relative; left: auto; bottom: auto; translate: none; width: auto; height: auto; grid-row: 2 / 4; grid-column: 1; }
  .stage__side { grid-row: 2; grid-column: 1; z-index: 1; padding: 28px clamp(20px, 5vw, 36px) 0; max-width: 44%; }
  .stage__side .lede { max-width: none; font-size: clamp(.95rem, 2.6vw, 1.05rem); }
  .stage__side .hero__actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  /* Kira fills the right side: the photo is drawn wider than its frame, so her far shoulder crops at the panel edge
     and her head rises above the panel beside the name. */
  .stage__img { grid-row: 1 / 4; grid-column: 1; justify-self: end; align-self: end; width: 60%; aspect-ratio: 1000 / 1480; margin: 0; border-radius: 0 0 clamp(20px, 2.4vw, 32px) 0; }
  /* Shows the photo from just left of her arm to ~80% across: her face lands mid-frame, her far shoulder crops at the panel edge,
     and the frame is tall enough to keep her hands in. */
  .stage__img img { width: 132%; max-width: none; left: -5.3%; }
}

/* Small phones (~360-430px): Kira stays large and rises above the panel beside the name; the intro takes a narrow
   column on the left and the buttons stay on one line. */
@media (max-width: 480px) {
  .stage__side { max-width: 47%; padding: 22px 0 0 16px; gap: 16px; }
  .stage__side .lede { font-size: .88rem; line-height: 1.42; }
  .stage__side .hero__actions { gap: 12px; }
  .stage__side .btn { white-space: nowrap; min-height: 42px; padding: 0 18px; font-size: 14px; }
  /* 66% wide but pushed 10% past the right edge; clip-path trims the overhang so her far shoulder crops at the panel edge. */
  .stage__inner { overflow-x: clip; } /* the photo overhangs the right edge; never let it widen the page */
  .stage__img { width: 66%; margin-right: -10%; border-radius: 0; clip-path: inset(0 15.15% 0 0 round 0 0 20px 0); }
}

/* ---------- Serif headings in Quando (the Monogram's face), Geist stays for reading ---------- */
:is([data-palette="navy"], [data-palette="forest"], [data-palette="sage"]) { --display: "Quando", Georgia, "Times New Roman", serif; --display-track: .2; }
/* Quando is wide and only comes in one weight, so headings drop a step in size instead of weight. */
:is([data-palette="navy"], [data-palette="forest"], [data-palette="sage"]) .hero h1 { font-weight: 400; font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1; }
:is([data-palette="navy"], [data-palette="forest"], [data-palette="sage"]) .h1-suffix { font-weight: 400; }
:is([data-palette="navy"], [data-palette="forest"], [data-palette="sage"]) .statement { font-weight: 400; font-size: clamp(1.6rem, 3.3vw, 2.9rem); line-height: 1.22; max-width: 26ch; }
:is([data-palette="navy"], [data-palette="forest"], [data-palette="sage"]) .h2 { font-weight: 400; font-size: clamp(1.7rem, 3.3vw, 2.7rem); line-height: 1.15; }
:is([data-palette="navy"], [data-palette="forest"], [data-palette="sage"]) .stats dt { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
:is([data-palette="navy"], [data-palette="forest"], [data-palette="sage"]) .q blockquote p { font-size: clamp(1.4rem, 2.7vw, 2.2rem); line-height: 1.3; }
:is([data-palette="navy"], [data-palette="forest"], [data-palette="sage"]) .contact__big { font-weight: 400; font-size: clamp(2.6rem, 9vw, 8rem); }
:is([data-palette="navy"], [data-palette="forest"], [data-palette="sage"]) .cols3 h3, :is([data-palette="navy"], [data-palette="forest"], [data-palette="sage"]) .grid6 h3 { font: 400 20px/1.3 var(--display); letter-spacing: 0; }

/* ---------- Ways to engage: line icons in the page colour on a soft tint ---------- */
.engage-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px;
  border-radius: 50%; background: var(--grey-bg); color: var(--field);
}
.engage-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Mobile and touch ---------- */
/* Menu button: only on phones and tablets, and only when JS can open the menu. */
.nav__menu { display: none !important; }
@media (max-width: 899px) { .js .nav__menu { display: block !important; } }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn__lines, .menu-btn__lines::before, .menu-btn__lines::after { display: block; width: 16px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.menu-btn__lines { position: relative; }
.menu-btn__lines::before, .menu-btn__lines::after { content: ""; position: absolute; left: 0; }
.menu-btn__lines::before { top: -5px; }
.menu-btn__lines::after { top: 5px; }
.menu-btn[aria-expanded="true"] .menu-btn__lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__lines::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines::after { transform: translateY(-5px) rotate(-45deg); }
.menu { border-top: 1px solid var(--line); background: var(--bg); }
.menu ul { list-style: none; margin: 0 auto; padding-top: 8px; padding-bottom: 16px; }
.menu a { display: flex; align-items: center; min-height: 52px; font: 400 clamp(1.5rem, 6vw, 1.9rem)/1 var(--display); color: var(--ink); text-decoration: none; }
@media (min-width: 900px) { .menu { display: none !important; } }
.btn--sm { min-height: 44px; }

/* Comfortable tap targets (44px) without changing how things look. */
.brand { min-height: 44px; min-width: 44px; }
.link { display: inline-flex; align-items: center; min-height: 44px; }
.list a { display: inline-block; padding-block: 10px; }
.list:not(.list--cite) { gap: 4px; }
.more summary { min-height: 44px; align-items: center; }
.contact__links a { display: inline-block; padding-block: 10px; line-height: 1.4; }
.socials a { width: 44px; height: 44px; }

/* Placeholder logos: an even two-column grid on phones instead of a ragged row. */
@media (max-width: 640px) {
  .logos__list { display: grid; grid-template-columns: 1fr 1fr; justify-items: start; gap: 18px 20px; }
}

/* ---------- Therapy page ---------- */
.nav a[aria-current="page"] { color: var(--ink); }
.t-hero { padding: clamp(64px, 10vw, 136px) 0 clamp(40px, 6vw, 72px); }
.t-hero__inner { display: grid; justify-items: start; gap: 24px; max-width: 900px; }
.t-kicker { font: 500 14px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.t-hero h1 { font: 400 clamp(2.4rem, 6vw, 5rem)/1.02 var(--display); letter-spacing: calc(-.045em * var(--display-track)); color: var(--ink); text-wrap: balance; }
.t-hero .h1-suffix { color: var(--soft); }
.t-lede { font: 300 clamp(1.15rem, 1.8vw, 1.45rem)/1.45 var(--font); color: var(--ink); max-width: 36ch; }

.t-office { padding-bottom: clamp(56px, 8vw, 104px); }
.t-office__grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .t-office__grid { grid-template-columns: 3fr 2fr; gap: 24px; } }
.t-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--grey-bg); }
.t-photo img { width: 100%; height: 100%; object-fit: cover; }
.t-photo--empty { display: grid; place-items: center; border: 1px dashed var(--line); }
.t-photo--empty span { font: 500 14px/1 var(--font); color: var(--muted); }
/* Three photos: two landscape stacked on the left, the portrait one tall on the right */
@media (min-width: 760px) {
  .t-office__grid--3 { grid-template-columns: 1fr 1fr; }
  .t-office__grid--3 .t-photo:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: auto; }
}
.t-studio { margin-top: clamp(40px, 6vw, 72px); }
.t-studio__text { font: 300 clamp(1.15rem, 1.8vw, 1.45rem)/1.45 var(--font); color: var(--ink); max-width: 40ch; }

.t-copy { display: grid; gap: 36px; max-width: 680px; }
.t-copy__lead { font: 400 clamp(1.2rem, 1.9vw, 1.5rem)/1.45 var(--font); letter-spacing: -.01em; color: var(--ink); }
.t-points { display: grid; gap: 28px; margin: 0; }
.t-points dt { font: 400 21px/1.3 var(--display); color: var(--ink); margin-bottom: 8px; }
.t-points dd { margin: 0; color: var(--muted); }

.section--tight-top { padding-top: clamp(64px, 8vw, 104px); }
.t-facts { display: grid; gap: 0; margin: 0; max-width: 680px; }
.t-facts > div { display: grid; gap: 4px 24px; padding: 16px 0; }
@media (min-width: 640px) { .t-facts > div { grid-template-columns: 160px 1fr; } }
.t-facts dt { font: 500 15px/1.5 var(--font); color: var(--muted); }
.t-facts dd { margin: 0; color: var(--ink); }

.contact__big--md { font-size: clamp(2.2rem, 7vw, 6rem); white-space: normal; }
.t-crisis { margin-top: 48px; max-width: 62ch; font-size: 14px; color: var(--on-field-2); }
.t-crisis a { color: var(--on-field); }

/* Podcast episodes that link out */
.ep__link { display: block; color: inherit; text-decoration: none; }
.ep__link:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
