:root {
  --bg: #0e0e0d;
  --bg-2: #151514;
  --ink: #ebe8e1;
  --dim: #8d8a83;
  --faint: #3a3936;
  --rule: #262624;
  --ice: #9fd3ff;
  --pad: clamp(16px, 4vw, 56px);
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
b { font-weight: 600; color: var(--ink); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ice); color: #0b0b0a; }

.label, .cap__tags, .section__head p, .bar__status, .facts dt, .credits__role, .credits__visits,
.player__controls, .player__top, .foot, .contact__links span, .moves dt, .price span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* top bar */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--pad);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.bar__name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.bar__nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--dim); }
.bar__nav a:hover { color: var(--ink); }
.bar__status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.bar__status i { width: 7px; height: 7px; border-radius: 50%; background: #6fdc8c; }
@media (max-width: 720px) {
  .bar__nav { display: none; }
  .bar__status { margin-left: auto; }
}

/* intro */
.intro { padding: clamp(28px, 6vw, 72px) var(--pad) 0; container-type: inline-size; }
.mark {
  margin: 0 0 clamp(24px, 4vw, 48px);
  font-size: 18.2cqi; /* scales with the content column, not the window */
  line-height: 0.82;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.intro__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 80px);
  padding-top: 20px; border-top: 1px solid var(--rule);
}
.intro__lede {
  margin: 0; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.15;
  font-weight: 500; letter-spacing: -0.015em; max-width: 18em;
  font-variation-settings: "wdth" 92;
}
.intro__bio p { margin: 0; color: var(--dim); max-width: 34em; }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: clamp(32px, 5vw, 64px) 0 0; border-top: 1px solid var(--rule);
}
.facts div { padding: 14px 0 18px; border-right: 1px solid var(--rule); padding-left: 14px; }
.facts div:first-child { padding-left: 0; }
.facts div:last-child { border-right: 0; }
.facts dt { color: var(--dim); }
.facts dd {
  margin: 6px 0 0; font-size: clamp(24px, 3.4vw, 44px); font-weight: 600; line-height: 1;
  font-variation-settings: "wdth" 110; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .intro__row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--rule); }
  .facts div:nth-child(4) { border-top: 1px solid var(--rule); }
}

/* video frames: full 16:9 recordings, never cropped */
.frame {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; overflow: hidden; background: #000;
}
.frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
}
button.frame { cursor: pointer; }
button.frame video { transition: transform 0.6s cubic-bezier(.2,.7,.2,1); transform-origin: 50% 45%; }
button.frame::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.18); opacity: 0; transition: opacity 0.3s; }
button.frame:hover::after { opacity: 1; }
.frame:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

main { max-width: 1440px; margin: 0 auto; }

.cap {
  display: grid; grid-template-columns: 2.4em auto 1fr auto; align-items: baseline; gap: 12px;
  padding: 12px 0 0;
}
.cap__no { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.cap__title { font-weight: 600; font-size: 16px; }
.cap__tags { color: var(--dim); }
.cap__open {
  font-family: var(--mono); font-size: 12px; color: var(--ice);
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
@media (max-width: 720px) {
  .cap { grid-template-columns: 2.4em 1fr; row-gap: 2px; }
  .cap__tags { grid-column: 2; }
  .cap__open { grid-column: 2; justify-self: start; margin-top: 6px; }
}

/* sections */
.section { padding: clamp(72px, 10vw, 140px) var(--pad) 0; }
.section__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--rule);
}
.section__head h2 {
  margin: 0; font-size: clamp(30px, 4.6vw, 64px); line-height: 0.95; font-weight: 700;
  letter-spacing: -0.03em; font-variation-settings: "wdth" 112;
}
.section__head p { margin: 0; color: var(--dim); }
@media (hover: none) {
  .hint { font-size: 0 !important; }
  .hint::after { content: "Tap any clip to watch."; font-size: 12px; }
}

/* featured clips: video capped near the recording's real crop width (974px) so it never upscales */
.feature {
  display: grid; grid-template-columns: minmax(0, 860px) minmax(220px, 1fr); gap: clamp(20px, 4vw, 56px);
  align-items: end; margin: 0 0 clamp(56px, 7vw, 96px);
}
.feature--flip { grid-template-columns: minmax(220px, 1fr) minmax(0, 860px); }
.feature--flip .media { order: 2; }
.feature__info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 4px; }
.feature__info .cap__title {
  font-size: clamp(26px, 3vw, 42px); line-height: 1; font-weight: 700; letter-spacing: -0.025em;
  font-variation-settings: "wdth" 108;
}
.feature__tags { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--rule); width: 100%;
  font-family: var(--mono); font-size: 12px; color: var(--dim); }
.feature__tags li { padding: 3px 0; }
.feature--flip .feature__info { align-items: flex-end; text-align: right; }
@media (max-width: 860px) {
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 14px; }
  .feature--flip .media { order: 0; }
  .feature--flip .feature__info { align-items: flex-start; text-align: left; }
}

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.tile { margin: 0; }
@media (max-width: 720px) { .grid { grid-template-columns: 1fr; } }

.more {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  margin: clamp(40px, 5vw, 64px) 0 0; padding-top: 20px; border-top: 1px solid var(--rule);
}
.more p { margin: 0; color: var(--dim); }

/* credits */
.credits { list-style: none; margin: 0; padding: 0; }
.credits li { border-bottom: 1px solid var(--rule); }
.credits a {
  display: grid; grid-template-columns: 56px 1fr auto 9ch; align-items: center; gap: 20px;
  padding: 12px 0; transition: background 0.2s, padding 0.25s;
}
.credits a:hover { background: var(--bg-2); padding-left: 10px; padding-right: 10px; }
.credits img { width: 56px; height: 56px; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); transition: filter 0.3s; }
.credits a:hover img { filter: none; }
.credits__name {
  font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.02em;
  font-variation-settings: "wdth" 104;
}
.credits__role { color: var(--dim); }
.credits__visits { text-align: right; font-size: 15px; font-variant-numeric: tabular-nums; }
.credits__visits--soon { color: var(--ice); font-size: 12px; }
.credits__total {
  display: flex; justify-content: space-between; margin: 0; padding: 14px 0 0;
  font-family: var(--mono); font-size: 12px; color: var(--dim);
}
.credits__total span:last-child { color: var(--ink); }
@media (max-width: 720px) {
  .credits a { grid-template-columns: 44px 1fr auto; gap: 14px; }
  .credits img { width: 44px; height: 44px; }
  .credits__role { display: none; }
}

/* rates */
.rates { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.label { margin: 0 0 12px; color: var(--dim); }
.price {
  margin: 0; font-size: clamp(72px, 10vw, 150px); line-height: 0.85; font-weight: 700;
  letter-spacing: -0.045em; font-variation-settings: "wdth" 118;
}
.price span { display: inline-block; margin-left: 12px; color: var(--dim); letter-spacing: 0.02em; vertical-align: top; }
.rates__blurb { color: var(--dim); max-width: 30em; margin: 24px 0 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; background: var(--ink); color: var(--bg);
  font-weight: 600; font-size: 15px; transition: background 0.2s;
}
.btn::after { content: "↗"; font-weight: 400; }
.btn:hover { background: var(--ice); }
.rates__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; align-content: start; }
.rates__cols > div { border-top: 1px solid var(--rule); padding-top: 14px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 5px 0; }
.list li::before { content: "– "; color: var(--faint); }
.moves { margin: 0; display: grid; grid-template-columns: 4.6em 1fr; gap: 8px 12px; }
.moves dt { color: var(--ice); padding-top: 3px; }
.moves dd { margin: 0; }
@media (max-width: 900px) { .rates { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rates__cols { grid-template-columns: 1fr; } }

/* contact */
.contact { padding: clamp(96px, 14vw, 200px) var(--pad) clamp(56px, 8vw, 96px); }
.contact__big {
  display: inline-block; font-size: clamp(34px, 6.6vw, 112px); line-height: 0.9; font-weight: 700;
  letter-spacing: -0.04em; font-variation-settings: "wdth" 108;
  border-bottom: 2px solid var(--faint); padding-bottom: 8px; transition: border-color 0.25s, color 0.25s;
}
.contact__big .nw { white-space: nowrap; }
.contact__big .nw span { font-weight: 300; }
.contact__big:hover { color: var(--ice); border-color: var(--ice); }
.contact__links { list-style: none; margin: 48px 0 0; padding: 0; display: flex; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; }
.contact__links a { display: flex; flex-direction: column; gap: 2px; font-weight: 600; font-size: 18px; }
.contact__links span { color: var(--dim); font-weight: 400; }
.contact__links a:hover span { color: var(--ink); }

.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px var(--pad) 28px; border-top: 1px solid var(--rule); color: var(--dim);
}
.foot a:hover { color: var(--ink); }

/* player */
.player {
  width: min(1280px, 100vw - 32px); max-width: none; max-height: none;
  padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible;
}
.player :focus-visible { outline: 1px solid var(--ice); outline-offset: 4px; }
.player::backdrop { background: rgba(8, 8, 7, 0.94); }
.player__top, .player__controls { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.player__title { margin: 0; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.player__no { font-family: var(--mono); font-size: 12px; color: var(--dim); font-weight: 400; margin-right: 8px; }
.player__close { margin-left: auto; color: var(--dim); }
.player__close:hover, .pc:hover { color: var(--ink); }
.player__frame { width: min(100%, calc((100vh - 140px) * 16 / 9)); margin: 0 auto; cursor: pointer; }
.pc { color: var(--dim); min-width: 4.4em; text-align: left; }
.pc--seek { flex: 1; accent-color: var(--ice); height: 2px; min-width: 60px; }
.pc--time { color: var(--dim); font-variant-numeric: tabular-nums; min-width: 4ch; }
.pc--nav { display: flex; gap: 12px; }
.pc--nav .pc { min-width: 0; }
@media (max-width: 560px) { .pc--nav { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- motion ---------- */
.bar__progress {
  position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--ice); transform-origin: 0 50%; transform: scaleX(var(--sp, 0));
}

/* wordmark: letters rise in on load */
.mark { will-change: transform, opacity; }
.mark .ch { display: inline-block; }
.js .mark { overflow: hidden; padding-bottom: 0.04em; }
.js .mark .ch { transform: translateY(105%); animation: rise 1.1s cubic-bezier(.2,.75,.15,1) forwards; animation-delay: calc(var(--i) * 55ms + 80ms); }
@keyframes rise { to { transform: translateY(0); } }
.mark .ch:hover { color: var(--ice); transition: color 0.15s; }

/* generic reveal */
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 1s cubic-bezier(.2,.7,.15,1); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* video frames wipe open */
.js .rv .frame { clip-path: inset(14% 6% 14% 6%); transition: clip-path 1.2s cubic-bezier(.7,0,.15,1); transition-delay: calc(var(--d, 0ms) + 80ms); }
.js .rv.in .frame { clip-path: inset(0 0 0 0); }
.js .rv .frame video { scale: 1.06; transition: scale 1.6s cubic-bezier(.2,.7,.15,1); transition-delay: var(--d, 0ms); }
.js .rv.in .frame video { scale: 1; }

/* headings slide up from a mask */
.section__head h2 { overflow: hidden; padding-bottom: 0.06em; }
.section__head h2 .ln { display: inline-block; }
.js .section__head h2 .ln { transform: translateY(105%); transition: transform 1s cubic-bezier(.2,.75,.15,1); }
.js .section__head.in h2 .ln { transform: none; }
.section__head { position: relative; border-bottom-color: transparent; }
.section__head::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--rule);
  transform-origin: 0 50%;
}
.js .section__head::before { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.7,0,.15,1) 0.15s; }
.js .section__head.in::before { transform: scaleX(1); }

/* credits rows */
.credits a { position: relative; }
.credits a::after {
  content: "↗"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  opacity: 0; transition: opacity 0.2s, right 0.25s; color: var(--ice);
}
.credits a:hover::after { opacity: 1; right: 10px; }
.credits a:hover .credits__visits { opacity: 0; }
.credits__visits { transition: opacity 0.2s; }
.credits__name { transition: transform 0.35s cubic-bezier(.2,.7,.15,1); }
.credits a:hover .credits__name { transform: translateX(6px); }

/* floating logo preview over credits */
.peek {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: 200px; height: 200px; object-fit: cover;
  opacity: 0; scale: 0.6; transition: opacity 0.25s, scale 0.35s cubic-bezier(.2,.7,.15,1);
}
.peek.on { opacity: 1; scale: 1; }

/* buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color 0.3s; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ice);
  transform: translateY(101%); transition: transform 0.45s cubic-bezier(.7,0,.15,1);
}
.btn:hover { background: var(--ink); }
.btn:hover::before { transform: none; }
.btn::after { transition: transform 0.3s; }
.btn:hover::after { transform: translate(2px, -2px); }

.contact__big .nw span { display: inline-block; transition: transform 0.4s cubic-bezier(.2,.7,.15,1); }
.contact__big:hover .nw span { transform: translate(8px, -8px); }

.cap__open { transition: color 0.2s; }
.cap__open:hover { color: var(--ink); }

.foot { align-items: center; }
.foot__discord { color: var(--ink); border: 1px solid var(--faint); padding: 8px 14px; transition: border-color 0.2s, color 0.2s; }
.foot .foot__discord:hover { color: var(--ice); border-color: var(--ice); }

/* preview timeline */
.media { position: relative; min-width: 0; }
.media + .cap { padding-top: 4px; }
.frame__time {
  position: absolute; right: 10px; bottom: 10px; z-index: 1; pointer-events: none;
  padding: 4px 7px; background: rgba(10, 10, 9, 0.72); color: var(--ink);
  font: 500 11px/1 var(--mono); font-variant-numeric: tabular-nums;
  opacity: 0; transition: opacity 0.25s;
}
.scrub { position: relative; height: 16px; cursor: pointer; touch-action: none; opacity: 0; transition: opacity 0.25s; }
.scrub::before, .scrub__fill {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; transition: height 0.15s, top 0.15s;
}
.scrub::before { background: var(--faint); }
.scrub__fill { background: var(--ice); transform-origin: 0 50%; transform: scaleX(0); }
.scrub:hover::before, .scrub:hover .scrub__fill { top: 6px; height: 4px; }
.previewing .frame__time, .previewing .scrub { opacity: 1; }
