/* Case scene system: full-bleed named scenes in the client's own palette.
   Shared across case pages. A page sets --red/--cream/--char/--olive to its
   own brand colours, so .sc--red is "the client's loud colour", not ketchup. */
/* ============================================================
   Kabs Diner — art-directed case experience.
   Loaded ONLY by /work/kabs-diner/. Everything is scoped to .kb
   so the shared case.css keeps running the other nine cases.
   Scenes carry their own ground and ink; the page changes mood
   as you move through it instead of sitting on one paper.
   ============================================================ */

.kb, .hd, .bl, .l3, .b2, .mo, .vv, .tg, .ts {
  --g: clamp(20px, 4.4vw, 76px);
  --ease-x: cubic-bezier(.19, 1, .22, 1);
  background: var(--off);
}
/* Kabs Diner. The tokens are ROLES, not hues: --red is the loud colour,
   --char the dark scene, --cream the light one, --off the page ground. */
.kb {
  --red: #DC3712;
  --olive: #325102;
  --sun: #F8D90A;
  --cream: #E0DBCD;
  --char: #181818;
  --off: #F2F1F6;
}
/* Hardé Business School. Same roles, the school's own colours. */
.hd {
  --red: #00ABBD;
  --olive: #07202A;
  --sun: #ADE047;
  --cream: #F2F0EA;
  --char: #0C2E3B;
  --off: #FAF9F6;
}
/* Every case below is the same eight roles in that project's own colours. */
/* BLEP, the executive programme's campaign palette */
.bl { --red: #214889; --olive: #0B1E3C; --sun: #FF8A0A; --cream: #F6FFEC; --char: #071021; --off: #EEF2F7; }
/* Level350, lime over graphite. Lime is the loud one, so it takes dark type. */
.l3 { --red: #80C343; --olive: #3D4042; --sun: #EC058E; --cream: #EDEBE6; --char: #18191B; --off: #F5F6F4; }
.l3 .sc--red { --fg: #15250C; }
/* Hardé's teal is light for a full-bleed ground, so that scene takes dark type */
.hd .sc--red { --fg: #04323A; }
/* Back to School, campaign blue with the sun yellow turn */
.b2 { --red: #1E5AA8; --olive: #0A2BC0; --sun: #EFE71C; --cream: #F2EFE6; --char: #171412; --off: #FAFAFB; }
/* Modiva Scents, oxblood and champagne */
.mo { --red: #720007; --olive: #2A0A0C; --sun: #C5B897; --cream: #F5EFE6; --char: #1A1214; --off: #FBF8F3; }
/* Vive l'Amour, deep green, cream and gold */
.vv { --red: #2F4128; --olive: #1E2B19; --sun: #EACB61; --cream: #EDE3BD; --char: #333333; --off: #F7F3E4; }
/* TradeGROW, violet and deep purple under electric lime */
.tg { --red: #6E00E7; --olive: #530F9A; --sun: #8EFA4B; --cream: #EFE9F7; --char: #2B2B2B; --off: #F4F1FA; }
/* Talstack, campaign green with the gold sampled off its own launch poster */
.ts { --red: #184C04; --olive: #12251C; --sun: #E5CA70; --cream: #F1EFE7; --char: #0E1A13; --off: #F7F6F2; }
.scene ::selection { background: var(--red); color: #fff; }

/* ---------- scene shell ---------- */
.sc {
  position: relative;
  background: var(--bg, var(--off));
  color: var(--fg, var(--char));
  padding: clamp(72px, 12vh, 170px) var(--g);
  overflow: clip;
}
.sc--red { --bg: var(--red); --fg: var(--cream); }
.sc--char { --bg: var(--char); --fg: var(--cream); }
.sc--cream { --bg: var(--cream); --fg: var(--char); }
.sc--olive { --bg: var(--olive); --fg: var(--cream); }
.sc--tall { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.sc--flush { padding-left: 0; padding-right: 0; }

/* ---------- type ---------- */
.dsp { font-family: var(--font); text-transform: uppercase; font-weight: 400; letter-spacing: -0.005em; }
/* the accent is the page's own face in italic. Kumy and Rage are Kabs Diner's
   faces and only its page loads them, so they stay scoped to .kb */
.sig { font-style: italic; text-transform: none; font-weight: 400; }
.kb .dsp { font-family: 'Kumy', var(--font); }
.kb .sig { font-family: 'Rage', cursive; font-style: normal; }

.t-mega { font-size: clamp(70px, 15.5vw, 280px); line-height: .8; }
.t-huge { font-size: clamp(40px, 9vw, 164px); line-height: .86; }
.t-big { font-size: clamp(30px, 5.4vw, 96px); line-height: .95; }
.t-lead {
  font-size: clamp(21px, 2.9vw, 44px); line-height: 1.14;
  font-weight: 480; letter-spacing: -0.025em; max-width: 20ch;
}
.t-copy { font-size: clamp(16px, 1.15vw, 18.5px); line-height: 1.62; max-width: 44ch; }
.t-copy + .t-copy { margin-top: 1.1em; }
.t-copy strong { font-weight: 620; }
.t-meta {
  font-size: 12.5px; line-height: 1.5; font-weight: 500;
  color: color-mix(in srgb, currentColor 62%, transparent);
}
.t-meta a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- scene 00: arrival ---------- */
.arr {
  position: relative; height: 100svh; min-height: 560px;
  background: var(--char); color: var(--cream);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--g) clamp(24px, 4vh, 48px);
  overflow: clip;
}
.arr__stack { position: absolute; inset: 0; z-index: 0; }
.arr__fr {
  position: absolute; inset: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.15s var(--ease-x);
}
.arr__fr:first-child { clip-path: inset(0 0 0 0); }
.arr__fr.is-on { clip-path: inset(0 0 0 0); }
.arr__fr img, .arr__fr video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 9s linear;
}
.arr__fr.is-on img, .arr__fr.is-on video { transform: scale(1.14); }
.arr::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10, 9, 8, .88) 0%, rgba(10, 9, 8, .34) 42%, rgba(10, 9, 8, .12) 68%, rgba(10, 9, 8, .46) 100%);
}
.arr__body { position: relative; z-index: 2; }
.arr__title {
  color: var(--cream);
  margin-left: -0.035em;
  text-wrap: balance;
}
.arr__title span { display: block; }
.arr__title .l2 { margin-top: -0.055em; }
.arr__meta {
  display: flex; flex-wrap: wrap; gap: 6px 26px;
  margin-top: clamp(14px, 2vh, 26px);
  color: color-mix(in srgb, var(--cream) 76%, transparent);
  font-size: 13px; font-weight: 500;
}
.arr__cue {
  position: absolute; right: var(--g); bottom: clamp(24px, 4vh, 48px); z-index: 2;
  display: inline-flex; align-items: center; gap: 11px;
  color: color-mix(in srgb, var(--cream) 84%, transparent);
  font-size: 13px; font-weight: 520;
}
.arr__cue svg { width: 15px; height: 26px; overflow: visible; }
.arr__cue svg path { stroke: currentColor; stroke-width: 1.4; fill: none; }
.arr__cue svg g { animation: cueDrop 2.6s var(--ease-x) infinite; }
@keyframes cueDrop {
  0%, 100% { transform: translateY(-3px); opacity: .55; }
  45% { transform: translateY(4px); opacity: 1; }
}
.arr__count {
  position: absolute; left: var(--g); top: calc(var(--nav-h) + 22px); z-index: 2;
  display: flex; gap: 7px;
}
.arr__count i {
  display: block; width: 20px; height: 2px;
  background: color-mix(in srgb, #fff 30%, transparent);
  transition: background .5s var(--ease-x);
}
.arr__count i.on { background: var(--cream); }
@media (max-width: 720px) {
  .arr__cue { position: static; align-self: flex-end; margin-top: 14px; }
  .arr__meta { gap: 4px 18px; font-size: 12px; }
}

/* .pull is reused only to inherit the word-by-word reveal; the case.css
   sizing and accent italics are replaced here. */
.scene .pull { max-width: none; margin-top: 0; font-weight: inherit; letter-spacing: inherit; }
.scene .pull em, .scene .stm__line em {
  font-style: italic; font-weight: 400; text-transform: none; color: inherit;
}
.kb .pull em, .kb .stm__line em {
  font-family: 'Rage', cursive; font-style: normal; font-size: 1.12em;
  letter-spacing: 0; padding-right: .06em;
}
/* Hardé sets in its brand grotesque: Medium at most, sentence case, and the
   accent in Light Italic the way the brand guide uses it */
.hd { --font: 'Inter', 'Helvetica Neue', Arial, sans-serif; font-family: var(--font); }
.hd .dsp { text-transform: none; font-weight: 500; letter-spacing: -0.045em; }
.hd .pull em, .hd .stm__line em, .hd .sig { font-weight: 300; letter-spacing: -0.035em; padding-right: .04em; }

/* a scene can sit on a painted ground instead of a flat fill */
.grd { isolation: isolate; }
.grd::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ground) center / cover no-repeat;
}
.grd::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--scrim, none);
}
.grd--red { --scrim: linear-gradient(115deg, rgba(120, 26, 6, .55), rgba(120, 26, 6, .1) 58%, rgba(120, 26, 6, .5)); }
.grd--cream { --scrim: linear-gradient(180deg, rgba(224, 219, 205, .78), rgba(224, 219, 205, .92)); }
.grd--dark { --scrim: linear-gradient(180deg, rgba(24, 24, 24, .74), rgba(24, 24, 24, .52) 46%, rgba(24, 24, 24, .86)); }
/* ...or on a film: the video sits between the ground and the scrim, and the
   ground holds its poster for anyone who has asked for less motion */
/* the film is texture behind the headline, so it is softened until its own type stops competing */
.grd__vid { position: absolute; inset: -12px; z-index: -1; width: calc(100% + 24px); height: calc(100% + 24px); object-fit: cover; filter: blur(5px) saturate(.9); }
.grd--film { --scrim: linear-gradient(180deg, rgba(7, 32, 42, .86) 0%, rgba(7, 32, 42, .7) 48%, rgba(7, 32, 42, .9) 100%); }
@media (prefers-reduced-motion: reduce) { .grd__vid { display: none; } }

/* ---------- statement scenes ---------- */
.stm { display: grid; gap: clamp(24px, 4vw, 60px); }
.stm__line { text-wrap: balance; }
.stm__note { max-width: 34ch; }

/* ---------- split: huge left, small right ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 72px); align-items: end; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.35fr .8fr; }
  .split--top { align-items: start; }
  .split--offset > :last-child { padding-bottom: clamp(10px, 3vw, 46px); }
}

/* ---------- numbered beats ---------- */
.beats { display: grid; gap: clamp(30px, 4vw, 58px); margin-top: clamp(46px, 7vw, 110px); }
@media (min-width: 860px) {
  .beats { grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3vw, 54px); align-items: start; }
  .beat:nth-child(2) { margin-top: clamp(30px, 5vw, 90px); }
  .beat:nth-child(3) { margin-top: clamp(60px, 10vw, 180px); }
}
.beat__n {
  font-size: clamp(46px, 7vw, 104px); line-height: .82;
  color: color-mix(in srgb, currentColor 22%, transparent);
  margin-bottom: 14px;
}
.beat .beat__n { font-size: clamp(46px, 7vw, 104px); line-height: .82; }
.beat p { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.42; font-weight: 500; max-width: 26ch; }
.beat p span { display: block; margin-top: .5em; font-weight: 400; font-size: .85em; opacity: .7; }

/* ---------- scene mark: the logo at scale ---------- */
.mark { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: clip; }
.mark__stage {
  position: relative; display: grid; place-items: center;
  padding: clamp(40px, 8vh, 110px) var(--g);
  background: var(--mk, var(--char));
  transition: background 1.05s var(--ease-x);
}
.mark__fr {
  grid-area: 1 / 1; width: min(78vw, 1080px); aspect-ratio: 16 / 7;
  display: grid; place-items: center;
  opacity: 0; transform: scale(.965);
  transition: opacity .62s var(--ease-x), transform 1.15s var(--ease-x);
}
.mark__fr.is-on { opacity: 1; transform: none; }
.mark__fr img { width: 100%; height: 100%; object-fit: contain; }
.mark__foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 18px var(--g) 22px;
  background: var(--char); color: var(--cream);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.mark__name { font-size: clamp(15px, 1.5vw, 22px); font-weight: 560; letter-spacing: -0.02em; }

/* giant K bleeding off the right edge */
.kcrop { position: relative; background: var(--char); color: var(--cream); overflow: clip; }
.kcrop__in {
  display: grid; grid-template-columns: 1fr; gap: clamp(26px, 4vw, 60px);
  padding: clamp(60px, 9vw, 140px) var(--g);
}
@media (min-width: 900px) { .kcrop__in { grid-template-columns: 1fr 1fr; align-items: center; } }
.kcrop__art {
  position: relative; justify-self: end;
  width: min(112%, 660px); aspect-ratio: 1 / 1;
  margin-right: calc(var(--g) * -1);
}
.kcrop__art img { width: 100%; height: 100%; object-fit: contain; filter: invert(1); opacity: .95; }

/* ---------- type specimen ---------- */
.spec { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(34px, 5vw, 84px); }
.spec__row { overflow: clip; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); padding-top: clamp(14px, 2vw, 26px); }
.spec__art { line-height: .86; white-space: nowrap; }
.spec__art--rage { font-size: clamp(74px, 20vw, 340px); }
.spec__art--kumy { font-size: clamp(52px, 13.5vw, 250px); }
.spec__art--sans { font-size: clamp(46px, 11vw, 200px); font-weight: 500; letter-spacing: -0.045em; }
.spec__drift { display: block; will-change: transform; }
.spec__cap { display: flex; gap: 10px 24px; flex-wrap: wrap; margin-top: 12px; }
.spec__cap b { font-weight: 620; font-size: 14px; }

/* ---------- colour stepper ---------- */
.colr { position: relative; }
.colr__sticky {
  position: sticky; top: 0; height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr);
  overflow: clip;
  background: var(--c, var(--red)); color: var(--cf, #fff);
  transition: background .85s var(--ease-x), color .85s var(--ease-x);
  padding: calc(var(--nav-h) + 4vh) var(--g) clamp(24px, 4vh, 48px);
}
.colr__top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; font-size: 13px; font-weight: 500; opacity: .72; }
.colr__hex { align-self: end; line-height: .8; font-size: clamp(44px, 13.5vw, 250px); }
.colr__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 18px; }
.colr__name { font-size: clamp(17px, 2vw, 30px); font-weight: 560; letter-spacing: -0.025em; }
.colr__role { font-size: 13px; opacity: .72; max-width: 30ch; text-align: right; }
.colr__steps { position: relative; margin-top: -100svh; }
.colr__step { height: 72svh; }
.colr__step:first-child { height: 100svh; }

/* ---------- the names run sideways while the page is held ---------- */
.tick { position: relative; height: 300vh; background: var(--red); color: var(--cream); }
.tick__sticky {
  position: sticky; top: 0; height: 100svh; overflow: clip;
  display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr);
  align-content: center;
  padding: calc(var(--nav-h) + 6vh) 0 8vh;
}
.tick__head {
  display: grid; gap: clamp(18px, 2.6vw, 40px); padding: 0 var(--g);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .tick__head { grid-template-columns: 1.2fr .8fr; align-items: end; }
}
.tick__track {
  width: max-content;
  display: flex; align-items: center; gap: clamp(40px, 6vw, 130px);
  white-space: nowrap; will-change: transform;
  font-size: clamp(62px, 13vw, 230px); line-height: .95;
  padding-left: var(--g);
}
.tick__track .sig { font-size: 1.2em; }

/* ---------- overlapped composition ---------- */
.stack { position: relative; margin-bottom: clamp(30px, 7vw, 120px); }
.stack__over { position: relative; width: clamp(160px, 22vw, 290px); margin: -14% 0 0 auto; }
@media (min-width: 900px) {
  .stack__over { position: absolute; right: 4%; bottom: -12%; margin: 0; }
}

/* ---------- horizontal strip ---------- */
.strip {
  display: flex; gap: 10px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0 var(--g) 4px;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip__card { flex: 0 0 min(80vw, 560px); scroll-snap-align: start; }
.strip__card figure { margin: 0; }
.strip__frame { position: relative; aspect-ratio: 4 / 5; overflow: clip; background: #000; }
.strip__frame img { width: 100%; height: 100%; object-fit: cover; }
.strip__cap { display: flex; justify-content: space-between; gap: 14px; padding-top: 11px; align-items: baseline; }
.strip__cap b { font-size: clamp(17px, 2vw, 26px); font-weight: 400; letter-spacing: -0.01em; }
.strip__cap span { font-size: 13px; opacity: .66; text-align: right; max-width: 22ch; }
.strip__hint { display: flex; justify-content: space-between; align-items: baseline; padding: 0 var(--g); margin-bottom: 14px; }

/* ---------- media ---------- */
.fig { position: relative; overflow: clip; background: var(--char); }
.fig img, .fig video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fig--contain { background: transparent; }
.fig--contain img { object-fit: contain; }
.px { transform: scale(1.08); will-change: transform; }

.bleed { margin-left: calc(var(--g) * -1); margin-right: calc(var(--g) * -1); }
.full { width: 100%; }
.cap { font-size: 12.5px; margin-top: 9px; color: color-mix(in srgb, currentColor 60%, transparent); }
.cap b { display: block; color: currentColor; font-weight: 600; font-size: 13.5px; }

.duo { display: grid; gap: 10px; }
/* minmax(0, 1fr): a wide image in one cell can never push its neighbour off the page */
@media (min-width: 780px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.duo--offset { align-items: start; }
.duo--offset > :nth-child(2) { margin-top: clamp(20px, 6vw, 96px); }
.trio { display: grid; gap: 10px; }
@media (min-width: 780px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quad { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .quad { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* three across, for a set with one wide piece in it */
@media (min-width: 900px) { .quad--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* an application scene: number, name, one oversized visual */
.app { display: grid; gap: clamp(18px, 2.4vw, 34px); margin-top: clamp(56px, 8vw, 130px); }
.app:first-of-type { margin-top: clamp(34px, 5vw, 70px); }
.app__head { display: flex; align-items: baseline; gap: 16px; }
.app__n { font-size: clamp(15px, 1.4vw, 20px); opacity: .5; font-variant-numeric: tabular-nums; }
.app__t { font-size: clamp(22px, 3.4vw, 54px); line-height: 1; letter-spacing: -0.03em; font-weight: 560; }
.app__say { max-width: 40ch; margin-left: auto; font-size: 15px; line-height: 1.5; opacity: .78; }
@media (max-width: 860px) {
  .app__head { flex-wrap: wrap; }
  .app__say { flex-basis: 100%; margin-left: 0; }
}

/* ---------- the word crosses the photo it names, filled with it ---------- */
.xfig { position: relative; }
.xfig__word {
  position: absolute; left: 0; right: 0; bottom: -0.32em;
  margin: 0; padding: 0 var(--g); pointer-events: none;
  font-size: clamp(50px, 13.2vw, 220px); line-height: .8;
  background-image: var(--fill); background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* the fill can land photo-on-photo, so the letterforms carry their own edge */
  -webkit-text-stroke: clamp(1px, .13vw, 2.4px) var(--cream);
}
@media (hover: hover) and (pointer: fine) { .xfig__word { background-attachment: fixed; } }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .xfig__word { background-image: none; color: var(--char); }
}

/* ---------- cutouts standing on their own ground ---------- */
.pot { position: relative; aspect-ratio: 4 / 5; overflow: clip; background: var(--pot, var(--char)); }
.pot img {
  /* absolute so the percentage height resolves against the pot, not the image */
  position: absolute; left: 11%; right: 11%; bottom: 7%; width: 78%; height: 84%;
  object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .26));
  animation: bob 6.4s ease-in-out infinite; animation-delay: var(--bob, 0s);
  transition: scale .45s var(--ease-x);
}
.cutset figure { margin: 0; }
.cutset figure:hover .pot img { scale: 1.055; }
/* goods on a shelf stay put until you reach for one */
.pot--still img { animation: none; transition: scale .45s var(--ease-x), translate .45s var(--ease-x); }
.cutset figure:hover .pot--still img { translate: 0 -2.5%; }
/* a piece that needs two cells, like a pair shot front and back; it takes its row's height from the single pieces */
.cutset .cut--wide { grid-column: span 2; display: flex; flex-direction: column; }
.cut--wide .pot { aspect-ratio: 8 / 5; }
.cut--wide .pot img { left: 4%; right: 4%; width: 92%; height: 62%; }
@media (min-width: 900px) { .quad--3 .cut--wide .pot { aspect-ratio: auto; flex: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3.4%; } }

.barline {
  position: relative; margin-top: 10px; overflow: clip;
  background: var(--char); color: var(--cream);
  display: grid; gap: clamp(18px, 3vw, 56px); align-items: end;
  padding: clamp(30px, 5vw, 72px) clamp(22px, 4vw, 56px) 0;
}
@media (min-width: 780px) { .barline { grid-template-columns: minmax(0, 1fr) auto; } }
.barline p { margin-bottom: clamp(30px, 5vw, 72px); }
.barline img {
  height: clamp(200px, 28vw, 360px); width: auto; object-fit: contain; justify-self: end;
  animation: bob 7.2s ease-in-out infinite;
}

/* ---------- a stage: tabs swap the frame, and it turns itself over on
     screen. Bare by default; .site__win wraps it in browser chrome. ---------- */
.stage__scr { position: relative; aspect-ratio: var(--ar, 16 / 9); background: var(--char); overflow: clip; }
.stage__fr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--fit, cover); opacity: 0; transition: opacity .5s var(--ease-x); }
.stage__fr.is-on { opacity: 1; }
.stage__tabs { display: flex; }
.stage__tabs button {
  flex: 1; padding: 13px 10px; border: 0; cursor: pointer;
  background: color-mix(in srgb, currentColor 7%, transparent);
  font: inherit; font-size: 13px; font-weight: 560; letter-spacing: -0.01em;
  color: color-mix(in srgb, currentColor 58%, transparent);
  transition: color .2s, background .2s;
}
.stage__tabs button + button { border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.stage__tabs button:hover { color: currentColor; }
.stage__tabs button[aria-selected="true"] { color: var(--char); background: var(--sun); }
.stage__cap { font-size: 12.5px; margin-top: 9px; color: color-mix(in srgb, currentColor 60%, transparent); }

.site { display: grid; gap: clamp(16px, 2.4vw, 34px); align-items: end; }
@media (min-width: 900px) { .site { grid-template-columns: minmax(0, 1fr) clamp(150px, 15vw, 232px); } }
.site__win { overflow: clip; border-radius: 10px; background: var(--char); color: #FFFFFF; }
.site__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: color-mix(in srgb, var(--char) 86%, #ffffff); }
.site__dots { display: flex; gap: 6px; }
.site__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .26); }
.site__url { font-size: 12.5px; color: rgba(255, 255, 255, .74); background: rgba(255, 255, 255, .1); padding: 4px 12px; border-radius: 99px; }
.site__win .stage__scr { background: #000000; }
.site__win .stage__tabs { border-top: 1px solid rgba(255, 255, 255, .12); }
.site__phone { margin: 0; }

/* ---------- video moment ---------- */
.play { position: relative; cursor: pointer; }
.play::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: clamp(56px, 6vw, 88px); height: clamp(56px, 6vw, 88px);
  margin: calc(clamp(56px, 6vw, 88px) / -2) 0 0 calc(clamp(56px, 6vw, 88px) / -2);
  border-radius: 50%; background: var(--red);
  transition: scale .25s var(--ease-x), opacity .25s var(--ease-x);
}
.play::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -11px 0 0 -5px;
  border-left: 18px solid var(--cream);
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
  transition: opacity .25s var(--ease-x);
}
.play:hover::before { scale: 1.09; }
.play.playing::before, .play.playing::after { opacity: 0; }

/* ---------- closing ---------- */
.fin { position: relative; height: 100svh; min-height: 520px; overflow: clip; background: var(--char); }
.fin img { width: 100%; height: 100%; object-fit: cover; }
.fin__over {
  position: absolute; inset: auto 0 0 0; padding: clamp(40px, 8vh, 110px) var(--g) clamp(28px, 5vh, 60px);
  color: var(--cream);
  background: linear-gradient(to top, rgba(10, 9, 8, .9), rgba(10, 9, 8, 0));
}
.fin__line { max-width: 16ch; }

.tally { display: grid; gap: clamp(26px, 4vw, 56px); margin-top: clamp(44px, 6vw, 92px); }
@media (min-width: 820px) {
  .tally { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .tally > :nth-child(2) { margin-top: clamp(26px, 4vw, 70px); }
  .tally > :nth-child(3) { margin-top: clamp(52px, 8vw, 140px); }
}
.tally .tally__n { font-size: clamp(58px, 9vw, 150px); line-height: .82; }
.tally p { font-size: 15px; line-height: 1.45; max-width: 26ch; margin-top: 12px; opacity: .82; }
/* Hardé's figures sit on one line, sized so the widest never crosses into the next column */
@media (min-width: 820px) { .hd .tally > :nth-child(n) { margin-top: 0; } }
.hd .tally .tally__n { font-size: clamp(52px, 6.4vw, 112px); }
/* a split that shares the tally's three columns, so the line above lands on the last figure */
@media (min-width: 820px) {
  .split.split--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(26px, 4vw, 56px); }
  .split--thirds > :first-child { grid-column: span 2; }
}

/* ---------- reveals scoped to this page ---------- */
.scene .rv { transform: translateY(30px); }
.scene .rv.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .arr__fr, .arr__fr img, .mark__fr, .colr__sticky { transition: none; }
  .arr__cue svg g { animation: none; }
  .arr__fr { clip-path: inset(0 0 0 0); }
  .px { transform: none; }
  .pot img, .barline img { animation: none; }
  .xfig__word { background-attachment: scroll; }
  .stage__fr { transition: none; }
}

/* ---------- ring nav on this page ---------- */
.ring { background: #181818; color: #F2F1F6; border-top: 0; }
.ring a { color: inherit; }
.ring a + a { border-left-color: rgba(255, 255, 255, .16); }
.ring .plabel { color: rgba(255, 255, 255, .55); }
.ring a:hover h3 { color: #DC3712; }
