/* About and History are peers in the primary navigation. */
@media (min-width: 601px) {
  header > nav {
    width: auto;
    gap: clamp(18px, 2.5vw, 40px);
  }
}


/* Viewport covers apply only to desktop; smaller screens use original styles. */
@media (min-width: 1000px) {
/* Each page opens with a viewport-height image or video cover. */
body > .hero,
body > .header-image,
body > .info-video {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  margin-top: 0;
  object-fit: cover;
  object-position: center;
}
body > .hero { position: relative; }
body > .hero > .hero-image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}


/* Keep History's built-in decorative lower border visible. */
body > .header-image {
  position: relative;
  z-index: 1;
  object-position: center bottom;
}
body > .timeline {
  position: relative;
  isolation: isolate;
  z-index: 0;
  /* Match the transparent lower ornament after the banner's cover scaling. */
  margin-top: calc(-1 * max(4.431217vw, 7.419712svh) - 2px);
}
body > .timeline .timeline-background {
  z-index: 0;
  margin-top: 0;
}
body > .timeline .timeline-text { z-index: 1; }

/* About video retains desktop viewport sizing. */
body > video.info-video {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  max-height: none;
  margin: 0;
  object-fit: cover;
}
}

header > nav > a,
header .overlay-nav > a {
  font-size: 18px;
}
