@font-face { font-family: "Plex Sans"; font-weight: 400; font-display: swap; src: url(assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Plex Sans"; font-weight: 500; font-display: swap; src: url(assets/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Plex Sans"; font-weight: 600; font-display: swap; src: url(assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url(assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 600; font-display: swap; src: url(assets/fonts/ibm-plex-mono-latin-600-normal.woff2) format("woff2"); }
@property --glow { syntax: "<color>"; inherits: true; initial-value: #2EE6F0; }

:root {
  --bg: #07050D; --bg2: #0D0A16; --card: #120E1D; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --ink: #F1EDF8; --soft: #C9C1DB; --mute: #8D84A6;
  --pink: #FF3EA5; --cyan: #2EE6F0; --mint: #7CF5B4; --gold: #FFC75A;
  --sans: "Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1240px; --nav: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.022em; line-height: 1.08; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: #fff; color: #000; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.kicker { margin: 0 0 18px; font: 600 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line2);
  background: rgba(10,7,18,.55); color: var(--ink); font: 600 15px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.btn-primary { background: var(--pink); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -8px rgba(255,62,165,.6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { background: #FF55B0; border-color: transparent; box-shadow: 0 14px 36px -8px rgba(255,62,165,.75), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav); display: flex; align-items: center; gap: 28px; padding: 0 max(24px, calc((100vw - var(--wrap)) / 2));
  border-bottom: 1px solid transparent; transition: background-color .3s ease, border-color .3s ease; }
.nav.solid { background: rgba(7,5,13,.92); border-color: var(--line); }
.nav-brand { display: block; opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.nav.solid .nav-brand { opacity: 1; transform: none; pointer-events: auto; }
.wm-nav { height: 20px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font: 500 14px/1 var(--sans); color: var(--soft); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: #fff; }

/* hero */
.hero { position: relative; height: 150vh; height: 150svh; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--bg); }
.hero-media { position: absolute; inset: 0; transform-origin: 50% 58%; will-change: transform; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 42% 58% at 50% 56%, transparent 0%, rgba(7,5,13,.12) 45%, rgba(7,5,13,.72) 82%, rgba(7,5,13,.92) 100%),
    linear-gradient(180deg, rgba(7,5,13,.82) 0%, rgba(7,5,13,.2) 26%, transparent 42%, transparent 62%, rgba(7,5,13,.75) 84%, var(--bg) 100%); }
.hero-dim { position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; }
.hero-in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center;
  padding: calc(var(--nav) + 3vh) 24px 7vh; will-change: opacity, transform; }
.hero-logo { margin: 0; }
.wm-hero { width: clamp(260px, 36vw, 600px); height: auto; filter: drop-shadow(0 0 28px rgba(255,62,165,.55)) drop-shadow(0 4px 24px rgba(0,0,0,.6)); }
.hero-tag { margin: 22px 0 0; font: 500 clamp(17px, 1.55vw, 23px)/1.35 var(--sans); letter-spacing: -.01em; color: #F4EFFA; text-shadow: 0 2px 18px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6); }
.hero-bottom { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-meta { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); text-shadow: 0 1px 10px #000; }
.hero-meta i { width: 4px; height: 4px; background: var(--pink); }
.cue { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 40px; transform: translateX(-50%); overflow: hidden; background: rgba(255,255,255,.12); }
.cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes cue { to { top: 100%; } }

/* intro */
.intro { position: relative; z-index: 1; max-width: 980px; margin: -12vh auto 0; padding: 0 24px 140px; text-align: center; }
.intro-big { margin: 0; font: 500 clamp(26px, 3.1vw, 42px)/1.22 var(--sans); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.intro-big em { font-style: normal; color: var(--pink); }
.pillars { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pillars li { padding: 26px 18px 0; display: flex; flex-direction: column; gap: 6px; }
.pillars li + li { border-left: 1px solid var(--line); }
.pillars b { font: 600 18px/1.2 var(--sans); }
.pillars span { font-size: 15px; color: var(--mute); }

/* gameplay */
.gp { position: relative; max-width: 1448px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 56px; }
.gp-screen-col { grid-column: 2; grid-row: 1; }
.gp-screen-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-top: var(--nav); }
.screen { position: relative; transition: --glow .6s ease; }
.screen::before { content: ""; position: absolute; inset: -14% -10%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 26%, transparent), transparent); pointer-events: none; }
.screen-in { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line2);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 6px rgba(255,255,255,.025); }
.clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.035); transition: opacity .55s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.clip.on { opacity: 1; transform: none; }
.screen-cap { margin: 12px 2px 0; display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.rec { width: 7px; height: 7px; border-radius: 50%; background: #FF4D5E; box-shadow: 0 0 10px #FF4D5E; animation: rec 1.6s steps(2) infinite; }
@keyframes rec { 50% { opacity: .25; } }
.gp-tabs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.gp-tabs a { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 0 0; font: 500 13px/1.2 var(--sans); color: var(--mute); text-decoration: none; border-top: 2px solid var(--line2); transition: color .3s, border-color .3s; }
.gp-tabs a b { font: 600 11px/1 var(--mono); letter-spacing: .12em; }
.gp-tabs a.on { color: var(--ink); border-color: var(--c); }
.gp-tabs a.on b { color: var(--c); }
.gp-tabs a:hover { color: var(--ink); }
.gp-steps { grid-column: 1; grid-row: 1; padding: 0; }
.gp + .sec { padding-top: 60px; }
/* the first step starts right under the section title, the screen is pinned beside it */
.gp-h { padding: 0 24px; margin-bottom: 0; }
.step { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .22; transition: opacity .5s ease; }
.step.on { opacity: 1; }
.step-k { margin: 0 0 18px; display: flex; align-items: center; gap: 12px; font: 600 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--c); }
.step-k b { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px; border: 1px solid var(--c); border-radius: 6px; font-weight: 600; letter-spacing: .06em; }
.step h3 { font-size: clamp(30px, 3vw, 44px); max-width: 14ch; }
.step-b { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: var(--soft); max-width: 34em; }
.step ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.step li { position: relative; padding-left: 26px; font-size: 16px; color: var(--ink); }
.step li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--c); box-shadow: 0 0 12px var(--c); }

/* sections */
.sec { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 150px 24px 0; }
.sec-h { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.sec-h.left { margin: 0; text-align: left; }
.sec-h h2 { font-size: clamp(34px, 3.8vw, 56px); text-wrap: balance; }
.sec-sub { margin: 20px 0 0; font-size: 18px; color: var(--soft); text-wrap: pretty; }

.tr-poster { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; background: #000; cursor: pointer;
  box-shadow: 0 50px 120px -40px rgba(255,62,165,.35), 0 30px 80px -30px rgba(0,0,0,.9); }
.tr-poster img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .4s; opacity: .82; }
.tr-poster:hover img { transform: scale(1.025); opacity: 1; }
.tr-play { position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: #fff;
  box-shadow: 0 0 0 12px rgba(255,62,165,.18), 0 20px 50px -10px rgba(255,62,165,.7); transition: transform .3s ease, box-shadow .3s ease; }
.tr-play svg { margin-left: 5px; }
.tr-poster:hover .tr-play { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(255,62,165,.16), 0 24px 60px -10px rgba(255,62,165,.8); }
.tr-len { position: absolute; right: 18px; bottom: 16px; padding: 7px 10px; border-radius: 6px; background: rgba(0,0,0,.7); font: 600 12px/1 var(--mono); letter-spacing: .1em; color: #fff; }

.near-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.near .sec-h.left { position: sticky; top: calc(var(--nav) + 40px); }
.stack { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; background: var(--bg2); }
.stack li { display: grid; grid-template-columns: 62px 52px minmax(0, 1fr); align-items: center; min-height: 104px; padding-right: 26px; border-top: 1px solid var(--line); transition: background-color .25s; }
.stack li:first-child { border-top: 0; }
.stack li:hover { background: rgba(255,255,255,.025); }
.st-lv { align-self: stretch; display: grid; place-items: center; border-right: 1px solid var(--line); font: 600 13px/1 var(--mono); letter-spacing: .08em; color: var(--c); }
.st-ic { display: grid; place-items: center; }
.st-ic svg { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 45%, transparent)); }
.st-t { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; }
.st-t b { font: 600 17px/1.25 var(--sans); }
.st-t span { font-size: 15px; line-height: 1.5; color: var(--mute); }

.finale { position: relative; margin-top: 170px; min-height: 100vh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.finale-media { position: absolute; inset: 0; }
.finale-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.finale-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(7,5,13,.55) 22%, rgba(7,5,13,.62) 60%, var(--bg) 100%), radial-gradient(ellipse 60% 70% at 50% 50%, rgba(7,5,13,.5), rgba(7,5,13,.85)); }
.finale-in { position: relative; width: 100%; max-width: 808px; min-width: 0; padding: 120px 24px; }
.finale h2 { font-size: clamp(42px, 5.6vw, 84px); letter-spacing: -.03em; text-shadow: 0 4px 40px rgba(0,0,0,.7); }
.finale .sec-sub { color: #E2DCEE; text-shadow: 0 2px 16px rgba(0,0,0,.9); }
.code { margin: 36px auto; max-width: min(560px, 100%); padding: 22px 26px; text-align: left; border-radius: 14px; border: 1px solid var(--line2); background: rgba(5,3,10,.88); font: 500 15px/1.85 var(--mono); color: var(--ink); overflow-x: auto; }
.code .pr { color: var(--pink); user-select: none; } .code .cm { color: var(--mute); }

.foot { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 70px 24px 56px; display: grid; gap: 34px; border-top: 1px solid var(--line); }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wm-foot { height: 24px; width: auto; }
.foot-top p { margin: 0; color: var(--mute); font-size: 15px; }
.foot-tracks .kicker { margin-bottom: 14px; color: var(--mute); }
.foot-tracks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.foot-tracks li { padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; font-size: 14px; color: var(--soft); }
.foot-legal { margin: 0; font-size: 14px; color: var(--mute); }
.foot-legal a { color: var(--soft); }

/* trailer modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 4vw; background: rgba(3,2,6,.94); }
.modal[hidden] { display: none; }
.modal-in { position: relative; width: min(1280px, 100%); }
.modal video { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; }
.modal-x { position: absolute; right: 0; top: -54px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255,255,255,.06); color: #fff; font: 400 26px/1 var(--sans); cursor: pointer; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .gp { gap: 0 40px; }
  .near-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .near .sec-h.left { position: static; text-align: center; margin: 0 auto; }
}
@media (max-width: 900px) {
  :root { --nav: 58px; }
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .hero { height: 130vh; height: 130svh; }
  .hero-video { object-position: 50% 62%; }
  .hero-shade { background:
    radial-gradient(ellipse 80% 46% at 50% 54%, transparent 0%, rgba(7,5,13,.18) 50%, rgba(7,5,13,.8) 100%),
    linear-gradient(180deg, rgba(7,5,13,.85) 0%, rgba(7,5,13,.15) 30%, transparent 44%, transparent 56%, rgba(7,5,13,.8) 78%, var(--bg) 100%); }
  .hero-in { padding: calc(var(--nav) + 4vh) 20px 8vh; }
  .wm-hero { width: min(78vw, 360px); }
  .hero-bottom .ctas { width: 100%; max-width: 360px; flex-direction: column; }
  .hero-bottom .btn { width: 100%; }
  .hero-meta { font-size: 10.5px; letter-spacing: .1em; }
  .intro { margin-top: -6vh; padding-bottom: 90px; }
  .pillars { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .pillars li { padding: 20px 4px; border-top: 1px solid var(--line); }
  .pillars li + li { border-left: 0; }
  .pillars li:first-child { border-top: 0; }
  .gp { display: block; padding: 0; }
  .gp-screen-col { position: sticky; top: var(--nav); z-index: 3; background: var(--bg); padding: 10px 16px 0; }
  .gp-screen-pin { position: static; height: auto; padding: 0; gap: 10px; }
  .screen::before { display: none; }
  .screen-cap { display: none; }
  .gp-tabs { gap: 4px; padding-bottom: 6px; }
  .gp-tabs a { padding-top: 8px; font-size: 10.5px; }
  .gp-tabs a b { font-size: 10px; }
  .gp-steps { padding: 0 20px 10vh; }
  .step { min-height: 74vh; justify-content: flex-start; padding: 48px 0 24px; opacity: .3; }
  .step h3 { font-size: 30px; }
  .step-b { font-size: 16px; }
  .gp-steps::before { content: ""; display: block; height: 8px; }
  .sec { padding-top: 110px; }
  .sec-h { margin-bottom: 36px; }
  .tr-play { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
  .stack li { grid-template-columns: 48px 44px minmax(0, 1fr); padding-right: 16px; }
  .finale { margin-top: 120px; }
  .code { font-size: 12.5px; padding: 18px; }
  .finale .ctas { flex-direction: column; } .finale .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .clip, .rv, .step, .tr-poster img { transition: none; }
  .rv { opacity: 1; transform: none; }
  .cue span, .rec { animation: none; }
}
