:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --bg-alt: #111318;
  --ink: #e6e4df;
  --ink-muted: #8f8d88;
  --accent: #9cb8a8;
  --accent-dim: rgba(156, 184, 168, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --max: 42rem;
  --space: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  margin: 0 0 1.25rem;
}

h1 abbr {
  text-decoration: none;
  font-variant: normal;
}

h2 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.wrap {
  width: min(100% - var(--space) * 2, 68rem);
  margin-inline: auto;
}

.wrap.narrow {
  max-width: var(--max);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem 1.125rem;
}

.logo {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

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

/* Hero */
.hero {
  padding: clamp(3.5rem, 12vw, 6.5rem) 0 clamp(3rem, 10vw, 5rem);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.lede {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  max-width: 34rem;
  line-height: 1.7;
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 4.5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.body-text {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0 1.5rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

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

.footer-meta {
  opacity: 0.85;
}
