
/* SG192 — independent Home HUD positioning only */

/* PHONE PORTRAIT */
@media (pointer:coarse) and (max-width:820px)
       and (orientation:portrait){

 html.sg192-phone #portfolioHeroHUD
 .portfolio-hud-v2__copy{
    position:absolute!important;
    top:clamp(78px,10dvh,105px)!important;
    left:5.5vw!important;
    right:5.5vw!important;
    width:89vw!important;
    max-width:none!important;
    transform:none!important;
    text-align:left!important;
 }

 html.sg192-phone #portfolioHeroHUD
 .portfolio-hud-v2__eyebrow{
    font-size:10px!important;
    margin-bottom:9px!important;
    letter-spacing:.22em!important;
 }

 html.sg192-phone #portfolioHeroHUD
 .portfolio-hud-v2__title,
 html.sg192-phone #portfolioHeroHUD
 .portfolio-hud-v2__title-line{
    font-size:clamp(20px,5.65vw,25px)!important;
    line-height:1.12!important;
    letter-spacing:-.025em!important;
    white-space:normal!important;
 }

 html.sg192-phone #portfolioHeroHUD
 .portfolio-hud-v2__summary{
    width:100%!important;
    max-width:355px!important;
    margin-top:11px!important;
    font-size:clamp(10px,2.85vw,12px)!important;
    line-height:1.42!important;
 }

 html.sg192-phone #portfolioHeroHUD
 .portfolio-hud-v2__skills{
    margin-top:10px!important;
    gap:6px 10px!important;
    font-size:8px!important;
    max-width:100%!important;
 }

 html.sg192-phone .hero-tagline{
    top:clamp(76px,10dvh,105px)!important;
    left:5.5vw!important;
    width:89vw!important;
    max-width:370px!important;
    right:auto!important;
 }

 html.sg192-phone .hero-tagline__main{
    font-size:clamp(22px,5.9vw,30px)!important;
    line-height:1.1!important;
 }

 html.sg192-phone .hero-tagline__sub{
    max-width:320px!important;
    font-size:11px!important;
    line-height:1.45!important;
 }
}

/* The original cue has been moved from the transformed
   text column into the fixed Home HUD itself. */
#portfolioHeroHUD > .portfolio-hud-v2__scroll{
   position:absolute!important;
   left:50%!important;
   top:var(--sg192-cue-y,45%)!important;
   right:auto!important;
   bottom:auto!important;
   width:max-content!important;
   max-width:92vw!important;
   margin:0!important;
   transform:translateX(-50%)!important;
   display:flex!important;
   align-items:center!important;
   justify-content:center!important;
   white-space:nowrap!important;
   z-index:12!important;
   touch-action:manipulation!important;
   pointer-events:auto!important;
}

/* Exact approved text, inside original black music oval.
   No new control is introduced. */
html.sg192-phone #sg146-v16-hint,
html.sg192-win #sg146-v16-hint{
   width:76px!important;
   max-width:76px!important;
   font-size:7.5px!important;
   line-height:1.2!important;
   letter-spacing:0!important;
   text-align:center!important;
   white-space:normal!important;
   pointer-events:none!important;
   transform:translateY(-50%)!important;
}

#sg146-v16-hint[hidden],
#sg146-v16-hint.sg146-v16-playing{
   display:none!important;
}

/* WINDOWS LAPTOP / DESKTOP WIDTHS */
html.sg192-win #portfolioHeroHUD
.portfolio-hud-v2__copy{
   left:clamp(36px,4.5vw,82px)!important;
   top:47%!important;
   width:min(36vw,530px)!important;
   transform:translate3d(0,-50%,0)!important;
}

html.sg192-win #portfolioHeroHUD
.portfolio-hud-v2__title,
html.sg192-win #portfolioHeroHUD
.portfolio-hud-v2__title-line{
   font-size:clamp(33px,3.2vw,55px)!important;
   line-height:1.04!important;
}

html.sg192-win .hero-tagline{
   top:clamp(100px,16dvh,170px)!important;
   left:clamp(36px,4.5vw,82px)!important;
   width:min(37vw,540px)!important;
}
