:root {
  --bg: #F8F6F0;
  --fg: #1A1A1A;
  --fg-muted: #6B6B6B;
  --accent: #1B4332;
  --accent-light: #2D6A4F;
  --gold: #C8A96E;
  --gold-light: #E8D5A8;
  --border: #E0DDD5;
  --card-bg: #FFFFFF;
  --section-pad: clamp(60px, 8vw, 100px);
  --radius: 4px;
  --radius-lg: 8px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(24px, 5vw, 60px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* ── Hero ── */
.hero {
  padding: var(--section-pad) clamp(24px, 5vw, 60px);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}
.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-num {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.meta-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); }
.meta-divider { width: 1px; height: 32px; background: var(--border); }

/* Founder card */
.founder-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.founder-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.founder-info { padding: 20px; }
.founder-name { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.founder-title { font-size: 0.8rem; color: var(--accent); font-weight: 500; margin-bottom: 4px; }
.founder-role { font-size: 0.75rem; color: var(--fg-muted); }
.hero-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--fg-muted);
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--gold);
}

/* Ticker */
.hero-ticker {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0 0;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  overflow-x: auto;
}
.ticker-item { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; color: var(--fg-muted); white-space: nowrap; }
.ticker-sep { color: var(--gold); font-size: 0.5rem; flex-shrink: 0; }

/* ── Sections ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ── Pillars ── */
.pillars { padding: var(--section-pad) clamp(24px, 5vw, 60px); background: var(--card-bg); }
.pillars-header { max-width: 700px; margin-bottom: 48px; }
.pillars-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
}
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.pillar-card {
  padding: 36px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: background 0.2s;
}
.pillar-card:hover { background: var(--card-bg); }
.pillar-icon { color: var(--accent); margin-bottom: 20px; }
.pillar-name { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; }
.pillar-desc { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* ── Products ── */
.products { padding: var(--section-pad) clamp(24px, 5vw, 60px); }
.products-header { max-width: 640px; margin-bottom: 48px; }
.products-title { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.products-sub { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.65; }
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.product-card { padding: 36px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card-bg); position: relative; overflow: hidden; }
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.product-vitalis::before { background: #2D6A4F; }
.product-money::before { background: #8B6914; }
.product-flood::before { background: #1B4B76; }
.product-gaps::before { background: #5A3E8B; }
.product-badge { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.product-name { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.product-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.65; margin-bottom: 20px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 0.7rem; padding: 4px 10px; border: 1px solid var(--border); border-radius: 100px; color: var(--fg-muted); }

/* ── Research ── */
.research { padding: var(--section-pad) clamp(24px, 5vw, 60px); background: var(--accent); color: #fff; }
.research-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; }
.research-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.research-title { font-family: 'Fraunces', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.1; margin-bottom: 20px; color: #fff; }
.research-body { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 28px; }
.equation-block { font-family: 'Fraunces', serif; font-size: 1.1rem; font-style: italic; color: var(--gold-light); margin-bottom: 28px; display: flex; gap: 16px; align-items: center; }
.eq-divider { color: rgba(255,255,255,0.3); }
.research-cta { color: var(--gold-light); font-size: 0.9rem; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.research-cta:hover { gap: 10px; }
.stokes-card { display: flex; gap: 20px; align-items: center; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
.stokes-portrait { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; filter: grayscale(100%); }
.stokes-name { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.stokes-dates { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.stokes-role { font-size: 0.75rem; color: rgba(255,255,255,0.65); }
.research-stats { display: flex; gap: 24px; }
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold-light); }
.stat-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.45); }

/* ── Compliance ── */
.compliance { padding: 40px clamp(24px, 5vw, 60px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.compliance-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 16px; }
.compliance-badges { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
.badge { font-size: 0.78rem; font-weight: 500; color: var(--fg); }
.badge-sep { color: var(--border); }

/* ── Closing ── */
.closing { padding: var(--section-pad) clamp(24px, 5vw, 60px); }
.closing-inner { max-width: 700px; }
.closing-headline { font-family: 'Fraunces', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.closing-sub { font-size: 1rem; color: var(--fg-muted); margin-bottom: 36px; }
.closing-links { display: flex; gap: 24px; align-items: center; }
.closing-link { color: var(--accent); font-weight: 600; font-size: 0.95rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.closing-link:hover { gap: 10px; }
.closing-link.secondary { color: var(--fg-muted); font-weight: 400; }
.closing-link.secondary:hover { color: var(--fg); }

/* ── Footer ── */
.site-footer { padding: 28px clamp(24px, 5vw, 60px); border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 500; flex-wrap: wrap; gap: 6px; color: var(--fg-muted); }
.footer-reg { font-size: 0.75rem; color: var(--fg-muted); font-weight: 400; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: var(--fg-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--fg); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner, .pillars-grid, .products-grid, .research-inner { grid-template-columns: 1fr; }
  .hero-right { order: -1; }
  .nav-links { display: none; }
  .research { background: var(--accent); }
  .closing-links { flex-direction: column; align-items: flex-start; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .research-stats { flex-wrap: wrap; }
}