/* Proper Business — shared styles for every page.
Page-specific components live in each page's own <style> block. */

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

:root {
  --ink: #1a1814;
  --paper: #f5f0e8;
  --accent: #2d5a3d;
  --accent-light: #e8f0eb;
  --rule: #c8bfaa;
  --muted: #6b6358;
  --serif: 'Playfair Display', Georgia, serif;
  --mono: 'DM Mono', monospace;
  --sans: 'DM Sans', sans-serif;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 50px;
}

body {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 40px 80px;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
  radial-gradient(ellipse at 20% 0%, rgba(45,90,61,0.06) 0%, transparent 60%),
  radial-gradient(ellipse at 80% 100%, rgba(45,90,61,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

* { position: relative; z-index: 1; }

.sitenav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  margin: 0 -40px 48px;
  padding: 10px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: center;
}

.sitenav a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  padding-bottom: 1px;
}

.sitenav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.sitenav a.active { color: var(--accent); border-bottom-color: var(--accent); }

.sitenav-divider {
  width: 1px;
  height: 12px;
  background: var(--rule);
  flex-shrink: 0;
}

header {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0 20px;
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}

.wordmark {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.issue {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero { margin-bottom: 48px; }

h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}

/* index.html opts into a larger hero */
body.home h1 {
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.1;
}

h1 em { font-style: italic; color: var(--accent); }

.lede {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  max-width: 560px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-left: -23px;
}

.rule { border: none; border-top: 1px solid var(--rule); margin: 40px 0; }

p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 20px;
  font-weight: 300;
}

p strong { font-weight: 500; color: var(--ink); }

p a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

h2 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  margin-top: 40px;
}

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 3px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-left {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-transform: uppercase;
}

.footer-right {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.8;
}

.footer-right a {
  color: var(--muted);
  text-decoration: none;
}

.footer-right a:hover { color: var(--accent); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

header, .hero, section { animation: fadeUp 0.6s ease both; }

header { animation-delay: 0.1s; }

.hero { animation-delay: 0.2s; }

section:nth-of-type(1) { animation-delay: 0.3s; }

section:nth-of-type(2) { animation-delay: 0.4s; }
section:nth-of-type(3) { animation-delay: 0.5s; }
section:nth-of-type(4) { animation-delay: 0.6s; }
section:nth-of-type(5) { animation-delay: 0.7s; }
section:nth-of-type(6) { animation-delay: 0.8s; }

/* Pull quote and bulleted lists (index, investors) */
.pull {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
  margin: 40px 0;
}

ul { list-style: none; margin: 0 0 20px; padding: 0; }

ul li {
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.65;
  padding: 6px 0 6px 20px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  position: relative;
}

ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 13px;
}

/* Card grid — a hairline grid of labelled cards (funding, contact) */
.cardgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 28px 0;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.cardgrid-3 { grid-template-columns: 1fr 1fr 1fr; }

.card {
  background: var(--paper);
  padding: 20px 24px;
}

.card-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

@media (max-width: 560px) {
  body { padding: 40px 24px 60px; }
  footer { flex-direction: column; }
  .footer-right { text-align: left; }
  .lede { margin-left: 0; }
  .sitenav { margin: 0 -24px 40px; padding: 10px 24px; }
  .cardgrid, .cardgrid-3 { grid-template-columns: 1fr; }
}

@media print {
  body::before, body::after { display: none; }
  * { animation: none !important; }
  .sitenav { display: none; }
}
