/* Home (DESIGN.md 9): the opening, lit line, skills stack, cards, partners, dawn */

/* ---------- 1. The opening (dark): rain on a night window, the sign behind it, a dive into one drop ---------- */
.dive { margin-top: calc(-1 * var(--header-h)); }
.dive__stage { position: relative; height: 100svh; overflow: clip; background: var(--abyss); container-type: size;
  --dz: 1; --dx: 0px; --dy: 0px; --db: 0; --dsg: 0; --hx: 50%; --hy: 50%; }
.dive__poster, .dive__sign { position: absolute; inset: 0; }
.dive__poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dive__gl { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.dive__sign { z-index: 2; pointer-events: none; text-align: center; }
.dive__word, .dive__tag { position: absolute; left: 0; right: 0; margin: 0; line-height: 1; white-space: nowrap; filter: var(--glow-sign); }
.dive__word { top: calc(50% + var(--rain-word-y) * var(--rain-k)); font-size: var(--fs-word); font-weight: var(--fw-display); letter-spacing: var(--tr-word); color: var(--dk-fg); }
.dive__g { display: inline-block; }
.dive__g--fy { font-weight: var(--fw-body); opacity: 0.62; }
.dive__tag { top: calc(50% + var(--rain-tag-y) * var(--rain-k)); font-size: var(--fs-word-tag); font-weight: var(--fw-body); letter-spacing: var(--tr-lead); color: var(--dk-fg-2); }
.dive__bl { display: inline-block; width: 0; height: 0; }
.dive__cue { position: absolute; z-index: 4; left: 50%; bottom: max(var(--sp-5), 3svh); translate: -50% 0; width: 24px; height: 14px; color: var(--dk-fg-2); pointer-events: none; }
.dive__cue svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes cap-in { from { opacity: 0; } }
.m-ok:not(.vt-nav) .dive:not(.is-still) .dive__cue { animation: cap-in var(--dur-cue-in) var(--ease-out) var(--delay-cue) backwards; }
.m-ok .dive.is-moved .dive__cue { opacity: 0; transition: opacity var(--dur-exit) var(--ease-exit); }
/* pinned (live, booting, poster) */
.m-ok .dive:not(.is-still) .dive__track { height: calc(100svh + var(--dive-len)); }
.m-ok .dive:not(.is-still) .dive__stage { position: sticky; top: 0; }
/* the pop-in: fresh loads and reloads */
.m-ok:not(.vt-nav):not(.nav-hist) .dive__g { animation: sign-rise var(--dur-sign-rise) var(--spring-sign) var(--delay-sign) backwards, sign-fade var(--dur-sign-fade) var(--ease-smooth) var(--delay-sign) backwards; }
.m-ok:not(.vt-nav):not(.nav-hist) .dive__g:nth-child(2) { animation-delay: calc(var(--delay-sign) + var(--stagger-sign)); }
.m-ok:not(.vt-nav):not(.nav-hist) .dive__g:nth-child(3) { animation-delay: calc(var(--delay-sign) + 2 * var(--stagger-sign)); }
.m-ok:not(.vt-nav):not(.nav-hist) .dive__g:nth-child(4) { animation-delay: calc(var(--delay-sign) + 3 * var(--stagger-sign)); }
.m-ok:not(.vt-nav):not(.nav-hist) .dive__g:nth-child(5) { animation-delay: calc(var(--delay-sign) + 4 * var(--stagger-sign)); }
.m-ok:not(.vt-nav):not(.nav-hist) .dive__g:nth-child(6) { animation-delay: calc(var(--delay-sign) + 5 * var(--stagger-sign)); }
.m-ok:not(.vt-nav):not(.nav-hist) .dive__g:nth-child(7) { animation-delay: calc(var(--delay-sign) + 6 * var(--stagger-sign)); }
.m-ok:not(.vt-nav):not(.nav-hist) .dive__g--dot { animation: sign-fall var(--dur-sign-fall) var(--ease-fall) var(--delay-sign-dot) backwards, sign-fade var(--dur-sign-dot) var(--ease-smooth) var(--delay-sign-dot) backwards; }
.m-ok:not(.vt-nav):not(.nav-hist) .dive__tag { animation: sign-tag var(--dur-sign-tag) var(--ease-smooth) var(--delay-sign-tag) backwards; }
@keyframes sign-rise { from { translate: 0 var(--rise-sign); } }
@keyframes sign-fall { from { translate: 0 var(--fall-sign); } }
@keyframes sign-fade { from { opacity: 0.01; } }   /* not 0: the first paint already counts (LCP) */
@keyframes sign-tag { from { opacity: 0; translate: 0 var(--rise-s); } }
/* the hand-off */
.m-ok .dive:not(.is-still) .dive__gl { opacity: 0; transition: opacity var(--dur-gl-in) var(--ease-out); }
.m-ok .dive.is-gl:not(.is-still) .dive__gl { opacity: 1; }
.m-ok .dive.is-gl:not(.is-still) :is(.dive__word, .dive__tag) { filter: var(--glow-sign-off); transition: filter var(--dur-gl-in) var(--ease-out); }
.m-ok .dive.is-gl-in:not(.is-still) .dive__poster { visibility: hidden; }
.m-ok .dive.is-gl-in:not(.is-still) .dive__sign { opacity: 0; transition: opacity var(--dur-ui-l) var(--ease-out); }
.m-ok .dive.is-fast :is(.dive__gl, .dive__word, .dive__tag, .dive__sign) { transition-duration: calc(var(--dur-gl-in) / 2); }
.m-ok .dive.is-rec :is(.dive__gl, .dive__word, .dive__tag, .dive__sign, .dive__cue) { transition: none; }
/* the CSS dive (booting and poster mode): only transforms and opacities, so a software compositor keeps up (the
   black is a layer over the poster, not a filter; the sign's halo goes as the dive starts: a filter re-rasterised at
   every scale is what a software compositor cannot keep up with) */
.m-ok .dive:not(.is-still):not(.is-gl-in) :is(.dive__poster, .dive__sign) { transform-origin: var(--hx) var(--hy); transform: translate(var(--dx), var(--dy)) scale(var(--dz)); }
.m-ok .dive:not(.is-still):not(.is-gl-in) .dive__poster::after { content: ""; position: absolute; inset: 0; background: var(--black); opacity: var(--db); }
.m-ok .dive:not(.is-still):not(.is-gl-in) .dive__sign { opacity: calc(1 - var(--dsg)); }
.m-ok .dive.is-moved:not(.is-gl) :is(.dive__word, .dive__tag) { filter: none; }
/* static: reduced motion, no JS, forced colours, a failed module */
:is(html:not(.m-ok), .dive.is-still) .dive__gl { display: none; }
/* the rain's pause switch (base.css "The pause switch") */
.dive .pp { z-index: 5; top: auto; bottom: max(var(--sp-5), 3svh); right: max(var(--gutter), (100% - var(--page)) / 2); }
.dive.is-deep .pp { visibility: hidden; }
@media (prefers-contrast: more) { .dive__tag { color: var(--dk-fg); } }
/* under the slogan: what the site is, two buttons; gone once the dive starts */
.dive__cta { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: calc(50% + (var(--rain-tag-y) + 66) * var(--rain-k));
  text-align: center; pointer-events: none; transition: opacity var(--dur-ui) var(--ease-out), visibility var(--dur-ui); }
.dive__lede { font-size: var(--fs-body); letter-spacing: var(--tr-body); line-height: var(--lh-small); color: var(--dk-fg); text-wrap: balance;
  text-shadow: 0 1px 12px color-mix(in srgb, var(--black) 80%, transparent); }
.btn--glass { background-color: var(--mat-night); box-shadow: inset 0 0 0 1px var(--nt-hair); color: var(--nt-fg); }
.btn--glass:active { background-color: var(--mat-night-solid); }
@media (hover: hover) and (pointer: fine) { .btn--glass:hover { background-color: var(--mat-night-solid); } }
.m-ok:not(.vt-nav):not(.nav-hist) .dive__cta { animation: sign-tag var(--dur-sign-tag) var(--ease-smooth) calc(var(--delay-sign-tag) + var(--dur-sign-tag) / 2) backwards; }
.m-ok .dive.is-moved .dive__cta { opacity: 0; visibility: hidden; transition: opacity var(--dur-exit) var(--ease-exit), visibility var(--dur-exit); }

/* ---------- 2. The lit line (motion: base.css 11c), the bio under it; it leads down into the navy ---------- */
.intro { padding-block: calc(var(--section-y) * 0.5) var(--section-y); text-align: center; }
.intro:has(+ .from-black) { padding-bottom: calc(var(--section-y) * 0.5); }
.m-ok .dive:not(.is-still) + .intro { padding-top: var(--sp-8); }
.intro__sub { max-width: 30em; margin: var(--sp-7) auto 0; font-size: var(--fs-lead); letter-spacing: var(--tr-lead); line-height: var(--lh-lead); color: var(--fg-2); text-wrap: balance; }
.intro__links { margin-top: var(--sp-4); }
/* the last of the rain: four drops run a little down the black and stay (no JS: the reveal's is-in; still without motion) */
.drip { position: absolute; inset: 0 0 auto; height: 70%; overflow: hidden; pointer-events: none; }
.drip i { --h: calc(var(--w) * 1.25); position: absolute; left: var(--x); top: var(--y); width: var(--w); height: calc(var(--h) + var(--run));
  background: radial-gradient(circle at 38% 30%, var(--dk-fg) 0 7%, transparent 15%) bottom / 100% var(--h) no-repeat, radial-gradient(closest-side, transparent 66%, color-mix(in srgb, var(--dk-fg) 30%, transparent) 88%, transparent) bottom / 100% var(--h) no-repeat, linear-gradient(transparent, color-mix(in srgb, var(--dk-fg) 9%, transparent)) top / 24% calc(100% - var(--h)) no-repeat; }
.drip i:nth-child(1) { --x: 8%; --y: 12%; --w: 14px; --run: 64px; --d: 0; }
.drip i:nth-child(2) { --x: 15%; --y: 38%; --w: 10px; --run: 38px; --d: 0.9; }
.drip i:nth-child(3) { --x: 87%; --y: 6%; --w: 16px; --run: 84px; --d: 0.3; }
.drip i:nth-child(4) { --x: 93%; --y: 42%; --w: 11px; --run: 46px; --d: 1.4; }
.m-ok .drip.is-in i { animation: drip var(--dur-drip) var(--ease-out) calc(var(--d) * var(--dur-reveal)) backwards; }
.m-ok .drip:not(.is-in) i { height: var(--h); }
@keyframes drip { from { height: var(--h); } }
.lit { font-size: var(--fs-display); font-weight: var(--fw-display); letter-spacing: var(--tr-display); line-height: var(--lh-display); }
.lit__p { display: inline-block; }

/* ---------- 3. Skills: the stack opens as the story scrolls past it ---------- */
.skills { padding-block: max(var(--section-y), calc(var(--descent) * 0.75)) var(--section-y); }
.sk { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.sk-head { grid-column: 1 / -1; }
.sk-head .eyebrow + .h2 { margin-top: var(--sp-2); }
.sk-head__sub { max-width: 24em; margin-top: var(--stack-gap); font-size: var(--fs-lead); letter-spacing: var(--tr-lead); line-height: var(--lh-lead); color: var(--fg-2); }
.sk__story { grid-column: 1 / -1; display: grid; gap: var(--sp-7); }
.sk__kicker { font-size: var(--fs-small); font-weight: var(--fw-title); letter-spacing: var(--tr-small); line-height: var(--lh-small); color: var(--eyebrow); }
.sk__title { margin-top: var(--sp-1); font-size: var(--fs-title); font-weight: var(--fw-title); letter-spacing: var(--tr-title); line-height: var(--lh-title); }
.sk__line { max-width: 24em; margin-top: var(--sp-2); font-size: var(--fs-lead); letter-spacing: var(--tr-lead); line-height: var(--lh-lead); }
.sk__aside { margin-top: var(--sp-4); color: var(--fg-2); }
.sk .chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.sk .chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 var(--sp-3); border-radius: var(--r-pill);
  font-size: var(--fs-small); letter-spacing: var(--tr-small); line-height: var(--lh-small); color: var(--fg);
  background: var(--nt-chip); box-shadow: inset 0 0 0 1px var(--nt-hair); }
/* the stage (the scene lights its own floor, so the light moves with the stack) */
.sk__visual { grid-column: 1 / -1; margin-block: var(--sp-7); }
.sk__sticky { position: relative; height: min(92vw, 520px); }
.sk__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* no JS, or the scene failed: the open stack as a still, floor light included (fetched only then) */
html:not(.js) .sk__sticky, .sk.is-still .sk__sticky { background: url(/assets/img/stack-open.webp) 50% 50% / contain no-repeat; }
html:not(.js) .sk__canvas, .sk.is-still .sk__canvas { display: none; }

/* static (no JS, reduced motion, a failure): head, then the list beside the open stack; phones: head, stack, list */
@media (min-width: 560px) {
  .sk-head { grid-column: 1 / span 6; }
  .sk__story { grid-column: 1 / span 5; grid-row: 2; align-content: center; gap: var(--sp-8); margin-top: var(--sp-8); }
  .sk__visual { grid-column: 6 / span 7; grid-row: 2; margin: var(--sp-8) 0 0; align-self: center; }
  .sk__sticky { height: min(72svh, 660px); }
}
@media (max-width: 559px) { .sk-head { order: -1; } .sk__story { order: 1; } }

/* motion, from 560 px wide at any height (desktop, tablets, phones turned): the story scrolls beside a sticky stage */
@media (min-width: 560px) {
  .m-ok .sk:not(.is-still) { --vis-h: min(76svh, 700px); --sk-step: min(46svh, 440px); }
  .m-ok .sk:not(.is-still) .sk__item { min-height: var(--sk-step); display: flex; flex-direction: column; justify-content: center; padding-block: var(--sp-5); }
  /* the hold: the servers' text centres in the step, and 40svh of padding under it keep the stage pinned while the finale plays */
  .m-ok .sk:not(.is-still) .sk__item--last { min-height: calc(var(--sk-step) + 40svh); padding-bottom: 40svh; }
  .m-ok .sk:not(.is-still) .sk-head { grid-column: 1 / span 5; grid-row: 1; min-height: calc(var(--vis-h) * 0.7); }
  .m-ok .skills:has(> .sk:not(.is-still)) { padding-top: max(calc(var(--section-y) * 0.75), calc(var(--descent) * 0.5)); }
  .m-ok .sk:not(.is-still) .sk__story { grid-row: 2; gap: 0; margin: 0; align-content: start; }
  .m-ok .sk:not(.is-still) .sk__visual { grid-row: 1 / span 2; margin: 0; align-self: stretch; }
  .m-ok .sk:not(.is-still) .sk__sticky { position: sticky; top: calc(var(--header-h) + (100svh - var(--header-h) - var(--vis-h)) / 2); height: var(--vis-h); }
}
@media (min-width: 1800px) and (min-height: 1000px) { .m-ok .sk:not(.is-still) { --vis-h: min(76svh, 860px); --sk-step: min(44svh, 520px); } }
/* narrow (tablets, small windows, phones turned): six columns each, so the text keeps its measure */
@media (min-width: 560px) and (max-width: 939px) {
  :is(.m-ok .sk:not(.is-still), .sk) :is(.sk-head, .sk__story) { grid-column: 1 / span 6; }
  :is(.m-ok .sk:not(.is-still), .sk) .sk__visual { grid-column: 7 / span 6; }
}
/* motion, phones upright: a small stage on top, the story slides underneath */
@media (max-width: 559px) {
  /* the stage starts below the black-to-navy descent, so its solid ground never shows as a box */
  .m-ok .skills:has(> .sk:not(.is-still)) { padding-top: var(--descent); }
  .m-ok .skills.from-black:has(> .sk:not(.is-still)) { background: linear-gradient(var(--black), var(--night) calc(var(--descent) - var(--header-h) - var(--sp-2))); }
  .m-ok .sk:not(.is-still) { --vis-h: min(34svh, 76vw); --sk-step: 58svh; grid-template-columns: minmax(0, 1fr); }
  .m-ok .sk:not(.is-still) .sk__item { min-height: var(--sk-step); display: flex; flex-direction: column; justify-content: center; }
  .m-ok .sk:not(.is-still) .sk__item--last { min-height: calc(var(--sk-step) + 10svh); }
  /* the head starts under the stage (border-box: the padding is part of the height) */
  .m-ok .sk:not(.is-still) .sk-head { grid-column: 1; grid-row: 1; padding-top: var(--vis-h); min-height: calc(var(--vis-h) + var(--sk-step)); }
  .m-ok .sk:not(.is-still) .sk__story { grid-column: 1; grid-row: 2; gap: 0; margin: 0; }
  .m-ok .sk:not(.is-still) .sk__visual { grid-column: 1; grid-row: 1 / span 2; margin: 0; z-index: 1; pointer-events: none; }
  .m-ok .sk:not(.is-still) .sk__sticky { position: sticky; top: var(--header-h); height: var(--vis-h); background-color: var(--night); }
  /* full-bleed ground, also behind the bar (text that went under the stage never shows through the frost), and the
     story fades out under the stage's lower edge: eased from opaque, so the cut tops of a line never show as a dashed rule */
  .m-ok .sk:not(.is-still) .sk__sticky::before { content: ""; position: absolute; inset: calc(var(--header-h) * -1) calc(var(--gutter) * -1) 0; z-index: -1; background: var(--night); }
  .m-ok .sk:not(.is-still) .sk__sticky::after { content: ""; position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 100%;
    height: var(--sp-8); background: linear-gradient(var(--night), rgba(var(--night-rgb), 0.99) 20%, rgba(var(--night-rgb), 0.85) 45%, rgba(var(--night-rgb), 0)); }
}

/* story states (only once the scene has drawn: .is-live): the layer in focus is full colour, chips included; its chips arrive once */
.m-ok .sk__item :is(.sk__title, .sk__line, .sk__kicker) { transition: color var(--dur-ui) var(--ease-material); }
.m-ok .sk.is-live[data-beat] .sk__item:not(.is-on) :is(.sk__title, .sk__line, .chip) { color: var(--fg-2); }
.m-ok .sk.is-live[data-beat] .sk__item:not(.is-on) .sk__kicker { color: var(--fg-3); }
.m-ok .sk .chip { transition: opacity var(--dur-reveal-s) var(--ease-out) var(--d, 0s), transform var(--dur-reveal-s) var(--ease-out) var(--d, 0s), color var(--dur-ui) var(--ease-material); }
.m-ok .sk.is-live .sk__item:not(.is-met) .chip { opacity: 0; transform: translateY(var(--rise-s)) scale(var(--scale-enter)); }
.sk .chip:nth-child(2) { --d: var(--stagger); }
.sk .chip:nth-child(3) { --d: calc(var(--stagger) * 2); }
.sk .chip:nth-child(n+4) { --d: calc(var(--stagger) * 3); }

/* ---------- 3b. Projects (night, generated): one .ph card each; it takes the descent from black ---------- */
.work { padding-block: max(var(--section-y), calc(var(--descent) * 0.75)) 0; }
.work__grid { display: grid; gap: var(--col-gap); margin-top: var(--sp-7); }
@media (min-width: 834px) { .work__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work__all { margin-top: var(--sp-5); }
.work + .skills, .m-ok .work + .skills:has(> .sk:not(.is-still)) { padding-top: var(--section-y); }
.sk__proof { margin-top: var(--sp-3); color: var(--fg-2); }

/* ---------- 4. One card (light): the slogan's story ---------- */
.soon { padding-block: var(--section-y); }
.soon__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 834px) {
  .soon .ph { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; column-gap: var(--card-pad); min-height: 22rem; }
  .soon .ph > * { grid-column: 2; }
  .soon .ph__art { grid-column: 1; grid-row: 1 / span 4; aspect-ratio: auto; margin: calc(var(--card-pad) * -1) 0 calc(var(--card-pad) * -1) calc(var(--card-pad) * -1);
    border-radius: var(--r-l) 0 0 var(--r-l); }
}
.ph { display: flex; flex-direction: column; height: 100%; }
.ph__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) var(--sp-6);
  border-radius: var(--r-l) var(--r-l) 0 0;
  background-color: var(--night); background-image: radial-gradient(circle, rgba(var(--crest-rgb), 0.2) 1px, rgba(var(--crest-rgb), 0) 1.6px);
  background-size: 18px 18px; background-position: 50% 50%; }
.ph__art > :is(svg, img) { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph__art > img { object-fit: cover; }
.ph__title { margin-top: var(--sp-2); }
.ph__text { max-width: 24em; margin-top: var(--sp-3); }
.ph__link { margin-top: auto; padding-top: var(--sp-6); }
.ph-line { fill: none; stroke: rgba(var(--crest-rgb), 0.7); stroke-width: 1.5; }
.ph-faint { fill: none; stroke: rgba(var(--crest-rgb), 0.2); stroke-width: 1.5; }
.ph-dot { fill: var(--nt-fg); }
/* after the card has risen: the strokes draw, then the handles and the dot appear */
.m-ok .ph-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--dur-draw) var(--ease-out) var(--dur-ui-l); }
.m-ok .ph-pop { opacity: 0; transition: opacity var(--dur-ui-l) var(--ease-out) var(--dur-reveal); }
.m-ok .is-in .ph-draw { stroke-dashoffset: 0; }
.m-ok .is-in .ph-pop { opacity: 1; }

/* ---------- 5. Partners (light): three typographic wordmarks under a hairline; Duesis has no site, so it does not link ---------- */
.soon:has(+ .partners) { padding-bottom: 0; }
.partners { padding-block: var(--sp-9) var(--section-y); }
.partners__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: baseline;
  padding-top: var(--sp-6); border-top: 1px solid var(--hair); }
.partners__head { grid-column: 1 / span 4; }
.partners__title { font-size: var(--fs-lead); font-weight: var(--fw-title); letter-spacing: var(--tr-lead); line-height: var(--lh-title); color: var(--eyebrow); }
.partners__sub { margin-top: var(--sp-1); color: var(--fg-2); text-wrap: balance; }
.partners__list { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
.partners__mark { display: inline-flex; align-items: center; min-height: var(--tap); font-size: var(--fs-title); font-weight: var(--fw-title);
  letter-spacing: var(--tr-title); line-height: var(--lh-title); color: var(--fg); white-space: nowrap; }
/* every wordmark in ink at the same weight (the row ranks no one); a partner with a site shows it is a link by its blue chevron,
   and turns blue with an underline on hover and focus */
.partners .chev.partners__mark { padding-block: 0; color: var(--fg); }
.partners .chev.partners__mark::after { border-color: var(--link); }
.partners .chev.partners__mark:focus-visible { color: var(--link); text-decoration-line: underline; }
.partners .chev.partners__mark:active { color: var(--link-press); }
@media (hover: hover) and (pointer: fine) { .partners .chev.partners__mark:hover { color: var(--link); } }
@media (max-width: 833px) { .partners__row { display: block; } .partners__list { margin-top: var(--sp-5); } }
@media (max-width: 479px) { .partners__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 6. The close: dawn on the horizon (motion.js adds .is-lit as the rim crosses 88 % of the viewport) ---------- */
.end--dawn { --hz-floor: clamp(120px, 24svh, 230px); padding-block: calc(var(--section-y) * 1.25) calc(var(--hz-floor) + var(--sp-10)); }
.end--dawn .horizon { --hz-top: calc(100% - var(--hz-floor)); }
.end--dawn .hz-sun { width: min(680px, 62vw); height: 56px; }   /* the glint hugs the circle's apex */
[data-page="home"] .foot::before { content: none; }   /* the planet runs into the footer's black */
.end__small .sentence { text-wrap: balance; }
.end__cta { margin-top: var(--sp-7); font-size: var(--fs-title); font-weight: var(--fw-title); letter-spacing: var(--tr-title); line-height: var(--lh-title); text-wrap: balance; }
.end__cta + .end__link { margin-top: var(--sp-5); }
.m-ok .end--dawn .hz-glow { transition: opacity var(--dur-dawn) var(--ease-material), transform var(--dur-dawn) var(--ease-material); }
.m-ok .end--dawn .hz-rim { transition: opacity var(--dur-dawn-rim) var(--ease-material) var(--delay-dawn-rim); }
.m-ok .end--dawn .hz-sun { transition: opacity var(--dur-dawn-sun) var(--ease-material) var(--delay-dawn-sun), transform var(--dur-dawn-sun) var(--ease-material) var(--delay-dawn-sun); }
.m-ok .end--dawn:not(.is-lit) .hz-glow { opacity: 0.2; transform: translate(-50%, -38%) scaleY(0.6); }
.m-ok .end--dawn:not(.is-lit) .hz-rim { opacity: 0.35; }
.m-ok .end--dawn:not(.is-lit) .hz-sun { opacity: 0; transform: translate(-50%, -50%) scaleX(0.3); }

@media (prefers-contrast: more) { .m-ok .sk.is-live[data-beat] .sk__item :is(.sk__title, .sk__line, .chip) { color: var(--fg); }
  .m-ok .sk.is-live[data-beat] .sk__item .sk__kicker { color: var(--eyebrow); } }
@media (forced-colors: active) { .sk .chip { box-shadow: none; border: 1px solid CanvasText; }
  .dive__poster, .dive__gl, .dive__cue, .dive .pp { display: none; }
  .dive__sign :is(.dive__word, .dive__tag) { filter: none; } }
