/* Footer shared by every page. Markup lives in content/_footer.html; tools/build.py copies it into each page. */
.hwf { --hwf-bg: #f1f0ec; --hwf-ink: #12151c; position: relative; overflow: hidden; isolation: isolate;
  background: var(--hwf-bg); color: var(--hwf-ink); border-top: 1px solid #e2e5ea;
  padding-bottom: calc(13vw + 12px); /* room for the wordmark (about 12.7vw tall), so the links never sit on its dots */ }
.hwf canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hwf-top { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px 24px; padding: clamp(40px, 5vw, 72px) clamp(20px, 3.4vw, 44px) 0; }
.hwf-brand { grid-column: 1 / -1; display: grid; gap: 12px; max-width: 62ch; margin-bottom: 8px; }
.hwf .hwf-mark { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 650; letter-spacing: -.02em; color: inherit; text-decoration: none; }
.hwf-mark img { width: 28px; height: 28px; flex: none; }
.hwf-brand p { margin: 0; font-size: 16px; line-height: 1.6; color: #4a505c; }
.hwf-col h2 { margin: 0 0 14px; font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: #5a6170; /* 5.4:1 on the footer paper */ }
.hwf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hwf a, .hwf-up { color: inherit; text-decoration: none; opacity: .82; background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: opacity .25s ease, background-size .35s cubic-bezier(.2,.7,.1,1); }
.hwf-col a { font-size: 15px; line-height: 1.4; }
.hwf a:hover, .hwf-up:hover { opacity: 1; background-size: 100% 1px; }
.hwf a:focus-visible, .hwf-up:focus-visible { outline: 2px solid #4f74ec; outline-offset: 3px; opacity: 1; }
.hwf-rule { position: relative; z-index: 1; max-width: 1240px; margin: clamp(32px, 4vw, 48px) auto 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 14px clamp(20px, 3.4vw, 44px) 0; border-top: .5px solid rgba(18,21,28,.16);
  font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.hwf-rule .legal { opacity: .6; }
.hwf-rule .hint { opacity: .45; }
@media (max-width: 900px) { .hwf-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .hwf-top { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 16px; }
  .hwf-rule { padding-inline: 16px; }
  .hwf-rule .hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hwf a, .hwf-up { transition: none; } }
