/* CTC homepage original-photo hero, 2026-11-09.
   Uses the exact uploaded JPEG (no generation, crop, or re-encoding).
   Only the homepage is affected. Later loaded than all former homepage styles.
   Non-image overlays are CSS-only, to preserve CTA contrast and visual fit.
*/
body.home-bg-page.ctc-plane-page::before {
  background-image: linear-gradient(90deg,rgba(1,7,20,.09),rgba(1,7,20,.04)),
    url('../assets/backgrounds/ctc-walkout-original-hero-20261109.jpeg') !important;
  background-size: 100% 100%, cover !important;
  background-position: center, 50% 50% !important;
  background-repeat: no-repeat !important;
  background-color: #020815 !important;
  opacity: 1 !important;
  filter: none !important;
}
/* Keep the CTA away from the central fighter on wide screens. */
body.home-bg-page.ctc-plane-page .ctc-plane-home-hero {
  min-height: 100svh !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  padding: 7rem clamp(20px,4vw,64px) 3.25rem !important;
}
body.home-bg-page.ctc-plane-page .ctc-plane-home-hero .hero-copy {
  width: min(525px,46vw) !important;
  margin: 0 0 0 auto !important;
  padding: clamp(18px,2vw,26px) !important;
  background: rgba(2,9,29,.72) !important;
  border: 1px solid rgba(245,203,91,.30) !important;
  border-radius: 22px !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  box-shadow: 0 14px 42px rgba(0,0,0,.30) !important;
}
body.home-bg-page.ctc-plane-page .ctc-plane-home-hero h1 {
  font-size: clamp(2rem,3.5vw,3.7rem) !important;
  line-height: 1.04 !important;
}
body.home-bg-page.ctc-plane-page .ctc-plane-home-hero .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: flex-start !important;
}
/* Portrait devices cannot show a 16:9 photo without either cropping or
   empty space. Keep a full-height immersive background with a center-focused
   image, using a smooth native CSS navy fade behind the bottom action card. */
@media (max-width: 760px) {
  body.home-bg-page.ctc-plane-page::before {
    background-image: linear-gradient(to bottom,
      rgba(2,7,20,.00) 0%, rgba(2,7,20,.03) 28%,
      rgba(2,7,20,.16) 49%, rgba(2,7,20,.60) 66%,
      rgba(2,7,20,.95) 87%, #020714 100%),
      url('../assets/backgrounds/ctc-walkout-original-hero-20261109.jpeg') !important;
    background-size: 100% 100%, auto 74svh !important;
    background-position: center top, 50% 92px !important;
    background-repeat: no-repeat !important;
    background-color: #020714 !important;
    height: 100svh !important;
  }
  body.home-bg-page.ctc-plane-page .ctc-plane-home-hero {
    min-height: 100svh !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 7.5rem 16px 28px !important;
  }
  body.home-bg-page.ctc-plane-page .ctc-plane-home-hero .hero-copy {
    width: 100% !important;
    max-width: 560px !important;
    padding: clamp(14px,3.7vw,20px) !important;
    margin: 0 auto !important;
    background: rgba(2,9,28,.79) !important;
    border-radius: 18px !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
  }
  body.home-bg-page.ctc-plane-page .ctc-plane-home-hero h1 {
    font-size: clamp(1.75rem,7.2vw,2.3rem) !important;
    line-height: 1.05 !important;
  }
  body.home-bg-page.ctc-plane-page .ctc-plane-home-hero .eyebrow {
    font-size: .73rem !important;
    letter-spacing: .15em !important;
  }
  body.home-bg-page.ctc-plane-page .ctc-plane-home-hero .hero-text {
    font-size: clamp(.85rem,3.45vw,1rem) !important;
    line-height: 1.5 !important;
    margin-bottom: 1.1rem !important;
  }
  body.home-bg-page.ctc-plane-page .ctc-plane-home-hero .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
  }
  body.home-bg-page.ctc-plane-page .ctc-plane-home-hero .hero-actions .button {
    min-width: 0 !important;
    font-size: clamp(.62rem,2.6vw,.78rem) !important;
    padding: 12px 6px !important;
  }
}
@media (max-width: 360px) {
  body.home-bg-page.ctc-plane-page .ctc-plane-home-hero .hero-copy { padding: 12px !important; }
  body.home-bg-page.ctc-plane-page .ctc-plane-home-hero .hero-text { margin-bottom: .65rem !important; }
}
@media (max-height: 650px) and (max-width:760px) {
  body.home-bg-page.ctc-plane-page .ctc-plane-home-hero {min-height: 710px !important;}
  body.home-bg-page.ctc-plane-page::before {background-size:100% 100%,auto 525px !important;}
}
