:root {
  --bg: #12100e;
  --raise: #1c1814;
  --paper: #f4efe7;
  --ink: #1c1612;
  --cream: #f4efe7;
  --muted: #a89c92;
  --soft: #5e554e;
  --ember: #ff6a1f;
  --gold: #ffb15a;
  --line: rgba(244, 239, 231, 0.14);
  --line-ink: rgba(28, 22, 18, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
h2[id] { scroll-margin-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.paper { background: var(--paper); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ember);
  color: #1a0d06;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(18, 16, 14, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-inner, .wrap, .foot, .read { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font: 700 1.45rem/1 var(--serif);
  letter-spacing: -0.03em;
}
.logo svg { width: 18px; height: 18px; fill: var(--ember); }
nav { display: flex; gap: 26px; }
nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
nav a:hover, nav a[aria-current="page"] { color: var(--cream); }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--cream);
}

.hero {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto 10px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: end;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; letter-spacing: -0.03em; font-weight: 560; }
h1 { margin: 0 0 12px; font-size: clamp(2.6rem, 5vw, 4.6rem); }
h2[id] { scroll-margin-top: 90px; }
.hero h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.3rem); font-weight: 560; }
.hero h1 em { font-style: italic; color: var(--gold); }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: var(--ember);
  color: #1a0d06;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 18px;
}
.btn:hover { background: var(--gold); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--raise); color: var(--cream); }
.hero-media { position: relative; text-decoration: none; }
.hero-media img, .frame img, .card img, .row-img img, .wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.hero-media img { border-radius: 28px 28px 88px 28px; aspect-ratio: 16 / 11; }
.cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(18, 16, 14, 0.78);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
}

.band { padding: 54px 0 10px; }
.band-head, .sec-h {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
}
.band h2, .sec-h h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.more { color: var(--gold); text-decoration: none; font-weight: 600; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

.feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}
.feature img { aspect-ratio: 16 / 11; width: 100%; object-fit: cover; }
.feature div { padding: 8px 32px 28px 4px; }
.feature h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.feature h2 a, .card h3 a, .row h3 a { text-decoration: none; }
.feature h2 a:hover, .card h3 a:hover, .row h3 a:hover { color: var(--gold); }
.feature p, .card p, .row p { color: var(--muted); }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card, .row, .note, .verdict, .panel {
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.card { overflow: hidden; }
.card-body, .row, .note, .panel { padding: 18px 18px 20px; }
.card h3, .row h3 { margin: 8px 0; font-size: 1.45rem; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 0.92rem; }
.tag {
  display: inline-block;
  border: 1px solid rgba(255, 106, 31, 0.45);
  color: var(--gold);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sparks { display: inline-flex; gap: 4px; align-items: center; }
.sparks i {
  width: 11px;
  height: 11px;
  background: var(--ember);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.sparks i.dim { background: #3c342e; }
body.paper .sparks i.dim { background: #d5cdc3; }
body.paper .score { color: #9a3c12; }
.score { margin-left: 8px; color: var(--gold); font-weight: 700; font-size: 0.92rem; }

.rows { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: center; }
.row-img { display: block; }
.row-img img { border-radius: 14px; aspect-ratio: 16 / 10; }

.tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button, .search input, .form input, .form textarea {
  font: 500 1rem var(--sans);
  color: var(--cream);
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
}
.chips button { cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ember); color: #1a0d06; border-color: var(--ember); }
.search { display: grid; gap: 6px; color: var(--muted); font-size: 0.85rem; }
.search input { min-width: min(280px, 100%); }
.empty { color: var(--muted); }

.paper-block { background: var(--paper); color: var(--ink); }
.paper-block .muted, .paper-block p { color: var(--soft); }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: center; }
.split img { border-radius: 24px; aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.paper-block h2 { margin: 0 0 10px; }
.ink-link { color: #9a3c12; font-weight: 700; text-decoration: none; }
.ink-link:hover { text-decoration: underline; }

footer { background: #0e0c0b; color: var(--cream); margin-top: 64px; padding: 42px 0 24px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.foot a { display: block; color: var(--muted); text-decoration: none; margin: 6px 0; }
.foot a:hover { color: var(--cream); }
.foot p { color: var(--muted); }
.legal { width: min(1120px, calc(100% - 40px)); margin: 22px auto 0; color: var(--muted); font-size: 0.88rem; }

.read { padding: 42px 0 20px; }
.read h1 { margin: 0 0 12px; font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 560; }
.deck { font-size: 1.25rem; color: var(--soft); max-width: 42rem; }
.byline { color: var(--soft); }
.frame { margin: 22px 0; }
.frame img { border-radius: 22px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.frame figcaption, .small { color: var(--soft); font-size: 0.9rem; }
.verdict {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 28px;
  align-items: center;
  padding: 18px 20px;
  margin: 8px 0 22px;
  background: #fff;
  border: 1px solid var(--line-ink);
}
.verdict ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.verdict li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line-ink); }
.prose p { font-size: 1.12rem; }
.prose h2 { margin: 1.6em 0 0.4em; font-size: 1.8rem; }
.prose a, .deck a, .small a { color: #9a3c12; }
.next { margin-top: 28px; }
.stack { display: grid; gap: 16px; }

.form { display: grid; gap: 12px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form textarea {
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-ink);
  width: 100%;
}
.form textarea { min-height: 160px; resize: vertical; border-radius: 16px; }
.form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
  background: var(--ember);
  color: #1a0d06;
  font: 700 1rem var(--sans);
  border-radius: 999px;
  padding: 12px 18px;
}

.cookie {
  position: fixed;
  z-index: 40;
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  background: #1c1814;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.cookie a { color: var(--gold); }
.cookie button {
  border: 0;
  background: var(--ember);
  color: #1a0d06;
  font: 700 0.95rem var(--sans);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .burger { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 0;
    background: #1c1814;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px;
  }
  nav.open { display: flex; }
  nav a { padding: 12px; }
  .hero, .feature, .cards, .row, .split, .foot, .verdict { grid-template-columns: 1fr; }
  .feature div { padding: 4px 18px 22px; }
  .hero { margin-top: 18px; }
  .cookie { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
