/* Shared site-wide header and footer — August 2026. */
body > nav.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  min-height: 88px;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid rgba(207, 165, 77, 0.14);
  backdrop-filter: blur(12px);
}
body > nav.site-header .nav-logo { display: block; flex: 0 0 auto; }
body > nav.site-header .nav-logo img { display: block; width: auto; height: 54px; max-height: 54px; }
body > nav.site-header .nav-links { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; list-style: none; }
body > nav.site-header .nav-links a { color: rgba(245,240,232,.78); font-family: 'Poppins', sans-serif; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
body > nav.site-header .nav-links a:hover { color: #cfa54d; }
body > nav.site-header .nav-links .nav-cta { padding: 12px 20px; border: 1px solid #cfa54d; background: #cfa54d; color: #050505 !important; }
body > nav.site-header .nav-links .nav-cta:hover { background: #dfbd70; border-color: #dfbd70; }
body > nav.site-header .nav-mobile-toggle { display: none; }

body > footer.site-footer { margin: 0; padding: 34px 32px 22px; background: #050505; color: #f5f0e8; border-top: 1px solid rgba(207,165,77,.16); font-family: 'Poppins', sans-serif; text-align: center; }
.site-footer-inner { width: min(980px, 100%); margin: 0 auto; }
.site-footer-top { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.site-footer-brand { display: flex; flex-direction: column; align-items: center; }
.site-footer-logo img { display: block; width: auto; height: 58px; }
.site-footer-heading { display: none; }
.site-footer-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.site-footer-list a { color: rgba(245,240,232,.68); font-size: 11px; letter-spacing: .08em; text-decoration: none; }
.site-footer-list a:hover { color: #cfa54d; }
.site-footer-social { gap: 16px; }
.site-footer-social a { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: rgba(207,165,77,.65); }
.site-footer-social a:hover { color: #cfa54d; }
.site-footer-social svg { display: block; width: 18px; height: 18px; fill: currentColor; }
.site-footer-email { margin: 8px 0 0; }
.site-footer-email a { color: rgba(245,240,232,.72); font-size: 10px; letter-spacing: .08em; text-decoration: none; }
.site-footer-substack { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 18px; padding: 16px 0; border-top: 1px solid rgba(207,165,77,.12); border-bottom: 1px solid rgba(207,165,77,.12); }
.site-footer-substack p { margin: 0; color: #f5f0e8; font-family: 'Trirong','Cormorant Garamond',serif; font-size: 16px; font-style: italic; line-height: 1.3; }
.site-footer-substack a { flex: 0 0 auto; color: #cfa54d; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.site-footer-bottom { display: flex; align-items: center; justify-content: center; gap: 26px; padding-top: 18px; }
.site-footer-os img { display: block; width: auto; height: 34px; }
.site-footer-legal { margin: 0; color: rgba(245,240,232,.3); font-size: 8px; letter-spacing: .08em; text-align: center; }

@media (max-width: 900px) {
  body > nav.site-header { min-height: 76px; padding: 12px 22px; }
  body > nav.site-header .nav-logo img { height: 46px; }
  body > nav.site-header .nav-mobile-toggle { display: flex; position: relative; z-index: 1002; flex-direction: column; gap: 5px; padding: 8px; border: 0; background: transparent; }
  body > nav.site-header .nav-mobile-toggle span { display: block; width: 22px; height: 1px; background: #cfa54d; }
  body > nav.site-header .nav-links { display: none; }
  body > nav.site-header .nav-links.open { display: flex; position: fixed; inset: 0; z-index: 1001; flex-direction: column; justify-content: center; gap: 28px; background: #050505; }
  body > nav.site-header .nav-links.open a { font-size: 13px; }
  body > footer.site-footer { padding: 30px 22px 20px; }
  .site-footer-list { gap: 8px 16px; }
  .site-footer-substack { gap: 12px; }
}

@media (max-width: 520px) {
  .site-footer-logo img { height: 50px; }
  .site-footer-list { gap: 8px 14px; }
  .site-footer-list a { font-size: 9px; }
  .site-footer-substack { flex-direction: column; gap: 8px; padding: 14px 0; }
  .site-footer-substack p { font-size: 14px; }
  .site-footer-bottom { flex-direction: column; gap: 10px; padding-top: 14px; }
  .site-footer-os img { height: 30px; }
}
