.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,250,248,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); height: var(--header-h);
  display: flex; align-items: center; }
.header-inner { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px;
  display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--font-d); font-weight: 900; font-size: 18px; letter-spacing: .02em; }
.brand img { height: 34px; width: auto; }
.site-nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink);
  box-shadow: inset 0 -2px 0 0 var(--gold); }
.header-cta { margin-left: 8px; }
.site-nav a.header-cta { color: var(--ink); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px;
  cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto;
  transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; }
  .site-nav.open { position: absolute; top: var(--header-h); left: 0; right: 0;
    min-height: calc(100vh - var(--header-h)); max-height: calc(100vh - var(--header-h));
    overflow-y: auto; background: var(--paper);
    flex-direction: column; padding: 32px 24px; gap: 20px; display: flex; }
  .site-nav.open a { font-size: 22px; }
  .site-nav.open .header-cta { display: inline-flex; margin: 16px 0 0; justify-content: center; }
}
.site-footer { background: var(--green); color: rgba(250,250,248,.85); padding: 64px 0 32px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer a { color: rgba(250,250,248,.85); text-decoration: none; font-size: 14px; line-height: 2; }
.site-footer .muted { color: rgba(250,250,248,.85); }
.site-footer a:hover { color: #fff; box-shadow: inset 0 -2px 0 0 var(--gold); }
.footer-h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; }
.social-row { display: flex; gap: 14px; margin-top: 14px; }
.social-row a { display: inline-flex; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(250,250,248,.25); align-items: center; justify-content: center; }
.social-row svg { width: 18px; height: 18px; }
.footer-legal { border-top: 1px solid rgba(250,250,248,.15); margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  background: var(--ink); color: var(--paper); border-radius: var(--r-md);
  padding: 12px 16px; display: none; align-items: center; justify-content: space-between; gap: 12px; }
.sticky-cta a { color: var(--paper); font-weight: 600; text-decoration: none; }
@media (max-width: 860px) { .sticky-cta.show { display: flex; } }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .2s, transform .2s; box-shadow: 0 4px 14px rgba(22,21,19,.18); }
.to-top:hover { border-color: var(--gold-ink); color: var(--gold-ink); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .to-top { bottom: 84px; right: 12px; } } /* clear the sticky-cta band */
@media (prefers-reduced-motion: reduce) { .to-top, .to-top.show { transition: none; transform: none; } }

/* Uniform gap above the dark footer (spec S-1): 96px after dark bands, 128px
   after light surfaces (96px footer margin + 32px here). */
main > .section:last-child:not(.band-dark) { padding-bottom: 32px; }
main > .page-hero:last-child { padding-bottom: 32px; }
main > .wrap > .svc-section:last-child { padding-bottom: 32px; }
.article-cta:last-child { margin-bottom: 32px; }

.footer-brand-note { margin-top: 12px; max-width: 300px; }
.footer-loc { font-size: 13px; }

.site-nav a.header-cta[aria-current="page"] { box-shadow: none; }
