/* Alice Zhao Portfolio V6 — approved art assets, clean inner heroes and dual-persona layout */
.page-hero{position:relative;isolation:isolate;overflow:hidden;background:#06183f!important}
.hero-home .hero-city{display:none!important}
.page-hero .hero-art{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0;object-fit:cover;object-position:center center;opacity:1;filter:none;pointer-events:none;transform:translateZ(0) scale(1.006);transition:transform 850ms cubic-bezier(.22,.72,.17,1)}
.page-hero:after{z-index:1;background:linear-gradient(90deg,rgba(4,17,48,.10),rgba(4,17,48,.02) 56%,rgba(4,17,48,.04))!important}
.hero-home{height:clamp(420px,calc((100vw - 300px)*.405),640px)!important;min-height:420px!important;max-height:640px}
.hero-home .hero-copy{width:min(58%,760px)!important;padding:clamp(34px,3.5vw,58px) clamp(28px,3.6vw,58px) 36px!important;z-index:5}
.hero-home .hero-copy h1{font-size:clamp(44px,4.1vw,76px)!important;margin:13px 0 5px!important}
.hero-home .hero-copy h2{font-size:clamp(23px,2.25vw,39px)!important;margin:0 0 16px!important}
.hero-home .hero-copy p{font-size:clamp(13px,1.15vw,18px)!important;line-height:1.7!important;max-width:760px!important}
.hero-home .hero-actions{margin-top:22px!important;gap:13px!important}
.hero-home .btn-primary,.hero-home .btn-ghost{min-height:48px!important;padding:0 26px!important;font-size:15px!important}
.hero-home .hero-meta{margin-top:18px!important;font-size:13px!important;gap:16px!important}
/* Same rendered height and undistorted natural proportions; pencil portrait sits left, photo right. */
.persona-stage{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:visible}
.persona-stage .hero-portrait{position:absolute;bottom:0;top:auto;height:96%!important;width:auto!important;max-width:48%!important;max-height:96%!important;object-fit:contain!important;object-position:center bottom!important;transform:translateX(-50%);filter:drop-shadow(0 15px 26px rgba(0,0,0,.20));transition:opacity 850ms cubic-bezier(.22,.72,.17,1),left 850ms cubic-bezier(.22,.72,.17,1);will-change:opacity;}
.persona-stage .persona-professional{left:76%!important;right:auto!important;opacity:1;}
.persona-stage .persona-explore{left:64%!important;right:auto!important;opacity:0;}
.persona-switch{z-index:8;right:3%!important;top:4%!important}
.hero-home .hero-signature{z-index:9!important;width:clamp(165px,12vw,220px)!important;max-width:22%!important;right:1.8%!important;bottom:3%!important}
/* Inner-page banners use the four approved 1920×480 illustrations and contain no CTA buttons. */
.hero-inner{height:clamp(210px,calc((100vw - 300px)*.155),250px)!important;min-height:210px!important;max-height:250px}
.hero-inner .hero-copy{width:min(62%,760px)!important;padding:18px 34px 18px!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;z-index:3}
.hero-inner .hero-copy .eyebrow{font-size:9px!important;letter-spacing:.32em!important}
.hero-inner .hero-copy h1{font-size:clamp(27px,2.4vw,38px)!important;line-height:1.08!important;margin:7px 0 3px!important}
.hero-inner .hero-copy h2{font-size:clamp(17px,1.6vw,24px)!important;line-height:1.2!important;margin:0 0 8px!important}
.hero-inner .hero-copy p{font-size:clamp(11px,.9vw,14px)!important;line-height:1.55!important;max-width:610px!important;margin:0!important}
.hero-inner .hero-actions,.hero-inner .hero-meta{display:none!important}
.hero-inner .hero-signature{right:2.2%!important;bottom:5%!important;width:clamp(125px,10vw,170px)!important;max-width:18%!important;z-index:4!important}
.hero-inner .hero-art{object-position:center center}
/* AI assistant orb: continuously rotating translucent orb with living glow. */
.assistant-orb-button{overflow:visible!important;isolation:isolate;filter:drop-shadow(0 0 18px rgba(48,158,255,.36))!important}
.assistant-orb-button img{display:block;width:100%;height:100%;object-fit:contain;transform-origin:50% 50%;animation:assistant-orb-spin 34s linear infinite,assistant-orb-glow 4.2s ease-in-out infinite alternate;will-change:transform,filter}
.assistant-orb-button:hover img{animation-duration:12s,1.45s;filter:brightness(1.14) saturate(1.18)}
.assistant-orb-button.motion-attention img{animation:assistant-orb-spin 18s linear infinite,assistant-orb-glow 1.35s ease-in-out infinite alternate,assistant-orb-pop 720ms cubic-bezier(.2,.8,.2,1) 1}
.assistant-orb-button.motion-thinking img{animation-duration:8s,1.05s}
.assistant-orb-button.motion-reply img{filter:brightness(1.12) saturate(1.2) drop-shadow(0 0 18px rgba(87,239,255,.55))}
@keyframes assistant-orb-spin{to{transform:rotate(360deg)}}
@keyframes assistant-orb-glow{from{filter:brightness(.98) drop-shadow(0 0 8px rgba(41,180,255,.3))}to{filter:brightness(1.15) drop-shadow(0 0 22px rgba(173,105,255,.62))}}
@keyframes assistant-orb-pop{0%{scale:1}35%{scale:1.16}68%{scale:.97}100%{scale:1}}
@media(max-width:1150px) and (min-width:761px){
 .hero-home{height:clamp(420px,calc((100vw - 260px)*.405),560px)!important}
 .hero-home .hero-copy{width:57%!important;padding:32px 28px!important}
 .persona-stage .persona-professional{left:77%!important}
 .persona-stage .persona-explore{left:64%!important}
 .hero-inner{height:225px!important;min-height:225px!important}
}
@media(max-width:760px){
 .main{padding:0 12px 20px!important}
 .hero-home{height:540px!important;min-height:540px!important}
 .hero-home .hero-copy{width:100%!important;padding:28px 20px 0!important}
 .hero-home .hero-copy h1{font-size:38px!important}
 .hero-home .hero-copy h2{font-size:20px!important}
 .hero-home .hero-copy p{max-width:94%!important;font-size:11px!important;line-height:1.5!important}
 .hero-home .hero-actions{margin-top:13px!important;gap:8px!important}
 .hero-home .btn-primary,.hero-home .btn-ghost{min-height:36px!important;padding:0 14px!important;font-size:11px!important}
 .hero-home .hero-meta{display:none!important}
 .persona-stage .hero-portrait{height:57%!important;max-height:57%!important;max-width:65%!important}
 .persona-stage .persona-professional{left:75%!important}
 .persona-stage .persona-explore{left:62%!important}
 .persona-switch{right:10px!important;top:10px!important}
 .hero-home .hero-signature{width:112px!important;max-width:28%!important;right:2%!important;bottom:2%!important}
 .hero-inner{height:230px!important;min-height:230px!important}
 .hero-inner .hero-copy{width:82%!important;padding:16px 18px!important}
 .hero-inner .hero-copy h1{font-size:25px!important}
 .hero-inner .hero-copy h2{font-size:15px!important}
 .hero-inner .hero-copy p{font-size:10px!important;max-width:100%!important}
 .hero-inner .hero-signature{width:96px!important;max-width:24%!important;right:2%!important;bottom:2%!important}
}
@media(prefers-reduced-motion:reduce){
 .assistant-orb-button img{animation:none!important}
 .persona-stage .hero-portrait{transition:none!important}
 .page-hero .hero-art{transition:none!important}
}
