/* Print in Steel — design system.
   The look of an engineering drawing on bead-blasted steel: cool blasted-grey ground, drawing-ink navy, hairline rules,
   title blocks and dimension callouts. Accents are the colours stainless turns when heated: straw for fills, temper blue
   for links and figures, and the full temper run (straw > bronze > purple > blue) only as a thin rule.
   Type: Archivo, expanded for headings (nameplate), normal width for text; IBM Plex Mono for every number. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100,400;100,500;100,600;125,600;125,700;125,800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: light dark;
  --bg: oklch(95.2% 0.006 235);
  --surface: oklch(98.6% 0.003 235);
  --surface-2: oklch(91.8% 0.008 235);
  --ink: oklch(25% 0.04 258);
  --muted: oklch(45% 0.025 252);
  --line: oklch(83% 0.012 240);
  --line-strong: oklch(68% 0.018 245);
  --steel: oklch(72% 0.012 245);
  --laser: oklch(84% 0.1 88);         /* straw: the first temper colour (fills, primary action) */
  --laser-ink: oklch(44% 0.15 262);   /* temper blue: links, figures, emphasis */
  --laser-soft: oklch(94% 0.035 90);
  --temper: linear-gradient(90deg, oklch(86% 0.09 92) 0%, oklch(70% 0.12 62) 30%, oklch(48% 0.13 330) 62%, oklch(44% 0.15 262) 100%);
  --ok: oklch(48% 0.11 150);
  --warn: oklch(54% 0.12 70);
  --warn-soft: oklch(94% 0.05 88);
  --err: oklch(50% 0.18 27);
  --err-soft: oklch(94% 0.035 27);

  --font: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --t-xs: 0.75rem; --t-sm: 0.875rem; --t-base: 1rem; --t-lg: 1.2rem; --t-xl: 1.5rem; --t-2xl: 2rem; --t-3xl: clamp(2.2rem, 5vw, 3.6rem);
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s6: 1.5rem; --s8: 2rem; --s12: 3rem; --s16: 4rem; --s24: 6rem;
  --r-sm: 3px; --r-md: 6px; --r-lg: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 2px oklch(0% 0 0 / 6%), 0 8px 24px oklch(0% 0 0 / 6%);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(21% 0.018 250); --surface: oklch(25% 0.02 250); --surface-2: oklch(29% 0.022 250);
    --ink: oklch(93% 0.008 235); --muted: oklch(74% 0.015 240); --line: oklch(36% 0.02 250); --line-strong: oklch(48% 0.022 250);
    --laser: oklch(82% 0.1 88); --laser-ink: oklch(78% 0.1 245); --laser-soft: oklch(32% 0.04 88); --ok: oklch(74% 0.12 150); --warn: oklch(80% 0.12 85); --warn-soft: oklch(32% 0.05 85);
    --err: oklch(70% 0.16 27); --err-soft: oklch(30% 0.06 27);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-base)/1.55 var(--font); font-optical-sizing: auto; }
.page { display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); min-height: 100dvh; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--laser-ink); }
h1, h2 { font-stretch: 125%; font-weight: 700; line-height: 1.04; letter-spacing: -0.015em; margin: 0 0 var(--s4); text-wrap: balance; }
h3 { font-weight: 600; line-height: 1.2; margin: 0 0 var(--s3); }
h1 { font-size: var(--t-3xl); } h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); } h3 { font-size: var(--t-lg); }
p { margin: 0 0 var(--s4); max-width: 68ch; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { font: 500 var(--t-xs)/1.3 var(--mono); letter-spacing: 0.04em; color: var(--muted); margin: 0 0 var(--s3); }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2.5rem); }
:focus-visible { outline: 2px solid var(--laser); outline-offset: 3px; border-radius: var(--r-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: color-mix(in oklch, var(--bg) 92%, transparent); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--temper); opacity: .85; }
.brand span:last-child { font-stretch: 125%; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; font-size: .95rem; }
.site-header .container { display: flex; align-items: center; gap: var(--s6); min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark { width: 22px; height: 22px; display: grid; gap: 3px; align-content: center; }
.brand-mark i { display: block; height: 3px; background: var(--ink); border-radius: 1px; }
.brand-mark i:nth-child(2) { width: 80%; } .brand-mark i:nth-child(3) { width: 60%; background: var(--laser); }
.nav { display: flex; gap: var(--s4); margin-left: auto; align-items: center; font-size: var(--t-sm); }
.nav a { text-decoration: none; color: var(--muted); padding: var(--s2) 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { color: var(--surface); }
@media (max-width: 760px) { .nav a.hide-sm { display: none; } }
.brand { white-space: nowrap; }
@media (max-width: 480px) { .site-header .container { gap: var(--s3); } .nav { gap: var(--s3); } .nav .btn { padding: .45rem .55rem; white-space: nowrap; } .brand-mark { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); font: 600 var(--t-sm)/1 var(--font); padding: 0.85rem 1.15rem; border-radius: 2px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
.btn:hover { background: var(--surface-2); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--laser-ink); border-color: var(--laser-ink); color: var(--bg); }
.btn-laser { background: var(--laser); border-color: var(--ink); color: oklch(22% 0.04 258); }
.btn-laser:hover { background: oklch(78% 0.12 80); color: oklch(22% 0.04 258); }
.btn-sm { padding: 0.5rem 0.7rem; font-size: var(--t-xs); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }

/* layer-line texture: the motif of the brand (thin lines, like layers seen edge-on) */
.layers-bg { background-image: repeating-linear-gradient(to bottom, transparent 0 7px, color-mix(in oklch, var(--line) 70%, transparent) 7px 8px); }

/* hero */
.hero { padding: var(--s16) 0 var(--s12); border-bottom: 1px solid var(--line); }
.hero .container { display: grid; grid-template-columns: 1.25fr 0.95fr; gap: var(--s12); align-items: end; }
.hero h1 { max-width: 13ch; }
.hero .lede { font-size: var(--t-lg); color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s6); }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } }
.preorder-band { background: var(--ink); color: var(--bg); font-size: var(--t-sm); }
.preorder-band .container { display: flex; gap: var(--s4); align-items: center; padding: var(--s3) 0; flex-wrap: wrap; }
.preorder-band b { color: var(--laser); font-weight: 600; }
@media (prefers-color-scheme: dark) { .preorder-band b { color: oklch(42% 0.12 65); } }

/* spec card (queue, quote summary) */
.spec { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 2px; padding: var(--s6); }
.spec h3 { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.spec dl { display: grid; grid-template-columns: 1fr auto; gap: var(--s2) var(--s4); margin: 0; }
.spec dt { color: var(--muted); font-size: var(--t-sm); }
.spec dd { margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.spec .total dt, .spec .total dd { font-weight: 600; color: var(--ink); font-size: var(--t-base); border-top: 1px solid var(--line); padding-top: var(--s2); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--warn); box-shadow: 0 0 0 3px color-mix(in oklch, var(--warn) 25%, transparent); }
.dot.live { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in oklch, var(--ok) 25%, transparent); }

/* sections */
section.block { padding: var(--s16) 0; border-bottom: 1px solid var(--line); }
.block-head { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s8); margin-bottom: var(--s8); align-items: end; }
.block-head p { color: var(--muted); }
@media (max-width: 860px) { .block-head { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--ink); }
.steps li { list-style: none; padding: var(--s6) var(--s6) var(--s6) 0; border-right: 1px solid var(--line); counter-increment: step; }
.steps li + li { padding-left: var(--s6); }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 500 var(--t-sm) var(--mono); color: var(--laser-ink); margin-bottom: var(--s3); }
.steps { padding: 0; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; } }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
th, td { text-align: left; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 var(--t-xs) var(--font); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
tr.us td { background: var(--laser-soft); }
tr.us td:first-child { font-weight: 650; }

/* grid of facts (design rules) */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.facts > div { background: var(--surface); padding: var(--s6); }
.facts .big { font: 600 var(--t-2xl)/1 var(--mono); letter-spacing: -0.03em; margin-bottom: var(--s2); }
.facts .big small { font-size: var(--t-sm); color: var(--muted); font-weight: 400; margin-left: 2px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s4); }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto; background: oklch(92% 0.004 85); }
.gallery figcaption { padding: var(--s3) var(--s4); font-size: var(--t-sm); display: flex; justify-content: space-between; gap: var(--s2); }

.note { border-left: 3px solid var(--laser); padding: var(--s3) var(--s4); background: var(--surface); border-radius: 0 var(--r-md) var(--r-md) 0; }
.note.warn { border-color: var(--warn); background: var(--warn-soft); }
details.faq { border-top: 1px solid var(--line); padding: var(--s4) 0; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--s4); }
details.faq summary::after { content: '+'; font-family: var(--mono); color: var(--muted); }
details.faq[open] summary::after { content: '–'; }
details.faq p { margin: var(--s3) 0 0; color: var(--muted); }

footer.site-footer { border-top: 1px solid var(--line); padding: var(--s12) 0 var(--s16); font-size: var(--t-sm); color: var(--muted); position: relative; }
footer.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--temper); opacity: .85; }
footer.site-footer .container { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr 0.8fr; gap: var(--s8); }
footer.site-footer nav { display: flex; gap: var(--s4); flex-wrap: wrap; }
footer.site-footer h2 { font-size: var(--t-xs); font-stretch: 125%; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 0 0 var(--s3); }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
footer.site-footer a { text-decoration: none; } footer.site-footer a:hover { text-decoration: underline; }
.foot-brand b { font-stretch: 125%; font-weight: 800; text-transform: uppercase; color: var(--ink); letter-spacing: .01em; }
.foot-brand p { margin-top: var(--s2); max-width: 32ch; }
@media (max-width: 860px) { footer.site-footer .container { grid-template-columns: 1fr 1fr; } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: var(--s2) var(--s3); }
.skip:focus { left: 8px; }

/* forms */
label { display: grid; gap: var(--s1); font-size: var(--t-sm); color: var(--muted); }
input, select, textarea { font: inherit; font-size: var(--t-base); color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 2px; padding: .6rem .7rem; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--laser); outline-offset: 0; border-color: transparent; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--s3); }
.check { display: flex; gap: var(--s3); align-items: flex-start; color: var(--ink); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--laser-ink); }

/* messages */
.msg { padding: var(--s16) 0; }
.alert { padding: var(--s3) var(--s4); border-radius: 2px; font-size: var(--t-sm); margin: var(--s3) 0; }
.alert.err { background: var(--err-soft); color: var(--err); }
.alert.ok { background: color-mix(in oklch, var(--ok) 14%, var(--surface)); color: var(--ok); }
.badge { display: inline-block; font: 500 var(--t-xs) var(--mono); padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.badge.preorder { border-color: var(--warn); color: var(--warn); }
.badge.paid, .badge.printing, .badge.finishing { border-color: var(--laser-ink); color: var(--laser-ink); }
.badge.shipped { border-color: var(--ok); color: var(--ok); }
.badge.cancelled, .badge.refunded { opacity: .7; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.checks li { font-size: var(--t-sm); padding: var(--s2) var(--s3); border-radius: 2px; background: var(--surface-2); display: grid; grid-template-columns: 18px 1fr; gap: var(--s2); }
.checks li::before { content: 'i'; font: 600 11px/18px var(--mono); text-align: center; width: 18px; height: 18px; border-radius: 50%; background: var(--line-strong); color: var(--surface); }
.checks li.warn { background: var(--warn-soft); } .checks li.warn::before { content: '!'; background: var(--warn); }
.checks li.error { background: var(--err-soft); color: var(--err); } .checks li.error::before { content: '×'; background: var(--err); }
.checks li.good::before { content: '✓'; background: var(--ok); }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line-strong); border-top-color: var(--laser); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
