/* ── Hero — mobile first ─────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: block;
}

/* Mobile: photo fills hero as background */
.hero-right {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.hero-right::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(6,6,10,0.35) 0%, rgba(6,6,10,0.2) 40%, var(--bg-deep) 88%);
    z-index: 1;
}
.hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
    opacity: 0;
    animation: fadeIn 1.4s ease 0.2s forwards;
}

/* Music notes canvas — clipped to left column */
#notes-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Left column (text) */
.hero-left {
    position: relative;
    z-index: 4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 110px 28px 72px;
    overflow: hidden;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.4,0,0.2,1) 0.4s forwards;
}
.hero-eyebrow-line { width: 36px; height: 1px; background: var(--accent-mint); flex-shrink: 0; }
.hero-eyebrow-text {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent-mint);
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(56px, 15vw, 118px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 14px;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.4,0,0.2,1) 0.55s forwards;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 10vw, 80px);
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    color: var(--accent-mauve);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.4,0,0.2,1) 0.7s forwards;
}
.hero-tagline {
    font-size: 13px; font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    margin-bottom: 52px; line-height: 1.65;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.4,0,0.2,1) 0.85s forwards;
}
.hero-actions {
    display: flex; flex-wrap: wrap; gap: 14px;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.4,0,0.2,1) 1s forwards;
}

/* Scroll indicator — hidden on mobile */
.hero-scroll { display: none; }

/* ── Desktop overrides ───────────────────────────────────────────────── */
@media (min-width: 900px) {
    .hero {
        display: grid;
        grid-template-columns: 1fr 1.1fr;
    }
    .hero-right {
        position: relative;
        inset: auto;
        z-index: 1;
    }
    .hero-right::before {
        background: linear-gradient(to right, var(--bg-deep) 0%, rgba(6,6,10,0.3) 35%, transparent 65%);
    }
    .hero-right::after {
        content: '';
        position: absolute; inset: 0;
        background: linear-gradient(to top, var(--bg-deep) 0%, transparent 28%);
        z-index: 1;
    }
    .hero-left {
        position: relative;
        min-height: 100vh;
        padding: 110px 80px 60px 72px;
        justify-content: center;
    }
    .hero-name { font-size: clamp(68px, 8.5vw, 118px); }
    .hero-title { font-size: clamp(42px, 5.5vw, 80px); }

    .hero-scroll {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        position: absolute;
        bottom: 40px; left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        opacity: 0;
        animation: fadeIn 1s ease 1.6s forwards;
    }
    .hero-scroll span {
        font-size: 9px; font-weight: 700;
        letter-spacing: 0.3em; text-transform: uppercase;
        color: var(--text-muted);
    }
    .hero-scroll-line {
        width: 1px; height: 44px;
        background: linear-gradient(to bottom, var(--accent-mauve), transparent);
        animation: scrollPulse 2.2s ease-in-out infinite;
    }
}

/* ── Animations ──────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 1; }
}

/* ── No-animation mode (used by screenshot/bots) ────────────────────── */
body.no-anim .hero-eyebrow,
body.no-anim .hero-name,
body.no-anim .hero-title,
body.no-anim .hero-tagline,
body.no-anim .hero-actions,
body.no-anim .hero-scroll,
body.no-anim .hero-img {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}
