/* ============================================
   Harman Smith Books
   Professional independent publisher
   ============================================ */

:root {
  --bg: #080a0f;
  --bg-alt: #0e1118;
  --bg-card: #12161f;
  --bg-glass: rgba(14, 17, 24, 0.85);
  --text: #eef0f4;
  --text-muted: #8b93a3;
  --gold: #b8954a;
  --gold-light: #d4b76a;
  --gold-dim: rgba(184, 149, 74, 0.1);
  --gold-glow: rgba(184, 149, 74, 0.22);
  --crimson: #8b2e3d;
  --crimson-dim: rgba(139, 46, 61, 0.12);
  --accent: #3d5a80;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(184, 149, 74, 0.35);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
strong { font-weight: 600; color: var(--text); }

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.text-accent { color: var(--gold-light); font-style: italic; }

/* Ambient background */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.ambient-orb--1 {
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  top: -20%;
  right: -15%;
  background: radial-gradient(circle, rgba(61, 90, 128, 0.12), transparent 70%);
}

.ambient-orb--2 {
  width: 40vw;
  height: 40vw;
  max-width: 480px;
  max-height: 480px;
  bottom: 10%;
  left: -10%;
  background: radial-gradient(circle, rgba(139, 46, 61, 0.1), transparent 70%);
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -30px) scale(1.05); }
}

main, .header, .footer, .ad-wrap { position: relative; z-index: 1; }

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header.scrolled {
  background: rgba(8, 10, 15, 0.92);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
}

.logo-mark--sm {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}

.logo-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-author {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--text);
}

.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  padding: 0.55rem 1.25rem !important;
  background: linear-gradient(135deg, var(--gold), #a88a3a) !important;
  color: var(--bg) !important;
  border-radius: 2px;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  box-shadow: 0 2px 12px var(--gold-dim);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--gold-glow);
}

.nav-cta--patreon {
  background: linear-gradient(135deg, #ff424d, #e03d47) !important;
  box-shadow: 0 2px 12px rgba(255, 66, 77, 0.3) !important;
}

.nav-cta--patreon:hover {
  box-shadow: 0 6px 24px rgba(255, 66, 77, 0.45) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold-light);
  transition: 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 4px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -4px); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #a88a3a 100%);
  color: var(--bg);
  box-shadow: 0 4px 20px var(--gold-dim), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.btn-sm { padding: 0.65rem 1.3rem; font-size: 0.75rem; }
.btn-full { width: 100%; }

.btn-patreon {
  background: #ff424d;
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 66, 77, 0.3);
}

.btn-patreon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 66, 77, 0.45);
}

/* ── Hero ── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  padding-block: 4rem 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero-title { margin-bottom: 0.5rem; }

.hero-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-name-sub {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold-light);
  margin-top: 0.35rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

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

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.hero-badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--gold-light);
  background: var(--gold-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn-youtube {
  background: #cc0000;
  color: #fff;
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.25);
}

.btn-youtube:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(204, 0, 0, 0.35);
}

.hero-social { margin-top: 0.5rem; }

.hero-social-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  transition: 0.3s var(--ease);
}

.social-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.social-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--bg-glass);
}

.social-btn--youtube:hover {
  color: #ff4444;
  border-color: rgba(204, 0, 0, 0.4);
  background: rgba(204, 0, 0, 0.08);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero-portal {
  position: absolute;
  width: 340px;
  height: 340px;
}

.hero-portal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.hero-portal-ring--outer {
  animation: spin 60s linear infinite;
  border-style: dashed;
  border-color: rgba(201, 168, 76, 0.15);
}

.hero-portal-ring--inner {
  inset: 30px;
  border-color: rgba(122, 32, 48, 0.2);
  animation: spin 45s linear infinite reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-book-stack {
  position: relative;
  width: 300px;
  height: 400px;
  z-index: 1;
}

.hero-book {
  position: absolute;
  width: 175px;
  border-radius: 3px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(201, 168, 76, 0.1);
  transition: transform 0.7s var(--ease);
}

.hero-book--1 { left: 0; top: 40px; transform: rotate(-10deg); z-index: 1; }
.hero-book--2 { left: 55px; top: 0; transform: rotate(3deg); z-index: 3; }
.hero-book--3 { right: 0; bottom: 30px; transform: rotate(12deg); z-index: 2; }

.hero-visual:hover .hero-book--1 { transform: rotate(-14deg) translateY(-8px); }
.hero-visual:hover .hero-book--2 { transform: rotate(0deg) translateY(-14px); }
.hero-visual:hover .hero-book--3 { transform: rotate(16deg) translateY(-6px); }

.hero-badge--flagship {
  background: linear-gradient(135deg, rgba(139, 46, 61, 0.25), rgba(184, 149, 74, 0.15));
  border-color: rgba(139, 46, 61, 0.45);
  color: var(--gold-light);
}

.hero-flagship {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.35s var(--ease);
}

.hero-flagship:hover { transform: translateY(-6px); }

.hero-flagship-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-flagship-cover {
  padding: 8px;
  background: linear-gradient(145deg, rgba(184, 149, 74, 0.25), rgba(139, 46, 61, 0.15));
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  margin-bottom: 1.25rem;
}

.hero-flagship-cover img {
  width: min(240px, 42vw);
  border-radius: 2px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero-flagship-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.hero-flagship-meta {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Flagship spotlight ── */
.flagship {
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.flagship-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.flagship-cover-wrap {
  position: relative;
  max-width: 320px;
  margin-inline: auto;
}

.flagship-ribbon {
  position: absolute;
  top: 1rem;
  left: -0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold), #9a7a35);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.flagship-tagline {
  font-size: 1.1rem;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.flagship-desc {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.flagship-details {
  list-style: none;
  margin-bottom: 2rem;
}

.flagship-details li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-block: 0.45rem;
  border-bottom: 1px solid var(--border);
}

.flagship-details strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 0.5rem;
}

.flagship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.book-flagship-ribbon {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 3;
  padding: 0.3rem 0.55rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border-radius: 2px;
}

/* ── Stats banner ── */
.stats-banner {
  padding-block: 0 1rem;
  margin-top: -1rem;
}

.stats-banner-inner {
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.stats-banner-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.stats-banner-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.stats-banner-note {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.stat-card:hover {
  border-color: var(--border-strong);
}

.stat-card--highlight {
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
  border-color: rgba(201, 168, 76, 0.35);
}

.stat-card--highlight:hover {
  box-shadow: 0 0 30px var(--gold-dim);
}

.stat-card-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card--highlight .stat-card-value {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.video-youtube-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.video-youtube-stats strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* ── Ad slots ── */
.ad-wrap {
  padding-block: 1.25rem;
}

.ad-slot {
  position: relative;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ad-slot--compact { min-height: 250px; max-width: 336px; margin-inline: auto; }

.ad-slot::before {
  content: attr(data-ad-label);
  position: absolute;
  top: 0.4rem;
  left: 0.6rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.5;
}

.ad-slot .adsbygoogle { display: block; width: 100%; }

.ad-slot--live {
  border-style: solid;
  border-color: var(--border);
  background: transparent;
  min-height: 100px;
}

.ad-slot--live::before { opacity: 0.35; }

.ad-wrap[hidden] { display: none; }

.ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.5rem;
  text-align: center;
}

.ad-placeholder-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ad-placeholder-size {
  font-size: 0.75rem;
  color: rgba(142, 135, 153, 0.5);
}

.ad-placeholder-hint {
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0.6;
  margin-top: 0.25rem;
}

/* ── Sections ── */
.section {
  padding-block: 5.5rem;
}

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

/* ── Reviews ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: 0.35s var(--ease);
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.review-card--negative {
  border-color: rgba(120, 110, 125, 0.35);
  background: linear-gradient(160deg, rgba(30, 28, 38, 0.9), var(--bg-card));
}

.review-card--positive {
  border-color: rgba(201, 168, 76, 0.35);
  background: linear-gradient(160deg, rgba(201, 168, 76, 0.08), var(--bg-card));
}

.review-stars {
  display: flex;
  gap: 0.15rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.review-stars--1 { color: #8b4049; }
.review-stars--5 { color: var(--gold); }

.review-text {
  flex: 1;
  margin: 0;
}

.review-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

.review-card--negative .review-text p {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
}

.review-card--positive .review-text p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}

.review-card--positive .review-text em {
  font-style: normal;
  color: var(--gold-light);
}

.review-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.review-author {
  font-size: 0.82rem;
  font-weight: 600;
  font-style: normal;
  color: var(--text);
}

.review-meta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.review-card--negative .review-meta { color: rgba(139, 64, 73, 0.85); }

/* ── Manifesto ── */
.manifesto-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.manifesto-main p {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.manifesto-lead {
  font-size: 1.15rem !important;
  color: var(--text) !important;
  line-height: 1.75 !important;
}

.manifesto-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--gold);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.manifesto-quote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.manifesto-aside {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.manifesto-aside h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.manifesto-list {
  list-style: none;
  margin-bottom: 1.75rem;
}

.manifesto-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.manifesto-list li:last-child { border-bottom: none; }

.manifesto-list span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.manifesto-aside .btn-full + .btn-full { margin-top: 0.75rem; }

/* ── Patreon vote promotion ── */
.patreon-vote-intro {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 66, 77, 0.1), var(--bg-card));
  border: 1px solid rgba(255, 66, 77, 0.3);
  border-radius: var(--radius-lg);
}

.patreon-vote-intro-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 66, 77, 0.15);
  border: 1px solid rgba(255, 66, 77, 0.3);
  border-radius: var(--radius);
  color: #ff6b73;
}

.patreon-vote-intro-icon svg { width: 24px; height: 24px; }

.patreon-vote-instructions {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.patreon-vote-total {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b73;
}

.patreon-vote-ballot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 1100px) {
  .patreon-vote-ballot { grid-template-columns: 1fr; }
}

.patreon-vote-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: 0.35s var(--ease);
}

.patreon-vote-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 66, 77, 0.35);
}

.patreon-vote-card--leading {
  border-color: rgba(255, 66, 77, 0.45);
  background: linear-gradient(160deg, rgba(255, 66, 77, 0.1), var(--bg-card));
}

.patreon-vote-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.patreon-vote-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff424d;
  margin-bottom: 0.45rem;
}

.patreon-vote-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.patreon-vote-genre {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.patreon-vote-tally {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: right;
}

.patreon-vote-desc {
  flex: 1;
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.patreon-vote-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.patreon-vote-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff424d, #ff6b73);
  border-radius: 2px;
  transition: width 0.8s var(--ease);
}

.patreon-vote-btn { width: 100%; }

.patreon-vote-footer {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.patreon-vote-footer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto 1.25rem;
  line-height: 1.7;
}

.section-header { margin-bottom: 2.75rem; }

.section-header--ornate { text-align: center; }

.section-header--ornate .section-desc { margin-inline: auto; }

.ornament {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 500px;
  font-size: 0.95rem;
  font-weight: 300;
}

.section-desc a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Filter ── */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 2.5rem;
  padding: 0.35rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
  margin-inline: auto;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  color: var(--text-muted);
  transition: 0.3s var(--ease);
}

.filter-btn:hover { color: var(--text); background: var(--gold-dim); }

.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), #a88a3a);
  color: var(--bg);
}

/* ── Book cards ── */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 2rem 1.5rem;
}

.book-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}

.book-card:hover { transform: translateY(-8px); }
.book-card.hidden { display: none; }

.book-card--soon { cursor: pointer; }

.book-card--soon .cover-frame--soon {
  background: linear-gradient(160deg, var(--bg-alt), var(--bg-card));
}

.cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  aspect-ratio: 2 / 3;
  padding: 1.25rem;
  text-align: center;
  background: linear-gradient(165deg, #12161f 0%, #1a2030 50%, #12161f 100%);
  border-radius: 2px;
}

.cover-placeholder-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.cover-placeholder-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
}

.book-price-badge--soon {
  color: var(--gold-light);
  border-color: var(--border-strong);
}

.ad-slot--infeed.hidden { display: none; }

.btn--disabled {
  pointer-events: auto;
  opacity: 0.85;
}

.cover-frame {
  position: relative;
  padding: 6px;
  background: linear-gradient(145deg, rgba(201, 168, 76, 0.2), rgba(122, 32, 48, 0.1));
  border-radius: var(--radius);
  transition: box-shadow 0.4s var(--ease);
}

.book-card:hover .cover-frame,
.series-card:hover .cover-frame {
  box-shadow: 0 0 30px var(--gold-glow);
}

.cover-frame img,
.book-cover-wrap img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.book-cover-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.book-cover-wrap .cover-frame { padding: 5px; }

.book-price-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.3rem 0.65rem;
  background: rgba(6, 5, 10, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  z-index: 2;
}

.book-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.25rem;
  transition: color 0.3s var(--ease);
}

.book-card:hover h3 { color: var(--gold-light); }

.book-card-series {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.book-card-genre {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* In-grid ad */
.ad-slot--infeed {
  grid-column: 1 / -1;
  min-height: 120px;
  margin-block: 0.5rem;
}

/* ── Series ── */
.series-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.series-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.25rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.4s var(--ease);
}

.series-card:hover { border-color: var(--border-strong); }

.series-card-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--crimson-dim), transparent 70%);
  pointer-events: none;
}

.series-card-books {
  display: flex;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}

.series-card-books .cover-frame { width: 105px; flex-shrink: 0; }

.series-number {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.series-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.series-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.series-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.35rem;
}

.series-card-meta span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
}

/* ── About ── */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.about-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.about-content p {
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 1rem;
  line-height: 1.85;
}

.about-content a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s var(--ease);
}

.about-content a:hover { color: var(--gold); }

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.about-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.about-stat-lbl {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Watch / Video ── */
.video-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.75rem;
  align-items: start;
}

.video-player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.video-player.is-hidden { display: none; }

.video-unavailable {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
  background: var(--bg-alt);
  color: var(--text-muted);
}

.video-unavailable[hidden] { display: none; }

.video-unavailable p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
}

.video-unavailable span {
  font-size: 0.8rem;
  max-width: 320px;
  line-height: 1.6;
}

.video-unavailable code {
  font-size: 0.75rem;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
}

.video-now-playing {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.video-now-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.video-now-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.video-now-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.video-youtube-cta {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.12), rgba(204, 0, 0, 0.04));
  border: 1px solid rgba(204, 0, 0, 0.25);
  border-radius: var(--radius-lg);
}

.video-youtube-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #cc0000;
  border-radius: var(--radius);
  color: #fff;
}

.video-youtube-icon svg { width: 22px; height: 22px; }

.video-youtube-cta h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.video-youtube-cta p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.video-list::-webkit-scrollbar { width: 4px; }
.video-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

.video-list-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: 0.3s var(--ease);
  width: 100%;
}

.video-list-item:hover,
.video-list-item.active {
  border-color: var(--border-strong);
  background: var(--bg-glass);
}

.video-list-item.active {
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-dim);
}

.video-list-thumb {
  width: 72px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  border-radius: 3px;
  color: var(--gold);
  overflow: hidden;
}

.video-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-list-thumb svg { width: 18px; height: 18px; opacity: 0.6; }

.video-list-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.video-list-info span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

/* ── Follow section ── */
.follow-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.15), rgba(12, 10, 18, 0.9));
  border: 1px solid rgba(204, 0, 0, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.follow-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(204, 0, 0, 0.15);
}

.follow-hero-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.2), transparent 70%);
  pointer-events: none;
}

.follow-hero-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #cc0000;
  border-radius: var(--radius-lg);
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(204, 0, 0, 0.35);
}

.follow-hero-icon svg { width: 36px; height: 36px; }

.follow-hero-body { position: relative; z-index: 1; }

.follow-hero-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff6b6b;
  margin-bottom: 0.4rem;
}

.follow-hero-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.follow-hero-body p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.follow-hero-cta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff6b6b;
}

.follow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.follow-grid--dual .follow-card--featured {
  grid-column: span 1;
}

.follow-card--featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(139, 46, 61, 0.15), var(--bg-card));
  border-color: rgba(139, 46, 61, 0.35);
}

.follow-card--featured svg { color: #ff6b6b; }

.follow-card--patreon {
  background: linear-gradient(135deg, rgba(255, 66, 77, 0.15), var(--bg-card));
  border-color: rgba(255, 66, 77, 0.35);
}

.follow-card--patreon svg { color: #ff424d; }

.follow-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: 0.35s var(--ease);
}

.follow-card svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 0.15rem;
}

.follow-card--x svg { color: var(--text); }

.follow-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.follow-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.follow-card p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Social dock (fixed) ── */
.social-dock {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.social-dock-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: 0.3s var(--ease);
}

.social-dock-btn svg { width: 18px; height: 18px; }

.social-dock-btn:hover {
  color: var(--text);
  border-color: var(--gold);
  transform: translateX(-3px);
}

.social-dock-btn--yt {
  background: #cc0000;
  border-color: #cc0000;
  color: #fff;
}

.social-dock-btn--yt:hover {
  background: #e60000;
  color: #fff;
  box-shadow: 0 6px 24px rgba(204, 0, 0, 0.4);
}

/* ── Footer ── */
.footer {
  padding-block: 3rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-social a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

.footer-social a:hover { color: var(--gold); }

.footer-copy,
.footer-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Modal ── */
.book-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: none;
  width: 100%;
  height: 100%;
}

.book-modal::backdrop {
  background: rgba(6, 5, 10, 0.85);
  backdrop-filter: blur(8px);
}

.book-modal-inner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  width: min(580px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px var(--gold-dim);
}

.book-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}

.book-modal-close:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.cover-frame--modal { max-width: 200px; }

.book-modal-series {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.book-modal-body h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.book-modal-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.book-modal-desc {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

/* ── Reveal ── */
/* Content stays visible if JS hasn't run yet */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-rule { justify-content: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-badges { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; min-height: 320px; }
  .hero-book-stack { width: 260px; height: 340px; }
  .hero-book { width: 150px; }
  .hero-portal { width: 280px; height: 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .flagship-layout { grid-template-columns: 1fr; text-align: center; }
  .flagship-actions { justify-content: center; }
  .reviews-grid { grid-template-columns: 1fr; }
  .manifesto-layout { grid-template-columns: 1fr; }
  .manifesto-aside { position: static; }
  .about-layout { grid-template-columns: 1fr; }
  .about-stats { justify-content: center; }

  .video-layout { grid-template-columns: 1fr; }
  .video-list { max-height: none; }
  .follow-grid { grid-template-columns: 1fr; }
  .follow-grid--dual .follow-card--featured { grid-column: 1 / -1; }
  .patreon-vote-ballot { grid-template-columns: 1fr; }
  .patreon-vote-intro { flex-direction: column; text-align: center; align-items: center; }
  .follow-hero { flex-direction: column; text-align: center; }
  .series-card { grid-template-columns: 1fr; text-align: center; }
  .series-card-books { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6, 5, 10, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0 1rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s var(--ease);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.85rem 1.5rem; text-align: center; }
  .nav-cta { margin: 0.5rem 1.5rem 0 !important; display: block !important; text-align: center; }

  .hero-social { text-align: center; }
  .social-row { justify-content: center; }
  .social-dock { right: 0.75rem; bottom: 0.75rem; }
  .social-dock-btn { width: 40px; height: 40px; }

  .book-modal-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.75rem;
  }

  .cover-frame--modal { margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ambient-orb, .hero-portal-ring { animation: none; }
  .book-card:hover, .hero-visual:hover .hero-book, .connect-card:hover, .series-card:hover { transform: none; }
}