/* =========================================================
   HERO — full-bleed editorial image + overlay + big headline
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 84px clamp(24px, 4vw, 48px) 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

/* Full-bleed image */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
  filter: grayscale(15%) contrast(1.05);
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}

/* Letter stagger animation */
.stagger-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: charIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes charIn {
  to { opacity: 1; transform: none; }
}

/* Overlay — darken left for legibility, fade bottom */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  justify-content: flex-start;
  padding-top: 12px;
}
.hero-stack { margin-top: auto; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-eyebrow .tag-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hero-eyebrow .tag-group .dot {
  width: 6px; height: 6px;
  background: #ff4d3c;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px #ff4d3c;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-headline {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(52px, 9vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.hero-headline .dim { color: rgba(255,255,255,0.55); font-weight: 300; }

/* Massive REZU brand mark */
.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-pretitle {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0 0 28px;
}
.hero-pretitle .line {
  display: block;
  width: 56px; height: 1px;
  background: rgba(255,255,255,0.5);
}
.hero-mark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(120px, 22vw, 360px);
  line-height: 0.82;
  letter-spacing: -0.065em;
  color: #fff;
  margin: 0;
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  text-shadow: 0 4px 80px rgba(0,0,0,0.6);
}
.hero-mark-accent {
  font-size: 0.18em;
  line-height: 1;
  margin-top: 0.35em;
  margin-left: 0.08em;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  letter-spacing: 0;
}
.hero-subline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin: 28px 0 0;
  max-width: 560px;
  letter-spacing: -0.005em;
}
.hero-subline em {
  font-style: normal;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(180deg, transparent 62%, rgba(91,91,255,0.45) 62%, rgba(91,91,255,0.45) 92%, transparent 92%);
  padding: 0 2px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-meta .sep { opacity: 0.35; }

/* Bottom strip over image */
.hero-foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 28px;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.2);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.hero-foot .f-lede {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  max-width: 44ch;
  font-weight: 400;
}
.hero-foot .f-kpi { display: flex; flex-direction: column; gap: 6px; }
.hero-foot .f-kpi .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-foot .f-kpi .v {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.hero-foot .f-kpi .n {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  right: clamp(24px, 4vw, 48px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero-scroll .bar {
  width: 1px; height: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent);
  animation: scrollBar 2.4s ease-in-out infinite;
}
@keyframes scrollBar {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
  .hero-foot { grid-template-columns: 1fr 1fr; }
  .hero-scroll { display: none; }
  .hero-meta { font-size: 9.5px; gap: 10px; }
}
