/* ============================================================
   RAVN — Ghost theme stylesheet
   Raven black. Bone text. Feather-sheen accents.
   ============================================================ */

/* ----- Tokens ----- */
:root {
  /* Color */
  --ink: #0C0D10;            /* raven black, slightly blue */
  --ink-raise: #13151A;      /* cards */
  --ink-raise-2: #191C23;    /* card hover */
  --bone: #E8E6E0;           /* primary text */
  --ash: #8B8E96;            /* secondary text */
  --ash-dim: #5A5D66;        /* muted */
  --hairline: #20232B;       /* borders */

  /* Feather sheen — the accent system */
  --violet: #6B5BA8;
  --petrol: #3D7EA6;
  --teal: #46A28C;
  --sheen: linear-gradient(110deg, var(--violet) 0%, var(--petrol) 38%, var(--teal) 70%, var(--violet) 100%);

  /* Verdicts */
  --carrion: #A6452F;        /* dried blood */

  /* Type */
  --display: 'Syne', sans-serif;
  --body: 'Familjen Grotesk', sans-serif;
  --mono: 'Spline Sans Mono', monospace;

  /* Derived */
  --hairline-strong: #2B2F3A;
  --nav-veil: rgba(12, 13, 16, 0.92);
  --prose-ink: #CFCDC7;
  color-scheme: dark;

  /* Layout */
  --measure: 680px;          /* reading column */
  --frame: 1080px;           /* page frame */
}

/* ----- Light theme: parchment ----- */
:root[data-theme="light"] {
  --ink: #F4EEE1;            /* parchment */
  --ink-raise: #FBF7EC;      /* fresh paper on parchment */
  --ink-raise-2: #FFFCF3;
  --bone: #211D14;           /* warm ink */
  --ash: #6B6452;
  --ash-dim: #9A9279;
  --hairline: #DFD5C0;

  /* Sheen deepened for contrast on cream */
  --violet: #54439A;
  --petrol: #2A6388;
  --teal: #2C7A64;
  --sheen: linear-gradient(110deg, var(--violet) 0%, var(--petrol) 38%, var(--teal) 70%, var(--violet) 100%);

  --carrion: #9C3A24;

  --hairline-strong: #C9BCA0;
  --nav-veil: rgba(244, 238, 225, 0.92);
  --prose-ink: #3A352A;
  color-scheme: light;
}

/* System preference fallback (no stored choice, JS unavailable) */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --ink: #F4EEE1;
    --ink-raise: #FBF7EC;
    --ink-raise-2: #FFFCF3;
    --bone: #211D14;
    --ash: #6B6452;
    --ash-dim: #9A9279;
    --hairline: #DFD5C0;
    --violet: #54439A;
    --petrol: #2A6388;
    --teal: #2C7A64;
    --sheen: linear-gradient(110deg, var(--violet) 0%, var(--petrol) 38%, var(--teal) 70%, var(--violet) 100%);
    --carrion: #9C3A24;
    --hairline-strong: #C9BCA0;
    --nav-veil: rgba(244, 238, 225, 0.92);
    --prose-ink: #3A352A;
    color-scheme: light;
  }
}

/* ----- Reset ----- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--violet); color: #F5F3EE; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ----- Mono label utility ----- */
.mono-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ash);
}

/* ----- Sheen utilities ----- */
.sheen-text {
  background: var(--sheen);
  background-size: 300% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sheen-rule {
  height: 1px;
  border: 0;
  background: var(--sheen);
  background-size: 300% 100%;
  opacity: 0.7;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes sheen-sweep {
    from { background-position: 0% 50%; }
    to   { background-position: 300% 50%; }
  }
}

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  background: var(--nav-veil);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.site-nav-inner {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
}

.site-logo-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.22em;
  color: var(--bone);
}

.site-logo-runes {
  font-size: 0.75rem;
  color: var(--ash-dim);
  letter-spacing: 0.25em;
  transition: color 0.3s;
}

.site-logo:hover .site-logo-runes {
  background: var(--sheen);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .site-logo:hover .site-logo-runes { animation: sheen-sweep 2.5s linear infinite; }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--ash);
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--bone); }

/* Search button */
.nav-search-btn {
  background: none;
  border: 1px solid var(--hairline);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ash);
  transition: border-color 0.15s, color 0.15s;
}

.nav-search-btn:hover { border-color: var(--ash); color: var(--bone); }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ash);
  transition: border-color 0.15s, color 0.15s;
}

.nav-hamburger:hover { border-color: var(--ash); color: var(--bone); }

.nav-hamburger .bars { display: flex; flex-direction: column; gap: 4px; }

.nav-hamburger .bar {
  display: block;
  width: 15px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-hamburger.open .bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-hamburger.open .bar:nth-child(2) { opacity: 0; }
.nav-hamburger.open .bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--hairline);
  padding: 1.25rem 2rem 1.75rem;
}

.mobile-menu.open { display: block; }

.mobile-menu ul { list-style: none; }

.mobile-menu li + li { margin-top: 0.25rem; }

.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--ash);
}

.mobile-menu a:hover { color: var(--bone); }

/* ============================================================
   Verdict chips — the signature
   ============================================================ */
.verdict {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.4em 0.85em;
  border: 1px solid var(--hairline);
  background: var(--ink);
  white-space: nowrap;
}

.verdict::before {
  content: '';
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Valhalla — the rare one. Iridescent. */
.verdict--must-play {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--ink), var(--ink)) padding-box,
    var(--sheen) border-box;
  background-size: 100% 100%, 300% 100%;
}

.verdict--must-play span {
  background: var(--sheen);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.verdict--must-play::before { background: var(--sheen); background-size: 300% 100%; }

@media (prefers-reduced-motion: no-preference) {
  a:hover .verdict--must-play,
  a:hover .verdict--must-play span,
  a:hover .verdict--must-play::before {
    animation: sheen-sweep 2.5s linear infinite;
  }
}

.verdict--good { color: var(--petrol); border-color: color-mix(in srgb, var(--petrol) 45%, transparent); }
.verdict--good::before { background: var(--petrol); }

.verdict--sale { color: var(--ash); }
.verdict--sale::before { background: var(--ash-dim); }

.verdict--dont-bother { color: var(--carrion); border-color: color-mix(in srgb, var(--carrion) 45%, transparent); }
.verdict--dont-bother::before { background: var(--carrion); }

/* ============================================================
   Homepage — lead review
   ============================================================ */
.frame {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 2rem;
}

.lead {
  padding: 3.5rem 0 3rem;
}

.lead-eyebrow {
  margin-bottom: 1.5rem;
}

.lead-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  text-decoration: none;
  border: 1px solid var(--hairline);
  background: var(--ink-raise);
  transition: background 0.2s, border-color 0.2s;
}

.lead-card:hover { background: var(--ink-raise-2); border-color: var(--hairline-strong); }

.lead-card-image {
  overflow: hidden;
  min-height: 320px;
}

.lead-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .lead-card:hover .lead-card-image img { transform: scale(1.025); }
}

.lead-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  align-items: flex-start;
}

.lead-card-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--bone);
}

.lead-card-excerpt {
  font-size: 1rem;
  color: var(--ash);
  line-height: 1.65;
}

.lead-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ----- Section headers ----- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head-link {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ash);
  text-decoration: none;
}

.section-head-link:hover { color: var(--bone); }

/* ============================================================
   Review grid + cards
   ============================================================ */
.review-section {
  padding: 0 0 4rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--hairline);
  background: var(--ink-raise);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.review-card:hover {
  background: var(--ink-raise-2);
  border-color: var(--hairline-strong);
}

@media (prefers-reduced-motion: no-preference) {
  .review-card:hover { transform: translateY(-2px); }
}

.review-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-raise-2);
}

.review-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card-image .verdict {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
}

.review-card-noimage {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

.review-card-noimage span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ash-dim);
  text-align: center;
}

.review-card-body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.review-card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--bone);
}

.review-card-excerpt {
  font-size: 0.875rem;
  color: var(--ash);
  line-height: 1.55;
}

.review-card-meta {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ash-dim);
}

/* ----- Notes list (non-review posts) ----- */
.notes-section { padding: 0 0 4.5rem; }

.notes-list {
  border-top: 1px solid var(--hairline);
}

.note-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.1rem 0.25rem;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  transition: background 0.15s;
}

.note-row:hover { background: var(--ink-raise); }

.note-row time {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ash-dim);
}

.note-row-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--bone);
}

.note-row-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ash);
}

/* ============================================================
   Review page
   ============================================================ */
.review-hero {
  border-bottom: 1px solid var(--hairline);
}

.review-hero-inner {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 3.5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.review-hero-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.review-hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--bone);
}

.review-hero-tldr {
  font-size: 1.05rem;
  color: var(--ash);
  line-height: 1.65;
}

.review-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.review-hero-cover {
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.review-hero-cover img { width: 100%; }

/* ----- Reading column ----- */
.prose {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.prose > * + * { margin-top: 1.4em; }

.prose p { font-size: 1.05rem; line-height: 1.75; color: var(--prose-ink); }

.prose h2, .prose h3 {
  font-family: var(--display);
  color: var(--bone);
  line-height: 1.2;
  margin-top: 2.2em;
}

.prose h2 { font-size: 1.5rem; font-weight: 700; }
.prose h3 { font-size: 1.15rem; font-weight: 700; }

.prose a {
  color: var(--bone);
  text-decoration: underline;
  text-decoration-color: var(--petrol);
  text-underline-offset: 3px;
}

.prose a:hover { text-decoration-color: var(--teal); }

.prose strong { color: var(--bone); }

.prose ul, .prose ol { padding-left: 1.4rem; color: var(--prose-ink); }

.prose li + li { margin-top: 0.4em; }

.prose blockquote {
  border-left: 2px solid;
  border-image: var(--sheen) 1;
  padding: 0.25rem 0 0.25rem 1.4rem;
  color: var(--ash);
  font-style: italic;
}

.prose hr {
  border: 0;
  height: 1px;
  background: var(--hairline);
  margin: 2.5em 0;
}

.prose img { border: 1px solid var(--hairline); }

.prose figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ash-dim);
  text-align: center;
  margin-top: 0.6rem;
}

.prose pre {
  background: var(--ink-raise);
  border: 1px solid var(--hairline);
  padding: 1.25rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.875em;
  background: var(--ink-raise);
  padding: 0.15em 0.4em;
}

.prose pre code { background: none; padding: 0; }

/* ----- Koenig editor cards ----- */
.kg-width-wide { max-width: calc(var(--measure) + 200px); margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }

.kg-card { margin: 1.4em 0; }

.kg-image-card img { margin: 0 auto; }

.kg-gallery-container { display: flex; flex-direction: column; gap: 0.5rem; }
.kg-gallery-row { display: flex; gap: 0.5rem; }
.kg-gallery-image img { height: 100%; object-fit: cover; }

.kg-embed-card iframe { max-width: 100%; }

.kg-bookmark-card a { text-decoration: none; }
.kg-bookmark-container {
  display: flex;
  border: 1px solid var(--hairline);
  background: var(--ink-raise);
}
.kg-bookmark-content { padding: 1rem 1.25rem; min-width: 0; }
.kg-bookmark-title { color: var(--bone); font-weight: 600; font-size: 0.95rem; }
.kg-bookmark-description {
  color: var(--ash);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ash-dim);
}
.kg-bookmark-icon { width: 16px; height: 16px; }
.kg-bookmark-thumbnail { flex: 0 0 180px; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.kg-bookmark-author, .kg-bookmark-publisher { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.kg-button-card { display: flex; justify-content: center; }
.kg-btn, .kg-button-card a {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.7em 1.4em;
  border: 1px solid var(--bone);
  color: var(--bone);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.kg-btn:hover, .kg-button-card a:hover { background: var(--bone); color: var(--ink); }

.kg-callout-card {
  display: flex;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--ink-raise);
  border-left: 2px solid;
  border-image: var(--sheen) 1;
}
.kg-callout-text { color: var(--prose-ink); font-size: 0.95rem; }

.kg-toggle-card {
  border: 1px solid var(--hairline);
  padding: 1rem 1.25rem;
}
.kg-toggle-heading { color: var(--bone); font-weight: 600; }

/* ============================================================
   At-a-glance block (review facts snippet)
   ============================================================ */
.glance {
  border: 1px solid var(--hairline);
  background: var(--ink-raise);
  padding: 1.5rem;
}

.glance-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.glance-store {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bone);
  text-decoration: none;
  border: 1px solid var(--hairline);
  padding: 0.5em 0.9em;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: border-color 0.15s;
}

.glance-store:hover { border-color: var(--ash); }

.glance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 2rem;
}

.glance-item { display: flex; flex-direction: column; gap: 0.15rem; }

.glance-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ash-dim);
}

.glance-value { font-size: 0.95rem; color: var(--bone); font-weight: 500; }

.glance-sub { font-size: 0.8rem; color: var(--ash); }

/* ============================================================
   Article (non-review) page
   ============================================================ */
.article-head {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3.5rem 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}

.article-head-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.article-head-meta a { text-decoration: none; color: var(--ash); }
.article-head-meta a:hover { color: var(--bone); }

.article-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.1;
  color: var(--bone);
}

.article-excerpt {
  font-size: 1.05rem;
  color: var(--ash);
  line-height: 1.65;
}

.article-feature {
  max-width: var(--frame);
  margin: 2.5rem auto 0;
  padding: 0 2rem;
}

.article-feature img {
  width: 100%;
  border: 1px solid var(--hairline);
}

.article-feature figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ash-dim);
  text-align: center;
  margin-top: 0.6rem;
}

/* ----- Related / more sections ----- */
.more-section {
  border-top: 1px solid var(--hairline);
}

.more-section-inner {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.more-section-inner .section-head { margin-bottom: 1.5rem; }

/* ============================================================
   Tag page
   ============================================================ */
.tag-head {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 3.5rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.tag-head h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  color: var(--bone);
}

.tag-head p { color: var(--ash); max-width: 56ch; }

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
}

.pagination a {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ash);
  text-decoration: none;
}

.pagination a:hover { color: var(--bone); }

.pagination-info {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ash-dim);
}

/* ============================================================
   Pages (about, etc.)
   ============================================================ */
.page-head {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3.5rem 2rem 0;
}

.page-head h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--bone);
  line-height: 1.1;
}

/* ============================================================
   Error page
   ============================================================ */
.error-page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}

.error-page h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--bone);
  margin: 1rem 0;
}

.error-page p { color: var(--ash); }

.error-page a { color: var(--bone); text-decoration: underline; text-decoration-color: var(--petrol); text-underline-offset: 3px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--hairline);
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 3.5rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

.footer-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  color: var(--bone);
  text-decoration: none;
}

.footer-runes {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  background: var(--sheen);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
}

.footer-tagline {
  color: var(--ash);
  font-size: 0.9rem;
  max-width: 36ch;
}

.footer-newsletter p {
  color: var(--ash-dim);
  font-size: 0.825rem;
  margin-bottom: 0.75rem;
}

.newsletter-form { display: flex; }

.newsletter-input {
  background: var(--ink-raise);
  border: 1px solid var(--hairline);
  border-right: 0;
  color: var(--bone);
  font-family: var(--body);
  font-size: 0.875rem;
  padding: 0.6rem 0.9rem;
  width: 220px;
  max-width: 100%;
}

.newsletter-input::placeholder { color: var(--ash-dim); }

.newsletter-input:focus { outline: none; border-color: var(--ash); }

.newsletter-btn {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--bone);
  color: var(--ink);
  border: 1px solid var(--bone);
  padding: 0 1.1rem;
  cursor: pointer;
  transition: opacity 0.15s;
}

.newsletter-btn:hover { opacity: 0.85; }

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ash-dim);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li + li { margin-top: 0.45rem; }

.footer-col a {
  color: var(--ash);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--bone); }

.footer-bottom {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ash-dim);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .review-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .review-hero-cover { order: -1; max-width: 480px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-links, .site-nav .nav-search-btn { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu.open { display: block; }

  .lead-card { grid-template-columns: 1fr; }
  .lead-card-image { min-height: 0; aspect-ratio: 16 / 9; }
  .lead-card-body { padding: 1.75rem; }
}

@media (max-width: 600px) {
  .frame, .site-nav-inner, .prose, .article-head, .article-feature,
  .tag-head, .page-head, .footer-inner, .footer-bottom,
  .review-hero-inner, .more-section-inner { padding-left: 1.25rem; padding-right: 1.25rem; }

  .review-grid { grid-template-columns: 1fr; }

  .note-row { grid-template-columns: 1fr; gap: 0.25rem; padding: 1rem 0.25rem; }
  .note-row-tag { display: none; }

  .glance-grid { grid-template-columns: 1fr; }
}

/* Homepage spacing */
.review-section--home { padding-top: 3rem; }
.lead .lead-eyebrow { margin-bottom: 1.5rem; }

/* Lead card without a feature image collapses to one column */
.lead-card:not(:has(.lead-card-image)) { grid-template-columns: 1fr; }

/* ----- Theme toggle ----- */
.nav-theme-btn {
  background: none;
  border: 1px solid var(--hairline);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ash);
  transition: border-color 0.15s, color 0.15s;
}

.nav-theme-btn:hover { border-color: var(--ash); color: var(--bone); }

/* Show the mode you'd switch to */
.nav-theme-btn .icon-moon { display: none; }
:root[data-theme="light"] .nav-theme-btn .icon-sun { display: none; }
:root[data-theme="light"] .nav-theme-btn .icon-moon { display: block; }
