:root {
  --bg: #f6f3ec;
  --surface: #fffdf8;
  --ink: #1c2420;
  --muted: #5f6a64;
  --line: #ddd7ca;
  --accent: #2f5d50;
  --accent-soft: #e3ece7;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121614;
    --surface: #181d1a;
    --ink: #ebe8e0;
    --muted: #a2aaa5;
    --line: #2a312d;
    --accent: #8fc2ae;
    --accent-soft: #1f2b26;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 1.75rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; font: 600 1.05rem/1 var(--serif); letter-spacing: .02em; color: var(--ink); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: .95rem; margin-left: 1.5rem; }
.top nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 9vh 0 11vh; display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.eyebrow { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.25rem; }
h1 { font: 400 clamp(3rem, 8vw, 5.75rem)/1 var(--serif); letter-spacing: -.02em; margin: 0 0 1.5rem; }
h1 em { font-style: italic; color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 32rem; margin: 0; }
.mark { justify-self: center; width: min(100%, 320px); aspect-ratio: 1; }
.mark svg { width: 100%; height: 100%; }

/* Sections */
section { border-top: 1px solid var(--line); padding: 4.5rem 0; }
.cols { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
h2 { font: 400 1.9rem/1.2 var(--serif); margin: 0; }
.cols p { margin: 0 0 1rem; max-width: 40rem; }

.card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.75rem; text-decoration: none; color: var(--ink);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; }
.card .icon svg { width: 30px; height: 30px; }
.card h3 { font: 600 1.15rem/1.3 var(--sans); margin: 0 0 .2rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card .arrow { font-size: 1.4rem; color: var(--accent); }

.contact a { font: 400 1.6rem/1.3 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact a:hover { border-color: var(--accent); }

footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: .9rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 5vh 0 7vh; gap: 2rem; }
  .mark { order: -1; width: 140px; justify-self: start; }
  .cols { grid-template-columns: 1fr; gap: 1.25rem; }
  section { padding: 3rem 0; }
  .card { grid-template-columns: auto 1fr; }
  .card .arrow { display: none; }
  .top nav a { margin-left: 1rem; }
}

/* Focus areas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.area { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; }
.area .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 1rem; }
.area .icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.area h3 { font: 600 1.05rem/1.3 var(--sans); margin: 0 0 .35rem; }
.area p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr; } }
