/* V11 — targeted fixes only: cursor, steam, mobile hero and about spacing */
/* Cursor remains hidden until a real mouse movement, never stuck in a corner. */
@media (pointer:fine) and (hover:hover){
 #cursor,#cursor-ring{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
 html.morelli-pointer-ready #cursor,html.morelli-pointer-ready #cursor-ring{opacity:1!important;visibility:visible!important}
 #cursor{width:24px!important;height:24px!important;transform:translate(-50%,-50%)!important;display:flex!important;align-items:center;justify-content:center;transition:none!important}
 #cursor-ring{width:46px!important;height:46px!important;transform:translate(-50%,-50%)!important;border:1px solid rgba(255,245,230,.78)!important;transition:width .25s ease,height .25s ease!important}
 body:has(:is(a,button,[role=button],input,textarea,select):hover) #cursor-ring{width:56px!important;height:56px!important}
 body:has(:is(a,button,[role=button],input,textarea,select):hover) #cursor .cursor-bean{opacity:0!important}
}
@media(pointer:coarse),(hover:none){#cursor,#cursor-ring{display:none!important}}
/* Clearer animated SVG steam, not an image: softer tips, stronger center. */
#experience .steam-v3{opacity:1!important;mix-blend-mode:screen!important;z-index:6!important}
#experience .steam-v3 .vapor-path{stroke-width:19px!important;filter:none!important}
#experience .steam-v3 svg g{filter:url(#steamBlur)}
/* Mobile hero: text stays in its own readable area and scroll cue at the bottom. */
.mobile-scroll-hint{display:none}
@media(max-width:700px){
 #experience.hero{height:100svh;min-height:740px}
 #experience .hero-inner{padding:108px 6% 0!important}
 #experience .hero-copy{position:absolute!important;left:6%!important;right:6%!important;bottom:125px!important;margin:0!important;max-width:88%!important;transform:none!important;display:flex;flex-direction:column;align-items:flex-start;gap:0}
 #experience .hero-copy .eyebrow{font-size:10px;letter-spacing:.14em;line-height:1.6}
 #experience .hero-copy h1{font-size:clamp(35px,9vw,48px)!important;line-height:1.13!important;margin:18px 0 19px!important}
 #experience .hero-copy p{font-size:13px!important;line-height:1.75!important;max-width:340px!important}
 #experience .hero-copy .textlink{margin-top:24px!important;padding-bottom:11px}
 #experience .hero-shade{background:linear-gradient(0deg,rgba(19,8,7,.95) 0%,rgba(19,8,7,.8) 28%,rgba(19,8,7,.15) 75%)}
 .mobile-scroll-hint{display:flex;position:absolute;bottom:25px;left:50%;transform:translateX(-50%);z-index:8;flex-direction:column;align-items:center;gap:7px;white-space:nowrap;font:700 9px 'Manrope',sans-serif;letter-spacing:.17em;color:#eae3d6;pointer-events:none}
 .mobile-scroll-hint .mobile-scroll-arrow{font-size:24px;line-height:1;animation:morelliScrollHint 2s ease-in-out infinite}
 #experience .steam-v3{top:14%!important;left:50%!important;width:38%!important;height:28%!important}
 /* Prevent heading and first paragraph overlap in About on mobile. */
 #about .about-layout{display:flex!important;flex-direction:column!important;min-height:0!important}
 #about .about-visual{min-height:0!important;max-height:none!important;padding:24px 5% 8px!important;display:flex!important;flex-direction:column!important;align-items:center!important}
 #about .about-machine-drawing{max-height:350px!important;width:100%!important;height:auto!important;object-fit:contain!important}
 #about .about-visual-label{position:static!important;align-self:flex-start!important;margin-top:8px!important;color:rgba(42,31,26,.6)!important;font-size:9px!important}
 #about .about-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;padding:34px 7% 78px!important;gap:0!important;min-height:0!important}
 #about .about-copy .eyebrow{position:static!important;line-height:1.5!important;margin:0 0 25px!important}
 #about .about-copy h2{position:static!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;font-size:clamp(37px,8.8vw,47px)!important;line-height:1.16!important;letter-spacing:-.05em!important;margin:0 0 30px!important;transform:none!important}
 #about .about-copy p{position:static!important;display:block!important;font-size:14px!important;line-height:1.85!important;margin:0 0 22px!important;max-width:100%!important;transform:none!important}
 #about .about-copy .textlink{margin-top:22px!important}
}
@media(max-width:380px){#experience .hero-copy{bottom:112px!important}#experience .hero-copy h1{font-size:35px!important}#about .about-copy h2{font-size:36px!important}}
@keyframes morelliScrollHint{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}
@media(prefers-reduced-motion:reduce){.mobile-scroll-hint .mobile-scroll-arrow{animation:none}}
