/* ─────────────────────────────────────────────
   Zang Inc. — Reel 01
   ───────────────────────────────────────────── */

:root {
  --ink: #0b0a09;
  --ink-2: #121110;
  --ink-3: #1a1816;
  --bone: #efe8dc;
  --bone-2: #cfc7b9;
  --mute: #8b8378;
  --line: rgba(239, 232, 220, 0.12);
  --line-2: rgba(239, 232, 220, 0.22);

  --zang: #7a4bc0;
  --hs: #e3262f;
  --hs-deep: #a3141c;
  --ax-a: #6a1bff;
  --ax-b: #ff2e7e;

  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--bone); color: var(--ink); }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.serif-it { font-family: var(--serif); font-style: italic; font-weight: 300; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -0.01em; }

.label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--mute);
}
.label span {
  color: var(--bone);
  padding: 3px 7px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  font-size: 10px;
}

.h2 {
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 88;
}
.h2 em { font-size: 1.08em; }

/* ── Film grain ─────────────────────────────── */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.075;
  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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ── Intro + letterbox ─────────────────────── */
.intro, .letterbox { display: none; }
.js .intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--ink);
  pointer-events: none;
}
.intro__card {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--bone-2);
  opacity: 0;
}
.intro__rule {
  width: 64px;
  height: 1px;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: left;
}
.js .letterbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: block;
  pointer-events: none;
}
.letterbox span {
  position: absolute;
  left: 0;
  right: 0;
  height: 11vh;
  background: #000;
}
.letterbox span:first-child { top: 0; }
.letterbox span:last-child { bottom: 0; }

/* ── Cursor ────────────────────────────────── */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99;
    pointer-events: none;
    mix-blend-mode: difference;
  }
  .cursor__dot, .cursor__ring {
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    will-change: transform;
  }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
  .cursor__ring {
    width: 36px; height: 36px; margin: -18px 0 0 -18px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s var(--ease), border-color .45s;
  }
  .cursor.is-hover .cursor__ring {
    width: 72px; height: 72px; margin: -36px 0 0 -36px;
    background: rgba(255, 255, 255, 0.9);
    border-color: transparent;
  }
  .cursor.is-hidden { opacity: 0; }
}

/* ── Nav ───────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px var(--gutter);
  mix-blend-mode: difference;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  justify-self: start;
}
.nav__brand img { width: 18px; height: auto; filter: grayscale(1) brightness(3); }
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--bone-2);
}
.nav__links a { position: relative; transition: color .3s; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__tc {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bone-2);
  font-variant-numeric: tabular-nums;
}
.rec {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hs);
  animation: rec 1.6s ease-in-out infinite;
}
@keyframes rec { 50% { opacity: .25; } }

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 96px var(--gutter) 32px;
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(11,10,9,0) 40%, rgba(11,10,9,.85) 100%),
    linear-gradient(to bottom, rgba(11,10,9,0) 60%, var(--ink) 100%);
  pointer-events: none;
}
.hero__meta {
  align-self: start;
  display: flex;
  gap: 28px;
  color: var(--mute);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.hero__title {
  font-weight: 200;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: clamp(28px, 5vw, 56px);
}
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
/* Room for italic descenders (g, J), sized from the italic itself, not the h1. */
.line:has(.serif-it) { padding-bottom: calc(var(--serif-size, 4rem) * .34); margin-bottom: calc(var(--serif-size, 4rem) * -.28); }
.hero__title { --serif-size: clamp(4rem, 15.5vw, 17rem); }
.fhero__name { --serif-size: clamp(4rem, 14vw, 15rem); }
/* Lines clip only while the title slides in; afterwards descenders (g, J) hang free. */
.is-revealed .line, .no-anim .line { overflow: visible; }
.line__in { display: inline-block; will-change: transform; }
.sans-x {
  font-size: clamp(2.6rem, 8.4vw, 9.4rem);
  font-variation-settings: "wdth" 118;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.hero__title .serif-it {
  font-size: var(--serif-size);
  line-height: 0.82;
  letter-spacing: -0.035em;
  padding-left: 0.08em;
  color: #fff;
}
.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero__lede {
  max-width: 34ch;
  color: var(--bone-2);
  font-size: clamp(15px, 1.25vw, 18px);
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mute);
}
.scroll-line {
  position: relative;
  width: 56px; height: 1px;
  background: var(--line-2);
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--bone);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ── Manifesto ─────────────────────────────── */
.manifesto {
  padding: clamp(120px, 18vw, 240px) var(--gutter) clamp(100px, 14vw, 200px);
  display: grid;
  gap: 48px;
}
.manifesto__text {
  font-weight: 300;
  font-size: clamp(1.7rem, 4.1vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  max-width: 22ch;
  font-variation-settings: "wdth" 92;
  max-width: 1200px;
}
.manifesto__text .w { display: inline; }
.js .manifesto__text .w { opacity: 0.14; }
.manifesto__sign {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mute);
}

/* ── Section head ──────────────────────────── */
.section-head {
  display: grid;
  gap: 28px;
  padding: 0 var(--gutter);
  margin-bottom: clamp(48px, 7vw, 96px);
}
.section-head__p {
  max-width: 46ch;
  color: var(--bone-2);
}

/* ── Slate ─────────────────────────────────── */
.slate { position: relative; padding-bottom: clamp(100px, 14vw, 200px); }
.slate__list { border-top: 1px solid var(--line); }
.slate__row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr) 90px;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px) var(--gutter);
  border-bottom: 1px solid var(--line);
  transition: color .5s var(--ease);
}
.slate__row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity .6s var(--ease);
  pointer-events: none;
}
.slate__row:hover::before { opacity: 1; }
.slate__no { color: var(--mute); }
.slate__main { display: grid; gap: 10px; }
.slate__name {
  font-weight: 300;
  font-size: clamp(2.2rem, 5.4vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 90;
  transition: transform .7s var(--ease), letter-spacing .7s var(--ease);
}
.slate__row:hover .slate__name { transform: translateX(14px); }
.slate__kind { color: var(--accent); filter: brightness(1.35); }
.slate__desc { color: var(--bone-2); max-width: 44ch; font-size: 15px; }
.slate__cta {
  justify-self: end;
  display: inline-flex;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  position: relative;
  z-index: 2;
  transition: background .4s, color .4s, border-color .4s;
}
.slate__cta:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.slate__logo { display: none; }

.preview {
  position: fixed;
  left: 0; top: 0;
  z-index: 60;
  width: 300px;
  height: 380px;
  margin: -190px 0 0 -150px;
  pointer-events: none;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .45s var(--ease), transform .6s var(--ease);
  will-change: transform, left, top;
}
.preview.is-on { opacity: 1; transform: scale(1); }
.preview__card {
  width: 100%; height: 100%;
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #1a0d29;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.7);
  transition: background .5s var(--ease);
}
.preview__card img {
  width: 46%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.45));
  transition: opacity .3s;
}

/* ── Heartstrings ──────────────────────────── */
.hs {
  position: relative;
  padding: clamp(100px, 14vw, 200px) var(--gutter);
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(227, 38, 47, 0.10), transparent 70%),
    radial-gradient(50% 40% at 0% 90%, rgba(227, 38, 47, 0.06), transparent 70%),
    var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hs__thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.hs__thread path {
  fill: none;
  stroke: var(--hs);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  opacity: .8;
  filter: drop-shadow(0 0 6px rgba(227, 38, 47, .55));
}
.hs__head { display: grid; gap: 32px; max-width: 1100px; }
.hs__mark { width: 72px; }
.hs__title {
  font-weight: 300;
  font-size: clamp(2.2rem, 5.6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 90;
}
.hs__title em { color: var(--hs); font-size: 1.08em; }
.hs__lede { max-width: 52ch; color: var(--bone-2); font-size: clamp(15px, 1.2vw, 18px); }

.chord {
  display: flex;
  gap: clamp(32px, 8vw, 140px);
  margin: clamp(64px, 9vw, 120px) 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.chord__note { display: flex; align-items: center; gap: 16px; color: var(--mute); }
.chord__note--two { color: var(--bone); }
.chord__dots { display: inline-flex; gap: 4px; }
.chord__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #8e8580;
}
.chord__dot.is-red { background: var(--hs); }
.chord__dot.is-deep { background: var(--hs-deep); }
.chord__note--two .chord__dots { animation: chord 3.2s ease-in-out infinite; }
@keyframes chord {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(227,38,47,0)); }
  50% { filter: drop-shadow(0 0 10px rgba(227,38,47,.8)); }
}

.hs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hs__grid li {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px 24px 36px;
  background: var(--ink);
  min-height: 250px;
  transition: background .5s var(--ease);
}
.hs__grid li:hover { background: #140b0b; }
.hs__grid .mono { color: var(--hs); }
.hs__grid h3 {
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hs__grid p { color: var(--bone-2); font-size: 14.5px; }

.hs__foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-top: clamp(56px, 8vw, 100px);
}
.stats { display: flex; gap: clamp(28px, 5vw, 72px); }
.stats div { display: grid; gap: 8px; }
.stats dt { color: var(--mute); }
.stats dd {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" 80;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  border-radius: 99px;
  background: var(--bone);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hs);
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover { color: #fff; }
.btn:hover::before { transform: translateY(0); }
.btn__arrow { transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }

/* ── Axile ─────────────────────────────────── */
.ax {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
  padding: clamp(100px, 14vw, 200px) var(--gutter);
  border-top: 1px solid var(--line);
}
.ax__copy { display: grid; gap: 28px; justify-items: start; }
.ax__word { width: 120px; opacity: .9; }
.ax__copy .h2 em {
  background: linear-gradient(95deg, #b36bff, var(--ax-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.ax__copy p { max-width: 44ch; color: var(--bone-2); }
.link {
  display: inline-flex;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  transition: border-color .4s;
}
.link:hover { border-color: var(--bone); }

.sheet {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: linear-gradient(180deg, #151312, #0e0d0c);
  box-shadow: 0 50px 100px -40px rgba(106, 27, 255, .35);
  overflow: hidden;
}
.sheet::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ax-a), var(--ax-b), transparent);
}
.sheet__top, .sheet__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  color: var(--mute);
}
.sheet__top { border-bottom: 1px solid var(--line); }
.sheet__foot { border-top: 1px solid var(--line); }
.sheet__live { display: inline-flex; align-items: center; gap: 8px; color: var(--bone); font-variant-numeric: tabular-nums; }
.sheet__rows li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 90px 70px;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.sheet__rows li:last-child { border-bottom: 0; }
.sheet__rows .sc { color: var(--mute); }
.sheet__rows .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet__rows .s { color: var(--bone-2); text-align: right; font-size: 10px; }
.sheet__rows .s.ok { color: #b58cff; }
.sheet__rows .s.warn { color: var(--ax-b); }
.bar { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.bar i {
  display: block;
  height: 100%;
  width: calc(var(--p) * 100%);
  background: linear-gradient(90deg, var(--ax-a), var(--ax-b));
  transform-origin: left;
}
.js .bar i { transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js .sheet.is-in .bar i { transform: scaleX(1); }
.js .sheet.is-in li:nth-child(2) .bar i { transition-delay: .15s; }
.js .sheet.is-in li:nth-child(3) .bar i { transition-delay: .3s; }
.js .sheet.is-in li:nth-child(4) .bar i { transition-delay: .45s; }
.qr {
  width: 26px; height: 26px;
  background:
    conic-gradient(from 90deg at 3px 3px, var(--bone) 25%, transparent 0) 0 0 / 6px 6px;
  -webkit-mask: linear-gradient(#000 0 0);
  opacity: .7;
  image-rendering: pixelated;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 60% 40%, 60% 100%, 0 100%);
}

/* ── The Long Take ─────────────────────────── */
.take { position: relative; border-top: 1px solid var(--line); }
.take__pin {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 40px;
  padding: clamp(96px, 10vw, 140px) 0 60px;
  overflow: hidden;
}
.take__head { display: grid; gap: 28px; padding: 0 var(--gutter); }
.take__track {
  display: flex;
  gap: 20px;
  padding: 0 var(--gutter);
  align-items: stretch;
  will-change: transform;
}
.frame {
  position: relative;
  flex: 0 0 clamp(280px, 30vw, 440px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  min-height: clamp(320px, 46vh, 460px);
  padding: 34px 28px 30px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 4px;
}
/* sprocket holes, quietly */
.frame::before, .frame::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  height: 6px;
  background: radial-gradient(circle, var(--ink) 0 2px, transparent 2.5px) 0 0 / 16px 6px repeat-x;
  opacity: .9;
}
.frame::before { top: 10px; }
.frame::after { bottom: 10px; }
.frame__yr {
  font-weight: 200;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-variation-settings: "wdth" 80;
  font-variant-numeric: tabular-nums;
}
.frame p { color: var(--bone-2); font-size: 16px; max-width: 30ch; align-self: end; }
.frame__tc { color: var(--mute); }
.frame--next {
  background: radial-gradient(120% 100% at 50% 110%, rgba(122, 75, 192, .35), transparent 70%), var(--ink-2);
  border-color: var(--line-2);
}
.frame--next .frame__yr { font-size: 12px; color: var(--mute); letter-spacing: .08em; }
.frame--next p {
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  line-height: 1;
  color: #fff;
  align-self: center;
}

/* ── Rules ─────────────────────────────────── */
.rules { padding: clamp(100px, 14vw, 200px) 0; border-top: 1px solid var(--line); }
.rules__list { border-top: 1px solid var(--line); }
.rules__list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
  padding: clamp(22px, 2.6vw, 34px) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.rules__list .mono { color: var(--mute); }
.rules__list h3 {
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-variation-settings: "wdth" 90;
}
.rules__list p { color: var(--bone-2); max-width: 40ch; }

/* ── Credits ───────────────────────────────── */
.credits {
  position: relative;
  padding: clamp(120px, 16vw, 220px) var(--gutter) 28px;
  background: #070605;
  overflow: hidden;
}
.credits__line {
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-align: center;
  font-variation-settings: "wdth" 90;
}
.credits__line em { color: var(--bone-2); }
.credits__roll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px;
  max-width: 900px;
  margin: clamp(80px, 11vw, 150px) auto;
  text-align: center;
}
.credits__roll > div { display: grid; gap: 10px; }
.credits__roll .mono { color: var(--mute); font-size: 10px; }
.credits__roll p { font-size: 18px; letter-spacing: -0.01em; }
.credits__roll a { border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.credits__roll a:hover { border-color: var(--bone); }
.credits__wordmark {
  font-weight: 200;
  font-size: clamp(4.5rem, 21vw, 22rem);
  line-height: .78;
  letter-spacing: -0.06em;
  text-align: center;
  white-space: nowrap;
  font-variation-settings: "wdth" 110;
  background: linear-gradient(180deg, var(--bone) 0%, rgba(239,232,220,.08) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 calc(var(--gutter) * -1);
  user-select: none;
}
.credits__base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--mute);
}
.credits__base a:hover { color: var(--bone); }

/* ── Utilities ─────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nav__links a[aria-current="page"] { color: var(--bone); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.slate__tag {
  justify-self: end;
  padding: 10px 14px;
  border: 1px dashed var(--line-2);
  border-radius: 99px;
  color: var(--mute);
}

/* ── Cutting room floor ────────────────────── */
.floor { padding: clamp(100px, 14vw, 200px) 0; border-top: 1px solid var(--line); }
.floor__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  padding: 0 var(--gutter);
}
.cut { display: grid; gap: 22px; align-content: start; }
.cut__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  isolation: isolate;
}
.cut__media img:not(.cut__logo) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.8);
  transform: scale(1.02);
  transition: filter .9s var(--ease), transform 1.4s var(--ease), opacity .9s var(--ease);
}
.cut__alt { opacity: 0; }
.cut:hover .cut__media img:not(.cut__logo) { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1.06); }
.cut:hover .cut__alt { opacity: 1; }
.cut__media--logo {
  display: grid;
  place-items: center;
  background: radial-gradient(70% 70% at 50% 60%, color-mix(in srgb, var(--glow) 55%, transparent), transparent 75%), var(--ink-2);
}
.cut__media--logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-2);
  opacity: .7;
  transition: opacity .9s var(--ease);
  z-index: -1;
}
.cut__logo {
  width: auto;
  height: 38%;
  filter: grayscale(1) brightness(1.1);
  opacity: .75;
  transition: filter .9s var(--ease), opacity .9s var(--ease), transform 1.2s var(--ease);
}
.cut:hover .cut__logo { filter: none; opacity: 1; transform: scale(1.05); }
.cut__stamp {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid rgba(239, 232, 220, .35);
  border-radius: 99px;
  background: rgba(11, 10, 9, .55);
  backdrop-filter: blur(6px);
  color: var(--bone-2);
  font-size: 10px;
}
.cut__body { display: grid; gap: 12px; justify-items: start; }
.cut__meta { color: var(--mute); }
.cut__body h3 {
  font-weight: 300;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 90;
}
.cut__body p { color: var(--bone-2); font-size: 15px; max-width: 42ch; }
.cut__fine { color: var(--mute); font-size: 10px; line-height: 1.7; }
.cut__fine a { border-bottom: 1px solid var(--line-2); }
.cut__fine a:hover { color: var(--bone); }

/* ── Founder band (home) ───────────────────── */
.founder-band {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
  padding: clamp(100px, 14vw, 200px) var(--gutter);
  border-top: 1px solid var(--line);
}
.founder-band__photo {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
  max-width: 460px;
}
.founder-band__photo img, .fhero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.08);
  transition: filter 1s var(--ease), transform 1.4s var(--ease);
}
.founder-band__photo:hover img, .fhero__photo:hover img { filter: grayscale(0) contrast(1); transform: scale(1.03); }
.founder-band__copy { display: grid; gap: 28px; justify-items: start; }
.founder-band__copy p { color: var(--bone-2); max-width: 46ch; font-size: clamp(15px, 1.2vw, 18px); }
.founder-band__links { display: flex; flex-wrap: wrap; gap: 14px 28px; }

/* ── Founder page ──────────────────────────── */
.fhero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  min-height: 100svh;
  padding: 120px var(--gutter) 64px;
}
.fhero__copy { display: grid; gap: clamp(28px, 4vw, 48px); }
.fhero__name { font-weight: 200; line-height: .88; letter-spacing: -0.04em; }
.fhero__name .sans-x { font-size: clamp(3rem, 11vw, 12rem); }
.fhero__name .serif-it { font-size: var(--serif-size); line-height: .82; color: #fff; padding-left: .06em; }
.fhero__lede { color: var(--bone-2); max-width: 36ch; font-size: clamp(16px, 1.4vw, 20px); }
.fhero__photo { margin: 0; display: grid; gap: 12px; }
.fhero__photo img { aspect-ratio: 4 / 5; border-radius: 4px; border: 1px solid var(--line); }
.fhero__photo figcaption { display: flex; justify-content: space-between; color: var(--mute); }

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 40px;
  align-items: start;
  padding: clamp(100px, 14vw, 200px) var(--gutter);
  border-top: 1px solid var(--line);
}
.story > .label { position: sticky; top: 96px; }
.story__text { display: grid; gap: 1.1em; }
.story__text p { max-width: 22em; }
.story__text p {
  font-weight: 300;
  font-size: clamp(1.25rem, 2.3vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 92;
}
.story__text em { font-size: 1.12em; color: #fff; }

.filmo { padding: clamp(100px, 14vw, 200px) 0; border-top: 1px solid var(--line); }
.filmo__list { border-top: 1px solid var(--line); }
.filmo__list li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.4fr) minmax(0, .6fr) 160px;
  align-items: baseline;
  gap: 24px;
  padding: clamp(18px, 2.2vw, 28px) var(--gutter);
  border-bottom: 1px solid var(--line);
  transition: background .5s var(--ease);
}
.filmo__list li:hover { background: rgba(239, 232, 220, .025); }
.filmo__list .mono { color: var(--mute); }
.filmo__list h3 {
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 90;
}
.filmo__list h3 a { transition: color .3s; }
.filmo__list h3 a:hover { color: #fff; }
.filmo__role { color: var(--bone-2); }
.filmo__state { justify-self: end; }
.filmo__state.is-live { color: var(--bone); }

.write {
  display: grid;
  gap: 32px;
  justify-items: start;
  padding: clamp(100px, 14vw, 200px) var(--gutter);
  border-top: 1px solid var(--line);
}
.write__mail {
  font-weight: 200;
  font-size: clamp(2.2rem, 7.5vw, 8rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-variation-settings: "wdth" 88;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .8s var(--ease);
  padding-bottom: .05em;
}
.write__mail:hover { background-size: 100% 1px; }
.credits--short { padding-top: clamp(80px, 10vw, 140px); }

/* ── Reveal defaults (JS on) ───────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.no-anim [data-reveal],
.no-anim .manifesto__text .w { opacity: 1 !important; transform: none !important; }
.no-anim .intro, .no-anim .letterbox { display: none !important; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 1100px) {
  .hs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slate__row { grid-template-columns: 48px minmax(0, 1fr) 90px; }
  .slate__desc { grid-column: 2 / 4; grid-row: 2; }
}

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .ax { grid-template-columns: minmax(0, 1fr); }
  .take__pin { min-height: 0; }
  .take__track { flex-direction: column; }
  .frame { flex: none; min-height: 0; }
  .frame p { align-self: start; }
  .hs__foot { flex-direction: column; align-items: start; }
  .rules__list li { grid-template-columns: 40px minmax(0, 1fr); }
  .rules__list p { grid-column: 2; }
  .credits__roll { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .floor__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .founder-band { grid-template-columns: minmax(0, 1fr); }
  .founder-band__photo { max-width: 360px; }
  .fhero { grid-template-columns: minmax(0, 1fr); min-height: 0; align-items: start; padding-top: 100px; }
  .fhero__photo { max-width: 380px; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .filmo__list li { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .filmo__role { display: none; }
}

@media (max-width: 640px) {
  .hero { padding-top: 84px; }
  .hero__meta { gap: 14px; flex-wrap: wrap; }
  .hero__meta span:nth-child(2) { display: none; }
  .sans-x { font-size: 7.6vw; white-space: nowrap; }
  .hero__title { --serif-size: 19vw; }
  .hero__foot { flex-direction: column; align-items: start; }
  .slate__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 16px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .slate__no { grid-column: 1; grid-row: 1; }
  .slate__logo { display: block; grid-column: 2; grid-row: 1 / 3; width: 40px; justify-self: end; align-self: start; }
  .slate__main { grid-column: 1; grid-row: 2; }
  .slate__desc { grid-column: 1 / 3; grid-row: 3; }
  .slate__cta, .slate__tag { grid-column: 1; grid-row: 4; justify-self: start; }
  .hs__grid { grid-template-columns: minmax(0, 1fr); }
  .hs__grid li { min-height: 0; }
  .chord { flex-direction: column; gap: 18px; }
  .stats { flex-wrap: wrap; gap: 24px 32px; }
  .sheet__rows li { grid-template-columns: 44px minmax(0, 1fr) 60px; }
  .sheet__rows .bar { display: none; }
  .letterbox span { height: 7vh; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .rec, .scroll-line::after, .chord__note--two .chord__dots { animation: none; }
  .js [data-reveal], .js .manifesto__text .w { opacity: 1 !important; transform: none !important; }
  .js .intro, .js .letterbox { display: none; }
}

.fhero__aka { color: var(--mute); margin-top: -12px; }
