/* Center the main content while keeping detailed controls easy to scan. */
.areas-grid .area-photo {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 0;
  background: #d8e4de;
}

.areas-grid .area-photo::before,
.areas-grid .area-photo::after {
  display: none;
}

.areas-grid .area-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.areas-grid .area-photo img[hidden],
.areas-grid .area-photo-error[hidden] {
  display: none;
}

.area-photo-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  color: #244a42;
  font-size: 13px;
}

.area-photo-credits {
  margin-top: 12px;
}

.area-photo-credits summary {
  cursor: pointer;
}

.area-photo-credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-hero .hero-grid {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
  min-height: 0;
  margin: 0 auto;
  text-align: center;
}

.home-hero .lead {
  margin-inline: auto;
}

.home-hero .eyebrow {
  justify-content: center;
}

.home-hero .actions {
  justify-content: center;
}

.home-hero .art {
  width: min(100%, 800px);
  margin-inline: auto;
}

.home-hero .hero-ambient-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  border-radius: 100px 100px 7px 7px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.home-hero .art.hero-video-playing .hero-ambient-video {
  opacity: 1;
}

.home-hero .art-tag {
  z-index: 2;
}

.home-hero .hero-video-toggle {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 3px;
  background: rgba(13, 37, 41, .9);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.home-hero .hero-video-toggle:hover {
  background: #0d2529;
}

.home-hero .hero-video-toggle:focus-visible {
  outline: 3px solid #f4d79b;
  outline-offset: 3px;
}

.home-hero .art-tag {
  left: 16px;
}

.section-head {
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.section-head p {
  max-width: 600px;
  margin-inline: auto;
}

.page-intro .wrap {
  text-align: center;
}

.page-intro .breadcrumb {
  text-align: center;
}

.page-intro p {
  margin-inline: auto;
}

.search-intro {
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.search-intro p {
  margin-inline: auto;
}

.contact .wrap {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.contact .actions {
  justify-content: center;
}

.contact-form-status[data-state="success"] {
  color: #176b4d;
}

.contact-form-status[data-state="error"] {
  color: #a52d2d;
}

.contact-form-status[data-state="pending"] {
  color: #52635d;
}

.contact-form-status:empty {
  display: none;
}

@media (max-width: 640px) {
  .home-hero .art {
    margin-inline: auto;
  }

  .home-hero .hero-ambient-video {
    border-radius: 64px 64px 7px 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .hero-ambient-video {
    transition: none;
  }
}
