/* Motion is progressive enhancement. Text stays visible without JS or motion. */
.hero-art{inset:0;background-image:url(assets/hero-background-v1.webp);transform:none;translate:none;animation:none}
.hero-character{position:absolute;inset:0;background:url(assets/hero-character-v1.webp) 72% 40%/cover no-repeat;transform-origin:76% 22%;transform:scale(1);mask-image:linear-gradient(#000 88%,transparent 100%)}
.hero-art:after{z-index:2;pointer-events:none}
html[data-motion=on] .hero-character{animation:hero-approach 14s ease-in-out infinite alternate;animation-play-state:paused;will-change:transform}
html[data-motion=on] .hero[data-hero-running=true] .hero-character{animation-play-state:running}
.hero-effects{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;isolation:isolate}
.hero-effects:before,.hero-effects:after{content:'';position:absolute;width:43vw;height:43vw;max-width:700px;max-height:700px;border-radius:50%;filter:blur(65px);opacity:.13}
.hero-effects:before{background:radial-gradient(circle,#22dcf5,transparent 68%);right:9%;top:-10%;transform:translate3d(-20px,0,0)}
.hero-effects:after{background:radial-gradient(circle,#fb4bac,transparent 65%);right:-19%;bottom:-15%}
.hero-particles{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.motion-toggle{border:1px solid #ffffff24;background:#111522aa;padding:10px 14px;border-radius:30px;font-size:12px;color:#c1cddd;min-height:42px;backdrop-filter:blur(10px)}
.hero-bottom{gap:20px;flex-wrap:wrap}.motion-toggle:hover{border-color:#22dcf580;color:#effcff}
html[data-motion=on] .hero[data-hero-running=true] .hero-effects:before{animation:energy-drift 12s ease-in-out infinite alternate}
html[data-motion=on] .hero[data-hero-running=true] .hero-effects:after{animation:energy-drift 15s ease-in-out infinite alternate-reverse}
html[data-motion=on] .hero .eyebrow{animation:hero-arrive .65s ease both}
html[data-motion=on] .hero h1{animation:hero-arrive .85s .08s ease both}
html[data-motion=on] .hero-description{animation:hero-arrive .85s .18s ease both}
html[data-motion=on] .hero-actions{animation:hero-arrive .85s .3s ease both}
html[data-motion=on] [data-reveal]{opacity:0;transform:translate3d(0,24px,0);transition:opacity .65s var(--reveal-delay,0ms),transform .65s var(--reveal-delay,0ms)}
html[data-motion=on] [data-reveal].is-revealed{opacity:1;transform:translate3d(0,0,0)}
html[data-motion=on] .zone-card.is-revealed:hover{transform:translate3d(0,-6px,0)}
.button-primary{position:relative;overflow:hidden}.button-primary:after{content:'';position:absolute;inset:-100% -45%;background:linear-gradient(105deg,transparent 45%,#fff5 50%,transparent 55%);transform:translateX(-90%);pointer-events:none}.button-primary:hover:after{animation:button-sheen .75s ease}
.life-card,.contact-card{transition:border-color .3s,box-shadow .3s}.life-card:hover,.contact-card:hover{border-color:#22dcf54d;box-shadow:0 10px 40px #061e3825}
.cabinet[open]{animation:cabinet-arrive .25s ease-out}.cabinet-panel-enter{animation:panel-arrive .28s ease-out}
@keyframes energy-drift{to{transform:translate3d(40px,28px,0) scale(1.12);opacity:.22}}
@keyframes hero-approach{from{transform:scale(1)}to{transform:scale(var(--character-max-scale,1.15))}}
@keyframes grid-shimmer{to{opacity:.35;transform:translateY(12px)}}
@keyframes hero-arrive{from{opacity:0;transform:translate3d(0,22px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes button-sheen{to{transform:translateX(90%)}}
@keyframes cabinet-arrive{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}
@keyframes panel-arrive{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:700px){.hero-character{background-position:62% center;transform-origin:68% 22%}.hero-effects:before,.hero-effects:after{width:85vw;height:85vw}.motion-toggle{font-size:12px;padding:8px 11px}.hero-bottom{row-gap:14px}.hero-bottom .scroll-link{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.hero-character{transform:none!important;will-change:auto!important}.hero-effects{display:none}.hero [class],.cabinet[open],.cabinet-panel-enter{animation:none!important;transition:none!important}[data-reveal]{opacity:1!important;transform:none!important}.button-primary:after{display:none}}
html[data-motion=off] .hero-character{animation:none;transform:none;will-change:auto}html[data-motion=off] .hero-effects{opacity:.35}html[data-motion=off] .button-primary:after{display:none}
