/* Approved EMBRIS surfaces and compact footer. */
body, body.page-home { background: #090b10; }
.site-header { background: #11101a; border-bottom-color: #292535; }
.site-footer { background: #171522; border-top: 1px solid #343044; padding: 22px 0 14px; }
.site-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 24px; }
.site-footer .footer-wordmark { width: 112px; height: auto; }
.site-footer .brand--footer { margin-bottom: 6px; }
.site-footer .footer-grid > div:first-child p { font-size: .8125rem; color: #a6a1b5; }
.site-footer .footer-links { gap: 3px; font-size: .8125rem; line-height: 1.55; color: #b5afc3; }
.site-footer .footer-heading { margin: 0 0 5px; color: #e0dbea; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.site-footer .footer-links a:hover { color: #eeeaf8; }
.site-footer .newsletter-trigger { color: #bca4df; font-weight: 400; }
.site-footer .footer-bottom { margin-top: 16px; padding-top: 12px; border-top-color: #343044; color: #a6a1b5; font-size: .75rem; }
.site-footer a:focus-visible, .site-footer button:focus-visible { outline: 2px solid #c5a0ff; outline-offset: 4px; }
@media (max-width: 820px) {
 .site-header .primary-nav { background: #11101a; }
 .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
 .site-footer .footer-grid > div:first-child { grid-column: 1 / -1; }
 .site-footer .footer-links { font-size: .875rem; }
 .site-footer .footer-links a, .site-footer .newsletter-trigger { padding-block: 5px; }
}
@media (pointer: coarse) {
 .site-footer .footer-links a, .site-footer .newsletter-trigger { min-height: 44px; display: flex; align-items: center; }
}

/* Keep the footer at the viewport bottom on short pages, in flow on long pages.
   border-box includes the existing fixed-header padding in the minimum height. */
html { min-height: 100%; }
body { box-sizing: border-box; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; min-width: 0; }
body > .site-footer { flex: 0 0 auto; width: 100%; margin-bottom: 0; }
