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

:root {
  --bg: #0c0c0b;
  --surface: #141412;
  --border: #222220;
  --text: #e8e6e0;
  --text-secondary: #8a8880;
  --text-tertiary: #4a4845;
  --accent: #c4a96b;
  --accent-dim: #7a6840;
  --accent-pale: #c4a96b;
  --nav-blue: #1a35d0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

/* ── Layout ── */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, var(--bg) 60%, transparent);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.nav-mark {
  width: 18px;
  height: 18px;
  color: var(--accent-pale);
  flex-shrink: 0;
  transition: color 0.2s;
}

.nav-logo:hover .nav-mark {
  color: var(--accent-bright);
}

.nav-wordmark {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-links a.active {
  color: var(--text-secondary);
}

.nav-links a:active {
  color: var(--nav-blue);
}

/* ── Page header ── */
.page-header {
  padding: 12rem 2rem 5rem;
  max-width: 680px;
  margin: 0 auto;
}

.page-header-wide {
  max-width: 900px;
}

.page-header-wide .page-subtitle {
  max-width: 620px;
}

.page-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-pale);
  margin-bottom: 1.5rem;
  display: block;
}

.page-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.page-title em {
  font-style: italic;
}

.page-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 480px;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4rem 0;
}

/* ── Section label ── */
.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-pale);
  margin-bottom: 2rem;
  display: block;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  margin-top: 8rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-tertiary);
  text-decoration: none;
}

.footer-mark {
  width: 14px;
  height: 14px;
  color: var(--text-tertiary);
}

.footer-name {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.9rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-meta {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav-links {
    gap: 1.2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
