/* ==========================================================================
   Hero — scoped to .hero
   Full-viewport, single static hero (no carousel).
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--prism-band);
  border-radius: 0 0 12px 12px; /* Altariss hero-bottom spec */
}

/* Real hero photography — jet at dusk, supplied by client. */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/hero.jpg');
  background-size: cover;
  background-position: center;
}

/* Desktop-only looping video, layered over the photo (which stays as its
   poster frame and as the mobile background). Hidden by default; enabled
   in the desktop breakpoint below. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

@media (min-width: 721px) {
  .hero-video { display: block; }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 75% at 50% 62%, rgba(0, 0, 0, 0.55) 0%, transparent 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.22) 30%, rgba(0, 0, 0, 0.5) 68%, rgba(0, 0, 0, 0.78) 100%);
}

/* Transitional overlay: dissolves the hero's bottom edge into the next
   section's background color, so the video (or photo) never cuts off
   with a hard seam. */
.hero-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(140px, 20vw, 260px);
  background: linear-gradient(180deg, rgba(6, 6, 8, 0) 0%, var(--prism-band) 100%);
  pointer-events: none;
}

.hero-content.container {
  max-width: none; /* full-width, not capped to the shared 1240px container */
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* title + CTAs grouped together, bottom-left */
  justify-content: flex-end;
  text-align: left;
  color: var(--prism-band-text);
  padding-bottom: clamp(96px, 13vw, 150px); /* sits a bit higher off the bottom edge */
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: none; /* full width, no line-count cap */
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.55);
}

.hero-subtext {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--prism-band-text-body);
  margin: 0 0 36px;
  max-width: 27em; /* two lines on desktop */
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.55);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.hero-btn-primary {
  background: var(--prism-band-text);
  color: var(--prism-ink);
  border: none;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(81, 180, 213, 0);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.hero-btn-primary:hover {
  box-shadow: 0 0 32px rgba(81, 180, 213, 0.45);
  transform: translateY(-1px);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--prism-band-line);
  color: var(--prism-band-text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.hero-btn-secondary:hover {
  border-color: var(--prism-teal);
  color: var(--prism-teal);
}

@media (max-width: 720px) {
  .hero { height: 100svh; min-height: 560px; }
  .hero-content { align-items: center; padding-bottom: 48px; padding-inline: 24px; }
  .hero-title, .hero-subtext { text-align: center; }
  .hero-cta-row { flex-direction: column; width: 100%; }
  .hero-btn-primary, .hero-btn-secondary { width: 100%; justify-content: center; text-align: center; }
}
