@media(max-width:1100px), (any-pointer:coarse){
 body.theme-eye-preview .hero{
  height:calc(100vh + 2px)!important;height:calc(100dvh + 2px)!important;
  min-height:100svh;max-height:none!important;
 }
 /* A height breakpoint used to switch the avatar size as phone chrome hid.
    Keep one stable rest-size rule throughout the approach. */
 body.theme-eye-preview .hero .avatar{--aw:min(220vw,125svh)}
 .mobile-dive-track{position:relative;height:calc(100vh + var(--dive-distance));height:calc(100lvh + var(--dive-distance))}
 .mobile-dive-track>.hero{position:sticky!important;top:0!important}
 html[data-theme] body.theme-eye-preview .hero .avatar .head{filter:none}
 .hero.is-eye-zooming .zoom{backface-visibility:hidden}
 .nav > nav::before,.nav > .mode-tg{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
 html[data-theme="light"] .nav > nav::before{background:rgba(250,252,255,.94)}
 html[data-theme="dark"] .nav > nav::before{background:rgba(4,31,56,.94)}
 /* The gradient is already soft. Fade its composited surface instead of
    re-blurring the entire moving viewport while the home scene rises. */
 html[data-theme] .site-loader{-webkit-backdrop-filter:none;backdrop-filter:none;filter:none!important;transition:opacity 2s ease-in-out 1.3s}
 html.ka-revealing .site-loader::before,html.ka-revealing .site-loader::after{animation-play-state:paused}
}

/* Full-height native sticky must follow the document scrollport, including
   when iPad Safari uses a mouse/trackpad. Avoid an overflow-y:auto ancestor. */
@media (max-width:1100px), (any-pointer:coarse){
 html,body{overflow-x:clip}
 body.theme-eye-preview{height:auto;min-height:100svh}
 .mobile-dive-track{height:calc(100dvh + 2px + var(--dive-distance))}
 html.ka-revealing .mobile-dive-track{z-index:2;position:relative}
}
/* Tablet opening composition: full navigation, readable copy and a larger
   character balanced within the same scene. Phone and desktop stay separate. */
@media(min-width:601px) and (max-width:1100px){
 .nav,.nav.solid,.nav.about-active{padding:18px 24px}
 .nav > nav{width:max-content;max-width:100%;gap:2px;padding:6px;align-items:center}
 .nav .nv-menu{display:none}
 .nav .nv-list,.nav.nv-open .nv-list{display:contents;opacity:1;visibility:visible;translate:none}
 .nav nav a,.nav nav .nv-list a,.nav nav .hello{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 13px;font-size:16px;border-radius:999px;color:var(--cocoa)}
 .nav.nv-ready nav .nv-list a,.nav nav .nv-list a[aria-current],html[data-theme=dark] .nav nav .nv-list a[aria-current]{background:transparent;color:var(--cocoa)}
 .nav .mode-tg{width:44px;height:44px;margin:0 4px 0 5px}
 body.theme-eye-preview .hero{padding-top:clamp(120px,15svh,180px)}
 .hero .title{font-size:clamp(62px,9vw,94px);line-height:.96}
 .hero .role{font-size:clamp(15px,1.9vw,19px);margin-top:22px;padding-inline:20px}
 .hero .reel{width:244px;margin-top:24px;padding:7px 22px 7px 7px;gap:12px}
 .hero .thumb{width:48px;height:48px}
 .hero .reel-text strong{font-size:16px}
 .hero .reel-text span{font-size:13px}
}
@media(min-width:601px) and (max-width:1100px) and (orientation:portrait){
 body.theme-eye-preview .hero .avatar{--aw:min(275vw,calc((100svh - clamp(500px,66vw,650px))*4))}
}
@media(min-width:601px) and (max-width:1100px) and (orientation:landscape){
 body.theme-eye-preview .hero{padding-top:100px}
 .hero .title{font-size:min(7.2vw,12svh)}
 .hero .role{margin-top:14px;font-size:15px}
 .hero .reel{margin-top:16px}
 body.theme-eye-preview .hero .avatar{--aw:min(145vw,160svh)}
}
@media(min-width:1101px) and (max-width:1366px) and (any-pointer:coarse) and (orientation:landscape){
 body.theme-eye-preview .hero .avatar{--aw:min(142vw,160svh)}
}
@media(min-width:601px) and (max-width:740px){
 .nav nav a,.nav nav .nv-list a,.nav nav .hello{padding-inline:9px;font-size:14px}
}
