/* Hexmonger — Tin Coffins page. No build step; served as-is.
   Dressed like the game's own screens: the briefing console's phosphor green on
   olive-black, hull-number stencil paint, and the hazard orange the HUD warns in. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("fonts/roboto-condensed-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0e100c;
  --ink-2: #13170f;
  --panel: #1a1f15;
  --panel-2: #20271a;
  --line: #2e3626;
  --text: #e8e2cf;        /* the stencil paint */
  --muted: #a9ab95;
  --faint: #7a7d68;
  --olive: #4a4e34;
  --phosphor: #9effad;    /* the campaign screens' green */
  --phosphor-dim: #5fa56b;
  --hazard: #e27a26;
  --radius: 4px;
  --wrap: 1140px;
  --head: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--phosphor); text-underline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0;
  text-transform: uppercase; letter-spacing: .03em;
}
h2 { font-size: clamp(32px, 4.4vw, 50px); }
h3 { font-size: 22px; letter-spacing: .05em; }
p { margin: 0 0 16px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin: 0 auto; }
section { padding: 80px 0; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--phosphor);
  color: #06210c; padding: 10px 16px; font-weight: 700; z-index: 20;
}
.skip:focus { left: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- studio bar (shared chrome, kept quiet) ---------- */
.studio-bar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14,16,12,.86);
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.studio-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.studio-home { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); font: 600 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.studio-home img { width: 22px; height: 22px; }
.studio-home:hover { color: var(--text); }
.game-nav { display: flex; align-items: center; gap: 22px; }
.game-nav a { color: var(--text); text-decoration: none; font: 700 15px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.game-nav a:hover { color: var(--phosphor); }
.game-nav .chip {
  border: 1px solid var(--line); color: var(--muted); padding: 6px 11px;
  font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
}
.game-nav .nav-cta { background: var(--phosphor); color: #06210c; padding: 8px 12px; font-size: 14px; }
.game-nav .nav-cta:hover { background: #c4ffcd; color: #06210c; }
@media (max-width: 680px) { .game-nav .opt { display: none; } .studio-home span { display: none; } }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; text-decoration: none; white-space: nowrap;
  font: 700 18px/1 var(--head); letter-spacing: .1em; text-transform: uppercase;
  transition: background .15s, box-shadow .15s;
}
.btn-deploy {
  background: var(--phosphor); color: #06210c;
  box-shadow: 0 0 0 1px rgba(158,255,173,.35), 0 0 36px -6px rgba(158,255,173,.45);
}
.btn-deploy::before { content: ""; width: 9px; height: 18px; background: currentColor; } /* the console's cursor block */
.btn-deploy:hover { background: #c4ffcd; color: #06210c; box-shadow: 0 0 0 1px rgba(158,255,173,.6), 0 0 44px -4px rgba(158,255,173,.6); }
.btn-deploy:focus-visible { outline: 2px solid var(--hazard); outline-offset: 4px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 76px; border-bottom: 1px solid var(--line); }
.hero::before {
  /* a hazard band along the top edge, as on a hull plate */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, transparent 14px 28px);
  opacity: .8;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.eyebrow {
  font: 700 13px/1 var(--head); letter-spacing: .24em; text-transform: uppercase;
  color: var(--hazard); margin: 0 0 18px;
}
.wordmark { margin: 0 0 26px; }
.wordmark img { width: min(100%, 620px); height: auto; }
.lede { font-size: 21px; line-height: 1.5; color: #f1ecdc; max-width: 34ch; }
.hero .sub { color: var(--muted); font-size: 16.5px; max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li {
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  padding: 7px 12px; font: 700 13px/1 var(--head); letter-spacing: .08em; text-transform: uppercase;
}
.chips li.now { border-color: rgba(158,255,173,.45); color: var(--phosphor); }
.hero-art { position: relative; }
.hero-art img {
  width: 100%; height: auto; border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.95);
}
.hero-art figcaption, .shot figcaption {
  margin-top: 10px; font: 600 12.5px/1.35 var(--sans); letter-spacing: .03em; color: var(--faint);
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { max-width: 420px; }
  .lede, .hero .sub { max-width: none; }
}

/* ---------- the console (the game's wake protocol, verbatim) ---------- */
.console-wrap { background: var(--ink-2); border-bottom: 1px solid var(--line); }
.console {
  margin: 0 auto; max-width: 860px; position: relative;
  background: #07110a; border: 1px solid #23452b; padding: 34px 38px 40px;
  box-shadow: inset 0 0 120px rgba(40,120,60,.18), 0 30px 60px -36px rgba(0,0,0,.9);
}
.console::after {
  /* scanlines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 4px);
}
.console h2 {
  font-size: 22px; letter-spacing: .14em; color: var(--phosphor); margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.console h2::before { content: ""; width: 12px; height: 22px; background: var(--phosphor); }
.console p {
  font: 500 15.5px/1.65 var(--mono); color: var(--phosphor-dim); text-transform: uppercase;
  margin: 0 0 14px; text-shadow: 0 0 10px rgba(158,255,173,.25);
}
.console p.hot { color: var(--phosphor); }
.console .cursor {
  display: inline-block; width: .6em; height: 1.05em; vertical-align: -.15em;
  background: var(--phosphor); animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.console-note { max-width: 860px; margin: 14px auto 0; color: var(--faint); font-size: 14px; }

/* ---------- section furniture ---------- */
.intro { max-width: 680px; margin: 0 0 40px; }
.intro p { color: var(--muted); font-size: 17.5px; margin-top: 14px; }
.band { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- screenshots ---------- */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shot { margin: 0; }
.shot.wide { grid-column: 1 / -1; }
.shot img { width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 22px 50px -30px rgba(0,0,0,.9); }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }
.wip {
  margin: 28px 0 0; padding: 14px 18px; border: 1px dashed var(--line); color: var(--muted); font-size: 15px;
}
.wip b { color: var(--hazard); font: 700 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; margin-right: 8px; }

/* ---------- dossier ---------- */
.dossier { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.file {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); padding: 24px 24px 22px; position: relative;
}
.file::before {
  content: attr(data-tag); position: absolute; right: 16px; top: -10px;
  background: var(--ink); border: 1px solid var(--line); color: var(--faint);
  font: 700 11px/1 var(--head); letter-spacing: .18em; padding: 4px 8px; text-transform: uppercase;
}
.file h3 { color: var(--text); margin-bottom: 14px; }
.file ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.file li { color: var(--muted); font-size: 15.5px; padding-left: 18px; position: relative; }
.file li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--hazard); }
@media (max-width: 820px) { .dossier { grid-template-columns: 1fr; } }

/* ---------- two-column feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature img { width: 100%; height: auto; border: 1px solid var(--line); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 30px; } }
.aside {
  border-left: 2px solid var(--olive); padding: 4px 0 4px 18px; margin: 22px 0 0;
  color: var(--faint); font-size: 15px;
}

/* ---------- citations (the achievements) ---------- */
.citations { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 10px; }
.citation { margin: 0; text-align: center; }
.citation img { width: 88px; height: 88px; margin: 0 auto 10px; }
.citation figcaption { font: 700 14px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.citation figcaption span { display: block; margin-top: 5px; font: 400 13px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--faint); }

/* ---------- wishlist ---------- */
.enlist { position: relative; text-align: center; }
.enlist::before {
  /* the hero's hazard band again, closing the page */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, transparent 14px 28px);
  opacity: .8;
}
.enlist p:not(.eyebrow) { color: var(--muted); font-size: 17.5px; max-width: 620px; margin: 14px auto 0; }
.enlist .btns { justify-content: center; }

/* ---------- footer ---------- */
.game-footer {
  background: #0a0c09; border-top: 1px solid var(--line);
  padding: 40px 0 48px; font-size: 14.5px; color: var(--muted);
}
.game-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.game-footer h4 { margin: 0 0 10px; font: 700 13px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.game-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.game-footer a { color: var(--text); text-decoration: none; }
.game-footer a:hover { color: var(--phosphor); }
.by-studio { display: flex; align-items: center; gap: 10px; }
.by-studio img { width: 34px; height: 34px; }
.by-studio b { display: block; font: 700 16px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
@media (max-width: 760px) { .game-footer .wrap { grid-template-columns: 1fr; } }
