/* ── Body & texture overlay ────────────────────────────────── */
body {
  background: var(--color-paper);
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1000;
}

/* ── Wrapper ───────────────────────────────────────────────── */
.page-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* ── Masthead ──────────────────────────────────────────────── */
.masthead {
  text-align: center;
  padding: var(--space-5) var(--space-5) 0;
  background: var(--color-paper);
  max-width: 1080px;
  margin: 0 auto;
}

.masthead__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-ink-muted);
  margin-bottom: var(--space-3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.masthead__title {
  font-family: var(--font-headline);
  font-size: var(--text-masthead);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-ink);
  margin: var(--space-3) 0;
}

.masthead__subtitle {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--color-ink-muted);
  margin: var(--space-3) 0;
}

.masthead__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-3) 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.masthead__nav a {
  color: var(--color-ink);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.masthead__nav a:hover { color: var(--color-pop); }

.nav-ornament {
  color: var(--color-ink-muted);
  font-size: 10px;
}

/* ── Main content ──────────────────────────────────────────── */
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
  padding: var(--space-6) 0;
  border-bottom: 4px double var(--color-rule);
}
.section:last-child { border-bottom: none; }

/* ── Column grid ───────────────────────────────────────────── */
.columns { display: grid; gap: 0; }
.columns--2 { grid-template-columns: 1fr; }   /* mobile-first; widened in responsive.css */
.columns--3 { grid-template-columns: 1fr; }

.col {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-rule);
}
.col:last-child { border-bottom: none; }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}
