:root {
  color-scheme: light;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #142431;
  background: #fffdf8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 4px solid #1272aa;
  outline-offset: 5px;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: absolute;
  z-index: 5;
  padding: 1rem;
  background: white;
}
header,
footer {
  background: #142431;
  color: white;
}
.bar,
section {
  max-width: 82rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 4rem);
}
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4rem;
  gap: 1rem;
}
.brand,
.channel {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 750;
}
.brand {
  font-size: 1.12rem;
}
.brand img {
  border-radius: 50%;
}
header .bar {
  flex-wrap: wrap;
  padding-block: 0.6rem;
  row-gap: 0.4rem;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.25rem;
}
header nav a {
  min-height: 2rem;
}
header nav [aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.story {
  max-width: 44rem;
  margin: auto;
  padding: clamp(2rem, 6vw, 5rem) 1.25rem;
  font-size: 1.125rem;
  line-height: 1.65;
}
.story h1 {
  margin: 0 0 0.6em;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.story h2 {
  margin-top: 1.6em;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.story a {
  color: #953044;
  text-underline-offset: 0.16em;
}
.story-lead {
  max-width: 38ch;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.4;
}
.garage-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: fit-content;
  max-width: 100%;
  margin-block: 1.5rem 2rem;
  padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  background: white;
  border: 1px solid #d3d9dc;
  border-radius: 0.65rem;
  font-weight: 700;
}
.garage-card img {
  width: clamp(5.5rem, 15vw, 7rem);
  height: auto;
  border-radius: 0.3rem;
}
.garage-card:hover {
  border-color: currentColor;
}
.channel {
  font-size: 0.93rem;
}
.channel span {
  background: #ce2531;
  color: white;
  border-radius: 0.3rem;
  padding: 0.13rem 0.48rem;
  font-size: 0.74rem;
}
.hero {
  background: #aad7f4;
  border-bottom: 3px solid #142431;
}
.hero picture {
  display: block;
  max-width: 90rem;
  margin: auto;
}
.hero img {
  display: block;
  width: 100%;
  height: auto;
}
section {
  padding-block: clamp(2rem, 4vw, 3.8rem) 4rem;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.5vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.065em;
  font-weight: 900;
}
h2 span {
  color: #b32232;
}
.section-head p {
  margin: 0;
  font-size: 0.94rem;
  color: #475765;
}
@media (max-width: 650px) {
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 0.65rem;
  }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: clamp(0.8rem, 2vw, 1.7rem);
  row-gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.episode {
  display: block;
  text-decoration: none;
  border-radius: 0.6rem;
}
.poster {
  position: relative;
  display: block;
  background: #e1e8ea;
  border-radius: 0.6rem;
  overflow: hidden;
}
.poster img {
  width: 100%;
  height: auto;
  display: block;
}
.play {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  border: 1px solid #fff9;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  padding-left: 2px;
  font-size: 0.77rem;
  background: #142431e8;
  color: white;
}
.episode-title {
  display: block;
  margin-top: 0.65rem;
  font-weight: 730;
  font-size: clamp(1rem, 1.35vw, 1.23rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}
.episode:hover .episode-title,
.episode:focus-visible .episode-title,
.channel:hover {
  text-decoration: underline;
}
footer .bar {
  min-height: 5rem;
  font-size: 0.94rem;
}
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero img {
    aspect-ratio: 930 / 525;
  }
}
@media (max-width: 340px) {
  .bar {
    flex-wrap: wrap;
    padding-block: 0.5rem;
  }
}
