/* THE SOLO TRAIL — shared design tokens, reset, nav, footer.
   Every page loads this first, then a page-type stylesheet on top. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { min-width: 0; font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.7; }

:root {
  --forest: #1A3A2A; --forest-light: #2A5240; --forest-pale: #E8F0EB;
  --glacier: #4A8FA8; --glacier-light: #EBF4F8;
  --amber: #D4882A; --amber-light: #FDF3E3;
  --bg: #F7F4EE; --white: #FFFFFF;
  --text: #1C1C1C; --text-mid: #4A4A4A; --text-muted: #7A7A7A; --border: #DDD8CE;
  --danger: #C0392B; --danger-light: #FDEDEC;
}

/* — ACCESSIBILITY — */
.skip-link { position: absolute; top: -100px; left: 8px; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; z-index: 1000; transition: top .15s; }
.skip-link:focus { top: 8px; }
#main-content:focus { outline: none; }

/* — NAV — */
nav { background: var(--forest); padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 56px; position: sticky; top: 0; z-index: 100; }
.nav-logo { font-family: 'Playfair Display', serif; color: #fff; font-size: 18px; text-decoration: none; flex-shrink: 0; }
.nav-logo span { color: #7EC8A0; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 13px; font-weight: 500; white-space: nowrap; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { background: var(--glacier) !important; color: #fff !important; padding: 7px 16px; border-radius: 6px; font-size: 13px !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px 4px; flex-shrink: 0; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.85); border-radius: 2px; }

/* — FOOTER — */
.site-footer { background: #0F2318; padding: 40px 24px 28px; }
.footer-inner { max-width: 1040px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-brand .footer-logo { font-family: 'Playfair Display', serif; color: #fff; font-size: 18px; text-decoration: none; display: block; margin-bottom: 6px; }
.footer-brand .footer-logo span { color: #7EC8A0; }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,.4); max-width: 220px; line-height: 1.6; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-email { font-size: 12px; color: rgba(255,255,255,.4); text-decoration: none; }
.footer-email:hover { color: rgba(255,255,255,.7); }
.footer-logo-solo { font-family: 'Playfair Display', serif; color: #fff; font-size: 16px; text-decoration: none; }
.footer-logo-solo span { color: #7EC8A0; }

@media (max-width: 640px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--forest); flex-direction: column; padding: 12px 16px 20px; gap: 2px; border-top: 1px solid rgba(255,255,255,.1); z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.07); width: 100%; }
  .nav-links .nav-cta { margin-top: 8px; text-align: center; padding: 11px; border-radius: 7px; }
  .nav-hamburger { display: flex; }
  .footer-links { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
