:root{
  --hq-blue:#0B4F8A;
  --hq-blue-light:#2E7DBD;
  --hq-ink:#14212B;
  --hq-paper:#F6F1E7;
  --hq-orange:#E85D2A;
  --hq-green:#1F7A53;
  --hq-sand:#E8DFD0;
  --hq-mist:#D9E9F5;
  --hq-sun:#F2C14E;
  --hq-alert:#B42318;
  --hq-max:1200px;
  --hq-font-display:"PingFang SC","Hiragino Sans GB","Source Han Sans SC","Noto Sans SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  --hq-font-body:system-ui,-apple-system,"PingFang SC","Hiragino Sans GB","Noto Sans SC","Microsoft YaHei",sans-serif;
  --hq-font-mono:ui-monospace,SFMono-Regular,"JetBrains Mono",Menlo,Consolas,"Courier New",monospace;
  --hq-font-serif:Georgia,"Songti SC","Source Han Serif SC","Noto Serif SC",serif;
  --hq-line:rgba(20,33,43,.14);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  background:var(--hq-paper);
  color:var(--hq-ink);
  font-family:var(--hq-font-body);
  font-size:17px;
  line-height:1.75;
  letter-spacing:.01em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4,h5,h6{
  margin:0;
  font-family:var(--hq-font-display);
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.012em;
  color:var(--hq-ink);
  text-wrap:balance;
}
p{margin:0;text-wrap:pretty}
ul,ol{margin:0;padding:0}
a{color:inherit;text-decoration:none}
img,svg,video{display:block;max-width:100%}
button{font-family:inherit}
#main-content{scroll-margin-top:104px}
:focus-visible{outline:3px solid var(--hq-orange);outline-offset:2px;border-radius:2px}

/* ---------- shell & utility type ---------- */
.hq-shell{width:100%;max-width:var(--hq-max);margin-inline:auto;padding-inline:clamp(18px,4vw,40px)}
.hq-mono{font-family:var(--hq-font-mono);font-variant-numeric:tabular-nums;letter-spacing:.02em}
.hq-index{font-family:var(--hq-font-mono);font-size:.72rem;letter-spacing:.12em;color:var(--hq-blue-light)}

/* ---------- skip link ---------- */
.hq-skip{
  position:absolute;
  left:12px;
  top:-72px;
  z-index:999;
  background:var(--hq-ink);
  color:#fff;
  padding:10px 18px;
  font-size:.9rem;
  font-weight:700;
  border-radius:0 0 3px 3px;
  transition:top .18s ease;
}
.hq-skip:focus{top:0}

/* ---------- header ---------- */
.hq-header{
  position:sticky;
  top:0;
  z-index:80;
  background:var(--hq-paper);
  border-bottom:1px solid var(--hq-line);
}
.hq-header__strip{background:var(--hq-ink);color:#C9D6E2;font-size:11.5px;letter-spacing:.05em}
.hq-header__strip-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:7px}
.hq-header__coords{display:flex;align-items:center;gap:10px;min-width:0;margin:0}
.hq-header__coords .hq-mono{color:var(--hq-sun);font-size:11px;flex:0 0 auto}
.hq-header__dot{width:5px;height:5px;border-radius:50%;background:var(--hq-orange);flex:0 0 auto}
.hq-header__strip-label{color:#93A4B4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hq-header__hours{margin:0;color:#8D9DAD;white-space:nowrap;flex:0 0 auto}
.hq-header__hours .hq-mono{color:#E6DFD0}

.hq-header__bar{
  position:relative;
  display:flex;
  align-items:center;
  gap:clamp(14px,2.5vw,32px);
  min-height:64px;
  padding-block:12px;
}

.hq-brand{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.hq-brand__mark{
  position:relative;
  width:40px;height:40px;
  flex:0 0 auto;
  background:var(--hq-blue);
  clip-path:polygon(0 0,100% 0,100% 70%,70% 100%,0 100%);
  display:grid;
  place-items:center;
}
.hq-brand__mark::before{
  content:"";
  width:13px;height:13px;
  border-radius:50%;
  background:var(--hq-sun);
  box-shadow:0 0 0 3px rgba(246,241,231,.28);
}
.hq-brand__text{display:block}
.hq-brand__name{
  display:block;
  font-family:var(--hq-font-display);
  font-weight:900;
  font-size:1.125rem;
  line-height:1.15;
  letter-spacing:.02em;
  color:var(--hq-ink);
}
.hq-brand__tag{
  display:block;
  margin-top:2px;
  font-family:var(--hq-font-mono);
  font-size:.66rem;
  letter-spacing:.16em;
  color:var(--hq-blue-light);
}

.hq-nav{flex:1 1 auto;display:flex;justify-content:flex-end}
.hq-nav__list{display:flex;align-items:center;gap:0}
.hq-nav__link{
  position:relative;
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  padding:8px 10px 11px;
  font-size:.875rem;
  font-weight:600;
  color:#2A3A46;
  border-radius:3px;
  white-space:nowrap;
  transition:color .16s ease,background-color .16s ease;
}
.hq-nav__index{display:none;font-family:var(--hq-font-mono);font-size:.72rem;color:var(--hq-blue-light)}
.hq-nav__link:hover{background:var(--hq-sand);color:var(--hq-blue)}
.hq-nav__link[aria-current="page"]{color:var(--hq-blue)}
.hq-nav__link[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:10px;right:10px;bottom:3px;
  height:3px;
  background:var(--hq-orange);
}

.hq-utilities{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  padding-left:clamp(10px,2vw,22px);
  border-left:1px solid rgba(20,33,43,.18);
}
.hq-utility{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.02em;
  color:var(--hq-ink);
  border:1px solid rgba(20,33,43,.22);
  border-radius:2px;
  white-space:nowrap;
  transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;
}
.hq-utility:hover{background:var(--hq-mist);border-color:rgba(11,79,138,.4);color:var(--hq-blue);transform:translateY(-1px)}
.hq-utility--accent{background:var(--hq-orange);border-color:var(--hq-orange);color:#fff}
.hq-utility--accent:hover{background:#C94A1B;border-color:#C94A1B;color:#fff}

.hq-nav-toggle{
  display:none;
  align-items:center;
  gap:8px;
  margin-left:auto;
  padding:9px 12px;
  font-size:.82rem;
  font-weight:700;
  color:var(--hq-ink);
  background:transparent;
  border:1px solid rgba(20,33,43,.26);
  border-radius:3px;
  cursor:pointer;
  transition:background-color .16s ease,border-color .16s ease;
}
.hq-nav-toggle:hover{background:var(--hq-mist);border-color:rgba(11,79,138,.4)}
.hq-nav-toggle__bars{display:flex;flex-direction:column;gap:4px;width:16px}
.hq-nav-toggle__bars i{display:block;height:2px;background:var(--hq-blue);transition:transform .2s ease,opacity .2s ease}
.hq-nav-toggle__text{line-height:1}
.hq-nav-toggle[aria-expanded="true"]{background:var(--hq-ink);color:var(--hq-paper);border-color:var(--hq-ink)}
.hq-nav-toggle[aria-expanded="true"] .hq-nav-toggle__bars i{background:var(--hq-sun)}
.hq-nav-toggle[aria-expanded="true"] .hq-nav-toggle__bars i:first-child{transform:translateY(3px) rotate(45deg)}
.hq-nav-toggle[aria-expanded="true"] .hq-nav-toggle__bars i:last-child{transform:translateY(-3px) rotate(-45deg)}

.hq-progress{position:absolute;left:0;right:0;bottom:-1px;height:2px;background:transparent;pointer-events:none}
.hq-progress__bar{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--hq-orange),var(--hq-green));transition:width .12s linear}

/* ---------- footer ---------- */
.hq-footer{
  position:relative;
  margin-top:clamp(48px,8vw,96px);
  background:var(--hq-ink);
  color:#E9E1D3;
}
.hq-footer::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:4px;
  background:linear-gradient(90deg,var(--hq-blue) 0 52%,var(--hq-orange) 52% 76%,var(--hq-green) 76% 100%);
}
.hq-footer__top{
  display:grid;
  grid-template-columns:1.35fr .8fr .8fr;
  gap:clamp(24px,4vw,60px);
  padding-block:clamp(40px,6vw,72px) clamp(24px,3vw,40px);
}
.hq-footer__lead{min-width:0}
.hq-footer__brand{display:inline-flex;align-items:center;gap:12px}
.hq-brand__mark--footer{background:var(--hq-blue-light)}
.hq-brand__mark--footer::before{background:var(--hq-sun);box-shadow:0 0 0 3px rgba(20,33,43,.4)}
.hq-footer__brandtext{display:block}
.hq-footer__name{
  display:block;
  font-family:var(--hq-font-display);
  font-weight:900;
  font-size:1.0625rem;
  line-height:1.15;
  color:#F4EEE2;
}
.hq-footer__tag{
  display:block;
  margin-top:2px;
  font-family:var(--hq-font-mono);
  font-size:.64rem;
  letter-spacing:.16em;
  color:#8FA9BF;
}
.hq-footer__desc{
  margin-top:18px;
  max-width:32ch;
  font-size:.9375rem;
  line-height:1.72;
  color:#B9B2A4;
}
.hq-legend{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  margin-top:22px;
  padding-top:16px;
  border-top:1px dashed rgba(246,241,231,.2);
}
.hq-legend__item{display:inline-flex;align-items:center;gap:7px;font-size:.7rem;letter-spacing:.06em;color:#9BA3AD}
.hq-legend__key{width:10px;height:10px;border-radius:1px;display:inline-block;flex:0 0 auto}
.hq-legend__key--orange{background:var(--hq-orange)}
.hq-legend__key--green{background:var(--hq-green)}
.hq-legend__key--blue{background:var(--hq-blue-light)}

.hq-footer__col{min-width:0}
.hq-footer__col-title{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  font-family:var(--hq-font-display);
  font-size:.74rem;
  font-weight:700;
  letter-spacing:.16em;
  color:#9FB6C9;
}
.hq-footer__col-title::before{content:"";width:14px;height:2px;background:var(--hq-orange);flex:0 0 auto}
.hq-footer__links{display:flex;flex-direction:column;gap:2px}
.hq-footer__links a{
  display:inline-block;
  padding:5px 0;
  font-size:.9rem;
  color:#C6BFAF;
  transition:color .16s ease,transform .16s ease;
}
.hq-footer__links a:hover{color:#fff;transform:translateX(3px)}
.hq-footer__links--inline{flex-direction:row;flex-wrap:wrap;gap:6px 22px}
.hq-footer__links--inline a:hover{transform:none;text-decoration:underline;text-underline-offset:4px}

.hq-footer__meta{
  display:flex;
  flex-wrap:wrap;
  gap:clamp(24px,4vw,56px);
  justify-content:space-between;
  border-top:1px solid rgba(246,241,231,.16);
  padding-block:clamp(26px,4vw,42px);
}
.hq-footer__contact{flex:1 1 400px;min-width:0}
.hq-footer__policy{flex:0 1 320px;min-width:0}
.hq-footer__line{
  display:flex;
  flex-wrap:wrap;
  gap:4px 12px;
  padding:3px 0;
  font-size:.875rem;
  color:#C6BFAF;
  overflow-wrap:anywhere;
}
.hq-footer__label{
  flex:0 0 40px;
  font-family:var(--hq-font-mono);
  font-size:.72rem;
  letter-spacing:.08em;
  color:#7E97AC;
  padding-top:2px;
}
.hq-footer__note{
  margin-top:8px;
  max-width:50ch;
  font-size:.78rem;
  line-height:1.72;
  color:#918C82;
}
.hq-footer__bottom{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 24px;
  border-top:1px solid rgba(246,241,231,.14);
  padding-block:18px 26px;
  font-size:.75rem;
  color:#86817A;
}
.hq-footer__copy{margin:0;letter-spacing:.04em}
.hq-footer__icp{font-family:var(--hq-font-mono);letter-spacing:.02em;margin:0}

/* ---------- generic page components ---------- */
.hq-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  padding:.72em 1.45em;
  font-family:var(--hq-font-display);
  font-size:.95rem;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1.2;
  border:1px solid transparent;
  border-radius:2px;
  cursor:pointer;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.hq-btn:hover{transform:translateY(-2px)}
.hq-btn--primary{background:var(--hq-orange);color:#fff}
.hq-btn--primary:hover{background:#C94A1B}
.hq-btn--blue{background:var(--hq-blue);color:#fff}
.hq-btn--blue:hover{background:#09406F}
.hq-btn--ghost{background:transparent;color:var(--hq-ink);border-color:rgba(20,33,43,.32)}
.hq-btn--ghost:hover{border-color:var(--hq-blue);color:var(--hq-blue);background:rgba(217,233,245,.6)}

.hq-breadcrumb{padding-top:18px;font-size:.8rem;color:#5C6B76}
.hq-breadcrumb__list{display:flex;flex-wrap:wrap;align-items:center;gap:6px;list-style:none}
.hq-breadcrumb__item + .hq-breadcrumb__item::before{content:"›";margin-right:6px;color:var(--hq-blue-light)}
.hq-breadcrumb a:hover{color:var(--hq-blue);text-decoration:underline;text-underline-offset:3px}

.hq-section{padding-block:clamp(44px,7vw,88px)}
.hq-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  font-family:var(--hq-font-mono);
  font-size:.74rem;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--hq-blue);
}
.hq-eyebrow::before{content:"";width:18px;height:2px;background:var(--hq-orange);flex:0 0 auto}

.hq-panel{
  position:relative;
  padding:clamp(20px,3vw,36px);
  background:var(--hq-paper);
  border:1px solid rgba(20,33,43,.12);
  border-radius:2px;
}
.hq-panel--sand{background:var(--hq-sand);border-color:rgba(20,33,43,.1)}
.hq-panel--mist{background:var(--hq-mist);border-color:rgba(11,79,138,.16)}
.hq-panel--ink{background:var(--hq-ink);border-color:transparent;color:#EDE6DA}
.hq-panel--ink h2,.hq-panel--ink h3{color:#F4EEE2}
.hq-panel--cut::after{
  content:"";
  position:absolute;
  right:0;bottom:0;
  width:22px;height:22px;
  background:var(--hq-orange);
  clip-path:polygon(100% 0,100% 100%,0 100%);
}

.hq-grid{display:grid;gap:clamp(16px,2.5vw,28px);grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}

.hq-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 9px;
  font-family:var(--hq-font-mono);
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.08em;
  border-radius:2px;
  background:var(--hq-mist);
  color:var(--hq-blue);
  border:1px solid rgba(11,79,138,.18);
}
.hq-tag--orange{background:#FCE7DD;color:#A63B12;border-color:rgba(232,93,42,.3)}
.hq-tag--green{background:#DFF0E7;color:#14603F;border-color:rgba(31,122,83,.28)}

.hq-media{
  position:relative;
  overflow:hidden;
  aspect-ratio:4 / 3;
  background:var(--hq-sand);
  border-radius:2px;
}
.hq-media img{width:100%;height:100%;object-fit:cover}
.hq-media--wide{aspect-ratio:16 / 9}
.hq-media--tall{aspect-ratio:3 / 4}
.hq-media--cut{clip-path:polygon(0 4%,96% 0,100% 96%,4% 100%)}

.hq-divider{
  position:relative;
  height:1px;
  margin-block:clamp(28px,4vw,48px);
  background:rgba(20,33,43,.14);
}
.hq-divider::before{content:"";position:absolute;left:0;top:-1px;width:56px;height:3px;background:var(--hq-orange)}

.hq-prose{max-width:68ch;font-size:1.0625rem;line-height:1.8}
.hq-prose > * + *{margin-top:1.1em}
.hq-prose h2{margin-top:1.9em;font-size:1.5rem}
.hq-prose h3{margin-top:1.6em;font-size:1.15rem}
.hq-prose ul,.hq-prose ol{padding-left:1.35em;list-style:disc}
.hq-prose ol{list-style:decimal}
.hq-prose li + li{margin-top:.4em}
.hq-prose a{color:var(--hq-blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.hq-prose a:hover{color:var(--hq-orange)}
.hq-prose strong{color:var(--hq-blue);font-weight:700}

.hq-reveal{
  opacity:0;
  transform:translate3d(0,14px,0);
  transition:opacity .5s ease,transform .5s cubic-bezier(.22,.61,.36,1);
}
.hq-reveal.is-visible{opacity:1;transform:none}

/* ---------- responsive ---------- */
@media (max-width:1023px){
  .hq-nav__link{font-size:.82rem;padding:8px 8px 11px}
  .hq-utilities{padding-left:12px}
  .hq-utility{padding:6px 10px;font-size:.74rem}
}
@media (max-width:900px){
  .hq-header__bar{flex-wrap:wrap;min-height:56px;padding-block:10px}
  .hq-header__hours{display:none}
  .hq-nav{
    display:none;
    order:3;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    z-index:70;
    background:var(--hq-paper);
    border-top:1px solid var(--hq-line);
    border-bottom:1px solid var(--hq-line);
    box-shadow:0 20px 34px -24px rgba(20,33,43,.65);
    padding:6px 0 14px;
  }
  .hq-nav[data-open]{display:block;animation:hq-nav-in .22s ease both}
  .hq-nav__list{flex-direction:column;align-items:stretch}
  .hq-nav__link{
    display:flex;
    align-items:center;
    gap:0;
    padding:14px 8px;
    font-size:1rem;
    font-weight:600;
    border-bottom:1px dashed rgba(20,33,43,.14);
    border-radius:0;
  }
  .hq-nav__link::after{display:none}
  .hq-nav__link:hover{background:var(--hq-mist)}
  .hq-nav__link[aria-current="page"]{background:var(--hq-mist);box-shadow:inset 4px 0 0 var(--hq-orange)}
  .hq-nav__index{display:inline-block;width:34px;font-size:.78rem;letter-spacing:.1em}
  .hq-utilities{display:none}
  .hq-nav-toggle{display:inline-flex}
  .hq-progress{bottom:0}
  .hq-footer__top{grid-template-columns:1fr 1fr}
  .hq-footer__lead{grid-column:1 / -1}
  .hq-footer__meta{gap:24px}
}
@media (max-width:600px){
  body{font-size:16px}
  .hq-header__strip-inner{padding-block:6px}
  .hq-header__strip-label{font-size:11px}
  .hq-brand__mark{width:34px;height:34px}
  .hq-brand__name{font-size:1rem}
  .hq-footer__top{grid-template-columns:1fr}
  .hq-footer__meta{flex-direction:column}
  .hq-footer__policy{flex:1 1 auto}
  .hq-footer__line{font-size:.84rem}
}
@keyframes hq-nav-in{
  from{opacity:0;transform:translateY(-8px)}
  to{opacity:1;transform:none}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  .hq-reveal{opacity:1 !important;transform:none !important}
  .hq-btn:hover,.hq-utility:hover,.hq-footer__links a:hover{transform:none}
  .hq-progress__bar{transition:none}
}
