/* ============ TOKENS ============ */
/* Vanguard100 palette: deep pine green + warm ivory + burnished copper */
:root {
  --pine-900: #0c2a21;
  --pine-800: #11352a;
  --pine-700: #184436;
  --pine-600: #236a51;
  --pine-500: #2f8465;
  --ink: #10231c;
  --paper: #f4f1ea;
  --paper-2: #e8e3d7;
  --line: rgba(16, 35, 28, 0.12);
  --line-light: rgba(244, 241, 234, 0.18);
  --muted: #4b5a51;
  --muted-light: rgba(244, 241, 234, 0.72);
  --copper: #c0824e;
  --serif: 'Spectral', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--pine-900);
  letter-spacing: -0.01em;
}
.logo-mark {
  color: var(--copper);
  font-size: 15px;
  transform: translateY(-1px);
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color .2s;
}
.nav-links a:hover { color: var(--pine-600); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--pine-700);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--pine-900);
  border: 1px solid var(--pine-900);
  padding: 10px 18px;
  border-radius: 999px;
  transition: all .2s;
}
.nav-cta:hover {
  background: var(--pine-900);
  color: var(--paper);
}

/* ============ LOGO SPLASH (wordmark) ============ */
.logo-splash {
  background: var(--pine-900);
  padding: 72px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.splash-mark {
  color: var(--copper);
  font-size: 20px;
  letter-spacing: 0.6em;
  margin-bottom: 20px;
  padding-left: 0.6em;
}
.splash-word {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--paper);
  font-size: clamp(44px, 9vw, 112px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.splash-word span { color: var(--copper); }
.splash-tag {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ============ HERO ============ */
.hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 500;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--pine-900);
  margin-bottom: 32px;
  max-width: 1000px;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 44px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 100px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all .25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--pine-900);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--pine-700);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-light {
  background: var(--paper);
  color: var(--pine-900);
}
.btn-light:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.metric-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  color: var(--pine-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.metric-num small { font-size: 26px; color: var(--copper); }
.metric-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ============ PHILOSOPHY ============ */
.philosophy { padding: 120px 0; border-bottom: 1px solid var(--line); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}

.section-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.section-tag.light { color: var(--muted-light); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--pine-900);
}
.section-title.light { color: var(--paper); }

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 600px;
}

.pillars {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.pillars li {
  display: flex;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.pillars li:first-child { padding-top: 0; border-top: 0; }
.pillar-num {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--copper);
  line-height: 1.4;
}
.pillars h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--pine-900);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.pillars p { font-size: 15.5px; color: var(--muted); }

/* ============ SERVICES ============ */
.services {
  padding: 120px 0;
  background: var(--pine-900);
  color: var(--paper);
}
.services-head {
  max-width: 720px;
  margin-bottom: 72px;
}
.services-intro {
  font-size: 18px;
  color: var(--muted-light);
  margin-top: 24px;
  max-width: 540px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-light);
}
.service {
  padding: 48px 44px 48px 0;
  border-bottom: 1px solid var(--line-light);
  position: relative;
}
.service:nth-child(odd) {
  padding-right: 44px;
}
.service:nth-child(even) {
  padding-left: 44px;
  border-left: 1px solid var(--line-light);
}
.service:nth-last-child(-n+2) { border-bottom: 0; }

.service-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--copper);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 20px;
}
.service h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.service p {
  font-size: 15.5px;
  color: var(--muted-light);
  margin-bottom: 24px;
  max-width: 420px;
}
.service-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 4px;
  transition: border-color .2s;
}
.service-link:hover { border-color: var(--copper); color: var(--copper); }

/* ============ TESTIMONIAL ============ */
.testimonial {
  padding: 140px 0;
  background: var(--paper-2);
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.3;
  color: var(--pine-900);
  max-width: 920px;
  margin: 28px auto 40px;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.quote-attr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.attr-name {
  font-weight: 500;
  font-size: 15px;
  color: var(--pine-900);
}
.attr-co {
  font-size: 13px;
  color: var(--muted);
}

/* ============ CTA ============ */
.cta {
  padding: 140px 0;
  background: var(--pine-900);
  color: var(--paper);
  text-align: center;
}
.cta .section-title { margin-bottom: 24px; }
.cta-sub {
  font-size: 19px;
  color: var(--muted-light);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.55;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--pine-800);
  color: var(--muted-light);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
.footer-brand .logo { color: var(--paper); margin-bottom: 18px; }
.footer-brand .logo-mark { color: var(--copper); }
.footer-brand p { font-size: 14px; max-width: 280px; line-height: 1.6; }

.footer-col h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--paper);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted-light);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--copper); }
.addr {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13px;
  color: var(--muted-light);
}

/* ============ QUESTIONNAIRE ============ */
.q-section {
  padding: 100px 0 120px;
  background: var(--paper);
  min-height: calc(100vh - 240px);
}
.q-container { max-width: 760px; }

.q-title {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--pine-900);
  margin-bottom: 36px;
}

.nav-links a.active {
  color: var(--pine-700);
  font-weight: 500;
}
.nav-links a.active::after {
  width: 100%;
  background: var(--pine-700);
}

/* ===== Gate ===== */
.gate {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 48px 44px;
  max-width: 520px;
}
.gate-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gate-error {
  color: #a4262c;
  font-size: 14px;
  margin: -4px 0 4px;
}

/* ===== Form ===== */
.form-wrap { animation: fadeIn .4s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 600px;
}

.q-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 48px;
}
.q-legend {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--pine-900);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.q-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.q-row.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 0;
}
.q-row.two-up .q-field { margin-bottom: 24px; }

.field-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.req { color: #a4262c; font-weight: 600; }

.field-input {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.field-input::placeholder { color: #9aa3b5; }
.field-input:focus {
  border-color: var(--pine-700);
  box-shadow: 0 0 0 3px rgba(24, 68, 54, 0.1);
}
textarea.field-input {
  resize: vertical;
  min-height: 140px;
  font-family: var(--sans);
  line-height: 1.55;
  padding: 14px 16px;
}
.field-input { padding: 14px 16px; font-size: 16px; }
.q-field { margin-bottom: 32px; }
.q-fieldset { margin-bottom: 56px; }

.q-submit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}
.q-disclaimer {
  font-size: 13px;
  color: var(--muted);
}

/* Honeypot: hide from human visitors */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Thanks page */
.q-thanks { text-align: left; max-width: 620px; }
.q-thanks .btn { margin-top: 16px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .q-section { padding: 60px 0 80px; }
  .gate { padding: 32px 24px; }
  .q-row.two-up { grid-template-columns: 1fr; gap: 0; }
  .hero { padding: 80px 0 60px; }
  .hero-ctas { margin-bottom: 60px; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .philosophy, .services, .testimonial, .cta { padding: 80px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service { padding: 36px 0 !important; border-left: 0 !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-base { flex-direction: column; gap: 8px; }
  .logo-splash { padding: 56px 24px; }
}
@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .nav-cta { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
