/* Only loaded on the museum homepage. */
main.wrap:has(> .home-hero) { max-width: none; padding: 0; }
main.wrap:has(> .home-hero) > .section { max-width: 1100px; margin-inline: auto; padding-inline: 24px; }
.hero.home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  width: 100%; max-width: 1600px; min-height: clamp(470px, 48vw, 690px);
  margin: 0 auto 36px; padding: 60px clamp(28px, 8vw, 120px);
  background: #493b38; color: #fff; gap: 0;
}
.hero.home-hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center; aspect-ratio: auto;
  border-radius: 0; z-index: -2;
}
.hero.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(30,20,18,.85) 0%, rgba(30,20,18,.66) 38%, rgba(30,20,18,.20) 75%, rgba(30,20,18,.04) 100%);
}
.hero.home-hero > div { max-width: 640px; min-width: 0; }
.home-hero .eyebrow { color: #fff4dc; font-size: clamp(.86rem, 1.4vw, 1.08rem); letter-spacing: .09em; }
.hero.home-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.7rem); line-height: 1.4; margin: .28em 0 .35em; letter-spacing: .025em; }
.home-hero .lead { color: #fff; max-width: 510px; font-size: clamp(1rem, 1.45vw, 1.13rem); margin: 0 0 22px; line-height: 1.95; }
.home-hero .button { display: inline-block; background: #89504e; border: 1px solid #f1ddd3; color: #fff; padding: 12px 22px; margin: 5px 10px 5px 0; border-radius: 7px; }
.home-hero .button.secondary { background: #fffaf4; border-color: #fffaf4; color: #713f3d; }
.home-hero .button:hover { text-decoration: underline; }
.home-hero .button:focus-visible { outline: 3px solid #ffe2a1; outline-offset: 3px; }
@media(max-width: 740px) {
  main.wrap:has(> .home-hero) > .section { padding-inline: 16px; }
  .hero.home-hero { min-height: 520px; margin-bottom: 20px; padding: 42px 22px 32px; align-items: end; }
  .hero.home-hero::before { background: linear-gradient(0deg, rgba(30,20,18,.90) 0%, rgba(30,20,18,.70) 53%, rgba(30,20,18,.12) 100%); }
  .hero.home-hero > img { object-position: center; }
  .hero.home-hero h1 { font-size: clamp(1.8rem, 6.4vw, 2.8rem); }
  .home-hero .button { padding: 10px 14px; margin-right: 6px; font-size: .94rem; }
}
