:root {
  --walnut: #16110d;
  --bevel: #1e1914;
  --arris: #3a3228;
  --novaculite: #cbbba6;
  --dust: #e8dfd2;
  --swarf: #a89880;
  --oilgold: #d4a054;
  --steel: #9aa0a6;
  --g1: 8px;
  --g2: 16px;
  --g3: 24px;
  --g4: 40px;
  --g5: 64px;
  --g6: 96px;
  --gritface: "Gritface", ui-sans-serif, sans-serif;
  --swarfface: "Swarf", ui-monospace, monospace;
  --draw: cubic-bezier(0.32, 0.72, 0, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; background: var(--walnut); }
body {
  margin: 0;
  font-family: var(--gritface);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dust);
  background: var(--walnut);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--dust); text-underline-offset: 4px; }
a:hover { color: var(--novaculite); }
:focus-visible {
  outline: 2px solid var(--oilgold);
  outline-offset: 3px;
}
.nov-skip {
  position: absolute;
  left: var(--g2);
  top: -4rem;
  z-index: 8;
  background: var(--oilgold);
  color: var(--walnut);
  padding: 12px 16px;
  min-height: 44px;
}
.nov-skip:focus { top: var(--g2); }

.nov-mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--g2);
  padding: var(--g2) var(--g4);
  min-height: 64px;
  position: relative;
  z-index: 4;
}
.nov-word {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--dust);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nov-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.nov-routes a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  text-decoration: none;
  font-size: 13px;
  color: var(--swarf);
}
.nov-routes a[aria-current="page"],
.nov-routes a:hover { color: var(--dust); }
.nov-slots { display: flex; gap: var(--g2); align-items: center; }
.nov-slots [data-slot="ca"]:empty,
.nov-slots [data-contract-foundry-social="x"]:empty { display: none; }
.nov-slots a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.nov-film {
  position: relative;
  min-height: calc(100dvh - 64px);
  display: grid;
  place-items: end stretch;
  overflow: hidden;
  background: var(--walnut);
}
.nov-film video,
.nov-film .nov-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nov-poster { display: none; }
.nov-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.nov-ribbon {
  position: absolute;
  inset: 12% 8% auto 8%;
  height: 28%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
}
.nov-claim {
  position: relative;
  z-index: 3;
  padding: var(--g5) var(--g4) var(--g5);
  text-align: center;
  background: linear-gradient(to top, rgba(22,17,13,0.94) 0%, rgba(22,17,13,0.72) 55%, rgba(22,17,13,0) 100%);
}
.nov-claim h1 {
  margin: 0 auto var(--g3);
  max-width: 22ch;
  font-family: var(--swarfface);
  font-weight: 300;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.nov-kicker {
  margin: 0 0 var(--g2);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--swarf);
}
.nov-dek {
  margin: 0 auto;
  max-width: 46ch;
  color: var(--novaculite);
  font-size: 16px;
}

.nov-artifacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--g2) var(--g4);
  padding: var(--g4);
  border-top: 1px solid var(--arris);
}
.nov-artifacts a {
  font-size: 15px;
  color: var(--dust);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nov-artifacts a:hover { color: var(--oilgold); }

.nov-band {
  padding: var(--g4) var(--g4);
  max-width: 1120px;
  margin: 0 auto;
}
.nov-band h2 {
  margin: 0 0 var(--g3);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.nov-band p { margin: 0 0 var(--g3); max-width: 62ch; color: var(--novaculite); }
.nov-figs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--g3);
  margin-top: var(--g4);
}
.nov-figs div {
  border-top: 1px solid var(--arris);
  padding-top: var(--g2);
}
.nov-figs b {
  display: block;
  font-size: 28px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.nov-figs span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--swarf);
}
.nov-steps { display: grid; gap: var(--g3); }
.nov-steps article {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: var(--g3);
  border-top: 1px solid var(--arris);
  padding-top: var(--g3);
}
.nov-steps h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}
.nov-steps p { margin: 0; color: var(--novaculite); }
.nov-q { display: grid; gap: var(--g3); }
.nov-q details {
  border-top: 1px solid var(--arris);
  padding-top: var(--g2);
}
.nov-q summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 500;
  list-style: none;
}
.nov-q summary::-webkit-details-marker { display: none; }
.nov-q p { margin: var(--g2) 0 0; color: var(--novaculite); }

.nov-door {
  padding: var(--g5) var(--g4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--g3);
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--arris);
}
.nov-door a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--dust);
  color: var(--walnut);
  text-decoration: none;
  font-size: 14px;
}
.nov-door a:hover { background: var(--novaculite); color: var(--walnut); }
.nov-door p { margin: 0; max-width: 48ch; color: var(--novaculite); }

.nov-plate {
  min-height: 70dvh;
  display: grid;
  place-items: center;
  padding: var(--g6) var(--g4);
  background: var(--novaculite);
  color: var(--walnut);
  text-align: center;
}
.nov-plate .nov-word {
  font-size: clamp(48px, 12vw, 128px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--walnut);
}
.nov-plate p { margin: var(--g3) 0 0; color: #5a4e40; }

.nov-colophon {
  padding: var(--g3) var(--g4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--g2);
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--swarf);
}
.nov-colophon p { margin: 0; }

.nov-page { padding: var(--g4); max-width: 820px; margin: 0 auto; }
.nov-page h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 var(--g3);
}
.nov-page h2 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: var(--g5) 0 var(--g2);
}
.nov-page h3 { font-size: 18px; font-weight: 500; margin: var(--g4) 0 var(--g2); }
.nov-page p, .nov-page li { color: var(--novaculite); max-width: 62ch; }
.nov-page ul, .nov-page ol { padding-left: 1.2em; }
.nov-prevnext {
  display: flex;
  flex-wrap: wrap;
  gap: var(--g2);
  justify-content: space-between;
  margin-top: var(--g5);
  padding-top: var(--g3);
  border-top: 1px solid var(--arris);
}
.nov-prevnext a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nov-sheet {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.nov-sheet th, .nov-sheet td {
  text-align: left;
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--arris);
  vertical-align: top;
}
.nov-sheet th {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--swarf);
  font-weight: 400;
}
.nov-sheet .num { text-align: right; font-variant-numeric: tabular-nums; }
.nov-scroll { overflow-x: auto; margin: var(--g3) 0; }
.nov-live td:empty::after { content: none; }
.nov-frame {
  border: 1px solid var(--arris);
  padding: var(--g3);
  margin: var(--g3) 0;
  min-height: 88px;
}
.nov-frame h2 { margin: 0 0 var(--g2); font-size: 16px; }

.nov-console { padding: var(--g4); max-width: 1080px; margin: 0 auto; }
.nov-console h1 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 var(--g3);
}

.nov-bleed {
  margin: var(--g4) calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}
.nov-bleed img { width: 100%; height: 42vw; min-height: 280px; max-height: 520px; object-fit: cover; }

.nov-404 {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--g5);
}
.nov-404 h1 { font-family: var(--mono); font-weight: 300; font-size: 28px; }

@media (max-width: 720px) {
  .nov-mast { padding: var(--g2); flex-wrap: wrap; }
  .nov-claim { padding: var(--g4) var(--g2) var(--g4); }
  .nov-band, .nov-page, .nov-console, .nov-door, .nov-colophon { padding-left: var(--g2); padding-right: var(--g2); }
  .nov-figs { grid-template-columns: 1fr; }
  .nov-steps article { grid-template-columns: 1fr; gap: 8px; }
  .nov-ribbon { display: none; }
  .nov-film { min-height: auto; padding-bottom: 0; }
  .nov-film video, .nov-film .nov-poster { min-height: 52dvh; }
}
@media (prefers-reduced-motion: reduce) {
  .nov-film video { display: none; }
  .nov-film .nov-poster { display: block; }
  .nov-gl { display: none; }
}
@media print {
  .nov-mast, .nov-colophon, .nov-skip { display: none; }
  body { background: #16110d; color: #e8dfd2; }
  .nov-page p, .nov-page li { color: #cbbba6; }
  .nov-bleed { margin: 24px 0; width: 100%; max-width: 100%; }
  .nov-bleed img { height: 620px; max-height: none; min-height: 0; }
}
