:root {
  --bg: #fbf8f3;
  --bg-elevated: #ffffff;
  --ink: #16202c;
  --ink-soft: #4a5667;
  --ink-muted: #7a8493;
  --rule: #e6e0d6;
  --accent: #2d6a4f;
  --accent-ink: #1b4332;
  --accent-soft: #d8e6dd;
  --max: 1120px;
  --narrow: 720px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22, 32, 44, 0.04), 0 8px 24px rgba(22, 32, 44, 0.05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 4.6vw + 1rem, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.6rem, 2.2vw + 1rem, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

a {
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.15s ease;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container.narrow { max-width: var(--narrow); }

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  border: 0;
}

.site-header nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.site-header nav a {
  color: var(--ink-soft);
  border: 0;
  font-size: 0.95rem;
}

.site-header nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.hero h1 {
  max-width: 18ch;
}

.lede {
  font-size: clamp(1.05rem, 0.6vw + 1rem, 1.25rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: 1.25rem;
}

.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 1.6rem;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.97rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cta:hover {
  background: var(--accent-ink);
  color: #fff;
  transform: translateY(-1px);
}

/* Pillars */
.pillars {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--rule);
}

.section-head {
  max-width: 38ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--accent-soft);
}

.card-index {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.card h3 { margin-bottom: 0.6rem; }

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0;
}

/* About */
.about {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--rule);
}

.about p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Contact */
.contact {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--bg) 0%, #f3ede2 100%);
}

.contact p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.contact-list li:last-child { border-bottom: 1px solid var(--rule); }

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

.contact-list a {
  font-size: 1.05rem;
  border: 0;
  color: var(--ink);
}

.contact-list a:hover { color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 540px) {
  .site-header nav a:nth-child(1) { display: none; }
  .footer-tag { display: none; }
  .contact-list li { grid-template-columns: 1fr; gap: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
