@font-face { font-family: Chakra; src: url('./assets/fonts/ChakraPetch-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Chakra; src: url('./assets/fonts/ChakraPetch-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Chakra; src: url('./assets/fonts/ChakraPetch-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
/* The game's HUD face, used only by the teaser's in-game panels */
@font-face { font-family: 'JetBrains Mono'; src: url('./assets/fonts/JetBrainsMono-Regular.ttf') format('truetype'); font-weight: 100 800; font-display: swap; }
:root {
  color-scheme: dark;
  --ground: #10110f;
  --raised: #181a16;
  --ink: #eeeee6;
  --muted: #b4b6aa;
  --gold: #edb65a;
  --line: #383b32;
  --danger: #e25a43; /* hunters and lost hauls: the red of the key art's hunter eyes */
  --cold: #79aede;   /* the game's Cold threat band */
  --gutter: clamp(24px, 5.6vw, 96px);
  font-family: Chakra, 'Arial Narrow', sans-serif;
  color: var(--ink);
  background: var(--ground);
  font-synthesis: none;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-color: #4a4d42 var(--ground);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
::selection { background: var(--gold); color: var(--ground); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; text-underline-offset: .22em; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, video:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
button[hidden], p[hidden], a[hidden] { display: none; }
h1, h2, h3, p, figure { margin: 0; }
h2 { font-size: clamp(44px, 4.6vw, 76px); line-height: 1.03; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
h3 { text-wrap: balance; }
h2 span { color: var(--gold); }
svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.wrap { width: min(1440px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 20px; background: var(--gold); color: var(--ground); z-index: 20; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
section[id] { scroll-margin-top: 28px; }
.site-header { position: absolute; z-index: 3; inset: 0 0 auto; height: 100px; display: flex; align-items: center; gap: 32px; padding-inline: var(--gutter); }
.brand { width: 200px; display: inline-flex; flex-shrink: 0; }
.brand img { width: 100%; height: auto; }
.site-header nav { display: flex; justify-content: center; gap: 36px; margin-left: auto; font-size: 14px; }
.site-header nav a, .footer-links a { transition: color .2s; }
.site-header nav a:hover, .footer-links a:hover { color: var(--gold); }
.site-header > .button { margin-left: 24px; }
.button { min-height: 54px; padding: 14px 25px; display: inline-flex; justify-content: center; align-items: center; gap: 22px; color: var(--ground); background: var(--gold); border: 1px solid var(--gold); font-size: 15px; font-weight: 700; line-height: 1.4; transition: background .2s, border-color .2s, transform .2s; }
.button svg, .text-link svg { transition: transform .2s; }
.button:hover { background: var(--ink); border-color: var(--ink); }
.button:hover svg, .text-link:hover svg { transform: translateX(4px); }
.button-small { min-height: 42px; padding: 10px 17px; font-size: 13px; }
.button-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.button-outline:hover { color: var(--ground); }
.actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px 32px; }
.watch-link, .trailer-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 15px; font-weight: 600; }
.watch-link svg { width: 18px; height: 18px; fill: var(--gold); stroke: var(--gold); }
.watch-link:hover, .trailer-link:hover { color: var(--gold); }
.hero { height: min(1050px, max(820px, 100svh)); position: relative; isolation: isolate; overflow: hidden; background: var(--ground); }
.hero-art { position: absolute; z-index: -2; width: 112%; left: -6%; bottom: 0; height: 74%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 25% 57%; mask-image: linear-gradient(to bottom, transparent, black 18%); }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, var(--ground) 5%, rgba(16,17,15,.93) 14%, rgba(16,17,15,.5) 34%, transparent 61%, rgba(16,17,15,.2) 75%, var(--ground) 100%); }
.hero-content { padding-top: clamp(158px, 20vh, 205px); text-align: center; width: min(1180px, 88%); margin: auto; }
.hero h1 { line-height: 1; }
.hero h1 img { width: 100%; height: auto; }
.hero-tagline { margin-top: 14px; font-size: clamp(18px, 2vw, 28px); font-weight: 400; letter-spacing: .055em; line-height: 1.5; }
.hero-tagline span { color: var(--gold); }
.hero-genre { margin-top: 14px; color: var(--muted); font-size: 16px; letter-spacing: .02em; text-wrap: balance; }
.hero .actions { margin-top: 30px; }
.mobile-break { display: none; }
.hero-bottom { position: absolute; bottom: 32px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 12px; }
.release-status { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.status-light { display: inline-block; width: 5px; height: 5px; background: var(--gold); flex-shrink: 0; }
.scroll-cue { display: flex; align-items: center; gap: 14px; }
.scroll-cue svg { color: var(--gold); width: 16px; }
.scroll-cue:hover { color: var(--gold); }
.hero-note { text-align: right; }
.game-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 44px 10%; padding-block: 120px 96px; }
.game-intro h2 { grid-column: 1 / -1; font-size: clamp(46px, 5.6vw, 88px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.game-intro .lead { color: var(--ink); font-size: clamp(21px, 2vw, 28px); line-height: 1.45; max-width: 560px; }
.intro-copy { max-width: 520px; color: var(--muted); }
.intro-copy > p + p { margin-top: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; color: var(--gold); min-height: 48px; margin-top: 25px; font-weight: 600; font-size: 14px; }
.gameplay-section { padding-block: 92px 108px; background: var(--raised); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-heading h2 { font-size: clamp(40px, 4.3vw, 64px); }
.media-note { position: relative; color: var(--ink); font-size: 12px; line-height: 1.6; padding-left: 15px; margin-bottom: 3px; }
.media-note .status-light { position: absolute; top: 7px; left: 0; }
.media-note > span:last-child { color: var(--muted); }
.film-frame { position: relative; background: #080b0d; border: 1px solid var(--line); }
.film-frame::before, .film-frame::after { content: ''; width: 24px; height: 24px; position: absolute; pointer-events: none; border: solid var(--gold); z-index: 2; }
.film-frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.film-frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.film-frame video { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; }
.film-play { position: absolute; inset: 0 0 55px; border: 0; width: 100%; background: linear-gradient(180deg, transparent 25%, rgba(8,11,13,.32) 60%, rgba(8,11,13,.6)); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; font-size: 20px; font-weight: 600; }
.film-play:hover .play-circle { background: var(--gold); color: var(--ground); transform: scale(1.07); }
.play-circle { display: grid; place-items: center; width: 78px; height: 78px; border: 1px solid var(--gold); border-radius: 50%; background: rgba(16,17,15,.76); color: var(--gold); transition: transform .2s, background .2s, color .2s; }
.play-circle svg { width: 28px; height: 28px; fill: currentColor; stroke: none; transform: translateX(-2px); }
.film-play small { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 400; }
.gallery-view figcaption { display: flex; justify-content: space-between; gap: 20px; padding-block: 15px 24px; font-size: 12px; color: var(--muted); }
.gallery-view figcaption a { display: inline-flex; gap: 7px; align-items: center; flex-shrink: 0; }
.gallery-view figcaption a:hover { color: var(--gold); }
.gallery-view figcaption svg { width: 15px; height: 15px; }
.gallery-choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.gallery-choice { position: relative; display: flex; flex-direction: column; gap: 14px; text-align: left; background: transparent; border: 0; border-top: 1px solid var(--line); padding: 18px 0 0; transition: border-color .2s; }
.gallery-choice img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; opacity: .62; transition: opacity .2s; }
.gallery-choice .choice-copy { display: flex; flex-direction: column; gap: 3px; }
.choice-kicker { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.choice-heading { font-size: clamp(14px, 1.2vw, 18px); font-weight: 600; line-height: 1.3; }
.gallery-choice.is-active { border-color: var(--gold); }
.gallery-choice.is-active .choice-kicker { color: var(--gold); }
.gallery-choice.is-active img, .gallery-choice:hover img { opacity: 1; }
.gallery-choice:hover { border-color: var(--gold); }
.video-error { color: var(--gold); padding-top: 24px; }
.video-error a, noscript a { text-decoration: underline; }
.stakes-section { display: grid; grid-template-columns: 1fr 1fr; max-width: 1720px; margin-inline: auto; }
.stakes-art { position: relative; overflow: hidden; min-height: 900px; }
.stakes-art > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.stakes-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,17,15,.2), transparent 45%, rgba(16,17,15,.8)); }
.stakes-art > p { position: absolute; z-index: 1; left: var(--gutter); bottom: 55px; right: 24px; font-size: clamp(24px, 2.7vw, 42px); line-height: 1.2; letter-spacing: -.025em; }
.stakes-art > p span { color: var(--gold); }
.stakes-copy { padding: 100px var(--gutter) 90px clamp(42px, 6vw, 96px); }
.stakes-copy h2 { font-size: clamp(42px, 4.3vw, 64px); }
.game-loop { margin: 40px 0 36px; padding: 0; list-style: none; }
.game-loop li { display: flex; gap: 24px; padding-block: 25px; border-top: 1px solid var(--line); }
.step-number { color: var(--gold); font-size: 12px; padding-top: 4px; }
.game-loop h3 { font-size: 21px; line-height: 1.3; font-weight: 600; margin-bottom: 9px; letter-spacing: -.02em; }
.game-loop p { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 350px; }
.bank-rule { display: flex; gap: 18px; color: var(--gold); }
.bank-rule svg { width: 23px; height: 23px; margin-top: 3px; }
.bank-rule strong { font-size: 15px; font-weight: 600; }
.bank-rule p > span { display: block; color: var(--muted); font-size: 12px; margin-top: 7px; }
.features { padding-block: 132px 24px; border-top: 1px solid var(--line); }
.features > h2 { margin-bottom: 64px; }
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: 56px; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) .feature-shot { order: 2; }
.feature-shot { position: relative; background: #080b0d; border: 1px solid var(--line); }
.feature-shot::before, .feature-shot::after { content: ''; width: 24px; height: 24px; position: absolute; pointer-events: none; border: solid var(--gold); }
.feature-shot::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.feature-shot::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.feature-shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-copy h3 { font-size: clamp(28px, 2.7vw, 42px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; margin-bottom: 22px; text-wrap: balance; }
.feature-copy p { color: var(--muted); max-width: 54ch; }
.feature-copy p + p { margin-top: 16px; }
.questions-section { padding-block: 132px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 10%; border-top: 1px solid var(--line); }
.questions-section h2 { font-size: clamp(42px, 4.5vw, 66px); }
.questions-intro { margin-top: 26px; color: var(--muted); font-size: 14px; }
.questions { padding-top: 4px; }
.questions details { border-bottom: 1px solid var(--line); }
.questions details:first-child { border-top: 1px solid var(--line); }
.questions summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; padding-block: 26px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary svg { width: 18px; height: 18px; color: var(--gold); transition: transform .2s; }
.questions summary:hover { color: var(--gold); }
.questions details[open] summary svg { transform: rotate(180deg); }
.questions details > p { font-size: 14px; color: var(--muted); margin: -6px 34px 26px 0; }
.questions details a { color: var(--gold); text-decoration: underline; }
.closing { position: relative; isolation: isolate; overflow: hidden; min-height: 670px; display: grid; place-items: center; text-align: center; border-top: 1px solid var(--line); }
.closing-art { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; opacity: .37; }
.closing::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, var(--ground), rgba(16,17,15,.22) 45%, var(--ground)); }
.closing-inner { padding-block: 75px; }
.closing h2 { font-size: clamp(76px, 9.5vw, 150px); line-height: .9; letter-spacing: -.05em; }
.closing h2 + p { margin: 28px auto 24px; color: var(--muted); font-size: 16px; }
.closing .release-status { justify-content: center; margin-top: 18px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 38px; border-top: 1px solid var(--line); }
.site-footer .brand { width: 176px; }
.site-footer p { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; font-size: 12px; }
.footer-links a { display: inline-flex; align-items: center; gap: 9px; }
.footer-links svg { width: 14px; }
/* ---------- teaser: "One more rock" ---------- */
/* Built from the game's own art: sprites rendered from its models and rock textures, its sky, and
   its HUD language (dark slate panels, chamfered corners, JetBrains Mono). */
.teaser { padding-block: 24px 128px; }
.teaser-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 28px 10%; margin-bottom: 44px; }
.teaser-heading p { color: var(--muted); max-width: 520px; }
.rig { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 8.6; min-height: 520px; background: linear-gradient(180deg, rgba(5,6,12,.55), rgba(5,6,12,0) 30%, rgba(5,6,12,0) 70%, rgba(5,6,12,.6)), url('./assets/teaser/teaser-backdrop.webp') 50% 38% / cover, #05060c; border: 1px solid var(--line); box-shadow: inset 0 0 150px rgb(226 90 67 / calc(var(--threat, 0) * .55)); transition: box-shadow .4s; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.rig[hidden] { display: none; }
.rig::before, .rig::after { content: ""; position: absolute; z-index: 4; width: 24px; height: 24px; border: solid var(--gold); pointer-events: none; }
.rig::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.rig::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.rig-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rig-hud { position: absolute; z-index: 2; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: start; gap: 18px; pointer-events: none; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.rig-panel { padding: 10px 14px 12px; background: rgba(9,14,21,.84); border: 1px solid rgba(120,146,170,.32); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.rig-panel-head { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 8px; padding-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #dfe6ee; border-bottom: 1px solid; border-image: linear-gradient(90deg, rgba(237,182,90,.8), rgba(237,182,90,0)) 1; }
.rig-panel-head span + span { color: #8d9aa8; font-weight: 600; white-space: nowrap; }
.rig-row { display: flex; justify-content: space-between; gap: 16px; margin: 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8d9aa8; }
.rig-row b { color: #dfe6ee; font-weight: 700; white-space: nowrap; }
#rig-hold, #rig-banner-value { text-transform: none; } /* Marks read "Mk", as in the game */
#rig-hunters { text-transform: none; }
.rig-hold, .rig-gauges { flex: 0 0 min(290px, 34%); } /* equal, so the Bank Run plate centers between them */
.rig-fortune-label { margin: 8px 0 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8d9aa8; }
.rig-hold strong { display: block; margin-top: 2px; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.rig-gauges { display: grid; gap: 7px; }
.ladder { position: relative; display: block; height: 6px; background: rgba(238,238,230,.1); overflow: hidden; }
.ladder::before, .ladder::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 1px; background: rgba(223,230,238,.5); }
.ladder::before { left: 18%; }
.ladder::after { left: 56%; }
.ladder-labels { display: grid; grid-template-columns: 18fr 38fr 44fr; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #6f7b88; }
.ladder-labels span:nth-child(2), .ladder-labels span:nth-child(3) { padding-left: 4px; }
.rig[data-band="cold"] .ladder-labels span:nth-child(1) { color: var(--cold); }
.rig[data-band="warm"] .ladder-labels span:nth-child(2) { color: var(--gold); }
.rig[data-band="hot"] .ladder-labels span:nth-child(3) { color: var(--danger); }
.gauge-track { display: block; height: 6px; background: rgba(238,238,230,.1); overflow: hidden; }
.gauge-fill { display: block; height: 100%; transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.16,1,.3,1), background-color .25s; }
.gauge-fill.threat { background: var(--cold); }
.gauge-fill.heat { background: linear-gradient(90deg, #ffb45a, var(--danger)); }
.rig[data-band="warm"] .gauge-fill.threat { background: var(--gold); }
.rig[data-band="hot"] .gauge-fill.threat { background: var(--danger); }
.rig[data-band="warm"] #rig-threat-band { color: var(--gold); }
.rig[data-band="hot"] #rig-threat-band, .rig[data-band="hot"] #rig-hunters { color: var(--danger); }
/* The game's Bank Run plate. It keeps its space in the HUD while hidden, so it never lands on a rock. */
.rig-banner { position: relative; visibility: hidden; display: grid; justify-items: center; gap: 1px; margin: 4px 0 0; padding: 7px 30px 9px; white-space: nowrap; font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); background: rgba(23,16,4,.9); border: 1px solid rgba(237,182,90,.7); clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px); }
.rig[data-bankrun] .rig-banner { visibility: visible; }
.rig-banner b { font-size: 21px; font-weight: 800; letter-spacing: .02em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.rig-banner b::before, .rig-banner b::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -4px; background: var(--gold); transform: rotate(45deg); }
.rig-banner b::before { left: 11px; }
.rig-banner b::after { right: 11px; }
.rig-banner small { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #dfe6ee; }
.rig-field { position: absolute; inset: 0; z-index: 1; }
.rock { position: absolute; width: var(--size); height: var(--size); padding: 0; border: 0; background: none; transform: translate(-50%, -50%); }
.rock-body { position: absolute; inset: -24%; background: center / contain no-repeat; transition: transform .15s ease-out, opacity .35s; }
.rock[data-art="common-1"] .rock-body { background-image: url('./assets/teaser/teaser-rock-common-1.webp'); }
.rock[data-art="common-2"] .rock-body { background-image: url('./assets/teaser/teaser-rock-common-2.webp'); }
.rock[data-art="rich-1"] .rock-body { background-image: url('./assets/teaser/teaser-rock-rich-1.webp'); }
.rock[data-art="rich-2"] .rock-body { background-image: url('./assets/teaser/teaser-rock-rich-2.webp'); }
.rock[data-art="volatile-1"] .rock-body { background-image: url('./assets/teaser/teaser-rock-volatile-1.webp'); }
.rock[data-art="volatile-2"] .rock-body { background-image: url('./assets/teaser/teaser-rock-volatile-2.webp'); }
.rock:hover .rock-body, .rock:focus-visible .rock-body { transform: scale(1.1); }
.rock:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.rock-tag { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); padding: 4px 9px; white-space: nowrap; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 600; color: #dfe6ee; background: rgba(9,14,21,.9); border: 1px solid rgba(120,146,170,.32); opacity: 0; transition: opacity .15s; pointer-events: none; }
.rock:hover .rock-tag, .rock:focus-visible .rock-tag { opacity: 1; }
.rock.is-cracked { pointer-events: none; }
.rig[data-state="banking"] .rock { opacity: .3; transition: opacity .3s; } /* the field is behind you now */
.rock.is-cracked .rock-body { transform: scale(.25); opacity: 0; }
.rock.is-cracked .rock-tag { opacity: 0; }
.rig-actions { position: absolute; z-index: 2; right: 26px; bottom: 22px; }
.rig .button:disabled { opacity: .4; cursor: not-allowed; }
.rig .button:disabled:hover { background: var(--gold); border-color: var(--gold); }
.rig-overlay { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 24px; background: rgba(5,6,12,.7); }
.rig-overlay[hidden] { display: none; }
.rig-card { max-width: 540px; text-align: center; }
.rig-card h3 { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.rig[data-state="banked"] .rig-card h3 { color: var(--gold); }
.rig[data-state="lost"] .rig-card h3 { color: var(--danger); }
.rig-card p { margin-top: 16px; color: var(--muted); }
.rig-card .rig-best { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; color: var(--gold); }
.rig-card-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 26px; }
.rig-card-actions .text-link { margin-top: 0; }
.rig-note { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 72ch; }
.rig-fallback { color: var(--muted); }
.closing-best { margin: -8px auto 22px; color: var(--gold); font-size: 15px; }

@media (prefers-reduced-motion: no-preference) {
  .rock-volatile .rock-body { animation: ore-pulse 1.8s ease-in-out infinite alternate; }
  @keyframes ore-pulse { from { filter: brightness(.9); } to { filter: brightness(1.25); } }
  .rig[data-bankrun] .rig-banner { animation: bank-pulse .56s ease-in-out infinite alternate; }
  @keyframes bank-pulse { from { opacity: .78; } to { opacity: 1; } }
  .hero-art { animation: drift-arrival 2s ease-out both; }
  .hero-content { animation: copy-arrival .9s ease-out both; }
  @keyframes drift-arrival { from { transform: scale(1.04); opacity: .6; } to { transform: scale(1); opacity: 1; } }
  @keyframes copy-arrival { from { transform: translateY(14px); opacity: .3; } to { transform: translateY(0); opacity: 1; } }
}

@media (max-width: 1100px) {
  .site-header { height: 88px; gap: 24px; }
  .brand { width: 175px; }
  .site-header nav { gap: 24px; }
  .site-header > .button { margin-left: 0; }
  .hero { height: max(780px, 94svh); max-height: 940px; }
  .hero-content { padding-top: 160px; }
  .hero-art { width: 130%; left: -15%; height: 72%; }
  .gallery-choices { gap: 18px; }
  .gallery-choice { gap: 12px; }
  .stakes-copy { padding: 74px 36px; }
  .stakes-art { min-height: 850px; }
  .game-intro { gap: 36px 7%; padding-block: 100px 88px; }
  .teaser-heading { gap: 24px 7%; }
  .rig { aspect-ratio: 16 / 10; min-height: 500px; }
  .questions-section { gap: 7%; padding-block: 100px; }
  .features { padding-block: 100px 16px; }
  .feature { padding-block: 44px; }
}
@media (max-width: 760px) {
  .site-header { gap: 20px; }
  .site-header .brand { width: 148px; }
  .site-header nav { margin-left: auto; gap: 22px; font-size: 13px; }
  .site-header > .button { display: none; }
  .hero-note { display: none; }
  .hero-bottom { font-size: 12px; }
  .game-intro { gap: 26px; grid-template-columns: 1fr; padding-block: 80px 56px; }
  .game-intro h2 { font-size: clamp(40px, 10vw, 60px); }
  .intro-copy { max-width: 540px; }
  .game-intro .lead { font-size: 22px; }
  .teaser { padding-block: 8px 80px; }
  .teaser-heading { grid-template-columns: 1fr; margin-bottom: 28px; }
  .rig { aspect-ratio: auto; height: min(660px, 156vw); min-height: 500px; }
  /* Phone HUD: two compact panels, then the Bank Run plate on its own row. */
  .rig-hud { top: 10px; left: 10px; right: 10px; flex-wrap: wrap; gap: 8px; }
  .rig-panel { padding: 8px 10px 9px; }
  .rig-hold { flex: 1 1 0; min-width: 0; }
  .rig-gauges { flex: 0 0 52%; gap: 5px; }
  .rig-hold .rig-row, .ladder-labels, .rig-gauges .rig-panel-head span + span { display: none; }
  .rig-hold strong { font-size: clamp(16px, 5.6vw, 21px); }
  .rig-panel-head { gap: 2px 6px; margin-bottom: 6px; letter-spacing: .02em; }
  .rig-fortune-label { margin-top: 2px; letter-spacing: .04em; }
  .rig-banner { order: 3; flex: 1 1 100%; display: flex; justify-content: center; align-items: baseline; gap: 12px; margin: 0; padding-block: 5px 6px; }
  .rig-banner > span { display: none; } /* the Hold panel already says it */
  .rig-banner b { font-size: 16px; }
  .rig-actions { left: 14px; right: 14px; bottom: 14px; }
  .rig-actions .button { width: 100%; }
  .rig-card h3 { font-size: 34px; }
  .gameplay-section { padding-block: 64px 72px; }
  .section-heading { align-items: start; flex-direction: column; gap: 22px; margin-bottom: 26px; }
  .media-note br { display: none; }
  .media-note > span:last-child { margin-left: 10px; }
  /* Five scenes become a swipeable strip; the partly visible next card signals there is more. */
  .gallery-choices { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 8px 4px 14px; margin: -8px -4px 0; }
  .gallery-choice { scroll-snap-align: start; padding-top: 15px; }
  .gallery-choice:focus-visible { outline-offset: 3px; }
  .choice-heading { font-size: 15px; }
  .film-play { gap: 12px; font-size: 16px; }
  .play-circle { width: 60px; height: 60px; }
  .film-play small { display: none; }
  .stakes-section { grid-template-columns: 1fr; }
  .stakes-art { min-height: 0; height: 570px; }
  .stakes-art > img { object-position: 50% 68%; }
  .stakes-art > p { bottom: 35px; font-size: 34px; }
  .stakes-copy { padding: 64px var(--gutter); }
  .stakes-copy h2 { font-size: 58px; }
  .game-loop p { max-width: 480px; font-size: 15px; }
  .features { padding-block: 76px 8px; }
  .features > h2 { margin-bottom: 36px; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding-block: 36px; }
  .feature:nth-of-type(even) .feature-shot { order: 0; }
  .feature-copy p { font-size: 15px; }
  .questions-section { grid-template-columns: 1fr; gap: 38px; padding-block: 76px; }
  .questions-section h2 { font-size: 48px; }
  .questions-section h2 br { display: none; }
  .questions-intro { margin-top: 20px; }
  .questions-intro br { display: none; }
  .closing { min-height: 610px; }
  .closing-art { width: 150%; max-width: none; }
  .site-footer { flex-wrap: wrap; row-gap: 22px; }
  .site-footer p { order: 3; flex-basis: 100%; }
}
@media (max-width: 650px) {
  .hero { min-height: 780px; height: 100svh; max-height: 960px; }
  .hero-art { width: 100%; left: 0; bottom: 0; height: 100%; }
  .hero-art img { object-fit: cover; object-position: 50% 66%; mask-image: none; }
  .hero::before { background: linear-gradient(180deg, rgba(16,17,15,.9), rgba(16,17,15,.3) 43%, transparent 59%, rgba(16,17,15,.5) 82%, var(--ground)); }
  .hero-content { padding-top: 159px; width: calc(100% - 36px); }
  .hero-tagline { font-size: 19px; line-height: 1.6; margin-top: 23px; letter-spacing: .04em; }
  .hero-genre { font-size: 15px; line-height: 1.5; }
  .mobile-break { display: block; }
  .hero .actions { gap: 12px 24px; margin-top: 27px; }
  .hero .button { font-size: 14px; padding: 13px 18px; gap: 14px; min-height: 50px; }
  .watch-link { font-size: 13px; gap: 7px; }
  .hero-bottom { bottom: 24px; flex-direction: column; align-items: start; gap: 14px; }
  .hero-bottom .scroll-cue { align-self: flex-end; }
  .hero-bottom .release-status { font-size: 12px; }
}
@media (max-width: 400px) {
  .site-header nav { gap: 16px; }
  .site-header .brand { width: 130px; }
  .site-header nav a:last-child { display: none; }
  .hero-content { padding-top: 150px; }
  .hero .actions { gap: 8px 18px; }
  .hero .button { font-size: 13px; padding-inline: 14px; }
  .watch-link { font-size: 12px; }
  .game-intro h2 { font-size: 38px; }
  .game-intro .lead { font-size: 20px; }
  .rig-row { gap: 8px; letter-spacing: .02em; }
  .rig-gauges { flex-basis: 48%; }
  .rig-panel-head { flex-wrap: wrap; }
  .rig-card h3 { font-size: 30px; }
  .gallery-view figcaption { gap: 12px; }
  .gallery-choices { grid-auto-columns: 44%; gap: 12px; }
  .feature-copy h3 { font-size: 26px; }
  .choice-heading { font-size: 14px; }
  .film-play { bottom: 40px; gap: 8px; font-size: 14px; }
  .play-circle { width: 48px; height: 48px; }
  .stakes-art { height: 470px; }
  .stakes-copy h2 { font-size: 48px; }
  .questions-section h2 { font-size: 40px; }
  .questions summary { font-size: 14px; }
  .closing h2 { font-size: 74px; }
  .closing h2 + p { max-width: 230px; font-size: 14px; }
  .site-footer .brand { width: 144px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
