/* ==========================================================================
   TogetherNectar — Punchy Sunlit Pop Design System
   Bold colors, crisp contrast, zero bloat.
   ========================================================================== */

:root {
  --yellow: #ffd426;
  --yellow-soft: #fff4be;
  --coral: #ff4769;
  --coral-soft: #ffe3e9;
  --cobalt: #1b66ff;
  --cobalt-soft: #e0ebff;
  --orange: #ff8a00;
  --mint: #00b884;

  --ink: #121212;
  --ink-soft: #434343;
  --ink-muted: #6e6e6e;
  --white: #ffffff;
  --cream: #fffdf7;
  --surface: #f7f4ec;

  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --max-w: 1120px;
  --gutter: clamp(1.15rem, 3.5vw, 2.5rem);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-pop: 0 12px 30px -12px rgba(18, 18, 18, 0.16);
  --shadow-card: 5px 5px 0 var(--ink);
  --shadow-card-sm: 3px 3px 0 var(--ink);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.58;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 2px;
}

section[id] {
  scroll-margin-top: 78px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-card-sm);
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease), background-color 150ms ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
}

.btn-cobalt {
  background: var(--cobalt);
  color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--ink);
}

/* ==========================================================================
   Sticky Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-accent {
  color: var(--coral);
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 0.12rem 0.5rem;
  margin-left: 0.5rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color 150ms ease;
}

.nav a:hover {
  background: var(--yellow);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--yellow);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section — Punchy Sunshine Yellow + Crisp Photo
   ========================================================================== */
.hero {
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
  padding: clamp(2.5rem, 5.5vw, 4.5rem) 0 clamp(2.75rem, 5.5vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: center;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.95rem;
  display: inline-block;
  padding-bottom: 0.28rem;
  border-bottom: 2.5px solid var(--ink);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 5.6vw, 4.85rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0;
}

.hero-title .hl-coral {
  color: var(--coral);
}

.hero-title .hl-cobalt {
  color: var(--cobalt);
}

.hero-sub {
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  font-weight: 500;
  line-height: 1.55;
  margin: 1.25rem 0 0;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.85rem;
}

.stat-chip {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 0.36rem 0.72rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.stat-chip strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.hero-frame {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid var(--ink);
}

/* ==========================================================================
   Shared Section Headers
   ========================================================================== */
.block {
  padding: clamp(3.5rem, 6.5vw, 5.5rem) 0;
}

.block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 0.45rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0;
}

.section-sub {
  margin: 0.55rem 0 0;
  font-size: 1.03rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ==========================================================================
   Section 1: PN vs. MrP — Punchy Side-by-Side Color Cards
   ========================================================================== */
.topic-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.65rem;
}

.topic-pill {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  background: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 140ms var(--ease), background-color 140ms ease, box-shadow 140ms ease;
}

.topic-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-sm);
}

.topic-pill.is-active {
  background: var(--ink);
  color: var(--yellow);
  box-shadow: var(--shadow-card-sm);
}

.duo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.duo-card {
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  transition: opacity 160ms ease, transform 220ms var(--ease);
}

.duo-card.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.duo-card.is-pn {
  background: var(--coral);
  color: var(--white);
}

.duo-card.is-mrp {
  background: var(--cobalt);
  color: var(--white);
}

.duo-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 0.22rem 0.75rem;
}

.duo-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}

.duo-card p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.94);
}

.duo-quote {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 2px dashed rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--yellow);
}

/* ==========================================================================
   Section 2: 2020–2026 Timeline Highlight Reel
   ========================================================================== */
.block-timeline {
  background: var(--surface);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.year-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.year-btn {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 140ms var(--ease), background-color 140ms ease, box-shadow 140ms ease;
}

.year-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-sm);
}

.year-btn.is-active {
  background: var(--yellow);
  box-shadow: var(--shadow-card-sm);
}

.timeline-card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  transition: opacity 160ms ease;
}

.timeline-card.is-fading {
  opacity: 0;
}

.tl-year-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.tl-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

.tl-copy {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
  max-width: 52ch;
}

.fact-box {
  background: var(--yellow-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
}

.fact-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  font-weight: 800;
  font-size: 0.96rem;
}

.fact-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  background: var(--coral);
  color: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 0.16rem 0.6rem;
  white-space: nowrap;
}

.fact-reveal {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 2px dashed rgba(18, 18, 18, 0.22);
  font-size: 0.96rem;
  color: var(--ink);
  display: none;
}

.fact-box.is-open .fact-reveal {
  display: block;
}

.timeline-visual {
  border-radius: var(--radius-md);
  border: 2px solid var(--ink);
  overflow: hidden;
  background: var(--coral);
}

.timeline-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.timeline-visual-bar {
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

/* ==========================================================================
   Section 3: Hit Play — Dual Podcast Picker + Randomizer
   ========================================================================== */
.pod-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.65rem;
}

.show-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.show-tab {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  background: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background-color 140ms ease, transform 140ms var(--ease);
}

.show-tab:hover {
  transform: translateY(-1px);
}

.show-tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.ep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.ep-card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-card-sm);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 200ms ease;
}

.ep-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}

.ep-card.is-picked {
  background: var(--yellow);
  transform: translate(-3px, -4px);
  box-shadow: 8px 8px 0 var(--ink);
}

.ep-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.ep-pill {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  color: var(--white);
  background: var(--coral);
}

.ep-card[data-show="mrp"] .ep-pill {
  background: var(--cobalt);
}

.ep-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}

.ep-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
  flex: 1;
}

.ep-card.is-picked p {
  color: var(--ink);
}

.ep-listen {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* ==========================================================================
   Section 4: Fast 5-Question Trivia ("Real Fan Check")
   ========================================================================== */
.block-quiz {
  background: var(--coral);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  color: var(--white);
}

.block-quiz .section-tag {
  color: var(--yellow);
}

.block-quiz .section-sub {
  color: rgba(255, 255, 255, 0.92);
}

.quiz-card {
  background: var(--white);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 9px 9px 0 var(--ink);
  max-width: 780px;
}

.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.quiz-bar {
  flex: 1;
  max-width: 240px;
  height: 10px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.quiz-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--yellow);
  transition: width 260ms var(--ease);
}

.quiz-q {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
}

.quiz-opts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.quiz-opt {
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ink);
  background: var(--cream);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 130ms var(--ease), background-color 130ms ease, box-shadow 130ms ease;
}

.quiz-opt:hover:not(:disabled) {
  background: var(--yellow-soft);
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-card-sm);
}

.quiz-opt:disabled {
  cursor: default;
}

.quiz-opt.is-right {
  background: var(--mint);
  color: var(--white);
}

.quiz-opt.is-wrong {
  background: var(--coral-soft);
}

.quiz-reply {
  margin-top: 1.2rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ink);
  background: var(--yellow-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  font-weight: 600;
  font-size: 0.94rem;
}

.quiz-reply p {
  margin: 0;
  max-width: 52ch;
}

.quiz-done {
  text-align: left;
}

.score-big {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--cobalt);
  margin: 0 0 0.4rem;
}

.score-rank {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 800;
  margin: 0 0 0.65rem;
}

.score-copy {
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
  max-width: 50ch;
}

.score-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 3.25rem 0 2.5rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 0.3rem;
}

.footer-brand span {
  color: var(--yellow);
}

.footer-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-link {
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
  font-size: 0.88rem;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.footer-link:hover {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.footer-bottom {
  padding-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 920px) {
  .hero-grid,
  .duo-grid,
  .timeline-card {
    grid-template-columns: 1fr;
  }

  .ep-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    padding: 0.85rem var(--gutter);
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .menu-btn {
    display: inline-flex;
  }

  .ep-grid,
  .quiz-opts {
    grid-template-columns: 1fr;
  }
}
