/* PLOT 666 — the tokens from the design handoff of 2026-09-06.
   One light on a page and it is money; no radius, no shadow but the glow. */
@font-face { font-family: "Bricolage Grotesque"; src: url(fonts/bricolage-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url(fonts/bricolage-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ground: #110e08;
  --earth: #15110a;
  --hair: #1c180d;
  --rule: #35322d;
  --groundline: #4a463d;
  --ink: #d9d5cb;
  --ink2: #bfbfbf;
  --muted: #888784;
  --off: #55524b;
  --lime: #ccff00;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --gutter: clamp(18px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 14px/1.7 var(--mono);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--lime); color: var(--ground); }

a { color: inherit; }

img, svg { max-width: 100%; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── the line that names the survey ───────────────────────────────────────── */
.top {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  padding: 22px 0 0;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.top b { color: var(--ink); font-weight: 400; }

/* ── the money ────────────────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 7vw, 92px) 0 0; }
.total {
  margin: 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(52px, 9.4vw, 138px); line-height: 1; letter-spacing: -.015em;
  color: var(--lime); white-space: nowrap;
  text-shadow: 0 0 2px rgba(204,255,0,.5), 0 0 18px rgba(204,255,0,.3), 0 0 64px rgba(204,255,0,.14);
}
.lede {
  margin: 18px 0 0; max-width: 34em;
  font-size: clamp(16px, 1.6vw, 21px); line-height: 1.55; color: var(--ink);
  text-wrap: pretty;
}

/* ── the field ────────────────────────────────────────────────────────────── */
.entry { padding: clamp(28px, 4vw, 44px) 0 0; }
.label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.field { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; max-width: 640px; }
.field input {
  flex: 1 1 320px; min-width: 0; height: 52px; padding: 0 16px;
  background: #0d0b06; border: 1px solid var(--rule); border-radius: 0;
  color: var(--ink); font: 400 16px var(--mono);
}
.field input:focus { outline: none; border-color: var(--ink2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 22px; border: 0; border-radius: 0;
  background: var(--ink); color: var(--ground);
  font: 500 12px var(--mono); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: #fff; }
.btn-out {
  background: none; border: 1px solid var(--rule); color: var(--ink);
  height: 48px;
}
.btn-out:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.note { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); max-width: 46em; }
.demos { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 4px; }
.demos a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--ink2); }

/* ── the register drawing ─────────────────────────────────────────────────── */
.plate { padding: clamp(36px, 5vw, 64px) 0 0; }
.plate-line {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
  padding-bottom: 10px;
}
.plate-line b { color: var(--ink); font-weight: 400; }
.drawing { position: relative; border-top: 1px solid var(--rule); }
.drawing svg { display: block; width: 100%; height: auto; }
.narrow { display: none; }
@media (max-width: 699px) { .wide { display: none; } .narrow { display: block; } }
.stone-link { cursor: pointer; }
.stone-link:hover { filter: brightness(1.2); }

/* ── the method ───────────────────────────────────────────────────────────── */
.method { padding: clamp(36px, 5vw, 64px) 0 0; }
.method ol { margin: 14px 0 0; padding: 0; list-style: none; max-width: 52em; }
.method li {
  padding: 12px 0; border-bottom: 1px solid var(--hair);
  display: flex; gap: 16px; font-size: 14px; color: var(--ink);
}
.method li span { color: var(--muted); min-width: 2em; }

/* ── the mint ─────────────────────────────────────────────────────────────── */
.mint { padding: clamp(36px, 5vw, 64px) 0 0; }
.mint-copy { margin: 16px 0 0; max-width: 40em; font-size: 14px; line-height: 1.7; color: var(--ink); }
.mint-cta { margin-top: 20px; display: inline-flex; }

/* ── the foot ─────────────────────────────────────────────────────────────── */
.foot {
  margin-top: clamp(48px, 7vw, 96px); padding: 24px 0 56px;
  border-top: 1px solid var(--rule);
  font-size: 12px; color: var(--muted);
}
.foot a { padding: 16px 0; margin: -16px 0; display: inline-block; color: var(--ink2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 8px; }

/* ── the grave ────────────────────────────────────────────────────────────── */
.row-frame { border-bottom: 1px solid var(--rule); }
.row-frame svg { display: block; width: 100%; height: auto; }
.row-frame a.walk { transition: opacity .25s; }
.row-frame a.walk:hover { opacity: 1 !important; }

.walk-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0 0;
}
.walk-mid { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.walk-btn { height: 44px; padding: 0 16px; gap: 10px; max-width: 42%; overflow: hidden; }
.walk-name { color: var(--muted); letter-spacing: .12em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.walk-end { color: var(--off); padding: 0 16px; }

.grave-name {
  margin: 22px 0 0;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(38px, 7vw, 108px); line-height: .94; letter-spacing: -.015em;
  text-wrap: balance; overflow-wrap: anywhere;
}
.sum-block { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.grave-total { font-size: clamp(38px, 7.4vw, 116px); margin-top: 8px; }

.ledger {
  margin-top: 28px; padding-top: 4px; border-top: 1px solid var(--rule);
  display: grid; gap: 0 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.cell { padding: 18px 0; border-bottom: 1px solid var(--hair); }
.cell-v {
  margin-top: 8px; font-family: var(--display); font-weight: 600;
  font-size: clamp(26px, 2.5vw, 38px); line-height: 1.1; color: var(--ink);
}
.cell-n { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }

/* ── the register ─────────────────────────────────────────────────────────── */
.reg-lead {
  margin: clamp(28px, 4vw, 52px) 0 0; max-width: 26em;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(22px, 2.7vw, 40px); line-height: 1.2; text-wrap: pretty;
}
.reg-lead b { font-weight: 700; white-space: nowrap; }
.glow {
  color: var(--lime);
  text-shadow: 0 0 2px rgba(204,255,0,.5), 0 0 18px rgba(204,255,0,.3), 0 0 64px rgba(204,255,0,.14);
}
.reg-head, .reg-row {
  display: grid; grid-template-columns: 56px 110px minmax(0, 1fr) 120px 170px;
  gap: 16px; align-items: center;
}
.reg-head {
  padding: 10px 0; border-top: 1px solid var(--rule);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.reg-row {
  padding: 10px 0; border-bottom: 1px solid var(--hair);
  text-decoration: none; color: inherit;
}
.reg-row:hover { background: #14100a; }
.reg-n { font-size: 12px; color: var(--muted); }
.reg-stone { display: block; width: 110px; height: 74px; }
.reg-stone svg { display: block; }
.reg-name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(18px, 1.7vw, 22px); line-height: 1.15; overflow-wrap: anywhere;
}
.reg-cap { display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--muted); }
.reg-died { font-size: 13px; color: var(--ink2); }
.reg-sum {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(20px, 1.9vw, 26px); text-align: right; white-space: nowrap;
}
.reg-gap { margin-top: clamp(40px, 6vw, 72px); }
@media (max-width: 899px) {
  .reg-head { display: none; }
  .reg-row { grid-template-columns: 44px 72px minmax(0, 1fr); padding: 12px 0; }
  .reg-stone { width: 72px; height: 48px; }
  .reg-name { font-size: 17px; }
  .reg-died, .reg-sum { grid-column: 3; text-align: left; }
  .reg-sum { font-size: 20px; }
}

/* ── plate I ──────────────────────────────────────────────────────────────── */
.plate-head {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  padding-bottom: 12px; border-bottom: 1px solid var(--hair);
}
.plate-head b { color: var(--ink); font-weight: 400; }
.plate-row {
  display: grid; gap: 16px 16px; grid-template-columns: repeat(4, 1fr);
  margin-top: 28px; align-items: end;
}
.plate-row .plate-head { grid-column: 1 / -1; }
.plate-cell { margin: 0; }
.plate-cell svg { display: block; width: 100%; height: auto; }
.plate-cell figcaption {
  padding-top: 8px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink);
}
.plate-cell figcaption span {
  display: block; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 12px;
}
@media (max-width: 719px) { .plate-row { grid-template-columns: repeat(2, 1fr); } }
.reg-lead + .plate-line, .top + .reg-lead { margin-top: clamp(28px, 4vw, 52px); }
.plate-line { margin-top: clamp(20px, 3vw, 32px); }
.note.bad { color: var(--ink); }

/* ── check it yourself ────────────────────────────────────────────────────── */
.verify { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }
.verify-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 10px; }
.verify-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; color: var(--ink2); text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.verify-links a:hover { color: var(--ink); border-color: var(--ink2); }
