/* Hero header (heronav.js): the slider from the top of the page, the header floating over it.
   Every rule needs html.nzo, which heronav.js sets only on pages with the slider. */
html.nzo{--nzo-hh:84px;--nzo-ink:#061630;--nzo-sky:#2aa8e0;--nzo-sky2:#1a86c8;--nzo-hot:#f47b2a;--nzo-ease:cubic-bezier(.22,1,.36,1)}

/* ---------- the header box ---------- */
html.nzo .nzo-head{z-index:1035!important;isolation:isolate;transition:transform .6s var(--nzo-ease),box-shadow .45s,background-color .45s!important}
html.nzo .nzo-head.nzo-abs{position:absolute!important;top:auto!important;left:0!important;right:0!important;width:100%!important;margin-top:0!important}
html.nzo.nzo-fixed .nzo-head.nzo-abs{position:fixed!important;top:0!important}
html.nzo.nzo-fixed.nzo-hide .nzo-head{transform:translateY(calc(-100% - 14px))}
html.nzo.nzo-snap .nzo-head,html.nzo.nzo-snap .nzo-head *{transition:none!important}
/* over the slider: the header's own boxes lose their backgrounds and lines */
html.nzo.nzo-over .nzo-head,html.nzo.nzo-over .nzo-head .nzo-clr{background:transparent!important;background-image:none!important;box-shadow:none!important;border-color:transparent!important}
html.nzo.nzo-over .nzo-head .nzo-clr,html.nzo.nzo-over .nzo-head .nzo-clr>a:not(.nzn-tool):not(.nzo-logo){color:#fff}
/* below the slider, pinned: a white frosted bar */
html.nzo.nzo-fixed:not(.nzo-over) .nzo-head{background:rgba(255,255,255,.86)!important;-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);box-shadow:0 18px 40px -26px rgba(11,35,66,.55),0 1px 0 rgba(11,35,66,.06)!important}

/* ---------- effect layers ---------- */
nzo-fx{position:absolute;inset:0;z-index:-1;display:block;pointer-events:none;overflow:visible}
nzo-fx>span{position:absolute;display:block;pointer-events:none;transition:opacity .5s var(--nzo-ease),transform .6s var(--nzo-ease)}
/* dark fade from the top edge, so white text reads on any picture */
.nzo-scrim{inset:0 0 -70% 0;opacity:0;background:linear-gradient(180deg,rgba(4,14,32,calc(.5 + var(--nzo-k,0) * .25)) 0%,rgba(4,14,32,.24) 45%,rgba(4,14,32,0) 100%)}
html.nzo-over .nzo-scrim{opacity:1}
html.nzo-over.nzo-fixed .nzo-scrim{opacity:0}
/* the glass band: on mouse over, on keyboard focus, and when pinned over the slider */
.nzo-glass{inset:0;opacity:0;background:linear-gradient(180deg,rgba(6,22,48,.58),rgba(6,22,48,.38));-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);box-shadow:0 20px 50px -30px rgba(0,0,0,.7)}
html.nzo-over .nzo-head:focus-within .nzo-glass,html.nzo-over.nzo-fixed .nzo-glass{opacity:1}
@media (hover:hover){html.nzo-over .nzo-head:hover .nzo-glass{opacity:1}}
/* light that follows the mouse */
.nzo-spot{inset:0;opacity:0;overflow:hidden;background:radial-gradient(260px 140px at var(--nzo-mx,50%) var(--nzo-my,50%),rgba(255,255,255,.22),rgba(255,255,255,.06) 45%,transparent 70%)}
@media (hover:hover){html.nzo-over .nzo-head:hover .nzo-spot{opacity:1}}
/* thin line at the bottom, brighter under the mouse */
.nzo-line{left:0;right:0;bottom:0;height:1px;opacity:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28) 20%,rgba(255,255,255,.28) 80%,transparent)}
.nzo-line::after{content:"";position:absolute;top:-1px;height:3px;width:220px;left:calc(var(--nzo-mx,50%) - 110px);border-radius:3px;background:radial-gradient(closest-side,var(--nzo-sky),transparent);opacity:0;transition:opacity .4s}
html.nzo-over.nzo-fixed .nzo-line{opacity:1}
@media (hover:hover){html.nzo-over .nzo-head:hover .nzo-line{opacity:1}html.nzo-over .nzo-head:hover .nzo-line::after{opacity:1}}
/* page progress, on the white pinned bar */
.nzo-prog{left:0;right:0;bottom:0;height:3px;opacity:0;transform-origin:right center;transform:scaleX(var(--nzo-p,0));background:linear-gradient(270deg,var(--nzo-sky),var(--nzo-sky2) 60%,var(--nzo-hot));transition:opacity .4s,transform .12s linear}
[dir="ltr"] .nzo-prog{transform-origin:left center}
html.nzo-fixed:not(.nzo-over) .nzo-prog{opacity:1}

/* ---------- logo on a hanging white tab ---------- */
html.nzo .nzo-logo{position:relative!important;isolation:isolate;z-index:1}
/* optional shift of the logo toward the page edge (script attribute data-logo-x, computer screens only) */
@media (min-width:768px){html.nzo .nzo-logo{right:calc(-1 * var(--nzo-logo-x,0px))!important;left:auto!important}}
nzo-plate{position:absolute;z-index:-1;display:block;inset:-80px -16px -10px -16px;border-radius:0 0 22px 22px;background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(255,255,255,.9));box-shadow:0 18px 34px -16px rgba(4,14,32,.6),inset 0 -1px 0 rgba(255,255,255,.8);pointer-events:none;opacity:0;transform:translateY(-14px);transition:opacity .45s var(--nzo-ease),transform .6s var(--nzo-ease)}
nzo-plate::after{content:"";position:absolute;left:22%;right:22%;bottom:-1px;height:3px;border-radius:3px;background:linear-gradient(90deg,transparent,var(--nzo-sky),transparent);opacity:.9}
html.nzo-over nzo-plate{opacity:1;transform:none}
html.nzo-over.nzo-fixed nzo-plate{inset:-80px -12px -6px -12px}

/* ---------- menu buttons: light outlines over the slider, full colour on mouse over ---------- */
html.nzo-over .nzo-head .nzn{background:transparent!important;box-shadow:none!important}
html.nzo-over .nzo-head .nzn .nzn-item:not(.nzn-open)>.nzn-link:not(:hover):not(:focus-visible){background:transparent!important;color:#fff!important;text-shadow:0 1px 14px rgba(0,0,0,.5);box-shadow:inset 0 0 0 1px rgba(255,255,255,0)!important;transform:none!important}
html.nzo-over .nzo-head .nzn .nzn-item:not(.nzn-open)>.nzn-link:not(:hover):not(:focus-visible) :is(.nzn-ico,.nzn-chev){color:#fff!important;filter:drop-shadow(0 1px 6px rgba(0,0,0,.4))}
/* the current page: a soft glass chip with a small coloured mark */
html.nzo-over .nzo-head .nzn .nzn-on:not(.nzn-open)>.nzn-link:not(:hover):not(:focus-visible){background:rgba(255,255,255,.14)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.34)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html.nzo-over .nzo-head .nzn .nzn-on>.nzn-link::after{content:"";position:absolute;left:50%;bottom:-7px;width:18px;height:3px;margin-left:-9px;border-radius:3px;background:var(--nzo-sky);box-shadow:0 0 10px var(--nzo-sky);transition:opacity .3s}
html.nzo .nzo-head .nzn .nzn-on>.nzn-link:hover::after,html.nzo:not(.nzo-over) .nzo-head .nzn .nzn-on>.nzn-link::after{opacity:0}
/* mouse in the header: every button shows a fine outline */
html.nzo-over .nzo-head:is(:hover,:focus-within) .nzn .nzn-item:not(.nzn-open):not(.nzn-on)>.nzn-link:not(:hover):not(:focus-visible){background:rgba(255,255,255,.06)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.26)!important}
/* the button under the mouse appears in its own colours, with a short pop */
html.nzo-over .nzo-head .nzn .nzn-link:is(:hover,:focus-visible),html.nzo-over .nzo-head .nzn .nzn-open>.nzn-link{animation:nzo-pop .42s var(--nzo-ease)}
@keyframes nzo-pop{0%{opacity:.35;filter:blur(3px);transform:translateY(3px) scale(.92)}60%{opacity:1;filter:blur(0)}100%{opacity:1}}

/* the icons on the side (search, sign in, language): glass outlines over the slider */
html.nzo-over .nzo-head .nzn-tool:not(:hover):not(:focus-visible){background:rgba(255,255,255,.08)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.42)!important;transform:none!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html.nzo-over .nzo-head .nzn-tool:not(:hover):not(:focus-visible)::after{opacity:0!important}
html.nzo-over .nzo-head .nzn-tool:is(:hover,:focus-visible){animation:nzo-pop .42s var(--nzo-ease)}
/* before nav.js has dressed them (first moment) */
html.nzo-over .nzo-head .ng-tools a:not(.nzn-tool){color:#fff!important}

/* phone menu button */
html.nzo-over .nzo-head .nzm-btn:not(:active){background:rgba(255,255,255,.12)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),0 10px 24px -12px rgba(0,0,0,.6)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html.nzo-over .nzo-head .nzm-btn .nzm-bars i{background:#fff}
html.nzo-over .nzo-head .nzm-btn .nzm-bars i:nth-child(2){background:var(--nzo-sky)}

/* ---------- the slider under the header ---------- */
html.nzo .nzo-hero{height:min(calc(var(--nzh-h,680px) + var(--nzo-hh)),100vh);max-height:none;min-height:min(calc(540px + var(--nzo-hh)),100vh)}
html.nzo .nzo-hero .nzh-content{padding-top:var(--nzo-hh)}
html.nzo .nzo-hero .nzh-side{top:calc(50% + var(--nzo-hh) / 2)}
html.nzo .nzo-hero .nzh-edit{top:calc(16px + var(--nzo-hh))}
html.nzo.nzo-own .nzo-hero{margin-top:0}
@media (max-width:767px){
  html.nzo .nzo-hero{height:auto;min-height:calc(600px + var(--nzo-hh))}
  html.nzo .nzo-hero .nzh-content{padding-top:calc(40px + var(--nzo-hh))}
  html.nzo .nzo-hero .nzh-sound{top:calc(14px + var(--nzo-hh))}
  nzo-plate{inset:-80px -10px -7px -10px;border-radius:0 0 18px 18px}
  .nzo-scrim{inset:0 0 -90% 0}
}

/* entering: the header's buttons arrive after the first picture */
html.nzo:not(.nzo-ready) .nzo-head{opacity:0}
html.nzo.nzo-ready .nzo-head{animation:nzo-in .9s var(--nzo-ease) both}
@keyframes nzo-in{from{opacity:0;transform:translateY(-18px)}to{opacity:1;transform:none}}
html.nzo.nzo-fixed .nzo-head{animation:none}

/* less movement for visitors who ask for it */
@media (prefers-reduced-motion:reduce){
  html.nzo .nzo-head,html.nzo .nzo-head *,nzo-fx>span,nzo-plate{animation:none!important;transition:none!important}
}
