/* Compact landing-page header, illustrated hero, and feature strip. */
.keeper-intro {
  --window-blue: #293e4f;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - var(--opening-chrome, 220px));
  display: flex;
  align-items: center;
  background: var(--window-blue);
  border-bottom: 1px solid var(--amber-line);
}
.keeper-backdrop {
  position: absolute;
  z-index: -3;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  max-width: 58%;
  max-height: 100%;
  object-fit: contain;
  object-position: right center;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #0000000a 4%,
    #00000040 10%,
    #00000099 18%,
    #000000e6 26%,
    #000 34%
  );
}
.keeper-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      #293e4f 0%,
      #263b4c 25%,
      #203442 36%,
      #192c3bef 43%,
      #142532cc 49%,
      #12233080 55%,
      #12233033 61%,
      #1223300d 67%,
      transparent 73%
    ),
    linear-gradient(0deg, #17293680, transparent 20%);
}
.keeper-intro::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 60%;
  z-index: -1;
  pointer-events: none;
  background: url("moon-clouds.webp") center / cover no-repeat;
  opacity: 0.05;
  mask-image: linear-gradient(90deg, #000 0%, #000 65%, transparent 100%);
}
.keeper-heading {
  padding: clamp(28px, 5vh, 70px) 12px clamp(28px, 5vh, 70px)
    max(32px, calc((100vw - 1400px) / 2));
  width: 45%;
}
.keeper-tagline {
  color: var(--amber-light);
  font:
    italic clamp(22px, 1.8vw, 30px)/1.4 Georgia,
    serif;
  margin: 0 0 24px;
}
#keeper-title {
  font:
    clamp(38px, 3.6vw, 58px)/1.08 Georgia,
    serif;
  letter-spacing: -1.5px;
  margin: 20px 0;
  max-width: 650px;
  text-shadow: 0 2px 20px #0008;
}
.keeper-summary {
  color: var(--moonlight);
  font:
    19px/1.6 Georgia,
    serif;
  margin: 0;
}
.keeper-heading .actions {
  justify-content: flex-start;
  margin-top: 27px;
}
.keeper-heading .outline {
  background: #101b25b3;
}
.intro-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 34px max(32px, calc((100vw - 1400px) / 2));
  gap: 30px;
  background: var(--header);
  border-bottom: 1px solid var(--amber-line);
}
.intro-features article {
  display: flex;
  align-items: center;
  gap: 20px;
}
.intro-features article + article {
  border-left: 1px solid var(--line-soft);
  padding-left: 30px;
}
.feature-symbol {
  flex: 0 0 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border: 1px solid var(--amber);
  border-radius: 50%;
  color: var(--amber);
  font:
    30px Georgia,
    serif;
}
.intro-features h2 {
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: 0;
}
.intro-features p {
  font:
    14px/1.6 Georgia,
    serif;
  color: var(--text-soft);
  margin: 0;
  max-width: 260px;
}
.vista-copy #vista-title {
  font:
    clamp(42px, 5.2vw, 68px)/1.05 Georgia,
    serif;
  letter-spacing: -2px;
  margin: 10px 0 26px;
  text-shadow: 0 3px 28px #0009;
}
#vista-title em {
  font-style: normal;
  color: var(--moonlight);
}
.gameplay-section {
  margin-top: 64px;
}
@media (max-width: 1000px) {
  .keeper-heading {
    padding: 28px 12px 28px 24px;
  }
  .keeper-backdrop {
    max-width: 58%;
    object-position: right center;
  }
  .intro-features {
    gap: 18px;
    padding: 26px 24px;
  }
  .intro-features article {
    gap: 12px;
  }
  .intro-features article + article {
    padding-left: 18px;
  }
  .feature-symbol {
    flex-basis: 44px;
    height: 44px;
    font-size: 24px;
  }
  .intro-features h2 {
    font-size: 19px;
  }
}
@media (max-width: 700px) {
  .keeper-intro {
    min-height: 540px;
  }
  .keeper-heading {
    padding: 320px 24px 35px;
    width: 100%;
  }
  .keeper-backdrop {
    top: 0;
    transform: none;
    width: 100%;
    height: 310px;
    max-width: 100%;
    max-height: none;
    object-position: center top;
    mask-image: none;
  }
  .keeper-intro::after {
    background: linear-gradient(
      0deg,
      var(--window-blue) 0%,
      #293e4fdb 40%,
      transparent 65%
    );
  }
  #keeper-title {
    font-size: 42px;
  }
  .keeper-summary {
    font-size: 16px;
  }
  .keeper-heading .actions {
    gap: 9px;
  }
  .keeper-heading .actions > * {
    font-size: 12px;
    padding: 11px 15px;
  }
  .intro-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .intro-features article + article {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding: 20px 0 0;
  }
  .intro-features p {
    max-width: none;
  }
}
