/* ============================================================
   KINETIC® — Motion is a language.
   A live canvas, presented as a web piece.
   ============================================================ */

@font-face {
  font-family: 'Archivo Black';
  src: url('fonts/ArchivoBlack-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/InstrumentSerif-Italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/InstrumentSerif-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('fonts/SpaceMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('fonts/SpaceMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #08080a;
  --ink-2: #0c0c0f;
  --bone: #f2ede3;
  --bone-2: #d8d1c4;
  --dim: rgba(242, 237, 227, 0.55);
  --faint: rgba(242, 237, 227, 0.32);
  --line: rgba(242, 237, 227, 0.14);
  --line-soft: rgba(242, 237, 227, 0.08);
  --orange: #ff4a1c;
  --orange-soft: rgba(255, 74, 28, 0.08);
  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'Space Mono', 'Courier New', monospace;
  --sans: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --header-h: 72px;
  --page: 1500px;
  --stage-w: min(var(--page), 90vw, max(300px, calc((100svh - 260px) * 16 / 9)));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 640px at 50% -10%, rgba(70, 32, 20, 0.42), transparent 70%),
    radial-gradient(900px 600px at 50% 62%, rgba(255, 74, 28, 0.045), transparent 70%),
    var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(242, 237, 227, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 237, 227, 0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 80%);
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url('assets/grain.png');
  background-size: 180px 180px;
}

::selection { background: var(--orange); color: var(--ink); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; touch-action: manipulation; }
a { touch-action: manipulation; }
img, canvas { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 14px;
  background: var(--bone);
  color: var(--ink);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 1px solid var(--orange);
  outline-offset: 4px;
}

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 34px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 8, 10, 0.62);
  backdrop-filter: blur(20px) saturate(0.9);
  -webkit-backdrop-filter: blur(20px) saturate(0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  min-height: 36px;
}
.brand-mark {
  width: 9px;
  height: 9px;
  background: var(--orange);
  flex: none;
}
.brand-name {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.015em;
  line-height: 1;
  white-space: nowrap;
}
.brand-name sup {
  font-family: var(--mono);
  font-size: 8px;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 2px;
  color: var(--dim);
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.24em;
  color: var(--faint);
  text-transform: uppercase;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 74, 28, 0.6);
  animation: live-pulse 2.4s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 74, 28, 0.5); }
  55% { box-shadow: 0 0 0 7px rgba(255, 74, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 74, 28, 0); }
}
.meta-sep { color: rgba(242, 237, 227, 0.16); }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}
.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.2em;
  color: var(--bone-2);
  cursor: pointer;
  transition: color 0.25s ease;
}
.sound-toggle:hover { color: var(--orange); }
.sound-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}
.sound-bars i {
  display: block;
  width: 2px;
  background: var(--orange);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.sound-bars i:nth-child(1) { height: 4px; }
.sound-bars i:nth-child(2) { height: 7px; }
.sound-bars i:nth-child(3) { height: 10px; }
.sound-toggle[aria-pressed="false"] .sound-bars i { transform: scaleY(0.28); opacity: 0.4; }

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: transparent;
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.2em;
  color: var(--bone-2);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.share-btn svg { width: 12px; height: 12px; }
.share-btn:hover { border-color: var(--orange); color: var(--orange); background: rgba(255, 74, 28, 0.04); }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 22px 32px 22px;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.hero-topline {
  width: min(var(--page), 92vw);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 12px;
  font: 400 7.5px/1 var(--mono);
  letter-spacing: 0.26em;
  color: var(--faint);
  text-transform: uppercase;
}

.player {
  width: var(--stage-w);
  margin: 0 auto;
  position: relative;
}

.stage-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid rgba(242, 237, 227, 0.17);
  box-shadow:
    0 44px 120px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.4) inset;
}

.stage-shell::before,
.stage-shell::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(242, 237, 227, 0.22) 18%, rgba(242, 237, 227, 0.22) 82%, transparent);
}
.stage-shell::before { left: 0; }
.stage-shell::after { right: 0; }

.stage-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.7s ease;
}
#stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.stage-shell.is-ready #stage { opacity: 1; }
.stage-shell.is-ready .stage-poster { opacity: 0; }

.start-overlay,
.end-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  padding: 26px;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(8, 8, 10, 0.22), rgba(8, 8, 10, 0.74) 72%),
    linear-gradient(to bottom, rgba(8, 8, 10, 0.24), rgba(8, 8, 10, 0.60));
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.start-overlay { opacity: 1; visibility: visible; }
.stage-shell.is-started .start-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.stage-shell.is-ended .start-overlay { opacity: 0; visibility: hidden; pointer-events: none; }

.start-inner {
  width: min(620px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  margin: 0 0 16px;
  font: 400 8px/1.4 var(--mono);
  letter-spacing: 0.28em;
  color: var(--orange);
  text-transform: uppercase;
}
.start-inner h1 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--bone);
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}
.start-inner h1 em { color: var(--orange); font-style: italic; }

.play-big {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 26px 0 18px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s ease;
}
.play-big svg { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.play-big::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(242, 237, 227, 0.24);
  border-radius: 50%;
  transition: transform 0.45s var(--ease), border-color 0.3s ease;
}
.play-big:hover { transform: scale(1.06); background: #ff5c30; }
.play-big:hover::before { transform: scale(1.06); border-color: rgba(255, 74, 28, 0.55); }

.start-meta {
  margin: 0 0 20px;
  font: 400 7.5px/1.5 var(--mono);
  letter-spacing: 0.28em;
  color: var(--dim);
}
.start-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.primary-btn {
  appearance: none;
  border: 1px solid var(--bone);
  background: var(--bone);
  color: var(--ink);
  padding: 13px 20px;
  min-height: 42px;
  font: 700 8.5px/1 var(--mono);
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.primary-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.text-btn {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 8px 0 6px;
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.16em;
  color: var(--dim);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.text-btn:hover { color: var(--orange); border-color: var(--orange); }
.start-note {
  margin: 18px 0 0;
  font: 400 7px/1.6 var(--mono);
  letter-spacing: 0.12em;
  color: rgba(242, 237, 227, 0.3);
}

.stage-loading {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 7px/1 var(--mono);
  letter-spacing: 0.18em;
  color: rgba(242, 237, 227, 0.45);
  transition: opacity 0.4s ease;
}
.loader-line {
  display: block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
  animation: loader 1.3s ease-in-out infinite;
  transform-origin: left;
}
@keyframes loader {
  0%, 100% { transform: scaleX(0.25); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}
.stage-shell.is-ready .stage-loading { opacity: 0; pointer-events: none; }

/* end overlay */
.end-overlay {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(8, 8, 10, 0.52), rgba(8, 8, 10, 0.94) 75%);
}
.end-overlay[hidden] { display: none; }
.stage-shell.is-ended .end-overlay { animation: overlay-in 0.65s var(--ease) both; }
@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.end-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.end-inner h2 {
  margin: 0 0 6px;
  font: italic 400 clamp(38px, 4vw, 58px)/0.98 var(--serif);
  letter-spacing: -0.015em;
}
.end-inner h2 em { color: var(--orange); font-style: italic; }
.end-overlay .primary-btn { margin-top: 4px; }

/* ------------------------------------------------------------ transport */
.transport {
  width: 100%;
  padding: 12px 16px 8px;
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(10, 10, 13, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.transport-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 30px;
}
.transport-play {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--bone);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.transport-play svg { width: 15px; height: 15px; fill: currentColor; }
.transport-play .icon-pause { display: none; }
.transport-play.is-playing .icon-play { display: none; }
.transport-play.is-playing .icon-pause { display: block; }
.transport-play:hover { border-color: var(--orange); color: var(--orange); }
.timecode {
  flex: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font: 400 8.5px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--bone-2);
  font-variant-numeric: tabular-nums;
}
.time-sep { color: rgba(242, 237, 227, 0.22); }
.time-total { color: var(--faint); }

.timeline-wrap {
  flex: 1;
  min-width: 80px;
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
}
.act-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.act-ticks i {
  position: absolute;
  left: var(--x);
  top: 50%;
  width: 1px;
  height: 5px;
  background: rgba(242, 237, 227, 0.2);
  transform: translateY(-50%);
}
.timeline-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(242, 237, 227, 0.16);
  transform: translateY(-50%);
  pointer-events: none;
}
.timeline-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 0;
  background: var(--orange);
}
.timeline-head {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bone);
  border: 1px solid var(--orange);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(255, 74, 28, 0.12);
}
.scrubber {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.scrubber::-webkit-slider-thumb { appearance: none; width: 28px; height: 28px; }
.scrubber::-moz-range-thumb { width: 28px; height: 28px; border: 0; }

.transport-actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--dim);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.25s ease;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { color: var(--orange); }
.icon-btn[aria-pressed="true"] { color: var(--orange); }
.icon-btn.is-muted .speaker-waves { opacity: 0; }
.icon-btn.is-muted { color: var(--faint); }

.hero-foot {
  width: min(var(--page), 92vw);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: auto;
  padding-top: 18px;
}
.hero-foot-copy { max-width: 780px; }
.mobile-meta { display: none; }
.mobile-title { display: none; }
.hero-note {
  margin: 0;
  font: 400 8px/1.6 var(--mono);
  letter-spacing: 0.18em;
  color: rgba(242, 237, 227, 0.38);
  text-transform: uppercase;
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 400 7px/1 var(--mono);
  letter-spacing: 0.22em;
  color: rgba(242, 237, 227, 0.3);
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.scroll-cue:hover { color: var(--orange); }
.cue-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.cue-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: translateX(-100%);
  animation: cue 2.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 60% { transform: translateX(-100%); }
  85%, 100% { transform: translateX(100%); }
}

/* ------------------------------------------------------------ sections */
.section {
  position: relative;
  z-index: 1;
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 116px 40px;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.22em;
  color: var(--dim);
  text-transform: uppercase;
}
.section-num { color: var(--orange); }
.section-name { color: var(--bone-2); }
.section-rule { flex: 1; height: 1px; background: var(--line-soft); }
.section-tag { color: rgba(242, 237, 227, 0.25); }

.idea-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  align-items: start;
  margin-top: 56px;
}
.idea-grid h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(42px, 5.3vw, 79px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.idea-grid h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.idea-copy { max-width: 500px; padding-top: 10px; }
.idea-copy p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.82;
  color: var(--dim);
}
.idea-copy p:first-child {
  font-size: 19px;
  line-height: 1.62;
  color: rgba(242, 237, 227, 0.78);
  letter-spacing: -0.01em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 68px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 26px 22px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.stat-label {
  font: 400 7.5px/1 var(--mono);
  letter-spacing: 0.22em;
  color: var(--faint);
}

/* acts */
.acts-list { margin-top: 38px; border-top: 1px solid var(--line); }
.act-row {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 76px 1.05fr 1.35fr 34px;
  gap: 18px;
  align-items: baseline;
  padding: 25px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  color: var(--bone);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, padding 0.3s ease;
}
.act-row:hover { background: var(--orange-soft); padding-left: 16px; padding-right: 16px; }
.act-index { font: 400 8px/1 var(--mono); color: var(--orange); letter-spacing: 0.1em; }
.act-time { font: 400 9px/1 var(--mono); color: var(--faint); letter-spacing: 0.1em; }
.act-title {
  font-family: var(--display);
  font-size: clamp(21px, 2.1vw, 30px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}
.act-row:hover .act-title { color: var(--orange); }
.act-desc { font-size: 12.5px; line-height: 1.55; color: var(--dim); }
.act-arrow {
  justify-self: end;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--faint);
  transition: color 0.25s ease, transform 0.3s var(--ease);
}
.act-row:hover .act-arrow { color: var(--orange); transform: translate(2px, -2px); }

/* process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 52px;
}
.process-card { border-top: 1px solid var(--line); padding-top: 20px; }
.process-index { font: 400 8px/1 var(--mono); color: var(--orange); letter-spacing: 0.16em; }
.process-card h3 {
  margin: 16px 0 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.process-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.78;
  color: var(--dim);
}
.credit-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  gap: 28px;
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.credit-label {
  display: block;
  margin-bottom: 8px;
  font: 400 7px/1.4 var(--mono);
  letter-spacing: 0.2em;
  color: var(--faint);
}
.credit-value { font: 400 10px/1.6 var(--mono); color: var(--bone-2); letter-spacing: 0.03em; }

/* closing */
.closing {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 140px 24px 150px;
  border-top: 1px solid var(--line-soft);
}
.closing .eyebrow { margin-bottom: 22px; }
.closing h2 {
  margin: 0 auto 32px;
  font-family: var(--display);
  font-size: clamp(64px, 9.2vw, 138px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.closing h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -0.03em;
}
.closing-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* footer */
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 34px 30px;
  border-top: 1px solid var(--line);
}
.footer-brand {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.015em;
}
.footer-brand sup { font-family: var(--mono); font-size: 7px; color: var(--dim); }
.site-footer p {
  margin: 0;
  flex: 1;
  font: 400 7.5px/1.5 var(--mono);
  letter-spacing: 0.16em;
  color: var(--faint);
  text-transform: uppercase;
}
.footer-year { font: 400 8px/1 var(--mono); color: var(--faint); letter-spacing: 0.15em; }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10001;
  transform: translate(-50%, 16px);
  padding: 11px 18px;
  background: var(--bone);
  color: var(--ink);
  font: 700 8px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* mobile intro title */
.mobile-title { display: none; }

/* noscript */
.noscript {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}
.noscript img { margin-top: 16px; width: 100%; opacity: 0.8; }
.noscript p { font: 400 11px/1.7 var(--mono); color: var(--dim); }

/* ------------------------------------------------------------ fullscreen / theater */
.player:fullscreen,
.player.is-theater {
  width: 100vw;
  height: 100vh;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  padding: 0;
}
.player:fullscreen .stage-shell,
.player.is-theater .stage-shell {
  width: min(100vw, calc((100vh - 86px) * 16 / 9));
  margin: 0 auto;
  border-left: 0;
  border-right: 0;
}
.player:fullscreen .transport,
.player.is-theater .transport {
  width: min(100vw, calc((100vh - 86px) * 16 / 9));
  margin: 0 auto;
}
.player.is-theater { position: fixed; inset: 0; z-index: 9999; }
body.has-theater { overflow: hidden; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .site-header { padding: 0 24px; }
  .hero { padding-left: 22px; padding-right: 22px; }
  .section { padding: 96px 30px; }
  .idea-grid { gap: 48px; }
  .act-row { grid-template-columns: 34px 66px 1fr 1.2fr 26px; gap: 14px; }
  .act-title { font-size: 22px; }
}

/* portrait tablets: let the page flow instead of forcing an empty 100vh hero */
@media (max-width: 1024px) and (orientation: portrait) {
  .hero { min-height: 0; padding-bottom: 34px; }
}

@media (max-width: 760px) {
  :root { --header-h: 60px; --stage-w: 92vw; }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
    height: var(--header-h);
  }
  .header-meta { display: none; }
  .header-actions { gap: 14px; }
  .sound-toggle { min-height: 32px; }
  .sound-toggle #soundLabel { display: none; }
  .share-btn { padding: 0 10px; font-size: 7px; }
  .share-btn span { display: none; }
  .share-btn svg { width: 15px; height: 15px; }
  .brand-name { font-size: 17px; }

  .hero {
    padding: 14px 16px 38px;
    min-height: 0;
    justify-content: flex-start;
  }
  .hero-topline { width: 100%; font-size: 6.5px; letter-spacing: 0.18em; margin-bottom: 9px; }
  .player { width: 100%; max-width: 600px; }
  .stage-shell { border-color: rgba(242, 237, 227, 0.15); }

  .start-overlay { padding: 12px; background: radial-gradient(ellipse at 50% 50%, rgba(8, 8, 10, 0.36), rgba(8, 8, 10, 0.82) 78%); }
  .start-inner .eyebrow,
  .start-meta,
  .start-note { display: none; }
  .start-inner h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .start-inner { width: 100%; }
  .play-big { width: 58px; height: 58px; margin: 0 0 14px; }
  .play-big svg { width: 20px; height: 20px; }
  .play-big::before { inset: -7px; }
  .start-actions { gap: 10px; }
  .primary-btn { padding: 10px 12px; min-height: 36px; font-size: 7.5px; }
  .text-btn { font-size: 7px; }
  .stage-loading { left: 10px; bottom: 9px; font-size: 6px; gap: 6px; }
  .loader-line { width: 18px; }

  .transport { padding: 9px 10px 7px; }
  .transport-main { gap: 8px; }
  .transport-play { width: 30px; height: 30px; }
  .transport-play svg { width: 13px; height: 13px; }
  .timecode { font-size: 7.5px; gap: 3px; }
  .timeline-wrap { min-width: 40px; }
  .transport-actions { gap: 0; }
  #muteBtn { display: none; }
  .icon-btn { width: 28px; height: 28px; }
  .icon-btn svg { width: 15px; height: 15px; }
  .transport-legend { display: none; }

  .hero-foot {
    width: 100%;
    margin-top: 18px;
    align-items: flex-end;
  }
  .hero-foot-copy { max-width: 100%; }
  .mobile-meta {
    display: block;
    margin: 0 0 8px;
    font: 400 7px/1.4 var(--mono);
    letter-spacing: 0.2em;
    color: var(--orange);
    text-transform: uppercase;
  }
  .mobile-title {
    display: block;
    margin: 0 0 10px;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(34px, 10vw, 48px);
    line-height: 0.98;
    letter-spacing: -0.02em;
  }
  .mobile-title em { color: var(--orange); font-style: italic; }
  .hero-note { font-size: 6.5px; letter-spacing: 0.14em; }
  .scroll-cue { display: none; }

  .section { padding: 66px 18px; }
  .section-head { font-size: 7px; gap: 10px; }
  .section-tag { display: none; }
  .idea-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 34px; }
  .idea-grid h2 { font-size: clamp(38px, 11vw, 50px); }
  .idea-copy { padding-top: 0; }
  .idea-copy p { font-size: 14px; }
  .idea-copy p:first-child { font-size: 17px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 38px; }
  .stat { padding: 20px 12px 18px 0; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
  .stat:nth-child(2n) { border-right: 0; padding-left: 12px; }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .stat:last-child { grid-column: span 2; border-top: 1px solid var(--line-soft); padding-left: 0; }
  .stat-num { font-size: 38px; }

  .acts-list { margin-top: 30px; }
  .act-row {
    grid-template-columns: 28px 54px 1fr 22px;
    grid-template-areas:
      'idx time title arrow'
      'idx time desc arrow';
    row-gap: 8px;
    padding: 20px 2px;
    gap: 8px 10px;
  }
  .act-index { grid-area: idx; }
  .act-time { grid-area: time; }
  .act-title { grid-area: title; font-size: 20px; }
  .act-desc { grid-area: desc; font-size: 11.5px; line-height: 1.5; }
  .act-arrow { grid-area: arrow; align-self: center; }
  .act-row:hover { padding-left: 8px; padding-right: 8px; }

  .process-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 34px; }
  .process-card h3 { margin: 12px 0 8px; }
  .credit-row { grid-template-columns: 1fr; gap: 20px; margin-top: 42px; }
  .credit-value { font-size: 9.5px; }

  .closing { padding: 90px 18px 100px; }
  .closing h2 { font-size: clamp(58px, 17vw, 92px); }
  .closing-actions { flex-direction: column; gap: 14px; }
  .site-footer { flex-wrap: wrap; gap: 12px 18px; padding: 22px 18px; }
  .site-footer p { flex-basis: 100%; order: 3; }
  .footer-year { margin-left: auto; }
}

@media (max-width: 380px) {
  .time-total { display: none; }
  .time-sep { display: none; }
  .transport-actions #fsBtn { display: none; }
  .start-actions { flex-direction: column; gap: 6px; }
}

@media (max-height: 540px) and (orientation: landscape) {
  :root { --stage-w: min(760px, 74vw); }
  .hero { min-height: 0; padding-top: 10px; }
  .hero-topline, .hero-foot { display: none; }
  .site-header { height: 54px; }
  .start-inner h1 { font-size: 34px; }
  .play-big { width: 54px; height: 54px; margin: 12px 0 10px; }
  .start-meta, .start-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
