/* ODDWIN Studios · brand shell shared by every page (home and game rooms). Fonts are self-hosted (no third-party requests).
   Gold sampled from the wordmark: highlight #FCE484 · body #D9B25A · bevel #9C6C24.
   Type: Archivo wide for display (echoes the extended wordmark), Archivo normal for reading, Plex Mono for data. */
@font-face { font-family: 'Archivo'; src: url(/fonts/archivo-var.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(/fonts/plexmono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(/fonts/plexmono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
:root {
  --floor: #07080B; --floor-2: #0D0E12; --floor-3: #14151A; --rule: #24242A; --paper: #EEE9DF; --dim: #8E8A82; --soft: #BEB8AC;
  --gold: #D9B25A; --gold-hi: #F6DE92; --gold-deep: #9C6C24; --gold-line: #D9B25A55;
  --gold-metal: linear-gradient(180deg, #FFF3BE 0%, #F4D985 20%, #DDB660 40%, #A2722A 51%, #C99A42 60%, #EFD28A 80%, #C4943C 100%);
  --gold-soft: linear-gradient(180deg, #F8E3A0 0%, #DDB660 60%, #B8893A 100%);
  --display: 'Archivo', system-ui, sans-serif; --text: 'Archivo', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gut: clamp(16px, 3vw, 40px); --head: 68px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: var(--head); }
body { background: var(--floor); color: var(--paper); font: 400 16px/1.55 var(--text); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
/* film grain over the floor, so the black reads as material rather than a flat screen */
body::after { content: ''; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--gold); color: var(--floor); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
img, video { display: block; max-width: 100%; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* gold lettering: the wordmark's bevel on large type, a softer pour on small type */
.gold, .gold-s { color: var(--gold); background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gold-s { background: var(--gold-soft); -webkit-background-clip: text; background-clip: text; }
.display { font-family: var(--display); font-weight: 800; font-stretch: 118%; text-transform: uppercase; letter-spacing: -.01em; line-height: .94; text-wrap: balance; }
/* one slow light pass across the metal (on load, or on hover where a parent asks for it) */
.shine { background: linear-gradient(105deg, transparent 42%, #fffbe8d9 50%, transparent 58%) 100% 0 / 300% 100% no-repeat, var(--gold-metal);
  -webkit-background-clip: text; background-clip: text; animation: shine 2.6s .5s cubic-bezier(.3,.6,.2,1) 1 both; }
@keyframes shine { from { background-position: 100% 0, 0 0; } to { background-position: 0% 0, 0 0; } }

/* header: its own band, never over the footage */
header.top { position: sticky; top: 0; z-index: 20; background: #07080Bf0; backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
header.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line) 30%, var(--gold-line) 70%, transparent); }
header.top .wrap { display: flex; align-items: center; height: var(--head); gap: 32px; }
header.top .logo img { height: 28px; width: auto; }
header.top nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; color: #cfc9bd; }
header.top nav a { position: relative; padding: 4px 0; }
header.top nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
header.top nav a:hover { color: var(--paper); } header.top nav a:hover::after { transform: scaleX(1); }
header.top .access { font: 500 12.5px var(--mono); letter-spacing: .04em; color: var(--gold-hi); border: 1px solid var(--gold-line); padding: 9px 14px; white-space: nowrap; transition: background .3s, color .3s; }
header.top .access:hover { background: var(--gold); color: var(--floor); }
.crumb { color: var(--dim); padding-top: 16px; padding-bottom: 16px; }
.crumb b { color: var(--gold); font-weight: 500; }

/* buttons: gold metal for the main act, a gold hairline for the second */
.btn { display: inline-block; font: 650 15px var(--text); letter-spacing: .01em; padding: 15px 22px; color: #1A1206; background: var(--gold-soft); box-shadow: inset 0 1px 0 #fff6, inset 0 -1px 0 #0003; white-space: nowrap; transition: filter .25s; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--gold-line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); filter: none; }

/* section heads: the rule starts in gold, like a hallmark */
section { padding-top: clamp(80px, 12vh, 128px); }
.sec-head { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 16px 24px; align-items: baseline; border-top: 1px solid var(--rule); padding-top: 20px; margin-bottom: 38px; }
.sec-head::before { content: ''; position: absolute; left: 0; top: -1px; width: 200px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.sec-head > .mono:first-child { color: var(--gold); }
.sec-head h2 { font-size: clamp(28px, 2.9vw, 42px); }
.sec-head > .mono:last-child { color: var(--dim); text-align: right; }

/* key figures (PAR strip): clear reading type, tabular numbers */
.par { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.par div { padding: 20px 16px 22px; border-right: 1px solid var(--rule); }
.par div:first-child { padding-left: 0; } .par div:last-child { border-right: 0; }
.par dt { font: 500 11px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .07em; }
.par dd { font: 700 clamp(26px, 2.6vw, 36px)/1.1 var(--text); font-stretch: 105%; margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.par small { display: block; font: 400 12px var(--mono); color: #a8a296; margin-top: 4px; }
.rtp { margin-top: 18px; font: 400 13px var(--mono); color: var(--soft); display: flex; gap: 10px 26px; flex-wrap: wrap; }
.rtp b { color: var(--gold-hi); font-weight: 500; }

/* mechanics figures */
.mech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mech figure { background: var(--floor-2); border: 1px solid var(--rule); }
.mech video { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.mech figcaption { padding: 18px 18px 22px; }
.mech p { color: var(--soft); font-size: 15px; margin-top: 8px; }
.mech .mono { color: var(--dim); display: block; margin-top: 14px; font-size: 11px; }

/* partner kit */
.kit { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; list-style: none; }
.kit li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.kit li span { font: 500 11px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; padding-top: 3px; }
.kit li span.open { color: var(--gold-hi); }
.kit .link { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--gold-hi); background: none; border: 0; border-bottom: 1px solid var(--gold-line); padding: 3px 0 2px; cursor: pointer; white-space: nowrap; }
.walk { margin-top: 28px; }
.crumb a:hover { color: var(--paper); }
.ask { margin-top: 40px; display: flex; gap: 24px; align-items: center; }
.ask p { color: var(--dim); font-size: 14px; max-width: 60ch; }

/* next title */
.next { margin-top: 110px; border-top: 1px solid var(--rule); }
.next .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; padding-bottom: 60px; }
.next b { font-size: clamp(34px, 5vw, 64px); }

footer { padding: 34px 0 50px; color: var(--dim); font-size: 13px; border-top: 1px solid var(--rule); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
footer p { max-width: 70ch; }
footer p.links { display: flex; gap: 22px; margin-top: 12px; }
footer p a { color: var(--soft); border-bottom: 1px solid var(--rule); }
footer p a:hover { color: var(--gold-hi); }
footer .seal { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
footer .seal img { width: 34px; height: auto; }

@media (max-width: 1100px) {
  .par { grid-template-columns: repeat(3, minmax(0, 1fr)); } .par div:nth-child(3n) { border-right: 0; } .par div:nth-child(3n+1) { padding-left: 0; } .par div:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .mech { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  header.top nav { display: none; } header.top .access { margin-left: auto; }
  .sec-head { grid-template-columns: 1fr; gap: 8px; } .sec-head > .mono:last-child { text-align: left; }
  .sec-head::before { width: 120px; }
}
@media (max-width: 760px) {
  header.top .access { font-size: 11px; padding: 8px 10px; }
  .par { grid-template-columns: 1fr 1fr; } .par div, .par div:nth-child(3n), .par div:nth-child(3n+1) { padding: 16px 12px 16px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .mech, .kit { grid-template-columns: 1fr; } .ask { flex-direction: column; align-items: start; }
  footer .wrap { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { .shine { animation: none; } }

/* trailer dialog */
.play-btn { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; border: 0; }
.play-btn i { width: 0; height: 0; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
dialog.film { margin: auto; border: 1px solid var(--gold-line); background: var(--floor); padding: 0; width: min(1200px, 94vw); color: var(--paper); }
dialog.film::backdrop { background: #000000e6; backdrop-filter: blur(4px); }
dialog.film video { width: 100%; aspect-ratio: 16/9; background: #000; }
dialog.film .bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; }
dialog.film button.close { background: none; border: 1px solid var(--gold-line); color: var(--gold-hi); padding: 8px 12px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }

/* simple text pages (legal, privacy, 404) */
.doc { max-width: 760px; padding-top: clamp(40px, 8vh, 90px); padding-bottom: 40px; }
.doc h1 { font-size: clamp(36px, 6vw, 64px); margin-bottom: 28px; }
.doc h2 { font: 650 20px/1.3 var(--text); color: var(--gold-hi); margin: 40px 0 10px; }
.doc p, .doc li { color: #d0cabe; margin-top: 10px; }
.doc ul { padding-left: 20px; }
.doc .todo { display: inline-block; font: 500 12px var(--mono); letter-spacing: .05em; color: var(--floor); background: var(--gold); padding: 2px 8px; }
.doc a:not(.btn) { color: var(--gold-hi); border-bottom: 1px solid var(--gold-line); }
