:root {
  color-scheme: dark;
  --ink: #08090b;
  --paper: #f2eee5;
  --muted: #97958e;
  --orange: #ff6738;
  --orange-light: #ffad62;
  --line: rgba(242, 238, 229, .16);
  --mono: 'DM Mono', 'Courier New', monospace;
  --sans: 'Manrope', 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-width: 320px; min-height: 100%; margin: 0; }
body { background: var(--ink); color: var(--paper); font-family: var(--sans); overflow: hidden; }
button { font: inherit; }
.experience { position: relative; width: 100%; min-height: 100svh; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 46%, #191714 0%, #0d0e0f 40%, var(--ink) 78%); }
.ambient { position: absolute; z-index: -1; width: min(60vw, 720px); aspect-ratio: 1; border-radius: 50%; pointer-events: none; filter: blur(110px); opacity: .12; }
.ambient-a { background: #d44d27; top: 14%; right: -25%; animation: drift 17s ease-in-out infinite alternate; }
.ambient-b { background: #8a632f; bottom: -42%; left: -20%; opacity: .11; animation: drift 22s ease-in-out infinite alternate-reverse; }
.grain { position: absolute; z-index: 8; inset: -50%; pointer-events: none; opacity: .075; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); animation: grain .24s steps(2) infinite; }
.topbar, .bottomline { position: absolute; z-index: 10; left: 6vw; right: 6vw; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font: 10px var(--mono); letter-spacing: .16em; }
.topbar { top: 34px; }
.bottomline { bottom: 28px; font-size: 9px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--paper); font: 700 12px var(--sans); letter-spacing: .2em; }
.wordmark-period { color: var(--orange); }
.wordmark-symbol { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; border: 1px solid rgba(255, 103, 56, .65); border-radius: 50%; transform: rotate(-36deg); }
.wordmark-symbol i { position: absolute; width: 1px; height: 12px; background: var(--orange); }
.wordmark-symbol i:nth-child(2) { transform: rotate(60deg); }
.wordmark-symbol i:nth-child(3) { transform: rotate(120deg); }
.topbar-note b { margin-left: 7px; color: var(--orange); font-size: 8px; animation: pulse 1.4s ease-in-out infinite; }
.screen { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; padding: 100px 8vw 90px; visibility: hidden; opacity: 0; transform: translateY(12px) scale(.995); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1), visibility .75s; pointer-events: none; }
.screen.is-active { visibility: visible; opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.intro-content { width: min(100%, 760px); margin-top: -2vh; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 28px; color: var(--orange-light); font: 10px var(--mono); letter-spacing: .2em; }
.eyebrow-line { display: inline-block; width: 28px; height: 1px; background: var(--orange); }
h1, h2 { margin: 0; font-weight: 500; letter-spacing: -.075em; }
h1 { font-size: clamp(66px, 11.2vw, 154px); line-height: .91; }
.name { color: transparent; -webkit-text-stroke: 1px rgba(242, 238, 229, .84); }
.title-period, .exploded h2 b { color: var(--orange); font-weight: 500; }
.intro-copy { max-width: 410px; margin: 31px 0 30px; color: #c1bdb4; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.8; }
.continue-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 56px; min-width: 192px; padding: 17px 19px; border: 1px solid rgba(242, 238, 229, .36); color: var(--paper); background: rgba(255,255,255,.025); cursor: pointer; font-size: 13px; transition: background .3s, border-color .3s, transform .3s; }
.continue-button:hover, .continue-button:focus-visible { background: var(--orange); border-color: var(--orange); color: #120c09; transform: translateY(-2px); outline: none; }
.button-arrow { color: var(--orange); font-size: 17px; transition: transform .3s, color .3s; }
.continue-button:hover .button-arrow, .continue-button:focus-visible .button-arrow { color: #120c09; transform: translate(3px,-3px); }
.intro-footnote { display: flex; align-items: center; gap: 9px; margin: 28px 0 0; color: #75736e; font: 9px var(--mono); letter-spacing: .13em; }
.status-dot, .live-dot { display: inline-block; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 11px rgba(255,103,56,.75); }
.intro-index { position: absolute; right: 6vw; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #77746e; font: 10px var(--mono); transform: translateY(-50%); }
.intro-index span:first-child { color: var(--orange-light); }
.index-rule { height: 58px; width: 1px; background: linear-gradient(var(--orange),rgba(255,103,56,.12)); }

.playback { padding: 105px 8vw 84px; }
.player-shell { width: min(100%, 1000px); animation: reveal .8s cubic-bezier(.2,.8,.2,1) both; }
.player-meta, .player-footer { display: flex; justify-content: space-between; align-items: center; color: #98958e; font: 9px var(--mono); letter-spacing: .15em; }
.player-meta { margin: 0 0 13px; }
.player-meta > span:first-child { display: flex; align-items: center; gap: 9px; color: var(--paper); }
.live-dot { width: 5px; height: 5px; animation: pulse 1.4s infinite; }
.video-frame { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; background: #020303; box-shadow: 0 22px 100px rgba(0,0,0,.6); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #020303; }
.video-vignette { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px rgba(0,0,0,.22); }
.video-corner { position: absolute; width: 25px; height: 25px; pointer-events: none; opacity: .6; }
.video-corner-tl { top: 12px; left: 12px; border-top: 1px solid var(--orange); border-left: 1px solid var(--orange); }
.video-corner-br { right: 12px; bottom: 12px; border-right: 1px solid var(--orange); border-bottom: 1px solid var(--orange); }
.player-footer { margin-top: 13px; }
.video-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 20px; color: var(--paper); background: rgba(8,9,11,.95); text-align: center; }
.video-error[hidden] { display: none; }
.error-symbol { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); font: 18px var(--mono); }
.video-error strong { font-size: 16px; }
.video-error span { color: var(--muted); font-size: 12px; }
.video-error code { color: var(--orange-light); }
.video-error button { margin-top: 7px; padding: 10px 15px; border: 1px solid var(--line); color: var(--paper); background: transparent; cursor: pointer; }
.video-error button:hover { border-color: var(--orange); }

.countdown { align-content: center; justify-items: center; text-align: center; }
.countdown-eyebrow { justify-content: center; }
.count-wrap { display: flex; flex-direction: column; align-items: center; }
.count-label { color: #aaa59b; font: 10px var(--mono); letter-spacing: .22em; }
.count-wrap strong { display: block; height: 1.03em; margin: 4px 0 10px; color: var(--orange); font: 500 clamp(150px, 29vw, 360px)/1 var(--sans); letter-spacing: -.12em; animation: count-pop .72s cubic-bezier(.1,.8,.25,1) both; }
.count-track { width: min(250px, 58vw); height: 1px; background: rgba(242,238,229,.18); overflow: hidden; }
.count-track span { display: block; width: 100%; height: 100%; background: var(--orange); transform-origin: left; animation: drain 3s linear forwards; }
.count-caption { margin: 17px 0 0; color: #77746e; font: 10px var(--mono); letter-spacing: .1em; }

.exploded { background: radial-gradient(ellipse at center, rgba(128,45,18,.16), transparent 52%); }
.exploded-content { position: relative; z-index: 2; text-align: center; }
.exploded-content .eyebrow { justify-content: center; }
.explosion-mark { position: relative; width: 74px; height: 74px; margin: 0 auto 12px; animation: mark-in .7s .1s cubic-bezier(.2,.8,.2,1) both; }
.explosion-mark::before, .explosion-mark::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--orange); transform: translate(-50%,-50%); }
.explosion-mark::before { width: 1px; height: 78px; }
.explosion-mark::after { width: 78px; height: 1px; }
.explosion-mark span { position: absolute; top: 50%; left: 50%; width: 1px; height: 68px; background: var(--orange-light); transform: translate(-50%,-50%) rotate(45deg); }
.explosion-mark span:nth-child(2) { transform: translate(-50%,-50%) rotate(-45deg); }
.explosion-mark span:nth-child(n+3) { width: 5px; height: 5px; border-radius: 50%; background: var(--orange-light); }
.explosion-mark span:nth-child(3) { transform: translate(-37px,-27px); }
.explosion-mark span:nth-child(4) { transform: translate(31px,-21px); }
.explosion-mark span:nth-child(5) { transform: translate(22px,30px); }
.explosion-mark span:nth-child(6) { transform: translate(-32px,28px); }
.explosion-mark span:nth-child(7) { transform: translate(0,-42px); }
.explosion-mark span:nth-child(8) { transform: translate(0,37px); }
.exploded h2 { font-size: clamp(62px, 10vw, 126px); line-height: .86; }
.exploded h2 span { color: transparent; -webkit-text-stroke: 1px rgba(242,238,229,.8); }
.exploded-note { margin: 23px 0 0; color: #aaa59b; font-size: 13px; }
.offline-stamp { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 10px 13px; border: 1px solid rgba(255,103,56,.27); color: #c28b73; font: 9px var(--mono); letter-spacing: .13em; }
.offline-stamp .status-dot { width: 5px; height: 5px; background: #a6472a; box-shadow: none; }
.server-note { max-width: 390px; margin: 15px auto 0; color: #ffb192; font: 11px/1.6 var(--mono); }
.server-note:not([hidden]) { display: block; }
.exploded-code { position: absolute; right: 6vw; bottom: 8vh; color: #605d57; font: 9px var(--mono); letter-spacing: .14em; }
.blast-flash { position: absolute; z-index: 0; inset: 0; pointer-events: none; background: #fff6e7; opacity: 0; animation: flash .75s ease-out both; }
.blast-ring { position: absolute; z-index: 0; top: 50%; left: 50%; width: 12px; height: 12px; border: 1px solid rgba(255,122,65,.7); border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%); animation: ring 1.45s cubic-bezier(.1,.5,.2,1) both; }
.blast-ring-two { animation-delay: .16s; border-color: rgba(255,173,98,.45); }
.exploded.is-active { animation: screen-shake .5s .08s cubic-bezier(.36,.07,.19,.97) both; }
.exploded.is-active .exploded-content { animation: reveal .7s .2s both; }
.noscript { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; margin: 0; padding: 30px; color: var(--paper); background: var(--ink); text-align: center; }

@keyframes drift { to { transform: translate(-7%, 8%) scale(1.12); } }
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(2%,-1%); } 50% { transform: translate(-1%,2%); } 75% { transform: translate(1%,1%); } }
@keyframes pulse { 50% { opacity: .35; box-shadow: 0 0 3px rgba(255,103,56,.3); } }
@keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes count-pop { from { opacity: 0; transform: scale(1.14); filter: blur(9px); } to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes drain { to { transform: scaleX(0); } }
@keyframes mark-in { from { opacity: 0; transform: scale(.3) rotate(-90deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes flash { 0% { opacity: .9; } 28% { opacity: .2; } 100% { opacity: 0; } }
@keyframes ring { 0% { opacity: .85; width: 12px; height: 12px; } 100% { opacity: 0; width: min(140vw, 1600px); height: min(140vw, 1600px); } }
@keyframes screen-shake { 10%, 90% { transform: translate3d(-2px, 1px, 0); } 20%, 80% { transform: translate3d(3px, -2px, 0); } 30%, 50%, 70% { transform: translate3d(-5px, 2px, 0); } 40%, 60% { transform: translate3d(5px, -1px, 0); } }

@media (max-width: 640px) {
  .topbar, .bottomline { left: 22px; right: 22px; }
  .topbar { top: 23px; }
  .bottomline { bottom: 19px; font-size: 8px; }
  .topbar-note { font-size: 8px; }
  .screen { padding: 90px 25px 76px; }
  .intro-content { margin-top: -1vh; }
  .intro-copy { max-width: 330px; margin-top: 25px; }
  .intro-index { display: none; }
  .intro-footnote { max-width: 300px; font-size: 8px; line-height: 1.7; }
  .playback { padding: 80px 15px; }
  .player-meta, .player-footer { font-size: 8px; }
  .exploded-code { right: 22px; bottom: 66px; }
  .exploded h2 { font-size: clamp(66px, 17vw, 100px); }
  .eyebrow { font-size: 9px; }
}
@media (max-height: 600px) and (min-width: 641px) {
  .screen { padding-top: 70px; padding-bottom: 58px; }
  h1 { font-size: clamp(58px, 11vh, 100px); }
  .intro-copy { margin: 18px 0; }
  .player-shell { width: min(76vw, 880px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
