/* Heaven Health · the sitewide footer (28 Nov 2026; web/home-baseline/plans/FOOTER_PLAN_28NOV.md).
   Generated into every page by web/home-baseline/tools/footer_sitewide.py; the homepage builds the
   same footer from its own links (web/home-baseline/depth/96-footer.*).
   Golden ratio: spacing only on 8 / 13 / 21 / 34 / 55 / 89 px; the brand block is 1.618 fr against
   1 fr per column; the notices run at 61.8 % of the width; brand name 15 x 1.618 = 24 px.
   Ink on the cream band: links #4a566c (7.6:1), headings gold #825d20 (5.3:1).
   Every selector starts footer.hhf so no page's own footer, nav, list or heading rules reach in. */
footer.hhf {
  position: relative; z-index: 1; display: block; box-sizing: border-box;
  width: auto; max-width: none; margin: 0; padding: 89px 0 55px; border: 0; border-radius: 0;
  border-top: 1px solid rgba(130,93,32,.14);
  background: #f6f1e7; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  text-align: left; color: #4a566c; font: 400 15px/1.618 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
footer.hhf::before, footer.hhf::after { content: none; }
footer.hhf *, footer.hhf *::before, footer.hhf *::after { box-sizing: border-box; }
footer.hhf .hhf-in { width: min(1200px, calc(100% - 2 * clamp(21px, 5vw, 55px))); margin: 0 auto; }
footer.hhf .hhf-top { display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 4fr); column-gap: 34px; align-items: start; }

/* brand block */
footer.hhf .hhf-brand { padding-right: 55px; }
footer.hhf a.hhf-name {
  display: inline-block; margin: 0; padding: 0; text-decoration: none; background: none;
  font: 500 24px/1.236 'Fraunces', Georgia, 'Times New Roman', serif; letter-spacing: -.01em; color: #1a283d;
}
footer.hhf .hhf-tag { margin: 13px 0 0; padding: 0; max-width: 24em; font: 500 15px/1.618 'Nunito', system-ui, sans-serif; color: #4a566c; }
footer.hhf .hhf-cta { display: flex; flex-wrap: wrap; gap: 13px; margin: 34px 0 0; padding: 0; }
footer.hhf a.hhf-btn {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 21px; border-radius: 980px;
  border: 1.5px solid #825d20; background: transparent; color: #825d20; text-decoration: none; white-space: nowrap;
  font: 700 15px/1 'Nunito', system-ui, sans-serif;
  transition: background-color .382s cubic-bezier(.22,.61,.36,1);
}
footer.hhf a.hhf-btn::after { content: none; }
footer.hhf a.hhf-solid { background: #1a283d; border-color: #1a283d; color: #fff; }
footer.hhf a.hhf-btn:hover { background: rgba(130,93,32,.08); color: #825d20; }
footer.hhf a.hhf-solid:hover { background: #24344d; color: #fff; }

/* the four columns */
footer.hhf nav.hhf-nav {
  position: static; inset: auto; z-index: auto; transform: none; width: auto; height: auto; margin: 0; padding: 0;
  border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 34px; row-gap: 0; align-items: start; flex-wrap: nowrap;
}
footer.hhf details.hhf-col { min-width: 0; margin: 0; padding: 0; border: 0; background: none; }
footer.hhf details.hhf-col > summary { display: block; list-style: none; cursor: default; margin: 0; padding: 0; }
footer.hhf details.hhf-col > summary::-webkit-details-marker { display: none; }
footer.hhf details.hhf-col > summary::marker { content: none; }
footer.hhf h2.hhf-h {
  margin: 0 0 21px; padding: 0; border: 0; background: none; text-align: left;
  font: 700 11px/1.618 'Space Mono', ui-monospace, Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; color: #825d20;
}
footer.hhf h2.hhf-h::before, footer.hhf h2.hhf-h::after { content: none; }
footer.hhf ul.hhf-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
footer.hhf ul.hhf-list > li { margin: 0; padding: 0; list-style: none; }
footer.hhf ul.hhf-list > li::before, footer.hhf ul.hhf-list > li::marker { content: none; }
footer.hhf ul.hhf-list a {
  display: inline-flex; align-items: center; min-height: 34px; margin: 0; padding: 0; overflow-wrap: break-word;
  color: #4a566c; font: 400 15px/1.382 'Nunito', system-ui, sans-serif; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat;
  transition: color .382s cubic-bezier(.22,.61,.36,1), background-size .618s cubic-bezier(.16,1,.3,1);
}
footer.hhf ul.hhf-list a::after { content: none; }
footer.hhf ul.hhf-list a:hover, footer.hhf ul.hhf-list a:focus-visible { color: #825d20; background-size: 100% 1px; }
footer.hhf ul.hhf-list a[aria-current="page"] { color: #1a283d; font-weight: 700; }
footer.hhf ul.hhf-list a.hhf-ext::after { content: '\2197'; content: '\2197' / ''; margin-left: .3em; font-size: .8em; opacity: .7; }

/* hairline + legal band: every page keeps its own notices, word for word */
footer.hhf .hhf-rule { height: 1px; margin: 55px 0 34px; background: linear-gradient(90deg, #c9a24e, rgba(201,162,78,.35) 61.8%, rgba(201,162,78,.12)); }
footer.hhf .hhf-bottom { display: grid; gap: 13px; max-width: 61.8%; }
footer.hhf .hhf-bottom p { margin: 0; padding: 0; max-width: none; font: 400 13px/1.618 'Nunito', system-ui, sans-serif; color: #56627b; }
footer.hhf .hhf-bottom p a { color: #825d20; text-decoration: underline; text-underline-offset: 3px; }
footer.hhf .hhf-bottom p.hhf-copy { margin-top: 8px; }
footer.hhf a:focus-visible, footer.hhf summary:focus-visible { outline: 3px solid #876020; outline-offset: 3px; border-radius: 5px; }

@media (max-width: 1099px) {
  footer.hhf .hhf-top { grid-template-columns: minmax(0, 1fr); row-gap: 55px; }
  footer.hhf .hhf-brand { padding-right: 0; }
  footer.hhf .hhf-bottom { max-width: none; }
}
@media (max-width: 749px) {
  footer.hhf { padding: 55px 0 34px; }
  footer.hhf .hhf-top { row-gap: 34px; }
  footer.hhf nav.hhf-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; column-gap: 21px; }
}
@media (max-width: 429px) {
  footer.hhf nav.hhf-nav { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  footer.hhf details.hhf-col { border-top: 1px solid rgba(130,93,32,.18); }
  footer.hhf details.hhf-col:last-child { border-bottom: 1px solid rgba(130,93,32,.18); }
  footer.hhf.hhf-fold details.hhf-col > summary { display: flex; align-items: center; justify-content: space-between; min-height: 55px; cursor: pointer; }
  footer.hhf.hhf-fold details.hhf-col > summary::after {
    content: ''; width: 8px; height: 8px; margin-right: 5px; border: solid #825d20; border-width: 0 1.5px 1.5px 0;
    rotate: 45deg; translate: 0 -2px; transition: rotate .382s cubic-bezier(.16,1,.3,1);
  }
  footer.hhf.hhf-fold details.hhf-col[open] > summary::after { rotate: 225deg; translate: 0 2px; }
  footer.hhf.hhf-fold h2.hhf-h { margin: 0; }
  footer.hhf.hhf-fold ul.hhf-list { padding: 0 0 21px; }
  footer.hhf ul.hhf-list a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { footer.hhf ul.hhf-list a, footer.hhf summary::after, footer.hhf a.hhf-btn { transition: none; } }
@media print {
  footer.hhf { padding: 21px 0; background: none; border: 0; }
  footer.hhf .hhf-top, footer.hhf nav.hhf-nav { display: block; }
  footer.hhf .hhf-cta, footer.hhf .hhf-rule { display: none; }
  footer.hhf .hhf-bottom { max-width: none; }
}
