:root { --header-height: 68px }
html { scroll-padding-block-start: var(--header-height) }

header.mast {
  position: fixed;
  z-index: 8;
  inset: 0 0 auto;
  color: #fff6e9;
  background: linear-gradient(#16110cb8, #16110c00);
}
.mast.mast-scrolled,
.mast:focus-within {
  background: rgb(22 18 15 / 95%);
  box-shadow: 0 1px 0 rgb(254 242 220 / 20%);
}
.mast :is(.mast-rail, .mast-inner) { min-height: var(--header-height); border-bottom: 0 }
.mast .brand { max-width: 93px }
.mast nav a { min-height: 44px }
.mast .menu-trigger { min-height: 44px; padding-block: 6px }
.skip:focus { z-index: 10 }
.exhibit-photo::after,
.catalog-image > picture::after,
.case-hero-media > picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/editorial/grain.png");
  opacity: .06;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
@media(max-width: 760px) {
  :root { --header-height: 58px }
  .mast .brand { max-width: 77px }
}
@media(prefers-reduced-motion: no-preference) {
  .mast { transition: background-color .28s ease-out, box-shadow .28s ease-out }
}
