/*
Theme Name: Ask Nietzsche
Theme URI:  https://asknietzsche.ai
Author:     Scriptus
Description: Custom theme for AskNietzsche.ai — built from the complete published works.
Version:    1.0.0
Text Domain: ask-nietzsche
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --bg-void:        #080608;
  --bg-deep:        #0C090C;
  --bg-surface:     #120F14;
  --bg-raised:      #1A151C;
  --bg-card:        #201820;
  --red:            #9B2335;
  --red-bright:     #C4364A;
  --red-dim:        #6B1825;
  --red-glow:       rgba(155,35,53,0.18);
  --red-glow-sm:    rgba(155,35,53,0.09);
  --silver:         #C8C0CC;
  --silver-bright:  #E8E0EE;
  --silver-dim:     #7A7080;
  --text-primary:   #EAE4F0;
  --text-secondary: #A89EB8;
  --text-dim:       #6A6078;
  --text-faint:     #3A3045;
  --border:         rgba(155,35,53,0.14);
  --border-bright:  rgba(155,35,53,0.32);
  --border-silver:  rgba(200,192,204,0.12);
  --border-silver-b:rgba(200,192,204,0.25);
  --ff-display:     'Playfair Display', Georgia, serif;
  --ff-body:        'EB Garamond', Georgia, serif;
  --transition:     0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 18px; }

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
}

::selection { background: var(--red-glow); color: var(--red-bright); }

/* Film grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.55;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(8,6,8,0.7) 100%);
  pointer-events: none;
  z-index: 999;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--red-dim); border-radius: 2px; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem, 6.5vw, 6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--red-bright); text-decoration: none; transition: color var(--transition); }
a:hover { color: #E05070; }

strong { font-weight: 600; color: var(--text-primary); }
em { font-style: italic; color: var(--text-secondary); }

/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.container        { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-dim);
  font-weight: 400;
}

.divider-red { width: 40px; height: 2px; background: var(--red); margin: 0 auto 2rem; }
.divider-red--left { margin-left: 0; }

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 20px rgba(155,35,53,0.15); }
  50%       { box-shadow: 0 0 50px rgba(155,35,53,0.35); }
}
@keyframes flicker-i {
  0%, 100% { opacity: 1; }
  85% { opacity: 1; }
  86% { opacity: 0.7; }
  87% { opacity: 1; }
  95% { opacity: 1; }
  96% { opacity: 0.85; }
  97% { opacity: 1; }
}
@keyframes drift {
  0%   { transform: translateY(0) translateX(0); }
  33%  { transform: translateY(-6px) translateX(3px); }
  66%  { transform: translateY(4px) translateX(-2px); }
  100% { transform: translateY(0) translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition);
}
#site-nav.scrolled {
  background: rgba(8,6,8,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.admin-bar #site-nav { top: 32px; }

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  animation: fadeIn 1s ease both;
}
.nav-logo span { color: var(--red-bright); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  animation: fadeIn 1s ease 0.2s both;
}
.nav-links a {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--red-bright); }

.nav-cta {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--border-bright);
  color: var(--red-bright);
  border-radius: 1px;
  transition: all var(--transition);
  animation: fadeIn 1s ease 0.3s both;
}
.nav-cta:hover {
  background: var(--red-glow);
  border-color: var(--red-bright);
  color: #E05070;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--text-dim);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  transition: all var(--transition);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

#hero::before {
  content: '';
  position: absolute;
  bottom: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(155,35,53,0.12) 0%,
    rgba(155,35,53,0.05) 40%,
    transparent 70%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent, transparent 60px,
    rgba(155,35,53,0.025) 60px,
    rgba(155,35,53,0.025) 61px
  );
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-eyebrow { animation: fadeUp 0.8s ease 0.2s both; margin-bottom: 1.8rem; display: block; }

.hero-title {
  animation: fadeUp 0.9s ease 0.4s both;
  margin-bottom: 0.6rem;
  position: relative;
  font-weight: 900;
}

.hero-title-line { display: block; position: relative; }
.hero-title-line.accented { color: var(--text-primary); }
.hero-title-line.accented em { color: var(--red-bright); font-style: italic; font-weight: 700; }

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 1.4rem auto 2.8rem;
  font-weight: 400;
  animation: fadeUp 0.9s ease 0.65s both;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeUp 0.9s ease 0.85s both;
  margin-bottom: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  background: linear-gradient(135deg, #9B2335 0%, #6B1825 100%);
  color: #F0E8EE;
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: all var(--transition);
  animation: pulse-red 5s ease-in-out infinite;
  border: 1px solid rgba(155,35,53,0.6);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #C4364A 0%, #9B2335 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(155,35,53,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 1px solid var(--border-silver-b);
  color: var(--text-dim);
  font-family: var(--ff-body);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: all var(--transition);
}
.btn-secondary:hover {
  border-color: var(--silver-dim);
  color: var(--silver);
  background: rgba(200,192,204,0.05);
}

.hero-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  animation: fadeUp 0.9s ease 1.05s both;
}

/* ═══════════════════════════════════════════
   BOT EMBED SECTION
═══════════════════════════════════════════ */
#bot-section { padding: 0 2rem 6rem; position: relative; }

.bot-container {
  max-width: 880px;
  margin: 0 auto;
  animation: fadeUp 1s ease 1.1s both;
}

.bot-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(155,35,53,0.06),
    0 25px 80px rgba(0,0,0,0.8),
    0 0 100px rgba(155,35,53,0.06);
}

.bot-frame-header {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bot-frame-left { display: flex; align-items: center; gap: 0.6rem; }
.bot-frame-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-dim);
  opacity: 0.5;
}
.bot-frame-dot:nth-child(2) { background: var(--silver-dim); opacity: 0.3; }
.bot-frame-dot:nth-child(3) { background: var(--silver-dim); opacity: 0.2; }

.bot-frame-label {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.bot-frame-label span { color: var(--red-dim); }

.bot-frame-right {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.bot-placeholder {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-deep) 100%);
  position: relative;
}

.portrait-svg {
  width: 110px; height: 130px;
  margin-bottom: 2rem;
  animation: flicker-i 9s ease-in-out infinite, drift 18s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(155,35,53,0.25));
  opacity: 0.75;
}

/* Uploaded portrait image in bot section */
.portrait-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 2rem;
  border: 1px solid var(--border-bright);
  filter: grayscale(20%) contrast(1.05);
  box-shadow: 0 0 40px rgba(155,35,53,0.2);
}

.bot-welcome {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
  text-align: center;
  max-width: 500px;
  line-height: 1.55;
  margin-bottom: 2.2rem;
}

.bot-input-mock {
  width: 100%;
  max-width: 560px;
  display: flex;
  gap: 0.8rem;
}
.bot-input-field {
  flex: 1;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 1px;
  padding: 0.9rem 1.2rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--text-dim);
  font-style: italic;
}
.bot-input-send {
  padding: 0.9rem 1.5rem;
  background: var(--red-glow);
  border: 1px solid var(--border-bright);
  border-radius: 1px;
  color: var(--red-bright);
  font-family: var(--ff-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.bot-input-send:hover { background: rgba(155,35,53,0.22); color: #E05070; }

.bot-quota {
  position: absolute;
  bottom: 1.1rem; right: 1.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.bot-quota .free { color: var(--red-dim); }

.works-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(155,35,53,0.06);
  border-top: 1px solid var(--border);
  padding: 0.5rem 1.2rem;
  display: flex;
  gap: 3rem;
  overflow: hidden;
}
.works-ticker span {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  flex-shrink: 0;
}
.works-ticker span.active { color: var(--red-dim); }

/* Voiceflow live embed wrapper */
.bot-embed-live {
  width: 100%;
  min-height: 540px;
  position: relative;
}

/* ═══════════════════════════════════════════
   QUOTE BAND
═══════════════════════════════════════════ */
.quote-band {
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.quote-band--dark {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-band--raised {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-band--compact { padding: 3.5rem 2rem; }

.quote-band::before {
  content: '\201C';
  position: absolute;
  font-family: var(--ff-display);
  font-size: 28rem;
  color: rgba(155,35,53,0.04);
  top: -8rem; right: -2rem;
  line-height: 1;
  pointer-events: none;
  font-weight: 900;
}

.quote-text {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--text-primary);
  max-width: 820px;
  margin: 0 auto 1.4rem;
  line-height: 1.35;
}
.quote-source {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-dim);
}

/* ═══════════════════════════════════════════
   WHO WAS NIETZSCHE
═══════════════════════════════════════════ */
#who {
  padding: 7rem 2rem;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
#who::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 100%;
  background: linear-gradient(270deg, rgba(155,35,53,0.06) 0%, transparent 100%);
  pointer-events: none;
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.who-content .eyebrow { display: block; margin-bottom: 1.2rem; }
.who-content h2 { margin-bottom: 0.5rem; }
.who-content .who-dates-inline {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2rem;
  display: block;
}
.who-content p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; }
.who-content .warning {
  margin-top: 1.5rem;
  padding: 1rem 1.4rem;
  background: rgba(155,35,53,0.08);
  border-left: 2px solid var(--red);
}
.who-content .warning p { font-size: 0.9rem; color: var(--text-secondary); font-style: italic; margin: 0; }

.who-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-large {
  width: 300px; height: 340px;
  filter: drop-shadow(0 0 60px rgba(155,35,53,0.2));
  opacity: 0.7;
  animation: drift 20s ease-in-out infinite;
}

/* Uploaded image in Who section */
.portrait-large.portrait-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  max-height: 460px;
  border-radius: 2px;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  animation: none;
  filter: grayscale(15%) contrast(1.05);
  border: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(155,35,53,0.15);
}

/* ═══════════════════════════════════════════
   HIS WORKS
═══════════════════════════════════════════ */
#works {
  padding: 6rem 2rem;
  background: var(--bg-void);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .eyebrow { margin-bottom: 1rem; display: block; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.work-card {
  background: var(--bg-surface);
  padding: 2.2rem 1.8rem;
  transition: background var(--transition);
  position: relative;
}
.work-card:hover { background: var(--bg-raised); }
.work-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.work-card:hover::before { transform: scaleX(1); }

.work-year {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-dim);
  margin-bottom: 0.6rem;
  display: block;
}
.work-title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  font-style: italic;
}
.work-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
#how { padding: 6rem 2rem; background: var(--bg-deep); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(155,35,53,0.1);
  border: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  background: var(--bg-surface);
  padding: 2.5rem 1.8rem;
  position: relative;
  transition: background var(--transition);
}
.step:hover { background: var(--bg-card); }

.step-num {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(155,35,53,0.2);
  line-height: 1;
  margin-bottom: 1.2rem;
}
.step-title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}
.step p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.7; }

/* ═══════════════════════════════════════════
   PRICING
═══════════════════════════════════════════ */
#pricing { padding: 6rem 2rem; background: var(--bg-void); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-silver);
  border-radius: 2px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  border-color: rgba(200,192,204,0.25);
  background: var(--bg-raised);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--red-dim);
  background: var(--bg-card);
}

.plan-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #9B2335, #6B1825);
  color: #F0E0E4;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 0 0 2px 2px;
  white-space: nowrap;
}

.plan-name {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-dim);
  margin-bottom: 1.2rem;
  display: block;
}
.plan-price {
  font-family: var(--ff-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.plan-price sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 0.5rem;
  color: var(--red-bright);
}
.plan-cadence { font-size: 0.78rem; color: var(--text-faint); margin-bottom: 2rem; }
.plan-divider { height: 1px; background: var(--border); margin-bottom: 1.8rem; }

.plan-features { list-style: none; margin-bottom: 2rem; }
.plan-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(155,35,53,0.06);
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.plan-features li::before { content: '—'; color: var(--red-dim); flex-shrink: 0; font-size: 0.8rem; }
.plan-features li.highlight { color: var(--text-primary); }
.plan-features li.highlight::before { color: var(--red-bright); }

.plan-btn {
  display: block;
  width: 100%;
  padding: 0.9rem;
  text-align: center;
  border: 1px solid var(--border-bright);
  color: var(--red-bright);
  font-family: var(--ff-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: all var(--transition);
  cursor: pointer;
  background: transparent;
}
.plan-btn:hover,
.plan-btn.primary {
  background: linear-gradient(135deg, #9B2335, #6B1825);
  color: #F0E0E4;
  border-color: transparent;
}
.plan-btn.primary { font-weight: 600; }

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
#faq { padding: 6rem 2rem; background: var(--bg-deep); }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.6rem 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  text-align: left;
}
.faq-question:hover .faq-q-text { color: var(--red-bright); }
.faq-q-text {
  font-family: var(--ff-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition);
}
.faq-icon {
  color: var(--red-dim);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p {
  padding-bottom: 1.6rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════
   THE RECORD, SET STRAIGHT
═══════════════════════════════════════════ */
#record { padding: 4rem 2rem; background: var(--bg-void); }
.record-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
}
.record-inner .eyebrow { display: block; margin-bottom: 1rem; }
.record-inner h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.record-inner p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}
.record-inner p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   READING LIST
═══════════════════════════════════════════ */
#reading {
  padding: 6rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.reading-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.reading-content .eyebrow { display: block; margin-bottom: 1rem; }
.reading-content h2 { margin-bottom: 1.2rem; }
.reading-content p { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; margin-bottom: 1.8rem; }

.reading-spines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  height: 240px;
}

.spine {
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), filter var(--transition);
}
.spine:hover { transform: translateY(-5px); filter: brightness(1.15); }

.s1 { background: linear-gradient(180deg, #1C0810 0%, #0E0408 100%); border-left: 3px solid #9B2335; }
.s2 { background: linear-gradient(180deg, #0E101C 0%, #080810 100%); border-left: 3px solid #3545A0; }
.s3 { background: linear-gradient(180deg, #101C0E 0%, #081008 100%); border-left: 3px solid #359050; }
.s4 { background: linear-gradient(180deg, #1C180C 0%, #100E04 100%); border-left: 3px solid #A09035; }
.s5 { background: linear-gradient(180deg, #1C0C1C 0%, #100810 100%); border-left: 3px solid #9035A0; }
.s6 { background: linear-gradient(180deg, #1C100C 0%, #100804 100%); border-left: 3px solid #A05035; }

/* Spine with uploaded book cover image */
.spine.has-cover { background: none !important; border-left: none !important; }
.spine.has-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spine-title {
  font-family: var(--ff-display);
  font-size: 0.65rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(234,228,240,0.6);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  text-align: center;
  line-height: 1.3;
  padding: 0.5rem 0;
}

/* ═══════════════════════════════════════════
   SCRIPTUS CALLOUT
═══════════════════════════════════════════ */
#scriptus { padding: 6rem 2rem; background: var(--bg-deep); text-align: center; }

.scriptus-inner { max-width: 680px; margin: 0 auto; }
.scriptus-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2rem;
}
.scriptus-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.scriptus-inner h2 { margin-bottom: 1.2rem; }
.scriptus-inner p { color: var(--text-secondary); font-size: 1.02rem; margin-bottom: 1.5rem; line-height: 1.8; }

/* ═══════════════════════════════════════════
   CROSS-SELL
═══════════════════════════════════════════ */
#cross-sell {
  padding: 4rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.cross-sell-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--bg-raised);
  border: 1px solid var(--border-silver);
  border-radius: 2px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.cross-sell-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(200,169,110,0.06) 100%);
  pointer-events: none;
}
.cross-sell-text { flex: 1; }
.cross-sell-text .eyebrow { display: block; margin-bottom: 0.8rem; }
.cross-sell-text h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
.cross-sell-text p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }
.cross-cta { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.btn-cross {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border: 1px solid rgba(200,169,110,0.4);
  color: #C8A96E;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-cross:hover {
  background: rgba(200,169,110,0.1);
  border-color: #C8A96E;
  color: #E2C07A;
}
.cross-note { font-size: 0.72rem; color: var(--text-faint); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 3.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .logo {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}
.footer-brand .logo span { color: var(--red-bright); }
.footer-brand p { font-size: 0.83rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 1.2rem; }
.footer-scriptus-link {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--red-dim);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 1px;
  display: inline-block;
  transition: all var(--transition);
}
.footer-scriptus-link:hover { border-color: var(--red-dim); color: var(--red-bright); }

.footer-col h4 {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { font-size: 0.86rem; color: var(--text-dim); transition: color var(--transition); }
.footer-col a:hover { color: var(--red-bright); }

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.73rem; color: var(--text-faint); letter-spacing: 0.04em; margin: 0; }
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--red-dim); }

/* ═══════════════════════════════════════════
   INNER PAGE
═══════════════════════════════════════════ */
.inner-page {
  padding: 9rem 2rem 6rem;
  min-height: 80vh;
}
.inner-page .container { max-width: 760px; }
.inner-page h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
  color: var(--text-primary);
}
.inner-page h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin: 2rem 0 1rem; color: var(--text-primary); }
.inner-page h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin: 1.5rem 0 0.75rem; color: var(--text-secondary); }
.inner-page p { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.85; }
.inner-page a { color: var(--red-bright); }
.inner-page ul, .inner-page ol { color: var(--text-secondary); padding-left: 1.5em; margin-bottom: 1.2em; }
.inner-page li { margin-bottom: 0.4em; line-height: 1.8; }

/* ═══════════════════════════════════════════
   READING LIST ARCHIVE PAGE
═══════════════════════════════════════════ */
.reading-list-page {
  padding: 9rem 2rem 6rem;
  background: var(--bg-void);
  min-height: 100vh;
}
.reading-list-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 5rem;
}
.reading-list-header .eyebrow { display: block; margin-bottom: 1rem; }
.reading-list-header h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}
.reading-list-header p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; }

.book-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

.book-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2.5rem;
  transition: border-color var(--transition);
}
.book-card:hover { border-color: var(--border-bright); }

.book-spine-visual {
  width: 100%;
  height: 260px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.book-spine-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-dim);
  border: 1px solid var(--border-bright);
  padding: 0.2rem 0.6rem;
  border-radius: 1px;
  margin-bottom: 0.8rem;
}

.book-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}
.book-author {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-dim);
  margin-bottom: 1.2rem;
  display: block;
}
.book-excerpt {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  border-left: 2px solid var(--red-dim);
  padding-left: 1rem;
}
.book-desc { font-size: 0.95rem; color: var(--text-dim); line-height: 1.8; margin-bottom: 1.5rem; }

.book-amazon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: linear-gradient(135deg, #9B2335, #6B1825);
  color: #F0E0E4;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: all var(--transition);
}
.book-amazon-btn:hover {
  background: linear-gradient(135deg, #C4364A, #9B2335);
  color: #fff;
}

.book-affiliate-note {
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .who-grid { grid-template-columns: 1fr; }
  .who-visual { display: none; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .reading-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .cross-sell-inner { flex-direction: column; }
  .book-card { grid-template-columns: 1fr; }
  .book-spine-visual { height: 200px; max-width: 160px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8,6,8,0.97);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 200;
  }
  .nav-links.open a { font-size: 1.2rem; }
  .nav-toggle { display: block; z-index: 201; }
  .nav-cta { display: none; }
}

@media (max-width: 600px) {
  html { font-size: 16px; }
  .works-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .reading-spines { grid-template-columns: repeat(3, 1fr); height: 180px; }
}
