/* Exile Games: the one-pager on top of the Highvalor tokens and base. Hero film reel, the live strip, game rows,
   the lab pillars and the in-the-lab blueprint cards. */

/* ---------- hero: a reel of game stills under the Highvalor film treatment ---------- */
.hero1 { min-height: max(680px, 100svh); display: grid; align-items: end; color: #fff; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.hero1-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(7 8 10 / .6), transparent 26%, transparent 44%, rgb(7 8 10 / .72) 78%, rgb(7 8 10 / .94)); }
.hero1-in { position: relative; padding-top: calc(var(--bar) + 40px); padding-bottom: calc(var(--cut) + clamp(24px, 3vw, 40px)); display: grid; gap: clamp(14px, 1.6vw, 22px); }
.hero1-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.hero1-line { font: 600 clamp(20px, 1.7vw, 26px)/1.2 var(--text); text-transform: uppercase; letter-spacing: .06em; }
.hero1-title { color: #fff; margin-left: -.04em; white-space: nowrap; font-size: clamp(64px, 19.4vw, 300px); }

.reel { position: absolute; inset: 0; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.reel img.is-on { opacity: 1; animation: drift 9s linear both; }
@keyframes drift { from { scale: 1.02; } to { scale: 1.1; } }

/* the live strip: what you can play right now */
.now { display: grid; grid-template-columns: auto auto auto minmax(0, 1fr); align-items: center; gap: 14px clamp(18px, 2.6vw, 44px); padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .28); }
.now-lab { display: inline-flex; align-items: center; gap: 10px; font: 600 var(--fs-xs)/1 var(--text); text-transform: uppercase; letter-spacing: .14em; color: #c9cdd4; }
.now-game { display: grid; gap: 4px; padding: 10px 18px 10px 14px; border-left: 3px solid var(--car); background: rgb(7 8 10 / .45); color: #fff; text-decoration: none; transition: background-color var(--t-fast) var(--ease); }
.now-game:hover { background: rgb(204 18 54 / .32); }
.now-game b { font: 800 clamp(20px, 1.8vw, 26px)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.now-game span { font-size: 13px; color: #c3c7cf; }
.now-cap { justify-self: end; font-size: 13px; color: #aeb3bc; text-transform: uppercase; letter-spacing: .1em; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: #2fd06b; box-shadow: 0 0 0 0 rgb(47 208 107 / .6); animation: live 1.8s ease-out infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgb(47 208 107 / 0); } 100% { box-shadow: 0 0 0 0 rgb(47 208 107 / 0); } }

/* ---------- game rows ---------- */
.game { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4.4vw, 80px); align-items: center; padding-block: clamp(40px, 5vw, 88px); border-top: 1px solid var(--line-2); }
.game--flip .game-media { order: 2; }
.game-media { display: grid; gap: 10px; }
.game-shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-2); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.game-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.game-thumbs img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-2); filter: saturate(.9); transition: filter var(--t-fast) ease, translate var(--t-fast) var(--ease); }
.game-thumbs img:hover { filter: saturate(1.15); translate: 0 -3px; }
.game-copy { display: grid; gap: 22px; justify-items: start; }
.game-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.game-no { font: 800 18px/1 var(--display); color: var(--mute); letter-spacing: .06em; }
.game-title { font-size: clamp(56px, 7.2vw, 132px); line-height: .84; }
.game-note { font-size: 14px; color: var(--mute); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; font: 600 12px/1 var(--text); text-transform: uppercase; letter-spacing: .12em; background: var(--hel); color: #fff; }
.chip--live { background: rgb(47 208 107 / .14); color: #6fe39a; box-shadow: inset 0 0 0 1px rgb(47 208 107 / .4); }
.chip--ghost { background: none; color: var(--mute); box-shadow: inset 0 0 0 1px var(--line-2); }

.facts { display: grid; width: 100%; border-top: 1px solid var(--line-2); }
.facts li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts b { font: 800 clamp(30px, 2.6vw, 40px)/1 var(--display); color: var(--car); }
.facts span { color: var(--ink-2); }

/* ---------- the lab ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); }
.pillars li { display: grid; align-content: start; gap: 14px; padding-top: 20px; border-top: 3px solid var(--car); }
.pillar-no { font: 800 15px/1 var(--display); color: var(--stage-soft); letter-spacing: .08em; }
.pillars h3 { font: 800 clamp(26px, 2.2vw, 34px)/.95 var(--display); text-transform: uppercase; }
.pillars p { color: var(--stage-soft); }

/* ---------- in the lab: blueprint cards ---------- */
.labs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 40px); }
.lab-card { display: grid; align-content: start; border: 1px solid var(--line-2); background: var(--bg-2); }
.lab-art { position: relative; aspect-ratio: 16 / 10; background: #06233a; background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px); background-size: 20px 20px; overflow: hidden; }
.bp { width: 100%; height: 100%; }
.bp rect, .bp path { fill: none; stroke: rgb(200 228 255 / .75); stroke-width: 1.5; }
.bp .r { stroke: rgb(200 228 255 / .4); stroke-dasharray: 2 4; }
.bp .post { fill: rgb(200 228 255 / .8); stroke: none; }
.bp .blk { fill: rgb(200 228 255 / .12); }
.bp .p1 { fill: var(--car); stroke: #fff; stroke-width: 2; }
.bp .p2 { fill: #fff; stroke: none; }
.bp .arc { stroke: #fff; stroke-width: 2; stroke-dasharray: 4 5; }
.bp .feather { fill: rgb(255 255 255 / .85); stroke: none; }
.bp .run { stroke-width: 2.5; stroke-dasharray: 6 6; animation: dash 2.4s linear infinite; }
.bp .run--a { stroke: #fff; }
.bp .run--b { stroke: var(--car); }
.bp text { font: 600 11px/1 var(--text); letter-spacing: .14em; fill: rgb(200 228 255 / .7); }
@keyframes dash { to { stroke-dashoffset: -48; } }
.lab-copy { display: grid; gap: 16px; padding: clamp(22px, 2.4vw, 36px); }
.lab-copy p { color: var(--ink-2); }
.lab-copy .lab-tags { font: 600 13px/1.3 var(--text); text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }

/* ---------- footer tweaks for three columns and a longer wordmark ---------- */
.ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ft-mark .mega { font-size: clamp(44px, 15.6vw, 250px); }

@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .game { grid-template-columns: 1fr; }
  .game--flip .game-media { order: 0; }
  .labs { grid-template-columns: 1fr; }
  .now { grid-template-columns: 1fr 1fr; }
  .now-lab, .now-cap { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .hero1 { min-height: max(640px, 100svh); }
  .hero1-row .btn { width: 100%; }
  .hero1-title { font-size: 30vw; white-space: normal; line-height: .8; }
  .pillars { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 4rem minmax(0, 1fr); }
  .ft-cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reel img.is-on, .dot, .bp .run { animation: none; }
  .reel img { transition: none; }
}
