/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 7rem; padding-bottom: 5rem;
    z-index: var(--z-content);
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
@media (max-width: 980px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { order: -1; margin-inline: auto; }
}

.status-chip {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .8rem; padding: .45rem .9rem; border-radius: 100px;
    background: var(--panel); border: 1px solid var(--border);
    margin-bottom: 1.6rem; color: var(--text-dim);
}
.status-chip__dot {
    width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74,222,128,.6);
    animation: pulseDot 1.8s infinite;
}

.hero__kicker { color: var(--text-faint); font-size: .85rem; margin-bottom: .8rem; letter-spacing: .04em; }

.hero__title {
    font-size: clamp(3.1rem, 9vw, 6.4rem);
    letter-spacing: -.03em;
    display: flex; flex-direction: column; gap: .05em;
    margin-bottom: 1rem;
}
.hero__title span:first-child {
    color: transparent;
    -webkit-text-stroke: 1.25px var(--text);
}
.hero__title-fill {
    background: linear-gradient(100deg, var(--accent), var(--accent-2) 45%, var(--accent-3));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    -webkit-text-stroke: 0;
}

.hero__role { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--text-dim); margin-bottom: 1.4rem; min-height: 1.6em; }
.hero__role .mono { color: var(--accent); }
.cursor-blink { animation: blink 1s steps(1) infinite; color: var(--accent); }

.hero__desc { color: var(--text-dim); max-width: 46ch; margin-bottom: 2.2rem; font-size: 1.05rem; line-height: 1.65; }

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero__stats { display: flex; gap: clamp(1.4rem, 4vw, 2.6rem); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num, .stat__suffix { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--text); display: inline; }
.stat__num--infinity { font-size: 1.9rem; }
.stat__label { display: block; font-size: .68rem; color: var(--text-faint); letter-spacing: .06em; margin-top: .2rem; }

/* hero visual */
.hero__visual { position: relative; width: min(440px, 85vw); }
/* inset kept modest (not the ~16% it'd want purely for visual bleed) — this div sits in
   normal flow with no clipping ancestor, so on narrow viewports a wider bleed pushes
   document.documentElement.scrollWidth past window.innerWidth and the page gains a
   sliver of horizontal scroll room even though body{overflow-x:hidden} blocks dragging it. */
.hero__orbit { position: absolute; inset: -8%; z-index: -2; pointer-events: none; }
.hero__orbit::before, .hero__orbit::after {
    content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%;
    filter: blur(1px);
}
.hero__orbit::before {
    top: 10%; left: 2%; background: var(--accent-2);
    box-shadow: 0 0 22px 5px rgba(var(--accent-rgb), .7);
    animation: orbitFloat 9s ease-in-out infinite;
}
.hero__orbit::after {
    bottom: 14%; right: 0; background: var(--accent-3);
    box-shadow: 0 0 22px 5px rgba(var(--accent-rgb), .6);
    animation: orbitFloat 11s ease-in-out infinite reverse;
}
@keyframes orbitFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: .65; }
    50% { transform: translate(20px, -26px) scale(1.35); opacity: 1; }
}

.hero__frame {
    position: relative;
    border-radius: 48% 52% 45% 55% / 58% 45% 55% 42%;
    overflow: hidden;
    aspect-ratio: 1402/1122;
    isolation: isolate;
    transform-style: preserve-3d;
    background: radial-gradient(circle at 50% 42%, rgba(var(--accent-rgb), .28), transparent 68%);
}
.hero__frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero__frame-ring {
    position: absolute; inset: -6px; border-radius: inherit;
    background: conic-gradient(from var(--grad-angle), var(--accent), var(--accent-2), var(--accent-3), var(--accent));
    z-index: -1;
    animation: spin 8s linear infinite;
    filter: blur(2px);
}
@keyframes spin { to { --grad-angle: 360deg; } }

.hero__chip {
    position: absolute;
    display: flex; align-items: center; gap: .45rem;
    font-family: var(--font-mono); font-size: .72rem;
    padding: .45rem .75rem; border-radius: 100px;
    background: var(--panel-strong); border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}
.hero__chip img { width: 14px; height: 14px; }
.hero__chip--1 { top: 6%; right: -8%; }
.hero__chip--2 { bottom: 20%; left: -14%; }
.hero__chip--3 { bottom: -4%; right: 10%; }
@media (max-width: 560px) {
    .hero__chip--1 { right: -4%; }
    .hero__chip--2 { left: -6%; }
    .hero__chip--3 { bottom: -10%; right: 2%; }
}

.float-a { animation: floatY 5s ease-in-out infinite; }
.float-b { animation: floatY 6s ease-in-out infinite 1s; }
.float-c { animation: floatY 5.5s ease-in-out infinite .5s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.scroll-cue {
    position: absolute; bottom: 1.6rem; left: 50%; translate: -50% 0;
    display: flex; flex-direction: column; align-items: center; gap: .6rem;
    color: var(--text-faint); font-size: .65rem; letter-spacing: .12em;
}
.scroll-cue__line { width: 1px; height: 46px; background: rgba(255,255,255,.15); overflow: hidden; display: block; }
.scroll-cue__line span { display: block; width: 100%; height: 40%; background: var(--accent); animation: cueMove 1.8s ease-in-out infinite; }
@keyframes cueMove { 0% { transform: translateY(-100%); } 100% { transform: translateY(280%); } }
@media (max-width: 700px) { .scroll-cue { display: none; } }

@media (max-width: 560px) {
    .hero { padding-top: 6rem; }
    .hero__stats { gap: 1.2rem 1.8rem; }
    .site-header__inner { gap: .8rem; }
}
