/* Purpose: Hero section - cinematic, full-bleed, editorial. */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding-block: calc(96px + var(--space-16)) var(--space-24);
  overflow: hidden;
  background-color: var(--color-ink);
  color: var(--color-text-invert);
}

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

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.04);
}

/* Layered scrim: copy side goes deep, the subject keeps his light,
   and the base fades into the page ground so there is no hard seam. */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--color-ink) 0%, rgba(15,0,4,0.94) 26%, rgba(15,0,4,0.62) 52%, rgba(15,0,4,0.12) 78%, transparent 100%),
    linear-gradient(180deg, rgba(15,0,4,0.7) 0%, transparent 22%, transparent 62%, var(--color-ink) 100%);
}

.hero__inner {
  position: relative;
  z-index: var(--z-raised);
  max-width: 42rem;
}

.hero__eyebrow {
  display: block;
  max-width: 34rem;
  margin-bottom: var(--space-8);
  padding-left: var(--space-6);
  border-left: 2px solid var(--color-primary);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary-tint);
}

.hero__heading {
  margin-bottom: var(--space-8);
  font-size: var(--display-1);
  font-weight: var(--weight-bold);
  line-height: var(--leading-h1);
  letter-spacing: var(--tracking-tighter);
  text-wrap: balance;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 52%, var(--color-primary-tint) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hero__sub {
  margin-bottom: var(--space-10);
  max-width: 32rem;
  font-size: var(--text-md);
  line-height: var(--leading-snug);
  color: var(--color-text-muted);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; }

/* Thin scroll cue at the base. */
.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: var(--space-10);
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, transparent, var(--color-primary));
  z-index: var(--z-raised);
  animation: gb-hero-cue 2.6s var(--ease-inout) infinite;
}

@keyframes gb-hero-cue {
  0%, 100% { transform: scaleY(0.35); transform-origin: top; opacity: 0.2; }
  50%      { transform: scaleY(1);    transform-origin: top; opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce) { .hero::after { animation: none; } }

@media (max-width: 1024px) {
  .hero { min-height: 92dvh; padding-block: calc(88px + var(--space-12)) var(--space-20); }
  .hero__image { object-position: 74% center; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(15,0,4,0.88) 0%, rgba(15,0,4,0.66) 42%, rgba(15,0,4,0.92) 78%, var(--color-ink) 100%);
  }
  .hero__eyebrow { letter-spacing: 0.16em; margin-bottom: var(--space-6); }
  .hero::after { display: none; }
}
