/* === TOKENS === */
:root {
  --bg: #F5F1EA;
  --bg-alt: #EAE4D9;
  --fg: #1C1A17;
  --fg-muted: #5C5750;
  --accent: #0D7377;
  --accent-warm: #C4622D;
  --sand: #D4BF94;
  --navy: #0F1C2E;
  --white: #FDFAF5;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
}

/* === TYPOGRAPHY === */
h1, h2, h3, .hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(13,115,119,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 90% 100%, rgba(196,98,45,0.12) 0%, transparent 60%),
    linear-gradient(160deg, #0F1C2E 0%, #1A2E42 50%, #0F1C2E 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 4rem 6rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.6;
  margin-bottom: 2.5rem;
}

.hero-title {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.hero-title-line { display: block; }

.hero-title-italic {
  font-style: italic;
  font-weight: 300;
  color: var(--sand);
}

.hero-lede {
  font-size: 1.1rem;
  color: rgba(253,250,245,0.7);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(212,191,148,0.2);
  padding-top: 2.5rem;
  max-width: 600px;
}

.stat {
  flex: 1;
  padding-right: 2rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(212,191,148,0.25);
  flex-shrink: 0;
  margin-right: 2rem;
}

.stat-number {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--sand);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(253,250,245,0.45);
  line-height: 1.4;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--navy);
  border-top: 1px solid rgba(212,191,148,0.1);
}

.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 4rem;
}

.manifesto-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  line-height: 1.4;
  max-width: 860px;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
  border-left: 2px solid var(--sand);
}

.manifesto-body {
  font-size: 1rem;
  color: rgba(253,250,245,0.55);
  max-width: 680px;
  line-height: 1.8;
  margin-left: 2rem;
}

/* === SERVICES === */
.services {
  background: var(--bg);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 4rem;
}

.services-header {
  margin-bottom: 4rem;
}

.services-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--sand);
  border: 1px solid var(--sand);
}

.service-card {
  background: var(--bg);
  padding: 3rem 2.5rem;
}

.service-num {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.service-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === GEOGRAPHY === */
.geography {
  background: var(--bg-alt);
  border-top: 1px solid rgba(212,191,148,0.2);
}

.geo-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 4rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: start;
}

.geo-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.geo-body {
  font-size: 0.97rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 560px;
}

.geo-facts { display: flex; flex-direction: column; gap: 2rem; }

.geo-fact {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.geo-fact-icon {
  font-size: 0.65rem;
  color: var(--accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.geo-fact-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.geo-fact-body {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.geo-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 2rem;
}

.geo-card {
  background: var(--navy);
  color: var(--white);
  padding: 1.75rem 1.75rem;
  border-radius: 2px;
}

.geo-card-2 { transform: translateX(12px); }
.geo-card-3 { transform: translateX(24px); }

.geo-card-kicker {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.geo-card-value {
  font-size: 0.78rem;
  color: rgba(253,250,245,0.5);
  margin-bottom: 0.2rem;
}

.geo-card-amount {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.geo-card-note {
  font-size: 0.75rem;
  color: rgba(253,250,245,0.4);
}

/* === PROCESS === */
.process {
  background: var(--bg);
  border-top: 1px solid rgba(212,191,148,0.3);
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 4rem;
}

.process-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.step {
  position: relative;
  padding-right: 2.5rem;
}

.step-connector {
  position: absolute;
  top: 0.8rem;
  right: 0;
  width: calc(100% - 1.5rem);
  height: 1px;
  background: var(--sand);
}

.step:last-child .step-connector { display: none; }

.step-num {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}

.step-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === CLOSING === */
.closing {
  background: var(--navy);
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 4rem;
}

.closing-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 2.5rem;
}

.closing-body {
  font-size: 1rem;
  color: rgba(253,250,245,0.55);
  max-width: 560px;
  line-height: 1.8;
}

/* === FOOTER === */
.footer {
  background: #0A1520;
  border-top: 1px solid rgba(212,191,148,0.1);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(253,250,245,0.35);
}

.footer-meta {
  font-size: 0.78rem;
  color: rgba(253,250,245,0.25);
  text-align: right;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner, .manifesto-inner, .services-inner, .geo-inner, .process-inner, .closing-inner, .footer-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-title { font-size: clamp(2.4rem, 9vw, 4rem); }

  .services-grid { grid-template-columns: 1fr; }

  .geo-inner { grid-template-columns: 1fr; }
  .geo-card-stack { position: static; flex-direction: row; overflow-x: auto; }
  .geo-card { min-width: 240px; transform: none !important; }

  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
  .step-connector { display: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }

  .hero-stats { flex-wrap: wrap; }
  .stat { min-width: 140px; }
  .stat-divider { display: none; }
}

@media (max-width: 480px) {
  .hero-inner, .manifesto-inner, .services-inner, .geo-inner, .process-inner, .closing-inner, .footer-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-title { font-size: 2.2rem; }
  .manifesto-quote { font-size: 1.2rem; padding-left: 1rem; }
  .manifesto-body { margin-left: 1rem; }
  .process-steps { grid-template-columns: 1fr; }
  .closing-title { font-size: 1.8rem; }
}