/* Keep the floating navigation aligned with the 1280px public content grid. */
html[data-site=true] .site-header{width:min(1280px,calc(100% - 64px))!important;max-width:1280px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;translate:0 0;transition:translate .48s cubic-bezier(.22,1,.36,1),box-shadow .25s!important;will-change:translate}
html[data-site=true] .site-header.humo-nav-hidden{translate:0 calc(-100% - 30px)}
html[data-site=true] .site-header:is(:has(:focus-visible),:has([aria-expanded=true])),html[data-site=true].humo-route-changing .site-header{translate:0 0}
html[data-site=true]{scroll-padding-top:110px}
/* Route headings receive programmatic focus for readers, not a control ring. */
html[data-site=true] :is(h1,h2,h3,h4,h5,h6)[tabindex="-1"]:focus:not([role=button]):not([role=tab]):not([contenteditable=true]){outline:none!important;box-shadow:none!important}

.humo-route-cover{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;background:#110626;color:#f5f0ff;overflow:hidden;isolation:isolate;will-change:transform;transform:translateY(102%)}
.humo-route-cover[hidden]{display:none!important}
.humo-route-snapshot{position:fixed;inset:0;z-index:2147482999;overflow:hidden;contain:strict;background:var(--page);pointer-events:auto}
.humo-route-cover::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 47%,#4700ce16,transparent 58%)}
.humo-route-label{position:absolute;inset:36px 4vw auto;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#a998c9}
.humo-route-stage{display:grid;justify-items:center;gap:22px;text-align:center;max-width:min(880px,86vw)}
.humo-route-stage svg{display:block;width:clamp(90px,12vw,148px);height:auto;fill:#4d05d5;filter:drop-shadow(0 0 32px #4b00d925);animation:humo-route-emblem .76s ease-out both}
.humo-route-stage strong{font:650 clamp(34px,5vw,64px)/1.08 var(--font-heading,var(--font-body));letter-spacing:-.045em;text-wrap:balance}
.humo-route-stage small{color:#a998c9;font-size:9px;letter-spacing:.2em}
.humo-route-line{position:absolute;bottom:36px;left:4vw;right:4vw;height:1px;background:#ac8fe228}
.humo-route-line::before{content:'';display:block;width:100%;height:100%;background:#5510d9;transform-origin:left;animation:humo-route-line .7s cubic-bezier(.22,1,.36,1) both}
@keyframes humo-route-emblem{from{opacity:.3;transform:scale(.9) rotateY(-35deg)}to{opacity:1;transform:scale(1) rotateY(0)}}
@keyframes humo-route-line{from{transform:scaleX(.08)}to{transform:scaleX(1)}}

/* Native arrow remains precise. Only its soft afterglow is interpolated. */
html[data-site=true] body,html[data-site=true] body *{cursor:auto!important}
html[data-site=true] body :is(a[href],button,summary,[role=button],[role=tab],select,label[for]),html[data-site=true] body :is(a[href],button,summary,[role=button],[role=tab],label[for]) *{cursor:pointer!important}
html[data-site=true] body :is(input,textarea,[contenteditable=true]){cursor:text!important}
html[data-site=true] body :is(input[type=checkbox],input[type=radio],input[type=range]){cursor:pointer!important}
html[data-site=true] body :is(button:disabled,input:disabled,select:disabled),html[data-site=true] body button:disabled *{cursor:not-allowed!important}
.humo-pointer-halo{position:fixed;left:0;top:0;width:0;height:0;z-index:2147483001;pointer-events:none;will-change:transform}
.humo-pointer-halo::after{content:'';position:absolute;width:30px;height:30px;left:-15px;top:-15px;border:1px solid color-mix(in srgb,var(--gold) 28%,transparent);border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--gold) 10%,transparent),transparent 70%);transition:width .2s,height .2s,left .2s,top .2s,border-color .2s}
.humo-pointer-halo.is-action::after{width:42px;height:42px;left:-21px;top:-21px;border-color:color-mix(in srgb,var(--gold) 50%,transparent)}
.humo-pointer-click{position:fixed;width:42px;height:42px;border:1px solid var(--gold);border-radius:50%;z-index:2147483001;pointer-events:none}
@media(max-width:800px){html[data-site=true] .site-header{width:calc(100% - 40px)!important}}
@media(max-width:600px){html[data-site=true] .site-header{width:calc(100% - 24px)!important}.humo-route-label{inset:24px 24px auto;font-size:8px}.humo-route-line{inset:auto 24px 24px}.humo-route-stage{gap:18px}}
@media(prefers-reduced-motion:reduce){html[data-site=true] .site-header{transition:none!important;translate:0 0!important}.humo-route-cover,.humo-pointer-halo,.humo-pointer-click{display:none!important}}

html[data-site=true] .studio-wrap{width:calc(100% - 64px)!important;max-width:1280px!important}@media(max-width:800px){html[data-site=true] .studio-wrap{width:calc(100% - 40px)!important}}@media(max-width:600px){html[data-site=true] .studio-wrap,html[data-site=true] .site-header{width:calc(100% - 36px)!important}}

/* Six public destinations must never run underneath the brand or account controls. */
@media(min-width:1101px) and (max-width:1360px){
 html[data-site=true] .site-header{gap:12px!important;padding-inline:18px!important}
 html[data-site=true] .site-header .site-brand{min-width:160px!important;flex-basis:auto}
 .site-header .brand-lockup small{display:none}
 html[data-site=true] .site-header .site-nav-item{font-size:12px!important;padding-inline:9px!important}
 html[data-site=true] .site-header-actions{gap:5px!important}
 html[data-site=true] .site-header-actions #siteHeaderProfile{padding-inline:12px!important}
}
@media(min-width:901px) and (max-width:1100px){
 html[data-site=true] .site-header #siteNav{position:fixed;inset:86px 0 auto;max-height:calc(100dvh - 110px);overflow:auto;background:var(--panel);border:1px solid var(--line);border-radius:25px;padding:22px;display:none;flex-direction:column;align-items:stretch;box-shadow:0 25px 70px #160a2d26}
 html[data-site=true] .site-header #siteNav.is-open{display:flex;animation:studio-reveal .4s var(--ease)}
 html[data-site=true] .site-header #siteNav .site-nav-item{text-align:left;font-size:18px!important;display:flex;gap:25px;padding:16px!important;min-height:58px!important}
 .site-header .studio-menu-toggle{display:grid;place-items:center;border:1px solid var(--line);background:transparent;color:var(--text);min-width:42px;height:42px;border-radius:50%;font-size:20px}
 .site-header>.humo-brand-interactive{margin-right:auto}
 .site-header .studio-mobile-tools{display:block}
}
