/* Homepage hero composition. Media and behavior settings live in site.config.json. */
.home-page .site-header { position: relative; z-index: 5; }
.home-page main { margin-top: -95px; }
.frontier-sequence { position: relative; }
.frontier-sequence.has-cinema { height: 200svh; }
.frontier-hero,
.has-cinema .frontier-hero {
  height: 100svh;
  min-height: 680px;
  max-height: none;
  background: #080e12;
}
.frontier-object {
  inset: 50% 0 auto;
  width: 100%;
  height: auto;
  opacity: 1;
  aspect-ratio: 16 / 9;
  transform: translate(7%, -50%) scale(.87);
  mask-image: linear-gradient(transparent, #000 12%, #000 86%, transparent), linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect;
}
.frontier-object img,
.frontier-film {
  object-fit: contain;
  object-position: right center;
  transform: none;
  mask-image: none;
}
.frontier-hero::after {
  background: linear-gradient(90deg, #080e12 6%, #080e12c4 27%, #080e1226 52%, transparent 68%);
}
.frontier-copy {
  padding-top: clamp(175px, 24svh, 260px);
}
.frontier-kicker {
  font-size: 10px;
  letter-spacing: .17em;
  margin-bottom: 30px;
  color: #b5c6cb;
}
.frontier-copy h1 {
  font-size: clamp(66px, 6.5vw, 94px);
  line-height: 1.04;
  letter-spacing: -.065em;
  max-width: 720px;
}
.frontier-copy h1 span:last-child { max-width: none; }
.frontier-copy > p {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.8;
  margin-top: 30px;
  color: #b6c5ca;
}
.frontier-actions { margin-top: 34px; gap: 25px; }
.frontier-actions .button { border-radius: 999px; padding: 17px 23px; gap: 22px; }
.frontier-actions .text-link { font-size: 12px; }
.frontier-actions a svg { transition: transform .25s; }
.frontier-actions a:hover svg { transform: translate(3px, -2px); }
.frontier-bottom {
  bottom: 32px;
  border-top: 1px solid #ffffff20;
  padding-top: 21px;
  align-items: center;
}
.frontier-bottom .eyebrow { font-size: 9px; letter-spacing: .13em; }
.frontier-status { font-size: 10px; margin-top: 8px; }
.frontier-bottom > a { font-size: 9px; margin-right: 175px; }
.frontier-annotation { right: calc(6% + 125px); bottom: 140px; font-size: 8px; letter-spacing: .12em; color: #95acae; }
.motion-toggle { top: auto; bottom: 126px; right: 6%; padding: 9px 14px; }
.film-caption { top: 27%; font-size: clamp(66px, 6.5vw, 94px); }
.film-caption p { max-width: 320px; }
@media (min-width: 900px) and (max-height: 800px) {
  .frontier-object { transform: translate(5%, -50%) scale(.73); }
  .frontier-copy { padding-top: 155px; }
  .frontier-copy h1 { font-size: 76px; }
  .frontier-kicker { margin-bottom: 22px; }
  .frontier-copy > p { margin-top: 22px; font-size: 14px; }
  .frontier-actions { margin-top: 24px; }
  .frontier-annotation { bottom: 106px; }
}
@media (max-width: 1100px) and (min-width: 900px) {
  .frontier-copy h1 { font-size: 64px; }
  .frontier-object { transform: translate(4%, -50%) scale(.85); }
}
@media (max-width: 899px) {
  .home-page main { margin-top: 0; }
  .frontier-sequence.has-cinema { height: auto; }
  .frontier-hero, .has-cinema .frontier-hero {
    height: auto;
    min-height: 800px;
    position: relative;
  }
  .frontier-copy { padding-top: 46px; }
  .frontier-copy h1 { font-size: clamp(48px, 8.4vw, 74px); }
  .frontier-copy > p { max-width: 390px; font-size: 14px; margin-top: 22px; }
  .frontier-kicker { font-size: 9px; margin-bottom: 23px; }
  .frontier-actions { margin-top: 25px; }
  .frontier-object { inset: auto 0 85px; height: 400px; aspect-ratio: auto; transform: none; }
  .frontier-object img { object-fit: cover; object-position: 80% center; transform: none; }
  .frontier-hero::after { background: linear-gradient(#080e12 34%, transparent 58%); }
  .frontier-bottom { bottom: 24px; padding-top: 16px; }
  .frontier-bottom > a { margin-right: 0; }
  .frontier-annotation { right: 20px; bottom: 107px; font-size: 7px; }
}
@media (max-width: 600px) {
  .frontier-hero, .has-cinema .frontier-hero { min-height: 760px; }
  .frontier-copy { padding-top: 38px; }
  .frontier-copy h1 { font-size: clamp(43px, 11.6vw, 66px); line-height: 1.07; }
  .frontier-kicker { font-size: 8px; letter-spacing: .13em; }
  .frontier-copy > p { font-size: 13px; max-width: 330px; }
  .frontier-actions { gap: 18px; }
  .frontier-actions .button { font-size: 11px; padding: 15px 19px; gap: 12px; }
  .frontier-actions .text-link { font-size: 11px; }
  .frontier-object { bottom: 88px; height: 345px; }
  .frontier-bottom .eyebrow { font-size: 7px; }
  .frontier-status { font-size: 8px; }
  .frontier-bottom > a { display: none; }
}
@media (max-width: 360px) {
  .frontier-actions { gap: 12px; flex-wrap: nowrap; }
  .frontier-actions .button { font-size: 10px; padding: 14px 12px; gap: 8px; }
  .frontier-actions .text-link { font-size: 9px; gap: 6px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .frontier-sequence.has-cinema { height: auto; }
  .has-cinema .frontier-hero { position: relative; }
  .frontier-actions a svg { transition: none; }
}

/* Keep the artwork inside the same centered frame on wide monitors. */
@media (min-width: 1500px) {
  .frontier-copy h1 { font-size: 88px; }
  .frontier-object {
    width: 1440px;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) scale(.87);
  }
  .frontier-annotation { right: calc((100% - 1280px) / 2 + 125px); }
  .motion-toggle { right: calc((100% - 1280px) / 2); }
}
