/* ========================================
   OBSIDIAN LIBRARY v3 — Design System
   ======================================== */
:root {
  --bg: #f8f7fc;
  --bg-raised: #ffffff;
  --bg-hover: #eeedf5;
  --obsidian: #ede8f5;
  --accent: #6d28d9;
  --accent-soft: #8b5cf6;
  --accent-blue: #6366f1;
  --glow-amber: #d97706;
  --glow-green: #059669;
  --text: #1e1b4b;
  --text-dim: #78716c;
  --text-mid: #57534e;
  --border: rgba(109,40,217,0.08);
  --border-strong: rgba(109,40,217,0.15);
}

/* ========================================
   RESET & BASE
   ======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-padding-top: 80px;
}

/* ========================================
   NAV
   ======================================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(248,247,252,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-gem {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: all 0.3s;
  font-weight: 400;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-hover);
}

.nav-search {
  position: relative;
}

.nav-search-form {
  display: flex;
  position: relative;
}

.nav-search-form::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--text-dim);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.nav-search-form::after {
  content: '';
  position: absolute;
  left: 1.55rem;
  top: 62%;
  width: 1.5px;
  height: 5px;
  background: var(--text-dim);
  transform: rotate(-45deg);
  pointer-events: none;
  z-index: 1;
}

.nav-search-form input {
  padding: 0.45rem 0.9rem 0.45rem 2rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  outline: none;
  width: 130px;
  transition: all 0.3s;
}

.nav-search-form input:focus {
  border-color: var(--accent);
  background: var(--bg-raised);
  width: 180px;
  box-shadow: 0 2px 12px rgba(109,40,217,0.08);
}

.nav-search-form input::placeholder {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.nav-pill {
  background: var(--bg-raised) !important;
  border: 1px solid var(--border-strong) !important;
  color: var(--text) !important;
}

.nav-pill:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 0 20px rgba(109,40,217,0.1) !important;
}

/* Nav subscribe dropdown */
.nav-subscribe-wrap {
  position: relative;
}

.nav-subscribe-btn {
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: all 0.3s;
  font-weight: 400;
}

.nav-subscribe-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  z-index: 1000;
  min-width: 260px;
}

.nav-subscribe-dropdown.active {
  display: block;
}

.nav-subscribe-form {
  display: flex;
  gap: 0.5rem;
}

.nav-subscribe-form input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--text);
  outline: none;
  min-width: 0;
}

.nav-subscribe-form input:focus {
  border-color: var(--accent);
}

.nav-subscribe-form .btn-primary {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

.nav-subscribe-msg {
  display: none;
  text-align: center;
  font-size: 0.8rem;
  color: var(--glow-green);
  padding: 0.4rem 0 0;
  font-weight: 500;
}

.nav-subscribe-msg.visible {
  display: block;
}

/* Mobile menu button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO — compact
   ======================================== */
.hero {
  padding: 8rem 3rem 3rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(109,40,217,0.06) 0%, rgba(139,92,246,0.03) 40%, transparent 70%);
  pointer-events: none;
  animation: glow-pulse 6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
}

.hero-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 500;
  opacity: 0;
  animation: slideIn 0.8s 0.2s forwards;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: slideIn 0.8s 0.3s forwards;
}

.hero h1 .serif-word {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 460px;
  opacity: 0;
  animation: slideIn 0.8s 0.4s forwards;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideIn 0.8s 0.5s forwards;
}

.btn-primary {
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(109,40,217,0.25);
}

.btn-ghost {
  padding: 0.8rem 1.8rem;
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

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

@keyframes slideIn {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   REVIEWS HORIZONTAL SCROLL
   ======================================== */
.reviews-section {
  padding: 3rem 0 4rem;
  position: relative;
  opacity: 0;
  animation: slideIn 0.8s 0.6s forwards;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  margin-bottom: 1.5rem;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.reviews-header h2 .serif-word {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
}

.scroll-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scroll-hint {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: nudge 2s ease-in-out infinite;
}

.scroll-hint svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.scroll-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  color: var(--text-mid);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}

.scroll-btn:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.scroll-btn:active { transform: scale(0.95); }

/* The scroll track */
.reviews-track-wrapper {
  position: relative;
}

/* Fade edges to hint at more content */
.reviews-track-wrapper::before,
.reviews-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.reviews-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.reviews-track-wrapper.scrolled-start::before { opacity: 1; }

.reviews-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.reviews-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem 3rem 1.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.reviews-track::-webkit-scrollbar { display: none; }

/* Progress bar */
.scroll-progress {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 3rem;
}

.scroll-progress-bar {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.scroll-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  border-radius: 2px;
  width: 20%;
  transition: width 0.15s;
}

/* ========================================
   REVIEW CARDS
   ======================================== */
.review-card {
  flex-shrink: 0;
  width: 380px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.35s;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  opacity: 0;
  transition: opacity 0.3s;
}

.review-card:hover {
  border-color: rgba(109,40,217,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(109,40,217,0.1);
}

.review-card:hover::before { opacity: 1; }

.review-card.is-featured {
  background: var(--obsidian);
  border-color: rgba(109,40,217,0.15);
  width: 420px;
}

.review-card.is-featured::before { opacity: 1; }

.review-card.is-featured:hover {
  border-color: rgba(109,40,217,0.35);
  box-shadow: 0 12px 50px rgba(109,40,217,0.1);
}

/* Tags */
.tag-row {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 100px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  position: relative;
  z-index: 5;
}

.tag:hover { opacity: 0.85; transform: translateY(-1px); box-shadow: 0 2px 6px rgba(109,40,217,0.15); }
.tag-date, .tag-new { cursor: default; }
.tag-date:hover, .tag-new:hover { opacity: 1; transform: none; box-shadow: none; }

.tag-genre { background: rgba(109,40,217,0.12); color: var(--accent); }
.tag-csr { background: rgba(217,119,6,0.12); color: var(--glow-amber); }
.tag-new { background: rgba(99,102,241,0.12); color: var(--accent-blue); }
.tag-series { background: rgba(139,92,246,0.10); color: var(--accent-soft); }
.tag-author { background: rgba(0,0,0,0.05); color: var(--text-mid); }
.tag-date { background: transparent; color: var(--text-dim); border: 1px solid var(--border); }

.review-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.review-card.is-featured h3 { font-size: 1.45rem; }

.review-card .author-line {
  color: var(--text-dim);
  font-size: 0.82rem;
  font-style: italic;
  margin-bottom: 0.3rem;
}

.review-card .excerpt {
  color: var(--text-mid);
  font-size: 0.82rem;
  line-height: 1.65;
  margin-top: 0.8rem;
  flex-grow: 1;
}

.review-card .read-more {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 1.2rem;
  transition: gap 0.3s;
}

.review-card:hover .read-more { gap: 0.7rem; }

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 1300px;
  margin: 0 auto;
}

.stat {
  flex: 1;
  padding: 1.8rem 2.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

/* ========================================
   GENRES
   ======================================== */
.genres {
  padding: 6rem 3rem;
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-header h2 .serif-word {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
}

.section-header > a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s;
}

.section-header > a:hover { gap: 0.8rem; }

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

.genre-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.genre-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s;
}

.genre-card:nth-child(1)::before { background: linear-gradient(90deg, var(--accent), var(--accent-blue)); }
.genre-card:nth-child(2)::before { background: linear-gradient(90deg, var(--accent-soft), var(--glow-amber)); }
.genre-card:nth-child(3)::before { background: linear-gradient(90deg, var(--accent-blue), var(--accent)); }
.genre-card:nth-child(4)::before { background: linear-gradient(90deg, var(--glow-amber), var(--accent-soft)); }
.genre-card:nth-child(5)::before { background: linear-gradient(90deg, var(--accent), var(--accent-soft)); }
.genre-card:nth-child(6)::before { background: linear-gradient(90deg, var(--accent-blue), var(--glow-amber)); }

.genre-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.genre-card:hover::before { opacity: 1; }

.genre-emoji { font-size: 2rem; margin-bottom: 1rem; display: block; }

.genre-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.genre-card p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.genre-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.genre-meta span { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.genre-meta .arrow { color: var(--accent); font-size: 1rem; transition: transform 0.3s; }
.genre-card:hover .arrow { transform: translateX(4px); }

/* ========================================
   SYLLABUS
   ======================================== */
.syllabus-section {
  padding: 6rem 3rem;
  max-width: 1300px;
  margin: 0 auto;
}

.syllabus-banner {
  background: var(--obsidian);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 4rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.syllabus-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(109,40,217,0.08), transparent 70%);
  pointer-events: none;
}

.syllabus-icon { font-size: 4rem; flex-shrink: 0; }

.syllabus-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.syllabus-content p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.path-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.path-pill {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--text-mid);
  letter-spacing: 0.05em;
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter {
  padding: 6rem 3rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.newsletter h2 .serif-word {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
}

.newsletter p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.nl-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.nl-form input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
}

.nl-form input:focus { border-color: var(--accent); }
.nl-form input::placeholder { color: var(--text-dim); }

/* ========================================
   FOOTER
   ======================================== */
footer {
  padding: 3rem;
  border-top: 1px solid var(--border);
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p { font-size: 0.75rem; color: var(--text-dim); }
footer a { color: var(--text-dim); text-decoration: none; font-size: 0.75rem; }
footer a:hover { color: var(--accent); }

/* ========================================
   PAGE HEADER (shared across sub-pages)
   ======================================== */
.page-header {
  padding: 8rem 3rem 3rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.page-header .hero-glow {
  top: -20%;
  right: -10%;
}

.page-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}

.page-header h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-header h1 .serif-word {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header .page-desc {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}

/* ========================================
   FILTER BAR (reviews page)
   ======================================== */
.filter-bar {
  padding: 1.5rem 3rem;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.filter-bar label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 0.3rem;
}

.filter-select {
  padding: 0.5rem 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.filter-select:focus {
  border-color: var(--accent);
}

.search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.2rem;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.3s;
}

.search-box input:focus {
  border-color: var(--accent);
}

.search-box input::placeholder {
  color: var(--text-dim);
}

.search-box::before {
  content: '';
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid var(--text-dim);
  border-radius: 50%;
  pointer-events: none;
}

/* ========================================
   REVIEWS GRID (reviews page)
   ======================================== */
.reviews-grid-page {
  padding: 3rem;
  max-width: 1300px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.2rem;
}

.reviews-grid .review-card {
  width: auto;
  scroll-snap-align: unset;
}

.reviews-grid .review-card.is-featured {
  width: auto;
  grid-column: span 1;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-dim);
  font-size: 1rem;
}

/* ========================================
   SYLLABUS PAGE
   ======================================== */
.syllabus-paths {
  padding: 3rem;
  max-width: 1300px;
  margin: 0 auto;
}

.path-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s;
}

.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  opacity: 0;
  transition: opacity 0.3s;
}

.path-card:hover {
  border-color: rgba(109,40,217,0.2);
  transform: translateY(-2px);
}

.path-card:hover::before { opacity: 1; }

.path-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  gap: 1rem;
}

.path-card-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.path-type {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-weight: 500;
  white-space: nowrap;
  background: rgba(109,40,217,0.12);
  color: var(--accent);
}

.path-card > p {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.path-books {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.path-book {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--bg-hover);
  border-radius: 10px;
  transition: background 0.3s;
  text-decoration: none;
  color: inherit;
}

.path-book:hover {
  background: rgba(109,40,217,0.06);
}

.path-book-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--accent);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.path-book-info h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.path-book-info p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.path-book-tag {
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 100px;
  font-weight: 500;
  white-space: nowrap;
  background: rgba(109,40,217,0.08);
  color: var(--accent-soft);
  margin-left: auto;
  flex-shrink: 0;
}

/* Syllabus subsections */
.path-subsection {
  margin-top: 2rem;
}

.path-subsection-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.path-subsection-header h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.path-subsection-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-style: italic;
}

.path-book-summary {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  line-height: 1.5;
}

/* Discussion Topics box */
.discussion-box {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-left: 3px solid var(--accent);
}

.discussion-box h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.discussion-topic {
  margin-bottom: 1.2rem;
}

.discussion-topic:last-child {
  margin-bottom: 0;
}

.discussion-topic-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--accent-soft);
}

.discussion-topic p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-content {
  padding: 3rem;
  max-width: 1300px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.about-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s;
}

.about-card:nth-child(1)::before { background: linear-gradient(90deg, var(--accent), var(--accent-blue)); }
.about-card:nth-child(2)::before { background: linear-gradient(90deg, var(--accent-soft), var(--glow-amber)); }
.about-card:nth-child(3)::before { background: linear-gradient(90deg, var(--accent-blue), var(--glow-green)); }
.about-card:nth-child(4)::before { background: linear-gradient(90deg, var(--glow-amber), var(--accent)); }

.about-card:hover { border-color: rgba(109,40,217,0.2); }
.about-card:hover::before { opacity: 1; }

.about-card-icon { font-size: 2rem; margin-bottom: 1.2rem; display: block; }

.about-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.about-card p {
  color: var(--text-mid);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Founder section */
.founder-section {
  background: var(--obsidian);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 3.5rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.founder-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(109,40,217,0.08), transparent 70%);
  pointer-events: none;
}

.founder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.founder-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.founder-info .founder-role {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.founder-info p {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

/* Values list */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.value-item {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.value-item:hover {
  border-color: var(--border-strong);
}

.value-item span {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.6rem;
}

.value-item h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.value-item p {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-content {
  padding: 3rem;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.contact-info > p {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-method h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-method p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.contact-method a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-method a:hover {
  color: var(--accent-soft);
}

/* Contact form — custom styled */
.contact-form-wrapper {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .form-field {
  margin-bottom: 1.2rem;
}

.contact-form label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-form .btn-primary {
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* ========================================
   REVIEW DETAIL PAGE
   ======================================== */
.review-detail {
  padding: 0 3rem 4rem;
  max-width: 820px;
  margin: 0 auto;
}

.review-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.review-body h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.5rem 0 0.8rem;
  letter-spacing: -0.01em;
}

.review-body p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.review-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-raised);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Table of Contents */
.review-body .toc { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem 2rem; margin-bottom: 2.5rem; }
.review-body .toc h2 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; margin: 0 0 0.75rem; color: var(--text); letter-spacing: 0; }
.review-body .toc ol { margin: 0; padding-left: 1.25rem; line-height: 1.6; }
.review-body .toc li { margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--text-mid); }
.review-body .toc a { color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.review-body .toc a:hover { color: var(--accent); }

/* Rich content (Markdown) */
.review-body strong { font-weight: 700; }
.review-body em { font-style: italic; }
.review-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.review-body a:hover { color: var(--accent-soft); }
.review-body ul,
.review-body ol { margin: 1rem 0 1rem 1.5rem; color: var(--text-mid); font-size: 0.92rem; line-height: 1.85; }
.review-body li { margin-bottom: 0.4rem; }
.review-body img { max-width: 100%; border-radius: 12px; margin: 1.5rem 0; }
.review-body code { background: var(--obsidian); color: var(--text-soft); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.85em; }
.review-body pre { background: var(--obsidian); padding: 1.2rem; border-radius: 10px; overflow-x: auto; margin: 1.5rem 0; }
.review-body pre code { background: none; padding: 0; }
.review-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.review-body th,
.review-body td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--border); text-align: left; color: var(--text-mid); }
.review-body th { font-weight: 500; font-family: 'Syne', sans-serif; }
.review-body hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

.review-final-rating {
  margin: 2.5rem 0;
}

.review-final-rating h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2rem 0 0.6rem;
  letter-spacing: -0.01em;
}

.review-final-rating h2:first-child {
  margin-top: 0;
}

.review-final-rating p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 0.5rem;
}

.journal-prompts {
  background: var(--obsidian);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
}

.journal-prompts h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.journal-prompts ol,
.journal-prompts ul {
  padding-left: 1.2rem;
}

.journal-prompts li {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.journal-prompts p { color: var(--text-mid); font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.6rem; }
.journal-prompts strong { font-weight: 700; }

.review-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  gap: 1rem;
}

.review-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.3s;
}

.review-nav a:hover {
  color: var(--accent);
}

.review-nav .btn-primary {
  font-size: 0.78rem;
  padding: 0.5rem 1.2rem;
  color: #fff;
}

.review-nav .btn-primary:hover {
  color: #fff;
}

/* ========================================
   CARD BACKGROUND IMAGES
   ======================================== */
.card-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.review-card:hover .card-bg-image {
  opacity: 0.45;
}

.card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* ========================================
   REVIEW HERO (image + overlay metadata)
   ======================================== */
.review-hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.review-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.review-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.8) 50%, rgba(10,10,15,0.3) 100%);
  z-index: 1;
  pointer-events: none;
}

.review-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 6rem 3rem 2.5rem;
}

.review-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.review-hero-tags .tag {
  font-size: 0.65rem;
  padding: 0.28rem 0.7rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Lighten tag colours for dark hero context — same hues, brighter for contrast */
.review-hero-tags .tag-genre { background: rgba(109,40,217,0.35); color: #a78bfa; }
.review-hero-tags .tag-csr { background: rgba(217,119,6,0.35); color: #fbbf24; }
.review-hero-tags .tag-new { background: rgba(99,102,241,0.35); color: #818cf8; }
.review-hero-tags .tag-series { background: rgba(139,92,246,0.30); color: #c4b5fd; }
.review-hero-tags .tag-author { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.7); }
.review-hero-tags .tag-date { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); }

.review-hero-overlay h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: #fff;
}

.review-hero-overlay h1 .serif-word {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.review-hero-author {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.35rem;
}

.review-hero-reviewer {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.3rem;
}

.review-hero-dates {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.review-hero-overlay .toc {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  max-width: 500px;
}

.review-hero-overlay .toc h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0;
}

.review-hero-overlay .toc ol {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.5;
}

.review-hero-overlay .toc li {
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.review-hero-overlay .toc a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.review-hero-overlay .toc a:hover {
  color: var(--accent);
}

/* ========================================
   CARD BACKGROUND IMAGES (homepage)
   ======================================== */
.review-card[style*="background-image"] {
  position: relative;
}

/* Frosted tag backgrounds on cards for readability over images */
.review-card .tag {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.review-card .tag-genre { background: rgba(109,40,217,0.25); }
.review-card .tag-csr { background: rgba(217,119,6,0.25); }
.review-card .tag-new { background: rgba(99,102,241,0.25); }
.review-card .tag-series { background: rgba(139,92,246,0.22); }
.review-card .tag-author { background: rgba(0,0,0,0.10); }
.review-card .tag-date { background: rgba(0,0,0,0.05); }


/* ========================================
   CSR LEVEL LINK (review pages)
   ======================================== */
.csr-level-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity 0.3s;
}

.csr-level-link:hover {
  opacity: 0.8;
}

.csr-level-link:hover .csr-level {
  text-decoration: underline;
}

/* ========================================
   COMMENTS SECTION
   ======================================== */
.comments-section {
  margin: 3rem 0;
  padding: 2.5rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.comments-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.comments-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.comments-list {
  margin-bottom: 2rem;
}

.comment-item {
  padding: 1.2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.comment-author {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}

.comment-date {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.comment-text {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.comment-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.6rem;
}

.comment-action-btn {
  background: none;
  border: none;
  font-size: 0.72rem;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.2rem 0;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.comment-action-btn:hover {
  color: var(--accent);
}

.comment-action-btn.liked {
  color: var(--accent);
}

.comment-action-btn.disliked {
  color: var(--glow-amber);
}

.comment-pending {
  opacity: 0.6;
  font-style: italic;
}

.comment-pending::after {
  content: ' (Awaiting moderation)';
  font-size: 0.7rem;
  color: var(--text-dim);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.comment-form label {
  font-size: 0.75rem;
  color: var(--text-mid);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comment-form input,
.comment-form textarea {
  padding: 0.7rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--accent);
}

.comment-form textarea {
  resize: vertical;
  min-height: 100px;
}

.comment-form .btn-primary {
  align-self: flex-start;
}

.no-comments {
  text-align: center;
  padding: 2rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-style: italic;
}

/* PATH PILL LINKS */
a.path-pill {
  text-decoration: none;
  transition: all 0.3s;
}

a.path-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(109,40,217,0.05);
}

/* ========================================
   CSR LINK
   ======================================== */
.csr-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid var(--glow-amber);
  transition: all 0.3s;
}

.csr-link:hover {
  color: var(--glow-amber);
  border-bottom-color: var(--accent);
}

/* ========================================
   COMMENT SECTION
   ======================================== */
.comment-section {
  margin: 3rem 0;
  padding: 2.5rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.comment-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.comment-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.comment-form .form-field input,
.comment-form .form-field textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
}

.comment-form .form-field input:focus,
.comment-form .form-field textarea:focus {
  border-color: var(--accent);
}

.comment-form .form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.comment-form .btn-primary {
  align-self: flex-start;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.no-comments {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
  padding: 1.5rem 0;
}

.comment-item {
  padding: 1.2rem;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.comment-author {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
}

.comment-date {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.comment-text {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.comment-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
}

.comment-action {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s;
  font-family: 'DM Sans', sans-serif;
}

.comment-action:hover {
  color: var(--accent);
}

.comment-action.liked {
  color: var(--accent);
}

.comment-action.disliked {
  color: #f44336;
}

.comment-pending {
  opacity: 0.6;
  font-style: italic;
}

/* Path pill links */
a.path-pill {
  text-decoration: none;
  transition: all 0.3s;
}

a.path-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(109,40,217,0.05);
}

/* ========================================
   CONTENT SUITABILITY RATING PAGE
   ======================================== */
.csr-content {
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.csr-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s;
}

.csr-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

.csr-1::before { background: #3b82f6; }
.csr-2::before { background: #22c55e; }
.csr-3::before { background: #eab308; }
.csr-4::before { background: #ef4444; }

.csr-card:hover {
  border-color: rgba(109,40,217,0.2);
  transform: translateY(-2px);
}

.csr-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.csr-badge {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.csr-badge-1 { background: rgba(59,130,246,0.15); color: #3b82f6; }
.csr-badge-2 { background: rgba(34,197,94,0.15); color: #16a34a; }
.csr-badge-3 { background: rgba(234,179,8,0.15); color: #ca8a04; }
.csr-badge-4 { background: rgba(239,68,68,0.15); color: #ef4444; }

.csr-card-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.csr-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.csr-details > li {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.7;
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.csr-details > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.csr-details ul {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0 1rem;
}

.csr-details ul li {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.7;
  padding: 0.15rem 0 0.15rem 1rem;
  position: relative;
}

.csr-details ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
}

.csr-examples {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
  font-style: italic;
}

.csr-examples-label {
  font-style: normal;
  font-weight: 500;
  color: var(--text-mid);
}

/* ========================================
   SYLLABUS TOPIC FILTER
   ======================================== */
.syllabus-filter-bar {
  padding: 0 3rem 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.syllabus-filter-bar label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 0.3rem;
}

.syllabus-filter-bar .filter-select {
  padding: 0.5rem 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.syllabus-filter-bar .filter-select:focus {
  border-color: var(--accent);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(248,247,252,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem 1rem;
    width: 100%;
  }

  .nav-search-form input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2rem;
    background: var(--bg-hover);
  }

  .nav-search-form input:focus {
    width: 100%;
  }

  .nav-search {
    width: 100%;
    padding: 0.3rem 1rem;
  }

  .nav-subscribe-wrap {
    width: 100%;
    padding: 0.3rem 1rem;
  }

  .nav-subscribe-btn {
    width: 100%;
    text-align: left;
    padding: 0.8rem 1rem;
  }

  .nav-subscribe-dropdown {
    right: auto;
    left: 0;
    width: 100%;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero { padding: 6rem 1.5rem 2rem; }
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 2.6rem; }
  .reviews-header { padding: 0 1.5rem; }
  .reviews-track { padding: 0.5rem 1.5rem 1.5rem; }
  .review-card { width: 300px; }
  .review-card.is-featured { width: 320px; }
  .scroll-progress { padding: 0 1.5rem; }
  .genre-scroll { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .syllabus-banner { flex-direction: column; text-align: center; padding: 2.5rem; }
  .scroll-hint { display: none; }
  .genres { padding: 4rem 1.5rem; }
  .syllabus-section { padding: 4rem 1.5rem; }
  .newsletter { padding: 4rem 1.5rem; }
  footer { padding: 2rem 1.5rem; flex-direction: column; gap: 1rem; text-align: center; }
  .nl-form { flex-direction: column; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .section-header h2 { font-size: 2rem; }

  /* Sub-pages responsive */
  .page-header { padding: 6rem 1.5rem 2rem; }
  .filter-bar { padding: 1.2rem 1.5rem; flex-direction: column; align-items: stretch; }
  .search-box { min-width: unset; }
  .reviews-grid-page { padding: 2rem 1.5rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .syllabus-paths { padding: 2rem 1.5rem; }
  .path-card { padding: 1.8rem; }
  .path-card-header { flex-direction: column; }
  .about-content { padding: 2rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .founder-section { flex-direction: column; text-align: center; padding: 2.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-content { padding: 2rem 1.5rem; grid-template-columns: 1fr; }
  .review-detail { padding: 0 1.5rem 3rem; }
  .review-final-rating { margin: 2rem 0; }
  .review-nav { flex-direction: column; text-align: center; }
  .review-hero { min-height: 300px; }
  .review-hero-overlay { padding: 4rem 1.5rem 2rem; }
  .comments-section { padding: 1.5rem; }
  .comment-form textarea { min-height: 80px; }
  .comment-section { padding: 1.5rem; margin: 2rem 0; }
  .comment-header { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .csr-content { padding: 2rem 1.5rem; }
  .csr-card { padding: 1.8rem; }
  .csr-card-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .syllabus-filter-bar { padding: 0 1.5rem 1.5rem; flex-direction: column; align-items: stretch; }
  .admin-hub { padding: 2rem 1.5rem; }
  .admin-hub-grid { grid-template-columns: 1fr; }
  .admin-moderation { padding: 2rem 1.5rem; }
}

/* ========================================
   ADMIN HUB
   ======================================== */
.admin-hub {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

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

.admin-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s;
}

.admin-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(109,40,217,0.1);
  transform: translateY(-2px);
}

.admin-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
  transition: background 0.3s;
}

.admin-card:hover .admin-card-icon {
  background: var(--accent);
  color: #fff;
}

.admin-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.admin-card p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ========================================
   ADMIN MODERATION PAGE
   ======================================== */
.admin-moderation {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}

.moderation-login {
  display: flex;
  justify-content: center;
  padding: 3rem 0;
}

.moderation-login-card {
  text-align: center;
  padding: 3rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 400px;
}

.moderation-login-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}

.moderation-login-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.moderation-empty {
  text-align: center;
  padding: 3rem 0;
}

.moderation-empty h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}

.moderation-empty p {
  font-size: 0.85rem;
  color: var(--text-mid);
}

.moderation-group {
  margin-bottom: 2rem;
}

.moderation-group-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.moderation-count {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--glow-amber);
  background: rgba(217,119,6,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.moderation-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.moderation-actions .btn-primary,
.moderation-actions .btn-ghost {
  font-size: 0.72rem;
  padding: 0.4rem 1rem;
}
