*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Rubik', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; padding: 0; }

:root {
  --paper: #f6f0e2;
  --panel-bg: #fffdf8;
  --ink: #241d14;
  --dim: #7c7263;
  --coral: #ff6b5f;
  --yellow: #ffc93c;
  --line: rgba(36,29,20,0.14);
}

.eyebrow { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; color: var(--dim); margin-bottom: 0.8rem; }
.eyebrow--pale { color: rgba(255,255,255,0.75); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.6rem;
  background: rgba(246,240,226,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { font-family: 'Jua', sans-serif; font-size: 1.3rem; color: var(--coral); }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a { font-size: 0.92rem; color: var(--dim); font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
.nav__burger { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 20px; height: 2px; background: var(--ink); display: block; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 700; border-radius: 12px; transition: transform 0.15s, box-shadow 0.15s; }
.btn--pill { font-size: 0.85rem; padding: 0.55rem 1.1rem; background: var(--ink); color: var(--paper); border-radius: 999px; }
.btn--big { font-size: 1rem; padding: 0.9rem 1.7rem; }
.btn--solid { background: var(--coral); color: #fff; box-shadow: 0 8px 22px rgba(255,107,95,0.35); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,107,95,0.48); }
.btn--ghost { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Cover ---------- */
.cover { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 7rem 1.6rem 3rem; text-align: center; }
.cover__inner { max-width: 480px; }
.cover__title { font-family: 'Jua', sans-serif; font-size: clamp(3rem, 10vw, 5.5rem); color: var(--coral); line-height: 1; margin-bottom: 0.6rem; }
.cover__sub { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; color: var(--dim); text-transform: uppercase; margin-bottom: 2rem; }
.cover__img { width: min(60vw, 280px); margin: 0 auto 2rem; border-radius: 20px; box-shadow: 0 20px 50px rgba(36,29,20,0.25); }
.cover__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.scroll-hint { margin-top: 3rem; font-size: 0.85rem; color: var(--dim); }

/* ---------- Episode panels ---------- */
.episode { max-width: 620px; margin: 0 auto; padding: 2rem 1.4rem 5rem; display: flex; flex-direction: column; gap: 3.5rem; }
.panel { position: relative; }
.panel img, .panel__video-wrap { width: 100%; border-radius: 4px; overflow: hidden; box-shadow: 0 16px 40px rgba(36,29,20,0.2); }
.panel__video-wrap video { width: 100%; display: block; }

.bubble {
  position: relative;
  max-width: 70%;
  background: var(--panel-bg);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 0.9rem 1.2rem;
  margin-top: -1.4rem;
  font-family: 'Jua', sans-serif;
  font-size: 1.05rem;
}
.bubble--left { margin-left: 1.2rem; border-bottom-left-radius: 4px; }
.bubble--right { margin-left: auto; margin-right: 1.2rem; border-bottom-right-radius: 4px; text-align: right; }

/* ---------- End card ---------- */
.end { position: relative; background: var(--ink); padding: 6rem 1.6rem; text-align: center; }
.end__inner { max-width: 560px; margin: 0 auto; }
.end__title { font-family: 'Jua', sans-serif; font-size: clamp(1.8rem, 4.2vw, 2.6rem); color: var(--paper); line-height: 1.3; margin-bottom: 1.6rem; }
.end__stats { display: flex; justify-content: center; gap: 1.6rem; color: rgba(246,240,226,0.6); font-size: 0.88rem; font-weight: 600; margin-bottom: 2.2rem; flex-wrap: wrap; }
.end__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.end .btn--ghost { border-color: var(--paper); color: var(--paper); }
.end .btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* ---------- Footer ---------- */
.footer { padding: 2rem 1.6rem; background: var(--ink); border-top: 1px solid rgba(246,240,226,0.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.85rem; color: rgba(246,240,226,0.55); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--paper); padding: 1.1rem 1.6rem; gap: 0.9rem; border-bottom: 1px solid var(--line); }

  .bubble { max-width: 82%; }
}
