:root {
  /* Genesis Black & Gold: the desk's standard look. Neutrals are warm, derived from the ground #080706. */
  --bg: #080706;
  --bg-raised: #13110e;
  --bg-sunk: #040303;
  --line: #2b261e99;
  --line-strong: #2e2920;
  --text: #ede7da;
  --text-muted: #aba293;
  --gold: #cda75b;
  --gold-bright: #ddbd7a;
  --on-gold: #080706;
  --up: #4dc48c;
  --dn: #e5594f;
  --tbc-bg: #5c0f0f;
  --tbc-text: #ffd7d7;
  --radius: 6px;
  --wrap: 1080px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  overflow-wrap: break-word;
}
a { color: var(--gold-bright); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.site-header { border-bottom: 1px solid var(--line-strong); background: var(--bg); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; padding: 6px 0; text-decoration: none; }
.wordmark img { display: block; height: 34px; width: auto; }
.site-header nav { display: flex; gap: 4px; }
.site-header nav a { color: var(--text-muted); text-decoration: none; padding: 8px 10px; border-radius: var(--radius); font-size: 15px; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); background: var(--bg-raised); }

/* hero */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--bg-sunk), var(--bg)); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.hero h1 { font-size: clamp(32px, 6vw, 54px); line-height: 1.1; font-weight: 600; margin: 0 0 20px; max-width: 18ch; letter-spacing: -.01em; }
.hero p.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-muted); max-width: 60ch; margin: 0 0 32px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 20px; border-radius: var(--radius); font-weight: 600; text-decoration: none; font-size: 16px; border: 1px solid var(--gold); }
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-bright); color: var(--on-gold); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: var(--bg-raised); color: var(--text); }

/* sections */
section.block { padding: 56px 0; border-bottom: 1px solid var(--line-strong); }
section.block:last-child { border-bottom: 0; }
h2 { font-size: clamp(24px, 3.4vw, 30px); line-height: 1.2; font-weight: 600; margin: 0 0 12px; }
h3 { font-size: 18px; margin: 0 0 6px; font-weight: 600; }
.section-intro { color: var(--text-muted); max-width: 64ch; margin: 0 0 32px; }
.grid { display: grid; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid > div { background: var(--bg-raised); padding: 24px; }
.grid p { margin: 0; color: var(--text-muted); font-size: 16px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 20px; }
.steps li { counter-increment: s; padding-left: 52px; position: relative; max-width: 70ch; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--mono); color: var(--gold); font-size: 15px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 2px 6px; }
.steps p { margin: 0; color: var(--text-muted); }
.note { border-left: 3px solid var(--gold); background: var(--bg-raised); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); max-width: 75ch; }
.note p { margin: 0 0 8px; } .note p:last-child { margin: 0; }

/* desk pictures */
.shot { margin: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--bg-sunk); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font-size: 14px; color: var(--text-muted); border-top: 1px solid var(--line-strong); background: var(--bg-raised); }
.hero-shot { margin-top: 48px; box-shadow: 0 24px 60px -24px #000, 0 0 0 1px #cda75b22; }
.grid > div.has-shot { padding: 0; display: flex; flex-direction: column; }
.grid > div.has-shot > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-bottom: 1px solid var(--line-strong); background: var(--bg-sunk); }
.grid > div.has-shot > .tile-text { padding: 20px 24px 24px; }
.gallery { display: grid; gap: 20px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.gallery .wide { grid-column: 1 / -1; }
.gallery a { display: block; }
.shot-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin: 24px 0 8px; max-width: none; }
.shot-row .shot img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: left top; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-strong); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { background: var(--bg-sunk); font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
tbody th { font-weight: 600; width: 42%; }
td { color: var(--text-muted); }
.price { font-family: var(--mono); color: var(--text); font-size: 20px; white-space: nowrap; }

/* legal pages */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 0 0 8px; font-weight: 600; }
.doc .meta { color: var(--text-muted); font-size: 15px; margin: 0 0 32px; }
.doc .body { max-width: 72ch; }
.doc h2 { font-size: 21px; margin: 40px 0 10px; }
.doc h3 { margin-top: 24px; }
.doc p, .doc li { color: var(--text); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc table { font-size: 15px; }

/* contact */
.contact-list { display: grid; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; margin: 0; max-width: 760px; }
.contact-list > div { background: var(--bg-raised); padding: 18px 20px; display: grid; gap: 4px; }
@media (min-width: 640px) { .contact-list > div { grid-template-columns: 200px 1fr; gap: 16px; } }
.contact-list dt { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.contact-list dd { margin: 0; }

/* unresolved config value: must never go live */
.tbc { background: var(--tbc-bg); color: var(--tbc-text); border: 1px solid #ff6b6b; border-radius: 3px; padding: 0 4px; font-family: var(--mono); font-size: .85em; font-weight: 500; }

/* footer */
.site-footer { border-top: 1px solid var(--line-strong); background: var(--bg-sunk); padding: 32px 0 40px; font-size: 14px; color: var(--text-muted); }
.risk-line { max-width: 90ch; margin: 0 0 20px; }
.risk-line strong { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 20px; }
.footer-links a { color: var(--text); }
.fine { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* heatmap focus */
.heat-focus { background: linear-gradient(180deg, var(--bg-sunk), var(--bg)); }
.heat-focus .lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-muted); max-width: 62ch; margin: 0 0 8px; }
.heat-focus .hero-shot { margin-top: 28px; }
.heat-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.heat-points li { padding-left: 14px; border-left: 2px solid var(--gold); color: var(--text-muted); }
.heat-points strong { color: var(--text); }
