/* Site header (owner choice H-1, changed 2026-11-03: "the rectagle version is better").
   700px and up: a full-width white rectangle, flush to the top and sides, soft depth on scroll, no line under it (V-6).
   Under 700px: logo centred, round menu button, full menu panel, pinned bottom button (option 1 phone).
   Type: V-7 small 15/500 for links, button 15/600. Logo: clear-space lockup (V-5). Pills (V-3). No hairlines (V-6). */
.hx,.hx *,.hx-door,.hx-door *{box-sizing:border-box}
.hx{--hx-ink:var(--c-ink);--hx-blue:var(--c-diamond);--hx-ink2:var(--c-sec);--hx-surface:var(--c-pane);
  position:sticky;top:0;z-index:60;padding:0 96px;background:var(--c-sheet);transition:box-shadow .3s;
  font-family:"Manrope TH",Manrope,sans-serif;color:var(--hx-ink);line-height:1.5}
.hx a{color:inherit;text-decoration:none}
.hx ul{list-style:none;margin:0;padding:0}
.hx-bar{position:relative;max-width:1200px;margin:0 auto;height:72px;display:flex;align-items:center;gap:24px}
.hx.is-scrolled{box-shadow:0 1px 2px rgba(11,13,16,.04),0 8px 24px rgba(11,13,16,.08)}
.hx-logo{display:inline-flex;flex:none;line-height:0;overflow:visible}
.hx .hx-logo img.lockup{display:block;height:40px!important;width:auto!important;max-width:none!important;margin:0;object-fit:contain}
.hx-nav{margin:0 auto}
.hx-links{display:flex;align-items:center;gap:32px}
.hx-links a{display:inline-flex;align-items:center;height:44px;font-size:15px;font-weight:500;color:var(--hx-ink2);transition:color .2s}
.hx-links a:hover,.hx-links a[aria-current=page]{color:var(--hx-ink)}
.hx-links a[aria-current=page]{font-weight:600}
.hx-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;height:44px;padding:0 20px;border-radius:999px;border:0;
  font:600 15px/1 "Manrope TH",Manrope,sans-serif;white-space:nowrap;background:var(--c-ink);color:var(--c-on-pri)!important;text-decoration:none!important;transition:background-color .2s}
.hx-btn:hover{background:#23272D}
.hx-btn .dia{display:block;width:8px;height:8px;background:var(--c-diamond);transform:rotate(45deg);flex:none}
.hx-btn.sm{height:36px;padding:0 16px}
.hx :focus-visible,.hx-door:focus-visible{outline:3px solid var(--c-diamond);outline-offset:3px;border-radius:999px}
/* menu */
.hx .mobile-menu{display:none;flex:none}
.hx .mobile-menu>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 16px;
  border:0;border-radius:999px;background:var(--c-sheet);color:var(--hx-ink);font:600 15px/1 "Manrope TH",Manrope,sans-serif}
.hx .mobile-menu>summary::-webkit-details-marker{display:none}
.hx.is-scrolled .mobile-menu>summary{background:var(--hx-surface)}
.hx .bars{width:14px;height:10px;position:relative;flex:none}
.hx .bars:before,.hx .bars:after{content:"";position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor;transition:transform .25s}
.hx .bars:before{top:1px}.hx .bars:after{bottom:1px}
.hx .mobile-menu[open] .bars:before{transform:translateY(3px) rotate(45deg)}
.hx .mobile-menu[open] .bars:after{transform:translateY(-3px) rotate(-45deg)}
.hx-sheet{position:fixed;z-index:61;display:flex;flex-direction:column;background:var(--c-sheet);overflow:auto;
  top:80px;right:24px;left:auto;width:min(420px,calc(100vw - 48px));max-height:calc(100vh - 112px);border-radius:28px;padding:16px 24px 24px;
  box-shadow:0 6px 16px rgba(11,13,16,.08),0 24px 48px rgba(11,13,16,.12)}
.hx-sheet a.l{display:flex;align-items:center;min-height:48px;font-size:15px;font-weight:500;color:var(--hx-ink)}
.hx-sheet a.l.sub{color:var(--hx-ink2)}
.hx-sheet a.l[aria-current=page]{font-weight:600}
.hx-sheet .gap{display:block;height:16px;flex:none}
.hx-sheet .hx-btn{width:100%;margin-top:16px;flex:none}
.hx-tab{display:none!important}
.hx-door{display:none}
/* in-between: logo, small button, menu */
@media (max-width:1180px){
  .hx{padding:0 24px}
  .hx-nav,.hx-main{display:none!important}
  .hx-tab{display:inline-flex!important;margin-left:auto}
  .hx .mobile-menu{display:block;margin-left:-12px}
}
/* phone: option 1 */
@media (max-width:699px){
  .hx{padding:0}
  .hx-bar{max-width:none;height:72px;padding:0 16px;
    display:grid;grid-template-columns:44px 1fr 44px;gap:8px}
  .hx-logo{grid-column:2;grid-row:1;justify-self:center}
  .hx .hx-logo img.lockup{height:36px!important}
  .hx-tab{display:none!important}
  .hx .mobile-menu{grid-column:1;grid-row:1;margin:0}
  .hx .mobile-menu>summary,.hx.is-scrolled .mobile-menu>summary{width:44px;height:44px;padding:0;gap:0;background:var(--hx-surface)}
  .hx .hx-word{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
  .hx .bars{width:16px}
  .hx-sheet{top:72px;left:0;right:0;bottom:0;width:auto;max-height:none;border-radius:0;box-shadow:none;padding:16px 24px 24px}
  .hx-sheet a.hx-btn{margin-top:auto;height:44px;padding:0 20px}
  a.hx-btn.hx-door{height:36px;padding:0 16px}
  .hx-door{display:flex;position:fixed;left:16px;right:16px;bottom:16px;z-index:55;
    box-shadow:0 8px 24px rgba(11,13,16,.18),0 2px 6px rgba(11,13,16,.12)}
  body{padding-bottom:96px}
  body:has(.hx .mobile-menu[open]){overflow:hidden}
  body:has(.hx .mobile-menu[open]) .hx-door{display:none}
}
@media (max-width:359px){.hx .hx-logo img.lockup{height:36px!important}.hx-bar{padding:0 12px}}
@media (prefers-reduced-motion:reduce){.hx *,.hx,.hx-door{transition:none!important}}
html[data-theme=dark] .hx .hx-logo img.lockup{margin:0}
html{scroll-padding-top:88px}
@media (max-width:699px){html{scroll-padding-top:88px}}
