/* ============================================================
   Becoming Your Own Experiment — Clara Futura World
   Editorial series page. Same brand palette as the rest of the
   site, but with a more typographic / publication treatment.
   ============================================================ */

:root {
  --navy: #0C2137;
  --navy-2: #0F2A47;
  --amber: #F2B54D;
  --amber-soft: rgba(242, 181, 77, 0.18);
  --amber-glow: rgba(242, 181, 77, 0.4);
  --cream: #E8E5DD;
  --cream-soft: rgba(232, 229, 221, 0.78);
  --cream-faint: rgba(232, 229, 221, 0.55);
  --grey: #B5BEC6;
  --rule: rgba(232, 229, 221, 0.16);
  --rule-strong: rgba(232, 229, 221, 0.32);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1180px;
  --read-w: 720px;

  --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { overflow-x: hidden; }

a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}
a:hover { color: var(--cream); }

img { max-width: 100%; display: block; }

::selection { background: var(--amber); color: var(--navy); }

/* Hide the WP custom cursor over this iframe; ours takes over */
.cf-has-cursor, .cf-has-cursor * { cursor: none !important; }

.cf-cursor {
  position: fixed; top: 0; left: 0;
  width: 32px; height: 32px;
  margin: -16px 0 0 -16px;
  border: 1.5px solid var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.18s var(--ease), width 0.22s var(--ease), height 0.22s var(--ease), margin 0.22s var(--ease), border-color 0.18s var(--ease);
  will-change: transform;
  mix-blend-mode: difference;
}
.cf-cursor::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  background: var(--amber);
  border-radius: 50%;
  transition: width 0.22s var(--ease), height 0.22s var(--ease), margin 0.22s var(--ease);
}
.cf-cursor.is-on { opacity: 1; }
.cf-cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cf-cursor.is-hover::after { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
.cf-cursor.is-down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }

/* Reveal */
/* Reveal animation removed per user request — content is visible on load. */
.reveal, .duo-card { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  padding: 110px 28px 80px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(242,181,77,0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  overflow: hidden;
}

.hero-particles {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(242,181,77,0.6), transparent 50%),
    radial-gradient(1px 1px at 70% 60%, rgba(232,229,221,0.4), transparent 50%),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(242,181,77,0.5), transparent 50%),
    radial-gradient(1px 1px at 85% 20%, rgba(232,229,221,0.3), transparent 50%),
    radial-gradient(1px 1px at 15% 70%, rgba(242,181,77,0.4), transparent 50%),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(232,229,221,0.35), transparent 50%);
  background-size: 100% 100%;
  pointer-events: none;
  opacity: 0.7;
}

.hero-inner {
  position: relative;
  max-width: 880px;
  text-align: center;
  z-index: 1;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 28px;
  opacity: 0.86;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--cream);
  margin: 0 0 26px;
}
.hero-title em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  color: var(--cream);
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-sub a { border-bottom: 1px solid var(--amber-soft); }
.hero-sub a:hover { border-bottom-color: var(--amber); }

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.7;
  color: var(--amber);
  opacity: 0.86;
  max-width: 540px;
  margin: 0 auto;
  letter-spacing: 0.005em;
}
.hero-tagline span { display: block; }

.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid var(--cream-faint);
  border-radius: 12px;
  display: flex; justify-content: center;
  padding-top: 6px;
}
.scroll-indicator .dot {
  display: block;
  width: 3px; height: 6px;
  background: var(--amber);
  border-radius: 2px;
  animation: scroll-pulse 1.8s var(--ease) infinite;
}
@keyframes scroll-pulse {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 18px;
  opacity: 0.92;
}
.section-eyebrow.centered { text-align: center; }

/* ============================================================
   THESIS — quiet, large editorial paragraph
   ============================================================ */
.thesis {
  padding: 120px 28px 100px;
  background: var(--navy);
  border-top: 1px solid var(--rule);
}
.thesis-inner {
  max-width: var(--read-w);
  margin: 0 auto;
  text-align: center;
}
.thesis-h {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--amber);
  margin: 0 0 32px;
}
.thesis-lede {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.6vw, 1.4rem);
  line-height: 1.65;
  color: var(--cream);
  margin: 0 0 22px;
  opacity: 0.95;
}
.thesis-coda {
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--cream-soft);
  margin: 0;
  letter-spacing: 0.01em;
}

/* ============================================================
   DUO — two collaborator cards
   ============================================================ */
.duo {
  padding: 100px 28px 110px;
  background:
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  border-top: 1px solid var(--rule);
}
.duo-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 40px;
  align-items: start;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
/* Pull the two portraits close so they read as a paired duo, with bios falling below */
.duo-photos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 36px auto 44px;
  max-width: 520px;
}
.duo-photos-row .duo-photo-wrap { margin: 0; width: 184px; height: 184px; }
@media (max-width: 860px) {
  .duo-photos-row { gap: 12px; max-width: 360px; }
  .duo-photos-row .duo-photo-wrap { width: 138px; height: 138px; }
}
.duo-card {
  text-align: center;
  padding: 0 8px;
}
.duo-photo-wrap {
  position: relative;
  width: 180px; height: 180px;
  margin: 0 auto 28px;
}
.duo-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(0.92);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}
/* Sheila's photo needs the top of her head preserved */
.duo-photo[src*="sheila"] { object-position: center 18%; }
.duo-card:hover .duo-photo { filter: saturate(1); transform: scale(1.02); }
.duo-photo-ring {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--amber-soft);
  border-radius: 50%;
  pointer-events: none;
  transition: inset 0.5s var(--ease), border-color 0.5s var(--ease);
}
.duo-card:hover .duo-photo-ring {
  inset: -14px;
  border-color: var(--amber);
}
.duo-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--cream);
  margin: 0 0 6px;
}
.duo-name-suffix {
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
  font-size: 0.85em;
  margin-left: 4px;
}
.duo-role {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--amber);
  margin: 0 0 22px;
  text-transform: uppercase;
  opacity: 0.95;
}
.duo-bio {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--cream-soft);
  margin: 0 auto 24px;
  max-width: 440px;
  font-weight: 400;
}
.duo-bio em { color: var(--cream); font-style: italic; }
.duo-links {
  display: flex; justify-content: center; gap: 18px;
  flex-wrap: wrap;
}
.duo-links a {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border: 1px solid var(--amber-soft);
  border-radius: 999px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.duo-links a:hover {
  border-color: var(--amber);
  background: var(--amber-soft);
  color: var(--cream);
}
.duo-links a span { margin-left: 6px; }

/* ============================================================
   EPISODES — editorial timeline
   ============================================================ */
.episodes {
  padding: 120px 28px 110px;
  background: var(--navy);
  border-top: 1px solid var(--rule);
}
.episodes-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.episodes-h {
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--cream);
  margin: 0 0 18px;
}
.episodes-lede {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--cream-soft);
  max-width: 580px;
  margin: 0 auto 70px;
}

.ep-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.ep {
  position: relative;
  padding: 48px 44px;
  background: linear-gradient(180deg, rgba(242,181,77,0.025) 0%, rgba(15,42,71,0.25) 100%);
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.ep::before {
  content: '';
  position: absolute;
  left: 0; top: 30px; bottom: 30px;
  width: 2px;
  background: var(--amber);
  opacity: 0.7;
  transition: opacity 0.4s var(--ease);
}
.ep:hover { border-color: var(--rule-strong); }
.ep:hover::before { opacity: 1; }

.ep-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}
.ep-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 4px 10px;
  border: 1px solid var(--amber-soft);
  border-radius: 999px;
}
.ep-date {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

.ep-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1.22;
  letter-spacing: -0.008em;
  color: var(--cream);
  margin: 0 0 28px;
  max-width: 800px;
}

.ep-abstract {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.72;
  color: var(--cream-soft);
  margin: 0 0 36px;
  max-width: 760px;
}
.ep-abstract em { color: var(--cream); font-style: italic; }
.ep-abstract .dropcap {
  float: left;
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.4rem;
  line-height: 0.9;
  color: var(--amber);
  margin: 6px 12px -4px 0;
  font-weight: 500;
}

/* Video embed */
.ep-video {
  margin: 0 0 36px;
  max-width: 820px;
}
.ep-video-play {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.ep-video-play:hover { border-color: var(--amber-soft); transform: translateY(-2px); }
.ep-video-poster {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.ep-video-play.ready .ep-video-poster { opacity: 1; }
.ep-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,33,55,0.25) 0%, rgba(12,33,55,0.65) 100%);
  pointer-events: none;
}
.ep-video-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
  pointer-events: none;
}
.ep-video-play:hover .ep-video-icon { transform: translate(-50%, -50%) scale(1.08); }
.ep-video-caption {
  position: absolute;
  left: 24px; bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  pointer-events: none;
  text-align: left;
}
.ep-video-runtime {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--amber);
  background: rgba(12,33,55,0.7);
  padding: 4px 9px;
  border-radius: 3px;
  text-transform: uppercase;
}
.ep-video-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

/* When embedded, replace play surface with iframe */
.ep-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 4px;
  background: var(--navy-2);
  display: block;
}

/* Pending video state for upcoming episodes */
.ep-video.pending {
  margin-bottom: 36px;
}
.ep-video-pending {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border: 1px dashed var(--rule-strong);
  border-radius: 4px;
  background: rgba(15, 42, 71, 0.4);
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-faint);
  width: fit-content;
}
.ep-video-pending-icon { color: var(--amber); display: flex; }

/* Episode actions (CTAs) */
.ep-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.ep-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.ep-cta svg { transition: transform 0.25s var(--ease); }
.ep-cta:hover svg { transform: translateX(3px); }
.ep-cta.primary {
  background: var(--amber);
  color: var(--navy);
  border: 1px solid var(--amber);
}
.ep-cta.primary:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy);
  transform: translateY(-1px);
}
.ep-cta.secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--rule-strong);
}
.ep-cta.secondary:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* ============================================================
   COMING NEXT — list of forthcoming episodes
   ============================================================ */
.next {
  padding: 110px 28px 100px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  border-top: 1px solid var(--rule);
}
.next-inner {
  max-width: 780px;
  margin: 0 auto;
}
.next-h {
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.15;
  color: var(--cream);
  margin: 0 0 18px;
}
.next-lede {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--cream-soft);
  margin: 0 0 50px;
}
.next-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.next-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.next-list li:last-child { border-bottom: 1px solid var(--rule); }
.next-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  padding-top: 4px;
}
.next-text {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--cream-soft);
}
.next-text strong {
  font-weight: 500;
  color: var(--cream);
  font-style: italic;
}

/* ============================================================
   CLOSING CTA
   ============================================================ */
.closing {
  padding: 130px 28px 130px;
  background: var(--navy);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.closing-inner {
  max-width: 640px; margin: 0 auto;
}
.closing-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 24px;
  opacity: 0.92;
}
.closing-h {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--cream);
  margin: 0 0 24px;
}
.closing-body {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--cream-soft);
  margin: 0 0 38px;
}
.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 999px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 0 0 0 var(--amber-glow);
}
.closing-cta:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 0 0 8px var(--amber-glow);
  color: var(--navy);
}
.closing-cta svg { transition: transform 0.25s var(--ease); }
.closing-cta:hover svg { transform: translateX(4px); }

/* ============================================================
   RESPONSIVE — mobile
   ============================================================ */
@media (max-width: 860px) {
  html, body { font-size: 16px; }
  .hero { min-height: 540px; padding: 90px 22px 70px; }
  .hero-tagline span { display: inline; }
  .hero-tagline span + span::before { content: ' '; }

  .thesis { padding: 90px 22px 80px; }
  .duo { padding: 80px 22px 90px; }
  .duo-grid { grid-template-columns: 1fr; gap: 64px; }
  .duo-photo-wrap { width: 156px; height: 156px; }

  .episodes { padding: 90px 22px 90px; }
  .ep { padding: 36px 26px; }
  .ep-meta { flex-wrap: wrap; }
  .ep-abstract .dropcap { font-size: 2.8rem; margin: 4px 10px -4px 0; }
  .ep-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .ep-cta { justify-content: center; }
  .ep-list { gap: 40px; }

  .next { padding: 80px 22px 80px; }
  .next-list li { grid-template-columns: 60px 1fr; gap: 16px; }

  .closing { padding: 100px 22px 100px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .ep-title { font-size: 1.4rem; }
  .ep { padding: 30px 22px; }
  .ep::before { left: -1px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .duo-card { opacity: 1 !important; transform: none !important; }
  .scroll-indicator { display: none; }
}
