/* © 2026 William C. Chesher. All Rights Reserved.
   claim.css - claim's one stylesheet, built to sit in the stable beside spawn and bench (Maestro, 2026-11-09: "make
   claim fit right in with the elgance of spawn and bench" / "space it out exactly like spawn"): a dark ground warmed by
   crimson, a spaced mono line top left, a labelled drawing on a glowing floor, the wordmark with its square crimson
   stop, a two-part headline, one line about player two, and the way in. Desktop positions are spawn's, measured at
   1440 by 900. Counted, never ranked: no red against green anywhere. */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("poppins-800.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap;
  src: url("jetbrains-mono.woff2") format("woff2"); }

:root {
  --void: #0c0507;
  --raised: #170a0e;
  --line: #3a1c24;
  --ink: #f6eef0;
  --soft: #e8dcdf;
  --muted: #b9a7ab;
  --crimson: #dc143c;        /* claim's lead */
  --glow: #ff5470;           /* Crimson Glow: small crimson text on dark */
  --ember: #ff8a5c;
  --gutter: 56px;
  --face: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; position: relative;
  background: radial-gradient(1200px 700px at 50% 38%, #2a0a12 0%, #14070b 45%, var(--void) 80%) fixed, var(--void);
  color: var(--ink); font: 400 17px/1.55 var(--face); -webkit-font-smoothing: antialiased; }
::selection { background: var(--crimson); color: #fff; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }
.dot { color: var(--crimson); }
#field { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* the head: the spaced line, the links, the teacher's way in */
.top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  height: 34px; margin: 22px var(--gutter) 0; }
.motto { margin: 0; display: flex; align-items: center; gap: 14px; font: 500 11px/1 var(--mono); letter-spacing: .3em;
  color: var(--muted); text-transform: uppercase; }
.motto::before { content: ""; width: 28px; height: 1px; background: var(--muted); opacity: .6; }
.top nav { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.top nav a { color: var(--soft); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.top nav a.pill { height: 34px; line-height: 32px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px;
  font-weight: 600; color: var(--ink); }
.mark { font: 800 22px/1 var(--face); letter-spacing: -.04em; text-decoration: none; color: var(--ink); }
.mark i { display: inline-block; width: 5px; height: 5px; margin-left: 2px; background: var(--crimson); }

/* the hero, on spawn's measurements: tag 133, drawing 160, wordmark 404, headline 598, line 673, way in 776 */
.hero { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 77px 16px 72px; }
.tag { margin: 0; display: flex; gap: 8px; align-items: center; font: 600 11px/17px var(--mono); letter-spacing: .14em;
  color: #f1dfe3; text-transform: uppercase; }
.tag b { background: var(--crimson); color: #fff; padding: 0 6px; letter-spacing: .1em; }
.stage { margin-top: 10px; width: 688px; max-width: 100%; aspect-ratio: 688 / 232; }
.stage canvas { width: 100%; height: 100%; display: block; }
.word { margin: 12px 0 0; display: flex; align-items: center; gap: 26px; height: 131px; }
.word svg { width: 120px; height: 120px; flex: none; filter: drop-shadow(0 0 18px rgba(220, 20, 60, .55)); }
.word h1 { margin: 0; font: 800 139.5px/1 var(--face); letter-spacing: -.055em;
  text-shadow: 0 0 40px rgba(255, 84, 112, .18); }
.word h1 i { display: inline-block; width: .172em; height: .172em; margin-left: .043em; background: var(--crimson);
  box-shadow: 0 0 22px rgba(220, 20, 60, .9); }
.headline { margin: 63px 0 0; font: 800 46px/50px var(--face); letter-spacing: -.035em; text-align: center; }
.headline span { margin-left: .25em; background: linear-gradient(90deg, var(--glow), var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 25px 0 0; max-width: 640px; text-align: center; font-size: 20px; line-height: 30px; color: var(--soft); }
.lede em { font-style: normal; font-weight: 600; color: var(--glow); }

/* the way in: one row on a laptop, a stack on a phone */
.join { margin-top: 43px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.join label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.join input { height: 44px; border-radius: 10px; border: 1px solid var(--line); background: rgba(20, 7, 11, .85);
  color: var(--ink); font: 400 16px var(--face); padding: 0 16px; }
.join input::placeholder { color: var(--muted); }
.join input:focus { outline: none; border-color: var(--glow); }
.join #code { width: 300px; border: 1.5px solid var(--crimson); box-shadow: 0 0 0 3px rgba(220, 20, 60, .12); }
.join #pin { width: 96px; text-align: center; font-family: var(--mono); letter-spacing: .2em; }
.join button { height: 44px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--crimson); color: #fff;
  font: 600 16px var(--face); cursor: pointer; box-shadow: 0 0 22px rgba(220, 20, 60, .4); }
.join button:hover { background: #ec1f48; }
.hint { margin: 10px 0 0; font: 400 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); text-align: center; }
.note { margin: 24px 0 0; padding: 10px 14px; max-width: 520px; border-left: 2px solid var(--crimson);
  background: rgba(23, 10, 14, .9); color: var(--ink); font-size: 15px; }
.count { position: absolute; right: var(--gutter); bottom: 19px; margin: 0; z-index: 2; font: 400 11px/14px var(--mono);
  letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.count b { color: var(--ink); font-weight: 600; }
.seam { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 2; opacity: .8;
  background: linear-gradient(90deg, transparent, var(--crimson), var(--ember), transparent); }

/* a code's second step, and the plain pages: the same ground, the mark small */
.step { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 48px 16px 96px; }
.step .seminar { margin: 0 0 6px; font: 600 11px/1.4 var(--mono); letter-spacing: .2em; color: var(--muted);
  text-transform: uppercase; text-align: center; }
.step h1 { margin: 0 0 28px; font: 800 40px/1.1 var(--face); letter-spacing: -.03em; text-align: center; }
.step .join { flex-direction: column; align-items: stretch; width: 100%; max-width: 20rem; margin-top: 0; }
.step .join input, .step .join #code { width: 100%; }
.step .join label { position: static; width: auto; height: auto; clip: auto; overflow: visible;
  font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.page { position: relative; z-index: 2; flex: 1; width: 100%; max-width: 44rem; margin: 0 auto;
  padding: clamp(40px, 10vh, 112px) 24px 96px; }
.page h1 { margin: 0; font: 800 clamp(36px, 5vw, 56px)/1.08 var(--face); letter-spacing: -.035em; }
.page .lede { text-align: left; margin-left: 0; }
.pillars { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 32px; }
.pillars h2 { margin: 0 0 6px; font: 600 20px/1.3 var(--face); letter-spacing: -.01em; }
.pillars p { margin: 0; color: var(--muted); }
.small { margin-top: 48px; color: var(--muted); font-size: 15px; }
.code { margin: 0 0 12px; font: 500 12px/1 var(--mono); letter-spacing: .3em; color: var(--glow); }
.foot { position: relative; z-index: 2; padding: 24px var(--gutter) 32px; display: flex; gap: 24px; font-size: 14px; }
.foot a { color: var(--muted); text-decoration: none; }

/* a phone: the same parts, stacked and scaled */
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .motto { letter-spacing: .22em; font-size: 10px; }
  .motto::before { width: 16px; }
  .top nav a:not(.pill) { display: none; }
  .hero { padding-top: 40px; }
  .word { gap: 14px; height: auto; margin-top: 4px; }
  .word svg { width: 58px; height: 58px; }
  .word h1 { font-size: 72px; }
  .headline { margin-top: 32px; font-size: 30px; line-height: 34px; }
  .headline span { display: inline-block; margin-left: 0; }
  .lede { margin-top: 16px; font-size: 17px; line-height: 26px; }
  .join { margin-top: 28px; flex-direction: column; align-items: stretch; width: 100%; max-width: 22rem; }
  .join #code, .join #pin { width: 100%; height: 50px; }
  .join button { height: 50px; }
  .count { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
