/* =========================================================
   Lauter Metal Technologies
   Black. White. Heat.
   ========================================================= */

:root {
  --black: #000;
  --ink: #0a0a0a;
  --steel-900: #111;
  --steel-800: #1a1a1a;
  --steel-600: #3a3a3a;
  --steel-400: #7a7a7a;
  --steel-200: #c9c9c9;
  --white: #fff;

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --line: 1px solid rgba(255, 255, 255, .16);

  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }

::selection { background: var(--white); color: var(--black); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video, svg { display: block; max-width: 100%; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-tag { display: inline-block; color: var(--steel-400); }

h1, h2, h3 { margin: 0; font-weight: 800; line-height: .9; letter-spacing: -.02em; }
em { font-style: italic; font-weight: 300; font-variation-settings: "wdth" 100; }

/* ---------------------------------------------------------
   Grain overlay
   --------------------------------------------------------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-6%, 4%); }
  40%  { transform: translate(4%, -8%); }
  60%  { transform: translate(-10%, 2%); }
  80%  { transform: translate(8%, 6%); }
  100% { transform: translate(0, 0); }
}

/* ---------------------------------------------------------
   Preloader
   --------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.loader__shutter {
  position: absolute;
  left: 0; right: 0;
  height: 50.5%;
  background: var(--black);
  transition: transform 1.1s var(--ease);
}
.loader__shutter--top { top: 0; }
.loader__shutter--bottom { bottom: 0; }
.loader__inner {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100vw - 2 * var(--gutter)));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  transition: opacity .4s ease, transform .6s var(--ease);
}
.loader__temp {
  grid-column: 1 / -1;
  font-size: clamp(64px, 16vw, 140px);
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  line-height: .85;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}
.loader__temp sup { font-size: .3em; font-weight: 300; vertical-align: top; margin-left: .1em; }
.loader__bar {
  grid-column: 1 / -1;
  height: 2px;
  background: var(--steel-800);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--white);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.loader__label { color: var(--steel-400); }
.loader__label--right { text-align: right; }
.loader__label:first-child { grid-row: 3; }

body.is-ready .loader__inner { opacity: 0; transform: translateY(-20px); }
body.is-ready .loader__shutter--top { transform: translateY(-100%); }
body.is-ready .loader__shutter--bottom { transform: translateY(100%); }
body.is-ready .loader { visibility: hidden; transition: visibility 0s 1.2s; }

/* ---------------------------------------------------------
   Cursor
   --------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 150;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--white);
  mix-blend-mode: difference;
  pointer-events: none;
  display: grid;
  place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s;
  opacity: 0;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.has-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; mix-blend-mode: normal; }
.cursor__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0;
  transition: opacity .2s;
}
.cursor.has-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }

/* ---------------------------------------------------------
   Nav
   --------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 22px) var(--gutter) 22px;
  mix-blend-mode: difference;
  transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--white);
  color: var(--black);
  font-weight: 900;
  font-size: 20px;
  font-variation-settings: "wdth" 125;
  transition: transform .6s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__word {
  display: flex; flex-direction: column;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 15px;
  line-height: 1;
}
.brand__word em {
  font-family: var(--mono);
  font-style: normal;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: .2em;
  margin-top: 4px;
  opacity: .7;
}

.nav__links { display: flex; gap: 36px; }
.nav__links a {
  position: relative;
  display: block;
  overflow: hidden;
  height: 1.2em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.2;
}
.nav__links a span { position: relative; display: block; transition: transform .5s var(--ease); }
.nav__links a span::after {
  content: attr(data-hover);
  position: absolute;
  left: 0; top: 100%;
}
.nav__links a:hover span { transform: translateY(-100%); }

.nav__toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav__toggle span {
  position: absolute; left: 8px; right: 8px;
  height: 2px; background: var(--white);
  transition: transform .5s var(--ease);
}
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
body.menu-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0;
  z-index: 95;
  background: var(--white);
  color: var(--black);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
}
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(48px, 16vw, 96px);
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  line-height: 1;
  border-bottom: 1px solid rgba(0,0,0,.12);
  padding: 12px 0;
}
.menu a small { font-size: 11px; }

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) clamp(28px, 5vh, 56px);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.35) brightness(.72);
  transform: scale(calc(1.05 + var(--hero-p, 0) * .15));
  will-change: transform;
}
body:not(.is-ready) .hero__video { transform: scale(1.4); }
body.is-ready .hero__video { transition: transform 2.4s var(--ease-out); }
body.is-ready.scrolled .hero__video { transition: none; }

.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 50%, rgba(0,0,0,.85) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.6) 100%);
  opacity: calc(1 + var(--hero-p, 0));
}
.hero__scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

.hud {
  position: absolute;
  z-index: 3;
  line-height: 1.8;
  color: rgba(255,255,255,.75);
  opacity: 0;
  transition: opacity 1s 1.6s;
}
body.is-ready .hud { opacity: 1; }
.hud--tl { top: 104px; left: var(--gutter); }
.hud--tr { top: 104px; right: var(--gutter); text-align: right; }
.hud--bl { display: none; }
.hud--br { display: none; }
.hud__dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--white);
  margin-right: 8px;
  animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: .15; } }
.hud::before {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border: 1px solid rgba(255,255,255,.5);
  top: -14px;
}
.hud--tl::before { left: -14px; border-right: 0; border-bottom: 0; }
.hud--tr::before { right: -14px; border-left: 0; border-bottom: 0; }

.video-toggle { display: none; align-items: center; gap: 10px; }
.video-toggle__bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.video-toggle__bars i {
  width: 2px; height: 100%;
  background: currentColor;
  animation: eq 1s ease-in-out infinite;
}
.video-toggle__bars i:nth-child(2) { animation-delay: -.3s; }
.video-toggle__bars i:nth-child(3) { animation-delay: -.6s; }
.video-toggle__bars i:nth-child(4) { animation-delay: -.8s; }
.video-toggle.is-paused .video-toggle__bars i { animation-play-state: paused; transform: scaleY(.25); }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

.hero__content { position: relative; z-index: 2; }

.hero__eyebrow {
  margin: 0 0 12px;
  color: rgba(255,255,255,.8);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s 1.3s, transform 1s 1.3s var(--ease-out);
}

.hero__title {
  display: flex;
  justify-content: space-between;
  font-size: 20vw; /* refined by fitText() in main.js */
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  line-height: .78;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin: 0;
  overflow: hidden;
  padding-top: .04em;
}
.hero__title span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.3s var(--ease-out), font-variation-settings .6s var(--ease-out);
  transition-delay: calc(.55s + var(--i, 0) * .07s), 0s;
}
body.is-ready .hero__title span { transform: translateY(calc(var(--hero-p, 0) * var(--drift, 0) * 1%)); }
body.is-ready.scrolled .hero__title span { transition: font-variation-settings .6s var(--ease-out); }
@media (hover: hover) {
  .hero__title span:hover { font-variation-settings: "wdth" 62; }
}

.hero__sub {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: clamp(14px, 2.4vw, 28px);
  padding-top: clamp(14px, 2vw, 22px);
  border-top: var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s 1.5s, transform 1s 1.5s var(--ease-out);
}
body.is-ready .hero__eyebrow,
body.is-ready .hero__sub { opacity: 1; transform: none; }

.hero__tag {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 300;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.05;
}
.hero__lede {
  margin: 0;
  max-width: 34ch;
  color: var(--steel-200);
  font-size: clamp(14px, 1.2vw, 17px);
  text-align: right;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  top: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  color: rgba(255,255,255,.75);
  opacity: 0;
  transition: opacity 1s 2s;
}
body.is-ready .scroll-cue { opacity: 1; }
.scroll-cue__line {
  width: 1px; height: 64px;
  background: rgba(255,255,255,.2);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--white);
  animation: drip 2s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@media (min-width: 900px) {
  .hud--bl { display: block; bottom: auto; top: 30%; left: var(--gutter); writing-mode: vertical-rl; transform: rotate(180deg); }
  .hud--bl::before { display: none; }
  .hud--br { display: flex; top: 104px; right: 50%; transform: translateX(50%); }
  .hud--br::before { display: none; }
}
@media (max-width: 720px) {
  .hero__sub { flex-direction: column; align-items: flex-start; }
  .hero__lede { text-align: left; }
  .scroll-cue { display: none; }
  .hud--tl, .hud--tr { top: 84px; }
}

/* ---------------------------------------------------------
   Marquee
   --------------------------------------------------------- */
.marquee {
  position: relative;
  z-index: 2;
  background: var(--white);
  color: var(--black);
  overflow: hidden;
  padding: 18px 0;
  transform: rotate(-2deg) scale(1.05);
  margin: -24px 0 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee span {
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  line-height: 1;
  padding: 0 .4em;
  white-space: nowrap;
}
.marquee span:nth-of-type(even) {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--black);
}
.marquee b {
  width: .6em; height: .6em;
  font-size: clamp(28px, 5vw, 64px);
  background: var(--black);
  transform: rotate(45deg) scale(.5);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------
   Manifesto
   --------------------------------------------------------- */
.manifesto {
  padding: clamp(120px, 20vh, 220px) var(--gutter);
  max-width: 1500px;
}
.manifesto__text {
  margin: 28px 0 0;
  font-size: clamp(30px, 5.2vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  font-variation-settings: "wdth" 88;
}
.manifesto__text .w {
  display: inline-block;
  color: var(--steel-800);
  transition: color .25s linear, text-shadow .4s;
}
.manifesto__text .w.on { color: var(--white); }
.manifesto__text .w.hot { text-shadow: 0 0 24px rgba(255,255,255,.55); }

/* ---------------------------------------------------------
   Process (pinned horizontal)
   --------------------------------------------------------- */
.process { position: relative; height: 480vh; }
.process__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: var(--line);
}
.process__head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 100px var(--gutter) 0;
}
.process__progress {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.16);
  position: relative;
}
.process__progress span {
  position: absolute; inset: 0;
  background: var(--white);
  transform: scaleX(var(--pp, 0));
  transform-origin: left;
}
.process__count { color: var(--steel-400); font-variant-numeric: tabular-nums; }
.process__count b { color: var(--white); font-weight: 600; }

.process__track {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 2vw, 28px);
  padding: 40px var(--gutter) 48px;
  width: max-content;
  will-change: transform;
}

.panel {
  position: relative;
  width: min(78vw, 520px);
  flex: none;
  border: var(--line);
  padding: clamp(20px, 2.4vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--black);
  transition: background .6s var(--ease-out), color .6s var(--ease-out);
}
.panel.is-active { background: var(--white); color: var(--black); }
.panel.is-active .panel__glyph { stroke: var(--black); }
.panel.is-active p { color: var(--steel-600); }

.panel--intro {
  width: min(86vw, 640px);
  border: 0;
  justify-content: flex-end;
  padding-left: 0;
  background: transparent !important;
  color: var(--white) !important;
}
.panel--intro h2 {
  font-size: clamp(56px, 8.5vw, 140px);
  font-variation-settings: "wdth" 110;
  text-transform: uppercase;
}
.panel--intro p { color: var(--steel-400) !important; max-width: 30ch; margin: 24px 0 0; }

.panel__num {
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 900;
  font-variation-settings: "wdth" 62;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
  transition: -webkit-text-stroke-color .6s;
}
.panel.is-active .panel__num { -webkit-text-stroke-color: var(--black); }
.panel__glyph {
  position: absolute;
  top: clamp(20px, 2.4vw, 36px);
  right: clamp(20px, 2.4vw, 36px);
  width: 38%;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.2;
  transition: stroke .6s;
}
.panel__glyph path, .panel__glyph rect, .panel__glyph circle, .panel__glyph line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 2s var(--ease-out);
}
.panel.is-seen .panel__glyph * { stroke-dashoffset: 0; }
.panel__glyph--spin circle { transform-origin: center; transform-box: fill-box; }
.panel.is-active .panel__glyph--spin circle:first-child { animation: spin 4s linear infinite; }
.panel.is-active .panel__glyph--spin circle:nth-child(2) { animation: spin 4s linear infinite reverse; }
.panel__glyph--spin circle { stroke-dasharray: 18 8; stroke-dashoffset: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.panel h3 {
  font-size: clamp(48px, 6vw, 96px);
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.panel p {
  margin: 0 0 24px;
  color: var(--steel-400);
  max-width: 36ch;
  font-size: clamp(14px, 1.1vw, 17px);
  transition: color .6s;
}
.panel__spec {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid currentColor;
}

@media (max-height: 640px) {
  .panel__num { font-size: 64px; }
  .panel h3 { font-size: 40px; }
  .process__head { padding-top: 80px; }
}

/* ---------------------------------------------------------
   Material
   --------------------------------------------------------- */
.material {
  padding: clamp(100px, 16vh, 180px) var(--gutter);
  border-top: var(--line);
}
.material__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 120px);
  align-items: center;
  margin-top: 48px;
}
.element {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  width: 100%;
  background: var(--white);
  color: var(--black);
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease-out);
  overflow: hidden;
}
.element__num { font-size: clamp(14px, 1.6vw, 20px); }
.element__sym {
  align-self: center;
  font-size: clamp(140px, 22vw, 300px);
  font-weight: 900;
  font-variation-settings: "wdth" 100;
  line-height: .8;
  letter-spacing: -.05em;
}
.element__name, .element__mass { font-size: clamp(12px, 1.3vw, 16px); }
.element__mass { position: absolute; right: clamp(20px, 3vw, 36px); bottom: clamp(20px, 3vw, 36px); }
.element__shine {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0,0,0,.14), transparent 45%);
  pointer-events: none;
}

.material__copy h2 {
  font-size: clamp(44px, 6.4vw, 110px);
  font-variation-settings: "wdth" 110;
  text-transform: uppercase;
}
.material__copy p {
  margin: 32px 0 0;
  color: var(--steel-200);
  font-size: clamp(16px, 1.4vw, 21px);
  max-width: 48ch;
}

.stats {
  list-style: none;
  padding: 0;
  margin: clamp(80px, 12vh, 140px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: var(--line);
}
.stats li {
  padding: 28px 20px 8px 0;
  border-right: var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stats li + li { padding-left: 20px; }
.stats li:last-child { border-right: 0; }
.stats__val {
  font-size: clamp(44px, 5.4vw, 88px);
  font-weight: 900;
  font-variation-settings: "wdth" 70;
  line-height: .9;
  font-variant-numeric: tabular-nums;
}
.stats__val b { font-weight: inherit; }
.stats__val i { font-style: normal; font-weight: 300; font-size: .35em; margin-left: .2em; vertical-align: top; }
.stats .mono { color: var(--steel-400); }

@media (max-width: 860px) {
  .material__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(3) { padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: var(--line); }
}

/* ---------------------------------------------------------
   Expanding video
   --------------------------------------------------------- */
.reveal-video { position: relative; height: 260vh; }
.reveal-video__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.reveal-video__frame {
  position: absolute;
  inset: 0;
  clip-path: inset(var(--inset-y, 30%) var(--inset-x, 34%) round var(--radius, 0px));
  will-change: clip-path;
}
.reveal-video__frame video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.3) brightness(.6);
  transform: scale(calc(1.3 - var(--rv, 0) * .3));
}
.reveal-video__caption {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: clamp(34px, 6.2vw, 120px);
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  mix-blend-mode: difference;
  pointer-events: none;
  padding: 0 var(--gutter);
}
.reveal-video__caption span { display: block; }
.reveal-video__caption span:first-child { transform: translateX(calc((1 - var(--rv, 0)) * -40vw)); }
.reveal-video__caption span:last-child {
  transform: translateX(calc((1 - var(--rv, 0)) * 40vw));
  font-weight: 300;
  font-style: italic;
}

/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */
.cta {
  padding: clamp(120px, 20vh, 220px) var(--gutter) clamp(80px, 12vh, 140px);
  background: var(--white);
  color: var(--black);
}
.cta .section-tag { color: var(--steel-600); }
.cta__title {
  margin: 32px 0 0;
  font-size: clamp(40px, 10.4vw, 200px);
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  line-height: .86;
}
.cta__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.cta__title .line > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.2s var(--ease-out);
}
.cta__title .line:nth-child(2) > span { transition-delay: .1s; }
.cta__title .line:nth-child(3) > span { transition-delay: .2s; }
.cta__title.in .line > span { transform: none; }
.cta__title em { font-variation-settings: "wdth" 62; }

.cta__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-top: clamp(48px, 8vh, 96px);
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,.15);
}
.cta__row p { margin: 0; max-width: 40ch; color: var(--steel-600); font-size: clamp(16px, 1.3vw, 20px); }

.cta__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 26px 36px;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  font-variation-settings: "wdth" 110;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(15px, 1.3vw, 19px);
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease-out);
}
.cta__button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--steel-800);
  transform: translateY(101%);
  border-radius: 50% 50% 0 0;
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.cta__button:hover::before { transform: none; border-radius: 0; }
.cta__button svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2;
  transition: transform .5s var(--ease);
}
.cta__button:hover svg { transform: rotate(45deg); }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer {
  background: var(--black);
  padding: 32px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 12px);
  overflow: hidden;
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--steel-400);
}
.footer__row a:hover { color: var(--white); }
.footer__giant {
  margin-top: 40px;
  font-size: 22vw; /* refined by fitText() */
  font-weight: 900;
  width: max-content;
  margin-inline: auto;
  font-variation-settings: "wdth" 125;
  line-height: .74;
  letter-spacing: -.04em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.35);
  background: linear-gradient(0deg, var(--white) 50%, transparent 50%) 0 var(--fill, 0%) / 100% 200% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 1.2s var(--ease);
  user-select: none;
}
.footer__giant.in { background-position: 0 100%; }

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .grain { display: none; }
  .marquee__track { animation: none; }
}
