/* ========================================
   SUMMIT POINT ADVISORY — Design Tokens
   Palette:
     --forest: #22392B  (dark sections, primary)
     --forest-soft: #2E4A38
     --ink:    #1E2420  (text on light backgrounds)
     --ink-soft: #5B6459
     --paper:  #F6F5F0  (warm light background)
     --gold:   #C9A227  (accent — buttons, highlights)
     --gold-deep: #A8871F
     --line:   #E3E0D5
   Type:
     Display — Zilla Slab (sturdy, grounded — fits "Summit")
     Body    — Inter
     Utility — IBM Plex Mono
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest: #22392B;
  --forest-soft: #2E4A38;
  --ink: #1E2420;
  --ink-soft: #5B6459;
  --paper: #F6F5F0;
  --gold: #C9A227;
  --gold-deep: #A8871F;
  --line: #E3E0D5;
  --card: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}

.on-forest, .on-forest h1, .on-forest h2, .on-forest h3 { color: #ffffff; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.on-forest .eyebrow { color: #E4CC7A; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ===== PEAK MOTIF (signature element — "Summit Point") ===== */
.peak-mark { width: 24px; height: 24px; flex-shrink: 0; }

.peak-bg { position: relative; overflow: hidden; }
.peak-bg::before {
  content: "";
  position: absolute;
  bottom: 0; right: -60px;
  width: 520px; height: 220px;
  background:
    linear-gradient(135deg, transparent 49%, rgba(201,162,39,0.10) 49.5%, rgba(201,162,39,0.10) 50%, transparent 50.5%),
    linear-gradient(45deg, transparent 49%, rgba(201,162,39,0.10) 49.5%, rgba(201,162,39,0.10) 50%, transparent 50.5%);
  background-size: 260px 220px;
  background-position: 0 0, 130px 0;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* ===== NAV ===== */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; position: relative; z-index: 50; }
.nav-logo { font-family: 'Zilla Slab', serif; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 0.92rem; font-weight: 500; }
.nav-links a { color: var(--ink-soft); transition: color 0.15s ease; }
.on-forest .nav-links a { color: #C9D2C4; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.on-forest .nav-links a:hover, .on-forest .nav-links a.active { color: #ffffff; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }
.on-forest .mobile-toggle span { background: #ffffff; }

.mobile-panel { display: none; flex-direction: column; gap: 18px; padding: 20px 0 28px 0; border-top: 1px solid var(--line); }
.on-forest .mobile-panel { border-top-color: rgba(255,255,255,0.15); }
.mobile-panel.open { display: flex; }
.mobile-panel a { font-size: 1rem; font-weight: 500; color: var(--ink); }
.on-forest .mobile-panel a { color: #ffffff; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 3px; font-weight: 700; font-size: 0.92rem; cursor: pointer; border: none; transition: transform 0.15s ease, background 0.15s ease; }
.btn-primary { background: var(--gold); color: #22392B; }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.on-forest .btn-ghost { color: #ffffff; border-color: rgba(255,255,255,0.3); }
.on-forest .btn-ghost:hover { border-color: #ffffff; }

section { padding: 90px 0; }
section.tight { padding: 56px 0; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: 2.15rem; margin-top: 10px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 14px; }
.on-forest .section-head p { color: #C9D2C4; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 30px; }

footer { border-top: 1px solid var(--line); padding: 48px 0; margin-top: 40px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 28px; font-size: 0.88rem; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-family: 'IBM Plex Mono', monospace; font-size: 0.74rem; color: var(--ink-soft); }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  #navCta { display: none; }
  .section-head h2 { font-size: 1.6rem; }
  section { padding: 56px 0; }
  .peak-bg::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
