/* =============================================
   Page Hero Text – shared across all sub-pages
   ============================================= */

.page-hero-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 2rem 3rem;
  text-align: center;
  pointer-events: none;
}

/* Second scrim layer — sits behind the text but in front of the photo,
   adds extra darkness right where the words are without touching each page's CSS */
.page-hero-text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.42) 45%,
    transparent 100%
  );
  pointer-events: none;
}

.page-hero-eyebrow {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--primary-2);
  margin: 0 0 0.75rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.page-hero-title {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 2rem + 4.5vw, 5.5rem);
  font-weight: var(--fw-black);
  color: #ffffff;
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.9),
    0 4px 24px rgba(0, 0, 0, 0.7);
}

.page-hero-sub {
  position: relative;
  font-family: var(--font-body);
  font-size: var(--fs-h6);
  font-weight: var(--fw-regular);
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  max-width: 38rem;
  margin: 0;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
  .page-hero-text {
    padding: 0 1.5rem 2.25rem;
  }

  .page-hero-sub {
    font-size: var(--fs-base);
  }
}

@media (max-width: 480px) {
  .page-hero-text {
    padding: 0 1.25rem 1.75rem;
  }

  .page-hero-eyebrow {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
  }

  .page-hero-sub {
    display: none;
  }
}
