/* OPA TV Season 2. Builds on episodes.css; the scribble green and the logo
   are the only Season 2 branding, used in a few places on purpose. */

.season-2-body {
  --scribble-green: #8fd46b;
  --logo-yellow: #f7d23e;
  --logo-rust: #9a2b0c;
}

.season-2-topbar {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 5vw, 72px);
  border-bottom: var(--line);
  background: var(--paper);
}

.season-2-topbar__logo {
  display: block;
  width: auto;
  height: clamp(34px, 5vw, 52px);
}

.season-2-topbar__school {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 0;
  line-height: 1;
  text-align: right;
}

.season-2-topbar__school span {
  margin-bottom: 7px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.season-2-topbar__school strong {
  font-family: var(--hub-font-display);
  font-weight: 800;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Player */

.season-2-player {
  position: relative;
  margin: 0;
  border-bottom: var(--line);
  background: #000;
}

.season-2-player video,
.season-2-player img {
  display: block;
  width: 100%;
  max-height: 78svh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.season-2-player__status {
  position: absolute;
  bottom: clamp(14px, 3vw, 32px);
  left: clamp(14px, 3vw, 32px);
  margin: 0;
  padding: 10px 16px;
  border: 3px solid var(--ink);
  color: var(--ink);
  background: var(--scribble-green);
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.season-2-hero .episodes-hero__caption {
  background: var(--logo-yellow);
}

.season-2-hero .episodes-hero__title h1 {
  max-width: 17.5ch;
  /* Above 1280px the title shares a row with the number, description, and
     details, so size it to keep a long word like INTRODUCTIONS whole. */
  font-size: clamp(2rem, 3.5vw, 4rem);
  overflow-wrap: anywhere;
}

/* Episode titles run longer than "Finale"; give the title its own row sooner. */
@media (max-width: 1280px) {
  .season-2-hero .episodes-hero__caption {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  }

  .season-2-hero .episodes-hero__title {
    grid-column: 1 / -1;
  }

  .season-2-hero .episodes-hero__title h1 {
    font-size: clamp(2.5rem, 4.4vw, 5rem);
  }
}

.season-2-hero .episodes-hero__number {
  border-right-color: var(--logo-rust);
}

.season-2-hero .episodes-hero__number strong {
  color: var(--logo-rust);
}

/* Episode list */

.season-2-list .episodes-archive__header h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
  max-width: none;
}

.season-2-bolt {
  width: 0.5em;
  height: 0.75em;
  flex: none;
  fill: var(--logo-yellow);
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linejoin: round;
}

.season-2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 72px) clamp(28px, 4vw, 58px);
}

.season-2-next {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  border: 3px dashed var(--ink);
  background: var(--white);
}

.season-2-next__number {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
  padding: clamp(16px, 2vw, 24px);
  border-right: 3px dashed var(--ink);
  background: var(--scribble-green);
}

.season-2-next__number span {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.season-2-next__number strong {
  font-family: var(--hub-font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 5.6vw, 5.8rem);
  line-height: 0.8;
  letter-spacing: -0.035em;
}

.season-2-next__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: clamp(18px, 2.6vw, 30px);
}

.season-2-next h3 {
  margin: 0;
  font-family: var(--hub-font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.season-2-next__crew,
.season-2-next__date,
.season-2-note {
  margin: 0;
  font-weight: 800;
}

.season-2-next__date {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Crew links (password gated) */

.season-2-crew {
  padding: clamp(48px, 7vw, 96px) clamp(16px, 6vw, 86px);
  border-top: var(--line);
  background: var(--paper);
}

.season-2-crew header {
  max-width: 1420px;
  margin: 0 auto clamp(24px, 4vw, 40px);
}

.season-2-crew header p {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.season-2-crew h1,
.season-2-crew h2 {
  margin: 0;
  font-family: var(--hub-font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.season-2-crew__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  max-width: 1420px;
  margin: 0 auto;
}

.season-2-crew__link {
  position: relative;
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 18px 20px;
  border: 3px solid var(--ink);
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  transition: transform 140ms ease;
}

.season-2-crew__link small {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.season-2-crew__link strong {
  font-family: var(--hub-font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.season-2-crew__link i {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.1rem;
  font-style: normal;
}

.season-2-crew__link:hover,
.season-2-crew__link:focus-visible {
  box-shadow: none;
  transform: translate(-3px, -3px);
}

.season-2-crew__link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.season-2-footer {
  flex-wrap: wrap;
}

.season-2-footer img {
  width: auto;
  height: clamp(30px, 4vw, 44px);
}

.season-2-footer p {
  font-size: clamp(1rem, 1.8vw, 1.5rem);
}

@media (max-width: 980px) {
  .season-2-crew__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .season-2-topbar {
    min-height: 70px;
  }

  .season-2-topbar__school > span,
  .season-2-topbar__dept {
    display: none;
  }

  .season-2-topbar__school strong {
    white-space: nowrap;
  }

  .season-2-hero .episodes-hero__title h1 {
    font-size: clamp(1.8rem, 7.6vw, 2.6rem);
    overflow-wrap: normal;
  }

  .season-2-hero .episodes-hero__caption,
  .season-2-grid,
  .season-2-crew__links {
    grid-template-columns: 1fr;
  }

  .season-2-next {
    grid-template-columns: 1fr;
  }

  .season-2-next__number {
    border-right: 0;
    border-bottom: 3px dashed var(--ink);
  }

  .season-2-crew__link {
    min-height: 104px;
  }

  .season-2-list .episodes-archive__header h2 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .season-2-crew__link {
    transition: none;
  }
}
