*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           oklch(97% 0.008 75);
  --bg-subtle:    oklch(93% 0.012 72);
  --text:         oklch(18% 0.015 260);
  --text-muted:   oklch(48% 0.018 255);
  --accent:       oklch(50% 0.10 145);
  --border:       oklch(87% 0.014 75);

  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
}

html {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Epilogue', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

/* ── Nav ── */
nav {
  padding: var(--space-8) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.wordmark-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text);
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-12) 0;
}

/* ── Section label ── */
.section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

/* ── Footer ── */
footer {
  padding: var(--space-8) 0 var(--space-12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-left {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.footer-link {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--text);
}

.footer-email {
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-email:hover {
  color: var(--accent);
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-6);
  }
}
