/* ==========================================================================
   Dr. Say Kerner — main stylesheet
   Warm linen and espresso, one fresh coral, sky blue for numbers.
   Type: Newsreader (headlines, reading), Figtree (interface), Ms Madi (signature only).
   Signature devices: the oversized, barely-there word ("perspective"),
   soft-focus light behind sharp words, and warm, sunlit sign-up buttons.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --linen: #F6EEE5;
  --paper: #FBF6F0;
  --field: #FFFBF6;
  --espresso: #2E241D;
  --mocha: #6B584C;
  --line: #DFD0BF;
  --coral: #F59D86;
  --coral-deep: #A3422D;
  --sky: #CFE0EA;
  --blush: #F4D3C7;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --script: "Ms Madi", "Snell Roundhand", cursive;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.3rem + 1.4vw, 2.125rem);
  --step-4: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
  --step-5: clamp(2.75rem, 1.4rem + 4.6vw, 5.25rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 77.5rem;
  --measure: 38rem;
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 8px;
  --header-h: 5.25rem;
  --shadow: 0 30px 55px -32px rgba(46, 36, 29, .45);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .12 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; overflow-x: clip;
  background: var(--linen); color: var(--espresso);
  font-family: var(--sans); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; background: var(--grain); opacity: .5; }
img, video, svg { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--linen); }
::selection { background: var(--blush); color: var(--espresso); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--espresso); color: var(--linen); padding: .75rem 1rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); }
.section--sky { background: var(--sky); }
.section--tight { padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); }
.prose { max-width: var(--measure); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--mocha); }
.reading { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .45vw, 1.45rem); line-height: 1.6; }
.kicker { font-size: var(--step--1); font-weight: 600; color: var(--mocha); margin: 0 0 1rem; }
.type { font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--mocha); margin: 0 0 .25rem; }
.h2 { font-size: var(--step-4); margin-bottom: 1.25rem; }
.h3 { font-size: var(--step-3); margin-bottom: .75rem; }
.signature { font-family: var(--script); font-size: 3.4rem; line-height: 1; color: var(--coral-deep); margin: .5rem 0 0; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.text-link:hover { text-decoration-color: currentColor; }
.mt-1 { margin-top: .85rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: clamp(2rem, 4vw, 3rem); }

/* The signature device: oversized, barely-there words */
.bigword { position: absolute; z-index: 0; margin: 0; font-family: var(--serif); font-weight: 400; line-height: .8; letter-spacing: -.035em; white-space: nowrap; pointer-events: none; color: rgba(46, 36, 29, .05); font-size: var(--size, clamp(6rem, 23vw, 20.625rem)); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .8rem 1.6rem; border: 0; border-radius: 999px;
  font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease;
}
.btn--small { min-height: 2.65rem; padding: .55rem 1.15rem; font-size: .9375rem; }
.btn[disabled] { opacity: .65; cursor: progress; }
/* Sign-up: flat peach, a shade deeper on hover */
.btn--join { color: var(--espresso); background: var(--coral); }
.btn--join:hover { background: color-mix(in srgb, var(--coral) 86%, var(--espresso)); }
.btn--dark { background: var(--espresso); color: var(--linen); }
.btn--dark:hover { background: #4A3A30; }
.btn--line { background: transparent; color: var(--espresso); box-shadow: inset 0 0 0 1.5px var(--espresso); }
.btn--line:hover { background: var(--espresso); color: var(--linen); }
@media (prefers-reduced-motion: reduce) { .btn, .btn--join::after { transition: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--linen) 90%, transparent); -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.wordmark { font-family: var(--serif); font-size: 1.5rem; font-weight: 450; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; line-height: 1; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.9rem); }
.nav__list { display: flex; gap: clamp(1rem, 2.2vw, 1.9rem); }
.nav__link { font-size: .9375rem; font-weight: 500; text-decoration: none; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav__link:hover { border-bottom-color: var(--coral); }
.nav__link[aria-current="page"] { border-bottom-color: var(--espresso); }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1.5px solid var(--espresso); border-radius: 999px; min-height: 2.6rem; padding: .4rem 1rem; font-weight: 600; font-size: .9375rem; cursor: pointer; }
  .menu-toggle__bars { width: 16px; height: 10px; position: relative; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s ease, top .2s ease; }
  .menu-toggle__bars::before { top: 1px; } .menu-toggle__bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 4px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 4px; transform: rotate(-45deg); }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 59; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem; padding: 2rem var(--gutter) 3rem; background: var(--linen); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 400; padding-block: .6rem; border-bottom: 1px solid var(--line); }
  .nav__link:hover, .nav__link[aria-current="page"] { border-bottom-color: var(--line); color: var(--coral-deep); }
  .nav .btn { align-self: flex-start; }
  body.menu-open { overflow: hidden; }
  .menu-open .site-header::before { background: var(--linen); }
}

/* ---------- Forms ---------- */
.signup { max-width: 30rem; }
.signup__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.field { flex: 1 1 14rem; min-width: 0; }
.field label { display: block; font-size: var(--step--1); font-weight: 600; margin-bottom: .35rem; }
.input, .textarea { width: 100%; min-height: 3.25rem; padding: .8rem 1.25rem; background: var(--field); border: 1px solid var(--line); border-radius: 999px; font-size: 1rem; color: var(--espresso); transition: border-color .15s ease; }
.textarea { border-radius: 14px; min-height: 9rem; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #7A675C; opacity: 1; }
.input:hover, .textarea:hover { border-color: var(--mocha); }
.input:focus-visible, .textarea:focus-visible { outline: 2px solid var(--espresso); outline-offset: 1px; }
.input[aria-invalid="true"] { border-color: var(--coral-deep); }
.signup .btn { flex: 0 0 auto; }
.signup__row--fields { align-items: flex-end; }
.signup__row--fields .field { flex: 1 1 11rem; }
.signup__row--fields .btn { flex: 1 0 100%; }
.signup__note { margin-top: .85rem; font-size: var(--step--1); color: var(--mocha); }
.form-status { margin-top: .85rem; font-weight: 600; font-size: .975rem; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: var(--coral-deep); }
.form-success { display: none; padding: 1.25rem 1.5rem; border-radius: 14px; background: var(--field); border: 1px solid var(--line); }
.form-success strong { display: block; font-family: var(--serif); font-size: var(--step-2); font-weight: 400; margin-bottom: .25rem; }
.is-sent .form-body { display: none; }
.is-sent .form-success { display: block; }
.hp { position: absolute; left: -9999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .input { border-radius: 14px; }
.form-hint { font-size: var(--step--1); color: var(--mocha); margin: .4rem 0 0; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.signup-card { margin-top: 2rem; padding: 1.5rem 1.5rem 1.35rem; max-width: 32rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.signup-card__title { font-family: var(--serif); font-size: var(--step-2); line-height: 1.2; margin: 0 0 1rem; }

/* ---------- Home hero: the room, on video ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(1.5rem, 4vw, 4rem) 0 clamp(9rem, 14vw, 12.5rem); }
.hero .wrap { z-index: 1; }
.hero__text { max-width: 37.5rem; }
.creds { font-size: .9375rem; line-height: 1.45; color: var(--mocha); margin: 0 0 1.5rem; padding-left: .875rem; border-left: 2px solid var(--coral); }
.creds b { display: block; color: var(--espresso); font-weight: 600; }
.hero__title { font-size: var(--step-5); max-width: 9.5ch; }
.mark { font-style: normal; position: relative; display: inline-block; }
.underline { position: absolute; left: -2%; bottom: -.14em; width: 104%; max-width: none; height: .3em; overflow: visible; pointer-events: none; }
.underline path { fill: none; stroke: var(--coral); stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .underline path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.65, 0, .35, 1) .35s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { margin: 1.6rem 0 1.9rem; max-width: 26em; }
.hero > .bigword { left: -.04em; bottom: 1.25rem; }

.bleed { margin: 0; position: absolute; z-index: 1; right: 0; top: 2.25rem; bottom: 0; width: 41vw; max-width: 40rem; overflow: hidden; background: var(--line); }
.bleed video, .bleed img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 12%); display: block; }   /* anchored near the top so heads are never cropped */
.bleed::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply; background: var(--grain); }
.bleed .veil { z-index: 1; color: rgba(255, 248, 240, .38); top: 0; left: 0; }
.bleed figcaption { position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2; font-family: var(--serif); font-style: italic; font-size: .9375rem; color: #FFF8F0; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.vid-toggle { position: absolute; right: .875rem; bottom: .75rem; z-index: 3; border: 0; border-radius: 999px; padding: .4rem .8rem; font: 600 .75rem var(--sans); color: #FFF8F0; background: rgba(46, 36, 29, .45); cursor: pointer; }
.vid-toggle:hover { background: rgba(46, 36, 29, .7); }
@media (max-width: 1000px) {
  .hero { padding-bottom: 0; }
  .hero__title { max-width: 11ch; }
  .bleed { position: relative; top: auto; width: 100%; max-width: none; margin-top: 3rem; aspect-ratio: 4 / 5; max-height: 82vh; }
  .hero > .bigword { display: none; }
  .bleed .veil { top: auto; bottom: 1.5rem; }
  .hero__join { margin-top: 2rem; padding-bottom: 3.5rem; }
}

/* ---------- Proof numbers ---------- */
.proof { background: var(--sky); position: relative; z-index: 1; overflow: hidden; isolation: isolate; }
.proof::before { content: ""; position: absolute; inset: -20px; z-index: -1; background: url("/assets/texture/bokeh-1200.jpg") center / cover; filter: blur(3px) grayscale(.4); opacity: .18; mix-blend-mode: soft-light; }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.5rem 1.75rem 2.4rem; border-left: 1px solid rgba(46, 36, 29, .14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 2rem + 1.4vw, 3.25rem); line-height: 1; margin-bottom: .5rem; }
.stat span { font-size: .9375rem; }
@media (max-width: 899px) { .br-wide { display: none; } }
.proof--told .wrap { display: block; padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.proof--told p { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }
@media (max-width: 800px) {
  .proof .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.75rem 1rem 1.6rem; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(46, 36, 29, .14); }
}

/* ---------- A personal note ---------- */
.holding .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.holding h2 { font-size: var(--step-5); line-height: .98; }
.turn { font-style: italic; font-size: clamp(1.4rem, 1.15rem + .7vw, 1.75rem); line-height: 1.35; margin: 1.6rem 0; }
.turn mark { background: linear-gradient(transparent 58%, var(--blush) 58%); color: inherit; padding: 0 .1em; }
@media (max-width: 800px) { .holding .wrap { grid-template-columns: 1fr; } }

/* ---------- Breather: the meadow, three words come into focus ---------- */
.breather { position: relative; height: clamp(26rem, 20rem + 18vw, 35rem); overflow: hidden; isolation: isolate; }
.breather > picture img { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none; object-fit: cover; z-index: -2; filter: blur(16px) sepia(.2) brightness(1.04); transition: filter 1.8s cubic-bezier(.2, .7, .2, 1); }
.breather.in-focus > picture img { filter: blur(1.5px) sepia(.2) brightness(1.04); }
.breather::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(246, 238, 229, .72), rgba(246, 238, 229, .35) 60%, rgba(246, 238, 229, 0) 90%); }
.trio { position: relative; width: min(68.75rem, 90vw); height: 100%; margin: 0 auto; }
.trio span { position: absolute; font-family: var(--serif); font-size: clamp(2.6rem, 1.2rem + 5vw, 5.75rem); line-height: 1; letter-spacing: -.03em; text-shadow: 0 1px 40px rgba(246, 238, 229, .8); }
.trio span:nth-child(1) { left: 0; top: 22%; }
.trio span:nth-child(2) { left: 50%; top: 42%; transform: translateX(-50%); font-style: italic; }
.trio span:nth-child(3) { right: 0; top: 62%; }
.js .trio span { filter: blur(12px); opacity: 0; transition: filter 1.4s cubic-bezier(.2, .7, .2, 1), opacity 1.4s; }
.js .in-focus .trio span { filter: blur(0); opacity: 1; }
.js .in-focus .trio span:nth-child(2) { transition-delay: .45s; }
.js .in-focus .trio span:nth-child(3) { transition-delay: .9s; }
@media (max-width: 640px) {
  .trio span:nth-child(1) { left: 4%; top: 20%; }
  .trio span:nth-child(3) { right: 4%; top: 64%; }
}
@media (prefers-reduced-motion: reduce) {
  .js .trio span { filter: none; opacity: 1; transition: none; }
  .breather > picture img { filter: blur(1.5px) sepia(.2) brightness(1.04); transition: none; }
}

/* ---------- Three ways to join ---------- */
.ways-intro { font-size: 1.1875rem; color: var(--mocha); margin: -.5rem 0 3.25rem; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.75rem; row-gap: 0; }
.way { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
.way figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.way__body { grid-row: 2 / span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; padding: 1.4rem 0 0; }
.way h3 { font-size: 2rem; margin-bottom: .75rem; }
.way .what { margin: 0 0 1.1rem; }
.way .text-link { justify-self: start; align-self: end; }
/* each space has its own colour */
.way { padding: .75rem .75rem 1.6rem; border-radius: 16px; }
.way:nth-child(1) { background: color-mix(in srgb, var(--blush) 55%, var(--paper)); }
.way:nth-child(2) { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.way:nth-child(3) { background: color-mix(in srgb, var(--sky) 70%, var(--paper)); }
.way figure img { border-radius: 10px; }
.way__body { padding: 1.15rem .6rem 0; }
@media (max-width: 900px) {
  .ways { grid-template-columns: 1fr; row-gap: 1.75rem; max-width: 32rem; }
  .way, .way__body { display: flex; flex-direction: column; }
  .way__body { flex: 1; }
  .way figure img { aspect-ratio: 4 / 3; }
  .way .text-link { align-self: flex-start; margin-top: auto; }
}

/* ---------- Quotes on espresso ---------- */
.quotes { background: var(--espresso); color: var(--linen); position: relative; overflow: hidden; isolation: isolate; }
.quotes::before { content: ""; position: absolute; inset: -20px; z-index: -1; background: url("/assets/texture/bokeh-2400.jpg") center / cover; filter: blur(12px); opacity: .14; mix-blend-mode: screen; }
.quotes .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); }
.quotes h2 { font-size: var(--step-4); }
.quotes blockquote { margin: 0 0 3.25rem; font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.3; }
.quotes blockquote:last-child { margin-bottom: 0; }
.quotes blockquote::before { content: "\201C"; display: block; font-size: 5.5rem; line-height: .6; color: var(--coral); margin-bottom: .75rem; }
.quotes cite { display: block; margin-top: .6rem; font-family: var(--sans); font-style: normal; font-size: .875rem; color: var(--sky); }
@media (max-width: 800px) { .quotes .wrap { grid-template-columns: 1fr; } }

/* ---------- A dose of perspective (coral) ---------- */
.dose { background: var(--coral); position: relative; overflow: hidden; isolation: isolate; }
.dose::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: url("/assets/texture/meadow-1200.jpg") center / cover; filter: blur(14px); opacity: .32; mix-blend-mode: screen; }
.dose .wrap { z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.dose h2 { font-size: clamp(2.75rem, 1.6rem + 3.6vw, 4.5rem); line-height: .98; margin-bottom: 1.1rem; }
.dose .wrap p { font-size: 1.1875rem; }
.dose .input { border-color: transparent; }
.dose .signup__note { color: var(--espresso); }
.dose > .bigword { right: -.06em; bottom: -.14em; color: rgba(163, 66, 45, .16); }
.stage { container-type: inline-size; position: relative; aspect-ratio: 10 / 7; }
.stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage .ln { fill: none; stroke: var(--espresso); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.word { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) rotate(var(--r)); white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: clamp(.8rem, 3.1cqw, 1.375rem); line-height: 1; padding: .5em .95em .58em; border-radius: 999px; background: var(--bg, var(--linen)); border: 1.5px solid var(--espresso); box-shadow: 0 4px 0 rgba(46, 36, 29, .9); }
.word--lead { font-size: clamp(1.1rem, 4.5cqw, 2rem); background: var(--espresso); color: var(--linen); }
@media (prefers-reduced-motion: no-preference) {
  .js [data-spill] .word { opacity: 0; left: 31%; top: 40%; transform: translate(-50%, -50%) rotate(calc(var(--r) - 60deg)) scale(.35); }
  .js [data-spill].is-spilled .word { animation: pour 1.1s cubic-bezier(.2, .9, .3, 1.12) forwards; animation-delay: calc(var(--i) * 110ms + 150ms); }
}
@keyframes pour {
  0% { opacity: 0; left: 31%; top: 40%; transform: translate(-50%, -50%) rotate(calc(var(--r) - 60deg)) scale(.35); }
  25% { opacity: 1; }
  100% { opacity: 1; left: var(--x); top: var(--y); transform: translate(-50%, -50%) rotate(var(--r)) scale(1); }
}
@media (max-width: 900px) { .dose .wrap { grid-template-columns: 1fr; } .stage { max-width: 36rem; } }

/* ---------- Coral sign-up band (inner pages) ---------- */
.band { background: var(--coral); position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: url("/assets/texture/meadow-1200.jpg") center / cover; filter: blur(14px); opacity: .28; mix-blend-mode: screen; }
.band .wrap { z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.band h2 { font-size: var(--step-4); margin-bottom: .9rem; }
.band .wrap p { font-size: 1.1875rem; }
.band .input { border-color: transparent; }
.band .signup__note { color: var(--espresso); }
.band > .bigword { right: -.06em; bottom: -.16em; color: rgba(163, 66, 45, .15); --size: clamp(6rem, 20vw, 17rem); }
@media (max-width: 800px) { .band .wrap { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(2rem, 4vw, 4rem) 0 clamp(6rem, 10vw, 9rem); }
.page-hero .wrap { z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.page-hero h1 { font-size: var(--step-5); margin-bottom: 1.4rem; }
.page-hero h1.is-long { font-size: clamp(2.6rem, 1.5rem + 3.4vw, 4.5rem); }
.page-hero .lead { max-width: 30em; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin-top: 2rem; }
.page-hero > .bigword { left: -.04em; bottom: -.12em; --size: clamp(5rem, 17vw, 15rem); }
.photo { margin: 0; position: relative; }
.photo img { width: 100%; object-fit: cover; border-radius: 4px; aspect-ratio: var(--ratio, 4 / 5); object-position: var(--pos, 50% 40%); }
.photo figcaption { margin-top: .75rem; font-family: var(--serif); font-style: italic; font-size: .9375rem; color: var(--mocha); }
.photo--video video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 4px; background: var(--line); }
.photo--video .vid-toggle { top: .75rem; bottom: auto; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .photo { max-width: 32rem; } }

/* ---------- Content blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.split--center { align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.status-note { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.5rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); max-width: 32rem; }
.status-note__dot { flex: none; width: .75rem; height: .75rem; margin-top: .45rem; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px color-mix(in srgb, var(--coral) 25%, transparent); }
.status-note p { margin: 0; }
.status-note strong { display: block; }
.plain-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }
.plain-list strong { display: block; font-family: var(--serif); font-weight: 400; font-size: var(--step-2); margin-bottom: .2rem; }
.plain-list p { margin: 0; color: var(--mocha); }
.section--sky .plain-list li { border-color: rgba(46, 36, 29, .16); }
.section--sky .plain-list p { color: var(--espresso); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; margin-top: clamp(2rem, 4vw, 3rem); }
.step { counter-increment: step; border-top: 1px solid var(--espresso); padding-top: 1.25rem; }
.step::before { content: counter(step); display: block; font-family: var(--serif); font-style: italic; font-size: var(--step-3); color: var(--coral-deep); line-height: 1; margin-bottom: 1rem; }
.step h3 { font-size: var(--step-2); margin-bottom: .5rem; }
.step p { color: var(--mocha); margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.clip { position: relative; max-width: 21rem; justify-self: center; margin: 0; }
.clip video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: var(--line); box-shadow: var(--shadow); }
.clip figcaption { margin-top: .85rem; font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--mocha); }
.clip .vid-toggle { top: .75rem; bottom: auto; }
.timeline { margin-top: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--line); }
.event__date { font-weight: 600; font-size: .9375rem; margin: 0; }
.event__date span { display: block; font-weight: 400; color: var(--mocha); }
.event__title { font-size: var(--step-3); margin-bottom: .5rem; }
.event__desc { color: var(--mocha); margin: 0; }
.event__people li { padding-block: .3rem; line-height: 1.4; }
.event__people li span { display: block; font-size: var(--step--1); color: var(--mocha); }
@media (max-width: 860px) { .event { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); }
.gallery > * { margin: 0; position: relative; min-width: 0; }
.gallery > :nth-child(1) { grid-column: span 7; }
.gallery > :nth-child(2) { grid-column: span 5; }
.gallery > :nth-child(n+3) { grid-column: span 3; }
.gallery img, .gallery video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.gallery > :nth-child(1) :is(img, video) { aspect-ratio: 7 / 5; }
.gallery > :nth-child(2) :is(img, video) { aspect-ratio: 1 / 1; }
.gallery > :nth-child(n+3) :is(img, video) { aspect-ratio: 4 / 5; }
.gallery video { object-position: 50% 12%; background: var(--line); }
@media (max-width: 860px) { .gallery > :nth-child(n) { grid-column: span 6; } .gallery > :nth-child(-n+2) { grid-column: span 12; } }
.creds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2rem, 4vw, 3rem); }
.creds-grid h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: .85rem; }
.creds-grid li { padding-block: .5rem; border-top: 1px solid var(--line); line-height: 1.45; }
@media (max-width: 860px) { .creds-grid { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin-top: clamp(2rem, 4vw, 3rem); }
.fact { border-top: 1px solid var(--espresso); padding-top: 1rem; }
.fact b { display: block; font-family: var(--serif); font-weight: 400; font-size: var(--step-4); line-height: 1; margin-bottom: .5rem; }
.fact p { margin: 0; color: var(--mocha); font-size: .975rem; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } }
.quote-list blockquote { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.quote-list blockquote p { font-family: var(--serif); font-size: var(--step-2); line-height: 1.35; margin: 0 0 .5rem; }
.quote-list cite { font-style: normal; font-size: var(--step--1); color: var(--mocha); }
.pull { font-family: var(--serif); font-style: italic; font-size: var(--step-3); line-height: 1.3; max-width: 30ch; padding-left: 1.25rem; border-left: 3px solid var(--coral); }
.episode { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center; padding: clamp(1.25rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.episode__art { width: clamp(5.5rem, 12vw, 8.5rem); aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; background: var(--espresso); color: var(--linen); font-family: var(--serif); font-size: clamp(1rem, .8rem + .8vw, 1.35rem); line-height: 1.05; text-align: center; padding: .75rem; }
.episode__show { margin: 0 0 .25rem; font-size: var(--step--1); font-weight: 600; color: var(--mocha); }
.episode h3 { font-size: var(--step-2); margin-bottom: .5rem; }
.episode p { color: var(--mocha); }
.episode .btn { margin-top: 1rem; }
@media (max-width: 560px) { .episode { grid-template-columns: 1fr; } }
.legal-prose h2 { font-size: var(--step-3); margin: 2.5rem 0 .75rem; }
.legal-prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.legal-prose li { margin-bottom: .35rem; }
.notice { font-size: var(--step--1); color: var(--mocha); max-width: 46rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: .9375rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--coral); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer__brand .wordmark { font-size: 1.75rem; }
.footer__brand p { margin-top: 1rem; max-width: 22rem; color: var(--mocha); }
.footer__col h2 { font-family: var(--sans); font-size: .875rem; font-weight: 700; letter-spacing: 0; margin-bottom: 1rem; }
.footer__col li { padding-block: .3rem; }
.footer__legal { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; font-size: .8125rem; color: var(--mocha); }
.footer__legal p { max-width: 60rem; margin: 0; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
@media print { .site-header, .site-footer, .band, .dose, .bleed { display: none; } body::after { display: none; } }

/* ---------- Small additions ---------- */
.page-hero--simple .wrap { display: block; max-width: 52rem; }
.page-hero--simple { padding-bottom: clamp(3rem, 6vw, 5rem); }
.section--sky .lead { color: var(--espresso); }

/* ---------- Physician survey: their words, sized by how often they said them ---------- */
.cloud { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .1em .45em; margin: clamp(2rem, 4vw, 3rem) auto 0; max-width: 60rem; padding: 0; font-family: var(--serif); line-height: 1.05; letter-spacing: -.02em; text-align: center; }
.cloud li { font-size: calc(1.05rem + var(--n) * .42rem); color: color-mix(in srgb, var(--espresso) calc(45% + var(--n) * 7%), var(--linen)); }
.cloud li:nth-child(3n+2) { font-style: italic; }
.cloud li.hl { color: var(--coral-deep); }
.cloud-note { text-align: center; font-size: var(--step--1); color: var(--mocha); margin: 1.5rem 0 0; }
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.callout { border-top: 1px solid var(--espresso); padding-top: 1.1rem; }
.callout b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 2.2rem + 2.5vw, 4.5rem); line-height: 1; margin-bottom: .6rem; }
.callout p { margin: 0; font-size: 1.0625rem; max-width: 34ch; }
@media (max-width: 700px) { .callouts { grid-template-columns: 1fr; } }
.quotes .source { margin: 1rem 0 0; font-size: .875rem; color: var(--sky); }

/* ---------- Perspective, not panic: the noise falls out of focus, her words come forward ---------- */
.manifesto { position: relative; overflow: hidden; isolation: isolate; background: var(--paper); }
.noise { position: absolute; inset: 0; z-index: -1; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.noise li { position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r, 0deg)); white-space: nowrap; font-family: var(--sans); font-weight: 800; font-size: var(--s, 1.4rem); letter-spacing: -.01em; color: var(--espresso); opacity: .42; filter: blur(0); transition: transform 2.6s cubic-bezier(.55, 0, .3, 1), filter 2.2s ease, opacity 2.4s ease; transition-delay: calc(var(--d, 0) * 140ms); }
.noise li:nth-child(3n) { font-family: var(--serif); font-weight: 600; font-style: italic; }
.noise li:nth-child(4n+1) { color: var(--coral-deep); opacity: .5; }
/* The noise falls away: each phrase drops, tilts and blurs out, one after another */
.manifesto.in-focus .noise li { transform: translateY(90px) rotate(calc(var(--r, 0deg) * -2.5)); filter: blur(7px); opacity: .08; }
.manifesto__text { max-width: 40rem; margin-inline: auto; text-align: center; }
.manifesto h2 { font-size: var(--step-5); line-height: .98; margin-bottom: 2rem; }
.manifesto .reading { margin-bottom: 1.15em; }
.manifesto .reading strong { font-weight: 500; background: linear-gradient(transparent 60%, var(--blush) 60%); }
.manifesto__last { font-family: var(--serif); font-style: italic; font-size: var(--step-3); line-height: 1.25; margin: 2.25rem 0 1.5rem; }
.js .manifesto__text { filter: blur(6px); opacity: .3; transition: filter 1.8s cubic-bezier(.2, .7, .2, 1) .9s, opacity 1.8s ease .9s; }
.js .manifesto.in-focus .manifesto__text { filter: none; opacity: 1; }
@media (max-width: 700px) { .noise li { font-size: calc(var(--s, 1.4rem) * .7); } }
@media (prefers-reduced-motion: reduce) {
  .js .manifesto__text { filter: none; opacity: 1; transition: none; }
  .noise li { filter: blur(7px); opacity: .08; transition: none; }
}
.story-photo { margin-top: clamp(2rem, 4vw, 3rem); max-width: 24rem; }
.creds-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 56rem; }
@media (max-width: 860px) { .creds-grid--two { grid-template-columns: 1fr; } }
.tagline { font-family: var(--serif); font-style: italic; }
.holding .tagline { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.65rem); margin-top: 1.4rem; }
.footer__brand .tagline { color: var(--espresso); font-size: 1.125rem; }
.show-with { font-size: var(--step-2); margin: -.6rem 0 1.4rem; color: var(--espresso); }

/* ---------- Podcast promise line ---------- */
.show-promise { margin: -.25rem 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.3; color: var(--espresso); }

/* ---------- Podcast: the closing line ---------- */
.together-line { margin: clamp(3.5rem, 7vw, 6rem) 0 0; font-family: var(--serif); font-style: italic; font-size: var(--step-4); line-height: 1.05; letter-spacing: -.02em; color: var(--espresso); }

.signup__note a, .form-hint a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Phones: tighter hero, comfortable tap targets ---------- */
@media (max-width: 600px) {
  .hero__title { font-size: clamp(2.3rem, 1rem + 6.4vw, 2.9rem); max-width: none; }
  .creds { margin-bottom: 1.1rem; }
  .hero .lead { margin: 1.1rem 0 0; }
}
.wordmark { display: inline-block; padding-block: .7rem; margin-block: -.7rem; }
.vid-toggle::before { content: ""; position: absolute; inset: -9px -6px; }
.text-link { padding-block: .6rem; margin-block: -.6rem; }
.site-footer a { display: inline-block; padding-block: .55rem; margin-block: -.55rem; }

/* Podcast subtitle, set like the cover: a short coral dash, then italic */
.show-sub { display: flex; align-items: center; gap: .65rem; margin: .5rem 0 0; font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--mocha); }
.show-sub::before { content: ""; flex: none; width: 1.6rem; height: 2px; border-radius: 2px; background: var(--coral); }
.show-with + .show-sub { margin: -.85rem 0 1.4rem; }

/* ---------- Podcast: a clear "Coming soon" ---------- */
.soon { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; margin: 0 0 1.4rem; padding: .7rem 1.25rem .7rem 1rem; border-radius: 999px; background: var(--coral); color: var(--espresso); font-family: var(--sans); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 700; line-height: 1.2; }
.soon__dot { flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: var(--espresso); }
.soon__sub { font-weight: 500; font-size: .8em; opacity: .85; }
.soon__sub { padding-left: .7rem; border-left: 1.5px solid rgba(46, 36, 29, .3); }
@media (prefers-reduced-motion: no-preference) {
  .soon__dot { animation: soon-pulse 1.8s ease-in-out infinite; }
}
@keyframes soon-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(46, 36, 29, .35); } 50% { box-shadow: 0 0 0 .45rem rgba(46, 36, 29, 0); } }
