:root {
  color-scheme: dark;
  --ink: #171a19;
  --cream: #f2e9d4;
  --yellow: #f5c547;
  --cyan: #85d6ca;
  --rose: #e68361;
  --display: Impact, Haettenschweiler, "Arial Narrow", "Franklin Gothic Medium", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; background: var(--ink); }
body { margin: 0; color: var(--cream); background: var(--ink); font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
.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; z-index: 10; top: 12px; left: 12px; padding: 12px 16px; color: var(--ink); background: var(--yellow); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; }

/* Hard ink borders and offset print give the chrome a comic-panel finish. */
.site-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; padding: 16px max(5vw, calc((100vw - 1320px) / 2)); border-bottom: 3px solid #070b0a; background: #191d1b; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { display: grid; flex-shrink: 0; width: 42px; height: 42px; place-items: center; border: 2px solid var(--ink); color: var(--ink); background: var(--yellow); box-shadow: 3px 3px 0 #050706; transform: rotate(-6deg); }
.brand-mark svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: bevel; }
.brand-name, .footer-brand { font-family: var(--display); font-size: 23px; letter-spacing: .035em; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.main-nav a { padding: 10px 0; border-bottom: 2px solid transparent; transition: color .18s, border-color .18s; }
.main-nav a:hover { color: var(--yellow); border-color: var(--yellow); }
.language-control select { width: 88px; padding: 10px 8px; border: 1px solid #6b6e5b; border-radius: 0; color: var(--cream); background: #232822; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); align-items: center; gap: 4%; min-height: 720px; padding: 68px max(5vw, calc((100vw - 1320px) / 2)) 96px; overflow: hidden; background: #1c2726; }
.hero::before { position: absolute; z-index: -2; inset: 0; content: ""; background: linear-gradient(90deg, rgba(19, 25, 23, .98), rgba(19, 25, 23, .88) 38%, rgba(19, 25, 23, .5)), url("./assets/game/home_bg.webp") center / cover; }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; pointer-events: none; background: radial-gradient(ellipse at 75% 40%, #b19b3c26, transparent 55%); }
.hero-copy { position: relative; z-index: 2; max-width: 600px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--yellow); font-family: "Consolas", ui-monospace, monospace; font-size: 10px; font-weight: 700; line-height: 1.7; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-mark { display: inline-block; flex: 0 0 20px; width: 20px; height: 12px; background: repeating-linear-gradient(120deg, var(--yellow) 0 3px, transparent 3px 6px); }
h1 { margin: 0 0 25px; color: var(--yellow); font-family: var(--display); font-size: clamp(54px, 6.1vw, 88px); font-weight: 900; line-height: 1.02; letter-spacing: .006em; text-shadow: 3px 4px 0 #080c0b; text-wrap: balance; transform: rotate(-2deg); transform-origin: left center; }
h1::first-line { color: var(--cream); }
.hero-description { max-width: 470px; margin-bottom: 30px; color: #d2d0c4; font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { position: relative; display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 22px; padding: 14px 21px; border: 2px solid #090e0b; font-size: 12px; font-weight: 800; letter-spacing: .035em; box-shadow: 4px 4px 0 #090e0b; transition: transform .18s, box-shadow .18s, background .18s; }
.button span[aria-hidden] { font-size: 22px; line-height: 1; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #090e0b; }
.button:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #090e0b; }
.button-primary { color: var(--ink); background: var(--yellow); }
.button-primary:hover { background: #ffdc6c; }
.button-quiet { border-color: #898c75; background: #1b2522; }
.button-quiet:hover { background: #2d3a30; }
.signal-list { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 29px 0 0; padding: 0; color: #b2b6a5; font-family: "Consolas", ui-monospace, monospace; font-size: 9px; line-height: 1.6; letter-spacing: .03em; list-style: none; text-transform: uppercase; }
.signal-list li { display: flex; align-items: center; gap: 6px; }
.signal-dot { width: 5px; height: 5px; background: var(--yellow); transform: rotate(45deg); }

/* Existing game portraits arranged like an outlaw dossier. */
.hero-art { position: relative; width: 100%; height: 540px; }
.art-burst { position: absolute; inset: 10% -10% 5% -6%; background: var(--yellow); clip-path: polygon(9% 20%, 29% 17%, 27% 0, 46% 13%, 60% 1%, 65% 20%, 92% 9%, 87% 34%, 100% 47%, 87% 59%, 97% 84%, 70% 80%, 65% 100%, 47% 85%, 28% 97%, 27% 77%, 1% 83%, 11% 57%, 0 39%); opacity: .95; transform: rotate(-6deg); }
.operative { position: absolute; overflow: hidden; border: 4px solid #0b100e; background: #a59469; box-shadow: 7px 9px 0 #090d0bc4; transform: rotate(4deg); }
.operative::after { position: absolute; inset: 5px; content: ""; border: 1px solid #f2e9d460; pointer-events: none; }
.operative img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.operative-one { z-index: 3; top: 10%; left: 0; width: 40%; height: 78%; transform: rotate(-7deg); }
.operative-two { z-index: 2; top: 1%; left: 32%; width: 38%; height: 82%; transform: rotate(2deg); }
.operative-three { z-index: 1; top: 10%; left: 65%; width: 34%; height: 74%; transform: rotate(9deg); }
.art-crosshair { position: absolute; z-index: 4; top: 2%; left: -4%; width: 55px; color: var(--cream); transform: rotate(12deg); }
.art-crosshair svg { fill: none; stroke: currentColor; stroke-width: 2; }
.brief-card { position: absolute; z-index: 5; right: 3%; bottom: -1%; width: min(370px, 83%); padding: 20px 24px 18px; border: 3px solid #0b100e; color: var(--ink); background: var(--cream); box-shadow: 7px 7px 0 #080c0a; transform: rotate(-3deg); }
.brief-card::before { position: absolute; top: -11px; left: 24px; width: 80px; height: 21px; content: ""; background: #d5b751d6; transform: rotate(7deg); }
.brief-label { margin-bottom: 8px; color: #665328; font-family: "Consolas", ui-monospace, monospace; font-size: 9px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; }
.brief-card h2 { margin-bottom: 8px; font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1.08; text-transform: uppercase; }
.brief-card p:last-of-type { margin-bottom: 12px; font-size: 12px; line-height: 1.7; }
.brief-rule { display: flex; gap: 5px; }
.brief-rule span { height: 3px; flex: 1; background: #c7bea8; }
.brief-rule span:first-child { background: var(--ink); }

.guide-section { position: relative; padding: 77px max(5vw, calc((100vw - 1320px) / 2)) 90px; color: var(--ink); background: var(--cream); }
.guide-section::before { position: absolute; top: -18px; left: 0; right: 0; height: 20px; content: ""; background: var(--cream); clip-path: polygon(0 70%, 3% 45%, 7% 63%, 10% 28%, 15% 58%, 21% 36%, 26% 67%, 31% 25%, 36% 51%, 42% 39%, 49% 70%, 54% 29%, 61% 62%, 68% 36%, 75% 71%, 82% 41%, 90% 63%, 97% 30%, 100% 55%, 100% 100%, 0 100%); }
.section-heading { display: grid; grid-template-columns: .55fr 1fr; align-items: start; gap: 30px; max-width: 1320px; margin: 0 auto 38px; }
.section-heading .eyebrow { margin: 9px 0 0; color: #686245; }
.section-heading .eyebrow-mark { background: repeating-linear-gradient(120deg, var(--ink) 0 3px, transparent 3px 6px); }
.section-heading h2 { max-width: 800px; margin-bottom: 0; font-family: var(--display); font-size: clamp(34px, 3.8vw, 52px); font-weight: 900; line-height: 1.05; letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
.feature-grid { display: grid; max-width: 1320px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 auto; }
.feature-card { --accent: var(--yellow); position: relative; border: 3px solid var(--ink); color: var(--cream); background: #202824; box-shadow: 5px 5px 0 #171a1938; transition: transform .2s, box-shadow .2s; }
.feature-card-cyan { --accent: var(--cyan); }
.feature-card-rose { --accent: var(--rose); }
.feature-card:hover { transform: translateY(-4px); box-shadow: 5px 9px 0 #171a194d; }
.feature-art { height: 175px; overflow: hidden; border-bottom: 3px solid var(--ink); background: #283c36; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.feature-card:hover .feature-art img { transform: scale(1.04); }
.feature-copy { position: relative; padding: 30px 25px 27px; }
.feature-icon { position: absolute; top: -25px; display: grid; width: 45px; height: 45px; place-items: center; border: 3px solid var(--ink); color: var(--ink); background: var(--accent); box-shadow: 3px 3px 0 var(--ink); transform: rotate(-5deg); }
.feature-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: square; stroke-linejoin: bevel; stroke-width: 2; }
.feature-index { position: absolute; top: -57px; right: 15px; margin: 0; color: var(--cream); font-family: var(--display); font-size: 53px; line-height: 1; text-shadow: 3px 3px 0 var(--ink); -webkit-text-stroke: 1px var(--ink); }
.feature-copy h3 { margin: 3px 0 13px; color: var(--accent); font-family: var(--display); font-size: clamp(24px, 2vw, 29px); font-weight: 800; line-height: 1.16; letter-spacing: .02em; text-transform: uppercase; }
.feature-copy > p:last-child { margin-bottom: 0; color: #d1d1c4; font-size: 13px; line-height: 1.8; }
.site-footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px max(5vw, calc((100vw - 1320px) / 2)) 30px; border-top: 3px solid #090e0b; background: #171d19; }
.site-footer::before { position: absolute; top: 0; left: 0; right: 0; height: 6px; content: ""; background: repeating-linear-gradient(120deg, var(--yellow) 0 12px, var(--ink) 12px 24px); }
.site-footer p { margin: 0; color: #b7b9a7; font-family: "Consolas", ui-monospace, monospace; font-size: 10px; letter-spacing: .09em; line-height: 1.7; }
.footer-brand { color: var(--yellow); font-size: 20px; }

@media (min-width: 1600px) {
  .hero { min-height: 780px; }
  .hero-art { height: 585px; }
}
@media (max-width: 1100px) {
  .hero { gap: 3%; min-height: 660px; padding-top: 54px; padding-bottom: 76px; }
  h1 { font-size: clamp(49px, 6.4vw, 70px); }
  .hero-art { height: 490px; }
  .brief-card { padding: 18px; right: 0; }
  .brief-card h2 { font-size: 26px; }
  .feature-grid { gap: 17px; }
  .feature-copy { padding: 30px 19px 24px; }
}
@media (max-width: 800px) {
  .site-header { gap: 15px; padding: 16px 24px; }
  .brand-name { font-size: 20px; }
  .main-nav { gap: 16px; font-size: 10px; letter-spacing: .05em; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 55px 7vw 80px; }
  .hero-copy { max-width: 650px; }
  h1 { max-width: 610px; font-size: clamp(54px, 10vw, 78px); }
  .hero-description { max-width: 570px; }
  .hero-art { width: 90%; max-width: 580px; height: 520px; margin: 0 auto; }
  .section-heading { grid-template-columns: 1fr; gap: 15px; }
  .section-heading h2 { max-width: 650px; }
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .feature-card { display: grid; grid-template-columns: .8fr 1fr; }
  .feature-art { height: 100%; min-height: 230px; border-bottom: 0; border-right: 3px solid var(--ink); }
  .feature-copy { padding: 30px 24px; }
  .feature-icon { position: relative; top: 0; margin-bottom: 24px; }
  .feature-index { top: 24px; right: 22px; color: #e1dec758; font-size: 45px; -webkit-text-stroke: 0; text-shadow: none; }
  .feature-copy h3 { font-size: 29px; }
}
@media (max-width: 560px) {
  .site-header { min-height: 74px; padding: 14px 20px; }
  .brand { gap: 10px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 28px; }
  .brand-name { max-width: 140px; font-size: 19px; line-height: 1.05; }
  .main-nav { display: none; }
  .language-control select { width: 82px; }
  .hero { gap: 30px; padding: 43px 24px 68px; }
  .eyebrow { font-size: 9px; letter-spacing: .08em; margin-bottom: 19px; }
  h1 { font-size: clamp(43px, 12.5vw, 68px); margin-bottom: 22px; }
  .hero-description { font-size: 13px; }
  .hero-actions { gap: 12px; }
  .button { min-height: 50px; gap: 15px; padding: 12px 16px; font-size: 11px; }
  .signal-list { gap: 8px 14px; font-size: 8px; margin-top: 24px; }
  .hero-art { width: 94%; height: 420px; }
  .operative-one { height: 71%; }
  .operative-two { height: 74%; }
  .operative-three { height: 66%; }
  .brief-card { width: 91%; right: -1%; bottom: 0; padding: 18px; }
  .brief-card h2 { font-size: 25px; }
  .brief-label { font-size: 8px; }
  .brief-card p:last-of-type { font-size: 11px; }
  .art-crosshair { width: 37px; }
  .guide-section { padding: 48px 24px 60px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 36px; }
  .feature-card { display: block; }
  .feature-art { min-height: 0; height: 165px; border-right: 0; border-bottom: 3px solid var(--ink); }
  .feature-copy { padding: 32px 22px 25px; }
  .feature-icon { position: absolute; top: -25px; margin-bottom: 0; }
  .feature-index { top: -52px; right: 15px; color: var(--cream); text-shadow: 3px 3px 0 var(--ink); -webkit-text-stroke: 1px var(--ink); }
  .feature-copy h3 { font-size: 28px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 16px; padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
