/* ============================================================
   PAGE HERO — shared dark page header (About, Products, Contact,
   Mission & Vision). Title and lead sizes match the Home hero.
   Image sits behind the content, with a directional dark overlay
   so text stays readable while the artwork shows on the right.
============================================================ */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 104px);
  background: var(--ink); color: var(--white);
  border-bottom: 1px solid var(--line-light);
  --grad-a: var(--grad-dark-a); --grad-b: var(--grad-dark-b);
}

/* ── Background image ── */
.page-hero__media { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: var(--ink); }
.page-hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform-origin: 70% 50%;
  animation: page-hero-zoom 22s ease-out forwards;
}
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--ink-rgb), .94) 0%, rgba(var(--ink-rgb), .74) 40%, rgba(var(--ink-rgb), .22) 100%),
    linear-gradient(0deg, rgba(var(--ink-rgb), .88) 0%, rgba(var(--ink-rgb), 0) 42%);
}
@keyframes page-hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Accent line along the bottom edge */
.page-hero .wrap { position: relative; }
.page-hero__rule {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--gradient-brand-fade);
  transform: scaleX(0); transform-origin: left;
  animation: page-rule 1.4s var(--ease) .6s forwards;
}
@keyframes page-rule { to { transform: scaleX(1); } }

/* Glows */
.page-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -40%; right: -10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .30), transparent 62%);
  filter: blur(40px);
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  bottom: -50%; left: -10%; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(var(--accent-blue-rgb), .14), transparent 62%);
}

.crumbs {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: clamp(48px, 7vw, 96px);
  font: 500 11px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(var(--white-rgb), .55);
}
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--accent-soft); }

/* Title and lead use the same sizes as the Home hero */
.page-hero__title {
  max-width: 18ch; margin-bottom: 24px;
  font-size: clamp(34px, 4.4vw, 64px); font-weight: 600; line-height: 1.05; letter-spacing: -.04em;
  text-shadow: 0 2px 30px rgba(var(--ink-rgb), .35);
}
.page-hero__lead {
  max-width: 540px;
  font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; color: rgba(var(--white-rgb), .78);
}

.page-hero__enter { opacity: 0; transform: translateY(24px); animation: page-enter 1s var(--ease) var(--delay, 0s) forwards; }
@keyframes page-enter { to { opacity: 1; transform: none; } }

/* ── Responsive ── */
@media (max-width: 760px) {
  /* Stronger overlay on small screens for legibility */
  .page-hero__media::after {
    background:
      linear-gradient(0deg, rgba(var(--ink-rgb), .9) 0%, rgba(var(--ink-rgb), .6) 100%);
  }
}
@media (max-width: 640px) {
  /* Same mobile title size as the Home hero */
  .page-hero__title { font-size: clamp(32px, 9vw, 40px); }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__media img { animation: none; transform: none; }
  .page-hero__rule { animation: none; transform: none; }
}