:root {
  color-scheme: light dark;
  --bg: #f6f3ee;
  --surface: #fffdf9;
  --fg: #1b1a17;
  --muted: #5e5850;
  --rule: #e1dbd1;
  --accent: #b5502a;
  --accent-soft: #ecd3c4;
  --sage: #8d9b86;
  --sky: #c9d4dc;
  --sand: #e6d6bc;
  --ink: #1b1a17;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12110f;
    --surface: #1b1a17;
    --fg: #f1ede6;
    --muted: #a69f94;
    --rule: #2f2b26;
    --accent: #e57a4f;
    --accent-soft: #4a2c20;
    --sage: #6f7d69;
    --sky: #34414b;
    --sand: #4a3f2f;
    --ink: #f1ede6;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 480px) { .container { padding: 0 1rem; } }

.serif { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; font-size: 1.125rem; }
.brand svg { width: 1.75rem; height: 1.75rem; }
.nav { display: flex; gap: 1.75rem; font-size: 0.9375rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
@media (max-width: 480px) { .nav { gap: 1.125rem; } .nav .hide-sm { display: none; } }

/* Hero */
.hero { padding: 5.5rem 0 4.5rem; }
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.eyebrow { margin: 0 0 1.25rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.hero h1 { margin: 0 0 1.5rem; font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.025em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lede { margin: 0 0 2.25rem; max-width: 32rem; font-size: 1.1875rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8125rem 1.375rem; border-radius: 999px; font-size: 0.9375rem; font-weight: 600; text-decoration: none; border: 1px solid var(--fg); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-ghost { color: var(--fg); }
.hero-art { aspect-ratio: 1 / 1; width: 100%; max-width: 30rem; justify-self: end; }
@media (max-width: 860px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { justify-self: start; max-width: 22rem; }
}

/* Sections */
.section { padding: 5rem 0; border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; margin-bottom: 3rem; }
.section-head h2 { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.section-head p { margin: 0; color: var(--muted); max-width: 36rem; font-size: 1.0625rem; }
@media (max-width: 860px) { .section { padding: 3.5rem 0; } .section-head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 1.25rem; padding: 1.75rem; }
.card svg { width: 3rem; height: 3rem; margin-bottom: 1.5rem; }
.card h3 { margin: 0 0 0.5rem; font-size: 1.125rem; font-weight: 650; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 0.9875rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--rule); background: var(--surface); }
.feature-art { background: var(--accent-soft); min-height: 20rem; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.feature-art svg { width: 100%; max-width: 20rem; }
.feature-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.feature-body h3 { margin: 0 0 1rem; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
.feature-body p { margin: 0 0 1.5rem; color: var(--muted); }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4375rem 0.875rem; border: 1px solid var(--rule); border-radius: 999px; font-size: 0.875rem; font-weight: 500; }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature-art { min-height: 14rem; } .feature-body { padding: 2rem 1.5rem; } }

.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.principles li { padding: 1.5rem 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; }
.principles .num { font-size: 0.875rem; color: var(--accent); font-weight: 600; padding-top: 0.2rem; }
.principles h3 { margin: 0 0 0.375rem; font-size: 1.0625rem; font-weight: 650; }
.principles p { margin: 0; color: var(--muted); font-size: 0.9875rem; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

.cta { text-align: center; }
.cta h2 { margin: 0 0 1rem; font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.cta p { margin: 0 auto 2rem; max-width: 30rem; color: var(--muted); }
.cta .actions { justify-content: center; }

/* Contact page */
.page-head { padding: 5rem 0 3rem; }
.page-head h1 { margin: 0 0 1rem; font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.025em; }
.page-head p:not(.eyebrow) { margin: 0; max-width: 34rem; color: var(--muted); font-size: 1.1875rem; }
@media (max-width: 860px) { .page-head { padding: 3.5rem 0 2rem; } }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding-bottom: 5rem; }
.contact-grid .card h2 { margin: 0 0 0.75rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-grid .card .big { color: var(--fg); margin: 0 0 0.5rem; font-size: 1.1875rem; font-weight: 600; line-height: 1.4; word-break: break-word; }
.contact-grid .card .big a { text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
.contact-grid address { font-style: normal; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; padding-bottom: 3.5rem; } }

.topics { list-style: none; margin: 0; padding: 0; }
.topics li { display: flex; justify-content: space-between; gap: 1rem; padding: 1.125rem 0; border-top: 1px solid var(--rule); }
.topics li span:last-child { color: var(--muted); text-align: right; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 3rem 0; font-size: 0.9375rem; color: var(--muted); }
.site-footer .container { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.site-footer strong { color: var(--fg); display: block; margin-bottom: 0.5rem; }
.site-footer address { font-style: normal; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
.legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: 0.875rem; }
@media (max-width: 860px) { .site-footer .container { grid-template-columns: 1fr; } }
