:root {
  --bg: #ffffff;
  --bg-raised: #f3f8f5;
  --text: #121815;
  --text-dim: #5c6a63;
  --accent: #0f7a54;
  --accent-bright: #16a06b;
  --accent-dim: rgba(15, 122, 84, 0.14);
  --border: rgba(18, 24, 21, 0.1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--text);
}

.wordmark span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-links button.link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.15s ease;
}

.nav-links button.link-btn:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* Hero (home) */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: calc(88vh - var(--nav-h));
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 640px;
  height: 640px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 68%);
  filter: blur(10px);
  opacity: 0.8;
  pointer-events: none;
}

.hero-graphic {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 200px;
  color: var(--accent);
  opacity: 0.16;
  pointer-events: none;
}

.hero-graphic svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  max-width: 460px;
}

.role {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 6vw, 2.6rem);
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  color: var(--text-dim);
  font-size: 1.05rem;
}

.pillars {
  margin: 30px 0 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.pillar {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--text-dim);
}

.pillar svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: none;
  color: var(--text);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-text {
  border: none;
  padding: 12px 4px;
  color: var(--text-dim);
}

.btn-text:hover { color: var(--accent); background: none; }

/* Page layout (about / timeline / books) */

.page {
  padding: 72px 0 100px;
}

.page-kicker {
  display: block;
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.page-title {
  margin: 0 0 40px;
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  letter-spacing: -0.02em;
}

.prose p {
  color: var(--text-dim);
  font-size: 1.04rem;
  margin: 0 0 20px;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.pull {
  margin: 40px 0;
  padding: 30px 28px 26px;
  background: var(--bg-raised);
  border-radius: 14px;
  font-size: 1.15rem;
  color: var(--text);
  position: relative;
}

.pull svg {
  display: block;
  width: 26px;
  height: 26px;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 10px;
}

/* Timeline */

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  border-left: 1px solid var(--border);
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 24px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-icon {
  position: absolute;
  left: -41px;
  top: -4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.timeline-icon svg {
  width: 15px;
  height: 15px;
}

.timeline-year {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.timeline-item p {
  margin: 0;
  color: var(--text-dim);
  font-size: 1rem;
}

.timeline-item.is-today .timeline-year { color: var(--text); }

.timeline-item.is-today .timeline-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-inner button.link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--text-dim);
  cursor: pointer;
}

.footer-inner button.link-btn:hover { color: var(--accent); }

/* Responsive */

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 24px 24px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
