.hero-filter-defs { position: absolute; }

.nature-home .hero-scene { background-color: #07191d; }
[data-theme="light"] .nature-home .hero-scene { background-color: #397eae; }
.nature-home .hero-scene img {
  position: absolute;
  inset: 0;
  object-position: 50% 55%;
  filter: url("#nature-hero-grain");
}
.nature-home .hero-scene img:not([src]) { visibility: hidden; }
.nature-home .hero-alternate { opacity: 0; }
[data-theme="light"] .hero-alternate.is-ready[data-landscape="light"],
[data-theme="dark"] .hero-alternate.is-ready[data-landscape="dark"],
.base-unavailable .hero-alternate.is-ready { opacity: 1; }

.nature-home .hero-copy { top: 37%; }

/* Fade the lower edge into the same animated colour as the page. */
.nature-home .hero-shade {
  --edge-fade: linear-gradient(to bottom, transparent 66%, rgb(0 0 0 / 18%) 84%, black 100%);
  background: var(--paper);
  -webkit-mask-image: var(--edge-fade);
  mask-image: var(--edge-fade);
}
@media (prefers-reduced-motion: no-preference) {
  .nature-home .hero-alternate { transition: opacity 320ms ease-in-out; }
  .nature-home .hero-shade { transition: background-color 220ms ease-out; }
  .nature-home .hero-bottom { transition: color 220ms ease-out; }
  .hero-revealed .nature-home .hero-scene { animation-duration: 450ms; animation-delay: 0s; }
}
[data-alternate="light"] .nature-home .monolith-hero .hero-copy h1 { color: #f2f3ef; }
[data-alternate="light"] .nature-home .monolith-hero .hero-bottom { color: var(--ink); }
[data-alternate="light"] .nature-home .hero-header:not(.menu-open) :where(.wordmark, .phone-menu, .hero-nav a) {
  color: #f5f4ef;
  text-shadow: 0 1px 2px rgb(8 31 44 / 24%);
}
[data-alternate="light"] .nature-home .hero-header:not(.menu-open) .over-pale-sky {
  color: var(--ink);
  text-shadow: 0 1px 2px rgb(255 255 255 / 16%);
}
@media (prefers-reduced-motion: no-preference) {
  .nature-home .hero-header:not(.menu-open) :is(.wordmark, .phone-menu, .hero-nav a) {
    transition: color 320ms ease-in-out, text-shadow 320ms ease-in-out, background-color 200ms ease-out;
  }
}
