/* Messed Up Movies — the screening room. Loaded after site.css, on messed-up-movies.html only.
   Theater red and screen cream. */

/* ---------- The cinema: the player sits on the screen ---------- */
/* The photo is laid out wider than the page and centered on the screen, so the screen stays
   big on phones. The screen is 33.3% to 66.7% across and 20.2% to 57% down the 2528x1422
   photo. Measured, not guessed; re-measure if the photo changes. */

.cinema {
  --w: clamp(1060px, 135vw, 2400px);
  --h: calc(var(--w) * 0.5625);
  position: relative;
  overflow: hidden;
  height: calc(var(--h) * 0.72);
  background: var(--ink);
}

.cinema__stage {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--w);
  height: var(--h);
  transform: translateX(-50%);
}

.cinema__stage > img {
  width: 100%;
  height: 100%;
}

.cinema__screen {
  position: absolute;
  left: 33.3%;
  top: 20.2%;
  width: 33.4%;
  height: 36.8%;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 60px 6px rgba(244, 231, 197, 0.22);
}

.cinema__screen iframe,
.cinema__screen > div {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.cinema::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 15, 0.55) 0%, rgba(11, 11, 15, 0) 14%, rgba(11, 11, 15, 0) 70%, var(--ink) 100%);
}

/* The page title sits over the front rows. */
.cinema-copy {
  position: relative;
  margin-top: clamp(-150px, -9vw, -60px);
  padding-bottom: clamp(48px, 7vw, 88px);
  background: linear-gradient(180deg, rgba(11, 11, 15, 0) 0, var(--ink) 130px);
}

.cinema-copy__inner {
  display: grid;
  gap: 20px;
  justify-items: start;
  max-width: 760px;
}

/* ---------- Curtain-striped bands ---------- */

.room-podcast .band {
  background:
    repeating-linear-gradient(90deg, rgba(224, 48, 63, 0.05) 0 44px, rgba(0, 0, 0, 0.16) 44px 88px),
    radial-gradient(900px 460px at 15% 0%, rgba(224, 48, 63, 0.12), transparent 70%),
    linear-gradient(180deg, #170b0d, #0e0809);
}

.band h2 {
  margin-bottom: clamp(18px, 3vw, 30px);
}

/* ---------- Latest episodes ---------- */

.episodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.2vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.episode {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.episode img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #000;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.episode:hover img,
.episode:focus-visible img {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.episode span {
  font-weight: 600;
  line-height: 1.3;
}

.episodes__note {
  grid-column: 1 / -1;
  color: var(--muted);
}

.episodes__note a {
  color: var(--accent);
}

/* A denser gallery: more, smaller cards. */
.episodes--small {
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(26px, 4vw, 44px);
}

.episodes--small:empty {
  display: none;
}

.episodes--small .episode span {
  font-size: 0.88rem;
  font-weight: 400;
}

@media (max-width: 760px) {
  .episodes,
  .episodes--small {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 440px) {
  .episode span {
    font-size: 0.9rem;
  }
}

/* ---------- Hosts ---------- */

.hosts {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4.2vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cream);
}

.hosts-note {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- Two columns: copy beside a form or art ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.split--center {
  align-items: center;
}

.split__copy {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.split__copy h2 {
  margin: 0;
}

.split__art {
  max-width: 380px;
  justify-self: center;
}

.split__art img {
  width: 100%;
  border: 1px solid var(--line);
}

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

  .split__art {
    max-width: 280px;
  }
}