/* Shared V7 document chrome. Loaded last so every route has one header/footer. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.shell { width: min(calc(100% - 40px), 1180px); margin-inline: auto; }
.site-header { position: sticky; z-index: 1000; top: 0; min-height: 0; padding: 0; border-bottom: 1px solid transparent; background: rgba(255, 253, 248, .92); backdrop-filter: blur(18px); }
.site-header.is-scrolled { min-height: 0; border-color: rgba(23, 23, 20, .14); box-shadow: none; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-header .brand, .site-footer .brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #f6f0e6; background: #171714; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 700; }
.site-header .brand strong, .site-header .brand small, .site-footer .brand strong, .site-footer .brand small { display: block; }
.site-header .brand strong, .site-footer .brand strong { font-family: Georgia, serif; font-size: 1.18rem; letter-spacing: -.02em; }
.site-header .brand small, .site-footer .brand small { color: #716d65; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 25px; }
.primary-nav > a:not(.button) { font-size: .88rem; font-weight: 750; text-decoration: none; }
.primary-nav > a:not(.button):hover { color: #c9563f; }
.nav-toggle { display: none; width: 45px; height: 45px; padding: 10px; border: 1px solid rgba(23, 23, 20, .14); border-radius: 50%; background: #fffdf8; }
.nav-toggle span:not(.sr-only) { width: 100%; height: 2px; display: block; margin: 4px 0; background: #171714; }
.site-header .button { min-height: 44px; padding: 12px 18px; border: 1px solid #171714; border-radius: 999px; color: #fff; background: #171714; font-size: .84rem; font-weight: 850; line-height: 1; text-decoration: none; }
.site-footer { padding: 74px 0 30px; color: #f6f0e6; background: #171714; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 48px; }
.site-footer .brand-mark { color: #171714; background: #f6f0e6; }
.site-footer .brand small { color: rgba(255, 255, 255, .58); }
.footer-note { max-width: 430px; margin-top: 20px; color: rgba(255, 255, 255, .66); }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid > div:not(:first-child) > strong { margin-bottom: 8px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a { color: inherit; text-decoration: none; }
.footer-grid a:hover { color: #f0b29f; }
.footer-bottom { margin-top: 52px; padding-top: 24px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .58); font-size: .78rem; }
.footer-bottom p { max-width: 560px; margin: 0; }
.analytics-consent { position: fixed; z-index: 5000; right: 1.25rem; bottom: 1.25rem; left: 1.25rem; max-width: 780px; margin-inline: auto; padding: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: 1.25rem; color: #f6f0e6; background: #171714; box-shadow: 0 24px 80px rgba(0, 0, 0, .28); }
.analytics-consent strong { display: block; margin-bottom: .3rem; font-family: Georgia, serif; font-size: 1.2rem; }
.analytics-consent p { max-width: 520px; margin: 0; color: rgba(255, 255, 255, .7); font-size: .86rem; line-height: 1.5; }
.analytics-consent__actions { flex: 0 0 auto; display: flex; align-items: center; gap: .65rem; }
.analytics-consent button, .analytics-consent a { padding: .7rem 1rem; border: 0; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer; }
.analytics-consent button { color: #fff; background: #c9563f; }
.analytics-consent .analytics-consent__decline { color: #171714; background: #f6f0e6; }
.analytics-consent a { color: rgba(255, 255, 255, .76); }
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .primary-nav { position: absolute; top: calc(100% + 1px); right: 20px; left: 20px; padding: 22px; display: none; flex-direction: column; align-items: stretch; gap: 8px; border: 1px solid rgba(23, 23, 20, .14); border-radius: 20px; background: #fffdf8; box-shadow: 0 24px 80px rgba(36, 29, 20, .12); }
    .primary-nav.is-open { display: flex; }
    .primary-nav > a { padding: 10px; }
    .primary-nav .button { text-align: center; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .header-inner { min-height: 74px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .analytics-consent { align-items: stretch; flex-direction: column; }
    .analytics-consent__actions { flex-wrap: wrap; }
}
