/* ══════════════════════════════════════════════════
   PAGE HERO — shared banner for every content page
   (About, Services, Features, Portfolio, Contact — Home
   has its own dedicated Scratch Iris Reveal hero instead).
   Full-bleed image, dark scrim, page title + opening
   statement overlaid. Position of the text block within
   the banner (currently bottom-left) is a placeholder
   default — not finalized, see conversation.
   Depends on: tokens.css
   ══════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--c1);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Bottom-weighted gradient rather than a flat scrim — keeps the top of
   the image visible/legible while the text sits on a fully-readable dark
   base, same technique as the Portfolio cards' photo scrim. */
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 5, 12, 0.92) 0%,
    rgba(5, 5, 12, 0.62) 45%,
    rgba(5, 5, 12, 0.15) 80%,
    transparent 100%
  );
}

.page-hero__wrap {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2 * var(--content-inset)), var(--container-max));
  margin-inline: auto;
  padding-block: clamp(12rem, 20vh, 16rem) var(--space-8);
}

.page-hero__content {
  max-width: 72rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.page-hero__eyebrow {
  font-family: var(--fm);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--t2);
  margin: 0;
}

.page-hero__title {
  font-family: var(--fd);
  font-size: clamp(4rem, 6vw, 7.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--txt);
  margin: 0;
}

.page-hero__lead {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.page-hero__lead p {
  font-family: var(--fm);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--t2);
  margin: 0;
}

@media (max-width: 600px) {
  .page-hero {
    min-height: 90vh;
  }
}
