:root {
  --bg: #0b090c;
  --bg-2: #120e12;
  --surface: #17121a;
  --surface-2: #1f1822;
  --line: rgba(255, 214, 170, 0.12);
  --text: #efe7dc;
  --muted: #a99d91;
  --ember: #ff6f32;
  --ember-2: #ffb14a;
  --gold: #f2c46b;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1160px;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 111, 50, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(120, 40, 90, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

img,
iframe {
  display: block;
  max-width: 100%;
}

svg.icon,
svg.logo {
  display: inline-block;
  flex: none;
  vertical-align: -0.15em;
  overflow: visible;
}

img {
  height: auto;
}

a {
  color: var(--ember-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #ffd08a;
}

:focus-visible {
  outline: 2px solid var(--ember-2);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  padding: 0.5rem 0.9rem;
  background: var(--ember);
  color: #1a0b05;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 9, 12, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.brand:hover {
  color: var(--text);
}

.brand svg {
  width: 34px;
  height: 34px;
  transition: transform 0.4s ease;
}

.brand:hover svg {
  transform: rotate(-12deg) scale(1.05);
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.site-nav a[aria-current="page"] {
  color: #1a0b05;
  background: linear-gradient(135deg, var(--ember-2), var(--ember));
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11, 9, 12, 0.94) 0%, rgba(11, 9, 12, 0.7) 45%, rgba(11, 9, 12, 0.1) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background: #000;
}

.hero-inner {
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4.5rem, 10vw, 8.5rem);
  max-width: 620px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-2);
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 111, 50, 0.18), 0 0 14px var(--ember);
}

.hero h1 {
  font-size: clamp(2.3rem, 1.4rem + 4vw, 4.2rem);
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.lead {
  font-size: 1.15rem;
  color: #d8cdc0;
  max-width: 54ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #1a0b05;
  background: linear-gradient(135deg, var(--ember-2), var(--ember));
  box-shadow: 0 10px 30px -10px rgba(255, 111, 50, 0.7);
}

.btn-primary:hover {
  color: #1a0b05;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(255, 111, 50, 0.85);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.ticker ul {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticker strong {
  color: var(--text);
  font-weight: 600;
}

main {
  flex: 1;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 52ch;
}

.shelf {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border: 0;
  margin: 0;
  padding: 0;
}

.shelf legend {
  padding: 0;
}

.shelf input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.shelf label {
  cursor: pointer;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.shelf label:hover {
  color: var(--text);
  border-color: rgba(255, 214, 170, 0.3);
}

.shelf input:checked + label {
  color: #1a0b05;
  background: var(--gold);
  border-color: var(--gold);
}

.shelf input:focus-visible + label {
  outline: 2px solid var(--ember-2);
  outline-offset: 2px;
}

.shelf label span {
  opacity: 0.7;
  font-size: 0.8em;
  margin-left: 0.25em;
}

.catalogue:has(#f-film:checked) .card:not([data-kind="film"]),
.catalogue:has(#f-series:checked) .card:not([data-kind="series"]),
.catalogue:has(#f-game:checked) .card:not([data-kind="game"]),
.catalogue:has(#f-animation:checked) .card:not([data-kind="animation"]) {
  display: none;
}

.catalogue:has(.shelf input:not(#f-all):checked) .card.is-featured {
  grid-column: auto;
  flex-direction: column;
}

.catalogue:has(.shelf input:not(#f-all):checked) .card.is-featured .card-poster {
  flex: none;
}

.catalogue:has(.shelf input:not(#f-all):checked) .card.is-featured .card-excerpt {
  display: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 177, 74, 0.45);
}

.card-poster {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #2a0f0a, #0b090c);
}

.card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-poster img {
  transform: scale(1.045);
}

.card-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55)),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(11, 9, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

.card:hover .play,
.card:focus-within .play {
  opacity: 1;
  transform: scale(1);
}

.badge {
  position: absolute;
  z-index: 2;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.badge-time {
  right: 0.6rem;
  bottom: 0.6rem;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
}

.badge-kind {
  left: 0.6rem;
  top: 0.6rem;
  background: rgba(11, 9, 12, 0.7);
  color: var(--gold);
  border: 1px solid rgba(242, 196, 107, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
}

.badge-new {
  right: 0.6rem;
  top: 0.6rem;
  background: var(--ember);
  color: #1a0b05;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.05rem 1.15rem 1.15rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
}

.card h3 a {
  color: var(--text);
  text-decoration: none;
}

.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.card h3 a:hover {
  color: var(--text);
}

.card-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 0.9rem;
}

.card-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 0.75rem;
}

.flames {
  display: inline-flex;
  gap: 2px;
}

.flames svg {
  width: 13px;
  height: 13px;
}

.flames .off {
  opacity: 0.22;
}

.card-excerpt {
  display: none;
}

.card-cta {
  justify-content: center;
  background:
    radial-gradient(360px 200px at 100% 0%, rgba(255, 111, 50, 0.16), transparent 70%),
    var(--surface);
  border-style: dashed;
}

.card-cta .card-body {
  justify-content: center;
  padding: 1.75rem;
}

.card-cta h3 {
  font-size: 1.45rem;
}

.card-cta p:last-child {
  margin: 0.5rem 0 0;
}

.catalogue:has(.shelf input:not(#f-all):checked) .card-cta {
  display: none;
}

@media (min-width: 760px) {
  .card.is-featured {
    grid-column: 1 / -1;
  }
  .card.is-featured h3 {
    font-size: 1.6rem;
  }
}

@media (min-width: 960px) {
  .card.is-featured {
    flex-direction: row;
  }
  .card.is-featured .card-poster {
    flex: 0 0 62%;
  }
  .card.is-featured .card-body {
    padding: 2rem 2rem 1.6rem;
  }
  .card.is-featured .card-note {
    font-size: 1.08rem;
    color: var(--text);
  }
  .card.is-featured .card-excerpt {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0 0 1rem;
  }
}

.projector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background:
    radial-gradient(500px 240px at 0% 0%, rgba(255, 177, 74, 0.12), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
}

.projector blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem);
  line-height: 1.4;
  font-style: italic;
}

.projector cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.scale {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.scale li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 0.75rem;
  align-items: center;
  color: var(--muted);
}

.scale-title {
  font-size: 1rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

@media (min-width: 860px) {
  .projector {
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
  }
}

.crumbs {
  padding-top: 1.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  opacity: 0.5;
}

.crumbs a {
  color: var(--muted);
}

.video-head {
  padding: 1.25rem 0 1.5rem;
}

.video-head h1 {
  max-width: 24ch;
  text-wrap: balance;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}

.meta-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.screen {
  position: relative;
  padding: clamp(0.4rem, 1.2vw, 0.9rem);
  background: #000;
  border-radius: calc(var(--radius) + 4px);
  box-shadow:
    0 0 0 1px var(--line),
    0 30px 80px -30px rgba(255, 111, 50, 0.45),
    0 40px 60px -40px rgba(0, 0, 0, 0.9);
}

.screen-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.screen-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.screen-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.screen-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin: 0.9rem 0.25rem 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0 1rem;
}

@media (min-width: 900px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 4rem;
  }
}

.notes p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.4em;
  line-height: 0.85;
  padding: 0.08em 0.12em 0 0;
  color: var(--ember-2);
}

.notes p {
  max-width: 68ch;
}

.watch-for {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  counter-reset: wf;
}

.watch-for li {
  position: relative;
  padding: 0.75rem 1rem 0.75rem 3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  counter-increment: wf;
}

.watch-for li::before {
  content: counter(wf, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ember-2);
}

.fact-card {
  align-self: start;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fact-poster {
  margin: 0 0 1.3rem;
}

.fact-poster img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.fact-poster figcaption {
  margin-top: 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.stills {
  margin: 2rem 0 2.25rem;
}

.stills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stills figure {
  margin: 0;
}

.stills img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.9);
}

.stills figcaption {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

@media (max-width: 560px) {
  .stills-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stills figure:first-child {
    grid-column: 1 / -1;
  }
}

.fact-card h2 {
  font-size: 1.1rem;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.fact-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 1rem;
  font-size: 0.93rem;
}

.fact-card dt {
  color: var(--muted);
}

.fact-card dd {
  margin: 0;
  text-align: right;
}

.fact-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.4rem;
}

.pager {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .pager {
    grid-template-columns: 1fr 1fr;
  }
  .pager .next {
    text-align: right;
    grid-column: 2;
  }
}

.pager a {
  display: block;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--text);
  text-decoration: none;
}

.pager a:hover {
  border-color: rgba(255, 177, 74, 0.45);
}

.pager small {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-head {
  padding: clamp(3rem, 7vw, 5rem) 0 1rem;
}

.page-head .lead {
  max-width: 60ch;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
  }
}

.prose p {
  max-width: 64ch;
}

.framed {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.framed img {
  width: 100%;
}

.framed figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--surface);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(var(--ember), rgba(255, 111, 50, 0));
}

.timeline li {
  position: relative;
  padding: 0 0 1.6rem 2.2rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--ember);
}

.timeline .year {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--ember-2);
}

.timeline h3 {
  margin: 0.15rem 0 0.3rem;
}

.timeline p {
  color: var(--muted);
  margin: 0;
}

.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rules li {
  padding: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rules h3 {
  font-size: 1.05rem;
}

.rules p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.letter {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(255, 111, 50, 0.14), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
}

.mail {
  display: inline-block;
  margin: 0.25rem 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2.1rem);
  font-weight: 700;
  word-break: break-word;
}

.topics {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topics a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--text);
  text-decoration: none;
}

.topics a:hover {
  border-color: rgba(255, 177, 74, 0.45);
}

.topics small {
  color: var(--muted);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px dashed rgba(255, 214, 170, 0.25);
  color: var(--muted);
  font-size: 0.92rem;
  cursor: default;
}

.socials svg {
  width: 16px;
  height: 16px;
}

.socials em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember-2);
}

.note {
  color: var(--muted);
  font-size: 0.93rem;
}

.lost {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

@media (min-width: 860px) {
  .lost {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.lost .code {
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--ember-2);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: grid;
  gap: 1.5rem;
  padding: 2.25rem 0;
}

@media (min-width: 760px) {
  .site-footer .wrap {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 760px) {
  .footer-nav ul {
    justify-content: flex-end;
  }
}

.footer-nav a {
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--text);
}

.fine {
  font-size: 0.8rem;
  opacity: 0.8;
}

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }
  .site-header .wrap {
    padding: 0.5rem 0;
  }
  .site-nav {
    width: 100%;
  }
  .site-nav ul {
    justify-content: space-between;
  }
  .site-nav a {
    padding: 0.4rem 0.7rem;
  }
  .brand small {
    display: none;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(11, 9, 12, 0.6) 0%, rgba(11, 9, 12, 0.92) 70%);
  }
  .fact-card {
    position: static;
  }
}
