:root {
  color-scheme: light;
  --ink: #163344;
  --night: #153f57;
  --deep: #0f2c3e;
  --paper: #fffaf0;
  --sun: #ffd166;
  --coral: #f96f5d;
  --mint: #6ad7bd;
  --sky: #8bd7ff;
  --line: rgba(22, 51, 68, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  padding: 24px clamp(18px, 4vw, 48px) 32px;
  background:
    linear-gradient(180deg, rgba(21, 63, 87, 0.08), rgba(255, 250, 240, 0.94)),
    var(--night);
  isolation: isolate;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 24%, rgba(255, 209, 102, 0.28) 0 9%, transparent 10%),
    linear-gradient(135deg, #12354c 0%, #1b6f77 48%, #f7b267 100%);
}

.hero__backdrop::before {
  position: absolute;
  right: max(-8vw, -90px);
  bottom: -80px;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  border-radius: 44% 56% 0 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.18), rgba(255, 250, 240, 0)),
    #18475e;
  content: "";
}

.hero__backdrop::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 27%;
  background:
    linear-gradient(175deg, transparent 0 36%, rgba(255, 250, 240, 0.96) 37%),
    linear-gradient(90deg, rgba(106, 215, 189, 0.22), rgba(249, 111, 93, 0.18));
  content: "";
}

.beam {
  position: absolute;
  top: -20%;
  width: 18vw;
  min-width: 150px;
  height: 120%;
  transform: rotate(22deg);
  transform-origin: top;
  background: linear-gradient(180deg, rgba(255, 209, 102, 0.5), rgba(255, 209, 102, 0));
  clip-path: polygon(48% 0, 61% 0, 100% 100%, 0 100%);
}

.beam--one {
  left: 18%;
}

.beam--two {
  left: 45%;
  opacity: 0.66;
}

.moon {
  position: absolute;
  top: 17%;
  right: 12%;
  width: clamp(72px, 11vw, 128px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: #fff1a8;
  box-shadow: 0 0 36px rgba(255, 241, 168, 0.46);
}

.star {
  position: absolute;
  width: 12px;
  aspect-ratio: 1;
  background: var(--paper);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
}

.star--one {
  top: 25%;
  left: 12%;
}

.star--two {
  top: 18%;
  left: 60%;
}

.star--three {
  top: 42%;
  right: 20%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  color: #fffaf0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid rgba(255, 250, 240, 0.74);
  border-radius: 8px;
  background: rgba(15, 44, 62, 0.34);
  font-size: 0.88rem;
}

.nav__link {
  border-bottom: 2px solid rgba(255, 250, 240, 0.6);
  font-weight: 700;
  text-decoration: none;
}

.hero__content {
  width: min(760px, 100%);
  max-width: 1120px;
  margin: clamp(72px, 12vh, 124px) auto 0;
  color: #fffaf0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(4.5rem, 11vw, 8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.lede {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 250, 240, 0.91);
  font-size: clamp(1.1rem, 2.3vw, 1.55rem);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--sun);
  color: var(--deep);
  font-weight: 900;
  padding: 0 18px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(15, 44, 62, 0.28);
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(255, 250, 240, 0.36);
  border-radius: 8px;
  background: rgba(15, 44, 62, 0.24);
  color: rgba(255, 250, 240, 0.9);
  font-weight: 800;
  padding: 0 14px;
}

.season {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(52px, 8vw, 92px) clamp(18px, 4vw, 48px) 76px;
}

.season__intro h2 {
  max-width: 11ch;
  margin-bottom: 0;
  color: var(--deep);
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.season .eyebrow {
  color: var(--coral);
}

.episode-list {
  display: grid;
  gap: 14px;
}

.episode {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 6px 18px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(22, 51, 68, 0.07);
}

.episode__number {
  grid-row: span 2;
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 8px;
  background: var(--mint);
  color: var(--deep);
  font-weight: 900;
}

.episode h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.episode p {
  margin-bottom: 0;
  color: rgba(22, 51, 68, 0.76);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .hero {
    min-height: 76svh;
    padding-bottom: 30px;
  }

  .nav {
    align-items: flex-start;
    gap: 18px;
  }

  .hero__content {
    margin-top: 74px;
  }

  h1 {
    font-size: clamp(4.1rem, 20vw, 5.8rem);
  }

  .season {
    grid-template-columns: 1fr;
    padding-top: 46px;
  }

  .season__intro h2 {
    max-width: 12ch;
  }

  .episode {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px;
  }

  .episode__number {
    width: 42px;
  }
}
