/* Shared public navigation contract; content and commerce styles remain local. */
.site-header{position:sticky;top:0;z-index:40;background:var(--bg);color:var(--text)}
.site-header .site-nav{position:relative;width:min(1200px,calc(100% - 48px));min-height:86px;margin:auto;display:flex;align-items:center;gap:20px}
.site-header .site-logo-wordmark{display:inline-flex;align-items:center;flex-shrink:0}
.site-header .site-logo-wordmark>img{display:block;width:220px;height:58px;object-fit:contain;background:transparent;padding:0;border:0}
.site-header .site-links{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;margin-left:auto}
.site-header .site-links>a,.site-header .mega-trigger{font:600 13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:44px;padding:12px 10px;text-decoration:none;white-space:nowrap;color:var(--text)}
.site-header .site-links .site-contact{background:#edcb73;color:#16170f;border:1px solid #edcb73;border-radius:8px;margin-left:4px;padding:12px 16px}
.site-header .site-links .website-login{border:1px solid var(--gold);border-radius:8px;padding:10px}
.site-header .site-theme,.site-header .site-menu{width:44px;height:44px;flex-shrink:0;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--bg);color:var(--text)}
.site-header .site-theme{display:grid}.site-header .site-menu{display:none}
.site-header .site-theme svg,.site-header .site-menu svg{width:20px;height:20px}
.site-header .mega-trigger{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}
.site-header .mega-trigger::-webkit-details-marker{display:none}
.site-header .mega-panel{position:absolute;top:100%;left:0;transform:none;width:100%;max-height:calc(100dvh - 120px);overflow:auto;display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:24px;padding:24px;border:1px solid var(--line);border-top:2px solid #edcb73;border-radius:0 0 12px 12px;background:var(--bg);color:var(--text);box-shadow:0 20px 40px #0004}
.site-header .mega-intro{padding:20px;background:var(--panel);border-radius:8px}
.site-header .mega-intro h2{font:600 26px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.02em;margin:0 0 16px;color:var(--text)}
.site-header .mega-intro p{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 16px}
.site-header .mega-column{display:flex;flex-direction:column;gap:4px;padding:0}
.site-header .mega-column a,.site-header .mega-feature{display:flex;align-items:center;min-height:44px;padding:8px;text-decoration:none;font-size:14px;color:var(--text);white-space:normal}
.site-header .mega-column a:hover{background:var(--panel);color:var(--gold)}
.site-header a:focus-visible,.site-header summary:focus-visible,.site-footer a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.site-footer{padding:48px 0 28px;background:var(--panel);color:var(--text);border-top:1px solid var(--line)}
.site-footer>.wrap{width:min(1200px,calc(100% - 48px));margin:auto}
.site-footer .footer-top{display:grid;grid-template-columns:300px 1fr;gap:48px}
.site-footer .footer-top>div>p{font-size:15px;line-height:1.6;color:var(--muted);margin:18px 0}
.site-footer nav.footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 20px;align-content:start}
.site-footer .footer-links a{display:flex;align-items:center;min-height:44px;font-size:14px;text-decoration:none;color:var(--text)}
.site-footer .footer-wordmark{display:inline-flex;align-items:center;justify-content:center;width:250px;max-width:100%;min-height:88px;padding:5px 8px;border:1px solid #edcb7359;border-radius:10px;background:#101110}
.site-footer .footer-wordmark img{width:234px;height:78px;max-width:100%;object-fit:contain;padding:0;border:0;background:transparent}
.site-footer .footer-bottom{border-top:1px solid var(--line);padding-top:20px;margin-top:28px}
.site-footer .footer-bottom p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
@media(max-width:1279px){
.site-header .site-nav{min-height:76px;gap:12px}
.site-header .site-logo-wordmark>img{width:190px;height:48px}
.site-header .site-menu{display:grid;margin-left:auto}
.site-header .site-links{display:none;position:absolute;top:100%;left:0;right:0;z-index:45;margin:0;padding:12px 18px 24px;max-height:calc(100dvh - 90px);overflow:auto;background:var(--bg);border:1px solid var(--line);border-radius:0 0 12px 12px}
.site-header .site-links.open{display:flex;flex-direction:column;align-items:stretch;gap:0}
.site-header .site-links>a{min-height:48px;padding:14px 8px}
.site-header .site-links .site-contact{margin:12px 0 0;justify-content:center}
.site-header .mega-trigger{justify-content:space-between;min-height:48px}
.site-header .mega-panel{position:static;grid-template-columns:1fr 1fr;width:100%;max-height:none;transform:none;margin:8px 0;padding:16px;box-shadow:none}
.site-header .mega-intro{grid-column:1/-1}
}
@media(max-width:850px){.site-footer .footer-top{grid-template-columns:1fr;gap:24px}}
@media(max-width:540px){
.site-header .site-nav,.site-footer>.wrap{width:calc(100% - 32px)}
.site-header .site-logo-wordmark>img{width:160px;height:44px}
.site-header .mega-panel{grid-template-columns:1fr;padding:12px;gap:12px}
.site-header .mega-intro{grid-column:auto}
.site-footer nav.footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}
}
