/* ========================================
   WELLSTONE BUSINESS PARTNERS — Design Tokens
   Palette:
     --stone:  #F2F1EC  (warm neutral background)
     --ink:    #1C1F1D  (near-black, primary text)
     --ink-soft: #5B5D54 (secondary text)
     --teal:   #2D5C52  (primary accent — stability, depth)
     --teal-deep: #1E3F38
     --copper: #C98A4B  (secondary accent, used sparingly)
     --line:   #DDD9CD  (hairline borders)
   Type:
     Display — Fraunces (organic serif, distinct personality)
     Body    — Inter
     Utility — IBM Plex Mono (labels, eyebrows)
   ======================================== */

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

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

:root {
  --stone: #F2F1EC;
  --ink: #1C1F1D;
  --ink-soft: #5B5D54;
  --teal: #2D5C52;
  --teal-deep: #1E3F38;
  --copper: #C98A4B;
  --line: #DDD9CD;
  --card: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  background: var(--stone);
  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: 'Fraunces', serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

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

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

/* ===== STRATA MOTIF (signature layered-band element, echoing "Wellstone") ===== */
.strata {
  position: relative;
  overflow: hidden;
}
.strata::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 32%, rgba(45,92,82,0.06) 32%, rgba(45,92,82,0.06) 34%, transparent 34%),
    linear-gradient(180deg, transparent 0%, transparent 58%, rgba(201,138,75,0.08) 58%, rgba(201,138,75,0.08) 60%, transparent 60%),
    linear-gradient(180deg, transparent 0%, transparent 78%, rgba(45,92,82,0.05) 78%, rgba(45,92,82,0.05) 81%, transparent 81%);
  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: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.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; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.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;
  transition: all 0.2s ease;
}

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

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

/* ===== SECTIONS ===== */
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; }

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

/* ===== FOOTER ===== */
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); }

/* ===== RESPONSIVE ===== */
@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; }
}

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

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