/* ============ HERO (#hero) — reference section ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 5rem));
  padding-bottom: clamp(5rem, 9vw, 8rem);
  overflow: hidden;
  isolation: isolate;
}

/* ---- ambient background ---- */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow { position: absolute; }
.hero__glow--a {
  width: 60vw; max-width: 720px; aspect-ratio: 1; top: -18vh; right: -10vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 68%);
  opacity: 0.55;
}
.hero__glow--b {
  width: 48vw; max-width: 560px; aspect-ratio: 1; bottom: -14vh; left: -8vw;
  background: radial-gradient(circle, var(--violet-glow) 0%, transparent 70%);
  opacity: 0.4;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-faint) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 0%, transparent 78%);
  opacity: 0.7;
}

/* ---- giant backdrop word ---- */
.hero__wordmark {
  position: absolute;
  left: 50%; bottom: clamp(-2rem, -1vw, 0rem);
  transform: translateX(-50%);
  font-size: clamp(5rem, 26vw, 28rem);
  line-height: 0.8;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,244,240,0.06);
  white-space: nowrap;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

/* ---- content ---- */
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }

.hero__title {
  font-size: var(--fs-display);
  max-width: 16ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hero__title .reveal-mask { display: block; }
.hero__title em { font-style: normal; position: relative; }
.hero__title em.accent { color: var(--accent-bright); }

.hero__lead {
  font-size: var(--fs-lead);
  color: var(--text-dim);
  max-width: 52ch;
  line-height: 1.55;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.hero__lead strong { color: var(--text); }

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---- meta stats ---- */
.hero__meta {
  display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 5vw, 4rem);
  border-top: 1px solid var(--line); padding-top: clamp(1.5rem, 3vw, 2rem);
  max-width: 640px;
}
.hero__meta li { display: flex; align-items: baseline; gap: 0.6rem; }
.hero__meta-num {
  font-size: clamp(2rem, 4vw, 3rem); color: var(--text); line-height: 1;
}
.hero__meta-label {
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em;
  color: var(--text-faint); text-transform: uppercase; max-width: 11ch; line-height: 1.3;
}

/* ---- ticker ---- */
.hero__ticker {
  position: relative; z-index: 2;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  border-block: 1px solid var(--line);
  padding-block: clamp(0.9rem, 1.6vw, 1.25rem);
}
.hero__tick {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.25rem, 2.4vw, 2rem); color: var(--text);
  letter-spacing: 0.02em; opacity: 0.85;
}
.hero__dot { color: var(--accent); font-size: 0.8em; }

/* ---- scroll cue ---- */
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(7rem, 13vw, 9rem); z-index: 3;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-faint);
}
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0; background: var(--text);
  animation: heroScroll 1.9s var(--ease-inout) infinite;
}
@keyframes heroScroll { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }
.hero__scroll:hover { color: var(--text); }

@media (max-width: 880px) {
  .hero__scroll { display: none; }
}
@media (max-width: 600px) {
  .hero__title { max-width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__meta { gap: 1.5rem 2rem; }
  .hero__meta li { flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line::after { animation: none; }
}
