/* ==========================================================================
   Heroes — home (full-bleed media) and inner pages (compact)
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

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

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

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(6, 18, 29, .62) 0%, rgba(6, 18, 29, .12) 32%, rgba(6, 18, 29, .5) 72%, rgba(6, 18, 29, .86) 100%);
}

.hero__inner {
  width: 100%;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  padding-top: calc(var(--nav-h) + 5rem);
}

.hero__eyebrow {
  color: #fff;
  opacity: .85;
}

.hero__eyebrow::before { background: var(--brass-lite); }

.hero h1 {
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-display);
  letter-spacing: -0.04em;
  line-height: .98;
  margin-bottom: 1.4rem;
  max-width: 20ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .3);
}

.hero h1 em {
  font-style: normal;
  font-weight: 500;
  display: block;
}

.hero__sub {
  font-size: clamp(1.05rem, .95rem + .4vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
  max-width: 52ch;
  margin-bottom: 2.2rem;
}

.hero__actions { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Stat strip pinned to the bottom of the hero */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .16);
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.hero__stat {
  background: transparent;
  padding: 1.5rem clamp(.75rem, 2vw, 1.75rem);
  position: relative;
}

.hero__stat + .hero__stat { box-shadow: -1px 0 0 rgba(255, 255, 255, .16); }

.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: .5rem;
}

/* Direct child only — the counter <span> lives inside the <b> and must not
   pick up the label styling. */
.hero__stat > span {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .66);
  line-height: 1.5;
}

@media (max-width: 780px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 88svh; }
}

/* Scroll cue */
.hero__cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(9rem, 16vw, 12rem);
  writing-mode: vertical-rl;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__cue::after {
  content: "";
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: cue-slide 2.4s var(--ease) infinite;
}

@keyframes cue-slide {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 1100px) { .hero__cue { display: none; } }

/* --- Inner page hero ---------------------------------------------------- */

.phero {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 46vh, 520px);
}

.phero__media { position: absolute; inset: 0; z-index: -2; }

.phero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.phero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(6,18,29,.58) 0%, rgba(6,18,29,.34) 45%, rgba(6,18,29,.82) 100%);
}

.phero__inner {
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  width: 100%;
}

.phero h1 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.phero__sub {
  color: rgba(255, 255, 255, .84);
  font-size: var(--fs-lead);
  max-width: 56ch;
  margin: 0;
}

/* Breadcrumb */
.crumbs {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 1.5rem;
}

.crumbs a { transition: color .25s var(--ease); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: var(--brass-lite); }
