/* Chronicle Landing Page Theme */
:root {
  --bg: #111010;
  --bg-elevated: #1a1918;
  --bg-card: #201f1d;
  --fg: #F2EFE9;
  --fg-muted: #9B9589;
  --accent: #D4A853;
  --accent-dim: rgba(212, 168, 83, 0.15);
  --accent-glow: rgba(212, 168, 83, 0.08);
  --border: rgba(242, 239, 233, 0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ─── HEADER ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(17,16,16,0.95) 0%, rgba(17,16,16,0) 100%);
  backdrop-filter: blur(0px);
}
.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.logo:hover { color: var(--accent); }
.logo svg { flex-shrink: 0; }

.header-nav { display: flex; gap: 32px; }
.header-nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--accent); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, 0.06);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ring-outer { width: 700px; height: 700px; }
.ring-mid { width: 450px; height: 450px; border-color: rgba(212, 168, 83, 0.09); }
.ring-inner { width: 220px; height: 220px; border-color: rgba(212, 168, 83, 0.14); }

.hero-star {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
}
.s1 { width: 3px; height: 3px; top: 20%; left: 15%; }
.s2 { width: 2px; height: 2px; top: 35%; right: 22%; opacity: 0.5; }
.s3 { width: 4px; height: 4px; bottom: 30%; left: 25%; opacity: 0.2; }
.s4 { width: 2px; height: 2px; top: 55%; right: 12%; opacity: 0.4; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 32px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.meta-sep { color: var(--accent); opacity: 0.5; }

.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── SECTION SHARED ─────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.philosophy-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 24px;
}

/* ─── PHILOSOPHY ─────────────────────────────────── */
.philosophy {
  padding: 100px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}
.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 28px;
  margin: 0 0 32px;
  line-height: 1.4;
}
.philosophy-body {
  color: var(--fg-muted);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 640px;
}
.philosophy-body em { color: var(--fg); font-style: italic; }

/* ─── SERIES ─────────────────────────────────────── */
.series {
  padding: 100px 48px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.series-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}
.series-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.series-card {
  background: var(--bg-card);
  padding: 48px;
  position: relative;
  transition: background 0.3s;
}
.series-card:hover { background: #252420; }
.card-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 32px;
  right: 40px;
  line-height: 1;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.card-desc {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.card-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ─── ERASURE ─────────────────────────────────────── */
.erasure-section {
  padding: 100px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.erasure-header {
  max-width: 1200px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.erasure-count {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  margin-top: 8px;
}
.erasure-featured {
  max-width: 1200px;
  margin: 0 auto 64px;
}
.erasure-video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: 24px;
}
.erasure-video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.erasure-share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }
.share-youtube {
  background: #FF0000;
  color: #fff;
}
.share-tiktok {
  background: linear-gradient(135deg, #EE1D52 0%, #69C9D0 100%);
  color: #fff;
}
.share-copy {
  background: var(--bg-card);
  color: var(--fg);
  border: 1px solid var(--border);
}
.share-copy svg { flex-shrink: 0; }
.erasure-episode-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.erasure-episode-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.erasure-episode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.episode-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.episode-thumbnail img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.episode-duration {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 2px;
}
.episode-content { padding: 20px; }
.episode-era {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.episode-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--fg);
}
.episode-description {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.erasure-empty {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 24px;
  color: var(--fg-muted);
  background: var(--bg-card);
  border-radius: 8px;
}

/* ─── APPROACH ───────────────────────────────────── */
.approach {
  padding: 100px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.approach-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.approach-item h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.approach-item p {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.approach-icon {
  display: block;
  margin-bottom: 20px;
}
.approach-note {
  color: var(--fg-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 600px;
}

/* ─── CLOSING ────────────────────────────────────── */
.closing {
  padding: 120px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-overline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 32px;
}
.closing-body {
  color: var(--fg-muted);
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
  padding: 64px 48px 40px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-tagline {
  color: var(--fg-muted);
  font-size: 0.8125rem;
  margin-left: 38px;
}
.footer-links { display: flex; gap: 64px; }
.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  color: var(--fg-muted);
  font-size: 0.8125rem;
}
.footer-built a {
  color: var(--fg-muted);
  text-decoration: none;
}
.footer-built a:hover { color: var(--accent); }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  .site-header { padding: 0 24px; }
  .header-nav { display: none; }
  .hero { padding: 100px 24px 60px; }
  .philosophy { padding: 64px 24px; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 32px; }
  .series { padding: 64px 24px; }
  .series-grid { grid-template-columns: 1fr; }
  .approach { padding: 64px 24px; }
  .approach-inner { grid-template-columns: 1fr; gap: 32px; }
  .approach-grid { grid-template-columns: 1fr; gap: 32px; }
  .closing { padding: 80px 24px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .scroll-indicator { display: none; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .series-card { padding: 32px 24px; }
  .footer-links { gap: 32px; }
}