/* Drill & Kill site — a frontier mining claim. Theme from the game's art direction
   (owner 2026-10-24: "space cowboy mining operations, use the game art for
   direction"; game repo phlipp13/Deadrock docs/design/ART_DIRECTION.md and the
   R-01c / R-03 references): very dark rock under an ochre haze, the operation's
   worn off-white and safety yellow, stencilled plates, rivets, hazard stripes and
   claim-ticket paperwork. Amber and red are danger colours in the game, so they
   never decorate here. No external requests: fonts are self-hosted (OFL), art is
   same-origin, every texture is CSS. Page structure follows voltwoodgame.com. */

@font-face { font-family:"Space Grotesk"; font-weight:400; font-display:swap;
  src:url(/fonts/space-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family:"Space Grotesk"; font-weight:500; font-display:swap;
  src:url(/fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family:"Space Grotesk"; font-weight:700; font-display:swap;
  src:url(/fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family:"Big Shoulders Display"; font-weight:600; font-display:swap;
  src:url(/fonts/big-shoulders-display-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family:"Big Shoulders Display"; font-weight:800; font-display:swap;
  src:url(/fonts/big-shoulders-display-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family:"Big Shoulders Stencil Display"; font-weight:700; font-display:swap;
  src:url(/fonts/big-shoulders-stencil-display-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family:"Big Shoulders Stencil Display"; font-weight:900; font-display:swap;
  src:url(/fonts/big-shoulders-stencil-display-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family:"Zilla Slab"; font-weight:500; font-display:swap;
  src:url(/fonts/zilla-slab-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family:"Zilla Slab"; font-weight:700; font-display:swap;
  src:url(/fonts/zilla-slab-latin-700-normal.woff2) format("woff2"); }

:root {
  /* Ground: the game's UI tokens (docs/design/UI_DIRECTION.md) warmed toward
     the reference rock. */
  --ink: #0a0a0b;          /* --dr-bg */
  --bg: #0d0b09;
  --rock: #16120e;
  --rock-2: #211a13;
  --panel: #14110e;
  --panel-2: #1d1914;
  --line: #2e2820;
  --line-2: #4d4337;

  /* The planet's haze (R-03 sky). Mood only, never a signal. */
  --haze: #9a6630;
  --haze-2: #c08a4a;
  --dust: #6b4a2c;

  /* The operation */
  --text: #ece8dc;         /* --dr-text, worn off-white */
  --text-dim: #b3ab9b;
  --text-mute: #7d7466;
  --plate: #e3ddcc;        /* machine off-white */
  --plate-shade: #a9a291;
  --yellow: #ffc60d;       /* --dr-yellow, safety yellow */
  --yellow-2: #ffd84d;
  --yellow-dark: #6e5205;
  --steel: #2b2a27;
  --on-accent: #0d0d0d;    /* --dr-ink */
  --glow: #41e0f0;         /* a race's eyes (R-04), used once, sparingly */
  --accent: var(--yellow);
  --accent-2: var(--yellow-2);

  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--ink) 12px 24px);

  --font-display: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;
  --font-stencil: "Big Shoulders Stencil Display", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-slab: "Zilla Slab", Rockwell, Georgia, serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;
  --sp-8: 48px; --sp-10: 64px; --sp-12: 96px;
  --cut: 14px;             /* chamfer on plates and buttons */

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; min-height: 100vh;
  /* ochre haze over very dark rock, with a faint grit */
  background:
    radial-gradient(ellipse 90rem 34rem at 30% -6rem, rgba(154, 102, 48, 0.30), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(236, 232, 220, 0.035) 1px, transparent 1.6px) 0 0 / 7px 7px,
    linear-gradient(180deg, #120e0a 0, var(--bg) 40rem);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

.page { width: min(1160px, 92vw); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; margin: 0; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; }
h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 26px; letter-spacing: 0.03em; }
p { margin: 0 0 var(--sp-4); color: var(--text-dim); max-width: 66ch; }
strong { color: var(--text); }
a { color: var(--text); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
em { font-style: normal; color: var(--accent); }
.mono { font-family: var(--font-mono); }

.eyebrow {
  font-family: var(--font-stencil); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 var(--sp-4);
}
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-dim); max-width: 62ch; }
.tagline {
  font-family: var(--font-slab); font-weight: 700; font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15; color: var(--text); margin: var(--sp-5) 0 var(--sp-4);
}
.note { color: var(--text-mute); font-size: 0.9rem; }

section { padding-block: var(--sp-12); position: relative; }
section + section::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--hazard); opacity: .55;
}

/* ---------- header: a steel plate with a hazard edge ---------- */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--sp-4); top: var(--sp-4); z-index: 100; background: var(--accent); color: var(--ink); padding: var(--sp-2) var(--sp-4); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #1b1915, #121110);
  border-bottom: 4px solid transparent;
  border-image: var(--hazard) 4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.site-header .page { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 66px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--font-stencil); font-weight: 900; font-size: 1.7rem;
  letter-spacing: 0.08em; color: var(--text); text-transform: uppercase; line-height: 1;
}
.wordmark span.rock { color: var(--accent); }
.lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--plate); box-shadow: 0 0 12px var(--plate), 0 0 2px #fff; }
.site-nav { display: flex; align-items: center; gap: var(--sp-5); }
.site-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-dim); text-decoration: none;
}
.site-nav a:hover { color: var(--accent); }

/* ---------- buttons: chamfered plates ---------- */
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 24px; color: var(--text); background: var(--steel);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  box-shadow: inset 0 0 0 2px var(--line-2);
  text-decoration: none; transition: background .15s, color .15s, transform .1s;
}
.button:hover { background: #3a3832; color: var(--accent); }
.button:active { transform: translateY(1px); }
.button.primary { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 -4px 0 var(--yellow-dark); }
.button.primary:hover { background: var(--accent-2); color: var(--on-accent); }

/* ---------- hero ---------- */
.hero { padding-top: 0; }
main.hero { padding-top: var(--sp-10); min-height: 60vh; }
.hero-art {
  position: relative; container-type: inline-size;
  margin: 0 calc(50% - 50vw) var(--sp-6); /* full bleed */
  background: var(--ink);
  border-bottom: 6px solid transparent; border-image: var(--hazard) 6;
}
.hero-art-bg { display: block; width: 100%; height: auto; }
/* No approved logo yet, so the mark is type: stencilled across the hazy sky
   at the art's top left, sized in container units so it scales with the band. */
.hero-art-mark {
  position: absolute; left: 4%; top: 9%; margin: 0;
  font-family: var(--font-stencil); font-weight: 900;
  font-size: 10.5cqi; line-height: .86; letter-spacing: 0.05em;
  color: var(--plate);
  text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 6px 30px rgba(0, 0, 0, .55);
}
.hero-art-mark span { color: var(--accent); }
.hero-art-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(10, 10, 11, .78) 0%, rgba(10, 10, 11, .35) 34%, rgba(10, 10, 11, 0) 55%),
    linear-gradient(0deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, 0) 22%);
}
.hero-art-mark { z-index: 1; }
.hero-art-note {
  position: absolute; right: 2%; bottom: 3%; margin: 0;
  font-family: var(--font-slab); font-weight: 700; font-size: clamp(10px, 1.05cqi, 15px);
  letter-spacing: .12em; text-transform: uppercase; color: var(--plate); opacity: .8;
}
.hero-cta-note { font-family: var(--font-stencil); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- the claim ticket (status) ---------- */
.ticket {
  position: relative; display: grid; grid-template-columns: auto 1fr; margin: var(--sp-8) 0 0;
  background: var(--plate); color: var(--on-accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.ticket::after { /* punched edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 10px;
  background: radial-gradient(circle at 10px 10px, var(--bg) 6px, transparent 6.5px) 0 0 / 20px 20px repeat-x;
}
.ticket-stub {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: var(--sp-5) var(--sp-6); background: var(--accent);
  border-right: 3px dashed rgba(13, 13, 13, .35);
}
.ticket-stub b { font-family: var(--font-stencil); font-weight: 900; font-size: 2.6rem; line-height: 1; letter-spacing: .05em; }
.ticket-stub span { font-family: var(--font-slab); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.status-band {
  display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-8); margin: 0;
  padding: var(--sp-5) var(--sp-6) calc(var(--sp-5) + 6px);
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(13, 13, 13, .07) 27px 28px);
}
.status-band div { display: flex; flex-direction: column; gap: 2px; }
.status-band dt { font-family: var(--font-slab); font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #5d574b; }
.status-band dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .04em; color: #141311; }

/* ---------- section heads: a stencilled claim plate ---------- */
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.index {
  font-family: var(--font-stencil); font-weight: 700; font-size: 1rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--on-accent); background: var(--accent); padding: 4px 12px 3px;
}

/* ---------- panels: riveted plates ---------- */
.grid { display: grid; gap: var(--sp-5); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.panel {
  position: relative;
  background:
    radial-gradient(circle at 14px 14px, var(--line-2) 2.4px, transparent 3px),
    radial-gradient(circle at calc(100% - 28px) calc(100% - 14px), var(--line-2) 2.4px, transparent 3px),
    radial-gradient(circle at 14px calc(100% - 30px), var(--line-2) 2.4px, transparent 3px),
    radial-gradient(circle at calc(100% - 30px) 14px, var(--line-2) 2.4px, transparent 3px),
    linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  padding: var(--sp-6) var(--sp-6) var(--sp-5);
}
.panel h3 { margin-bottom: var(--sp-3); }
.panel p:last-child { margin-bottom: 0; }
.feature { border-top: 4px solid var(--plate-shade); }
.feature:nth-child(odd) { border-top-color: var(--accent); }
.tag {
  display: inline-block; vertical-align: .2em; margin-right: 10px;
  font-family: var(--font-stencil); font-weight: 700; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--on-accent); background: var(--plate); padding: 2px 8px 1px;
}
.feature:nth-child(odd) .tag { background: var(--accent); }

/* ---------- the roughneck's word: a slab-set pull quote ---------- */
.saying {
  margin: var(--sp-10) 0 0; padding: var(--sp-5) var(--sp-6);
  border-left: 6px solid var(--accent); background: rgba(154, 102, 48, .08);
}
.saying p { font-family: var(--font-slab); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; color: var(--text); margin: 0; max-width: 40ch; }
.saying cite { display: block; margin-top: var(--sp-3); font-family: var(--font-stencil); font-weight: 700; font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); font-size: .9rem; }

/* ---------- faq ---------- */
.faq { border-top: 2px solid var(--line); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--sp-4) 0; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; list-style: none; display: flex; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; background: var(--accent); color: var(--on-accent); font-family: var(--font-mono); font-size: 1.1rem; }
.faq details[open] summary::before { content: "\2212"; }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 0 var(--sp-5) 42px; margin: 0; }

/* ---------- footer ---------- */
.site-footer { position: relative; padding-block: var(--sp-8); margin-top: var(--sp-6); background: #0b0a09; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--hazard); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--sp-5); margin: 0 0 var(--sp-4); }
.footer-links a { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.site-footer p { color: var(--text-mute); font-size: 0.86rem; max-width: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── Pending Steam button ──────────────────────────────────────────────────
   No store page exists yet, so the header's last item (the one a phone keeps)
   says so instead of linking anywhere. When the page exists it becomes
   voltwoodgame.com's `a.button.primary.header-cta`, with UTM tags. */
.site-nav .header-cta.pending {
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 14px; white-space: nowrap; color: var(--accent);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent);
  background: repeating-linear-gradient(-45deg, rgba(255, 198, 13, .08) 0 8px, transparent 8px 16px);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  cursor: default;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid.two { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-stub { border-right: 0; border-bottom: 3px dashed rgba(13, 13, 13, .35); flex-direction: row; align-items: baseline; gap: var(--sp-3); }
}
@media (max-width: 640px) {
  .site-nav a { display: none; }
  .wordmark { font-size: 1.4rem; }
  .button { width: 100%; justify-content: center; }
  .panel { padding: var(--sp-5); }
  .faq summary { font-size: 1.25rem; }
  .faq details p { padding-left: 0; }
}

/* ---------- screenshots ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); margin-top: var(--sp-8); }
.shot { margin: 0; }
.shot a { display: block; background: var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 14px 30px rgba(0, 0, 0, .45); }
.shot a:hover, .shot a:focus-visible { box-shadow: 0 0 0 2px var(--accent), 0 14px 30px rgba(0, 0, 0, .45); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption { margin-top: var(--sp-3); color: var(--text-dim); font-size: .95rem; line-height: 1.45; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } .hero-art-note { display: none; } }
.gallery-head { margin: var(--sp-8) 0 var(--sp-2); }
.gallery-note { margin: 0; }
.gallery-head + .gallery-note + .gallery { margin-top: var(--sp-5); }
.gallery.two { grid-template-columns: repeat(2, 1fr); align-items: start; }
.shot.span { grid-column: 1 / -1; }
.shot.natural img { aspect-ratio: auto; object-fit: contain; }
@media (max-width: 640px) { .gallery.two { grid-template-columns: 1fr; } }
