:root { --navigation-beige: #d4b995; }
.primary-navigation .nav-list a { position: relative; }
.primary-navigation .nav-list a::after {
    content: ''; position: absolute; inset-inline: 0; bottom: 12px; height: 2px;
    background: var(--navigation-beige); transform: scaleX(0); transform-origin: center;
    transition: transform .25s ease; pointer-events: none;
}
.primary-navigation .nav-list ul a::after { inset-inline: 18px; bottom: 4px; }
.primary-navigation .nav-list a:hover::after,
.primary-navigation .nav-list a:focus-visible::after,
.primary-navigation .nav-list .current-menu-item > a:not([href*="#"])::after,
.primary-navigation .nav-list .current_page_item > a:not([href*="#"])::after,
.primary-navigation .nav-list .current-menu-ancestor > a::after,
.primary-navigation .nav-list a[aria-current="page"]:not([href*="#"])::after,
.primary-navigation .nav-list a.is-current-section::after { transform: scaleX(1); }
/* Brand chrome remains identical on every page and in both appearances. */
.site-header, .site-footer--signature {
    --header: #2b241e;
    --surface: #342b24;
    --raised: #41362c;
    --heading: #f6eee4;
    --text: #e7ded3;
    --muted: #c3b4a3;
    --line: #d4b99533;
    --accent: #d4b995;
    --accent-deep: #c2a17a;
    --button: #544032;
    --button-line: #a68a68;
    --button-text: #fff;
    --navigation-beige: #d4b995;
}
.site-header { background: var(--header); color: var(--text); }
.site-header--home, .site-header--corporate { background: transparent; }
.site-header .topbar { background: #241e19; border-color: var(--line); }
.site-header--home .topbar, .site-header--corporate .topbar { background: transparent; }
.site-header .wordmark, .site-header .theme-toggle, .site-header .language-toggle { color: var(--heading); }
.site-header .nav-list a:hover, .site-header .nav-list a:focus-visible { color: #e1c5a3; }
.site-header .nav-list ul, .site-header .language-dropdown { background: var(--surface); color: var(--text); border-color: var(--line); }
.site-header .language-option:hover { background: var(--raised); color: var(--heading); }
.site-header .language-option.active { color: var(--accent); }
.site-header .primary-navigation { color: var(--text); }
.site-header .header-cta { background-color: var(--button); border-color: var(--button-line); color: var(--button-text); }
.site-header .header-cta:hover { background-color: #6c533f; color: #fff; }
@media(max-width:900px) { .site-header .primary-navigation { background: var(--header); border-color: var(--line); } }

/* Equal side columns keep the brand centered independently of link widths. */
.site-footer--signature { padding: 0; background: #2b241e; color: #e7ded3; border-top-color: #d4b99533; }
.footer-signature { display: grid; grid-template-columns: minmax(0,1fr) 240px minmax(0,1fr); align-items: center; gap: 28px; padding-block: 28px 24px; }
.footer-signature-links, .footer-legal-links { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; flex-wrap: wrap; }
.footer-signature-links { gap: 14px 28px; font-size: 11px; }
.footer-signature-links a { display: inline-block; padding-block: 8px; }
.footer-signature-brand { text-align: center; min-width: 0; }
.footer-signature-brand .wordmark { color: #f6eee4; }
.footer-signature-brand .wordmark > span { font-size: 34px; }
.footer-signature-brand .wordmark > small { font-size: 10px; }
.footer-signature-brand .custom-logo-link { display: inline-block; max-width: 205px; }
.footer-signature-brand .custom-logo { display: block; width: auto; max-width: 205px; max-height: 74px; height: auto; object-fit: contain; }
.footer-signature-brand p { margin: 10px 0 0; font-size: 11px; line-height: 1.6; }
.footer-signature-right { display: flex; align-items: center; justify-content: flex-end; gap: 26px; min-width: 0; }
.footer-navigation--right .footer-signature-links { justify-content: flex-end; }
.footer-social { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 36px; flex-shrink: 0; }
.footer-social svg { stroke-width: 1.6; }
.site-footer--signature a:hover { color: #d4b995; }
.footer-legal-bar { border-top: 1px solid #d4b99533; }
.footer-signature-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px 28px; padding-block: 15px; font-size: 9px; line-height: 1.7; }
.footer-copyright { flex: 1 1 auto; }
.footer-legal-links { justify-content: flex-end; gap: 6px 0; }
.footer-legal-links li + li { border-inline-start: 1px solid #bda78d66; margin-inline-start: 9px; padding-inline-start: 9px; }
.footer-legal-links a { display: inline-block; padding-block: 6px; }
.footer-agency { display: inline-flex; flex: 0 0 auto; align-items: center; padding: 3px 7px; border-radius: 2px; background: #fff; }
.footer-agency img { display: block; width: 112px; height: auto; }
@media (max-width: 1100px) {
    .footer-signature { grid-template-columns: minmax(0,1fr) 210px minmax(0,1fr); gap: 20px; }
    .footer-signature-links { gap: 8px 18px; }
    .footer-signature-right { gap: 14px; }
    .footer-signature-bottom { flex-wrap: wrap; }
}
@media (max-width: 900px) {
    .primary-navigation .nav-list a { display: inline-block; max-width: 100%; }
    .primary-navigation .nav-list a::after { bottom: 5px; }
    .primary-navigation .nav-list ul a::after { inset-inline: 0; }
    .footer-signature { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 15px 26px; padding-block: 26px; }
    .footer-signature-brand { grid-column: 1 / -1; grid-row: 1; margin-bottom: 5px; }
    .footer-signature-links { justify-content: center; }
    .footer-signature-right { justify-content: center; }
    .footer-navigation--right .footer-signature-links { justify-content: center; }
}
@media (max-width: 600px) {
    .footer-signature { grid-template-columns: minmax(0,1fr); gap: 13px; }
    .footer-signature-brand { grid-column: auto; }
    .footer-signature-links { gap: 6px 22px; }
    .footer-signature-right { gap: 18px; }
    .footer-signature-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 9px; padding-block: 18px; }
    .footer-legal-links { justify-content: center; }
    .footer-agency { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
    .primary-navigation .nav-list a::after { transition: none; }
}
