/* Dimensions and color roles follow Hammer Down's main-site header. */
.hd-header,.hd-footer { font-family:Inter,system-ui,sans-serif; color:#f6f3ed; }
.hd-shell-wrap { width:min(calc(100% - 32px),1240px); margin-inline:auto; }
.hd-header { position:sticky; top:0; z-index:60; background:#09171d; border-bottom:1px solid #2a4249; }
.hd-header-inner { display:flex; align-items:center; gap:clamp(.75rem,2vw,1.5rem); min-height:76px; }
.hd-brand { display:inline-flex; align-items:center; gap:.8rem; flex-shrink:0; min-height:48px; color:#fff; text-decoration:none; }
.hd-brand img { display:block; width:92px; height:40px; object-fit:contain; background:#fff; border-radius:2px; }
.hd-brand span { display:grid; gap:.28rem; }
.hd-brand b { font-size:1.1rem; font-weight:800; line-height:1.05; text-transform:uppercase; letter-spacing:.035em; white-space:nowrap; }
.hd-brand small { color:#ff635a; font-size:.62rem; font-weight:700; line-height:1.15; letter-spacing:.09em; text-transform:uppercase; }
.hd-desktop-nav,.hd-utilities,.hd-social { display:flex; align-items:center; }
.hd-desktop-nav { gap:clamp(1rem,2.4vw,2rem); margin-inline:auto; }
.hd-desktop-nav a { color:#f6f3ed; font-weight:800; font-size:.86rem; text-decoration:none; white-space:nowrap; padding:.8rem 0; }
.hd-utilities { gap:.72rem; margin-left:auto; }
.hd-social { gap:.36rem; }
.hd-social a { display:grid; place-items:center; color:#97d9db; width:33px; height:36px; }
.hd-social a svg { width:17px; height:17px; fill:currentColor; }
.hd-phone { display:inline-flex; align-items:center; gap:.4rem; color:#fff; font-size:.9rem; font-weight:800; white-space:nowrap; text-decoration:none; }
.hd-phone svg { width:17px; height:17px; color:#ef4a42; }
.hd-book { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 1.15rem; border:1px solid #ef4a42; border-radius:8px; background:#bc342b; color:white; font-size:.86rem; font-weight:800; white-space:nowrap; text-decoration:none; }
.hd-book:hover { background:#a82b24; }
.hd-mobile-menu { display:none; }
.hd-footer { background:#0a0b0c; padding:clamp(1.25rem,2.6vw,2.25rem) 0 .55rem; }
.hd-footer .hd-shell-wrap { width:min(calc(100% - 32px),1440px); }
.hd-footer-grid { display:grid; grid-template-columns:1.45fr 1fr 1fr 1.15fr; gap:clamp(1rem,2.5vw,2rem); }
.hd-footer h2 { color:#fff; margin:.25rem 0 .45rem; font:800 .88rem/1.2 Inter,system-ui,sans-serif; letter-spacing:.06em; text-transform:uppercase; }
.hd-footer p,.hd-footer a,.hd-footer address,.hd-footer-bottom { color:#bdcfd0; font-size:.91rem; line-height:1.6; }
.hd-footer p { max-width:34ch; margin:.45rem 0; }
.hd-footer address { font-style:normal; }
.hd-footer-grid > div > a:not(.hd-brand),.hd-footer address a { display:block; text-decoration:none; padding:.18rem 0; }
.hd-footer .hd-brand b { color:#fff; }
.hd-footer a:hover,.hd-desktop-nav a:hover { color:#a2eaed; }
.hd-footer-bottom { display:flex; justify-content:space-between; gap:.75rem; border-top:1px solid #30383b; margin-top:.8rem; padding-top:.55rem; font-size:.8rem; }
.hd-header a:focus-visible,.hd-header summary:focus-visible,.hd-footer a:focus-visible { outline:2px solid #9ce8e1; outline-offset:4px; }
@media(max-width:1120px) { .hd-utilities>.hd-social { display:none; } }
@media(max-width:840px) {
  .hd-header-inner { min-height:66px; gap:.65rem; }
  .hd-desktop-nav,.hd-utilities { display:none; }
  .hd-mobile-menu { display:block; margin-left:auto; }
  .hd-mobile-menu summary { display:grid; place-items:center; width:44px; height:44px; list-style:none; cursor:pointer; border:1px solid #487780; border-radius:9px; color:#fff; background:#10282e; font-size:1.26rem; }
  .hd-mobile-menu summary::-webkit-details-marker { display:none; }
  .hd-mobile-menu[open] summary span { font-size:0; }
  .hd-mobile-menu[open] summary span::after { content:'×'; font-size:1.6rem; }
  .hd-menu-panel { position:absolute; inset:100% 0 auto; overflow:auto; max-height:calc(100dvh - 66px); padding:.8rem 16px 1rem; background:#09171d; border-bottom:1px solid #2a4249; }
  .hd-menu-panel nav:first-child { display:grid; gap:.15rem; }
  .hd-menu-panel nav:first-child>a { padding:.7rem .3rem; color:#fff; font-weight:700; text-decoration:none; }
  .hd-menu-panel nav:first-child>.hd-book { justify-self:start; padding:.55rem 1.15rem; margin:.3rem 0 .55rem; }
  .hd-brand { gap:.55rem; min-width:0; flex-shrink:1; }
  .hd-brand img { width:70px; height:32px; }
  .hd-brand b { white-space:normal; font-size:clamp(.8rem,3.8vw,1rem); }
  .hd-brand small { font-size:.56rem; }
  .hd-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:475px) {
  .hd-footer-grid { gap:1rem; }
  .hd-footer-grid > :first-child,.hd-footer-grid > :last-child { grid-column:1 / -1; }
  .hd-footer-bottom { flex-direction:column; }
}
