/* Header identical to index.html (scoped with hh- so it cannot clash with the page styles) */
html body header.hh{
  --hp:clamp(20px,4vw,56px);
  position:sticky!important;top:0;z-index:50;display:block!important;
  background:rgba(255,255,255,.94)!important;
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border:0!important;border-bottom:1px solid #E6E6E6!important;
  padding:env(safe-area-inset-top,0px) 0 0!important;box-shadow:none!important;
  font-family:Inter,'Helvetica Neue',Arial,sans-serif;
}
html body header.hh .hh-bar{max-width:1440px;width:100%;margin:0 auto;padding:8px var(--hp);display:flex;align-items:center;justify-content:space-between;gap:24px}
html body header.hh .hh-bar>a{display:block;flex:none}
html body header.hh .hh-bar>a img{height:24px;width:auto;max-width:none;filter:none;display:block}
html body header.hh .hh-bar ul{display:flex;align-items:center;gap:6px;list-style:none;margin:0;padding:0;font:500 14px Inter,'Helvetica Neue',Arial,sans-serif;letter-spacing:0}
html body header.hh .hh-bar ul>li>a,html body header.hh .hh-dd>a{display:block;padding:8px 14px;border-radius:999px;color:#141414;text-decoration:none;font-size:14px;font-weight:500;transition:background .3s,color .3s}
html body header.hh .hh-bar ul>li>a:hover{background:#F4F4F4;color:#141414}
html body header.hh .hh-dd{position:relative}
html body header.hh .hh-dd>a{display:inline-flex;align-items:center;gap:6px}
html body header.hh .hh-dd>a svg{width:12px;height:12px;transition:transform .25s}
html body header.hh .hh-dd:hover>a svg,html body header.hh .hh-dd:focus-within>a svg{transform:rotate(180deg)}
html body header.hh .hh-dm{position:absolute;top:calc(100% + 10px);left:0;min-width:270px;display:grid;padding:8px;border-radius:20px;background:rgba(255,255,255,.98);border:1px solid #E6E6E6;box-shadow:0 20px 50px -12px rgba(20,16,10,.35);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .2s,transform .25s,visibility .2s}
html body header.hh .hh-dm:before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
html body header.hh .hh-dd:hover .hh-dm,html body header.hh .hh-dd:focus-within .hh-dm{opacity:1;visibility:visible;transform:none}
html body header.hh .hh-bar ul .hh-dm a{display:block;color:#141414;padding:10px 14px;border-radius:12px;font-size:14.5px;font-weight:500;white-space:nowrap;text-decoration:none}
html body header.hh .hh-bar ul .hh-dm a:hover{background:#F4F4F4;color:#141414}
html body header.hh .hh-rt{display:flex;align-items:center;gap:8px}
html body header.hh .hh-btn{display:inline-flex;align-items:center;gap:10px;height:40px;padding:0 18px;border-radius:999px;background:#141414;color:#fff;border:0;font:600 14px Inter,'Helvetica Neue',Arial,sans-serif;letter-spacing:0;text-decoration:none;transition:background .2s,color .2s;box-shadow:none}
html body header.hh .hh-btn:hover{background:#CC1B2F;color:#fff;transform:none}
html body header.hh .hh-btn svg{width:16px;height:16px;transform:none!important;transition:none}
html body header.hh .hh-mn{display:none;width:44px;height:44px;border-radius:50%;background:#141414;border:0;cursor:pointer;grid-template-columns:repeat(3,5px);gap:4px;place-content:center;padding:0;transition:background .3s}
html body header.hh .hh-mn i{width:5px;height:5px;border-radius:50%;background:#fff;display:block}
html body header.hh .hh-mn:hover{background:#CC1B2F}

/* full-screen menu */
html body .hh-ov{position:fixed;inset:0;z-index:60;background:#141414;color:#fff;padding:max(24px,env(safe-area-inset-top,0px)) clamp(20px,4vw,56px) 40px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;overflow-y:auto;transform:translateY(-100%);transition:transform .6s cubic-bezier(.7,0,.2,1);font-family:Inter,'Helvetica Neue',Arial,sans-serif}
html body .hh-ov.o{transform:none}
html body .hh-ovt{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%}
html body .hh-ovl img{height:30px;width:auto;filter:brightness(0) invert(1);display:block}
html body .hh-x{background:#fff;color:#141414;border:0;border-radius:999px;height:46px;padding:0 26px;font:600 15px Inter,'Helvetica Neue',Arial,sans-serif;cursor:pointer}
html body .hh-nav{display:grid}
html body .hh-nav>a,html body .hh-nav summary{font:600 clamp(24px,5.6vw,34px)/1.2 Inter,'Helvetica Neue',Arial,sans-serif;letter-spacing:-.02em;padding:12px 0;border-bottom:1px solid #2A2A2A;color:#fff;text-decoration:none;display:block}
html body .hh-nav summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center}
html body .hh-nav summary::-webkit-details-marker{display:none}
html body .hh-nav summary:after{content:"+";font-weight:400;color:#9C9C9C}
html body .hh-nav details[open] summary:after{content:"\2212"}
html body .hh-sl{display:grid;padding:6px 0 14px}
html body .hh-nav .hh-sl a{font:500 17px/1.3 Inter,'Helvetica Neue',Arial,sans-serif;letter-spacing:0;color:#CACACA;border:0;padding:8px 4px;text-decoration:none;display:block}
html body .hh-nav .hh-sl a:hover{color:#fff}
html body .hh-ov p{color:#9C9C9C;font-size:15px;margin:0}

/* responsive, same breakpoints as the home page */
@media(max-width:1000px){
  html body header.hh .hh-bar ul{display:none}
  html body header.hh .hh-btn{display:none}
  html body header.hh .hh-mn{display:grid}
}
@media(min-width:520px) and (max-width:1000px){html body header.hh .hh-btn{display:inline-flex}}
@media(max-width:519px){html body header.hh .hh-bar>a img{height:26px}}
