/* Apply Panacea shared base: tokens, reset, nav, footer. Used by pages generated with scripts/build-site.js. */
:root {
  --navy: #1B2E4B; --navy-deep: #111f33; --navy-mid: #243d60;
  --gold: #E8951A; --gold-light: #f0a832;
  --cream: #F7F4EE; --cream-dark: #ede9e0; --white: #ffffff;
  --text-dark: #1a1a1a; --text-mid: #4a4a4a; --text-muted: #6f6f6f;
  --rule: rgba(27,46,75,0.1); --rule-light: rgba(255,255,255,0.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text-dark); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 40px; background: rgba(247,244,238,0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--navy); }
.nav-cta-btn {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); background: var(--navy); text-decoration: none;
  padding: 10px 22px; transition: background 0.2s; white-space: nowrap;
}
.nav-cta-btn:hover { background: var(--navy-mid); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { width: 22px; height: 1.5px; background: var(--navy); display: block; }
.mobile-menu {
  display: none; position: fixed; top: 65px; left: 0; right: 0; z-index: 99;
  background: var(--cream); border-bottom: 1px solid var(--rule);
  flex-direction: column; padding: 20px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 13px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.mobile-menu a:last-child { border-bottom: none; color: #955600; font-weight: 500; }

footer { background: var(--navy-deep); padding: 52px 60px 28px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 48px; }
.footer-brand img { height: 40px; display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; font-weight: 300; color: rgba(247,244,238,0.72); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13px; font-weight: 300; color: rgba(247,244,238,0.74); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--rule-light); flex-wrap: wrap; gap: 12px; }
.footer-legal { font-size: 11px; font-weight: 300; color: rgba(247,244,238,0.66); letter-spacing: 0.04em; }
.footer-links-bottom { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links-bottom a { font-size: 11px; font-weight: 300; color: rgba(247,244,238,0.68); text-decoration: none; }
.footer-links-bottom a:hover { color: var(--gold); }

@media (max-width: 1100px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  footer { padding: 40px 24px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links-bottom { justify-content: center; }
}
@media (max-width: 600px) {
  nav { padding: 12px 20px; }
  .nav-logo img { height: 30px; }
  .nav-cta-btn { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 36px 20px 20px; }
  .footer-brand p { max-width: 100%; }
}
