/* =========================================================
   FIRE CRAYON — white paper, red fire, Bauhaus geometry
   ========================================================= */

/* fonts are served from the site itself: no third-party request, no late swap */
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

/* Lenis (smooth wheel scrolling) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

:root {
  --paper: #F4F0E8;
  --sheet: #FCFAF6;
  --white: #FFFCF7;
  --red: #E3241B;
  --red-deep: #BE1A11;
  --red-dark: #93110A;
  --ink: #151211;
  --ink-2: rgba(21, 18, 17, .62);
  --ink-3: rgba(21, 18, 17, .15);

  --sans: "Jost", "Futura", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --pad: clamp(18px, 3.4vw, 56px);
  --nav-h: 76px;
  --wm: min(23vw, 34vh);
  --spring: cubic-bezier(.2, .8, .1, 1);
}

html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; }
::selection { background: var(--red); color: var(--white); }

.vh-probe { position: absolute; top: 0; left: 0; width: 1px; height: 100vh; pointer-events: none; visibility: hidden; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  opacity: .065; background-size: 200px 200px;
  transform: translateZ(0); /* its own static layer: composited, never repainted */
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad); color: var(--ink); transition: color .5s;
}
/* in the red world content scrolls under the nav, so it gets a red band */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); opacity: 0; transition: opacity .5s; }
html.inv .nav::before { opacity: 1; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; justify-self: start; }
.mark { width: 30px; height: 30px; fill: var(--red); transition: fill .5s; flex: none; }
.mark__band { fill: var(--paper); transition: fill .5s; }
.nav__links { display: flex; gap: 36px; font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--spring);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  justify-self: end; background: var(--red); color: var(--white); font-size: 14px; font-weight: 500;
  padding: 11px 20px; border-radius: 999px; transition: background .5s, color .5s, transform .4s var(--spring);
}
.nav__cta:hover { transform: translateY(-2px); }
html.inv .nav { color: var(--white); }
html.inv .mark { fill: var(--white); }
html.inv .mark__band { fill: var(--red); }
html.inv .nav__cta { background: var(--white); color: var(--red); }

/* ---------- Shared type ---------- */
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 9px; height: 9px; background: var(--red); flex: none; }
.kicker--inv::before { background: var(--white); }

.g { display: inline-block; background: var(--red); flex: none; }
.g--circle { border-radius: 50%; }
.g--tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* ---------- Scenes ---------- */
.scene { position: relative; height: calc(var(--h) * 1vh); }
.pin { position: sticky; top: 0; height: 100vh; overflow-x: clip; overflow-y: visible; }
.pin__inner { position: absolute; inset: 0; transform-origin: 50% 30%; }
.pin__shade { position: absolute; inset: 0; z-index: 60; background: #120c0a; opacity: 0; pointer-events: none; }

.lift { margin-top: -100vh; }
.lift > .pin { z-index: 1; }
/* the rounded, shadowed top edge of an incoming sheet: static, and off-screen once the sheet is pinned */
.cap {
  position: absolute; left: 0; right: 0; top: -40px; height: 41px; z-index: 1; pointer-events: none;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -30px 70px -34px rgba(90, 24, 10, .5), 0 -1px 0 rgba(21, 18, 17, .05);
}
.manifesto > .cap, .process > .cap { background: var(--sheet); }
.services > .cap, .flood > .cap { background: var(--paper); }
.hero { z-index: 1; }
.manifesto { z-index: 2; }
.services { z-index: 3; }
.process { z-index: 4; }
.flood { z-index: 5; }
.hero > .pin, .services > .pin, .flood > .pin { background: var(--paper); }
.manifesto > .pin, .process > .pin { background: var(--sheet); }

/* shapes that rise from behind an incoming sheet */
.horizon { position: absolute; top: 0; z-index: 0; background: var(--red); pointer-events: none; will-change: transform; }
.horizon--sun { left: 58%; width: 30vmin; height: 30vmin; border-radius: 50%; }
.horizon--square { left: 12%; width: 17vmin; height: 17vmin; }
.horizon--tri { left: 74%; width: 22vmin; height: 20vmin; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* =========================================================
   HERO
   ========================================================= */
.hero__deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.d { position: absolute; display: block; }
.d--ring { left: 0; top: 0; border: 1px solid var(--ink-3); border-radius: 50%; }
.d--axis { left: -20vw; top: 56%; width: 140vw; height: 1px; background: var(--ink-3); transform: rotate(-19deg); }
.d--grid {
  left: var(--pad); top: calc(var(--nav-h) + 3vh); width: 98px; height: 70px; opacity: .4;
  background: radial-gradient(circle, var(--ink) 1.3px, transparent 1.7px) 0 0 / 14px 14px;
}
.d--dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); left: 46%; top: 12%; }

.hs { position: absolute; left: 0; top: 0; background: var(--red); transform-origin: 50% 50%; pointer-events: none; will-change: transform; }
.hs--circle { border-radius: 50%; z-index: 2; }
.hs--square { z-index: 4; overflow: hidden; }
.hs--square i { position: absolute; left: 0; right: 0; height: 2.6%; background: var(--paper); opacity: 0; }
/* the square is turned 180° in the crayon, so these land near its base */
.hs--square i:nth-child(1) { top: 21.5%; }
.hs--square i:nth-child(2) { top: 27%; }
.hs--tri { z-index: 4; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.wordmark {
  position: absolute; left: var(--pad); right: var(--pad); top: 15vh; z-index: 3;
  font-size: var(--wm); font-weight: 800; line-height: .8; letter-spacing: -.04em; text-transform: uppercase;
  pointer-events: none; color: var(--ink);
}
.wm { display: block; white-space: nowrap; }
.wm--crayon { text-align: right; }
.wm .l { display: inline-block; will-change: transform, opacity; }

.hero__meta { position: absolute; right: var(--pad); bottom: 6vh; z-index: 6; width: min(360px, 84vw); }
.hero__lede { font-family: var(--serif); font-size: clamp(32px, 2.7vw, 46px); line-height: 1; letter-spacing: -.01em; margin: 16px 0 12px; }
.hero__lede em { color: var(--red); }
.hero__sub { font-size: 16px; line-height: 1.45; color: var(--ink-2); max-width: 31ch; }
.d--ring, .hero__meta, .hero__t2, .hero__t3, .hero__caps li { will-change: transform, opacity; }

.hero__cue { position: absolute; left: 50%; bottom: 4.5vh; z-index: 6; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.hero__cue i { position: relative; width: 1px; height: 46px; background: var(--ink-3); }
/* a whole round dot that glides down the line and fades, never clipped */
.hero__cue i::after { content: ""; position: absolute; left: -3.5px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: cue 2.4s var(--spring) infinite; }
@keyframes cue {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  62% { transform: translateY(46px); opacity: 1; }
  80%, 100% { transform: translateY(46px); opacity: 0; }
}

.hero__t2, .hero__t3 { position: absolute; left: var(--pad); right: var(--pad); text-align: center; z-index: 6; opacity: 0; pointer-events: none; }
.hero__t2 { top: 15vh; font-size: clamp(30px, 4.2vw, 74px); font-weight: 500; letter-spacing: -.03em; line-height: 1.02; }
.hero__t2 em, .hero__t3 em { color: var(--red); }
.hero__t3 { bottom: 8vh; font-size: clamp(24px, 2.9vw, 50px); font-weight: 500; letter-spacing: -.025em; line-height: 1.05; }
.hero__caps li {
  position: absolute; left: 0; top: 0; z-index: 6; opacity: 0; white-space: nowrap;
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.hero__caps .g { width: 9px; height: 9px; }

/* =========================================================
   MANIFESTO
   ========================================================= */
.m__wrap { position: absolute; left: var(--pad); right: calc(var(--pad) + 3vw); top: 50%; transform: translateY(-46%); z-index: 2; }
.m__text {
  margin-top: 30px; max-width: 21ch;
  font-size: clamp(34px, 5.3vw, 96px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em;
}
.m__text .hot { white-space: nowrap; }
html.js .m__text .w { opacity: .12; }
.m__text .w { transition: color .5s; }
.m__text .w.lit { color: var(--red); }
.m__disc { position: absolute; left: 0; top: 0; width: 80vmin; height: 80vmin; border-radius: 50%; background: var(--red); z-index: 1; will-change: transform; }
.m__orbit { position: absolute; right: 9vw; top: 17vh; width: 20vmin; height: 20vmin; border: 1px solid var(--ink-3); border-radius: 50%; z-index: 1; will-change: transform; }
.m__orbit i { position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--red); }
.m__bar { position: absolute; left: 0; top: 0; width: 64vw; height: clamp(12px, 1.5vw, 26px); background: var(--red); z-index: 3; mix-blend-mode: multiply; will-change: transform; }
.m__tip { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--red); z-index: 4; opacity: 0; will-change: transform, opacity; }

/* =========================================================
   STUDIO (cards that weave)
   ========================================================= */
.sv__head { position: absolute; left: var(--pad); top: calc(var(--nav-h) + 5vh); z-index: 1; max-width: min(820px, 90vw); }
.sv__title { margin-top: 20px; font-size: clamp(54px, 8.4vw, 150px); font-weight: 700; line-height: .9; letter-spacing: -.045em; }
.sv__title em { color: var(--red); font-size: 1.04em; }
.sv__sub { margin-top: 24px; max-width: 38ch; font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); }

.cards { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.card {
  position: absolute; left: 0; right: 0; margin: 0 auto;
  width: min(1220px, 92vw); height: min(72vh, 700px);
  top: calc(15vh + var(--i) * 16px);
  transform-origin: 50% 0; pointer-events: auto; will-change: transform;
}
html.js .card { transform: translate3d(0, 110vh, 0); }
.card__face {
  position: absolute; inset: 0; z-index: 2; overflow: hidden;
  background: var(--sheet); border-radius: 30px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 40px 90px -40px rgba(70, 20, 8, .38), 0 2px 8px rgba(70, 20, 8, .06);
}
.card__layer { position: absolute; inset: 0; pointer-events: none; }
.card__under { z-index: 1; }
.card__over { z-index: 3; }
.card__shade { position: absolute; inset: 0; z-index: 4; border-radius: 30px; background: #140d0a; opacity: 0; pointer-events: none; will-change: opacity; }
/* the "over the paper" side of a slit: a plain rectangular clip (cheap), sized in JS */
.clip { position: absolute; overflow: hidden; }
.clip__in { position: absolute; }

.stage { position: absolute; right: 4%; top: 7%; width: 44%; height: 86%; }
.card__copy { position: absolute; left: 5%; top: 8%; bottom: 8%; width: 44%; display: flex; flex-direction: column; align-items: flex-start; }
.card__num { font-size: 12px; font-weight: 500; letter-spacing: .22em; color: var(--ink-2); }
.card__title { margin-top: 3vh; font-size: clamp(64px, 8.6vw, 156px); font-weight: 700; line-height: .86; letter-spacing: -.05em; }
.card__title .g { width: .19em; height: .19em; margin-left: .05em; }
.card__title .g--tri { width: .22em; height: .2em; }
.card__text { margin-top: 26px; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 32ch; }
.card__tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.card__tags li { border: 1px solid var(--ink-3); border-radius: 999px; padding: 7px 15px; font-size: 13px; font-weight: 500; }

.ws { position: absolute; left: 0; top: 0; background: var(--red); will-change: transform; }
.ws--circle { border-radius: 50%; }
.ws--tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ws--brick { background: var(--red-deep); opacity: 0; }
.ws--flame { border-radius: 50%; }
.rays { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.rays i { position: absolute; left: 0; top: -1px; height: 2px; background: var(--red); transform-origin: 0 50%; border-radius: 2px; }

.slit { position: absolute; background: var(--ink); border-radius: 3px; opacity: .85; }
.slit::after { content: ""; position: absolute; inset: -6px; border-radius: 8px; background: radial-gradient(closest-side, rgba(21, 18, 17, .16), transparent); }
.ring { position: absolute; border: 1px dashed rgba(21, 18, 17, .3); border-radius: 50%; }
.baseline { position: absolute; height: 1px; background: var(--ink-3); }

/* =========================================================
   PROCESS (horizontal)
   ========================================================= */
.pr__track {
  position: absolute; left: 0; top: 0; height: 100%; width: max-content; will-change: transform;
  display: flex; align-items: center; gap: clamp(120px, 15vw, 280px);
  padding: 0 max(var(--pad), 8vw) 0 var(--pad);
}
.pr__win { position: absolute; left: 0; top: 0; overflow: hidden; pointer-events: none; will-change: transform; }
.pr__win--under { z-index: 1; }
.pr__win--over { z-index: 3; }
.pr__svg { position: absolute; left: 0; top: 0; display: block; overflow: visible; will-change: transform; }
.cr { fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; }
.cr--a { stroke-width: 7; }
.cr--b { stroke-width: 2.4; opacity: .5; }
.cr--c { stroke-width: 1.8; opacity: .42; }
/* the crayon tip: a whole dot, under the cards it passes behind and over the ones it crosses */
.pr__head { position: absolute; left: 0; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--red); pointer-events: none; opacity: 0; will-change: transform, opacity; }
.pr__head--under { z-index: 1; }
.pr__head--over { z-index: 3; }

.pr__intro { position: relative; z-index: 2; flex: none; width: min(600px, 82vw); }
.pr__title { margin-top: 22px; font-size: clamp(54px, 7.4vw, 132px); font-weight: 700; line-height: .9; letter-spacing: -.045em; }
.pr__title em { color: var(--red); font-size: 1.04em; }
.pr__sub { margin-top: 24px; max-width: 32ch; font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); }

.frame {
  position: relative; z-index: 2; flex: none;
  /* +33px over the original height pays for the line's clear strip, so the pictures keep their size */
  width: min(500px, 80vw); height: min(calc(64vh + 33px), 633px);
  display: flex; flex-direction: column; padding: clamp(20px, 2.2vw, 32px);
  background: #fff; border-radius: 28px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 40px 80px -44px rgba(70, 20, 8, .36), 0 2px 8px rgba(70, 20, 8, .05);
}
.frame__art { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.frame__art .art, .frame__art .grid { width: 100%; height: 100%; display: block; }
/* the clear strip above the words is where the red line crosses a card */
.frame__copy { flex: none; padding-top: 52px; }
.frame__num { font-size: 12px; font-weight: 500; letter-spacing: .22em; color: var(--ink-2); }
.frame__copy h3 { margin-top: 6px; font-size: clamp(40px, 4.2vw, 70px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.frame__copy p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); max-width: 36ch; }

.cons * { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cons .thin { stroke-width: 1; opacity: .35; }
.cdot { fill: var(--red); }
.lbl { font-family: var(--mono); font-size: 11px; fill: var(--ink-2); }
html.js .cdot, html.js .lbl { opacity: 0; }

.sh { transform-box: fill-box; transform-origin: center; }
.sh1 { fill: var(--red); }
.sh2 { fill: var(--red-deep); mix-blend-mode: multiply; }
.sh3 { fill: var(--red-dark); mix-blend-mode: multiply; }

.frame__art--sys { flex-direction: column; gap: 10px; }
.frame__art--sys .grid { flex: 1; min-height: 0; }
.cell { fill: transparent; stroke: var(--ink-3); stroke-width: 1; transition: fill .35s; }
.cell.on { fill: var(--red); stroke: var(--red); }
.code { align-self: stretch; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--ink-2); background: var(--paper); border-radius: 12px; padding: 12px 16px; overflow: hidden; white-space: pre; }
.code b { color: var(--red); font-weight: 600; }
.code i { color: var(--ink); font-style: normal; }
.code .cl { display: inline-block; opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .6s var(--spring); }
.code .cl.on { opacity: 1; transform: none; }

.frame--fire { background: var(--red); color: var(--white); }
.frame--fire .frame__num, .frame--fire .frame__copy p { color: rgba(255, 252, 247, .8); }
.wfill { fill: var(--white); }
.band { fill: var(--red); }
.flame { transform-box: fill-box; transform-origin: center; }
.rays line { stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; }
.live { position: absolute; top: 4px; right: 4px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 7px 13px; border: 1px solid rgba(255, 252, 247, .5); border-radius: 999px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--white); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }

.pr__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 5vh; height: 1px; background: var(--ink-3); z-index: 5; }
.pr__bar i { position: absolute; inset: 0; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* =========================================================
   FLOOD (the red world)
   ========================================================= */
.fl__layer { position: absolute; inset: 0; }
/* a circle that scales (GPU) with the red world counter-scaled inside it: no per-frame repaint */
.fl__disk { position: absolute; left: 0; top: 0; z-index: 2; border-radius: 50%; overflow: hidden; will-change: transform; transform: scale(0); }
.fl__world { position: absolute; left: 0; top: 0; background: var(--red); color: var(--white); transform-origin: 0 0; will-change: transform; overflow: hidden; }
.fl__lead {
  position: absolute; left: var(--pad); right: var(--pad); top: 50%; margin-top: -.55em; z-index: 2;
  text-align: center; font-size: clamp(42px, 6.6vw, 118px); font-weight: 600; line-height: 1.04; letter-spacing: -.04em;
}
.fl__paper .fl__lead em { color: var(--red); }
.fl__world .fl__lead em { color: var(--white); }
.fl__lead { will-change: transform, opacity; }
.fl__rules { position: absolute; inset: 0; z-index: 2; }
.rule { position: absolute; left: var(--pad); right: var(--pad); top: 50%; transform: translateY(-50%); text-align: center; visibility: hidden; }
.rule__n { display: block; margin-bottom: 22px; font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; opacity: 0; }
.rule__t { display: block; overflow: hidden; padding: .04em 0 .1em; font-size: clamp(48px, 9.4vw, 176px); font-weight: 700; line-height: .98; letter-spacing: -.05em; }
.rule__t > span { display: block; transform: translateY(110%); will-change: transform; }
.rule__t em { font-size: 1.05em; }
.fs { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.fs--disc { width: 66vmin; height: 66vmin; border-radius: 50%; background: var(--red-deep); z-index: 1; }
.fs--tri { width: 30vmin; height: 27vmin; background: var(--red-dark); clip-path: polygon(50% 0, 100% 100%, 0 100%); z-index: 1; opacity: .9; }
.fs--ring { width: 44vmin; height: 44vmin; border-radius: 50%; border: 1.5px solid rgba(255, 252, 247, .75); z-index: 3; }
.fs--bar { width: 42vw; height: clamp(8px, .9vw, 15px); background: var(--white); z-index: 3; }

/* =========================================================
   CONTACT + FOOTER
   ========================================================= */
.contact { position: relative; z-index: 6; background: var(--red); color: var(--white); padding: 24vh var(--pad) 18vh; overflow: hidden; }
.ct__shapes { position: absolute; inset: 0; pointer-events: none; }
.cs { position: absolute; display: block; will-change: transform; }
.cs--disc { right: -12vmin; top: 6vh; width: 70vmin; height: 70vmin; border-radius: 50%; background: var(--red-deep); }
.cs--quarter { right: -1px; bottom: -1px; width: 24vmin; height: 24vmin; border-radius: 100% 0 0 0; background: var(--white); }
.cs--square { right: 30vw; bottom: 16vh; width: 9vmin; height: 9vmin; background: var(--red-dark); transform: rotate(12deg); }
.cs--ring { left: 44vw; top: 60vh; width: 16vmin; height: 16vmin; border-radius: 50%; border: 1.5px solid rgba(255, 252, 247, .6); }
.ct__inner { position: relative; z-index: 2; }
.ct__title { margin-top: 26px; max-width: 13ch; font-size: clamp(54px, 9vw, 164px); font-weight: 700; line-height: .9; letter-spacing: -.05em; }
.ct__title em { font-size: 1.05em; }
.ct__row { margin-top: 8vh; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; }
.ct__mail { position: relative; font-size: clamp(26px, 3.6vw, 64px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.ct__mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .055em; background: currentColor; transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--spring); }
.ct__mail:hover::after { transform: scaleX(1); }
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 18px 28px; border-radius: 999px;
  background: var(--white); color: var(--red); font-size: 16px; font-weight: 600;
  transition: transform .5s var(--spring), box-shadow .5s;
  box-shadow: 0 18px 40px -18px rgba(60, 6, 2, .55);
}
.btn span { display: inline-block; transition: transform .5s var(--spring); }
.btn:hover { transform: translateY(-3px); }
.btn:hover span { transform: translateX(5px); }
.ct__list { margin-top: 9vh; display: flex; flex-wrap: wrap; gap: 10px; }
.ct__list li { border: 1px solid rgba(255, 252, 247, .45); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 500; letter-spacing: .04em; }

.foot { position: relative; z-index: 6; background: var(--red); color: var(--white); padding: 2vh var(--pad) 26px; overflow: hidden; }
.foot__mark {
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 15vw; font-weight: 800; line-height: .8; letter-spacing: -.045em; text-transform: uppercase; white-space: nowrap;
  overflow: hidden; padding-top: .06em;
}
.fw { display: inline-flex; }
.fw > span { display: inline-block; }
html.js .fw > span { transform: translateY(105%); transition: transform 1.2s var(--spring); transition-delay: calc(var(--i) * 50ms); }
html.js .foot.in .fw > span { transform: none; }
.foot__row {
  margin-top: 3.5vh; padding-top: 20px; border-top: 1px solid rgba(255, 252, 247, .32);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px;
  font-size: 14px;
}
.foot__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.foot .mark { fill: var(--white); }
.foot .mark__band { fill: var(--red); }
.foot__top span { display: inline-block; transition: transform .5s var(--spring); }
.foot__top:hover span { transform: translateY(-4px); }

/* scroll reveals */
html.js .rv { opacity: 0; transform: translate3d(0, 50px, 0); transition: opacity 1s ease, transform 1.3s var(--spring); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .ct__title.rv { transition-delay: .08s; }
html.js .ct__row.rv { transition-delay: .18s; }
html.js .ct__list.rv { transition-delay: .26s; }

/* =========================================================
   NARROW SCREENS
   ========================================================= */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  :root { --nav-h: 64px; --wm: min(21vw, 30vh); }
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__cta { padding: 10px 16px; font-size: 13px; }

  .wordmark { top: 22vh; }
  /* on phones the square never covers the type: it sits below it, and passes behind it when moving */
  .hs--square { z-index: 2; }
  .hero__meta { left: var(--pad); right: var(--pad); width: auto; bottom: 11vh; }
  .hero__lede { font-size: 34px; margin: 12px 0 10px; }
  .hero__cue { display: none; }
  .d--grid { display: none; }
  .hero__t2 { top: 14vh; }
  .hero__t3 { bottom: 12vh; }

  .m__wrap { right: var(--pad); }
  .m__text { font-size: clamp(32px, 9vw, 60px); }
  .m__orbit { right: 6vw; top: 12vh; }

  .sv__head { top: calc(var(--nav-h) + 3vh); }
  .card { width: 92vw; height: 76vh; top: calc(13vh + var(--i) * 12px); }
  .card__copy { left: 7%; right: 7%; top: 6%; bottom: auto; width: auto; }
  .card__title { margin-top: 12px; font-size: clamp(54px, 15vw, 90px); }
  .card__text { margin-top: 14px; font-size: 15.5px; }
  .card__tags { display: none; }
  .stage { left: 8%; right: auto; top: 42%; width: 84%; height: 52%; }

  .frame { height: min(calc(68vh + 33px), 593px); }
  .pr__title { font-size: clamp(50px, 14vw, 90px); }

  .rule__t { font-size: clamp(44px, 12.5vw, 90px); }
  .contact { padding: 18vh var(--pad) 14vh; }
  .ct__title { font-size: clamp(48px, 13vw, 90px); }
  .foot__row { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__cue i::after, .live i { animation: none; }
}
