:root {
  --ink: #14101c;
  --muted: #5c5470;
  --paper: #fff7ef;
  --sun: #ffd24a;
  --coral: #ff4d6d;
  --sky: #5ec8ff;
  --teal: #1ec8a5;
  --go: #00c853;
  --caution: #ffc400;
  --stop: #ff1744;
  --font: "Nunito", system-ui, sans-serif;
  --display: "Fredoka", "Nunito", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: #fff7ef;
  overflow-x: hidden;
}

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Ambient stage */
.stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% -8%, #ffe56a 0%, transparent 55%),
    radial-gradient(820px 420px at 100% 0%, #ffb3c8 0%, transparent 52%),
    radial-gradient(760px 400px at 68% 18%, #9adfff 0%, transparent 48%),
    linear-gradient(180deg, #fff4e6 0%, #fffaf4 42%, #eef8ff 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  mix-blend-mode: multiply;
  animation: orb-drift 18s var(--ease) infinite alternate;
}

.orb-a { width: 240px; height: 240px; left: -50px; top: 12%; background: #ffd24a; }
.orb-b { width: 280px; height: 280px; right: -70px; top: 6%; background: #ff8fb3; animation-duration: 22s; animation-delay: -4s; }
.orb-c { width: 220px; height: 220px; left: 42%; bottom: 10%; background: #7ad7ff; animation-duration: 26s; animation-delay: -8s; }

@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, -22px, 0) scale(1.1); }
}

.sparkles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 210, 74, 0.8);
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  40% { opacity: 0.85; transform: scale(1); }
  70% { opacity: 0.2; transform: scale(0.7); }
}

.hero,
.tonight,
main,
.foot {
  position: relative;
  z-index: 1;
}

/* ——— Hero: balanced copy + cover ——— */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
  min-height: min(100dvh, 900px);
  padding: clamp(1.5rem, 3.5vh, 2.5rem) 0;
}

.hero-copy {
  display: grid;
  gap: 1rem;
  align-content: center;
  max-width: 26rem;
  justify-self: start;
}

.brand-row {
  display: flex;
  align-items: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  font-size: 2.35rem;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 5px 0 var(--ink);
  animation: wiggle 3.2s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(6deg); }
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(120deg, #ff4d6d 0%, #ff8a3d 45%, #ffd24a 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient-shift 5s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.lede {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: var(--muted);
  line-height: 1.4;
  max-width: 26rem;
}

.tagline-brand {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.cta-hero {
  margin-top: 0.35rem;
}

.tone-go { color: #0a8f45; }
.tone-caution { color: #b8860b; }
.tone-stop { color: #d50032; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-up 0.65s var(--ease) forwards;
}

.delay-2 { animation-delay: 0.12s; }

@keyframes reveal-up {
  to { opacity: 1; transform: none; }
}

.hero-feature {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  perspective: 900px;
}

.feature-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 10;
  max-height: min(52vh, 420px);
  border-radius: 26px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 0 12px 0 var(--ink);
  color: #fff;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  background: #14101c;
}

.feature-stage:hover {
  box-shadow: 0 16px 0 var(--ink);
}

.feature-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.feature-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease), transform 1.1s var(--ease);
  pointer-events: none;
}

.feature-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.feature-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: kenburns 18s ease-in-out infinite alternate;
}

.feature-slide:not(.is-active) img {
  animation: none;
}

@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.feature-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20,16,28,0.88) 0%, rgba(20,16,28,0.42) 46%, rgba(20,16,28,0.1) 100%),
    linear-gradient(0deg, rgba(20,16,28,0.7) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

.feature-chrome {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  pointer-events: none;
}

.feature-copy {
  display: grid;
  gap: 0.4rem;
  max-width: 28rem;
  pointer-events: auto;
}

.feature-copy .cta {
  pointer-events: auto;
}

.feature-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.feature-blurb {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
  max-width: 24rem;
  line-height: 1.35;
  min-height: 2.6em;
}

.cta {
  margin-top: 0.35rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 0 3px 0 rgba(0,0,0,0.2);
  transition: gap 0.2s var(--ease), transform 0.2s var(--ease);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
}

.hero-actions .cta {
  margin-top: 0;
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.72);
}

.feature-stage:hover .cta {
  gap: 0.65rem;
  transform: translateX(3px);
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

.feature-stage:hover .cta-arrow {
  transform: translateX(3px);
}

.feature-dots {
  position: absolute;
  right: clamp(0.9rem, 2vw, 1.25rem);
  bottom: clamp(0.9rem, 2vw, 1.25rem);
  display: flex;
  gap: 0.4rem;
  pointer-events: auto;
}

.feature-dot {
  appearance: none;
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.2s ease, transform 0.2s ease;
}

.feature-dot:hover {
  background: rgba(255,255,255,0.7);
}

.feature-dot.is-active {
  width: 22px;
  background: #fff;
}

.feature-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.feature-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255,255,255,0.18);
  z-index: 3;
  pointer-events: none;
}

.feature-progress > i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #ffd24a, #fff);
}

@media (prefers-reduced-motion: reduce) {
  .feature-slide,
  .feature-slide img,
  .feature-progress > i {
    animation: none !important;
    transition: none !important;
  }
}

/* Shelf */
.live-shelf {
  margin-top: 0.25rem;
  padding-bottom: 1.5rem;
}

.live-grid .show-card {
  filter: none;
}

.shelf {
  margin-top: 0.5rem;
  padding-bottom: 2.5rem;
}

.shelf-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.shelf-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
}

.shelf-head p {
  margin: 0.2rem 0 0;
  font-weight: 700;
  color: var(--muted);
}

.count-chip {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.86rem;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  box-shadow: 0 3px 0 var(--ink);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

a.count-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--ink);
}

/* Tonight banner — guides CTA above the live shelf */
.tonight {
  margin: 0.25rem auto 1.75rem;
}

.tonight-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 1rem 1.4rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(120deg, #fff4b8 0%, #ffd24a 42%, #ffb3c8 100%);
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: 0 10px 0 var(--ink);
  padding: 1rem 1.15rem 1.05rem;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.tonight-card:hover {
  transform: translateY(-4px) rotate(-0.25deg);
  box-shadow: 0 14px 0 var(--ink);
}

.tonight-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  padding: 0.35rem 0.5rem;
}

.tonight-stack img {
  width: 7.25rem;
  height: 4.55rem;
  object-fit: cover;
  border-radius: 12px;
  border: 2.5px solid var(--ink);
  box-shadow: 0 5px 0 rgba(20, 16, 28, 0.18);
  margin-left: -1.6rem;
  background: #111;
}

.tonight-stack img:first-child { margin-left: 0; transform: rotate(-8deg); z-index: 1; }
.tonight-stack img:nth-child(2) { transform: rotate(-3deg); z-index: 2; }
.tonight-stack img:nth-child(3) { transform: rotate(2deg); z-index: 3; }
.tonight-stack img:nth-child(4) { transform: rotate(7deg); z-index: 4; }

.tonight-copy {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.tonight-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a3a12;
}

.tonight-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.tonight-copy p {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.35;
}

.tonight-copy .cta {
  margin-top: 0.55rem;
}

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

.show-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink);
  background: #111;
  aspect-ratio: 16 / 9;
  text-decoration: none;
  color: #fff;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s ease;
}

.show-card.in-view {
  animation: card-in 0.5s var(--ease) forwards;
}

@keyframes card-in {
  to { opacity: 1; transform: none; }
}

.show-card.is-soon {
  cursor: default;
  filter: saturate(0.72) brightness(0.9);
}

.show-card.is-soon:hover {
  transform: none;
  box-shadow: 0 8px 0 var(--ink);
}

.show-card:not(.is-soon):hover {
  transform: translateY(-4px) rotate(-0.3deg);
  box-shadow: 0 12px 0 var(--ink);
}

.show-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.show-card:hover img {
  transform: scale(1.06);
}

.show-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17,12,24,0.94) 0%, rgba(17,12,24,0.28) 48%, rgba(17,12,24,0.08) 100%);
  pointer-events: none;
}

.show-card .meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 0.9rem 0.95rem;
  display: grid;
  gap: 0.15rem;
}

.show-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.mix-score {
  margin: 0.45rem 0 0;
  display: grid;
  gap: 0.35rem;
  width: 100%;
  max-width: 16rem;
}

.mix-bar {
  display: flex;
  height: 7px;
  width: 100%;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.mix-seg {
  display: block;
  height: 100%;
  min-width: 0;
  flex-basis: 0;
}

.mix-seg--safe { background: #22c55e; }
.mix-seg--maybe { background: #f59e0b; }
.mix-seg--skip { background: #ef4444; }

.mix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.mix-leg strong {
  font-weight: 900;
}

.mix-leg--safe { color: #86efac; }
.mix-leg--maybe { color: #fcd34d; }
.mix-leg--skip { color: #fca5a5; }

.show-card .year {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0.85;
}

.status {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 2px solid #fff;
}

.status.ready { background: var(--go); color: #042; }
.status.soon {
  background: rgba(23, 19, 31, 0.72);
  color: #fff;
  backdrop-filter: blur(6px);
}

.foot {
  border-top: 3px dashed #ffb7d0;
  padding: 1.2rem 0 2.4rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.foot strong { color: var(--coral); }

/* MacBook 14 / laptop heights — keep hero inside one screen */
@media (min-width: 960px) and (max-height: 980px) {
  .hero {
    min-height: 100dvh;
    padding-block: 1.25rem;
    gap: 2rem;
  }
  .hero h1 { font-size: clamp(2.5rem, 4.4vw, 3.5rem); }
  .feature-stage {
    max-height: min(48vh, 380px);
  }
  .lede { font-size: 1.02rem; }
}

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

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.15rem;
    gap: 1.1rem;
  }
  .hero-copy {
    max-width: none;
    justify-self: stretch;
  }
  .feature-stage {
    max-width: none;
    max-height: none;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .wrap {
    width: min(1180px, calc(100% - 1.5rem));
  }

  .hero {
    padding-top: 0.9rem;
    gap: 0.95rem;
  }

  .brand-mark {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.9rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

  .lede {
    font-size: 1rem;
    max-width: none;
  }

  .feature-stage {
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 0 var(--ink);
  }

  .feature-title {
    font-size: clamp(1.4rem, 6.5vw, 1.85rem);
  }

  .feature-blurb {
    font-size: 0.86rem;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cta {
    min-height: 44px;
    padding: 0.7rem 1.05rem;
  }

  .tonight-card {
    grid-template-columns: 1fr;
    padding: 0.9rem 0.95rem 1rem;
    gap: 0.55rem;
  }

  .tonight-stack {
    min-height: 5.5rem;
  }

  .tonight-stack img {
    width: 5.6rem;
    height: 3.5rem;
    margin-left: -1.2rem;
  }

  .feature-dots {
    top: 0.65rem;
    bottom: auto;
    right: 0.65rem;
    flex-wrap: wrap;
    max-width: 58%;
    justify-content: flex-end;
    gap: 0.15rem;
  }

  .feature-dot {
    position: relative;
    width: 7px;
    height: 7px;
  }

  .feature-dot.is-active {
    width: 16px;
  }

  .feature-dot::before {
    content: "";
    position: absolute;
    inset: -8px;
  }

  .show-card {
    box-shadow: 0 6px 0 var(--ink);
  }

  .faq-item summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .foot {
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 560px) {
  .live-grid {
    grid-template-columns: 1fr;
  }

  #grid.grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }

  #grid .show-card h3 {
    font-size: 0.95rem;
  }

  #grid .show-card .meta {
    padding: 0.65rem 0.7rem 0.7rem;
  }

  .hero h1 { font-size: clamp(2.35rem, 11vw, 3.1rem); }
}

@media (hover: none) {
  .show-card:not(.is-soon):hover {
    transform: none;
    box-shadow: 0 8px 0 var(--ink);
  }

  .show-card:hover img {
    transform: none;
  }

  .feature-stage:hover {
    box-shadow: 0 12px 0 var(--ink);
  }

  .feature-stage:hover .cta,
  .feature-stage:hover .cta-arrow {
    transform: none;
    gap: 0.4rem;
  }

  .tonight-card:hover {
    transform: none;
    box-shadow: 0 10px 0 var(--ink);
  }
}

/* —— Crawlable show index / SEO copy —— */
.seo-copy {
  margin: 3rem auto 1rem;
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
  color: var(--muted);
}

.seo-copy h2 {
  margin: 0;
  font-family: var(--display, inherit);
  font-size: 1.5rem;
  color: var(--ink);
}

.seo-copy p {
  margin: 0;
  font-weight: 650;
  line-height: 1.6;
  font-size: 0.92rem;
}

.seo-copy a {
  color: #9a6b00;
}

.seo-show-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

.seo-show-list a {
  color: var(--ink);
  text-decoration: none;
}

.seo-show-list a:hover {
  text-decoration: underline;
}

.faq-item {
  border: 1px solid rgba(31, 22, 48, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.7rem 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}

.faq-item p {
  margin: 0.45rem 0 0;
}

.foot a {
  color: inherit;
  font-weight: 800;
}
