/* PixelSpot hero overrides — loaded AFTER apple-pure-hero.css (25 Sep 2026).
   Apple Vision Pro 1:1 layout, clean #f5f5f7 background. */

.ac-apple-vision-hero { 
    --ac-vp-bg: #f5f5f7 !important; 
    --ac-vp-ink: #1d1d1f !important; 
}


/* ══ Story panel (25 Sep 2026) — Apple Vision Pro: the hero stays pinned, a frosted-glass panel slides up over it ══ */
.ac-hero-stack { position: relative; }
.ac-story {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 18vh 24px;
    overflow: hidden;
    background: #f5f5f7;
}
.ac-story-inner { position: relative; width: 100%; max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 9vh; }
.ac-story-line {
    font-size: clamp(30px, 4.6vw, 50px);
    font-weight: 600;
    letter-spacing: -.028em;
    line-height: 1.25;
    color: #1d1d1f;
    text-align: center;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
}
.ac-story-line.in { opacity: 1; transform: none; }
.ac-story-line b { font-weight: 700; }
.ac-story-line.ac-story-close { font-weight: 700; font-size: clamp(27px, 4vw, 42px); }
@media (max-width: 640px) {
    .ac-story { padding: 14vh 20px; }
    .ac-story-inner { gap: 6.5vh; }
}

/* Needs overflow:clip (so html/body stop being scroll containers and sticky works) and backdrop-filter.
   Anything older falls back to the plain light panel above, with the hero scrolling normally. */
@supports (overflow: clip) and ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    /* apple-p4-module.css forces overflow-x:hidden !important on html/body; clip is the same look without a scroll container */
    html, body { overflow-x: clip !important; }
    #hero.ac-apple-vision-hero {
        position: sticky !important;
        top: 0 !important;
        z-index: 0 !important;
    }
    .ac-story {
        background: linear-gradient(180deg, rgba(245,245,247,.55) 0%, rgba(245,245,247,.72) 40%, rgba(245,245,247,.9) 82%, #f5f5f7 100%);
        -webkit-backdrop-filter: blur(40px) saturate(1.5);
        backdrop-filter: blur(40px) saturate(1.5);
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 56px);
        mask-image: linear-gradient(180deg, transparent 0, #000 56px);
    }
    @media (max-width: 640px) {
        .ac-story {
            -webkit-backdrop-filter: blur(28px) saturate(1.4);
            backdrop-filter: blur(28px) saturate(1.4);
        }
    }
}

/* ══ Black hero (25 Sep 2026) — ring video is keyed onto pure black (halo-brand-showreel-black.mp4),
   the cut-out is defringed (hero-halo-brand-dk-*.webp); scripts/halo-black-*.py rebuild both ══ */
#hero.ac-apple-vision-hero { background-color: #000 !important; color: #f5f5f7 !important; }
.ac-vp-title-text,
.ac-vp-subtitle { color: #f5f5f7 !important; }
.ac-vp-btn-demo {
    background: transparent !important;
    border-color: rgba(245, 245, 247, .75) !important;
    color: #f5f5f7 !important;
}
.ac-vp-btn-demo:hover { background: #f5f5f7 !important; color: #1d1d1f !important; }
.ac-vp-btn-buy { background: #f5f5f7 !important; border-color: #f5f5f7 !important; color: #1d1d1f !important; }
.ac-vp-btn-buy:hover { background: #fff !important; border-color: #fff !important; }

