/* One full-width photograph/header per page. Homepage has its own logo/video layout. */
.fg-page-hero-shared {
  --fg-hero-position: center 42%;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 510px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #131710 url("../media/home/hero-poster.jpg") center / cover
    no-repeat;
  border-bottom: 1px solid #242920;
}
.fg-page-hero-shared__image,
.fg-page-hero-shared__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--fg-hero-position);
  z-index: -2;
}
.fg-page-hero-shared::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      #000b 0%,
      #0004 20%,
      #0001 43%,
      #0001 63%,
      #000b 100%
    ),
    linear-gradient(
      90deg,
      #060804e0 0%,
      #060804a8 42%,
      #0608043d 72%,
      #06080414 100%
    );
}
.fg-page-hero-shared__video[hidden] {
  display: none;
}
.fg-page-hero-shared__fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #000;
  opacity: 0;
  transition: opacity 700ms ease-in-out;
}
.fg-page-hero-shared__fade.is-black {
  opacity: 1;
}
.fg-page-hero-shared__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 52px;
}
.fg-page-hero-shared__label {
  display: block;
  margin: 0 0 12px;
  color: #aeb8b1;
  font:
    700 10px/1.4 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.fg-page-hero-shared h1 {
  max-width: 900px;
  margin: 0 0 16px;
  color: #f0eee7;
  font:
    400 clamp(46px, 5.7vw, 74px)/1.06 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
.fg-page-hero-shared p {
  max-width: 760px;
  margin: 0;
  color: #cbd1cc;
  font:
    15px/1.68 Arial,
    Helvetica,
    sans-serif;
}
.fg-page-hero-shared--home {
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
}
.fg-page-hero-shared--home .fg-page-hero-shared__inner {
  padding: 140px 0 64px;
}
.fg-page-hero-shared--home .fg-home-logo {
  margin: 20px 0;
}
.fg-page-hero-shared--home .fg-home-logo img {
  display: block;
  width: min(420px, 85%);
  height: auto;
}
.fg-page-hero-shared--home p {
  max-width: 569.5px;
  width: 85%;
  font-size: 14px;
  line-height: 1.8;
}
.fg-page-hero-shared--home .buttons {
  margin-top: 26px;
}
@media (max-width: 900px) {
  .fg-page-hero-shared {
    min-height: 450px;
  }
  .fg-page-hero-shared__inner {
    width: calc(100% - 30px);
    padding: 125px 0 42px;
  }
  .fg-page-hero-shared--home {
    min-height: 100vh;
    min-height: 100svh;
  }
}
@media (max-width: 620px) {
  .fg-page-hero-shared {
    min-height: 400px;
  }
  .fg-page-hero-shared__inner {
    padding: 110px 0 34px;
  }
  .fg-page-hero-shared h1 {
    font-size: clamp(36px, 11vw, 52px);
    margin-bottom: 13px;
  }
  .fg-page-hero-shared p {
    font-size: 14px;
    line-height: 1.6;
  }
  .fg-page-hero-shared--home {
    min-height: 100vh;
    min-height: 100svh;
  }
  .fg-page-hero-shared--home .fg-page-hero-shared__inner {
    padding: 110px 0 44px;
  }
  .fg-page-hero-shared--home .fg-home-logo img {
    width: min(350px, 90%);
  }
  .fg-page-hero-shared--home p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fg-page-hero-shared__video {
    display: none;
  }
}
