.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 70% 40%, var(--c-surface-2), var(--c-bg) 65%); }
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__slide { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-on { opacity: 0.75; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,8,15,.85) 0%, rgba(5,8,15,.35) 60%, transparent 100%), linear-gradient(0deg, var(--c-bg), transparent 25%); pointer-events: none; }

.hero__dots { position: absolute; left: var(--gutter); bottom: 40px; display: flex; gap: 10px; }
.hero__dots button { width: 44px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.25); cursor: pointer; position: relative; overflow: hidden; }
.hero__dots button.is-on::after { content: ""; position: absolute; inset: 0; background: var(--c-accent); transform-origin: left; animation: fill 5s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__content { padding-top: 120px; display: grid; gap: 28px; max-width: 900px; }
.hero h1 { font-size: var(--fs-hero); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .accent { color: var(--c-accent); }
@keyframes rise { to { transform: none; } }
.hero__lead { color: #dfe5ef; max-width: 56ch; opacity: 0; animation: fade 1s 0.5s forwards; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fade 1s 0.7s forwards; }
@keyframes fade { to { opacity: 1; } }

.hero__rotator { color: var(--c-accent); font: 600 0.9rem/1 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase; height: 1.2em; overflow: hidden; }
.hero__rotator span { display: block; height: 1.2em; line-height: 1.2em; transition: transform 0.6s var(--ease); }

.hero__scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--c-muted); }
.hero__scroll i { width: 1px; height: 48px; background: linear-gradient(var(--c-accent), transparent); animation: drop 1.8s infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.hero__stats { position: absolute; right: var(--gutter); bottom: 40px; display: flex; gap: 40px; }
.hero__stats b { display: block; font: 700 2.4rem/1 var(--f-display); color: var(--c-accent); }
.hero__stats small { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-muted); }
@media (max-width: 900px) { .hero__stats { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .line > span, .hero__lead, .hero__cta { animation: none; transform: none; opacity: 1; }
}
