/* HPH page-specific cinematic hero system.
   The approved homepage remains untouched; interior pages inherit its visual direction. */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, 72vh, 780px);
  overflow: hidden;
  background: #07172b;
  color: #fff;
}

.page-hero .hero-grid {
  display: block;
  min-height: inherit;
}

.page-hero .hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(790px, 72vw);
  padding-block: clamp(122px, 14vw, 180px) clamp(96px, 10vw, 132px);
}

.page-hero h1,
.page-hero h1 strong {
  color: #fff;
  text-shadow: 0 3px 28px rgb(0 0 0 / 24%);
}

.page-hero .eyebrow {
  color: #65d6dc;
}

.page-hero .lead {
  max-width: 59ch;
  color: rgb(240 246 250 / 90%);
  text-shadow: 0 2px 18px rgb(0 0 0 / 28%);
}

.page-hero .button.primary {
  border-color: #49adca;
  background: #49adca;
  color: #07172b;
}

.page-hero .button.primary:hover,
.page-hero .button.primary:focus-visible {
  border-color: #70c4dc;
  background: #70c4dc;
}

.page-hero .button.ghost {
  border-color: rgb(255 255 255 / 68%);
  color: #fff;
}

.page-hero .button.ghost:hover,
.page-hero .button.ghost:focus-visible {
  border-color: #fff;
  background: rgb(255 255 255 / 10%);
}

.page-hero .hero-art.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  min-height: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #07172b;
}

.page-hero .hero-art.hero-photo::before {
  content: none;
}

.page-hero .hero-art.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(4 16 31 / 94%) 0%, rgb(4 16 31 / 82%) 38%, rgb(4 16 31 / 38%) 68%, rgb(4 16 31 / 16%) 100%),
    linear-gradient(180deg, rgb(3 14 28 / 26%) 0%, transparent 55%, rgb(3 14 28 / 38%) 100%);
}

.page-hero .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.94) contrast(1.03);
  transform: scale(1.015);
  animation: hph-hero-breathe 14s ease-in-out infinite alternate;
}

.page-hero .hero-photo .art-label {
  position: absolute;
  top: auto;
  right: max(var(--gutter, 24px), calc((100vw - 1240px) / 2));
  bottom: 32px;
  left: auto;
  z-index: 2;
  width: auto;
  height: auto;
  min-height: 0;
  max-width: min(480px, 46vw);
  display: inline-block;
  padding: 9px 12px;
  border: 1px solid rgb(255 255 255 / 22%);
  background: rgb(5 20 38 / 54%);
  color: rgb(255 255 255 / 88%);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

@keyframes hph-hero-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.055); }
}

@media (max-width: 800px) {
  .page-hero {
    min-height: 650px;
  }

  .page-hero .hero-copy {
    max-width: 100%;
    padding-block: 112px 120px;
  }

  .page-hero .hero-art.hero-photo::after {
    background:
      linear-gradient(90deg, rgb(4 16 31 / 88%) 0%, rgb(4 16 31 / 63%) 100%),
      linear-gradient(180deg, rgb(3 14 28 / 28%) 0%, rgb(3 14 28 / 42%) 100%);
  }

  .page-hero .hero-photo img {
    object-position: 62% center;
  }

  .page-hero .hero-photo .art-label {
    right: var(--gutter, 20px);
    bottom: 22px;
    max-width: calc(100% - (2 * var(--gutter, 20px)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero .hero-photo img {
    animation: none;
    transform: scale(1.02);
  }
}
