.sketches-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 20%);
  align-items: start;
  gap: clamp(16px, 2.2vw, 36px);
}

.sketches-layout .episode-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2.6vh, 30px) clamp(12px, 1.3vw, 22px);
}

.episode-card.film-card, .demo-cover-button {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.sketch-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 8px;
  container-type: inline-size;
  border-radius: 5px;
  background: var(--ink);
  color: var(--white);
  transition: background .18s ease;
}

.film-card:hover .sketch-cover, .demo-cover-button:hover .sketch-cover {
  background: #303823;
}

.sketch-cover-slogan {
  font-size: clamp(.9rem, 13cqi, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.055em;
}

.sketch-cover-slogan em {
  display: block;
  margin-top: .16em;
  color: var(--lime);
}

.film-card-copy {
  display: grid;
  align-content: start;
  gap: 5px;
  padding-top: 8px;
}

.film-card-title {
  min-height: 2.24em;
  font-size: clamp(.98rem, 1.33vw, 1.5rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.film-concern, .film-card-feature, .demo-cover-duration {
  font-size: clamp(.76rem, 1vw, 1rem);
  line-height: 1.35;
  color: #50594a;
}

.film-card-feature {
  color: #506018;
  font-weight: 700;
}

.sketch-cover-demo {
  height: min(38vh, 395px);
  aspect-ratio: auto;
}

.sketch-cover-demo svg {
  position: absolute;
  bottom: 14px;
  width: 30px;
  height: 30px;
  padding: 5px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
}

.demo-cover-title {
  margin-top: 9px;
  font-size: clamp(1.05rem, 1.45vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -.025em;
}

.demo-cover-duration {
  margin-top: 5px;
}

.sketch-video-stage {
  display: grid;
  justify-items: center;
  min-width: 0;
  width: 100%;
}

.sketch-video-stage video {
  display: block;
  width: auto;
  height: min(76dvh, 820px);
  max-width: 100%;
  aspect-ratio: 368 / 640;
  background: var(--ink);
  border-radius: 6px;
  object-fit: contain;
}

.sketch-video-stage video:fullscreen {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.sketch-video-dialog {
  width: min(550px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 14px 16px 16px;
  background: #161914;
  color: var(--white);
  color-scheme: dark;
}

.sketch-video-dialog::backdrop {
  background: #12140edc;
}

.sketch-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.sketch-video-header h2 {
  font-size: clamp(1.05rem, 2.1vw, 1.6rem);
  letter-spacing: -.025em;
}

.brand-close [data-slogan] {
  color: var(--lime);
  font-weight: 700;
}

@media (min-width: 1121px) and (max-height: 800px) {
  .episodes-slide { padding-bottom: 10px; }
  .episodes-slide .section-heading { margin-bottom: 16px; }
  .sketches-layout .episode-grid { row-gap: 13px; }
  .episodes-slide .small-footer { margin-top: 13px; padding-top: 9px; }
}

@media (min-width: 1000px) and (max-height: 800px) {
  .studio .cinematic-screen { max-height: min(39vh, 290px); }
}

@media (min-width: 801px) and (max-width: 1120px) {
  .sketches-layout .episode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .sketches-layout { grid-template-columns: minmax(0, 1fr); }
  .sketches-layout .episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-cover-button { max-width: min(100%, 340px); }
  .sketch-cover-demo { height: auto; aspect-ratio: 16 / 9; }
}
