/* Full-width photographic hero, replacing the former collage.
   Photo: Artem Beliaikin / Unsplash, QCvu04PUKdg. */
.panorama-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: max(660px, 100svh);
  min-height: max(660px, 100dvh);
  overflow: hidden;
  color: #fffaf0;
  background: #454b30;
}
.panorama-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(.72) sepia(.23) brightness(.83);
}
.panorama-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(29 32 21 / .57), rgb(37 35 22 / .24) 58%, rgb(37 35 22 / .06));
}
.panorama-hero-content {
  width: 100%;
  position: relative;
  z-index: 1;
  padding: 130px 9.7% 150px;
}
.panorama-hero-label {
  margin: 0 0 15px;
  font-size: clamp(12px, 1.1vw, 17px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.panorama-hero h1 {
  max-width: 1100px;
  margin: 0;
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(54px, 4.95vw, 96px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}
.panorama-hero-description {
  margin: 25px 0 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.1vw, 36px);
  font-style: italic;
  line-height: 1.25;
}
.panorama-hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 62px;
  margin-top: 34px;
  padding: 17px 40px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
}
.panorama-hero-link svg { width: 25px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.panorama-hero-link:hover { color: #303c2c; background: #fffaf0; }
.panorama-hero-link:focus-visible { outline: 2px solid #fffaf0; outline-offset: 6px; }
@media (max-width: 767px) {
  .panorama-hero { min-height: max(660px, 100svh); min-height: max(660px, 100dvh); }
  .panorama-hero-content { padding: 120px 7% 140px; }
  .panorama-hero-image { object-position: 61% center; }
  .panorama-hero::before { background: linear-gradient(90deg, rgb(24 30 18 / .65), rgb(24 30 18 / .29)); }
  .panorama-hero h1 { max-width: 600px; font-size: clamp(44px, 8.5vw, 64px); line-height: 1.02; }
  .panorama-title-break { display: none; }
  .panorama-hero-description { max-width: 25ch; margin-top: 23px; font-size: 26px; }
  .panorama-hero-link { min-height: 56px; padding-inline: 28px; margin-top: 30px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .panorama-hero-link { transition: none; }
}

/* On the homepage the photograph extends behind the fixed navigation. */
.home-page .site-header { position: fixed; }
.home-page:not(.menu-open) .site-header:not(.stuck-nav) {
  --header-ink: #fffaf0;
  --header-accent: #fffaf0;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-page:not(.menu-open) .site-header:not(.stuck-nav) .header-cta {
  color: #fffaf0;
  background: rgb(27 43 28 / .64);
  box-shadow: inset 0 0 0 1px rgb(255 250 240 / .75);
}
.home-page:not(.menu-open) .site-header:not(.stuck-nav) .header-cta:hover {
  color: #23372b;
  background: #fffaf0;
}
.home-page .site-header .mobile-menu,
.home-page .site-header .header-cta { opacity: 1; }
/* Shade the photograph itself, leaving the header surface transparent. */
.panorama-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(17 29 19 / .65), transparent 170px),
    linear-gradient(0deg, #8d947d 0, rgb(141 148 125 / .85) 24px, rgb(141 148 125 / .35) 85px, transparent 190px);
}
.home-page .bio-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bio-sage), transparent);
}
