:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --text: #1d2125;
  --muted: #5b636b;
  --accent: #1f6f78;
  --border: #e3e3dd;
  --max: 960px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181b;
    --surface: #1d2125;
    --text: #e8eaec;
    --muted: #a3abb3;
    --accent: #5cc2cc;
    --border: #2c3237;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: .2rem 0 1rem; }
h2 { font-size: 1.8rem; margin: 0 0 1.5rem; }
h3 { font-size: 1.1rem; margin: 0 0 .3rem; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: .75rem 16px;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.nav .brand { color: var(--text); font-weight: 700; }

main section { max-width: var(--max); margin: 0 auto; padding: 3.5rem 16px; border-bottom: 1px solid var(--border); }
main section:last-child { border-bottom: 0; }

.hero { display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; padding-top: 4rem; }
.portrait { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 4px solid var(--surface); box-shadow: 0 4px 24px rgb(0 0 0 / .12); background: var(--border); }
.hero > div { flex: 1 1 320px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--muted); margin: 0; }
.lead { font-size: 1.15rem; color: var(--muted); }
.button { display: inline-block; padding: .6rem 1.2rem; border-radius: 999px; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 600; }

.intro { color: var(--muted); max-width: 60ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.2rem; border-left: 2px solid var(--border); }
.timeline li { position: relative; padding: 0 0 1.8rem 1rem; }
.timeline li::before { content: ""; position: absolute; left: -1.62rem; top: .35rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--accent); }
.timeline p { margin: .2rem 0 0; }
.when { display: block; font-size: .85rem; font-weight: 600; color: var(--accent); letter-spacing: .03em; }
.org { color: var(--muted); font-weight: 500; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: .8rem 0; border-bottom: 1px solid var(--border); }
.list li:last-child { border-bottom: 0; }
.list .org { display: block; }

.contact p { font-size: 1.15rem; margin: .3rem 0; }
.site-footer { text-align: center; color: var(--muted); font-size: .9rem; padding: 2rem 16px; }
