/* Under Gaslight: undergaslight.com
   Palette from the game's style bible (docs/art/STYLE_BIBLE.md): soot, charcoal, fog, ivory, gaslight, oxblood, brass,
   bottle, midnight. Type: IM Fell English (display, a revival of seventeenth-century English founts) and EB Garamond. */

@font-face { font-family: 'IM Fell English'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/im-fell-english-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IM Fell English'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/im-fell-english-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'IM Fell English SC'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/im-fell-english-sc-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/eb-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/eb-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/eb-garamond-latin-600-normal.woff2') format('woff2'); }

:root {
  --soot: #0e0d0c;
  --charcoal: #2a2826;
  --fog: #8c8f8e;
  --ivory: #e9e0cc;
  --gaslight: #e0a040;
  --gas-dim: #b07a2c;
  --oxblood: #5e1a1d;
  --brass: #9a7b45;
  --bottle: #1f3b2d;
  --midnight: #16213a;
  --muted: #b8ae9a;
  --line: rgba(154, 123, 69, .38);
  --display: 'IM Fell English', 'Iowan Old Style', Georgia, serif;
  --caps: 'IM Fell English SC', 'IM Fell English', Georgia, serif;
  --body: 'EB Garamond', Garamond, 'Iowan Old Style', Georgia, serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--soot);
  color: var(--ivory);
  font: 400 1.18rem/1.65 var(--body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gaslight); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ivory); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gaslight); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .45em; letter-spacing: .005em; }
p { margin: 0 0 1em; }
em, i { font-style: italic; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--soot); padding: 8px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

.eyebrow { font-family: var(--caps); color: var(--gaslight); font-size: 1.02rem; letter-spacing: .14em; margin: 0 0 .5rem; }
.flourish { width: min(320px, 70%); margin: 1rem auto 1.4rem; opacity: .9; }
.intro { max-width: 700px; margin: 0 auto; text-align: center; }
.intro p { color: var(--muted); font-size: 1.22rem; }

/* Header */
.site-head { position: absolute; inset: 0 0 auto; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ivory); }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: var(--caps); letter-spacing: .12em; font-size: 1.05rem; }
.site-head nav { display: flex; gap: clamp(.8rem, 2.4vw, 1.7rem); font-size: 1.02rem; }
.site-head nav a { color: var(--ivory); text-decoration: none; white-space: nowrap; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--gaslight); }
.page .site-head { position: static; border-bottom: 1px solid var(--line); background: rgba(14,13,12,.9); }
@media (max-width: 760px) { .site-head nav .opt { display: none; } }
@media (max-width: 480px) { .brand span { display: none; } }

/* Hero: the wide key art, the title set in its fog. */
.hero {
  position: relative;
  min-height: min(100svh, 1000px);
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  background: var(--soot) url('/img/key-art-wide.webp') 62% 50% / cover no-repeat;
  isolation: isolate;
}
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,13,12,.82) 0%, rgba(14,13,12,.55) 34%, rgba(14,13,12,0) 62%),
    linear-gradient(180deg, rgba(14,13,12,.6) 0%, rgba(14,13,12,0) 22%, rgba(14,13,12,0) 72%, var(--soot) 100%); }
/* The lamps' light: a warm pool over the doorway and the nearest lamp that breathes like a gas mantle. */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(28vmax 30vmax at 79% 42%, rgba(224,160,64,.16), transparent 70%),
    radial-gradient(10vmax 12vmax at 66% 14%, rgba(255,190,90,.22), transparent 70%);
  mix-blend-mode: screen; animation: mantle 7s ease-in-out infinite; }
@keyframes mantle {
  0%, 100% { opacity: .85; } 18% { opacity: 1; } 21% { opacity: .78; } 24% { opacity: .96; }
  52% { opacity: .9; } 70% { opacity: 1; } 73% { opacity: .82; } 76% { opacity: .97; }
}
.hero-copy { max-width: 560px; }
.hero h1 { margin: 0; }
.hero .logo { width: min(86vw, 500px); filter: drop-shadow(0 6px 24px rgba(0,0,0,.75)); }
.hero .tagline { font-family: var(--display); font-style: italic; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.35;
  margin: 1.6rem 0 1.2rem; text-shadow: 0 2px 14px rgba(0,0,0,.95); }
.facts { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem;
  font-size: 1.06rem; color: var(--ivory); text-shadow: 0 1px 8px rgba(0,0,0,.95); }
.facts li + li::before { content: '✦'; color: var(--gaslight); font-size: .7em; margin-right: 1.2rem; vertical-align: .15em; }
.status { display: inline-flex; align-items: center; gap: .8rem; padding: .75rem 1.3rem; border: 1px solid var(--gas-dim);
  background: rgba(14,13,12,.72); font-family: var(--caps); letter-spacing: .12em; font-size: 1.02rem; color: var(--gaslight); }
.status .flame { width: 9px; height: 14px; border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 50% 70%, #fff3c4, var(--gaslight) 55%, #b5521c);
  box-shadow: 0 0 10px 2px rgba(224,160,64,.6); animation: flame 2.4s ease-in-out infinite; }
@keyframes flame { 0%, 100% { transform: scale(1); opacity: 1; } 40% { transform: scale(.92, 1.06); opacity: .88; } 60% { transform: scale(1.04, .97); } }
.hero .status-note { margin: .8rem 0 0; color: var(--muted); font-size: 1rem; text-shadow: 0 1px 8px #000; }
@media (max-width: 760px) {
  .hero { align-items: flex-end; background-image: url('/img/key-art-tall.webp'); background-position: 50% 30%; padding: 30svh 0 56px; min-height: 100svh; }
  .hero .logo { width: min(68vw, 330px); margin-inline: auto; }
  .hero .tagline { margin: 1rem 0 .9rem; font-size: 1.25rem; }
  .facts { margin-bottom: 1.3rem; font-size: 1rem; }
  .hero::after { background: linear-gradient(180deg, rgba(14,13,12,.5) 0%, rgba(14,13,12,0) 20%, rgba(14,13,12,.55) 52%, var(--soot) 88%); }
  .hero::before { background: radial-gradient(30vmax 30vmax at 28% 30%, rgba(224,160,64,.16), transparent 70%); }
  .hero-copy { text-align: center; margin-inline: auto; }
  .facts { justify-content: center; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section h2 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
.ruled { border-top: 1px solid var(--line); }

/* Card fan: five real card faces from the game. */
.fan { display: flex; justify-content: center; margin: 3.2rem auto 0; padding-inline: 4%; }
.fan img { width: min(21%, 230px); margin-inline: -1.8%; filter: drop-shadow(0 16px 26px rgba(0,0,0,.75));
  transition: transform .35s ease, translate .35s ease; position: relative; }
.fan img:nth-child(1) { transform: rotate(-13deg) translateY(34px); }
.fan img:nth-child(2) { transform: rotate(-6deg) translateY(8px); }
.fan img:nth-child(3) { z-index: 1; }
.fan img:nth-child(4) { transform: rotate(6deg) translateY(8px); }
.fan img:nth-child(5) { transform: rotate(13deg) translateY(34px); }
.fan img:hover { z-index: 2; translate: 0 -18px; }

/* How a night is played */
.night { background: linear-gradient(180deg, var(--soot), #12151d 55%, var(--soot)); }
.night-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px);
  align-items: center; margin-top: 3rem; }
.phone { position: relative; margin: 0; border-radius: 38px; padding: 10px; background: #050505;
  box-shadow: 0 0 0 1px #3a3530, 0 0 0 4px #15130f, 0 30px 70px rgba(0,0,0,.7), 0 0 60px rgba(224,160,64,.07); }
.phone video, .phone img { border-radius: 29px; aspect-ratio: 1320 / 2868; width: 100%; object-fit: cover; background: #000; }
.phone figcaption { position: absolute; left: 0; right: 0; bottom: -2.2rem; text-align: center; font-size: .95rem; color: var(--muted); font-style: italic; }
.districts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 2rem; }
.district { position: relative; margin: 0; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 4 / 3; }
.district img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.district figcaption { position: absolute; inset: auto 0 0; padding: 2.2rem .8rem .7rem;
  background: linear-gradient(180deg, transparent, rgba(14,13,12,.92)); }
.district strong { display: block; font-family: var(--caps); font-weight: 400; color: var(--gaslight); letter-spacing: .08em; font-size: 1.12rem; }
.district span { font-size: .92rem; color: var(--muted); line-height: 1.35; display: block; }
.rules { list-style: none; padding: 0; margin: 0; }
.rules li { padding: .9rem 0 .9rem 2.2rem; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); }
.rules li strong { color: var(--ivory); font-weight: 600; }
.rules li::before { content: ''; position: absolute; left: 0; top: 1.15rem; width: 1.1rem; height: 1.1rem;
  background: center / contain no-repeat; }
.rules .clue::before { background-image: url('/img/glyph-clue.webp'); }
.rules .secret::before { background-image: url('/img/glyph-secret.webp'); }
.rules .dread::before { background-image: url('/img/glyph-dread.webp'); }
.rules .transform::before { background-image: url('/img/glyph-transform.webp'); }
.rules .influence::before { background-image: url('/img/glyph-influence.webp'); }
@media (max-width: 860px) {
  .night-grid { grid-template-columns: 1fr; }
  .night-grid .phone { width: min(280px, 72vw); margin-inline: auto; margin-bottom: 2.6rem; }
}
@media (max-width: 520px) { .district span { display: none; } .district { aspect-ratio: 3 / 4; } }
@media (max-width: 600px) { .fan img { width: 25%; margin-inline: -2.4%; } }

/* The stories: three Acts, nine chapters. */
.act { position: relative; padding: clamp(64px, 9vw, 110px) 0; background: var(--soot) center / cover no-repeat; border-top: 1px solid var(--line); isolation: isolate; }
.act::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,13,12,.95) 0%, rgba(14,13,12,.82) 42%, rgba(14,13,12,.4) 100%); }
.act-1 { background-image: url('/img/act-1.webp'); }
.act-2 { background-image: url('/img/act-2.webp'); }
.act-3 { background-image: url('/img/act-3.webp'); }
.act .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.act h3 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.act .books { font-style: italic; color: var(--gaslight); margin-bottom: .8rem; font-size: 1.12rem; }
.act p { color: var(--muted); }
.act .count { font-family: var(--caps); color: var(--brass); letter-spacing: .1em; font-size: 1rem; }
.chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); list-style: none; padding: 0; margin: 0; }
.chapters li { position: relative; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 2 / 3; box-shadow: 0 14px 30px rgba(0,0,0,.55); }
.chapters img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.chapters li:hover img { transform: scale(1.04); }
.chapters .cap { position: absolute; inset: auto 0 0; padding: 2.6rem .7rem .7rem; background: linear-gradient(180deg, transparent, rgba(14,13,12,.95)); line-height: 1.25; }
.chapters .cap small { display: block; font-family: var(--caps); color: var(--gaslight); letter-spacing: .1em; font-size: .78rem; }
.chapters .cap span { font-family: var(--display); font-size: 1.08rem; }
@media (max-width: 860px) {
  .act .wrap { grid-template-columns: 1fr; }
  .act::before { background: rgba(14,13,12,.84); }
}

/* Leaders */
.leaders { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: 3rem; }
.leader { margin: 0; text-align: center; }
.leader .portrait { position: relative; border-radius: 999px 999px 4px 4px; overflow: hidden; border: 1px solid var(--brass);
  aspect-ratio: 2 / 3; box-shadow: 0 0 0 4px rgba(154,123,69,.12), 0 16px 34px rgba(0,0,0,.6); }
.leader img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .6s ease; }
.leader:hover img { transform: scale(1.05); }
.leader figcaption { margin-top: .8rem; line-height: 1.25; }
.leader b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.18rem; }
.leader i { display: block; color: var(--muted); font-size: .95rem; }
.leader .domains { display: block; font-family: var(--caps); color: var(--gaslight); font-size: .78rem; letter-spacing: .1em; margin-top: .25rem; }
@media (max-width: 900px) { .leaders { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote { max-width: 780px; margin: 4rem auto 0; text-align: center; font-family: var(--display); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.35; color: var(--ivory); }
.quote cite { display: block; margin-top: .8rem; font-family: var(--caps); font-style: normal; font-size: 1rem; color: var(--gaslight); letter-spacing: .1em; }

/* Learn from the Count */
.count-lessons { background: radial-gradient(60% 80% at 75% 50%, rgba(94,26,29,.35), transparent 70%), var(--soot);
  border-block: 1px solid var(--line); overflow: hidden; }
.count-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.count-grid h2 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
.count-grid p { color: var(--muted); }
.count-grid .lines { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.count-grid .lines li { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--ivory); padding: .5rem 0 .5rem 1.6rem; position: relative; }
.count-grid .lines li::before { content: '❧'; position: absolute; left: 0; color: var(--oxblood); filter: brightness(1.8); font-style: normal; }
.count-figure { position: relative; margin: 0; }
.count-figure img { width: min(100%, 460px); margin-inline: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.8)); }
.count-figure::before { content: ''; position: absolute; inset: 10% 8% 0; background: radial-gradient(closest-side, rgba(224,160,64,.18), transparent); z-index: -1; }
@media (max-width: 860px) { .count-grid { grid-template-columns: 1fr; } .count-figure img { width: min(78vw, 360px); } }

/* Packs and the Archive */
.packs-sec { background: linear-gradient(180deg, var(--soot), #141109 50%, var(--soot)); }
.pack-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: 3rem; }
.pack-rack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); }
.pack-rack figure { margin: 0; text-align: center; }
.pack-rack img { filter: drop-shadow(0 12px 18px rgba(0,0,0,.7)); transition: transform .35s ease; }
.pack-rack figure:nth-child(odd) img { transform: rotate(-2deg); }
.pack-rack figure:nth-child(even) img { transform: rotate(2deg) translateY(6px); }
.pack-rack figure:hover img { transform: translateY(-8px); }
.pack-rack figcaption { font-size: .86rem; color: var(--muted); margin-top: .55rem; line-height: 1.25; }
.pack-points { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.pack-points li { border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-size: 1.05rem; }
.pack-points strong { display: block; font-family: var(--display); font-weight: 400; color: var(--gaslight); font-size: 1.3rem; margin-bottom: .2rem; }
@media (max-width: 900px) {
  .pack-grid { grid-template-columns: 1fr; }
  .pack-grid .phone { width: min(280px, 72vw); margin-inline: auto; order: -1; margin-bottom: 2.6rem; }
  .pack-points { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .pack-rack { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* The cards */
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); margin-top: 3rem; }
.cards img { filter: drop-shadow(0 10px 20px rgba(0,0,0,.65)); transition: transform .3s ease; }
.cards img:hover { transform: translateY(-8px) scale(1.03); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.domains-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2rem; margin: 2.4rem 0 0; padding: 0; list-style: none; }
.domains-row li { display: flex; align-items: center; gap: .5rem; font-family: var(--caps); letter-spacing: .08em; }
.domains-row img { width: 26px; height: 26px; }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: 3rem; }
.screens .phone { padding: 6px; border-radius: 26px; }
.screens .phone img { border-radius: 21px; }
.screens figcaption { position: static; margin-top: .8rem; }
@media (max-width: 900px) {
  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 3rem;
    margin-inline: calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter); }
  .screens .phone { flex: 0 0 min(56vw, 230px); scroll-snap-align: start; }
}

/* Fair by design */
.fair { background: var(--charcoal) url('/img/card-back.webp') center / 340px repeat; position: relative; isolation: isolate; border-block: 1px solid var(--line); }
.fair::before { content: ''; position: absolute; inset: 0; background: rgba(14,13,12,.9); z-index: -1; }
.fair .emblem { width: 110px; margin: 0 auto 1rem; }
.fair ul { list-style: none; padding: 0; margin: 2.2rem auto 0; max-width: 680px; text-align: left; }
.fair li { padding: .95rem 0 .95rem 2.1rem; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); }
.fair li strong { color: var(--ivory); font-weight: 600; }
.fair li::before { content: '✦'; color: var(--gaslight); position: absolute; left: 0; top: 1rem; font-size: .9rem; }

/* Closing */
.closing { text-align: center; background: radial-gradient(50% 70% at 50% 100%, rgba(224,160,64,.12), transparent 70%), var(--soot); }
.closing .logo-line { width: min(86vw, 560px); margin: 0 auto 1.6rem; }
.closing p { color: var(--muted); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 44px 0 60px; font-size: 1rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--gaslight); }
.site-foot .fine { flex-basis: 100%; font-size: .9rem; color: #8a8273; margin: .6rem 0 0; }

/* Prose pages */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(30px, 5vw, 50px); border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 120% at 85% 0%, rgba(224,160,64,.1), transparent 60%); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.4rem); }
.page-hero .lead { font-size: 1.25rem; color: var(--muted); max-width: 700px; }
.prose { padding-block: clamp(40px, 6vw, 72px); }
.prose h2 { font-size: 1.7rem; color: var(--gaslight); margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ivory); font-weight: 600; }
.prose li { margin-bottom: .7rem; }
.prose ul { padding-left: 1.2rem; }
.fact-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; }
.fact-table th, .fact-table td { text-align: left; vertical-align: top; padding: .65rem .8rem .65rem 0; border-bottom: 1px solid var(--line); }
.fact-table th { color: var(--gaslight); font-weight: 400; width: 32%; font-family: var(--caps); letter-spacing: .06em; }
.fact-table td { color: var(--muted); }
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 18px; margin-top: 1rem; }
.downloads a { display: block; border: 1px solid var(--line); padding: 10px; text-decoration: none; font-size: .98rem; }
.downloads img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #090807; margin-bottom: .5rem; }

/* The 404: a lamp gone out. */
.lost { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 60px 0;
  background: radial-gradient(40% 50% at 50% 40%, rgba(22,33,58,.5), transparent 70%), var(--soot); }
.lost .emblem { width: 120px; margin: 0 auto 1.4rem; filter: grayscale(1) brightness(.6); }
.lost h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }

video { display: block; width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-video { display: none; }
}
.still-for-reduced { display: none; }
@media (prefers-reduced-motion: reduce) { .still-for-reduced { display: block; } }
.closing-note { margin-top: 1.4rem; }
