.hd-page section {
  margin: 2.8rem 0;
}
.hd-page section h2 {
  margin: 0 0 0.35rem;
  font: 700 clamp(1.9rem, 3vw, 3rem) / 1 var(--ll-display);
}
.hd-page section > p,
.hd-orbit p {
  margin: 0.4rem 0 1rem;
  color: var(--ll-muted);
}
.hd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hd-tile {
  display: grid;
  padding: 0;
  overflow: hidden;
  background: var(--ll-asphalt);
  border: 1px solid var(--edge);
  border-radius: 9px;
  text-align: left;
}
.hd-tile:hover,
.hd-tile:focus-visible {
  border-color: var(--ll-peach);
}
.hd-tile img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.hd-tile span {
  padding: 12px 16px 15px;
}
.hd-tile small {
  display: block;
  color: var(--ll-peach);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.hd-tile strong,
.hd-caption h3 {
  display: block;
  font: 700 1.75rem/1.1 var(--ll-display);
  margin: 4px 0 0;
}
.hd-pair,
.hd-orbit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.hd-pair .hd-tile:nth-child(2) img {
  object-position: 50% 37%;
}
.hd-orbit {
  align-items: center;
  background: var(--ll-asphalt);
  border-radius: 10px;
  padding: clamp(14px, 3vw, 36px);
}
dialog[data-utility='hd'] {
  width: min(1160px, calc(100% - 24px));
  max-height: 94dvh;
}
#hd-stage {
  display: grid;
  align-items: center;
  justify-items: center;
  background: var(--ll-ink);
  overflow: auto;
  border-radius: 6px;
}
#hd-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 54dvh;
  object-fit: contain;
}
#hd-stage.zoomed {
  display: block;
  height: 54dvh;
  overscroll-behavior: contain;
}
#hd-stage.zoomed img {
  display: block;
  max-width: none;
  max-height: none;
}
.hd-caption {
  margin: 1rem 0;
}
.hd-caption p {
  margin: 0.4rem 0;
}
.hd-caption .kicker {
  color: var(--ll-peach);
}
.hd-links,
.hd-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.hd-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ll-tide);
  text-underline-offset: 0.2em;
}
.hd-controls {
  gap: 8px;
}
@media (max-width: 820px) {
  .hd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .hd-grid {
    gap: 9px;
  }
  .hd-tile span {
    padding: 9px;
  }
  .hd-tile strong {
    font-size: 1.28rem;
  }
  .hd-orbit {
    grid-template-columns: 1fr;
  }
  #hd-stage img {
    max-height: 44dvh;
  }
}
