/* sh. industries company header and footer, shared by index.html, about.html and products.html.
 * Loads after site.css. Header: the sh. mark, Glim · GoodDucky · About, and the waitlist button.
 * Footer: "Where to write" (two addresses, shown in full) and the base row. No inline styles (CSP). */

/* the sticky 64px header must never cover a focused element or an anchor target */
html{scroll-padding-top:80px}
/* the inline SVG sprite holding the Glim mark */
.sprite{position:absolute;width:0;height:0;overflow:hidden}

/* ---------- header: sticky, glass after 8px of scroll (site.js / home2.js set .on) ---------- */
.top-in{display:flex;align-items:center;gap:8px;min-height:64px}
.top-nav{display:flex;gap:2px;margin-left:auto}
.top-nav a{color:var(--text-2);text-decoration:none;font:500 14.5px/1 var(--fs);padding:10px 11px;border-radius:999px;white-space:nowrap;transition:color var(--dur-fast) var(--ease),background var(--dur-fast) var(--ease)}
.top-nav a:hover,.top-nav a[aria-current="page"]{color:var(--text);background:var(--surface-2)}
.hdr .top-cta{margin-left:10px}
@media (max-width:639px){
  .top-in{gap:4px}
  .top-nav a{font-size:13px;padding:8px 7px}
  .top-nav a.hide-xs{display:none}
  .hdr .top-cta{margin-left:6px;min-height:34px;padding:0 12px;font-size:13px}
}

/* ---------- footer: where to write, then the legal row. Rules sit on the content edge. ---------- */
.foot{padding:0 0 40px}
.help{border-top:1px solid var(--line);padding-top:clamp(56px,7vw,88px)}
.help-h{font:700 22px/1.2 var(--fd);letter-spacing:-.01em;color:var(--text);margin:0}
.help-list{list-style:none;margin:24px 0 0;padding:0;border-top:1px solid var(--line)}
.help-list a{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:16px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--text)}
.help-list b{font-size:var(--t-read,17px);font-weight:600;line-height:1.3}
.help-list span{font-size:15px;line-height:1.45;color:var(--text-3)}
.help-list em{font-style:normal;font-size:15px;line-height:1.45;color:var(--text-2);text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:4px;transition:text-decoration-color var(--dur-fast) var(--ease)}
.help-list a:hover em,.help-list a:focus-visible em{color:var(--text);text-decoration-color:var(--text)}
.help-list a:hover span{color:var(--text-2)}
@media (min-width:860px){
  .help-list a{grid-template-columns:240px minmax(0,1fr) auto;align-items:baseline;gap:4px 24px;padding:20px 0}
}
.foot-base{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 28px;margin-top:clamp(48px,6vw,72px);font-size:13px;color:var(--text-3)}
.foot-base nav{display:flex;flex-wrap:wrap;gap:4px 20px}
.foot-base a{color:var(--text-2);text-decoration:none;padding:6px 0;white-space:nowrap}
.foot-base a:hover{color:var(--text);text-decoration:underline;text-underline-offset:3px}
@media (prefers-reduced-motion:reduce){.help-list em{transition:none}}
