/* Nina home (2026-11-18) - page layer on top of the system. Colours from brief/VISUAL.md, copy from brief/COPY.md.
   Static and complete first. Motion: the no-preference blocks at the end set only what CSS can do
   alone (entrances that end visible, hover); everything scroll-linked is GSAP in home.js, which also
   sets every hidden starting state itself, so without JS nothing is left hidden. */

/* Round 2: the visible number is real HTML text (.tick__v). The CSS counter (::before) only paints
   while a count runs (.tick.run) or on hover; the hidden text keeps the box at its final width. */
:root{--tilt:1.2deg;--cut:calc(100vw * .02095)}  /* round 5: ONE angle. tan(1.2deg) = .02095, so the week cut rises like the tape */
.tick__n{display:inline-grid;justify-items:start}
.tick__n::before,.tick__v{grid-area:1/1}
.tick__n::before{content:none}

.sec-head{max-width:60rem}
.alink{display:inline-flex;align-items:center;min-height:var(--tap);color:var(--link);font-weight:600;text-underline-offset:.2em;text-decoration-thickness:2px}
.acts{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-3)}
/* Round 6b (owner, 11-12): "Get the PDF plan by email" is the system's secondary button (same height,
   radius and 3 px border as the primary, outlined in the text colour of its ground) and fills on hover
   and focus. One pair everywhere: filled primary + outlined secondary. */
.btn--secondary{background:transparent;color:var(--on-ground);border-color:currentColor}
.btn--secondary:hover,.btn--secondary:focus-visible{background:var(--on-ground);color:var(--ground)}
.section{scroll-margin-top:1rem}
/* Round 5: the skew leans the top of each letter right; pull slanted headings back so they line up with the
   column optically. Long headings are written as several .slant phrases, so a wrapped line is skewed from
   its own bottom-left corner instead of being pushed right by the line under it. */
.display .slant{margin-left:-.05em}
.display .slant:not(:last-child){padding-right:0}  /* a phrase followed by another: no double gap */

/* ---------- Hero: a living cover ---------- */
.hero{padding-block:0;overflow:hidden;position:relative}
/* Nina: pink ground (.ground-pink), FREE in ink, the 4 and WEEK PLAN in red (4.36:1, large text only, as on
   og-home.jpg), red button with a white label, ink outlined secondary. */
.hero h1{color:var(--red)}
.hero .hero__free{color:var(--ink)}
.hero__top{display:flex;align-items:center;justify-content:space-between;gap:var(--s-4);padding-top:var(--s-3);position:relative;z-index:3}
.hero .nav{gap:0 var(--s-4)}
.hero .nav a{color:var(--ink);text-underline-offset:.2em;min-width:var(--tap);justify-content:center}
.hero__in{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"tag" "h1" "lead" "acts" "go";position:relative;row-gap:0}
.hero__copy{display:contents}
/* Nina: the tag chip over the headline (butter, ink 13.56). Filled, no outline. */
.hero__tag{grid-area:tag;justify-self:start;align-self:end;position:relative;z-index:2;margin-top:var(--s-2);padding:.5rem .8rem .45rem;border-radius:2rem;background:var(--butter);color:var(--ink);font:600 var(--fs-small)/1.2 var(--font-text)}
/* The h1: FREE, then the 4 with WEEK PLAN. Round 2: "Coming soon" is a tab of the type system (the .day__tab
   shape: Anton, ink with white, small radius) right after PLAN, so the heading reads "Free 4-week plan, coming
   soon" in order and the tab sits away from her raised arms. */
.hero__h1{grid-area:h1;position:relative;z-index:2;display:grid;justify-items:start;padding-top:var(--s-1);line-height:.86;align-self:end}
.hero__free{font-size:clamp(2.75rem,12vw,7rem)}
.hero__row{display:flex;flex-direction:column;align-items:flex-start}
.hero__last{display:flex;align-items:center;gap:.6rem}
.hero__soon{flex:none;padding:.3125rem .5rem .25rem;border-radius:.5rem;background:var(--ink);color:var(--white);font:400 1rem/1 var(--font-display);text-transform:uppercase;white-space:nowrap;align-self:center}
.hero__n{display:block;transform-origin:0 100%}
.hero__digit{display:inline-block;font-size:clamp(11rem,50vw,26rem);line-height:.9;color:var(--time);transform:skewX(var(--slant));transform-origin:0 100%;padding-right:.04em;margin-bottom:-.02em}
/* Round 2: .07em of air between WEEK and PLAN (8 px at 1440); the row stays bottom-aligned with the 4. */
.hero__unit{display:grid;justify-items:start;row-gap:.07em;font-size:clamp(2.75rem,12vw,7rem);line-height:.86;padding-bottom:.04em}
.hero__lead{grid-area:lead;position:relative;z-index:2;padding-top:var(--s-3)}
.hero__in > .hero__copy > .acts{grid-area:acts;position:relative;z-index:2;padding:var(--s-4) 0 0}
/* Says what joining means (aria-describedby on the main button). */
.hero__go{grid-area:go;position:relative;z-index:2;padding:var(--s-2) 0 var(--s-7);font:500 var(--fs-small)/1.3 var(--font-text)}
/* Nina's cut-out is narrow (230 x 860, aspect 0.27), so it is sized by HEIGHT everywhere. Phones: she
   stands at the right of the tag + headline rows, beside the 4, feet on the floor line under PLAN. */
.hero__ph{grid-row:1 / 3;grid-column:1;justify-self:end;align-self:end;z-index:1;transform-origin:50% 100%;margin-right:clamp(0rem,4vw,1.5rem)}
.hero__img{height:clamp(19rem,92vw,26rem);width:auto;max-width:none}

/* Round 2 (phones): both buttons above the fold at 390 x 664 and 375 x 667, like Gio's hero. A slightly smaller
   4 and display words, tighter tag and gaps (the hero is otherwise unchanged). */
@media (max-width:47.99rem){
  .hero__tag{padding:.4rem .7rem .36rem}
  .hero__digit{font-size:clamp(10rem,45vw,26rem)}
  .hero__free,.hero__unit{font-size:clamp(2.5rem,11vw,7rem)}
  .hero__lead{padding-top:var(--s-2)}
  .hero__in > .hero__copy > .acts{padding-top:var(--s-3)}
  .hero__img{height:clamp(18rem,86vw,26rem)}
}
@media (min-width:48rem){
  /* Tablet and desktop: copy left, Nina right next to the 4 WEEK PLAN block (round 2: she was lost in the middle
     of the right column), sized by height, feet on the floor line just above the tape. */
  .hero__in{grid-template-columns:minmax(0,auto) minmax(0,1fr);column-gap:var(--s-6);grid-template-areas:"tag ph" "h1 ph" "lead ph" "acts ph" "go ph";grid-template-rows:1fr auto auto auto auto}
  .hero__ph{grid-area:ph;margin:0 0 2.25rem clamp(2rem,6vw,6rem);align-self:end;justify-self:start}
  .hero__img{height:min(44rem,88vw)}
  .hero__lead{max-width:26rem}
  .hero__row{flex-direction:row;align-items:flex-end}
  .hero__unit{display:grid;justify-items:start}
  .hero__soon{font-size:1.25rem;padding:.4rem .6rem .32rem;border-radius:.6rem}
  .hero__last{gap:.9rem}
  .hero__h1{padding-top:var(--s-4)}
  .hero__lead{padding-top:var(--s-5)}
  .hero__go{padding-bottom:var(--s-8)}
}
@media (min-width:64rem){
  /* Round 2: the hero leaves 7rem of the first screen for the nav and the whole tape.
     The 4 and the photo scale with the viewport height so 1280x720 and 1440x800 keep the button and the tape. */
  .hero__in{min-height:clamp(34rem,calc(100svh - 7rem),52rem)}
  .hero__h1{--d:clamp(10rem,min(50vw,calc(88svh - 27rem)),26rem)}
  .hero__digit{font-size:var(--d)}
  .hero__free,.hero__unit{font-size:min(7rem,calc(var(--d) * .27))}
  .hero__lead{max-width:34rem}
  .hero__h1{align-self:end}
  .hero__in > .hero__copy > .acts{padding-top:var(--s-6)}
  .hero__go{padding-bottom:var(--s-7)}
}

/* ---------- Ticker as a slanted tape between hero and plan ----------
   Round 4: it runs by itself again, calm and constant (CSS animation, 70 s a loop). WCAG 2.2.2 without a
   visible button: it pauses on hover, on focus inside it and off screen, and a click / tap on the tape or
   the hidden-until-focused toggle button (aria-pressed) stops it until pressed again. Static without JS
   or with reduced motion. */
.tape{position:relative;z-index:4;overflow-x:clip;margin-top:-1.5rem}
.tape .ticker{width:106%;margin-left:-3%;rotate:calc(-1 * var(--tilt))}
.tape .ticker__view{padding-left:calc(3% + var(--gutter))}
/* The toggle: a real button, invisible until it has keyboard focus (then an ink pill with a ring). It sits
   over the start of the tape, 44 px tall, so a click there is also a click on the tape. */
.ticker__stop{position:absolute;left:calc(3% + var(--gutter));top:50%;translate:0 -50%;z-index:3;min-height:var(--tap);padding:0 var(--s-4);border:3px solid var(--white);border-radius:var(--r-md);background:var(--ink);color:var(--white);font:600 var(--fs-small)/1 var(--font-text);cursor:pointer;opacity:0}
.ticker__stop:focus-visible{opacity:1;outline-color:var(--butter)}
.ticker__stop[aria-pressed="true"]::after{content:" (paused)"}
/* Round 5: on touch, one short line under the tape says a tap stops it (home.js shows it only on touch
   screens while the tape runs, and swaps the text while it is stopped). Ink-2 on cream 7.6:1. */
.tape__tip{position:absolute;right:var(--gutter);top:100%;margin:.875rem 0 0;font:500 var(--fs-small)/1.3 var(--font-text);color:var(--ink-2)}

/* ---------- Plan intro + stats ---------- */
.plan-intro{padding-top:calc(var(--s-8) + 1rem);padding-bottom:calc(var(--s-7) + var(--cut))}
.plan-intro .sec-head{margin-bottom:0}

/* ---------- Four week panels ---------- */
.weeks-stack{position:relative}
.wk{position:relative;padding-block:calc(var(--s-6) + var(--cut)) var(--s-7);margin-top:calc(-1 * var(--cut));clip-path:polygon(0 var(--cut),100% 0,100% 100%,0 100%)}
.wk__in{display:grid;gap:var(--s-4);grid-template-columns:minmax(0,1fr);grid-template-areas:"name" "side" "days"}
.wk__name{grid-area:name;font-size:clamp(2.25rem,8vw,3.25rem);line-height:.95;padding-right:.2em}
/* Round 2: the skewed heading carries its panel's ground on itself (same colour, invisible). Checked by
   pixel at every scroll position of the stack: week 4's heading only ever sits on its own ground. axe ordered the transformed span below its sticky section and fell through to the
   page cream (1.11:1, a false positive); with the ground on the element it reads the real pair. */
.wk__name .slant,.wk__name .ln{background:var(--ground)}  /* round 3: the split lines carry it too */
/* Nina: one pair per goal card (brief/VISUAL.md): 1 red ground, butter numeral, white text | 2 butter ground,
   red numeral, ink text | 3 ink ground, butter numeral, white text | 4 rose ground, red-deep numeral, ink text |
   plan tab white, red, ink | Latest butter, ink. */
.wk__side{grid-area:side;display:flex;align-items:flex-end;gap:var(--s-4)}
.wk__n{flex:none;font:400 clamp(7.5rem,34vw,15rem)/.9 var(--font-display);color:var(--time);margin:0 0 -.12em -.05em}
.wk__num{display:inline-block;transform:skewX(var(--slant));transform-origin:0 100%;padding-right:.06em}
.wk__goal{max-width:22rem;font-size:var(--fs-body);line-height:1.45;font-weight:500;padding-bottom:.4rem}
/* Owner, 2026-11-18: cards 1-3 match a public playlist, so a small "Whole playlist" text link sits under the goal.
   Its target is 44 px tall, but the negative block margins (overlapping the goal text above, not a card) give it
   about 20 px of layout and the goal drops its bottom padding, so on phones the card stays inside the 536 px budget. */
.wk__txt{display:grid;justify-items:start}
.wk__txt > .wk__goal:not(:last-child){padding-bottom:0}
.wk__pl{display:inline-flex;align-items:center;gap:.35em;min-height:var(--tap);margin:-.75rem 0 -.6rem;color:var(--link);font:600 var(--fs-small)/1.2 var(--font-text);text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:2px}
.wk__pl-arr{text-decoration:none;display:inline-block;transition:translate .35s var(--ease-out)}
@media (hover:hover){.wk__pl:hover .wk__pl-arr{translate:.25em 0}}
.days{grid-area:days;list-style:none;margin:0;padding:0;display:grid;gap:var(--s-3)}
.days li{display:grid}
/* Round 6 (C): typographic day cards, no thumbnail. Giant slanted minutes, a rounded "DAY n" tab top-left,
   the plan name in Anton, the real YouTube title small. One pair per week (--c-*), and the hover pair the
   sweep floods in (--h-*), measured in NOTES.md:
   (The pairs are listed on the .day rule below.)
   The tab is the text colour with the card colour on it.
   Round 7 (owner, 2026-11-12): NO outline on any card. The 3 px frame is gone, so a card never floods with the
   colour of its own ground (weeks 1 and 2 changed). The card paints no background of its own: both faces sit
   inside the one rounded clip, so no rim of the resting colour shows around a flooded card. */
/* Nina pairs (WCAG 2.x): card 1 (red ground) white card, red minutes 5.88, ink 18.65, ink-2 7.96 -> ink, butter 13.56, white 18.65 |
   card 2 (butter ground) red card, butter minutes 4.28 large, white 5.88 -> white, red 5.88, ink 18.65, ink-2 7.96 |
   card 3 (ink ground) butter card, red minutes 4.28 large, ink 13.56, ink-2 5.79 -> red, butter 4.28 large, white 5.88 |
   card 4 (rose ground) ink card, butter minutes 13.56, white 18.65 -> butter, red 4.28 large, ink 13.56. */
.day{--c-bg:var(--white);--c-tx:var(--ink);--c-tx2:var(--ink-2);--c-min:var(--red);
     --h-bg:var(--ink);--h-tx:var(--white);--h-tx2:var(--white);--h-min:var(--butter);
     --sl:1.125rem;position:relative;display:grid;min-height:6.5rem;border-radius:var(--r-lg);color:var(--c-tx);text-decoration:none;overflow:hidden;isolation:isolate}
.pair-2 .day{--c-bg:var(--red);--c-tx:var(--white);--c-tx2:var(--white);--c-min:var(--butter);--h-bg:var(--white);--h-tx:var(--ink);--h-tx2:var(--ink-2);--h-min:var(--red)}
.pair-3 .day{--c-bg:var(--butter);--c-tx:var(--ink);--c-tx2:var(--ink-2);--c-min:var(--red);--h-bg:var(--red);--h-tx:var(--white);--h-tx2:var(--white);--h-min:var(--butter)}
.pair-4 .day{--c-bg:var(--ink);--c-tx:var(--white);--c-tx2:var(--white);--c-min:var(--butter);--h-bg:var(--butter);--h-tx:var(--ink);--h-tx2:var(--ink);--h-min:var(--red)}
/* Round 2: the small line on red cards and on the cards over rose reads heavier. General Sans ships 400 (400-500)
   and 600 (600-800) files, so 500 renders as 400: 600 is the next real weight. */
.pair-2 .day__yt,.pair-4 .day__yt{font-weight:600}
.day .face--on{--c-bg:var(--h-bg);--c-tx:var(--h-tx);--c-tx2:var(--h-tx2);--c-min:var(--h-min)}
/* 390: one row, about 104 px tall. Left: the DAY tab (top-left corner) over the minutes; right: name + title. */
.day .face{display:grid;grid-template-columns:5.25rem minmax(0,1fr);align-items:center;column-gap:var(--s-3);padding:.75rem 1rem .75rem .875rem;background:var(--c-bg);color:var(--c-tx)}
.day__lead{display:flex;flex-direction:column;align-items:flex-start;gap:.375rem}
.day__txt{display:grid;gap:.25rem;min-width:0}
.day__tab{padding:.3125rem .5rem .25rem;border-radius:.5rem;background:var(--c-tx);color:var(--c-bg);font:400 .875rem/1 var(--font-display);text-transform:uppercase}
.day__min{display:flex;align-items:baseline;gap:.05em;font:400 3.5rem/.9 var(--font-display);color:var(--c-min);transform:skewX(var(--slant));transform-origin:0 100%;padding-right:.06em}
.day__min small{font-size:.3em;color:var(--c-tx)}
.day__name{min-width:0;font:400 1.5rem/1 var(--font-display);text-transform:uppercase;text-wrap:balance}
.day__nm{display:inline-block;transform:skewX(var(--slant));transform-origin:0 100%;padding-right:.1em}
.day__yt{min-width:0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;font:500 .8125rem/1.25 var(--font-text);color:var(--c-tx2)}

@media (min-width:48rem){
  .days{grid-template-columns:repeat(3,minmax(0,1fr))}
  /* 1440: three per row, the same height in every week (the tallest name + title fits). */
  .day{--sl:2.75rem;min-height:16.25rem}
  .day .face{display:flex;flex-direction:column;align-items:stretch;padding:1rem 1.125rem 1.125rem}
  .day__lead{gap:.625rem}
  .day__min{font-size:6rem}
  .day__txt{margin-top:auto;padding-top:.5rem;gap:.5rem}
  .day__name{font-size:1.5rem;line-height:1}  /* r6 review: two-line names were touching the minutes at 1.75rem */
  .day__yt{font-size:.875rem;min-height:2.5em}  /* r6 review: two lines reserved so the names share a baseline */
}
@media (min-width:64rem){
  .wk{padding-block:calc(var(--s-5) + 2.5rem) var(--s-7)}
  .wk__in{grid-template-columns:minmax(0,19rem) minmax(0,1fr);grid-template-areas:"name name" "side days";column-gap:var(--s-7);align-items:end}
  .wk__side{flex-direction:column;align-items:flex-start;gap:var(--s-3)}
  .wk__n{font-size:clamp(11rem,16vw,15rem);margin-bottom:0}
  .days{margin-top:0;align-self:end}
}

/* ---------- Latest: a sideways rail at every width ----------
   Round 3 (owner on h4): native swipe on touch (scroll-snap, the next card peeks at the right edge,
   momentum, no hijack) and h4's side arrows on hover devices (home.js unhides them). */
.rail-wrap{position:relative}
.rail{list-style:none;margin:0 calc(-1 * var(--gutter));padding:var(--s-3) var(--gutter) var(--s-4);display:grid;grid-auto-flow:column;grid-auto-columns:min(80%,20rem);gap:var(--s-4);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gutter);overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
.rail > li{display:grid;scroll-snap-align:start}
.rail-foot{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-4);min-height:var(--tap)}
/* Round 5: bar and arrows read as one control, side by side; a disabled arrow dims instead of leaving a hole. */
.rail-ctl:not([hidden]){display:flex;gap:var(--s-2)}
.rail-btn{width:var(--tap);height:var(--tap);display:inline-flex;align-items:center;justify-content:center;border:3px solid currentColor;border-radius:var(--r-md);background:transparent;color:var(--on-ground);font:600 1.25rem/1 var(--font-text);cursor:pointer}
.rail-btn:disabled{opacity:.5;cursor:default}
.latest:has(.rail-ctl:not([hidden])) .rail-hint{display:none}
.vcard--paper{--ground:var(--white);--on-ground:var(--ink);--on-ground-2:var(--ink-2);--time:var(--red)}
/* Round 6: the white text strip holds its face twice (see the sweep at the end); the copy is red with
   white text (5.88), butter minutes (4.28, large) and an arrow that slides in on the right. */
.vcard__body{display:grid;align-items:stretch;padding:0;--sl:1.125rem}
.vcard .face{position:relative;display:flex;align-items:center;gap:var(--s-3);padding:var(--s-4) 2rem var(--s-4) var(--s-4);background:var(--ground);color:var(--on-ground)}
.vcard .face--on{--ground:var(--red);--on-ground:var(--white);--on-ground-2:var(--white);--time:var(--butter)}
.vcard__txt{display:grid;gap:.3rem;min-width:0;flex:1}
.vcard__min{min-width:0;font-size:2.75rem;padding-right:.12em}
/* The arrow sits in the right padding of the strip (absolute), so it costs the title no width. */
.vcard__arr{position:absolute;right:.625rem;top:50%;margin-top:-.5em;font:600 1.25rem/1 var(--font-text);visibility:hidden}
.face--on .vcard__arr{visibility:visible}
.rail-bar{display:none}
.rail-hint{font-weight:500}
/* The rail ends on an ink card, the one way to the whole channel here: "More on the channel" (no count, it
   would go stale). Its sweep floods red (white text 5.88). */
.vend{display:grid;min-height:100%;border-radius:var(--r-lg);background:var(--ink);color:var(--white);text-decoration:none;overflow:hidden;--sl:2.75rem}
.vend .face{--time:var(--butter);--on-ground:var(--white);display:grid;align-content:space-between;justify-items:start;gap:var(--s-5);padding:var(--s-5);background:var(--ink);color:var(--white)}
.vend .face--on{background:var(--red)}
/* One line per word group, each skewed from its own bottom-left corner, so the title and "See them all" share
   one left edge. Nina has no number here, so the title is the big line. */
.vend__t{display:grid;justify-items:start;font:400 clamp(1.75rem,5vw,2.25rem)/1 var(--font-display);text-transform:uppercase}
.vend__t > span{display:block;transform:skewX(var(--slant));transform-origin:0 100%;padding-right:.1em}
.vend__t--big{font-size:clamp(2.5rem,11vw,3rem);line-height:.92}
.vend__t--big > span{white-space:nowrap}
.vend .face{align-content:end}
.day__min--all{text-transform:uppercase}
.vend__go{font:600 1.0625rem/1.3 var(--font-text)}
/* Mouse drag on the rail (home.js, fine pointer). */
.rail.is-grab{cursor:grab}
.rail.is-dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto;user-select:none}
.rail img{-webkit-user-drag:none}
/* From 768 the rail bleeds to the right edge of the screen, so the peeking card is cut by the screen,
   not by the content column; card widths still follow the column (--rc). */
.latest{overflow-x:clip}
/* Latest and the playlists share the butter panel. */
/* Round 2: the playlists sit on the page cream (butter Latest, ink subscribe card, cream playlists), full bleed to
   the bottom of the panel; the panel's own bottom padding moves into .lib. */
.latest.panel{padding-bottom:0}
.lib{--ground:var(--cream);--on-ground:var(--ink);--on-ground-2:var(--ink-2);--focus:var(--ink);--ring:var(--ink);--link:var(--red-deep);color:var(--ink);margin-top:var(--s-8);padding-block:var(--s-8);background:var(--cream);box-shadow:0 0 0 100vmax var(--cream);clip-path:inset(0 -100vmax)}
#latest,#library{scroll-margin-top:calc(1rem + var(--s-8))}
@media (min-width:48rem){
  /* Round 5: the rail's left edge is the content column (it was cut 32 px outside it); it still bleeds
     to the right edge of the screen. The focus ring of a rail card is drawn inside the card so the
     column edge never clips it. */
  .rail{--rc:calc(min(100vw, var(--wrap)) - 2 * var(--gutter));margin-left:0;padding-left:0;scroll-padding-inline:0 var(--gutter);margin-right:calc(50% - 50vw);grid-auto-columns:calc((var(--rc) - 2 * var(--s-4)) / 2.3)}
  .rail .card:focus-visible{outline:3px solid var(--white);outline-offset:-6px;box-shadow:inset 0 0 0 3px var(--ink)}  /* r6 review: white ring inside an ink ring, visible on the photo and on the white strip */
}
@media (min-width:64rem){.rail{grid-auto-columns:calc((var(--rc) - 3 * var(--s-4)) / 3.3)}}

/* ---------- About ---------- */
.about__in{display:grid;gap:var(--s-6);align-items:center}
.about__frame{border-radius:var(--r-lg);overflow:hidden;aspect-ratio:4/5;max-width:26rem;width:100%}
.about__img{width:100%;height:100%;object-fit:cover}
.about__txt{display:grid;gap:var(--s-4);max-width:36rem;justify-items:start}
.about__links{display:flex;flex-wrap:wrap;gap:0 var(--s-5)}
@media (min-width:48rem){.about__in{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:var(--s-8)}}

/* ---------- Playlists (owner, 2026-11-18: three public playlists; short labels, no counts) ---------- */
.pls{list-style:none;margin:0;padding:0;display:grid;gap:var(--s-3);grid-template-columns:minmax(0,1fr)}
.pls li{display:grid}
.pl{display:grid;min-height:4.5rem;background:var(--white);color:var(--ink);border-radius:var(--r-lg);text-decoration:none;overflow:hidden;--sl:.8rem}
.pl .face{display:flex;align-items:center;gap:var(--s-4);padding:var(--s-3) var(--s-5);background:var(--white);color:var(--ink)}
.pl .face--on{background:var(--red);color:var(--white)}  /* white on red 5.88 */
.pl__t{flex:1;font:400 1.75rem/1 var(--font-display);text-transform:uppercase;transform:skewX(var(--slant));transform-origin:0 100%;padding-right:.1em}
.pl__arr{flex:none;font:600 1.375rem/1 var(--font-text)}
@media (min-width:48rem){.pls{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ---------- Close: the last cover ---------- */
.close{overflow:hidden;padding-bottom:0}  /* rose ground: ink text 9.76, red-deep 3 (4.34, large), red button with white label */
/* Nina's closing photo is seated and landscape (1017 x 860), sized by height (--ch). Round 2: bigger, and her floor
   is the top of the action block, so she sits on it instead of floating. Phones: she rises beside the lower part
   of the headline (the top-left of the picture is empty, her feet stay below MINUTES) and sits on the line + buttons. */
.close__in{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"h" "ph" "line" "act";align-items:end;--ch:clamp(11rem,56vw,17rem)}
.close__copy{display:contents}
.close__h{grid-area:h;margin-bottom:var(--s-3);position:relative;z-index:2}
.close__h{display:grid;justify-items:start;font-size:clamp(2.5rem,9vw,5rem);line-height:.9}
/* The 3 is pulled left so its slanted stem lines up with START WITH and MINUTES (round 2: ragged left edge). */
.close__n{display:block;font-size:clamp(8.5rem,38vw,17rem);line-height:.9;color:var(--time);transform:skewX(var(--slant));transform-origin:0 100%;padding-right:.06em;margin-left:-.07em}
.close__line{grid-area:line;font:500 var(--fs-lead)/1.4 var(--font-text);max-width:28rem;position:relative;z-index:2;padding-top:var(--s-2)}
.close__act{grid-area:act;display:grid;gap:var(--s-2);justify-items:start;padding:var(--s-4) 0 var(--s-8)}
.close__note{max-width:24rem;font:500 var(--fs-small)/1.3 var(--font-text)}
.close__ph{grid-area:ph;justify-self:end;margin-top:calc(var(--ch) * -.7)}
/* A fixed box (1017 x 860), contained, contact on the bottom edge: a retouched file of a slightly different
   size changes nothing in the layout. */
.close__img{height:var(--ch);width:auto;max-width:none;aspect-ratio:1017/860;object-fit:contain;object-position:50% 100%;transform-origin:50% 100%}
/* Tablet: she fits whole beside the headline. */
@media (min-width:48rem){.close__ph{margin-top:calc(var(--ch) * -1)}}
/* Desktop: headline and line left, Nina right with her right edge on the nav / content edge, both sitting on the
   action row, which runs the full width under them. */
@media (min-width:64rem){
  .close__in{--ch:clamp(18rem,40vw,36rem);grid-template-columns:minmax(0,auto) minmax(0,1fr);column-gap:var(--s-7);grid-template-areas:"h ph" "line ph" "act act";grid-template-rows:1fr auto auto}
  .close__h{align-self:end;padding-top:var(--s-4)}
  .close__line{max-width:22rem}
  .close__ph{justify-self:end;align-self:end;margin:0}
  .close__act{padding-top:var(--s-5)}
}

.footer__nav a{text-underline-offset:.2em}

/* =================== Motion (never required to read or use the page) ===================
   CSS keeps: the hero entrance (ends visible, no opacity), the card sweep, the two scroll-timeline bars.
   GSAP (home.js) does: hero exit, split-line headings, the stack fold, card arrival, numbers,
   the scroll-driven tape, the magnetic button, the close. */
@media (prefers-reduced-motion: no-preference){
  @keyframes slam{from{translate:-40% 0;scale:1.2}to{translate:0 0;scale:1}}
  .hero__digit{animation:slam .75s var(--ease-snap) .05s both}


  /* Rail position bar (scroll timeline of the rail itself, every width). */
  @supports (animation-timeline: scroll()){
    @keyframes rail{from{translate:0 0}to{translate:233.33% 0}}
    .rail-wrap{timeline-scope:--rail}
    .rail{scroll-timeline:--rail inline;scrollbar-width:none}
    .rail::-webkit-scrollbar{display:none}
    .rail-bar{display:block;flex:0 1 12rem;height:.375rem;border-radius:1rem;background:var(--white);overflow:hidden}
    .rail-bar span{display:block;width:30%;height:100%;border-radius:1rem;background:var(--ink);animation:rail linear both;animation-timeline:--rail}
  }
  .rail{scroll-behavior:smooth}
}

/* Everything below needs home.js to drive it: `scripting: enabled` keeps it off with JS disabled. */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled){
  /* Tape: one line, both copies. It runs once home.js has wired its pause controls (html.tape-js). */
  @keyframes tape-run{to{transform:translate3d(-50%,0,0)}}
  .ticker__track{flex-wrap:nowrap;width:max-content}
  .ticker__dup{display:flex}
  .tape-js .ticker__track{animation:tape-run 70s linear infinite}
  .tape-js .ticker{cursor:pointer}
  .tape:is(.is-stop,.is-off) .ticker__track,.tape:focus-within .ticker__track{animation-play-state:paused}
  @media (hover:hover){.tape:hover .ticker__track{animation-play-state:paused}}

  /* Numbers: odometer overlay drawn by home.js over the real digits (which keep the box). */
  .odo-on,.odo-wait{-webkit-text-fill-color:transparent}
  .odo{position:absolute;left:0;top:0;display:flex;-webkit-text-fill-color:currentColor;pointer-events:none;white-space:nowrap}
  .odo__c{display:block;overflow:hidden}
  .odo__s{display:block;will-change:transform}
  .odo__s > span{display:block}
  .odo-host{position:relative}

  /* Split-line headings: the mask is padded so Anton's corners and the skew never get cut. */
  .ln-mask{padding:.12em .2em .12em 0;margin:-.12em -.2em -.12em 0}

  /* Magnetic main button: GSAP owns its transform. */
  .js-magnet{transition:none}
  .js-magnet:hover,.js-magnet:active{transform:none}

  .about__img{scale:1.14}
  /* Skewed words that GSAP slides sideways: the offset rides in a custom property so the skew stays. */
  .hero__free,.close__h > .slant{--fx:0px;transform:translate3d(var(--fx),0,0) skewX(var(--slant))}
  html.lenis,html.lenis body{height:auto}

  /* ---- The stack: the four weeks and "Latest workouts" slide over each other like covers.
     Plain CSS sticky (native scroll, smooth on phones); home.js only writes each panel's height (--h)
     and scrubs the fold (scale + shade). A panel taller than the screen sticks by its bottom edge,
     so every pixel of it has been on screen before the next one covers it. Latest is the fifth
     panel: it is not sticky, it slides over week 4 and takes the whole stack with it.
     Round 8 (the owner's iPhone, 2026-11-12): on a phone week 4 is taller than the screen, so its
     bottom-edge stick put it over the "Week 2" and "Week 3" strips. Now (a) a week may leave its
     empty bottom padding (all but .5rem) under the fold before it gives up its strip position, and
     (b) the last week always lands on its own strip; when it does not fit there, home.js closes the
     deck with it: the four weeks leave together, strips on show, and Latest follows below.
     (c) When the screen is too short for some earlier week to sit under its strip (small phones,
     landscape), home.js sets .is-flat: no strips at all, every card covers the previous one whole,
     instead of a card half over somebody's title. --off-n is the nominal strip, --off the one in use.
     Round 9 (owner, 2026-11-12): outside flat mode the deck no longer closes with the last week. The week
     stays on its strip, home.js moves everything under its title up with the page (clipped at the strip
     line) until its two buttons are on screen, and then Latest lands under the four strips as on desktop.
     .is-closed is now only flat mode. */
  .weeks-stack{--off-n:3rem;--off:var(--off-n)}
  /* Round 2: the fold veil (home.js reads --shade) is lighter on butter and rose, where 6 % ink turned them
     mustard and grey-pink. */
  .panel{--shade:.06}
  .panel.ground-butter,.panel.ground-rose{--shade:.022}
  .weeks-stack.is-flat{--off:0rem}
  .panel{--top:min(calc(var(--i) * var(--off)),calc(100svh - var(--h,200vh) + var(--pb,0px) - .5rem))}
  .wk:last-of-type{--top:calc(var(--i) * var(--off))}
  .wk{position:sticky;top:var(--top);margin-top:0;clip-path:none;padding-top:.75rem;border-radius:var(--r-lg) var(--r-lg) 0 0;transform-origin:50% 0}
  .latest.panel{position:relative;border-radius:var(--r-lg) var(--r-lg) 0 0;padding-top:var(--s-6);min-height:calc(100svh - 5 * var(--off))}
  #latest{scroll-margin-top:calc(5 * var(--off) + var(--s-6))}
  .weeks-stack.is-closed #latest{scroll-margin-top:var(--s-6)}
  /* Round 4: Latest lands at 4 strips from the top (only the "Week 4" strip shows above it) and then the
     whole stack leaves together. For that every week must release at the same moment as Latest lands:
     home.js gives each week an invisible bottom extension (--ext, bottom padding) up to Latest's landing
     bottom and pulls the next panel back up by the same amount (negative margin on the zero-height mark
     before it), so the flow does not move. Sticky keeps the MARGIN box inside the stack, which is why the
     negative margin cannot sit on the week itself. Latest is at least a screen minus the strips tall.
     The extension always sits under the next panel. */
  .wk{--pb:var(--s-6);padding-bottom:calc(var(--pb) + var(--ext,0px))}
  .panel__shade{position:absolute;inset:0;background:var(--ink);opacity:0;pointer-events:none;z-index:4;border-radius:inherit}
  /* A panel with keyboard focus comes to the front, unshaded (WCAG 2.4.11). */
  .wk:has(:focus-visible){z-index:6}
  .wk:has(:focus-visible) .panel__shade{opacity:0!important}
  /* Nina: the 68 px strip from tablet up (a 48 px strip at 768 cut 8 px off the 52 px card title). */
  @media (min-width:48rem){
    .weeks-stack{--off-n:4.25rem}
    .wk{padding-top:1rem;--pb:var(--s-6)}
  }
}

/* 404 */
.nf{min-height:100svh;padding-bottom:var(--s-8)}
.nf__in{display:grid;gap:var(--s-5);justify-items:start;padding-top:var(--s-6)}
.nf__n .hero__digit{font-size:clamp(9rem,40vw,20rem)}

/* First view: the goal cards and Latest are not laid out until they come near the screen, so their lazy
   thumbnails are not fetched with the first view. The estimates are the measured content heights (Nina,
   2026-11-18, real.cjs): a wrong estimate made the deck start in flat mode for a moment (a card measured
   as taller than the 536 px phone budget) and moved everything under Latest once it was laid out.
   Phones: cards 482 / 485 / 492 px at 375 / 390 / 430 (the three with a playlist link are the same, see
   .wk__pl), Latest + playlists 1247-1254 (round 2, cream playlists). 768: cards 510, Latest + playlists 1004.
   Desktop 1440: cards 365 (387 with the playlist link), Latest + playlists 1020. `auto` keeps the real size once seen. */
@media (max-width:63.99rem){
  .wk > .wk__in{content-visibility:auto;contain-intrinsic-size:auto calc(18vw + 25.95rem)}
  .latest{content-visibility:auto;contain-intrinsic-size:auto 78.2rem}
}
@media (min-width:48rem) and (max-width:63.99rem){
  .wk > .wk__in{contain-intrinsic-size:auto 31.9rem}
  .latest{contain-intrinsic-size:auto 62.75rem}
}
@media (min-width:64rem){
  .wk > .wk__in{content-visibility:auto;contain-intrinsic-size:auto 22.8rem}
  .wk:has(.wk__pl) > .wk__in{contain-intrinsic-size:auto 24.2rem}
  .latest{content-visibility:auto;contain-intrinsic-size:auto 63.75rem}
}

/* =================== Round 6 (E): one hover gesture, a slanted sweep ===================
   Every card holds its face twice in one grid cell; the copy (.face--on, aria-hidden) is in the hover colours
   and clipped by a parallelogram leaning like the slanted Anton (--sl = the card height x tan 10deg, set per
   card type). home.js sets data-sw="l|r": the side the pointer came in by, then the side it left by. The copy
   sweeps in from that side and out the other way, so text changes colour exactly at the edge. The card box
   never moves or resizes (only clip-path changes). Keyboard focus: the same end state, in from the left,
   plus the ring. Touch: the colour on :active, no sweep. Reduced motion: the state changes, no sweep. */
.face{grid-area:1/1;min-width:0}
.face--on{pointer-events:none;
  /* 1 px past the top and bottom edges, so no anti-aliased seam shows against the card. */
  --off-l:polygon(0 -1px,0 -1px,calc(0% - var(--sl)) calc(100% + 1px),calc(0% - var(--sl)) calc(100% + 1px));
  --off-r:polygon(calc(100% + var(--sl)) -1px,calc(100% + var(--sl)) -1px,100% calc(100% + 1px),100% calc(100% + 1px));
  --full:polygon(0 -1px,calc(100% + var(--sl)) -1px,100% calc(100% + 1px),calc(0% - var(--sl)) calc(100% + 1px));
  clip-path:var(--off-l)}
[data-sw="r"] .face--on{clip-path:var(--off-r)}
.card.is-on .face--on,.card:focus-visible .face--on{clip-path:var(--full)}
@media (hover:hover) and (pointer:fine){html:not(.sw-js) .card:hover .face--on{clip-path:var(--full)}}
@media (hover:none){.card:active .face--on{clip-path:var(--full)}}
.vend:focus-visible{outline-color:var(--white)}  /* the ring is inside the card on desktop: white on ink 18.65:1 */
@media (prefers-reduced-motion: no-preference){
  .face--on{transition:clip-path .26s cubic-bezier(.55,0,.75,.2)}
  .card.is-on .face--on,.card:focus-visible .face--on{transition:clip-path .42s cubic-bezier(.22,1,.36,1)}
  @media (hover:hover) and (pointer:fine){html:not(.sw-js) .card:hover .face--on{transition:clip-path .42s cubic-bezier(.22,1,.36,1)}}
  .day.is-on .face:not(.face--on),.day:focus-visible .face:not(.face--on){transition:opacity 0s .42s}
  @media (hover:hover) and (pointer:fine){html:not(.sw-js) .day:hover .face:not(.face--on){transition:opacity 0s .42s}}
  .vcard__arr{transition:translate .42s cubic-bezier(.22,1,.36,1) .08s}
  .sw-js .vcard:not(.is-on):not(:focus-visible) .face--on .vcard__arr{translate:-.75em 0}
  .btn--secondary{transition:transform var(--d-fast) var(--ease-out),background-color .2s var(--ease-out),color .2s var(--ease-out)}
}
@media (hover:none){.card:active .face--on{transition:none}}
.sw-snap .face--on{transition:none!important}
/* No rim (round 7): once the copy covers a day card, the resting face under it stops painting, so no 1 px of the
   resting colour shows on the rounded edge. Opacity, not visibility: the real text stays for screen readers. */
.day.is-on .face:not(.face--on),.day:focus-visible .face:not(.face--on){opacity:0}
@media (hover:hover) and (pointer:fine){html:not(.sw-js) .day:hover .face:not(.face--on){opacity:0}}
@media (hover:none){.day:active .face:not(.face--on){opacity:0}}

/* The NINA tag: same shape as before (Cabinet Grotesk 800, white on a solid tab flush in the top-left
   corner, the bottom-right corner rounded), red #C8102E (white 5.88:1). */
.hero__top{position:static;justify-content:flex-end}
.hero__top > nav{position:relative;z-index:3}
.hero__top > .nina-tab{position:absolute;top:0;left:0;z-index:3;background:var(--tab);color:var(--on-tab);font:800 1.5rem/1 "Cabinet Grotesk",var(--font-text);letter-spacing:0;padding:.8rem 1.15rem .75rem;border-radius:0 0 1rem 0}
.hero__top > .nina-tab:focus-visible{outline:3px solid var(--white);outline-offset:-6px}
@media (min-width:64rem){.hero__top > .nina-tab{font-size:1.875rem;padding:1rem 1.45rem .95rem;border-radius:0 0 1.25rem 0}}

/* Round 11 (owner, 2026-11-12). (1) The two plan buttons leave week 4 and get their own tab in the deck,
   "The whole plan", on white: week 4 is now as short as the others, fits under its strip on phones and
   never needs the inner scroll that left a cut "4" under its title. (2) Latest's subscribe call gets room
   and a voice of its own. (3) About keeps one YouTube link. (4) Smooth in-page scroll and a press response
   on every button (home.js). */
.plan-tab__in{grid-template-areas:"name" "txt" "acts";row-gap:var(--s-3)}
.plan-tab__txt{grid-area:txt;max-width:30rem;font-size:var(--fs-body);line-height:1.45;font-weight:500;margin:0}
.plan-tab__in > .acts{grid-area:acts;padding-top:var(--s-2)}
@media (min-width:64rem){
  .plan-tab__in{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name" "txt acts";align-items:center}
  .plan-tab__in > .acts{padding-top:0}
}
.sub-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--s-4) var(--s-6);margin-top:var(--s-7);padding:var(--s-5);border-radius:var(--r-lg);background:var(--ink);color:var(--white)}
.sub-cta__t{margin:0;max-width:26rem;font-size:var(--fs-body);line-height:1.4;font-weight:500}
/* Nina: the cadence line is the whole message, two phrases, each skewed from its own corner (one left edge). */
.sub-cta__k{display:grid;justify-items:start;font:400 clamp(1.75rem,6vw,2.5rem)/1 var(--font-display);text-transform:uppercase;color:var(--butter)}
.sub-cta__k > span{display:block;transform:skewX(var(--slant));transform-origin:0 100%;padding-right:.1em}
.sub-cta .sub-btn{--action:var(--butter);--on-action:var(--ink);height:3.5rem;padding:0 var(--s-5) 0 var(--s-2);gap:var(--s-3)}
.sub-btn__ico{flex:none;width:2.5rem;height:2.5rem;padding:.6rem .5rem .6rem .7rem;border-radius:50%;background:var(--ink);fill:var(--butter)}
@media (max-width:30rem){.sub-cta .sub-btn{width:100%;justify-content:flex-start}}
@media (prefers-reduced-motion:no-preference){
  .btn,.alink,.sub-btn{transition:transform .35s var(--ease-snap),background-color .2s var(--ease-out),color .2s var(--ease-out)}
  .btn:active,.sub-btn:active{transform:scale(.96);transition-duration:.08s}
  .sub-btn:hover .sub-btn__ico,.sub-btn:focus-visible .sub-btn__ico{transform:translateX(2px)}
  .sub-btn__ico{transition:transform .35s var(--ease-snap)}
}
/* Round 11: on phones week 4 is no longer the last card of the deck, so it must sit under its own
   strip like the others: a slightly smaller numeral and tighter gaps keep every week under
   100svh - 3 strips at 390 x 664 (an iPhone with its bars showing). */
/* The plan tab is short and right before Latest: no lazy layout, so nothing jumps under it. */
.wk > .plan-tab__in{content-visibility:visible}
@media (max-width:63.99rem){
  .wk__in:not(.plan-tab__in){gap:var(--s-3)}
  .wk__n{font-size:clamp(7rem,29vw,15rem)}
}

/* Floor shadows (round 13 technique: a soft radial ellipse in ::before, behind the cut-out). Tinted a deep
   red-brown instead of ink so it sits on pink and rose like a real floor shadow. Hero: under both feet (her feet
   fill the image width; the ellipse runs a little past them because she is narrow). Close: one long flat
   ellipse from the heel to under the hips, where the seated figure touches the floor (0-80 % across). */
.hero__ph{position:relative}
.hero__ph::before{content:"";position:absolute;z-index:-1;left:-28%;right:-28%;bottom:-1.4%;height:3.2%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(74,14,26,.5),rgba(74,14,26,.21) 55%,rgba(74,14,26,0));pointer-events:none}
.close__ph{position:relative}
.close__img{position:relative;z-index:1}
.close__ph::before{content:"";position:absolute;z-index:0;left:-2%;width:86%;bottom:-2.5%;height:7%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(74,14,26,.4),rgba(74,14,26,.16) 55%,rgba(74,14,26,0));pointer-events:none}
@media (max-width:63.99rem){
  .wk__n{margin-bottom:-.03em;font-size:clamp(6.5rem,26.5vw,15rem)}
}
/* Desktop: both photos stand just above the tape and the section edge so the floor shadow shows. */
@media (min-width:64rem){
  .hero__ph{margin-bottom:2.25rem}
  .hero__img{height:min(clamp(26rem,calc(100svh - 9.5rem),50rem),58vw)}
}
