/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  background: #e8ecef;
  color: #102f57;
}

a {
  color: inherit;
  text-decoration: none;
}

/* PAGE */
.page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: white;
}

/* HEADER */
.header {
  height: 76px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu,
.menu-button {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  line-height: 1;
  cursor: pointer;
}

.museum-name {
  font-size: 20px;
  font-weight: 700;
}

/* SHARED MOBILE NAVIGATION */

html.site-menu-open,
body.site-menu-open {
  overflow: hidden;
}

.site-navigation-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  background: rgba(7, 27, 51, 0.58);
  opacity: 0;
  transition:
    opacity 250ms ease,
    visibility 0s linear 250ms;
}

.site-navigation {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  width: min(75vw, 430px);
  overflow-y: auto;
  background: #fff;
  box-shadow: -8px 0 24px rgba(7, 27, 51, 0.2);
  visibility: hidden;
  transform: translateX(100%);
  transition:
    transform 250ms ease,
    visibility 0s linear 250ms;
}

.site-menu-open .site-navigation-backdrop {
  visibility: visible;
  opacity: 1;
  transition: opacity 250ms ease;
}

.site-menu-open .site-navigation {
  visibility: visible;
  transform: translateX(0);
  transition: transform 250ms ease;
}

.site-navigation-header {
  height: 76px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid #e7ebef;
}

.site-navigation-close {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #102f57;
  font: inherit;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.site-navigation-list {
  width: 100%;
  padding: 28px 20px 40px;
  display: grid;
}

.site-navigation a {
  min-height: 72px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d9e6f1;
  color: #102f57;
  font-size: 26px;
  font-weight: 700;
}

.site-navigation a::after {
  margin-left: auto;
  content: "›";
  color: #60758b;
  font-size: 32px;
  font-weight: 400;
}

.site-navigation a[aria-current="page"] {
  background: #eef6fd;
  border-radius: 8px;
}

.site-navigation a:focus-visible,
.site-navigation-close:focus-visible,
.menu:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid #1e5b94;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .site-navigation,
  .site-navigation-backdrop {
    transition: none;
  }
}

/* Reusable archival-photo attribution and accessible background description. */
.photo-credit {
  margin: 0;
  padding: 5px 16px;
  background: #fff;
  color: #6d7f95;
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
}

.hero-image-description {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
