/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0;
  overflow: hidden;
}
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  padding: 160px var(--gutter) 96px;
}
.hero-stage .container { position: relative; z-index: 2; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 40px;
  color: var(--mv-dust);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; background: var(--mv-lime); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(184,242,48,0.15);
  animation: pulse 2.4s var(--ease-out-quart) infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(184,242,48,0.15); } 50% { box-shadow: 0 0 0 10px rgba(184,242,48,0.02); } }

.hero-headline {
  font-family: var(--ff-display);
  font-size: clamp(48px, 7.2vw, 128px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.hero-headline .hl-word { display: inline-block; }
.hero-headline .hl-highlight { position: relative; color: var(--mv-lime); }
.hero-headline .hl-highlight::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.12em;
  background: var(--mv-lime); opacity: 0.0;
  transform: scaleX(0); transform-origin: left;
  transition: transform 900ms var(--ease-out-quart) 400ms, opacity 200ms ease 400ms;
}
.hero.is-in .hero-headline .hl-highlight::after { opacity: 1; transform: scaleX(1); }

.hero-sub {
  margin: 32px 0 0;
  font-size: var(--fs-lede);
  line-height: 1.35;
  color: var(--mv-cream);
  max-width: 28ch;
  letter-spacing: -0.01em;
}
.hero-support {
  margin: 20px 0 16px;
  max-width: 52ch;
  color: var(--mv-dust);
  line-height: 1.55;
}
.hero-fact {
  margin: 0 0 44px;
  max-width: 56ch;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--mv-dust);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 26px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--mv-lime);
  transition: all 200ms var(--ease-out-quart);
  position: relative;
}
.btn-primary { background: var(--mv-lime); color: var(--mv-ink); }
.btn-primary:hover { background: var(--mv-ink); color: var(--mv-lime); }
.btn-ghost { color: var(--mv-cream); border-color: var(--mv-line); }
.btn-ghost:hover { border-color: var(--mv-lime); color: var(--mv-lime); }
.btn .arrow { transition: transform 200ms var(--ease-out-quart); }
.btn:hover .arrow { transform: translateX(4px); }

/* Direction A: Kinetic Wordmark */
.hero-stage[data-dir="kinetic"] .hero-mark-bg {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
  z-index: 1;
}
.hero-stage[data-dir="kinetic"] .hero-mark-bg svg {
  width: 58vw; height: auto;
  opacity: 0.10;
  transform: translateY(20px) scale(0.98);
  transition: transform 1400ms var(--ease-out-quart), opacity 1400ms var(--ease-out-quart);
}
.hero.is-in .hero-stage[data-dir="kinetic"] .hero-mark-bg svg { transform: translateY(0) scale(1); }
.hero-stage[data-dir="kinetic"] .hero-mark-bg .blade-l { transform-origin: 50% 100%; animation: bladePartL 1600ms var(--ease-out-quart) both; }
.hero-stage[data-dir="kinetic"] .hero-mark-bg .blade-r { transform-origin: 50% 100%; animation: bladePartR 1600ms var(--ease-out-quart) both; }
.hero-stage[data-dir="kinetic"] .hero-mark-bg .peak    { transform-origin: 50% 100%; animation: peakRise 1400ms var(--ease-out-quart) 300ms both; }
@keyframes bladePartL { 0% { transform: translateX(14px) rotate(4deg); } 100% { transform: translateX(0) rotate(0); } }
@keyframes bladePartR { 0% { transform: translateX(-14px) rotate(-4deg); } 100% { transform: translateX(0) rotate(0); } }
@keyframes peakRise   { 0% { transform: translateY(24px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

/* Direction B: Ribbon */
.hero-stage[data-dir="ribbon"] .hero-ribbon {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  display: block;
}
.hero-stage[data-dir="ribbon"] .hero-ribbon path {
  fill: none; stroke: var(--mv-lime); stroke-width: 1.5; stroke-linecap: round;
  stroke-dasharray: 2400; stroke-dashoffset: 2400;
  animation: ribbon-draw 1800ms var(--ease-out-quart) 200ms forwards;
  opacity: 0.85;
}
@keyframes ribbon-draw { to { stroke-dashoffset: 0; } }

/* Direction C: Marquee */
.hero-stage[data-dir="marquee"] .hero-marquee {
  position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; gap: 6vh;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.hero-stage[data-dir="marquee"] .marquee-row {
  display: flex; gap: 4vw; font-family: var(--ff-display); font-weight: 700;
  font-size: 12vw; line-height: 1; white-space: nowrap;
  color: rgba(245,241,232,0.05);
  letter-spacing: -0.03em;
  will-change: transform;
}
.hero-stage[data-dir="marquee"] .marquee-row.r1 { animation: marq 38s linear infinite; }
.hero-stage[data-dir="marquee"] .marquee-row.r2 { animation: marq-rev 42s linear infinite; }
.hero-stage[data-dir="marquee"] .marquee-row.r3 { animation: marq 46s linear infinite; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marq-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Recent work strip */
.hero-strip {
  border-top: 1px solid var(--mv-line);
  padding: 28px var(--gutter);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: center;
}
.hero-strip a.label { color: var(--mv-dust); transition: color 200ms; }
.hero-strip a.label:hover { color: var(--mv-cream); }
.hero-strip .logos {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.hero-strip .logos .slot {
  font-family: var(--ff-display); font-weight: 700;
  font-size: 18px; letter-spacing: -0.02em;
  color: var(--mv-dust);
  opacity: 0.75;
  transition: color 200ms, opacity 200ms;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
}
.hero-strip .logos .slot:hover { color: var(--mv-cream); opacity: 1; }

@media (max-width: 900px) {
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip .logos { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, 1fr); }
}
