:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-alt: #ece9e1;
  --line: #dfdad0;
  --line-strong: #c9c2b4;
  --ink: #171a18;
  --muted: #5c635e;
  --accent: #244034;
  --accent-deep: #1a3026;
  --accent-soft: #e6eee9;
  --brass: #9a6d38;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 740px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 243, 238, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--accent-deep); }

/* Hero */
.hero {
  padding: 84px 0 64px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
}
.hero h1 {
  margin: 22px 0 0;
  max-width: 17ch;
  font-family: var(--serif);
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.hero-sub {
  margin: 20px 0 0;
  max-width: 600px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease;
}
.btn-primary:hover { background: var(--accent-deep); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.btn-secondary:hover { border-color: var(--ink); }

/* Pillars */
.section { padding: 68px 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.section-head h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 600;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 32px -20px rgba(23, 26, 24, 0.2);
}
.card-meta {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brass);
}
.card h3 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
}
.card p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
  flex: 1;
}
.card-link {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* Dark Band */
.dark-band {
  background: var(--ink);
  color: #f5f3ee;
  border-radius: 28px;
  padding: 56px 40px;
}
.dark-band h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  font-weight: 600;
}
.dark-band p {
  margin: 14px 0 0;
  max-width: 580px;
  color: rgba(245, 243, 238, 0.76);
  font-size: 15px;
}
.dark-band .btn-primary {
  background: #e6eee9;
  color: var(--ink);
}
.dark-band .btn-primary:hover { background: #ffffff; }

/* Article Layout */
.article-wrap { padding: 56px 0 80px; }
.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--ink); }
.article-header h1 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
  font-weight: 600;
}
.article-meta {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.prose {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.8;
  color: #272b28;
}
.prose h2 {
  margin: 38px 0 12px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.25;
  color: var(--ink);
}
.prose h3 {
  margin: 26px 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.callout {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}
.callout-title {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  font-size: 13px;
  color: var(--muted);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.disclosure {
  margin-top: 14px;
  font-size: 12px;
  color: #7c827d;
}

@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 44px; }
  .dark-band { padding: 36px 24px; }
  .nav { gap: 14px; }
  .nav-cta { display: none; }
}
