:root {
  color-scheme: light;
  background: #f8ecdf;
  --gutter: clamp(10px, 1.5vw, 20px);
}

body {
  margin: 0 auto;
  width: min(100% - 2 * var(--gutter), 850px);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.masthead {
  padding-block: clamp(16px, 4vw, 54px) var(--gutter);
}

.masthead h1 {
  max-width: 880px;
  margin: 0 auto;
}

.gallery {
  display: grid;
  gap: var(--gutter);
}

.featured {
  position: relative;
}

.video-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.video-screen {
  fill: transparent;
  pointer-events: fill;
  cursor: pointer;
}

.video-play circle {
  fill: rgb(22 12 8 / 72%);
  stroke: white;
  stroke-width: 3;
}

.video-play path {
  fill: white;
}

.video-links a:hover .video-screen,
.video-links a:focus-visible .video-screen {
  fill: rgb(255 255 255 / 12%);
  stroke: white;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.production,
.editions {
  display: grid;
  gap: var(--gutter);
  align-items: start;
}

.production {
  grid-template-columns: 1fr 1fr;
  width: 82%;
  margin-inline-start: auto;
}

.services {
  max-width: 923px;
  margin-inline: auto;
}

.merch {
  width: 91%;
  margin-block-start: clamp(12px, 3vw, 36px);
}

.editions {
  grid-template-columns: 1.12fr repeat(3, minmax(0, 1fr));
  margin-block-end: clamp(10px, 4vw, 48px);
}

.editions img:nth-child(even) {
  margin-block-start: clamp(12px, 3vw, 44px);
}

.endpaper img {
  max-width: 880px;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .production,
  .merch {
    width: 100%;
  }

  .editions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .editions img:nth-child(even) {
    margin-block-start: 0;
  }
}
