/* ==========================================================================
   Fysigo · www_v2 · site parts (loaded after canvas.css + canvas-dark.css)
   2026-11-24 · Tony's picks on top of the v2 canvas dark base:
     · STORY  — the v1 hero (hand + iPhone, render 02) inside the v2 stage
                panel, pinned while you scroll; the screen changes per
                chapter. Watch cropped away: the phone is the subject.
     · CATS   — v3 "Use it on" / "Feeds your record" icon rows
     · SHELF  — v3 "Who you connect" people cards with switches
     · PLANS  — v3 "Which Fysigo is for you" pricing
   Values come from the DLS tokens; the only local colours are the cold
   light values already listed in v1/v2 NOTES.md.
   ========================================================================== */

:root { --nav-h: 65px; }

/* ==========================================================================
   STORY · pinned panel, scroll drives the chapter
   ========================================================================== */
.story {
  --n: 6;                 /* chapters (set inline too) */
  --step: 60svh;          /* scroll distance per chapter */
  --pin-h: calc(100svh - var(--nav-h));
  position: relative;
  height: calc(var(--pin-h) + (var(--n) - 1) * var(--step) + var(--step) * .6);
}
.story__pin {
  position: sticky; top: var(--nav-h);
  height: var(--pin-h);
  padding-block: 12px clamp(12px, 1.6vw, 20px);
}
.story__pin > .wrap { height: 100%; }

.story__frame {
  position: relative; height: 100%;
  border-radius: var(--r-panel);
  overflow: hidden; isolation: isolate;
  container-type: size;
  box-shadow: 0 0 0 1px var(--line-default), inset 0 1px 0 rgb(255 255 255 / .05);
  background: var(--surface-canvas);

  /* the rig: render 02 is 1493 × 2000. The Watch ends at y 34 %, the phone
     runs 47–93 %. The media box crops the render at 35.5 % (clean skin, no
     fade) and is tall enough for the whole phone: 0.575 × rh ≈ 97 % of it. */
  --mt: 0px;                              /* media box top (copy sits above it when stacked) */
  --rh: min(168cqh, 105cqw);
  --rw: calc(var(--rh) * .7465);
  --axis: calc(var(--rw) * .2 + 44px);   /* half the clear lane around the hand */
  --pad: clamp(20px, 3.2cqw, 48px);
}

/* backdrops: graphite + cold key light (from v1 dark / v2 dark), crossfaded */
.story__bg, .story__bg i { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.story__bg .bg-dark {
  background:
    radial-gradient(ellipse 34% 40% at 50% 66%, rgb(150 160 166 / .06), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 120%, rgb(150 160 166 / .05), transparent 70%),
    linear-gradient(180deg, var(--graphite-1) 0%, var(--graphite-0) 100%);
}
.story__bg .bg-lit {
  background:
    radial-gradient(ellipse 36% 40% at 50% 66%, rgb(168 180 188 / .10), transparent 72%),
    radial-gradient(ellipse 55% 45% at 86% 2%, rgb(208 242 41 / .03), transparent 70%),
    radial-gradient(ellipse 60% 55% at 10% 104%, var(--haze-teal), transparent 70%),
    linear-gradient(180deg, #161718 0%, #121314 55%, #0f0f0f 100%);
  opacity: 0; transition: opacity 900ms var(--ease-in-out);
}
.story__frame[data-tone="lit"] .bg-lit { opacity: 1; }
/* Tony's graphite photo (bg_light.jpg, 2726×1536): covers both tones, so the grain is off.
   Earlier tries: story-rain-light.jpg (light, needed dark ink), story-rain.jpg (dark rain). */
.story__bg .bg-photo { background: #141418 url("story-bg.jpg") center / cover no-repeat; }
.rig__img { filter: drop-shadow(0 40px 60px rgb(0 0 0 / .5)); }
.story__bg:has(.bg-photo)::after { content: none; }
/* grain (lifts, does not darken) */
.story__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .045; mix-blend-mode: screen;
}

/* bar: label left, chapter steps right */
.story__bar {
  position: absolute; inset: 0 0 auto 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 8px 0 var(--pad);
}
.story__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-tertiary); }
.story__steps { display: flex; list-style: none; margin: 0; padding: 0; }
.story__steps button {
  width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer;
  display: grid; place-items: center; border-radius: var(--r-control);
}
.story__steps i {
  display: block; width: 26px; height: 3px; border-radius: 2px;
  background: rgb(255 255 255 / .16);
  transition: background var(--duration-base) var(--ease-out), width var(--duration-base) var(--ease-out);
}
.story__steps button:hover i { background: rgb(255 255 255 / .4); }
.story__steps button[aria-current="step"] i { background: var(--ink-primary); }

/* the rig: render + live screens, cropped by the media box */
.story__media {
  position: absolute; left: 0; right: 0; top: var(--mt); bottom: 0; z-index: -1;
  overflow: hidden; container-type: size;
}
.rig {
  --rig-scale: .85;                       /* hand + phone at 85 %; the copy lane keeps the full size */
  --rh: calc(min(168cqh, 105cqw) * var(--rig-scale));   /* same rule, measured on the media box */
  position: absolute; left: 50%; top: calc(var(--rh) * -.355);
  height: var(--rh); aspect-ratio: 1493 / 2000;
  translate: -50% 0;
}
.rig__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  filter: drop-shadow(0 40px 60px rgb(0 0 0 / .5));
}
/* iPhone display inside the render (measured: x539 y961 w398 h868) */
.rig__screen {
  position: absolute; left: 36.1%; top: 48.05%; width: 26.66%; height: 43.4%;
  border-radius: 11.06% / 5.07%; overflow: hidden; background: #0b0b0b;
}
.rig__screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(128deg, rgb(255 255 255 / .07) 0%, rgb(255 255 255 / 0) 34%);
}
.rscr {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0; transform: translate3d(0, 3%, 0) scale(.985);
  transition: opacity 560ms var(--ease-in-out), transform 900ms var(--ease-out);
}
.story__frame[data-key="now"]   .rscr[data-key="now"],
.story__frame[data-key="train"] .rscr[data-key="train"],
.story__frame[data-key="sleep"] .rscr[data-key="sleep"],
.story__frame[data-key="blood"] .rscr[data-key="blood"],
.story__frame[data-key="share"] .rscr[data-key="share"],
.story__frame[data-key="ai"]    .rscr[data-key="ai"] { opacity: 1; transform: none; }

/* HTML screens are drawn at 393 × 858 (iPhone logical) and scaled to fit */
.rscr--html { background: var(--surface-canvas); }
.ph {
  width: 393px; height: 858px; transform-origin: 0 0; transform: scale(var(--ps, .5));
  padding: 0 20px; color: var(--ink-primary); font-family: var(--font-sans);
  line-height: 1.4;
}
.ph h3, .ph p { margin: 0; }
.ph-status { display: flex; justify-content: space-between; height: 54px; align-items: center; padding: 6px 12px 0; font-size: 14px; font-weight: 700; }
.ph-status span:last-child { letter-spacing: 1px; color: var(--ink-secondary); }
.ph-top { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; }
.ph-back { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-raised); display: grid; place-items: center; font-size: 22px; color: var(--ink-secondary); }
.ph-title { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.ph-lede { font-size: 14px; color: var(--ink-secondary); margin: 8px 0 18px !important; }
.ph-card { background: var(--surface-card); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.ph-who { display: flex; align-items: center; gap: 14px; }
.ph-who b { display: block; font-size: 16px; }
.ph-who small { font-size: 13px; color: var(--ink-tertiary); }
.ph-av { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-card-elevated); display: grid; place-items: center; font-weight: 800; font-size: 15px; color: var(--ink-secondary); }
.ph-list { padding: 4px 16px; }
.ph-row { display: flex; justify-content: space-between; align-items: center; height: 52px; font-size: 15px; font-weight: 500; }
.ph-row + .ph-row { border-top: 1px solid var(--line-default); }
/* in-app switch: lime is the client "on" (DLS client surface) */
.ph .psw { width: 44px; height: 24px; border-radius: 6px; background: var(--line-strong); position: relative; flex: none; }
.ph .psw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 4px; background: var(--surface-canvas); transition: transform 300ms var(--ease-out); }
.ph .psw.on { background: var(--lime); }
.ph .psw.on::after { transform: translateX(20px); }
.story__frame[data-key="share"] .psw.flip { animation: psw-flip 6s 1.2s infinite; }
.story__frame[data-key="share"] .psw.flip::after { animation: psw-knob 6s 1.2s infinite; }
@keyframes psw-flip { 0%, 40% { background: var(--line-strong); } 46%, 100% { background: var(--lime); } }
@keyframes psw-knob { 0%, 40% { transform: none; } 46%, 100% { transform: translateX(20px); } }
.ph-stop { margin-top: 8px; height: 44px; border-radius: 8px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.ph-foot { margin-top: 12px !important; text-align: center; font-size: 13px; color: var(--ink-tertiary); }
.ph-chat { display: flex; flex-direction: column; background: #121212; }
.chat-head { display: flex; flex-direction: column; gap: 8px; padding: 8px 0 18px; border-bottom: 1px solid var(--line-default); }
.chat-head b { font-size: 18px; }
.chat-chip { align-self: flex-start; font-size: 12px; font-weight: 500; color: var(--ink-secondary); background: var(--surface-raised); border-radius: 999px; padding: 6px 10px; }
.chat-q { align-self: flex-end; margin: 22px 0 18px; max-width: 78%; background: var(--surface-card-elevated); border-radius: 16px 16px 4px 16px; padding: 12px 14px; font-size: 15px; line-height: 1.4; }
.chat-a { font-size: 15px; line-height: 1.5; color: var(--ink-primary); }
.chat-chart { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0 12px; background: var(--surface-card); border-radius: 10px; padding: 16px 14px 12px; }
.cc-bars { height: 120px; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid var(--line-default); }
.cc-bars i { flex: 1; background: color-mix(in srgb, var(--chart-secondary) 30%, transparent); border-radius: 4px 4px 0 0; }   /* DLS comparison series, muted */
.cc-col--hi .cc-bars i { background: var(--lime); }          /* the series the answer is about: lime, as in the app */
.cc-col--hi span { color: var(--ink-secondary); }
.cc-k { grid-column: 1 / -1; margin: 0 0 2px !important; font-size: 12px; font-weight: 600; color: var(--ink-tertiary); }
.chat-chip { display: inline-flex; align-items: center; gap: 6px; }
.chat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px rgb(208 242 41 / .6); }
.cc-col span { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-tertiary); }
.chat-src { font: 500 12px/1.45 var(--font-mono); color: var(--ink-secondary); }
.chat-nd { margin-top: 8px !important; font-size: 13px; color: var(--ink-tertiary); }
.chat-input { margin-top: auto; margin-bottom: 42px; height: 48px; border-radius: 24px; background: var(--surface-raised); display: flex; align-items: center; padding: 0 18px; color: var(--ink-tertiary); font-size: 15px; }

/* chapters: all stacked in the panel, the active one is shown */
.story__copy { position: absolute; inset: 0; z-index: 2; }
.ch {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(var(--axis) * 2) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: start;
  padding: 24cqh var(--pad) 0;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 520ms var(--ease-in-out), transform 800ms var(--ease-out), visibility 0s linear 520ms;
}
.ch.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 620ms var(--ease-in-out) 80ms, transform 900ms var(--ease-out) 80ms, visibility 0s; }
.ch--hero { padding-top: 21cqh; }
.no-js .ch.is-on { opacity: 1; visibility: visible; transform: none; }
.hero + .story { margin-top: clamp(40px, 5vw, 72px); }

.ch__eye { grid-column: 1; grid-row: 1; text-align: right; margin: 0 0 18px; }
.ch__h {
  grid-column: 1 / -1; grid-row: 2;
  display: grid; grid-template-columns: subgrid;
  margin: 0;
  font-weight: 800; letter-spacing: -0.035em; line-height: .98;
  font-size: clamp(36px, min(4.6cqw, 8.4cqh), 84px);
  color: var(--ink-primary);
}
.h-l { grid-column: 1; text-align: right; text-wrap: balance; }
.h-r { grid-column: 3; text-align: left; text-wrap: balance; }
.ch__h--hero { font-size: clamp(44px, min(11cqh, calc((100cqw - 2 * var(--pad) - 2 * var(--axis)) / 2 / 5.3)), 116px); letter-spacing: -0.045em; }
.ch__h--hero span { white-space: nowrap; }
.ch__body { grid-column: 3; grid-row: 3; margin-top: 24px; max-width: 36ch; }
.ch__body p { margin: 0; }
.ch__body > p:first-child { font-size: clamp(15px, 1.3cqw, 18px); line-height: 1.55; color: var(--ink-secondary); }
.ch__body .hero__actions { margin-top: 24px; }
.ch__body .hero__price { margin-top: 14px; }
.ch__meta { margin-top: 18px !important; }
.ch__verbs { grid-column: 1; grid-row: 3; text-align: right; margin: 30px 0 0; align-self: start; }

/* scroll hint under the hero copy */
.story__hint {
  position: absolute; left: var(--pad); bottom: var(--pad); z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-tertiary);
  transition: opacity 400ms var(--ease-in-out);
}
.story__hint i { width: 1px; height: 28px; background: linear-gradient(var(--ink-tertiary), transparent); }
.story__frame:not([data-i="0"]) .story__hint { opacity: 0; }

/* side by side (>= 1024): a shorter panel, centred under the nav while pinned.
   The rig scale makes up for the lower panel, so the hand + phone keep their size. */
@media (min-width: 1024px) {
  .story { --pin-k: .86; --pin-h: calc((100svh - var(--nav-h)) * var(--pin-k)); }
  .story__pin { top: calc(var(--nav-h) + (100svh - var(--nav-h)) * (1 - var(--pin-k)) / 2); }
  .rig { --rig-scale: calc(.85 / .86); }
  /* both copy columns left-aligned, either side of the hand */
  .ch__eye, .h-l, .ch__verbs { text-align: left; }
}

/* stacked (< 1024): copy on top, phone below */
@media (max-width: 1023px) {
  .story { --step: 64svh; }
  .story__frame { --mt: 36cqh; --pad: 20px; }
  .rig { --rh: calc(min(168cqh, 250cqw) * var(--rig-scale)); }
  .story__media { border-top: 1px solid var(--line-default); }   /* the crop is a photo window under the copy */
  .ch, .ch--hero { display: block; padding: 60px var(--pad) 0; max-width: 640px; }
  .ch__eye { text-align: left; margin-bottom: 10px; }
  .ch__h, .ch__h--hero { display: block; font-size: clamp(28px, min(8.4cqw, 5.4cqh), 52px); letter-spacing: -0.03em; }
  .ch__h--hero { font-size: clamp(40px, min(12.4cqw, 7.4cqh), 76px); }
  .h-l, .h-r { text-align: left; }
  .ch__h--hero span { white-space: normal; }
  .ch__body { margin-top: 12px; max-width: 46ch; }
  .ch__body > p:first-child { font-size: 14.5px; line-height: 1.5; }
  .ch--hero .ch__body > p:first-child { display: none; }
  .ch__body .hero__actions { margin-top: 18px; }
  .ch__body .hero__price { margin-top: 10px; }
  .ch__meta { margin-top: 10px !important; }
  .ch__verbs { display: none; }
  .story__label { display: none; }
  .story__bar { justify-content: flex-end; padding-left: 8px; }
  .story__steps i { width: 20px; }
  .story__hint { display: none; }
}
@container (max-height: 640px) {
  .ch:not(.ch--hero) .ch__body > p:first-child { display: none; }
}
@media (max-width: 599px) {
  .ch:not(.ch--hero) .ch__meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rscr, .ch, .ch.is-on, .story__bg .bg-lit, .story__hint { transition: none !important; }
  .rscr, .ch { transform: none; }
  .psw.flip, .psw.flip::after { animation: none !important; }
}

/* ==========================================================================
   SUPPORTS · devices you use it on + what feeds the record (icons from v3)
   One heading, two runs of 44 px tiles split by a hairline.
   ========================================================================== */
.supports { display: grid; gap: 22px; min-width: 0; }
.supports__h { margin: 0; line-height: 16px; }
.cats {
  --nudge: 13px;   /* (item 70 - tile 44) / 2: puts the outer tile edge on the page margin */
  display: flex; gap: 0 28px;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.cats::-webkit-scrollbar { display: none; }
.cats ul { flex: none; display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.cats ul + ul { padding-left: 28px; border-left: 1px solid var(--line-default); }
.cats a {
  display: grid; justify-items: center; gap: 7px; width: 70px; padding: 0 0 4px;
  font-size: 12px; font-weight: 500; color: var(--ink-secondary); text-align: center; line-height: 1.25;
  text-decoration: none; scroll-snap-align: start; border-radius: var(--r-card-10);
}
.cats__ico {
  width: 44px; height: 44px; border-radius: var(--r-card-10); display: grid; place-items: center;
  background: var(--surface-card); color: var(--ink-secondary);
  box-shadow: inset 0 1px 0 rgb(214 226 234 / .05);
  transition: background var(--duration-base) var(--ease-out), color var(--duration-base);
}
.cats__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cats a:hover .cats__ico, .cats a:focus-visible .cats__ico { background: var(--surface-card-elevated); color: var(--ink-primary); }
.cats a:hover { color: var(--ink-primary); }
.cats a:focus-visible { box-shadow: none; outline: 2px solid var(--accent); outline-offset: 2px; }

/* product teaser foot: one line + "read more" */
.more {
  margin-top: var(--gap); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center;
  padding: 18px 20px; border-radius: var(--r-card-10); border: 1px solid var(--line-default);
  background: linear-gradient(170deg, var(--surface-card) 0%, var(--graphite-1) 100%);
}
.more p { margin: 0; color: var(--ink-secondary); font-size: 15px; max-width: 62ch; }
.more .btn { margin-left: auto; }
@media (max-width: 599px) { .more .btn { margin-left: 0; } }

/* ==========================================================================
   SHELF · "Who you connect" (from v3)
   ========================================================================== */
.shelf__head { margin-bottom: clamp(24px, 3vw, 40px); }
.lead-h {
  margin: 0; max-width: 34ch;
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.06;
  font-size: clamp(30px, 3.6vw, 52px);
}
.lead-h span { color: var(--ink-tertiary); }
.shelf__track {
  display: flex; gap: var(--gap); list-style: none; margin: 0;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  --edge: max(var(--gutter), calc((100% - var(--page-max)) / 2 + var(--gutter)));
  scroll-padding-inline: var(--edge);
  padding: 8px var(--edge) 32px;
  scrollbar-width: none;
}
.shelf__track::-webkit-scrollbar { display: none; }
.shelf__track:focus-visible { box-shadow: none; outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 0; }
.shelf__track > li { scroll-snap-align: start; flex: none; }
.shelf__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.shelf__note { margin: 0; color: var(--ink-secondary); font-size: 15px; max-width: 62ch; }
.shelf__note span { color: var(--ink-tertiary); }

.pcard {
  width: clamp(240px, 21vw, 280px);
  background: var(--surface-card); border-radius: var(--r-panel);
  padding: 24px 20px 20px; display: grid; gap: 4px; align-content: start;
  box-shadow: inset 0 1px 0 rgb(214 226 234 / .07), 0 24px 48px -28px rgb(0 0 0 / .95);
}
.pcard h3 { margin: 0 0 16px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.ava { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: linear-gradient(180deg, #3a4045, #22272b); display: grid; place-items: end center; margin-bottom: 14px; }
.ava svg { width: 100%; height: 100%; fill: #8e999f; stroke: none; transform: translateY(8%) scale(1.22); transform-origin: 50% 100%; }
.ava--ai { place-items: center; background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line-default); }
.ava--ai svg { width: 30px; height: 30px; fill: none; stroke: var(--ink-secondary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: none; }
.pcard ul { display: grid; list-style: none; margin: 0; padding: 0; }
.pcard li { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: 14.5px; color: var(--ink-secondary); border-bottom: 1px solid var(--line-default); }
.pcard li:last-child { border-bottom: 0; }

/* ==========================================================================
   PLANS · "Which Fysigo is for you" (from v3)
   ========================================================================== */
.plans__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.draft { margin: 0; font: 600 12px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); padding: 8px 10px; border-radius: var(--r-control); background: var(--surface-raised); }
.plans { display: grid; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan {
  background: var(--surface-card); border-radius: var(--r-panel);
  padding: 28px 24px 24px; display: grid; gap: 10px; align-content: start;
  grid-template-rows: auto auto auto 1fr auto;
  box-shadow: inset 0 1px 0 rgb(214 226 234 / .07), 0 24px 48px -28px rgb(0 0 0 / .95);
}
.plan p, .plan h3, .plan ul { margin: 0; }
.plan__t { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.plan__p { color: var(--ink-secondary); font-size: 14.5px; margin-top: 6px !important; }   /* price and "a month" share one line, on the baseline */
.plan__p b { display: inline-block; margin-right: 6px; font-size: 44px; font-weight: 800; color: var(--ink-primary); letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.plan__l { display: grid; gap: 6px; list-style: none; padding: 14px 0 20px !important; margin-top: 6px !important; border-top: 1px solid var(--line-default); font-size: 14.5px; color: var(--ink-secondary); }
.plan .btn { justify-self: start; }

/* ==========================================================================
   PRODUCT PAGE bits
   ========================================================================== */
.nav__links a[aria-current="page"] { color: var(--ink-primary); background: var(--neutral-elevated); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.subnav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-raised);
  font-size: 13.5px; font-weight: 600; color: var(--ink-secondary); text-decoration: none;
}
.subnav a:hover { color: var(--ink-primary); background: var(--surface-elevated); }
.phero .stage { margin-top: clamp(32px, 4vw, 56px); }

/* devices strip: anchors land below the sticky nav */
.dev[id], .feeds[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* where this is going */
.dirgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.dirgrid li { padding: 22px 20px; border-radius: var(--r-card-10); border: 1px solid var(--line-default); background: var(--surface-card); }
.dirgrid b { display: block; font-size: 18px; letter-spacing: -.01em; margin-bottom: 6px; }
.dirgrid span { color: var(--ink-secondary); font-size: 14.5px; line-height: 1.55; }
.dir__close { margin: 20px 0 0; color: var(--ink-secondary); max-width: 62ch; }
@media (max-width: 999px) { .dirgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .dirgrid { grid-template-columns: 1fr; } }

/* product hero title: a long line, one step down from the home display size */
.hero__title--md { font-size: clamp(44px, 6.4vw, 100px); max-width: 15ch; }
@media (max-width: 699px) { .hero__title.hero__title--md { font-size: 11.5vw; } }

/* ==========================================================================
   PEOPLE · five cards in the page width (desktop), avatars as photos
   ========================================================================== */
.ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ava--photo { background: var(--surface-raised); }
.ava--cube { background: #0b0d0c; box-shadow: 0 0 28px -6px rgb(208 242 41 / .35); }
@media (min-width: 1200px) {
  /* all five fit: the track becomes a grid on the same edges as .wrap */
  .shelf__track {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible; scroll-snap-type: none;
    max-width: var(--page-max); margin-inline: auto;
    padding: 8px var(--gutter) 32px;
  }
  .pcard { width: auto; padding: 22px 18px 18px; }
}

/* ==========================================================================
   NO STROKES ON CARDS · cards and panels part from the canvas by surface
   tone and shadow only. Controls (buttons, chips, tags, switches) and state
   marks (the lime "next" row) keep their lines.
   ========================================================================== */
.tile, .mist, .card, .zcard, .answer, .feeds, .more, .dirgrid li, .stage, .door { border-color: transparent; }
.tile:hover, .tile.rv.in:hover { border-color: transparent; }
.mist { box-shadow: none; }
.note { box-shadow: 0 18px 40px -16px rgb(0 0 0 / .7); }
.pcard, .plan { box-shadow: 0 24px 48px -28px rgb(0 0 0 / .95); }
.story__frame { box-shadow: none; }

/* ==========================================================================
   HERO BAR · CTAs on the left margin, "Supports" on the right margin,
   tiles level with the buttons
   ========================================================================== */
.hero__bar {
  --cat-off: 38px;   /* heading (16px) + gap (22px): puts the tiles on the buttons' line */
  display: flex; align-items: flex-start; gap: 24px 40px;
  margin-top: clamp(24px, 3vw, 36px);
}
.hero__cta { flex: none; padding-top: var(--cat-off); }
.hero__cta .hero__actions { margin-top: 0; }
.hero__bar .supports { margin-left: auto; justify-items: end; }
.hero__bar .cats { margin-right: calc(var(--nudge) * -1); }
/* not enough room for one line: Supports drops under the CTAs, on the left margin */
@media (max-width: 1239px) {
  .hero__bar { flex-direction: column; align-items: stretch; }
  .hero__cta { padding-top: 0; }
  .hero__bar .supports { margin-left: 0; justify-items: start; }
  .hero__bar .cats { margin-right: 0; margin-left: calc(var(--nudge) * -1); }
}
@media (max-width: 699px) {
  /* the row swipes edge to edge; the first tile still starts on the margin */
  .hero__bar .cats { margin-inline: calc(var(--gutter) * -1); padding-inline: calc(var(--gutter) - var(--nudge)); scroll-padding-inline: calc(var(--gutter) - var(--nudge)); }
  .hero__bar .supports { justify-items: stretch; }
}

/* ==========================================================================
   VERTICAL AIR · both pages (Tony, 2026-11-24: "more air between everything").
   One rhythm: sections ~1.5×, heads→content ~1.5×, inner steps ~1.3×.
   Card grids keep their tight --gap on purpose (cards read as one set).
   ========================================================================== */
:root {
  --air-sec: clamp(104px, 13vw, 208px);    /* space above every section (was 72–136) */
  --air-head: clamp(40px, 5vw, 76px);      /* section head → its content (was 28–48) */
}
.sec { padding-top: var(--air-sec); }
.sec__head, .shelf__head, .plans__head { margin-bottom: var(--air-head); }

/* hero */
.hero { padding-top: clamp(56px, 9vw, 136px); }
.hero__eyebrow { margin-bottom: 24px; }
.hero__row { margin-top: clamp(32px, 4vw, 56px); }
.hero__bar { margin-top: clamp(36px, 4.4vw, 64px); }
.hero__price { margin-top: 16px; }
.hero + .story { margin-top: var(--air-sec); }
.phero .stage { margin-top: clamp(56px, 6vw, 96px); }
.subnav { margin-top: clamp(32px, 4vw, 48px); }

/* inside sections */
.more { margin-top: clamp(20px, 2vw, 28px); }
.shelf__track { padding-bottom: clamp(40px, 4vw, 56px); }
.faq summary { min-height: 72px; }
.faq details p { margin-bottom: 28px; }

/* end of page */
.final { padding-block: clamp(136px, 17vw, 260px); }
.final__wm { margin-bottom: 40px; }
.final__row { margin-top: 44px; }

/* ==========================================================================
   FOOTER · the rain photo as the page's last card (both pages)
   Flush with the page end, rounded like every card. On the 12-col grid:
   links and the legal line in black on the light left of the photo, the
   symbol alone top right on the dark.
   ========================================================================== */
.final { padding-bottom: 0; }   /* the footer card brings its own air above */
.foot { border-top: 0; padding: var(--air-sec) 0 0; color: var(--ink-primary); font-size: 14px; }
.foot__card {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-panel) var(--r-panel) 0 0;   /* square where it meets the page end */
  width: 100%; aspect-ratio: 2000 / 733; min-height: 440px;   /* a set width keeps min-height from widening the card past the page edge */
  background: #0b0d0f;   /* the photo's dark side, while it loads */
}
.foot__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.foot__grid {
  height: 100%;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
  padding: clamp(28px, 3.4vw, 48px);
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot p { margin: 0; }

/* "Ramen" (Tony 2026-11-26): everything hangs on the card's edges, nothing floats.
   Top line: the link columns and the symbol. Bottom line: the legal, in black on the light. */
.foot__grid { grid-template-rows: auto 1fr auto; }
.foot__nav { grid-column: 1 / span 4; grid-row: 1; align-self: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }   /* two columns: the top menu, then the two actions */
.foot__nav .fy-eyebrow { color: rgb(15 15 15 / .62); margin-bottom: 8px; }
.foot__nav a { color: #0f0f0f; font-size: 15px; font-weight: 600; min-height: 30px; }
@media (pointer: coarse) { .foot__nav a { min-height: 40px; } }   /* a bit more room for a thumb */
.foot__nav a:hover { color: rgb(15 15 15 / .62); }
.foot__nav a:focus-visible { outline-color: #0f0f0f; }
.foot__mark { grid-column: 12; grid-row: 1; justify-self: end; align-self: start; width: clamp(28px, 2.4vw, 36px); height: auto; }
.foot__legal { grid-column: 1 / span 5; grid-row: 3; align-self: end; font-size: 13px; font-weight: 600; line-height: 1.5; color: #0f0f0f; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 clamp(12px, 3.6vw, 16px); margin: 2px 0 0; padding: 0; list-style: none; }   /* the legal docs, as quiet text links */
.foot__links a { display: inline-flex; align-items: center; min-height: 24px; font-size: 12px; font-weight: 500; color: rgb(15 15 15 / .72); text-decoration: none; }
@media (pointer: coarse) { .foot__links a { min-height: 36px; } }
@media (min-width: 900px) and (max-width: 1279px), (max-width: 599px) { .foot__links { display: grid; grid-template-columns: repeat(2, max-content); } }   /* when one row will not fit: two even columns, never one link alone */
.foot__links a:hover { color: #0f0f0f; text-decoration: underline; text-underline-offset: 3px; }
.foot__links a:focus-visible { outline-color: #0f0f0f; }

/* narrow: the photo becomes a band on top; everything below is on the dark */
@media (max-width: 899px) {
  .foot__card { aspect-ratio: auto; min-height: 0; }
  .foot__img { position: relative; z-index: 0; display: block; height: clamp(200px, 44vw, 320px); object-position: 36% 40%; }
  .foot__grid { height: auto; grid-template-columns: 1fr auto; grid-template-rows: none; row-gap: 32px; padding: 28px 20px 32px; }
  .foot__nav { grid-column: 1 / -1; grid-row: 1; }
  .foot__nav .fy-eyebrow { color: var(--ink-tertiary); }
  .foot__nav a { color: var(--ink-primary); }
  .foot__nav a:hover { color: var(--ink-secondary); }
  .foot__nav a:focus-visible { outline-color: var(--accent); }
  .foot__legal { grid-column: 1 / -1; grid-row: 2; color: rgb(243 243 243 / .8); }
  .foot__links a { color: rgb(243 243 243 / .6); }
  .foot__links a:hover { color: var(--ink-primary); }
  .foot__links a:focus-visible { outline-color: var(--accent); }
  .foot__mark { grid-column: 1 / -1; grid-row: 3; justify-self: start; align-self: start; width: 26px; }   /* its own row, last */
}

/* ==========================================================================
   HERO COLOUR · "numbers." in the full brand scale
   (orange → lime → green → teal, the wordmark's own stops). DLS deviation:
   gradient type on the one hero word, Tony's call (see NOTES.md).
   ========================================================================== */
.hero__grad {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding: 0 .1em .06em;   /* the clip box: room under the baseline, and past the period */
  margin: 0 -.1em;         /* …without moving the text. The title's negative tracking ends the box
                              ~.045em short of the last glyph, which cut the period flat. */
}
@media (forced-colors: active) { .hero__grad { -webkit-text-fill-color: currentColor; color: CanvasText; background: none; } }
/* On load "numbers." lands white with the rest of the title, then the brand colour swipes in from the
   left (2026-11-25, Tony). A white layer twice the word's width, soft-edged in the middle, slides off
   to the right over the gradient. Default state = filled, so no-JS and reduced motion show the colour. */
.hero__grad {
  background:
    linear-gradient(90deg, rgb(243 243 243 / 0) 42%, var(--ink-primary) 58%) 0% 0 / 240% 100% no-repeat,   /* 240 % + 42–58 %: the soft edge is fully off the word at both ends, so the end state is pure gradient */
    var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;   /* the shorthand above resets the clip */
}
.hero__title.rv.in .hero__grad { animation: gradSwipe 850ms cubic-bezier(.65, 0, .3, 1) 950ms both; }
@keyframes gradSwipe { from { background-position: 100% 0, 0 0; } to { background-position: 0% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero__title.rv.in .hero__grad { animation: none; } }

/* ==========================================================================
   START TRAINING · lime, like the app's primary action. The client moment
   wears lime; coach actions ("Set up your practice", "Book") stay teal.
   ========================================================================== */
.btn--lime { background: var(--lime); color: var(--ink-inverse); box-shadow: 0 0 28px -6px rgb(208 242 41 / .45); }
.btn--lime:hover { background: color-mix(in srgb, var(--lime) 86%, white); box-shadow: 0 0 36px -4px rgb(208 242 41 / .6); }
.btn--lime:focus-visible { outline-color: var(--lime); }

/* top-bar wordmark at ~145% (22 → 32 px tall) */
.nav__brand img { height: 32px; }

/* Highlight series in every chart demo = lime, as in the app (the DLS
   editorial indigo --chart-deep read as off-brand on the marketing site). */
:root { --chart-deep: var(--lime); }

/* ==========================================================================
   COACHES PAGE (coaches.html) · hero → what → why → how → pricing → final
   ========================================================================== */
.chero .hero__copy { grid-column: 1 / span 7; }
.chero .hero__actions { margin-top: 32px; }

/* what: six things on one rail */
.cwhat li { display: grid; align-content: start; gap: 0; }
.cwhat .ico { width: 24px; height: 24px; margin-bottom: 18px; color: var(--teal); stroke-width: 1.6; }
.cwhat b { margin-bottom: 8px; }

.cwhy { margin-top: 0; }

/* why · 4 becomes 1 (Tony 2026-11-30, layout D): two cards side by side, a big
   muted 4 with the struck tools, a teal 1 with the rail. Under them the three
   reasons as rows on the section grid: eyebrow and title where the section
   title sits, the text where the section aside sits, each row centred. */
.why4 { grid-auto-rows: auto; }
.why4__card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 44px); padding: clamp(28px, 3.6vw, 52px); }
.why4__n { font-size: clamp(120px, 15vw, 220px); font-weight: 800; letter-spacing: -.06em; line-height: .8; }
.why4__card--old .why4__n { color: rgb(255 255 255 / .1); }
.why4__card--new .why4__n { color: var(--teal); }
.why4 ul, .why4 ol { list-style: none; margin: 0; padding: 0; }
.why4 .fy-eyebrow { margin: 0 0 14px; }
.why4 li { font-size: 17px; line-height: 1.75; }
.why4__card--old li { color: var(--ink-tertiary); text-decoration: line-through; text-decoration-color: rgb(255 255 255 / .3); }
.why4__card--new ol { position: relative; }
.why4__card--new ol::before { content: ""; position: absolute; left: 5px; top: 15px; bottom: 15px; width: 2px; border-radius: 2px; background: var(--teal); }
.why4__card--new li { position: relative; display: flex; align-items: center; gap: 16px; font-weight: 700; color: var(--ink-primary); }
.why4__card--new i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); }

.whyl { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line-default); }
.whyl > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-default); }
.whyl__h { grid-column: 1 / span 6; }
.whyl .fy-eyebrow { margin: 0; }
.whyl .tile__title { margin: 8px 0 0; }
/* two columns: the right one starts at the left edge of the "1" card, for the aside too */
.whyl .tile__text { grid-column: 7 / -1; max-width: 56ch; }
@media (min-width: 900px) { .sec__head--half .sec__aside { grid-column: 7 / -1; max-width: 56ch; } }
@media (max-width: 899px) {
  .whyl > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .whyl__h, .whyl .tile__text { grid-column: 1 / -1; }
}
@media (max-width: 699px) {
  .why4__card { gap: 22px; }
  .why4__n { font-size: 112px; }
}

/* pricing: two coach plans */
@media (min-width: 700px) { .plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 700px) { .plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }   /* start page: Member, Solo, Team (Box removed 2026-11-25) */
/* Start-page plans carry a photo on top, full bleed inside the card (2026-11-25, Tony's three shots:
   forest lunge = Member, coach + kettlebell = Solo, football squad = Team). */
.plans--photo .plan { --px: 24px; overflow: hidden; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; }
@media (min-width: 700px) and (max-width: 999px) { .plans--photo .plan { --px: 18px; padding: 28px var(--px) 22px; } }   /* three narrow cards: the longest button still fits */
/* The plan name sits on the photo, bottom left (Individual · Coach · Team); a soft scrim keeps it legible. */
.plan__media { position: relative; margin: -28px calc(-1 * var(--px)) 14px; }
.plan__img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; }
.plan__media::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgb(10 10 12 / .72), rgb(10 10 12 / 0)); pointer-events: none; }
.plan__tag { position: absolute; z-index: 1; left: var(--px); bottom: 14px; margin: 0 !important; color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }   /* same size as the old plan title */
.plans--2.plans--photo .plan__img { aspect-ratio: 2 / 1; }   /* coaches: two wide cards, so a lower photo keeps them the start page's height */
.cnote { margin: 20px 0 0; font-size: 14.5px; color: var(--ink-tertiary); }
.cnote a { color: var(--ink-secondary); text-underline-offset: 3px; }
@media (min-width: 700px) and (max-width: 1099px) { .cwhy .s-4 { grid-column: span 2; } }   /* three across, no orphan */

/* ==========================================================================
   EYEBROWS · body-copy ink (Tony 2026-11-24): every site eyebrow, the hero's
   included (was teal), reads in --ink-secondary like the body copy instead of
   the DLS tertiary grey. App UI inside phones, the watch and the demo cards
   keeps the app's own eyebrow; the footer keeps its own.
   ========================================================================== */
.fy-eyebrow:not(:is(.phone, .ph, .rscr, .stage, .chatwin, .watch, .card, .zcard, .answer, .cstack, .foot) .fy-eyebrow) {
  color: var(--ink-secondary);
}

/* ==========================================================================
   VERBS · Collect. Organize. Guide. — three equal cards side by side
   (Tony 2026-11-24: was one big + two small, too busy). Text up top,
   one quiet visual pinned to the same baseline in each card.
   ========================================================================== */
.verbs { display: grid; gap: var(--gap, 12px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.verb { display: flex; flex-direction: column; min-height: 0; }
.verb .tile__text { max-width: 40ch; }
.verb__viz { margin-top: auto; padding-top: 28px; height: 268px; display: flex; flex-direction: column; justify-content: flex-end; }
/* collect: chips on top, the record feed below, no flow lines */
.verb .collect { display: flex; flex-direction: column; gap: 10px; padding: 28px 0 0; }
.verb .src-list { display: flex; flex-wrap: wrap; gap: 6px; }
.verb .src { min-height: 32px; padding: 0 10px; font-size: 12px; }
.verb .src:nth-child(n+5) { display: none; }   /* four sources are enough to read the idea */
.verb .flow { display: none; }
.verb .record { min-height: 0; flex: 1; padding: 10px; }
.verb .record [data-feed] { overflow: hidden; }
/* organize: the lanes, a little more air */
.verb .lanes { margin-top: 0; }
.verb .connect-read { min-height: 0; }
/* guide: today, in order */
.today { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.today li {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center;
  padding: 12px; border-radius: var(--r-control); background: var(--surface-card-elevated);
}
.today__t { font-size: 11px; color: var(--ink-tertiary); }
.today b { display: block; font-size: 14px; font-weight: 600; color: var(--ink-primary); }
.today small { display: block; font-size: 12px; color: var(--ink-tertiary); margin-top: 2px; }
.today li.is-next { background: var(--surface-card-elevated); }   /* never a side stripe (rule, NOTES) */
.today__do { font-size: 12px; font-weight: 700; color: #0f0f0f; background: var(--lime); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
@media (max-width: 1023px) {
  .verbs { grid-template-columns: 1fr; }
  .verb__viz { height: auto; }
  .verb .record { height: 210px; flex: none; }
}

/* ==========================================================================
   YOUR AI · the magic orb (Tony 2026-11-24): a glowing lime sphere that
   breathes, with a slow shimmer turning inside it. No sparks (Tony took them
   out). Replaces the generated cube image. Reduced motion: a still, lit sphere.
   ========================================================================== */
/* sits in the same grey 64 px circle as the other avatars; the orb is ~half of it, halo and sparks stay inside the circle */
.ava--orb { overflow: hidden; background: radial-gradient(circle at 50% 42%, #484b50 0%, #3b3e42 55%, #303337 100%); place-items: center; position: relative; }   /* the studio grey of the photo avatars (sampled: #35383c–#44474c) */
.orb { --breathe: 4.6s; position: relative; width: 52%; height: 52%; display: block; }
.orb > i, .orb__core > i { position: absolute; display: block; border-radius: 50%; }
.orb__halo {
  inset: -38%;
  background: radial-gradient(circle, rgb(208 242 41 / .24) 0%, rgb(120 214 90 / .10) 38%, transparent 66%);
  filter: blur(5px);
  animation: orbHalo var(--breathe) var(--ease-in-out, ease-in-out) infinite;
}
.orb__core {
  inset: 0; overflow: hidden;
  /* dark glass, lit from inside */
  background: radial-gradient(circle at 50% 56%, #2c7a4a 0%, #134a37 38%, #082c22 66%, #031510 100%);
  box-shadow:
    0 0 10px 0 rgb(208 242 41 / .26),
    inset 0 0 0 1px rgb(208 242 41 / .32),
    inset 0 0 12px rgb(208 242 41 / .28),
    inset 0 -8px 16px rgb(0 0 0 / .55);
  animation: orbBreathe var(--breathe) var(--ease-in-out, ease-in-out) infinite;
  transition: filter 120ms;
}
/* the glowing heart that breathes inside the glass */
.orb__heart {
  inset: 18% 18% 14% 18%;
  background: radial-gradient(circle, #fbffe0 0%, #eaff7a 18%, rgb(208 242 41 / .85) 36%, rgb(110 210 80 / .35) 62%, transparent 76%);
  filter: blur(1.5px);
  animation: orbHeart var(--breathe) var(--ease-in-out, ease-in-out) infinite;
}
.orb__swirl {
  inset: -20%;
  background: conic-gradient(from 0deg, transparent 0 12%, rgb(230 255 160 / .4) 18%, transparent 30% 52%, rgb(120 230 150 / .35) 60%, transparent 72% 100%);
  mix-blend-mode: screen; filter: blur(4px);
  animation: orbSpin 9s linear infinite;
}
.orb__glint { left: 20%; top: 10%; width: 34%; height: 18%; background: radial-gradient(ellipse, rgb(255 255 255 / .55), transparent 70%); transform: rotate(-28deg); }
@keyframes orbBreathe { 0%, 100% { transform: scale(.95); } 50% { transform: scale(1.04); } }
@keyframes orbHalo { 0%, 100% { opacity: .5; transform: scale(.88); } 50% { opacity: .9; transform: scale(1.06); } }
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes orbHeart { 0%, 100% { transform: scale(.78); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .orb__halo, .orb__core, .orb__swirl, .orb__heart { animation: none; }
  .orb__halo { opacity: .8; }
}

/* ==========================================================================
   PHONE PANEL · solid neon yellow (2026-11-25, Tony picked it from temp-phone-bg.html)
   The panel is --lime with dark ink. The HTML phone screens keep the app's light ink.
   Earlier: Tony's graphite photo (story-bg.jpg), before that the rain photos.
   ========================================================================== */
.story__frame {
  background: var(--lime);
  --ink-primary: #0f0f0f;
  --ink-secondary: rgb(15 15 15 / .78);
  --ink-tertiary: rgb(15 15 15 / .58);
  --line-default: rgb(15 15 15 / .14);
}
.story__bg { display: none; }
.story__steps i { background: rgb(15 15 15 / .18); }
.story__steps button:hover i { background: rgb(15 15 15 / .4); }
.story__steps button:focus-visible { outline-color: #0f0f0f; }
.rig__img { filter: drop-shadow(0 34px 48px rgb(0 0 0 / .28)); }
.rig__screen { --ink-primary: #f3f3f3; --ink-secondary: #c8c8c8; --ink-tertiary: #838383; --line-default: rgba(131, 131, 131, 0.2); }

/* ==========================================================================
   COLLECT · ORGANIZE · GUIDE — one journey (2026-11-25, temp-journey.html variant E)
   Left: devices → lines → a ring of six areas ("Your record"). Right: Guide, built like
   the app — the Workload card moves as insights arrive, suggestion cards come in on top.
   Dots, fills and cards are driven by site.js. Never a side stripe on any card (NOTES).
   ========================================================================== */
.je__top { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: clamp(16px, 2vw, 32px); align-items: center; }
.je__svgwrap { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.je__svgwrap::-webkit-scrollbar { display: none; }
.je__map { display: block; width: 100%; min-width: 600px; height: auto; overflow: visible; }
.je .lbl { fill: var(--ink-secondary); font: 600 13px Montserrat, sans-serif; transition: fill 250ms; }
.je .lbl.flash { fill: var(--ink-primary); }
.je .lbl-s { fill: var(--ink-tertiary); font: 600 11px Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.je .src-ln { fill: none; stroke: rgb(255 255 255 / .14); stroke-width: 1.2; }
.je .core { fill: var(--surface-raised); }
.je .seg-base { fill: none; stroke: rgb(255 255 255 / .13); stroke-width: 14; stroke-dasharray: var(--L) 999; }
.je .seg { fill: none; stroke: var(--lime); stroke-width: 14; stroke-dasharray: 0 999;   /* grows to its level on load */ transition: stroke-dasharray 650ms var(--ease-out), stroke 250ms, filter 250ms; }
.je .seg.flash { stroke: #f4ffb8; filter: drop-shadow(0 0 6px rgb(208 242 41 / .9)); }
.je .dot { fill: var(--lime); filter: drop-shadow(0 0 4px rgb(208 242 41 / .9)); }

.je__guide { display: grid; gap: 8px; min-width: 0; }
.je .wl { border-radius: 12px; background: var(--surface-raised); padding: 16px; }
.je .wl__nums b.hit { animation: wlFlash 650ms var(--ease-out); }   /* only the value text: lighter + a glow, like the ring segments */
@keyframes wlFlash { 0% { filter: brightness(1.55); text-shadow: 0 0 10px currentColor; } 100% { filter: none; text-shadow: 0 0 0 transparent; } }
.je .wl__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.je .wl__top .fy-eyebrow { margin: 0; color: var(--ink-tertiary); }
.je .wl__status { font-size: 13px; font-weight: 700; color: var(--orange); transition: color 400ms; }   /* Back off */
.je .wl__status.push { color: #3fc9a0; }                     /* Push: the Fitness green */
.je .wl__status.mid { color: var(--ink-tertiary); }          /* Normal */
.je .wl__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.je .wl__nums small { display: block; font-size: 12px; color: var(--ink-tertiary); }
.je .wl__nums b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.je .teal { color: #3fc9a0; }
.je .tan { color: var(--orange); }
.je .wl__chart { display: block; width: 100%; height: 80px; margin-top: 10px; }

.je .sugs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; height: calc(3 * 64px + 2 * 8px); overflow: hidden; align-content: start; }
.je .sug { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 64px; padding: 0 14px; border-radius: 12px; background: var(--surface-raised); animation: sugIn 650ms var(--ease-out); }
@keyframes sugIn { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
.je .sug small.k { display: block; font: 600 12px/1.2 var(--font-mono); letter-spacing: .12em;   /* the site eyebrow */ text-transform: uppercase; color: var(--ink-tertiary); }
.je .sug b { display: block; margin-top: 3px; font-size: 14px; color: var(--ink-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.je .sug small.s { display: block; font-size: 12px; color: var(--ink-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* buttons: secondary left, primary always on the right */
.je .mini { display: flex; gap: 6px; }
.je .mini span { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.je .mini .yes { background: var(--lime); color: #0f0f0f; }
.je .mini .no { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-secondary); }

.je__cols { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, .8fr) minmax(300px, 1fr); gap: clamp(16px, 2vw, 32px); margin-top: 32px; }
.je__cols .jh { padding-top: 18px; border-top: 1px solid var(--line-default); }
.je .jh .fy-eyebrow { margin: 0 0 12px; }
.je .jh h3 { margin: 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; color: var(--ink-primary); }
.je .jh p:last-child { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-secondary); max-width: 38ch; }
@media (max-width: 1023px) {
  .je__top { grid-template-columns: 1fr; }
  .je__svgwrap { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .je__cols { grid-template-columns: 1fr; }
}
/* phones: a portrait map (sources on top, ring, the line runs down into Guide) */
.je__map--v { display: none; }
.je .lbl--v { font-size: 11px; }
@media (max-width: 699px) {
  .je__map--h { display: none; }
  .je__map--v { display: block; min-width: 0; width: 100%; max-width: 420px; margin-inline: auto; }
  .je__svgwrap { margin-inline: 0; padding-inline: 0; overflow: visible; }
  .je__top { gap: 0; }
}

/* ==========================================================================
   SHARING SWITCH · same look as the app: square-ish track, dark square knob.
   On = white track, knob right. Off = grey track, knob left. (Lime read too loud.)
   ========================================================================== */
.sw { width: 33px; height: 18px; border-radius: 4px; border: 0; background: #424242; }   /* 75 % of the app's 44 × 24 */
.sw::after { top: 1.5px; left: 1.5px; width: 15px; height: 15px; border-radius: 3px; background: #0f0f0f; }
.sw.on { background: var(--ink-primary, #f3f3f3); border: 0; }
.sw.on::after { transform: translateX(15px); background: #0f0f0f; }

/* ==========================================================================
   PRODUCT · the live Train tile in "Everything you can track".
   The old hero stage (iPhone Now → workout, Watch live HR) as a bento tile:
   copy top left, the two devices on the right; canvas.js drives #stage.
   ========================================================================== */
.tile.stile {
  margin: 0; padding: 0; border-radius: var(--r-card-10);
  min-height: clamp(560px, 46vw, 660px);
  /* the stage's dark room, not the card photo (cards-photo.css sets .tile) */
  background:
    radial-gradient(55% 70% at 74% 0%, var(--light-key) 0%, transparent 65%),
    radial-gradient(38% 52% at 64% 50%, rgb(214 226 234 / .07) 0%, transparent 72%),
    radial-gradient(45% 40% at 60% 92%, rgb(214 226 234 / .07) 0%, transparent 70%),
    radial-gradient(50% 60% at 8% 100%, var(--haze-teal) 0%, transparent 70%),
    linear-gradient(180deg, var(--graphite-1) 0%, var(--graphite-0) 100%);
}
.stile .stile__copy { position: relative; z-index: 3; padding: 20px; max-width: 34%; }
.stile .stage__pause { position: absolute; top: 14px; right: 14px; z-index: 3; margin: 0; }
.stile .stage__scene {
  grid-template-columns: 1fr auto auto; gap: clamp(18px, 2.4vw, 36px);
  padding: 64px clamp(24px, 4vw, 56px) 32px 34%;
}
.stile .stage__phone { grid-column: 2; }
.stile .stage__watch { grid-column: 3; }
.stile .phone { --w: clamp(210px, 19vw, 250px); }
.stile .watch { --w: clamp(128px, 11vw, 150px); }
@media (max-width: 1099px) {
  .stile .stile__copy { max-width: 40%; }
  .stile .stage__scene { padding-left: 40%; }
}
@media (max-width: 699px) {
  .tile.stile { min-height: 0; }
  .stile .stile__copy { max-width: none; padding: 16px 72px 0 16px; }
  .stile .stage__scene {
    position: relative; inset: auto; display: block;
    padding: 20px 0 28px; min-height: 0;
  }
  .stile .stage__phone { --w: 220px; margin: 0 auto 0 12%; }
  .stile .stage__watch { --w: 112px; position: absolute; right: 9%; bottom: 40px; }
}

/* the live Train tile: just the shapes of the devices, no faux bezels, band or crown */
.stile .phone {
  padding: 0; background: #0e0e0e; border: 1.5px solid #3a3a3a;
  border-radius: calc(var(--w) * .14);
  box-shadow: 0 30px 60px -18px rgb(0 0 0 / .75);
}
.stile .phone__screen { border-radius: calc(var(--w) * .13); background: transparent; }
.stile .phone__island { display: none; }
.stile .watch {
  padding: 0; background: #000; border: 1.5px solid #3a3a3a;
  border-radius: calc(var(--w) * .26);
  box-shadow: 0 24px 48px -14px rgb(0 0 0 / .75);
}
.stile .watch::before, .stile .watch::after { display: none; }
.stile .watch__screen { border-radius: inherit; background: transparent; }

/* SLEEP tile: score ring, three parts, tonight's bedtime (simplified app UI) */
.sl { margin-top: auto; padding-top: 22px; display: grid; gap: 14px; }
.sl__score { position: relative; width: min(190px, 70%); margin: 0 auto; }
.sl__ring { display: block; width: 100%; height: auto; }
.sl__ring path { fill: none; stroke-width: 9; stroke-linecap: round; }
.sl__ring .bg { stroke: rgb(255 255 255 / .08); }
.sl__ring .fg { stroke: var(--lime); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-out) .2s; }
.rv.in .sl__ring .fg { stroke-dashoffset: calc(100 - var(--v)); }
.sl__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.sl__num b { font-size: clamp(44px, 4vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.sl__num span { font-size: 12px; color: var(--ink-tertiary); margin-top: 4px; }
.sl__night { margin: -6px 0 0; text-align: center; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-tertiary); }
.sl__parts { display: grid; gap: 10px; }
.sl__part { display: grid; grid-template-columns: 78px 1fr 52px; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-secondary); }
.sl__part .bar { height: 6px; border-radius: 99px; background: rgb(255 255 255 / .08); overflow: hidden; }
.sl__part .bar i { display: block; height: 100%; border-radius: inherit; background: var(--lime); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-out) .5s; }
.rv.in .sl__part .bar i { transform: scaleX(var(--v)); }
.sl__part b { text-align: right; font-weight: 800; color: var(--ink-primary); }
.sl__part small { font-weight: 500; color: var(--ink-tertiary); font-size: 11px; }
.sl__bed {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--line-default); font-size: 13px;
}
.sl__bed > div { flex: 1; display: grid; gap: 2px; }
.sl__bed span { color: var(--ink-tertiary); font-size: 12px; }

/* PEPTIDES tile: 30 days × 3 doses (simplified app UI) */
.pp { margin-top: auto; padding-top: 22px; }
.pp__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; }
.pp__head .mono { font-size: 11px; color: var(--ink-tertiary); }
.pp__big { margin-top: 14px; font-size: clamp(52px, 5vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: .9; }
.pp__big small { font-size: .5em; letter-spacing: 0; color: var(--ink-secondary); }
.pp__k { margin: 6px 0 16px; font-size: 12px; color: var(--ink-tertiary); }
.pp__dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.pp__dots i, .pp__key i { display: block; aspect-ratio: 1; border-radius: 50%; }
.pp__dots i { opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease-out); transition-delay: calc(var(--d) * 14ms + .3s); }
.rv.in .pp__dots i { opacity: 1; transform: none; }
.pp .ok { background: var(--lime); }
.pp .miss { box-shadow: inset 0 0 0 1.5px var(--orange); }
.pp .skip { background: rgb(255 255 255 / .16); }
.pp__key { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; font-size: 11px; color: var(--ink-tertiary); }
.pp__key span { display: inline-flex; align-items: center; gap: 6px; }
.pp__key i { width: 8px; }
@media (prefers-reduced-motion: reduce) {
  .sl__ring .fg, .sl__part .bar i, .pp__dots i { transition: none; }
}

/* MORNING CHECK photo: smaller than "cover" (the photo is portrait), kept to the right,
   fading into the mist on its left so the copy sits on calm ground */
.ptile--side { background: radial-gradient(90% 110% at 70% 10%, #24271f 0%, #15140f 55%, #0f0f0f 100%); }
.ptile--side img {
  inset: auto; right: 50px; top: -14%; width: auto; height: 150%; object-fit: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .35) 25%, #000 60%, #000 82%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .35) 25%, #000 60%, #000 82%, transparent 100%);
}
.ptile--side .ptile__body { position: relative; max-width: 62%; }
@media (max-width: 699px) {
  .ptile--side { min-height: 360px; }
  .ptile--side img { right: -6%; height: 130%; top: -4%; }
  .ptile--side .ptile__body { max-width: none; }
}


/* product: the bento follows the hero directly (no section heading of its own) */
.phero + #areas { padding-top: clamp(8px, 2vw, 32px); }

/* real people instead of the drawn bust */
.avatar--photo { display: block; flex: none; object-fit: cover; background: var(--surface-raised); }

/* COACHES · photo banner, mid-page (between why and how). The haze over the yard is
   bright at the top right, so the copy sits there in black on a soft light wash. */
.cbanner { padding-top: clamp(24px, 3vw, 48px); }
/* the photo is shown whole on wide screens (its own 2000 × 864 shape): the people on the left half,
   the words start on the middle line of the light, dusty right half (Tony 2026-11-30) */
.cbanner__fig { position: relative; margin: 0; border-radius: var(--r-panel); overflow: hidden; isolation: isolate; aspect-ratio: 2000 / 864; }
.cbanner__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.cbanner__cap {
  position: absolute; left: calc(50% + var(--gap) / 2); top: 21%; z-index: 1; width: min(44%, 560px); text-align: left;   /* = grid column 7, the edge the text above starts on */
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: #0f0f0f;
}
.cbanner__t { margin: 0; font-size: clamp(26px, 3vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
.cbanner__s { margin: 0; max-width: 30ch; font-size: clamp(15px, 1.3vw, 18px); font-weight: 600; line-height: 1.35; color: rgb(15 15 15 / .78); }
.cbanner__btn { margin-top: 6px; background: #0f0f0f; color: #f3f3f3; }
.cbanner__btn:hover { background: #2a2a2a; }
.cbanner__btn:focus-visible { outline-color: #0f0f0f; }
@media (max-width: 699px) {   /* a phone: the words sit on the light above, the photo stays whole under them and fades up into it */
  .cbanner__fig { display: flex; flex-direction: column; aspect-ratio: auto; border-radius: var(--r-card-10); background: rgb(240 236 228); }
  .cbanner__fig img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; margin-top: 12px; object-position: 6% 50%;   /* both people, edge to edge */
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
  .cbanner__cap { position: relative; order: -1; inset: auto; width: auto; padding: 24px 20px 0; text-align: left; align-items: flex-start; }
  .cbanner__t { font-size: 28px; }
}

/* MORNING CHECK · sunlight shader (assets/sunlight.js) laid over the photo */
.ptile--side .sun { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.ptile--side:hover img { transform: none; }   /* the light moves; the photo stays still */

/* COACHES · 3 EVIDENCE + 4 GET PAID (Tony 2026-11-30): the two pictures are one size. Both tiles in the row
   are as tall as each other, both pictures start under the text and fill the room to the bottom. */
.hubgrid, .payflow { flex: 1 0 auto; margin-top: 26px; min-height: 236px; }
.hubgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.hubgrid > div { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 16px; border-radius: 12px;
  background: var(--surface-raised); border: 1px solid var(--line-default); }
.hubgrid .ico { width: 24px; height: 24px; color: var(--ink-secondary); stroke-width: 1.6; }
.hubgrid span { font-size: 15px; font-weight: 700; color: var(--ink-primary); }
.hubgrid .on { background: color-mix(in srgb, var(--lime) 12%, var(--surface-raised)); border-color: color-mix(in srgb, var(--lime) 45%, transparent); }
.hubgrid .on .ico { color: var(--lime); }
.payflow { display: flex; flex-direction: column; justify-content: center; gap: 26px; }   /* straight on the tile, no frame */
.payflow__steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.payflow__steps::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 21px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--lime) 0 50%, var(--line-strong) 50% 100%); }
.payflow__st { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.payflow__st span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 4px;
  background: var(--surface-card-elevated); border: 1px solid var(--line-strong); color: var(--ink-tertiary); }
.payflow__st .ico { width: 18px; height: 18px; }
.payflow__st.done span { background: var(--lime); border-color: var(--lime); color: #0f0f0f; }
.payflow__st.now span { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 0 6px color-mix(in srgb, var(--lime) 14%, transparent); }
.payflow__st b { font-size: 14px; font-weight: 700; color: var(--ink-primary); }
.payflow__st small { font-size: 12px; color: var(--ink-tertiary); }
.payflow__kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.payflow__kinds span { padding: 6px 10px; border-radius: 999px; font-size: 12px; color: var(--ink-secondary); background: rgb(255 255 255 / .04); border: 1px solid var(--line-default); }
@media (max-width: 499px) {
  .hubgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payflow__st b { font-size: 13px; }
  .payflow__st small { font-size: 11px; }
}

/* COACHES · 1 GET CLIENTS: every coach gets a page. A fanned stack of coach cards,
   yours on top, centred in the room the text leaves. Sample people, no buttons. */
/* the cards share one grid cell, so the fan sits centred both ways in whatever room is left */
.cstack { flex: 1 0 auto; display: grid; place-items: center; min-height: 290px; margin-top: 26px; }
.cstack__card {
  grid-area: 1 / 1; width: 196px; border-radius: 12px; overflow: hidden;
  background: var(--surface-card-elevated); border: 1px solid var(--line-default);
  box-shadow: 0 22px 50px rgb(0 0 0 / .5); transform-origin: 50% 100%;
}
.cstack__ph { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-raised); }
.cstack__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.cstack__bd { padding: 10px 12px 12px; display: grid; gap: 4px; }
.cstack__cat { margin: 0; }   /* a .fy-eyebrow: in-card, so tertiary ink */
.cstack__name { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--ink-primary); }
.cstack .url { margin: 0; font-size: 10.5px; }
.cstack__card--l { transform: translateX(-68%) rotate(-7deg) scale(.92); filter: brightness(.7); }
.cstack__card--r { transform: translateX(68%) rotate(7deg) scale(.92); filter: brightness(.7); }
.cstack__card--c { transform: translateY(-6px); z-index: 2; border-color: var(--line-strong); }
@media (max-width: 699px) {
  .cstack { min-height: 270px; }
  .cstack__card { width: 168px; }
  .cstack__card--l { transform: translateX(-58%) rotate(-7deg) scale(.88); }
  .cstack__card--r { transform: translateX(58%) rotate(7deg) scale(.88); }
}
@media (max-width: 439px) {   /* a phone: the fan narrows so all three cards stay inside the tile */
  .cstack { min-height: 250px; }
  .cstack__card { width: min(150px, 38vw); }
  .cstack__card--l { transform: translateX(-52%) rotate(-7deg) scale(.88); }
  .cstack__card--r { transform: translateX(52%) rotate(7deg) scale(.88); }
}
