/* Bloom Women's Fitness: bloom.training
   Type and colour come from the app: Plus Jakarta Sans for display titles (the app's BloomFont.display),
   the system font (SF Pro on Apple devices) for body, SF Rounded for numbers. Palette = app Palette +
   CyclePhase colours. Light, airy chapters with one cinematic film reveal and dark accents. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --canvas: #FAF7F5; --surface: #FFFFFF; --raised: #F3EEEB; --hairline: #ECE5E1;
  --ink: #17121A; --ink-2: #6E5F70; --ink-3: #776879;
  --rose: #E8467C; --rose-action: #B82354; --rose-text: #B82354;
  --blush: #FCE1EA; --apricot: #FFE9DA; --lilac: #EDE5FB; --mint: #E4F2EA; --sand: #F3EADF; --gold: #F2B544;
  --glass: rgba(255,255,255,.72); --glass-line: rgba(255,255,255,.85);
  --night: #0E0C0D; --night-2: #1A1718; --night-ink: #F7F2F3; --night-ink-2: #B3A9AC;
  --m: #E5484D; --f: #F2A541; --o: #12A594; --l: #8E4EC6;

  --r-hero: 32px; --r-card: 28px; --r-small: 16px;
  --shadow: 0 30px 60px -30px rgba(40, 12, 24, 0.30), 0 12px 28px -14px rgba(40, 12, 24, 0.14);
  --shadow-soft: 0 20px 50px -24px rgba(40, 12, 24, 0.22);
  --shadow-night: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  --gutter: clamp(18px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0E0C0D; --surface: #1A1718; --raised: #262122; --hairline: #332D2F;
    --ink: #F7F2F3; --ink-2: #B3A9AC; --ink-3: #9A8F93; --rose-text: #FF8CB0;
    --blush: #33171F; --apricot: #33231A; --lilac: #271F33; --mint: #16281F; --sand: #2A2420;
    --glass: rgba(30,25,27,.7); --glass-line: rgba(255,255,255,.1);
    --shadow: 0 30px 60px -30px rgba(0,0,0,.7), 0 12px 28px -14px rgba(0,0,0,.5);
    --shadow-soft: 0 20px 50px -24px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.55 var(--body); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--rose-text); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--canvas); }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.018em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h1 em, h2 em { font-style: normal; color: var(--rose-text); }
p { margin: 0; text-wrap: pretty; }
.pn { margin-left: -0.06em; } /* Plus Jakarta's comma/period side bearings, pulled in at display sizes */

/* ── Nav ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; gap: 28px; padding: max(12px, env(safe-area-inset-top)) var(--gutter) 12px; color: var(--ink); transition: background .35s, color .35s, box-shadow .35s; }
.nav.solid { background: color-mix(in oklab, var(--canvas) 80%, transparent); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); box-shadow: 0 1px 0 var(--hairline); }
.nav.dark { color: var(--night-ink); background: rgba(14,12,13,.55); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { border-radius: 9px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.015em; line-height: 1; white-space: nowrap; }
.btn-short { display: none; }
@media (max-width: 480px) {
  .nav { gap: 10px; }
  .nav .brand { gap: 8px; min-width: 0; }
  .nav .brand img { width: 30px; height: 30px; }
  .nav .brand-name { font-size: .98rem; }
  .nav .btn-small { padding: 0 14px; font-size: .86rem; }
  .btn-long { display: none; } .btn-short { display: inline; }
}
@media (max-width: 360px) { .nav .brand-name { font-size: .9rem; } }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { color: inherit; opacity: .75; text-decoration: none; font-weight: 600; font-size: .94rem; }
.nav nav a:hover { opacity: 1; }
@media (max-width: 900px) { .nav nav { display: none; } .nav .btn-small { margin-left: auto; } }

/* ── Buttons & forms ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer; background: linear-gradient(135deg, var(--rose), var(--rose-action)); color: #fff; font: 700 1rem/1 var(--body); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; box-shadow: 0 14px 28px -14px color-mix(in oklab, var(--rose-action) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .2s var(--ease), filter .2s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--hairline); }
.waitlist { width: 100%; max-width: 500px; }
.field { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-soft); }
.field input { flex: 1; min-width: 0; padding: 0 18px; border: 0; outline: none; background: transparent; color: var(--ink); font: 500 1.02rem var(--body); }
.field input::placeholder { color: var(--ink-3); }
.field:focus-within { outline: 3px solid color-mix(in oklab, var(--rose) 45%, transparent); outline-offset: 2px; }
.form-note { margin-top: 12px; font-size: .86rem; color: var(--ink-3); }
.form-note .dot-live { display: inline-block; margin-right: 8px; vertical-align: 1px; }
.form-note.error { color: var(--m); font-weight: 600; }
.form-note.ok { color: var(--o); font-weight: 700; }
.ts { margin-top: 10px; display: flex; justify-content: center; }
.ts:empty { display: none; }
.waitlist.done .field { display: none; }
.join .field { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); box-shadow: none; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.join .field input { color: #fff; }
.join .field input::placeholder { color: rgba(255,255,255,.55); }
.join .form-note { color: rgba(255,255,255,.62); }
.join .form-note a { color: #FFB3CB; }
.join .form-note.ok { color: #5BE0B3; }
.join .form-note.error { color: #FF8A8E; }
@media (max-width: 480px) { .field { flex-direction: column; border-radius: 22px; padding: 8px; } .field input { min-height: 50px; } }

/* ── Scaffolding ── */
main > section { position: relative; }
.section-head, .bento-grid, .pills-grid, .filters, .adapt-grid, .faq-list, .proof ul { max-width: var(--max); margin-left: auto; margin-right: auto; }
.bento, .coaches, .programmes, .adapt, .faq { padding: clamp(84px, 11vw, 150px) var(--gutter) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > * { max-width: 840px; }
.section-head.center { text-align: center; }
.section-head.center > * { margin-inline: auto; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head > p:not(.kicker) { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; }
.kicker { margin-bottom: 14px; font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--rose-text); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-m { background: var(--m); } .dot-f { background: var(--f); } .dot-o { background: var(--o); } .dot-l { background: var(--l); }

/* ── 1. Hero ── */
.hero { position: relative; overflow: hidden; padding: calc(112px + env(safe-area-inset-top)) var(--gutter) 0; text-align: center; isolation: isolate; }
.aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aura i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; animation: drift 18s ease-in-out infinite alternate; }
.aura i:nth-child(1) { width: 560px; height: 460px; left: calc(50% - 620px); top: 40px; background: #F9BCD0; }
.aura i:nth-child(2) { width: 520px; height: 420px; left: calc(50% + 80px); top: -40px; background: #FFD9BF; animation-delay: -6s; }
.aura i:nth-child(3) { width: 640px; height: 420px; left: calc(50% - 320px); top: 520px; background: #E6DAFB; animation-delay: -12s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
@media (prefers-color-scheme: dark) { .aura i { opacity: .22; } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--canvas)); }
.hero-copy { max-width: 1120px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.6rem, 5.3vw, 4.8rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 15px 8px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-soft); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font: 600 .84rem/1 var(--body); color: var(--ink-2); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,70,124,.5); } 70% { box-shadow: 0 0 0 10px rgba(232,70,124,0); } 100% { box-shadow: 0 0 0 0 rgba(232,70,124,0); } }
.lede { margin: 20px auto 28px; max-width: 44ch; font-size: clamp(1.08rem, 1.5vw, 1.26rem); color: var(--ink-2); }
.hero .waitlist { margin: 0 auto; }

.hero-visual { position: relative; height: min(700px, 74vw); max-width: 1100px; margin: clamp(40px, 5vw, 56px) auto 0; }
.device { position: relative; padding: 11px; border-radius: 54px; background: linear-gradient(145deg, #2c2528, #0f0c0d); box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.35), inset 0 0 0 2px rgba(255,255,255,.09); }
.device .screen { display: block; width: 100%; border-radius: 44px; aspect-ratio: 600 / 1125; object-fit: cover; object-position: top; }
.island { position: absolute; z-index: 3; top: 22px; left: 50%; width: 31%; height: 28px; margin-left: -15.5%; border-radius: 20px; background: #000; }
.device-hero { position: absolute; left: 50%; top: 0; width: min(330px, 42vw); margin-left: max(-165px, -21vw); z-index: 1; }

.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 22px; text-align: left; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-soft); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); animation: bob 7s ease-in-out infinite alternate; }
.float b { display: block; font: 700 .98rem/1.2 var(--body); color: var(--ink); }
/* Scroll parallax on the compositor where supported (Safari 26+, Chrome 115+), so the cards glide with the
   finger instead of trailing it; older browsers get the rAF fallback in site.js. */
.f-coach { --d: -0.10; } .f-workout { --d: 0.08; } .f-progress { --d: 0.14; } .f-watch { --d: -0.06; }
@keyframes drift { to { translate: 0 calc(var(--d, 0) * 1000px); } }
@supports (animation-timeline: scroll()) {
  .float { animation: bob 7s ease-in-out infinite alternate, drift linear both; animation-timeline: auto, scroll(root block); animation-range: normal, 0px 1000px; }
}
.float b small { font-weight: 600; color: var(--ink-2); font-size: .8rem; }
.float small { display: block; font-size: .78rem; color: var(--ink-2); }
@keyframes bob { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
.f-coach { left: calc(50% - 470px); top: 16%; }
.f-workout { left: calc(50% + 190px); top: 7%; animation-delay: -2s; }
.f-progress { left: calc(50% - 500px); top: 58%; animation-delay: -4s; }
.f-watch { left: calc(50% + 215px); top: 56%; animation-delay: -1s; }
.f-avatar { position: relative; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px #fff; }
.f-avatar img, .f-avatar video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.f-avatar video { opacity: 0; transition: opacity .6s; } .f-avatar video.ready { opacity: 1; }
.f-thumb { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; flex: none; }
.f-play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rose); color: #fff; font-size: .78rem; margin-left: 4px; }
.f-progress { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 18px; }
.f-bar { display: block; width: 190px; height: 7px; border-radius: 7px; background: color-mix(in oklab, var(--ink) 10%, transparent); overflow: hidden; }
.f-bar i { display: block; height: 100%; width: 64%; border-radius: 7px; background: linear-gradient(90deg, var(--rose), var(--f)); }
.f-heart { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #FFE1E8; color: #E8466A; font-size: 1.1rem; animation: beat 1.1s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(1); } }
@media (max-width: 1060px) {
  .f-coach { left: 2%; } .f-progress { left: 0%; } .f-workout { left: auto; right: 1%; } .f-watch { left: auto; right: 3%; }
}
@media (max-width: 700px) {
  .hero { padding-top: calc(110px + env(safe-area-inset-top)); }
  .lede { margin: 18px auto 26px; font-size: 1.04rem; }
  .hero-visual { height: 560px; margin-top: 44px; }
  .device-hero { width: 250px; margin-left: -125px; }
  .float { padding: 9px 12px 9px 9px; gap: 9px; border-radius: 18px; }
  .float b { font-size: .84rem; } .float small { font-size: .7rem; }
  .f-avatar { width: 38px; height: 38px; } .f-thumb { width: 42px; height: 42px; } .f-play { display: none; }
  .f-coach { top: 10%; left: 0; } .f-workout { top: 30%; right: 0; } .f-progress { top: 62%; left: 0; padding: 10px 13px; } .f-bar { width: 140px; }
  .f-watch { top: 78%; right: 0; } .f-heart { width: 32px; height: 32px; font-size: .9rem; }
}
/* Desktop: copy on the left, the phone and its cards on the right. */
@media (min-width: 1000px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; column-gap: clamp(32px, 4vw, 72px);
    padding: calc(104px + env(safe-area-inset-top)) max(var(--gutter), calc((100% - 1240px) / 2)) 0; text-align: left; }
  .hero-copy { max-width: 600px; margin: 0; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(3rem, 4.7vw, 4.6rem); }
  .lede { margin: 22px 0 30px; max-width: 34ch; }
  .hero .waitlist { margin: 0; }
  .hero .ts { justify-content: flex-start; }
  .hero-visual { width: 100%; max-width: 560px; height: 660px; margin: 0 0 0 auto; }
  .device-hero { width: 310px; margin-left: -155px; top: 28px; }
  .f-watch { left: auto; right: -24px; top: 3%; }
  .f-progress { left: -72px; right: auto; top: 21%; }
  .f-workout { left: auto; right: -40px; top: 42%; }
  .f-coach { left: -56px; right: auto; top: 63%; }
  .aura i:nth-child(1) { left: calc(50% - 680px); top: 80px; }
  .aura i:nth-child(2) { left: calc(50% + 140px); top: 20px; }
  .aura i:nth-child(3) { left: calc(50% + 40px); top: 460px; }
}
@media (min-width: 1000px) and (max-width: 1199px) { .f-coach { left: -12px; } .f-progress { left: -36px; } }

/* ── 2. Proof ── */
.proof { position: relative; z-index: 3; padding: 30px var(--gutter) 34px; border-bottom: 1px solid var(--hairline); }
.proof ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; }
.proof b { display: block; font: 800 clamp(2rem, 3.6vw, 2.9rem)/1 var(--rounded); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proof span { display: block; margin-top: 8px; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 760px) { .proof ul { grid-template-columns: repeat(3, 1fr); row-gap: 26px; } }
@media (max-width: 420px) { .proof ul { grid-template-columns: repeat(2, 1fr); } .proof li:last-child { grid-column: span 2; } }

/* ── 3. Film reveal ── */
.reveal-film { height: 330vh; --r: 0; --c: 0; }
.rf-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.rf-frame {
  position: absolute; inset: 0; background: #1d1719;
  clip-path: inset(calc((1 - var(--r)) * 15%) calc((1 - var(--r)) * 20%) round calc((1 - var(--r)) * 40px + 0px));
  will-change: clip-path;
}
.rf-frame .film-poster, .rf-frame .film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform: scale(calc(var(--s0, .72) + (1 - var(--s0, .72)) * var(--r))); transform-origin: 50% 46%; }
.film-video { opacity: 0; transition: opacity .5s var(--ease); }
.film-video.ready { opacity: 1; }
.rf-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,12,13,.78) 0%, rgba(14,12,13,.35) 45%, rgba(14,12,13,0) 70%), linear-gradient(to top, rgba(14,12,13,.55), transparent 40%); opacity: var(--c); }
.rf-copy { position: absolute; left: max(var(--gutter), calc((100vw - var(--max)) / 2)); bottom: 14vh; max-width: 560px; color: #fff; opacity: var(--c); transform: translateY(calc((1 - var(--c)) * 30px)); }
.rf-copy { text-shadow: 0 2px 22px rgba(0,0,0,.45); }
.rf-copy h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.rf-copy p { margin-top: 18px; font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 42ch; }
.rep-card { position: absolute; right: max(var(--gutter), calc((100vw - var(--max)) / 2)); bottom: 14vh; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 22px; background: rgba(20,15,18,.5); border: 1px solid rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: var(--rc, var(--c)); transform: translateY(calc((1 - var(--rc, var(--c))) * 24px)) scale(calc(.96 + var(--rc, 1) * .04)); }
.rep-card svg { width: 54px; height: 54px; transform: rotate(-90deg); }
.rep-track { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 5; }
.rep-fill { fill: none; stroke: #FF8CB0; stroke-width: 5; stroke-linecap: round; stroke-dasharray: var(--rep, 0) 100; transition: stroke-dasharray .25s var(--ease); }
.rep-card small { display: block; font-size: .78rem; color: rgba(255,255,255,.7); }
.rep-card b { font: 800 1.8rem/1.1 var(--rounded); }
.rep-card b small { display: inline; font: 600 .9rem var(--body); color: rgba(255,255,255,.7); }
@media (max-width: 760px) {
  .reveal-film { height: 300vh; }
  .rf-frame { clip-path: inset(calc((1 - var(--r)) * 12%) calc((1 - var(--r)) * 7%) round calc((1 - var(--r)) * 32px + 0px)); }
  .rf-shade { background: linear-gradient(to top, rgba(14,12,13,.94) 0%, rgba(14,12,13,.62) 36%, rgba(14,12,13,0) 60%); }
  .rf-copy { left: var(--gutter); right: var(--gutter); bottom: calc(104px + env(safe-area-inset-bottom)); }
  .rf-copy h2 { font-size: 2.3rem; }
  .rf-copy p { font-size: 1rem; }
  /* Never narrower than the opening clip (no side bars); slid down so her head sits inside it */
  .rf-frame .film-poster, .rf-frame .film-video { object-position: 50% 8%; transform-origin: 50% 0%; transform: translateY(calc((1 - var(--r)) * 12%)) scale(calc(.88 + .12 * var(--r))); }
  .rep-card { bottom: calc(26px + env(safe-area-inset-bottom)); left: var(--gutter); right: auto; padding: 10px 16px 10px 10px; }
  .rep-card svg { width: 40px; height: 40px; } .rep-card b { font-size: 1.4rem; }
}

/* ── 4. Bento ── */
.bento-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.b-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 38px) clamp(26px, 3vw, 38px) 0; border-radius: var(--r-card); min-height: 470px; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s; }
.b-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.b-plan, .b-coach { grid-column: span 3; min-height: 560px; }
.b-food, .b-progress, .b-checkin { grid-column: span 2; }
.b-text h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 800; letter-spacing: -0.018em; }
.b-text p { margin-top: 10px; color: var(--ink-2); max-width: 36ch; }
.b-phone { position: relative; margin: auto auto 0; width: min(76%, 300px); padding: 10px 10px 0; border-radius: 44px 44px 0 0; background: linear-gradient(145deg, #2c2528, #0f0c0d); box-shadow: var(--shadow); transform: translateY(26px); transition: transform .6s var(--ease); }
.b-card:hover .b-phone { transform: translateY(10px); }
.b-phone img { width: 100%; height: 300px; object-fit: cover; object-position: top; border-radius: 36px 36px 0 0; }
.b-plan .b-phone img, .b-coach .b-phone img { height: 360px; }
.b-plan { background: radial-gradient(120% 80% at 0% 0%, #FFD2DF, transparent 60%), linear-gradient(160deg, var(--blush), #FFF6F2); }
.b-coach { background: radial-gradient(90% 70% at 100% 0%, rgba(232,70,124,.35), transparent 60%), linear-gradient(160deg, #241B1F, #110D0F); color: var(--night-ink); }
.b-coach .b-text p { color: var(--night-ink-2); }
.b-food { background: linear-gradient(160deg, var(--apricot), #FFF7F0); }
.b-progress { background: linear-gradient(160deg, var(--lilac), #F8F4FF); }
.b-checkin { background: linear-gradient(160deg, var(--mint), #F3FAF6); }
@media (prefers-color-scheme: dark) {
  .b-plan { background: linear-gradient(160deg, #3A1A24, #1A1416); }
  .b-food { background: linear-gradient(160deg, #3A271C, #1A1614); }
  .b-progress { background: linear-gradient(160deg, #2C2140, #17141C); }
  .b-checkin { background: linear-gradient(160deg, #1C3326, #131815); }
}
.pills-grid { list-style: none; margin-top: 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pills-grid li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--hairline); }
.pills-grid svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--rose-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pills-grid span { font-size: .9rem; color: var(--ink-2); line-height: 1.35; }
.pills-grid b { display: block; color: var(--ink); font-size: 1rem; }
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .b-plan, .b-coach { grid-column: span 2; min-height: 520px; }
  .b-food, .b-progress { grid-column: span 1; } .b-checkin { grid-column: span 2; }
  .pills-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .b-card, .b-plan, .b-coach, .b-food, .b-progress, .b-checkin { grid-column: auto; min-height: 460px; }
  .pills-grid { grid-template-columns: 1fr; }
}

/* ── 5. Coaches ── */
.rail-nav { display: flex; gap: 10px; flex: none; }
.rail-nav.end { justify-content: flex-end; max-width: var(--max); margin: 0 auto; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--hairline); background: var(--surface); color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: border-color .2s, transform .2s; }
.round:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.coach-rail { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 23.5vw, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; margin: 0 calc(50% - 50vw); padding: 6px max(var(--gutter), calc((100vw - var(--max)) / 2)) 26px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.coach-rail::-webkit-scrollbar { display: none; }
.coach { position: relative; scroll-snap-align: start; aspect-ratio: 3 / 4.2; border-radius: var(--r-card); overflow: hidden; background: var(--raised); box-shadow: var(--shadow-soft); }
.coach img, .coach video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.coach video { opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.coach video.ready { opacity: 1; }
.coach:hover img, .coach:hover video { transform: scale(1.04); }
.coach-meta { position: absolute; inset: auto 0 0 0; padding: 70px 22px 22px; color: #fff; background: linear-gradient(to top, rgba(14,10,12,.82), rgba(14,10,12,0)); }
.coach-meta h3 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.coach-meta p { margin-top: 6px; font-size: .9rem; color: rgba(255,255,255,.86); }
@media (max-width: 700px) { .section-head.row .rail-nav { display: none; } .coach-rail { grid-auto-columns: 70vw; } }

/* ── 6. Programmes ── */
.filters { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.pill { position: relative; z-index: 1; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--hairline); background: var(--surface); color: var(--ink); font: 600 .92rem/1 var(--body); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background .2s, color .35s var(--ease), border-color .2s, transform .2s var(--ease); }
.pill:hover { border-color: var(--ink-3); }
.pill:active { transform: scale(.96); }
.pill.is-on { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
/* With JS a single highlight glides between pills instead of each one switching on */
.pill-thumb { position: absolute; z-index: 0; left: 0; top: 0; height: 40px; border-radius: 999px; background: var(--ink); pointer-events: none; transition: transform .5s cubic-bezier(.32, 1.25, .5, 1), width .5s cubic-bezier(.32, 1.25, .5, 1); }
.filters.has-thumb .pill.is-on { background: transparent; border-color: transparent; }
.card.card-in { animation: card-in .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(230px, 22vw, 280px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; margin-inline: calc(50% - 50vw); padding: 6px max(var(--gutter), calc((100vw - var(--max)) / 2)) 26px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.rail::-webkit-scrollbar { display: none; }
.card { position: relative; scroll-snap-align: start; aspect-ratio: 2 / 3; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.card[hidden] { display: none; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover img { transform: scale(1.05); }
.card > div { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; padding: 70px 18px 18px; color: #fff; background: linear-gradient(to top, rgba(17,12,16,.85), rgba(17,12,16,0)); }
.card h3 { font-size: 1.3rem; }
.card p { margin-top: 4px; font-size: .86rem; opacity: .9; }
.tag { align-self: flex-start; margin-bottom: 10px; padding: 5px 11px; border-radius: 999px; font: 700 .68rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 760px) { .rail-nav.end { display: none; } .filters { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); margin-inline: calc(50% - 50vw); padding: 2px var(--gutter); scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent); } .filters::-webkit-scrollbar { display: none; } .pill { flex: none; white-space: nowrap; scroll-snap-align: start; } .pill-thumb { top: 2px; } }

/* ── 7. Adapt: three living cards, each showing the adjustment it describes ── */
.adapt-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.a-card { --tint: var(--apricot); --accent: var(--f); position: relative; overflow: hidden; padding: 14px 14px 30px; border-radius: var(--r-card); background: linear-gradient(180deg, var(--tint), var(--surface) 62%); border: 1px solid var(--hairline); box-shadow: var(--shadow-soft); }
.a-card.a-time { --tint: var(--lilac); --accent: var(--l); }
.a-card.a-progress { --tint: var(--blush); --accent: var(--rose); }
.a-card h3 { margin: 26px 18px 10px; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.018em; }
.a-card > p { margin: 0 18px; color: var(--ink-2); }
.a-viz { height: 168px; padding: 22px 20px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 18px 36px -26px rgba(40,12,24,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; flex-direction: column; justify-content: space-between; }
/* energy: the dial eases from all-out back to a steadier level */
.ev-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .84rem; color: var(--ink-3); }
.ev-row b { font: 700 .95rem/1 var(--display); color: var(--ink); }
.ev-row b.ev-next { color: var(--rose-text); }
.ev-track { position: relative; height: 12px; border-radius: 12px; background: color-mix(in oklab, var(--ink) 8%, transparent); }
.ev-fill { position: absolute; inset: 0 auto 0 0; width: 92%; border-radius: inherit; background: linear-gradient(90deg, #FFD08A, var(--f) 45%, var(--rose)); }
.ev-dot { position: absolute; top: 50%; left: 92%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px -2px rgba(232,70,124,.55), 0 0 0 5px color-mix(in oklab, var(--rose) 22%, transparent); }
.a-energy.in .ev-fill { animation: ev-fill 3.6s var(--ease) .5s infinite alternate; }
.a-energy.in .ev-dot { animation: ev-dot 3.6s var(--ease) .5s infinite alternate; }
@keyframes ev-fill { 0%, 25% { width: 92%; } 75%, 100% { width: 64%; } }
@keyframes ev-dot { 0%, 25% { left: 92%; } 75%, 100% { left: 64%; } }
/* schedule: Wednesday slides to Thursday */
.wk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.wk li { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; font: 700 .86rem/1 var(--rounded); color: var(--ink-3); background: color-mix(in oklab, var(--ink) 5%, transparent); transition: background .6s, color .6s, box-shadow .6s; }
.wk li.on { color: #fff; background: var(--l); box-shadow: 0 8px 16px -8px var(--l); }
.wk li.miss { color: #fff; background: var(--l); }
.a-time.in .wk li.miss { animation: wk-miss 4s var(--ease) .6s infinite; }
.a-time.in .wk li.move { animation: wk-move 4s var(--ease) .6s infinite; }
@keyframes wk-miss { 0%, 20% { background: var(--l); color: #fff; box-shadow: none; } 40%, 85% { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--l) 55%, transparent); } 100% { background: var(--l); color: #fff; } }
@keyframes wk-move { 0%, 30% { background: color-mix(in oklab, var(--ink) 5%, transparent); color: var(--ink-3); transform: none; } 45% { transform: scale(1.12); } 50%, 85% { background: var(--l); color: #fff; transform: none; box-shadow: 0 8px 16px -8px var(--l); } 100% { background: color-mix(in oklab, var(--ink) 5%, transparent); color: var(--ink-3); } }
.wk-note { display: flex; align-items: center; gap: 10px; font: 600 .86rem/1.3 var(--body); color: var(--ink-2); }
.wk-arrow { flex: none; width: 26px; height: 2px; border-radius: 2px; background: var(--l); position: relative; }
.wk-arrow::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-top: 2px solid var(--l); border-right: 2px solid var(--l); transform: rotate(45deg); }
/* progress: six weeks climb, the deload week dips */
.bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; }
.bars i:nth-child(1) { --h: 38%; } .bars i:nth-child(2) { --h: 50%; } .bars i:nth-child(3) { --h: 62%; } .bars i:nth-child(4) { --h: 44%; } .bars i:nth-child(5) { --h: 74%; } .bars i:nth-child(6) { --h: 90%; }
.bars i { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: color-mix(in oklab, var(--rose) 38%, transparent); transform-origin: bottom; transform: scaleY(.15); transition: transform 1s var(--spring); }
.bars i.deload { background: repeating-linear-gradient(135deg, color-mix(in oklab, var(--rose) 22%, transparent) 0 5px, color-mix(in oklab, var(--rose) 10%, transparent) 5px 10px); }
.bars i.top { background: linear-gradient(180deg, var(--rose), var(--rose-action)); box-shadow: 0 10px 20px -10px var(--rose); }
.a-progress.in .bars i { transform: none; }
.a-progress.in .bars i:nth-child(2) { transition-delay: .08s; } .a-progress.in .bars i:nth-child(3) { transition-delay: .16s; } .a-progress.in .bars i:nth-child(4) { transition-delay: .24s; } .a-progress.in .bars i:nth-child(5) { transition-delay: .32s; } .a-progress.in .bars i:nth-child(6) { transition-delay: .4s; }
.bars-x { display: flex; justify-content: space-between; margin-top: 10px; font: 600 .74rem/1 var(--body); color: var(--ink-3); }
.bars-x span:nth-child(2) { margin-left: 18%; }
@media (max-width: 860px) { .adapt-grid { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1080px) { .a-card h3 { font-size: 1.25rem; } .a-viz { padding: 18px 14px; } .wk { gap: 4px; } }

/* ── 8. Cycle (optional chapter) ── */
.cycle { height: 420vh; margin-top: clamp(84px, 11vw, 150px); background: var(--night); color: var(--night-ink); --phase: var(--m); }
.cycle[data-active="f"] { --phase: var(--f); } .cycle[data-active="o"] { --phase: var(--o); } .cycle[data-active="l"] { --phase: var(--l); }
.cycle-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 84px var(--gutter) 30px; }
.cycle-sticky::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 50% at 50% 55%, color-mix(in oklab, var(--phase) 22%, transparent), transparent 70%); }
.cycle-head { position: relative; text-align: center; margin-bottom: clamp(18px, 3vh, 34px); }
.cycle-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.cycle-grid { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.cycle-ring { position: relative; justify-self: end; width: min(26vw, 300px); aspect-ratio: 1; margin-bottom: 44px; }
.cycle-ring svg { position: relative; z-index: 2; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 14px color-mix(in oklab, var(--phase) 45%, transparent)); transition: filter .8s; }
.cycle-ring .ticks line { stroke: rgba(255,255,255,.22); stroke-width: 1.4; stroke-linecap: round; }
.cycle-ring .track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 12; }
.arc { fill: none; stroke-width: 12; stroke-linecap: round; transform-origin: 100px 100px; opacity: .26; transition: opacity .6s, stroke-width .6s; }
.arc-m { stroke: var(--m); stroke-dasharray: 16.5 83.5; transform: rotate(-90deg); }
.arc-f { stroke: var(--f); stroke-dasharray: 27.5 72.5; transform: rotate(-24deg); }
.arc-o { stroke: var(--o); stroke-dasharray: 9 91; transform: rotate(78deg); }
.arc-l { stroke: var(--l); stroke-dasharray: 41 59; transform: rotate(118deg); }
.cycle[data-active="m"] .arc-m, .cycle[data-active="f"] .arc-f, .cycle[data-active="o"] .arc-o, .cycle[data-active="l"] .arc-l { opacity: 1; stroke-width: 15; }
.ring-knob { transform-origin: 100px 100px; transform: rotate(var(--knob, 0deg)); }
.knob-dot { fill: #fff; stroke: var(--night); stroke-width: 3.5; }
.knob-halo { fill: var(--phase); opacity: .5; transform-box: fill-box; transform-origin: center; animation: halo 2.2s ease-out infinite; transition: fill .8s; }
@keyframes halo { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
/* The living centre: a 3D glass bloom that breathes, tinted by the phase */
.ring-glow { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--phase) 70%, transparent) 0%, color-mix(in oklab, var(--phase) 22%, transparent) 45%, transparent 70%); filter: blur(18px); animation: breathe 4.2s ease-in-out infinite; transition: background .8s; }
.ring-bloom { position: absolute; inset: 17%; z-index: 1; border-radius: 50%; overflow: hidden; mix-blend-mode: screen; filter: hue-rotate(var(--bloom-hue, 15deg)) saturate(1.15); transition: filter 1s var(--ease); animation: breathe 4.2s ease-in-out infinite; -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 71%); mask-image: radial-gradient(circle, #000 58%, transparent 71%); }
.ring-bloom img, .ring-bloom video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ring-bloom video { opacity: 0; transition: opacity .8s; }
.ring-bloom video.ready { opacity: 1; }
.cycle[data-active="f"] .ring-bloom { --bloom-hue: 52deg; } .cycle[data-active="o"] .ring-bloom { --bloom-hue: 190deg; } .cycle[data-active="l"] .ring-bloom { --bloom-hue: -64deg; }
@keyframes breathe { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.05); } }
.ring-readout { position: absolute; left: 50%; top: calc(100% + 18px); transform: translateX(-50%); display: flex; align-items: baseline; gap: 10px; white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ring-readout span { font: 600 .9rem/1 var(--body); color: var(--night-ink-2); }
.ring-readout b { font: 800 1.25rem/1 var(--rounded); color: var(--night-ink); font-variant-numeric: tabular-nums; }
.ring-readout small { font: 700 .9rem/1 var(--display); color: var(--phase); transition: color .6s; }
.film-card { position: relative; overflow: hidden; border-radius: var(--r-hero); background: #1d1719; isolation: isolate; }
.film-card .film-poster, .film-card .film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cycle-card { width: min(28vw, 340px); max-height: 64svh; aspect-ratio: 9 / 16; box-shadow: var(--shadow-night), 0 0 0 1px rgba(255,255,255,.08); }
.film-tag { position: absolute; z-index: 3; left: 14px; bottom: 14px; padding: 8px 13px; border-radius: 999px; background: rgba(20,15,18,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font: 700 .82rem/1 var(--body); color: #fff; }
.phase-copy { position: relative; min-height: 300px; max-width: 380px; }
.phase-panel { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.phase-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.phase-name { display: flex; align-items: center; gap: 10px; font: 700 .84rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--night-ink-2); }
.phase-panel h3 { margin: 14px 0 12px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.018em; line-height: 1.08; }
.phase-panel > p { color: var(--night-ink-2); font-size: 1.04rem; }
.phase-panel > .phase-short { display: none; }
.phase-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .94rem; }
.phase-panel dt { color: var(--night-ink-2); font-weight: 600; }
.phase-panel dd { margin: 0; display: flex; align-items: center; gap: 10px; }
.meter { display: inline-block; flex: none; width: 110px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 6px; background: var(--phase); }
.m-80 i { width: 50%; } .m-95 i { width: 72%; } .m-105 i { width: 87%; } .m-110 i { width: 96%; }
.fineprint .fp-short { display: none; }
.fineprint { position: relative; max-width: 640px; margin: clamp(16px, 3vh, 28px) auto 0; text-align: center; font-size: .8rem; color: rgba(255,255,255,.45); }
@media (max-width: 860px) {
  .cycle { height: 250vh; }
  .cycle-sticky { justify-content: flex-end; padding: 0 0 max(18px, env(safe-area-inset-bottom)); }
  .cycle-head { position: absolute; top: calc(78px + env(safe-area-inset-top)); left: var(--gutter); right: 128px; z-index: 3; text-align: left; margin: 0; }
  .cycle-head h2 { font-size: 1.6rem; }
  .cycle-grid { position: static; grid-template-columns: 1fr; padding: 0 var(--gutter); }
  /* The film starts below the title and the ring, so nothing sits over her head */
  .cycle-card { position: absolute; inset: calc(208px + env(safe-area-inset-top)) 0 0 0; width: 100%; max-height: none; height: auto; border-radius: 28px 28px 0 0; z-index: 0; aspect-ratio: auto; box-shadow: none; }
  .cycle-card .film-poster, .cycle-card .film-video { object-position: 50% 0%; }
  .cycle-card::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, rgba(14,12,13,.25), rgba(14,12,13,0) 90px), linear-gradient(to top, var(--night) 0, rgba(14,12,13,.95) 70px, rgba(14,12,13,.72) 150px, rgba(14,12,13,0) 250px); }
  .film-tag { display: none; }
  .cycle-ring { position: absolute; z-index: 3; top: calc(70px + env(safe-area-inset-top)); right: var(--gutter); width: 92px; margin: 0; justify-self: auto; }
  .ring-readout { top: calc(100% + 8px); padding: 5px 10px; gap: 6px; }
  .ring-readout span { font-size: .72rem; } .ring-readout b { font-size: .95rem; } .ring-readout small { font-size: .72rem; }
  /* Condensed on phones: phase, one headline, one short line, the intensity meter */
  .phase-copy { position: relative; z-index: 3; min-height: 112px; max-width: none; text-shadow: 0 1px 14px rgba(0,0,0,.6); }
  .phase-panel { inset: auto 0 0 0; }
  .phase-name { font-size: .74rem; }
  .phase-panel h3 { font-size: 1.32rem; margin: 8px 0 4px; }
  .phase-panel > .phase-long { display: none; }
  .phase-panel > .phase-short { display: block; font-size: .95rem; color: rgba(255,255,255,.88); }
  /* Intensity sits on the phase line, right-aligned, instead of its own row */
  .phase-panel dl { position: absolute; top: -3px; right: 0; display: block; margin: 0; padding: 0; border: 0; font-size: .8rem; }
  .phase-panel dt, .phase-panel dl > :nth-child(n+3) { display: none; }
  .phase-panel dd { gap: 8px; color: rgba(255,255,255,.88); }
  .meter { width: 56px; }
  .fineprint { z-index: 3; padding: 0 var(--gutter); margin-top: 6px; font-size: .7rem; }
  .fineprint .fp-long { display: none; } .fineprint .fp-short { display: inline; }
  .phase-name { color: rgba(255,255,255,.9); text-shadow: 0 1px 10px rgba(0,0,0,.8); }
}
@media (max-width: 400px) {
  .cycle .phase-name { font-size: .68rem; letter-spacing: .04em; gap: 8px; }
  .cycle .meter { width: 40px; }
}

/* ── 9. Privacy ── */
.privacy-band { margin: clamp(84px, 11vw, 150px) var(--gutter) 0; }
.privacy-inner { position: relative; overflow: hidden; max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(26px, 6vw, 90px); border-radius: clamp(28px, 4vw, 44px); background: var(--night); color: var(--night-ink); }
.privacy-inner::after { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(232,70,124,.45), transparent 65%); filter: blur(10px); }
.privacy-inner h2 { max-width: 13ch; }
.privacy-inner ul { position: relative; z-index: 1; list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.privacy-inner li { color: var(--night-ink-2); }
.privacy-inner strong { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 1.2rem; color: var(--night-ink); }
@media (max-width: 860px) { .privacy-inner ul { grid-template-columns: 1fr; } }

/* ── 10. FAQ ── */
.faq-list { max-width: 860px; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 24px 46px 24px 0; font: 700 1.14rem/1.35 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--raised); color: var(--rose-text); font: 600 1.2rem/1 var(--body); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 46px 24px 0; color: var(--ink-2); }

/* ── 11. Join ── */
.join { position: relative; overflow: hidden; margin-top: clamp(84px, 11vw, 150px); padding: clamp(110px, 14vw, 190px) var(--gutter); background: var(--night); color: var(--night-ink); text-align: center; }
.join-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: 0; transition: opacity 1.2s; }
.join-bg.ready { opacity: .78; }
.join::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,12,13,.92) 0%, rgba(14,12,13,.7) 38%, rgba(14,12,13,.15) 66%, rgba(14,12,13,0) 100%), linear-gradient(to top, var(--night) 0%, rgba(14,12,13,0) 26%); }
.join-inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto 0 max(0px, calc((100vw - var(--max)) / 2 - var(--gutter))); text-align: left; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.join-icon { margin: 0 0 26px; border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(232,70,124,.6); }
.join h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.join-inner > p { margin: 18px 0 32px; color: rgba(255,255,255,.8); font-size: 1.15rem; }
.join .waitlist { margin: 0; }
.join .ts { justify-content: flex-start; }
/* Portrait screens play the tall clip: top-anchored, copy at the bottom over a shade */
@media (max-aspect-ratio: 1/1) {
  .join { text-align: center; padding-top: clamp(300px, 70vw, 520px); }
  .join-bg { object-position: 50% 0%; }
  .join::before { background: linear-gradient(to bottom, rgba(14,12,13,.2) 0%, rgba(14,12,13,0) 22%, rgba(14,12,13,.55) 48%, rgba(14,12,13,.94) 70%, var(--night)); }
  .join-inner { margin: 0 auto; text-align: center; }
  .join-icon { margin: 0 auto 22px; }
  .join .waitlist { margin: 0 auto; }
  .join .ts { justify-content: center; }
}

/* ── Footer ── */
.footer { position: relative; overflow: hidden; background: var(--night); color: var(--night-ink-2); padding: clamp(56px, 8vw, 96px) var(--gutter) calc(28px + env(safe-area-inset-bottom)); font-size: .94rem; }
.footer::before { content: ""; position: absolute; left: 50%; top: 0; width: min(1100px, 100%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent); }
.footer::after { content: ""; position: absolute; right: -10%; bottom: -30%; width: 640px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(232,70,124,.28), transparent 65%); filter: blur(30px); pointer-events: none; }
.footer-top { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr); gap: 48px; }
.footer-id .brand { color: var(--night-ink); }
.footer-id .brand img { border-radius: 10px; }
.footer-id .brand-name { font-size: 1.3rem; }
.footer-id p { margin: 18px 0 22px; max-width: 34ch; color: var(--night-ink-2); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-cols h2 { margin: 0 0 16px; font: 700 .95rem/1 var(--display); letter-spacing: -0.005em; color: var(--night-ink); }
.footer-cols a { display: block; padding: 6px 0; color: var(--night-ink-2); text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
.footer-cols a:hover { color: #fff; }
.footer-mark { position: relative; z-index: 1; max-width: var(--max); margin: clamp(40px, 6vw, 72px) auto 0; font: 800 clamp(5rem, 21vw, 17rem)/.8 var(--display); letter-spacing: -0.05em; text-align: center; background: linear-gradient(180deg, rgba(255,140,176,.42), rgba(255,140,176,0) 88%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-legal { position: relative; z-index: 1; max-width: var(--max); margin: 18px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .78rem; color: rgba(255,255,255,.42); }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:last-child { grid-column: span 2; }
}
.join + .footer, main:has(> .join:last-child) + .footer { padding-top: clamp(40px, 6vw, 72px); }

/* ── Simple pages ── */
.page-body .nav { background: color-mix(in oklab, var(--canvas) 82%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--hairline); }
.page { max-width: 760px; margin: 0 auto; padding: calc(120px + env(safe-area-inset-top)) var(--gutter) 96px; }
.page h1 { font-size: clamp(2.3rem, 5.6vw, 3.8rem); margin-bottom: 20px; }
.page h2 { font-size: 1.45rem; margin: 40px 0 10px; }
.page p, .page li { color: var(--ink-2); }
.page p + p { margin-top: 14px; }
.page .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.placeholder { padding: 2px 6px; border-radius: 6px; background: var(--apricot); color: var(--ink); font-weight: 600; }
.code { display: inline-block; margin: 18px 0 6px; padding: 14px 22px; border-radius: var(--r-small); background: var(--surface); border: 1.5px dashed color-mix(in oklab, var(--rose) 60%, transparent); font: 800 clamp(2rem, 7vw, 3rem)/1.1 var(--rounded); letter-spacing: .18em; }
.page .ts { justify-content: flex-start; }

/* ── Motion ── */
.rise { animation: rise .95s var(--ease) both; }
.hero-copy .rise:nth-child(2) { animation-delay: .08s; } .hero-copy .rise:nth-child(3) { animation-delay: .16s; } .hero-copy .rise:nth-child(4) { animation-delay: .24s; }
.hero-visual.rise { animation-delay: .3s; animation-duration: 1.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .pill-thumb { transition: none; } .card.card-in { animation: none; }
  .rise, .dot-live, .aura i, .float, .f-heart { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .film-video { display: none; }
  .reveal-film { height: auto; --r: 1; --c: 1; }
  .rf-sticky { position: relative; height: 100svh; }
  .cycle { height: auto; }
  .cycle-sticky { position: relative; height: auto; min-height: 100svh; }
}

/* ── Legal pages (privacy, health data, terms) ── */
.legal h2 { scroll-margin-top: 96px; }
.legal h3 { font: 700 1.08rem/1.35 var(--body); color: var(--ink); margin: 26px 0 8px; }
.legal ul, .legal ol { margin: 12px 0 0; padding-left: 1.25em; display: grid; gap: 8px; }
.legal li::marker { color: var(--rose); }
.legal strong { color: var(--ink); }
.legal .lede-legal { font-size: 1.12rem; color: var(--ink-2); }
.legal .summary { margin: 28px 0 8px; padding: 22px 24px; border-radius: var(--r-small); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-soft); }
.legal .summary h2 { margin-top: 0; font-size: 1.15rem; }
.legal .toc { margin: 24px 0 8px; padding: 18px 22px; border-radius: var(--r-small); border: 1px solid var(--hairline); }
.legal .toc p { font: 700 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.legal .toc ol { columns: 2 220px; column-gap: 28px; display: block; margin-top: 12px; }
.legal .toc li { margin-bottom: 6px; break-inside: avoid; }
.legal .toc a { color: var(--ink-2); text-decoration: none; }
.legal .toc a:hover { color: var(--rose); text-decoration: underline; }
.legal .table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--r-small); }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .94rem; }
.legal th, .legal td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); color: var(--ink-2); }
.legal th { font-weight: 700; color: var(--ink); background: var(--surface); }
.legal tr:last-child td { border-bottom: 0; }
.legal .meta { margin-top: 6px; font-size: .9rem; color: var(--ink-2); }
.page-body .nav > .btn { margin-left: auto; }
.legal .summary ul + p { margin-top: 16px; }
