/* Shared chrome. Scoped selectors override legacy page-local chrome rules. */
:root { --nav-height: 80px; }
html { scroll-padding-top: calc(var(--nav-height) + 20px); }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.site-header :is(a, button):focus-visible,
.consent-banner :is(a, button):focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.site-header { height: var(--nav-height); background: rgba(243,237,226,.98); border-bottom: 1px solid #d8d0c2; color: var(--ink); backdrop-filter: blur(12px); }
.site-header.is-scrolled { background: rgba(243,237,226,.98); }
.site-header nav { max-width: 1600px; padding: 0 clamp(24px, 5vw, 80px); gap: 36px; }
.site-header .logo-container { flex-shrink: 0; }
.site-header .logo-link { gap: 0; color: var(--ink); }
.site-header .brand-name { font-family: var(--serif); color: var(--ink); font-size: 30px; font-weight: 600; letter-spacing: .12em; line-height: 1; }
.site-header .nav-links { align-items: center; justify-content: center; gap: 30px; margin-left: auto; }
.site-header .nav-links a { color: var(--ink); font-size: 11px; letter-spacing: .09em; font-weight: 500; padding: 14px 0; display: inline-flex; text-decoration: none; text-transform: uppercase; }
.site-header .nav-links a:hover, .site-header .nav-links a[aria-current="page"] { color: #715b21; text-decoration: underline; text-underline-offset: 7px; }
.site-header .nav-actions { margin-left: 10px; gap: 22px; }
.site-header .cart-link { font-size: 10px; line-height: 1; letter-spacing: .1em; color: var(--ink); min-height: 44px; gap: 10px; }
.site-header .cart-link:hover { transform: none; color: #715b21; opacity: 1; }
.site-header .cart-icon { display: inline-flex; line-height: 1; }
.site-header .cart-icon svg, .site-header .cart-link > svg { width: 19px; height: 21px; }
.site-header .mobile-menu-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; gap: 5px; padding: 8px; }
.site-header .mobile-menu-toggle span:not(.sr-only) { background: var(--ink); width: 21px; height: 1px; }
.site-header .mobile-menu-toggle[aria-expanded="true"] span:nth-last-child(3) { transform: translateY(6px) rotate(45deg); }
.site-header .mobile-menu-toggle[aria-expanded="true"] span:nth-last-child(2) { opacity: 0; }
.site-header .mobile-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.skip-link { top: -100px; background: var(--ink); color: var(--bone); }

.site-footer { padding: 66px clamp(24px, 5vw, 80px) 30px; color: var(--bone); background: #10120f; text-align: left; border: 0; }
.site-footer .footer-content { max-width: 1440px; }
.site-footer .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.site-footer .footer-column { padding: 0; margin: 0; max-width: none; gap: 16px; }
.site-footer .footer-logo { width: 140px; height: 85px; object-fit: cover; margin: -12px 0 0 -13px; }
.site-footer .footer-tagline { font-size: 29px; font-weight: 500; line-height: 1.15; font-style: normal; color: var(--bone); }
.site-footer .footer-description { font-size: 12px; line-height: 1.9; max-width: 300px; opacity: 1; color: #bfbeb4; }
.site-footer .footer-heading { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .13em; color: #d3b968; margin-top: 2px; }
.site-footer .footer-links { gap: 2px; }
.site-footer .footer-links a { color: #d5d3c9; opacity: 1; font-size: 11px; padding: 9px 0; min-height: 36px; text-decoration: none; }
.site-footer .footer-links a:hover { color: white; text-decoration: underline; text-underline-offset: 5px; }
.site-footer .footer-meta { padding-top: 25px; align-items: center; border-top: 1px solid #393b32; }
.site-footer .copyright { font-size: 10px; color: #b9bbae; opacity: 1; }

.consent-banner { inset: auto 20px 20px auto; width: min(480px, calc(100% - 40px)); padding: 22px; background: #f7f3eb; color: var(--ink); border: 1px solid #c7bdab; border-radius: 0; display: block; box-shadow: 0 8px 35px #0002; }
.consent-banner[hidden] { display: none; }
.consent-banner .consent-title { color: var(--ink); font-size: 25px; margin-bottom: 8px; font-weight: 500; }
.consent-banner .consent-text { font-size: 11px; line-height: 1.75; }
.consent-banner .consent-text a { color: #705920; text-underline-offset: 3px; }
.consent-banner .consent-actions { justify-content: start; gap: 10px; margin-top: 18px; }
.consent-banner .consent-button { min-width: 0; min-height: 44px; padding: 10px 17px; font-size: 10px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--bone); letter-spacing: .07em; }
.consent-banner .consent-button.btn-secondary { color: var(--ink); background: transparent; }
.consent-banner .consent-button:hover { transform: none; box-shadow: none; background: #363930; color: white; }

@media (max-width: 1100px) {
    .site-header nav { padding-inline: 32px; gap: 24px; }
    .site-header .nav-links { gap: 20px; }
    .site-header .nav-actions { margin-left: 0; }
    .site-footer { padding-inline: 32px; }
    .site-footer .footer-grid { gap: 30px; }
}
@media (max-width: 850px) {
    :root { --nav-height: 68px; }
    .site-header nav { padding-inline: 24px; gap: 20px; }
    .site-header .brand-name { font-size: 27px; }
    .site-header .nav-actions { margin-left: auto; gap: 14px; }
    .site-header .mobile-menu-toggle { display: flex; }
    .site-header .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 24px 24px; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bone); border-top: 1px solid #d8d0c2; border-bottom: 1px solid #d8d0c2; box-shadow: 0 12px 20px #0001; max-height: calc(100svh - var(--nav-height)); overflow-y: auto; }
    .site-header .nav-links.active { display: flex; }
    .site-header .nav-links a { display: block; padding: 15px 0; font-size: 12px; }
    .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
}
@media (max-width: 480px) {
    :root { --nav-height: 64px; }
    .site-header nav { padding-inline: 20px; }
    .site-header .brand-name { font-size: 25px; }
    .site-header .nav-actions { gap: 10px; }
    .site-header .cart-link { font-size: 9px; gap: 7px; }
    .site-footer { padding: 50px 24px 28px; }
    .site-footer .footer-grid { gap: 34px 22px; }
    .site-footer .footer-column:first-child { grid-column: 1 / -1; }
    .site-footer .footer-meta { display: block; }
    .site-footer .footer-description { max-width: 290px; }
    .consent-banner { inset: auto 12px 12px; width: calc(100% - 24px); padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
