/* ===========================================================
   THE MODERN WORLD — V2
   Deck-inspired, cinematic, classy
   =========================================================== */

:root {
  --gold:        #e2a201;
  --gold-warm:   #c98c00;
  --ink:         #0f0f10;
  --ink-soft:    #1a1a1c;
  --cream:       #ece6d8;
  --cream-deep:  #e3dccb;
  --paper-text:  #1c1a16;
  --light-text:  #ece6d8;
  --hairline:    rgba(0,0,0,.55);
  --hairline-l:  rgba(236,230,216,.4);
  --shadow-card: 0 18px 50px rgba(0,0,0,.55);
  --maxw:        980px;
  --maxw-narrow: 720px;

  --display-font: "Della Respira", "Cinzel", "Cinzel Decorative", Georgia, serif;
  --serif-font:   "Cormorant Garamond", "Georgia", serif;
  --body-font:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body-font);
  color: var(--paper-text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
em { font-style: italic; }
strong { font-weight: 700; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9vh 28px 10vh;
  overflow: hidden;
  background: #0a1520;
  color: var(--light-text);
}

/* Deck-style hairlines top + bottom of hero */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  height: 1px;
  background: rgba(236, 230, 216, .55);
  z-index: 3;
  pointer-events: none;
}
.hero::before { top: 28px; }
.hero::after  { bottom: 28px; }

.hero-bg {
  position: absolute; inset: 0;
  background-image: url("images/background.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1) contrast(1.05) brightness(1.15);
  transform: scale(1.04);
  animation: heroDrift 28s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(-0.6%, -0.4%, 0); }
  to   { transform: scale(1.08) translate3d(0.6%, 0.4%, 0); }
}

.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 70% at 50% 30%, rgba(0,0,0,.0), rgba(0,0,0,.25) 70%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.0) 30%, rgba(0,0,0,.35) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1020px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
}

.hero-logo {
  width: min(86%, 440px);
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.6));
}

.hero-copy {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
}

.lede {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--light-text);
}
.lede em { color: var(--gold); font-style: italic; font-weight: 500; }

.hero-cta-label {
  margin: 6px 0 -10px;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(236,230,216,.72);
  font-weight: 500;
  position: relative;
  padding: 0 18px;
}
.hero-cta-label::before,
.hero-cta-label::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(226,162,1,.55);
  vertical-align: middle;
  margin: 0 12px;
}
.hero-cta-label--video { margin-top: 18px; }

/* ---------- Form (gold button) ---------- */
.tmw-form { width: 100%; margin: 0; max-width: 620px; align-self: center; }

.tmw-bar {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 62px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0,0,0,.4);
}
.tmw-input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  font-family: var(--body-font);
  font-size: 16px;
  color: #111;
  padding: 0 18px;
  outline: none;
  min-width: 0;
}
.tmw-input::placeholder { color: #9a9a9a; }

.tmw-button-wrapper {
  background: #fff;
  display: flex;
  align-items: center;
  padding: 4px;
}
.tmw-button {
  border: 0;
  background: var(--gold);
  color: #111;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  padding: 0 26px;
  height: 100%;
  cursor: pointer;
  white-space: nowrap;
  transition: filter .2s ease, transform .08s ease;
}
.tmw-button:hover  { filter: brightness(1.08); }
.tmw-button:active { transform: translateY(1px); }

/* ---------- Video ---------- */
.video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(226,162,1,.45),
    0 0 0 6px rgba(15,15,16,.85),
    0 0 0 7px rgba(226,162,1,.35),
    0 30px 90px rgba(0,0,0,.7),
    0 0 60px rgba(226,162,1,.06);
  overflow: hidden;
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Hero video gets the cinema treatment */
.hero .video {
  max-width: 980px;
  margin: 0 auto;
}

/* ---------- Scroll hint ---------- */
.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(236,230,216,.7);
  text-decoration: none;
  animation: floatHint 2.4s ease-in-out infinite;
}
.scroll-hint:hover { color: var(--gold); }
@keyframes floatHint {
  0%, 100% { transform: translateY(0); opacity: .85; }
  50%      { transform: translateY(4px); opacity: 1; }
}

/* ===========================================================
   SECTION BASE
   =========================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; }

/* ---------- Paper (cream) sections ---------- */
.paper {
  background-color: var(--cream);
  background-image:
    radial-gradient(rgba(0,0,0,.045) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.025) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  color: var(--paper-text);
  padding: 110px 0;
  border-top:    1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.paper--tight { padding: 90px 0; }

/* ---------- Dark sections ---------- */
.dark {
  background-color: var(--ink);
  background-image:
    radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  color: var(--light-text);
  padding: 110px 0;
  border-top:    1px solid var(--hairline-l);
  border-bottom: 1px solid var(--hairline-l);
}
.dark--feature {
  background:
    radial-gradient(800px 60% at 80% 0%, rgba(226,162,1,.10), transparent 60%),
    var(--ink);
}

/* ---------- Slate (single-line display) ---------- */
.slate {
  background: var(--ink);
  color: var(--light-text);
  padding: 130px 28px;
  text-align: center;
  border-top: 1px solid var(--hairline-l);
  border-bottom: 1px solid var(--hairline-l);
  position: relative;
}
.slate::before, .slate::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(236,230,216,.35);
}
.slate::before { top: 22px; }
.slate::after  { bottom: 22px; }

.slate--split {
  padding: 110px 28px;
}

/* ===========================================================
   TYPOGRAPHY
   =========================================================== */
.section-title {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.1;
  letter-spacing: .04em;
  margin: 0 0 36px;
  color: var(--paper-text);
}
.section-title--light { color: var(--light-text); }
.section-title.centered { text-align: center; }

.section-sub {
  max-width: var(--maxw-narrow);
  margin: -16px auto 48px;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(28,26,22,.78);
}

.display {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(32px, 5.6vw, 64px);
  line-height: 1.1;
  letter-spacing: .015em;
  margin: 0 auto;
  max-width: 18ch;
  color: var(--light-text);
}
.display--final { margin-bottom: 18px; color: var(--gold); }

.prose {
  max-width: var(--maxw-narrow);
  font-size: 18px;
  line-height: 1.75;
}
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose em { font-style: italic; }
.prose strong { color: inherit; font-weight: 700; }
.prose .emphasis {
  font-family: var(--serif-font);
  font-size: 26px;
  line-height: 1.4;
  color: var(--gold);
  font-style: italic;
}
.prose--light { color: var(--light-text); }
.prose--light strong { color: var(--gold); }
.prose--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===========================================================
   STATS
   =========================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 48px;
}
.stat {
  text-align: center;
  padding: 24px 16px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stat-number {
  font-family: var(--display-font);
  font-size: clamp(42px, 5.6vw, 62px);
  color: var(--gold-warm);
  line-height: 1;
  margin-bottom: 14px;
}
.stat-label {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(28,26,22,.75);
  max-width: 26ch;
  margin: 0 auto;
}

/* ===========================================================
   TWO COLUMN (for The Pilot)
   =========================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.pull {
  font-family: var(--serif-font);
  font-style: italic;
  font-size: 22px;
  line-height: 1.55;
  color: var(--cream);
  border-left: 2px solid var(--gold);
  padding: 12px 0 12px 26px;
}
.pull blockquote { margin: 0 0 14px; }
.pull cite {
  display: block;
  font-style: normal;
  font-family: var(--body-font);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(236,230,216,.6);
}

/* ===========================================================
   SPLIT (Planet Earth vs Modern World)
   =========================================================== */
.split-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(236,230,216,.25);
}
.split-cell {
  padding: 56px 36px;
  text-align: center;
  border-right: 1px solid rgba(236,230,216,.25);
}
.split-cell:last-child { border-right: 0; }
.split-cell--accent {
  background: radial-gradient(circle at 50% 100%, rgba(226,162,1,.10), transparent 70%);
}
.split-label {
  font-family: var(--display-font);
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 36px;
  color: var(--light-text);
  letter-spacing: .03em;
}
.split-label--gold { color: var(--gold); }
.split-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: var(--display-font);
  font-size: clamp(18px, 2.4vw, 24px);
  color: rgba(236,230,216,.9);
  letter-spacing: .04em;
}
.split-list li.gold { color: var(--gold); }

/* ===========================================================
   COMMENTS — masonry wall of reactions
   =========================================================== */
.comments {
  column-count: 3;
  column-gap: 22px;
  margin-top: 32px;
}

.comment {
  display: inline-block;
  width: 100%;
  margin: 0 0 22px;
  padding: 22px 24px 16px 26px;
  background: #ffffff;
  break-inside: avoid;
  border-radius: 3px;
  border-left: 3px solid var(--gold);
  box-shadow:
    0 1px 0 rgba(0,0,0,.04),
    0 6px 18px rgba(0,0,0,.07);
  color: #1c1a16;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.comment:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(0,0,0,.04),
    0 14px 28px rgba(0,0,0,.10);
}
.comment blockquote {
  margin: 0 0 14px;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: #1c1a16;
}
.comment figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.07);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.comment-handle {
  color: var(--gold-warm);
  font-weight: 600;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.comment-meta {
  color: rgba(28,26,22,.5);
  font-weight: 400;
  flex-shrink: 0;
}

/* ===========================================================
   EPISODES
   =========================================================== */
.episodes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 880px;
  margin-inline: auto;
}
.ep {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 34px 36px;
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.ep:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.7);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
}
.ep-num {
  font-family: var(--display-font);
  font-size: clamp(46px, 6vw, 72px);
  color: var(--gold-warm);
  line-height: 1;
  letter-spacing: .02em;
  border-right: 1px solid rgba(0,0,0,.18);
  padding-right: 28px;
  align-self: center;
  text-align: center;
}
.ep-title {
  font-family: var(--display-font);
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 14px;
  letter-spacing: .03em;
  color: var(--paper-text);
}
.ep-quote {
  font-family: var(--serif-font);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 14px;
  color: #2a2620;
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}
.ep-body p {
  margin: 0 0 .8em;
  font-size: 16.5px;
  line-height: 1.7;
  color: #2a2620;
}
.ep-body p:last-child { margin-bottom: 0; }

/* ===========================================================
   FINAL CTA
   =========================================================== */
.final {
  position: relative;
  padding: 130px 28px;
  text-align: center;
  overflow: hidden;
  color: var(--light-text);
  background: #0a1520;
  border-top: 1px solid var(--hairline-l);
}
.final-bg {
  position: absolute; inset: 0;
  background-image: url("images/background.png");
  background-size: cover;
  background-position: center bottom;
  filter: saturate(.85) brightness(.55);
  z-index: 0;
}
.final-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 60% at 50% 50%, rgba(0,0,0,.0), rgba(0,0,0,.7) 100%),
    linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.7));
  z-index: 1;
}
.final-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.final-sub {
  margin: 0;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(236,230,216,.8);
}

/* ===========================================================
   FOOTER
   =========================================================== */
.foot {
  background: var(--ink);
  color: rgba(236,230,216,.5);
  text-align: center;
  padding: 28px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-top: 1px solid var(--hairline-l);
}
.foot p { margin: 0; }

/* ===========================================================
   THANK YOU PAGE
   =========================================================== */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #0a1520;
  color: var(--light-text);
}
.thanks-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.thanks-message {
  font-family: var(--serif-font);
  font-style: italic;
  font-size: 22px;
  line-height: 1.55;
  color: var(--cream);
  margin: 0;
}
.thanks-message strong { color: var(--gold); font-style: normal; font-weight: 600; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .split-grid { grid-template-columns: 1fr; }
  .split-cell { border-right: 0; border-bottom: 1px solid rgba(236,230,216,.25); padding: 44px 28px; }
  .split-cell:last-child { border-bottom: 0; }
  .ep { grid-template-columns: 64px 1fr; gap: 18px; padding: 26px 22px; }
  .ep-num { padding-right: 16px; font-size: 42px; }
  .comments { column-count: 2; }
}

@media (max-width: 560px) {
  .hero { padding: 7vh 18px 8vh; }
  .hero::before { top: 18px; }
  .hero::after { bottom: 18px; }
  .hero-inner { gap: 28px; }
  .hero-cta-label { letter-spacing: .16em; }
  .hero-cta-label::before,
  .hero-cta-label::after { display: none; }
  .video {
    box-shadow:
      0 0 0 1px rgba(226,162,1,.45),
      0 0 0 4px rgba(15,15,16,.85),
      0 0 0 5px rgba(226,162,1,.35),
      0 18px 50px rgba(0,0,0,.65);
  }
  .paper, .dark { padding: 80px 0; }
  .slate { padding: 90px 22px; }
  .container { padding: 0 20px; }
  .final { padding: 100px 22px; }
  .section-title { margin-bottom: 26px; }
  .prose { font-size: 17px; }
  .lede { font-size: 17px; }

  .tmw-bar {
    flex-direction: column;
    height: auto;
  }
  .tmw-input {
    height: 54px;
    padding: 0 18px;
    text-align: center;
  }
  .tmw-button-wrapper {
    padding: 5px;
    border-top: 1px solid #efe5d8;
  }
  .tmw-button {
    width: 100%;
    height: 52px;
    font-size: 16px;
  }
  .comments { column-count: 1; }
}
