:root {
  --bg: #131216;
  --surface: #1c1b20;
  --surface2: #242330;
  --text: #ede8df;
  --text-muted: #9a948c;
  --text-dim: #5c5750;
  --border: rgba(237, 232, 223, 0.08);
  --accent-indigo: #5b6bd4;
  --accent-blue: #4a9fc9;
  --accent-red: #c95f5f;
  --accent-orange: #d4843a;
  --accent-green: #5aad6e;
  --accent-pink: #d47ba8;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 32px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(212, 123, 168, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(91, 107, 212, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 70%, rgba(201, 95, 95, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(72px, 14vw, 180px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 48px;
}

.hero-title em {
  font-style: italic;
  color: #d47ba8;
}

.hero-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  position: relative;
}

.quote-mark {
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.3em;
  color: var(--accent-pink);
  opacity: 0.5;
}

.book-titles {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.separator { color: var(--border); }

.color-bar {
  width: 100%;
  height: 6px;
  display: flex;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.swatch {
  flex: 1;
  display: block;
}

.swatch-grey { background: #4a4845; }
.swatch-indigo { background: var(--accent-indigo); }
.swatch-blue { background: var(--accent-blue); }
.swatch-red { background: var(--accent-red); }
.swatch-orange { background: var(--accent-orange); }
.swatch-green { background: var(--accent-green); }
.swatch-pink { background: var(--accent-pink); }

/* ── SECTIONS ── */
.section-inner { max-width: 900px; margin: 0 auto; padding: 0 32px; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 24px;
  font-weight: 400;
}

section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
  color: var(--text);
}

/* ── THE WORLD ── */
.theworld { padding: 120px 0; }

.world-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.world-body:last-child { margin-bottom: 0; }

/* ── THE COLORS ── */
.thecolors {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.colors-intro {
  color: var(--text-muted);
  margin-bottom: 56px;
  font-size: 1rem;
  max-width: 640px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  margin-bottom: 48px;
}

.color-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  background: var(--surface2);
  position: relative;
}

.color-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.color-indigo::before { background: var(--accent-indigo); }
.color-blue::before { background: var(--accent-blue); }
.color-red::before { background: var(--accent-red); }
.color-orange::before { background: var(--accent-orange); }
.color-green::before { background: var(--accent-green); }
.color-pink::before { background: var(--accent-pink); }

.color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.color-indigo .color-dot { background: var(--accent-indigo); }
.color-blue .color-dot { background: var(--accent-blue); }
.color-red .color-dot { background: var(--accent-red); }
.color-orange .color-dot { background: var(--accent-orange); }
.color-green .color-dot { background: var(--accent-green); }
.color-pink .color-dot { background: var(--accent-pink); }

.color-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.color-theme {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.colors-closing {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  border-left: 2px solid var(--accent-pink);
  padding-left: 20px;
  max-width: 560px;
}

/* ── CHARACTERS ── */
.thecharacters { padding: 120px 0; }

.character-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.character-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  min-height: 100px;
}

.character h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.character p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.characters-note {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-style: italic;
  max-width: 600px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
}

/* ── REPRESENTATION ── */
.therepresentation {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.rep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
}

.rep-item {}

.rep-icon {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-indigo));
  margin-bottom: 20px;
  opacity: 0.7;
}

.rep-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.rep-item p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── WHY IT MATTERS ── */
.whyit { padding: 120px 0; }

.stats-row {
  display: flex;
  gap: 48px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.stat {}

.stat-number {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  line-height: 1.4;
  display: block;
  max-width: 120px;
}

.why-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 680px;
}

/* ── CLOSING ── */
.closing-section {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.closing-section h2 { color: var(--text); }

.closing-section p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 20px;
}

.closing-section p:last-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 0;
}

/* ── FOOTER ── */
footer {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.footer-inner { text-align: center; }

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-trilogy {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.footer-author {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding-top: 80px; }
  .hero-title { font-size: clamp(56px, 18vw, 100px); }
  .character-grid { grid-template-columns: 1fr; gap: 32px; }
  .character-divider { display: none; }
  .stats-row { gap: 32px; }
  .stat-number { font-size: 2.2rem; }
  .color-grid { grid-template-columns: 1fr 1fr; }
  .rep-grid { gap: 32px; }
}

@media (max-width: 480px) {
  .section-inner { padding: 0 20px; }
  .color-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 24px; }
  .book-titles { flex-direction: column; gap: 8px; }
  .separator { display: none; }
}