/* ============================================================
   NovelEnjoy theme
   v0.1.1
   Dark romance reading site, black canvas + #b22a2a accent
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #050505;
  --bg-card: #0d0808;
  --bg-card-hover: #150808;

  --border: #1f1f1f;
  --border-strong: #2a2a2a;
  --border-accent: #2a0a0a;

  --text: #f5f5f5;
  --text-body: #d4d4d4;
  --text-muted: #888888;
  --text-dim: #555555;
  --text-faint: #444444;

  --accent: #b22a2a;
  --accent-hover: #c43838;
  --accent-deep: #6a1414;
  --accent-glow: rgba(178, 42, 42, 0.25);
  --accent-soft: rgba(178, 42, 42, 0.05);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;

  --container-narrow: 680px;
  --container-medium: 900px;
  --container-wide: 1280px;

  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 48px;
  --space-xl: 80px;
  --space-xxl: 120px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-ui);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Reading progress bar (chapter pages) ---------- */
.np-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent) var(--p, 0%), transparent var(--p, 0%));
  z-index: 100;
  transition: background 0.1s;
  pointer-events: none;
}

/* ---------- Top navigation ---------- */
.np-nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.np-nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-m);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-l);
}
.np-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.5px;
  color: var(--text);
  white-space: nowrap;
  justify-self: start;
  display: inline-flex;
  align-items: center;
}
.np-logo em, .np-logo span { font-style: normal; color: var(--accent); }
.np-logo img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.np-nav-links {
  display: flex;
  gap: 36px;
  justify-self: center;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.np-nav-links li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
}
.np-nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-block;
  padding: 4px 0;
}
.np-nav-links a:hover, .np-nav-links a.active { color: var(--accent); }
.np-nav-actions { display: flex; gap: 12px; align-items: center; justify-self: end; }

/* Language switcher (replaces standard nav links) */
.np-lang-switcher {
  gap: 4px;
}
.np-lang-switcher li {
  position: relative;
}
.np-lang-switcher li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: var(--border);
}
.np-lang-link {
  padding: 6px 14px !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
}
.np-lang-link.active {
  color: var(--accent) !important;
  font-weight: 700;
}

/* ---------- Buttons ---------- */
.np-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
}
.np-btn-primary {
  background: var(--accent);
  color: #fff;
}
.np-btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.np-btn-ghost {
  background: transparent;
  color: var(--text-body);
  border: 1px solid var(--border-strong);
}
.np-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.np-btn-large {
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ---------- Eyebrow / labels ---------- */
.np-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  margin-bottom: 24px;
}

/* ============================================================
   HOMEPAGE
   ============================================================ */

.np-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-xl) 0 var(--space-xxl);
}
.np-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(106, 20, 20, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(178, 42, 42, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, #000 0%, #0a0000 50%, #000 100%);
}
.np-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,0.012) 2px, rgba(255,255,255,0.012) 4px);
}
.np-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-m);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-l);
  align-items: center;
  width: 100%;
}
.np-hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text);
}
.np-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.np-hero-tagline {
  font-family: var(--font-body);
  font-size: 20px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.5;
}
.np-hero-actions {
  display: flex; gap: 16px;
  margin-bottom: var(--space-l);
  flex-wrap: wrap;
}
.np-hero-stats {
  display: flex; gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.np-hero-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.np-hero-stat-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Inline subscribe form (replaces hero CTA buttons) */
.np-hero-subscribe {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin-bottom: 16px;
  position: relative;
}
.np-hero-subscribe-input {
  flex: 1;
  background: rgba(13, 8, 8, 0.8);
  border: 1px solid var(--border-strong);
  border-right: none;
  color: var(--text);
  padding: 16px 20px;
  font-family: var(--font-ui);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.np-hero-subscribe-input:focus { border-color: var(--accent); }
.np-hero-subscribe-input::placeholder { color: var(--text-dim); }
.np-hero-subscribe-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 28px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.np-hero-subscribe-btn:hover { background: var(--accent-hover); }
.np-hero-subscribe-success,
.np-hero-subscribe-error {
  display: none;
  font-family: var(--font-body);
  font-size: 13px;
  margin-top: 8px;
  position: absolute;
  top: 100%;
  left: 0;
}
.np-hero-subscribe-success { color: var(--accent); }
.np-hero-subscribe-error { color: #ff8a7a; }
.np-hero-subscribe.success .np-hero-subscribe-success,
.np-hero-subscribe.error .np-hero-subscribe-error { display: block; }
.np-hero-subscribe.success .np-hero-subscribe-input,
.np-hero-subscribe.success .np-hero-subscribe-btn { opacity: 0.4; pointer-events: none; }

.np-hero-subscribe-fine {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: var(--space-l);
  letter-spacing: 0.3px;
}

/* Decorative tall artwork (right side of hero).
   2:3 portrait — Publication cover image is forced into portrait crop. */
.np-hero-artwork {
  position: relative;
  max-width: 460px;
  margin-left: auto;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow:
    0 0 0 1px rgba(178, 42, 42, 0.2),
    0 30px 80px rgba(178, 42, 42, 0.3),
    0 60px 120px rgba(0, 0, 0, 0.8);
}
.np-hero-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.np-hero-artwork:hover img { transform: scale(1.04); }
.np-hero-artwork a { display: block; width: 100%; height: 100%; }

/* Trope strip */
.np-trope-strip {
  background: linear-gradient(180deg, transparent, rgba(178, 42, 42, 0.05), transparent);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.np-trope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-m);
}
.np-trope-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
}
.np-trope-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}
.np-trope-icon {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 16px;
}
.np-trope-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.np-trope-count {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Section headers (homepage and beyond) */
.np-section {
  padding: var(--space-xxl) 0;
  border-top: 1px solid var(--border);
}
.np-section-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-m);
}
.np-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-l);
  gap: var(--space-m);
  flex-wrap: wrap;
}
.np-section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text);
}
.np-section-title em { font-style: italic; color: var(--accent); }
.np-section-sub {
  color: var(--text-muted);
  font-size: 15px;
  font-family: var(--font-body);
  font-style: italic;
  margin-top: 8px;
}
.np-section-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.2s;
}
.np-section-link:hover { border-bottom-color: var(--accent); }

/* Genre pills (homepage filter) */
.np-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: var(--space-l);
}
.np-pill {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}
.np-pill:hover, .np-pill.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Book grid (used on homepage and Books page) */
.np-book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}
.np-book {
  cursor: pointer;
  transition: transform 0.25s;
  display: block;
  color: inherit;
}
.np-book:hover { transform: translateY(-8px); }
.np-book-cover {
  aspect-ratio: 3 / 2;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px;
}
.np-book-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.4s ease;
}
.np-book:hover .np-book-cover-img { transform: scale(1.04); }
.np-book-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}
.np-book-cover.has-image::after {
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85) 100%);
}
.np-book-cover-mark {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.np-book-cover-title {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 0.95;
  color: #fff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.np-book-tag {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}
.np-book-tag-new { background: var(--accent); color: #fff; }
.np-book-tag-hot { background: var(--text); color: #000; }
.np-book-tag-free { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.np-book-meta { padding: 0 4px; }
.np-book-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 4px;
  line-height: 1.2;
}
.np-book-genre {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.np-book-stats {
  display: flex; gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* Quote section (homepage) */
.np-quote-section {
  padding: var(--space-xxl) 0;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(178, 42, 42, 0.18) 0%, transparent 70%);
}
.np-quote {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--space-m);
}
.np-quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 24px;
  opacity: 0.5;
}
.np-quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 32px;
  color: var(--text);
}
.np-quote-text em { color: var(--accent); }
.np-quote-source {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Subscribe CTA section */
.np-subscribe {
  padding: var(--space-xxl) 0;
  border-top: 1px solid var(--border);
}
.np-subscribe-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-m);
}
.np-subscribe-eyebrow {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
}
.np-subscribe-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}
.np-subscribe-title em { font-style: italic; color: var(--accent); }
.np-subscribe-desc {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: var(--space-l);
  line-height: 1.6;
}
.np-subscribe-form {
  display: flex; gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.np-subscribe-input {
  flex: 1;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-body);
  padding: 16px 20px;
  font-family: var(--font-ui);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.np-subscribe-input:focus { border-color: var(--accent); }
.np-subscribe-input::placeholder { color: var(--text-dim); }
.np-subscribe-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 28px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.np-subscribe-btn:hover { background: var(--accent-hover); }
.np-subscribe-fine {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ============================================================
   TAG PAGE (book detail)
   ============================================================ */

.np-book-hero {
  position: relative;
  padding: var(--space-xl) var(--space-m) 60px;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.np-book-hero-backdrop {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(106, 20, 20, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(178, 42, 42, 0.3) 0%, transparent 50%),
    linear-gradient(180deg, #1a0000 0%, #0a0000 50%, var(--bg) 100%);
}
.np-book-hero-backdrop::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,0.012) 2px, rgba(255,255,255,0.012) 4px);
}
.np-book-hero-backdrop.with-image {
  background-size: cover;
  background-position: center;
}
.np-book-hero-backdrop.with-image::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(106, 20, 20, 0.5) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(10,0,0,0.85) 60%, var(--bg) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.np-book-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--container-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.np-book-cover-large {
  position: relative;
  aspect-ratio: 3 / 2;
  background-color: #1a0000;
  border: 1px solid var(--border-accent);
  box-shadow:
    0 0 0 1px rgba(178, 42, 42, 0.3),
    0 30px 80px rgba(178, 42, 42, 0.3),
    0 60px 120px rgba(0, 0, 0, 0.8);
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 36px 28px;
  overflow: hidden;
}
.np-book-cover-large-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.np-book-cover-large::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 50% 30%, rgba(178, 42, 42, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.np-book-cover-large.has-image::before {
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
}
.np-book-cover-large .np-book-cover-mark,
.np-book-cover-large .np-book-cover-title-large,
.np-book-cover-large .np-book-cover-author {
  position: relative; z-index: 1;
}
.np-book-cover-title-large {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}
.np-book-cover-title-large em { font-style: italic; color: var(--accent); }
.np-book-cover-author {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.np-book-info-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 20px;
}
.np-book-info-title em { font-style: italic; color: var(--accent); }
.np-book-info-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.4;
  max-width: 520px;
}

.np-tropes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.np-trope {
  font-size: 11px;
  padding: 6px 12px;
  background: rgba(178, 42, 42, 0.08);
  border: 1px solid rgba(178, 42, 42, 0.4);
  color: #d18a8a;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.np-stats-row {
  display: flex; gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.np-stat-item {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}
.np-stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.np-live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  animation: np-pulse 2s infinite;
}
@keyframes np-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.np-cta-row {
  display: flex; gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Book description */
.np-description {
  max-width: 760px;
  margin: var(--space-xl) auto 0;
  padding: 0 var(--space-m);
}
.np-section-mark {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 24px;
}
.np-description-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: #b8b8b8;
}
.np-description-body p { margin-bottom: 1.5em; }
.np-content-warning {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-body);
  line-height: 1.6;
}
.np-content-warning strong {
  display: block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 6px;
  font-family: var(--font-ui);
}

/* Chapter list */
.np-chapters {
  max-width: 760px;
  margin: var(--space-xxl) auto 0;
  padding: 0 var(--space-m);
}
.np-chapters-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.np-chapters-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}
.np-chapters-title em { font-style: italic; color: var(--accent); }
.np-chapters-meta {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.np-chapter-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
  color: inherit;
  text-decoration: none;
}
.np-chapter-row:hover {
  background: var(--bg-card-hover);
  padding-left: 12px;
  padding-right: 12px;
  border-bottom-color: var(--border-accent);
}
.np-chapter-row:hover .np-ch-title-text { color: var(--accent); }
.np-chapter-row-locked .np-ch-title-text { color: var(--text-muted); }
.np-ch-title-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-body);
  line-height: 1.2;
  transition: color 0.2s;
}
.np-ch-status {
  font-size: 10px;
  padding: 4px 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid;
  background: transparent;
}
/* Free chapter — accessible to all */
.np-ch-status.free {
  color: var(--accent);
  border-color: var(--accent);
}
/* Member chapter, viewer is a signed-in member (unlocked) */
.np-ch-status.members {
  color: #d4d4d4;
  border-color: #4a4a4a;
}
/* Member chapter, viewer is anonymous (locked) */
.np-ch-status.members-locked {
  color: var(--text-muted);
  border-color: var(--border-strong);
}
/* Paid chapter, viewer is a paid subscriber (unlocked) */
.np-ch-status.paid {
  color: #e8c97a;
  border-color: #6a5a2e;
}
/* Paid chapter, viewer cannot read (locked) — anonymous OR free member */
.np-ch-status.paid-locked {
  color: #b89656;
  border-color: #4a3a20;
}
.np-ch-time {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-body);
  min-width: 60px;
  text-align: right;
}
.np-paywall-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 24px 0;
}
.np-paywall-divider::before,
.np-paywall-divider::after {
  content: '';
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-accent), transparent);
}
.np-paywall-divider span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.np-paywall-cta {
  margin-top: 40px;
  padding: 36px;
  background: linear-gradient(180deg, #0f0000 0%, #1a0000 100%);
  border: 1px solid var(--border-accent);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.np-paywall-cta::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}
.np-paywall-cta-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.np-paywall-cta-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Related books */
.np-related {
  max-width: var(--container-wide);
  margin: var(--space-xxl) auto 0;
  padding: 0 var(--space-m) var(--space-xl);
}
.np-related-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
}
.np-related-title em { font-style: italic; color: var(--accent); }
.np-related-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: var(--space-l);
}
.np-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ============================================================
   POST PAGE (chapter reading)
   ============================================================ */

.np-back-link {
  color: var(--text-muted);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  white-space: nowrap;
}
.np-back-link:hover { color: var(--accent); }
.np-member-status {
  font-size: 12px;
  color: var(--text-muted);
}
.np-member-status::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.np-chapter-head {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 80px var(--space-m) 40px;
  text-align: center;
}
.np-chapter-num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.np-chapter-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: -1px;
}
.np-chapter-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 1px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: inline-block;
  min-width: 320px;
}
.np-chapter-meta span { margin: 0 8px; }

/* Prose (chapter body) */
.np-prose {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 40px var(--space-m);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-body);
}
.np-prose p { margin-bottom: 1.5em; }
.np-prose h2, .np-prose h3, .np-prose h4 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 2em 0 0.8em;
  line-height: 1.3;
}
.np-prose h2 { font-size: 28px; font-weight: 700; }
.np-prose h3 { font-size: 22px; font-weight: 700; }
.np-prose blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-muted);
}
.np-prose hr {
  border: none;
  height: auto;
  text-align: center;
  margin: 2.5em 0;
  color: var(--text-dim);
  letter-spacing: 12px;
  font-size: 14px;
  line-height: 1;
}
.np-prose hr::before {
  content: '⸻ ✦ ⸻';
  font-family: var(--font-display);
}
.np-prose a { color: var(--accent); border-bottom: 1px solid currentColor; }
.np-prose em { font-style: italic; }
.np-prose strong { color: var(--text); font-weight: 700; }
.np-prose img { margin: 2em auto; }

/* Paywall */
.np-paywall-wrap {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-m);
  position: relative;
}
.np-paywall-fade {
  position: absolute;
  top: -120px; left: var(--space-m); right: var(--space-m);
  height: 120px;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0), rgba(10, 10, 10, 1));
  pointer-events: none;
}
.np-paywall {
  background: linear-gradient(180deg, #0f0000 0%, #1a0000 100%);
  border: 1px solid var(--border-accent);
  padding: 56px 32px;
  text-align: center;
  margin: 16px 0 32px;
  position: relative;
  overflow: hidden;
}
.np-paywall::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}
.np-paywall-icon {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0.8;
}
.np-paywall-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}
.np-paywall-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.np-paywall-price {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 16px;
  letter-spacing: 0.5px;
}
.np-paywall-signin {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-dim);
}
.np-paywall-signin a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.np-paywall-signin a:hover { border-bottom-color: var(--accent); }

/* ============================================================
   CONTENT CTA / PAYWALL (rendered by partials/content-cta.hbs)
   Replaces Ghost's default red paywall block.
   Style: deep kiss-red #2a0a0a bg, black-bg red-border button.
   ============================================================ */
.np-cta {
  background: #2a0a0a;
  border: 1px solid var(--border-accent);
  padding: 56px 32px;
  margin: 32px auto;
  max-width: var(--container-narrow);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.np-cta::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.np-cta-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-style: italic;
}
.np-cta-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}
.np-cta-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 auto 32px;
  max-width: 420px;
  line-height: 1.6;
}
.np-cta .np-cta-btn,
a.np-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  padding: 16px 36px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.np-cta .np-cta-btn:hover,
a.np-cta-btn:hover {
  background: #000;
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}
.np-cta-signin {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-body);
}
.np-cta-signin a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
  margin-left: 4px;
}
.np-cta-signin a:hover { border-bottom-color: var(--accent); }

/* Hide Ghost's built-in paywall fallback in case both render */
.gh-post-upgrade-cta { display: none !important; }

/* Chapter end / next chapter */
.np-end-mark {
  text-align: center;
  margin: 64px auto 24px;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 8px;
  font-size: 14px;
  max-width: var(--container-narrow);
  padding: 0 var(--space-m);
}
.np-next-card-wrap {
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-l);
  padding: 0 var(--space-m);
}
.np-next-card {
  display: block;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.25s;
  cursor: pointer;
}
.np-next-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}
.np-next-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.np-next-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 24px;
}
.np-next-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.np-back-to-book {
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-l);
  padding: 0 var(--space-m);
  text-align: center;
}
.np-back-to-book a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.np-back-to-book a:hover { border-color: var(--accent); color: var(--accent); }

/* =============================================================
   Conversion CTA (chapter end)
   Shown to anonymous visitors and free-on-paid members.
   Hidden by default; JS reveals the right variant.
   ============================================================= */
.np-conv-cta {
  max-width: var(--container-narrow);
  margin: 48px auto;
  padding: 48px var(--space-m);
  background: linear-gradient(135deg, rgba(178, 42, 59, 0.08), rgba(196, 56, 56, 0.04));
  border: 1px solid rgba(178, 42, 59, 0.25);
  border-radius: 4px;
  text-align: center;
}
.np-conv-cta-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}
.np-conv-cta-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 460px;
  margin: 0 auto 28px auto;
}
.np-conv-cta-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.np-conv-cta-email {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
}
.np-conv-cta-email::placeholder { color: var(--text-faint); }
.np-conv-cta-email:focus {
  outline: none;
  border-color: var(--accent);
}
.np-conv-cta-fine {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.5px;
}

.np-conv-cta-form-status {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
}
.np-conv-cta-form-status.success { color: #84e1bc; }
.np-conv-cta-form-status.error   { color: #fb7185; }

@media (max-width: 600px) {
  .np-conv-cta { padding: 32px 16px; margin: 32px auto; }
  .np-conv-cta-title { font-size: 22px; }
  .np-conv-cta-form { flex-direction: column; }
  .np-conv-cta-email { width: 100%; }
}

.np-engage {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 32px var(--space-m);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.np-engage-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 13px;
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all 0.2s;
}
.np-engage-btn:hover { border-color: var(--accent); color: var(--accent); }
.np-engage-btn.liked {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.np-engage-btn .heart { font-size: 16px; }
.np-comment-note {
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
  font-family: var(--font-body);
}

/* ============================================================
   FOOTER (minimal — disclaimer only)
   ============================================================ */

.np-footer-min {
  border-top: 1px solid var(--border);
  padding: 48px var(--space-m) 40px;
  background: var(--bg-elevated);
}
.np-footer-min-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.np-footer-reading-as {
  font-size: 11px;
  color: var(--accent);
  opacity: 0.7;
  font-family: var(--font-body);
  font-style: italic;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.np-footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.np-footer-disclaimer {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.7;
  font-style: italic;
}

/* ============================================================
   GHOST PORTAL CUSTOMIZATION (member sign-in / sign-up popup)
   ============================================================ */
[data-portal] { color-scheme: dark; }

/* ============================================================
   GHOST DEFAULT COMMENT SECTION
   ============================================================ */
.gh-comments {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-l) var(--space-m);
}

/* ============================================================
   ERROR / EMPTY STATES
   ============================================================ */
.np-empty {
  text-align: center;
  padding: var(--space-xxl) var(--space-m);
  max-width: var(--container-medium);
  margin: 0 auto;
}
.np-empty-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.np-empty-text {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.np-pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: var(--space-xl);
  padding: 0 var(--space-m);
}
.np-pagination a, .np-pagination span {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  transition: all 0.2s;
}
.np-pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.np-pagination .disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ============================================================
   GHOST EDITOR CARD WIDTHS (required by Ghost theme spec)
   When authors set an image to "wide" or "full" in the editor,
   these classes are applied. We respect the choice in chapter prose.
   ============================================================ */
.kg-width-wide {
  position: relative;
  width: 85vw;
  max-width: 1040px;
  left: 50%;
  transform: translateX(-50%);
  margin: 2.5em 0;
}
.kg-width-full {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  margin: 2.5em 0;
}
.kg-width-full img {
  width: 100%;
}

/* Image card with caption */
.kg-image-card { margin: 2em 0; }
.kg-image-card figcaption {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* Bookmark card (Ghost) */
.kg-bookmark-card {
  display: flex;
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin: 2em 0;
  text-decoration: none;
  color: var(--text-body);
}
.kg-bookmark-card:hover { border-color: var(--accent); }
.kg-bookmark-content { padding: 20px; flex: 1; }
.kg-bookmark-title { font-family: var(--font-display); font-weight: 700; color: var(--text); margin-bottom: 8px; }
.kg-bookmark-description { font-size: 14px; color: var(--text-muted); }

/* Callout card */
.kg-callout-card {
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  padding: 20px 24px;
  margin: 2em 0;
  font-family: var(--font-body);
}

/* Toggle card */
.kg-toggle-card {
  border: 1px solid var(--border);
  margin: 2em 0;
  padding: 20px;
}
.kg-toggle-heading { font-family: var(--font-display); font-weight: 700; color: var(--text); }

/* Button card */
.kg-button-card .kg-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 16px 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-ui);
}

/* ============================================================
   END Ghost editor card classes
   ============================================================ */

/* ============================================================
   GENERIC PAGE (about, terms, etc)
   ============================================================ */

.np-page {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-m);
}
.np-page-feature-image {
  margin: 0 0 var(--space-l);
}
.np-page-feature-image img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}
.np-page-feature-image figcaption {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}
.np-page-header { margin-bottom: var(--space-l); }
.np-page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 16px;
}
.np-page-excerpt {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.5;
}
.np-page-content {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
}
.np-page-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 1.8em 0 0.6em;
}
.np-page-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 1.5em 0 0.5em;
}
.np-page-content p { margin-bottom: 1.3em; }
.np-page-content a { color: var(--accent); border-bottom: 1px solid currentColor; }
.np-page-content ul, .np-page-content ol {
  margin: 1em 0 1.3em 1.5em;
  list-style: revert;
}
.np-page-content ul li, .np-page-content ol li { margin-bottom: 0.5em; }
.np-page-content blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-muted);
}
.np-page-tags {
  margin-top: var(--space-l);
  padding-top: var(--space-m);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .np-nav-inner { grid-template-columns: 1fr auto; gap: var(--space-s); }
  .np-nav-links { display: none; }
  .np-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .np-hero-artwork { max-width: 320px; margin: 0 auto; }
  .np-book-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .np-book-cover-large { max-width: 480px; margin: 0 auto; }
  .np-trope-grid { grid-template-columns: repeat(2, 1fr); }
  .np-section-header { flex-direction: column; align-items: flex-start; }
  .np-related-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .np-related-grid .np-book:nth-child(3) { display: none; }
  .np-stats-row { gap: 20px; }
  .np-chapter-row { grid-template-columns: 1fr auto; gap: 12px; }
  .np-ch-time { display: none; }
}

@media (max-width: 560px) {
  .np-hero { padding: 60px 0 80px; min-height: auto; }
  .np-section { padding: 80px 0; }
  .np-section-title { font-size: 32px; }
  .np-prose { font-size: 17px; line-height: 1.75; }
  .np-chapter-title { font-size: 32px; }
  .np-paywall { padding: 40px 24px; }
  .np-hero-subscribe { flex-direction: column; }
  .np-hero-subscribe-input { border-right: 1px solid var(--border-strong); }
  .np-hero-stats { gap: 24px; }
  .np-hero-stat-num { font-size: 22px; }
  .np-footer-min { padding: 36px var(--space-m) 28px; }
}
