@font-face {
  font-family: 'DM Sans';
  src: url('dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #252019;
  --paper: #f6f2ea;
  --site-header-height: 64px;
  color-scheme: light;
  font-family: 'DM Sans', Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 30;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
}
.skip-link:focus { transform: translateY(0); }

.site-nav {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: var(--site-header-height);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(18px, 5.5vw, 98px);
  background: var(--paper);
  border-bottom: 1px solid #32292122;
}
.site-nav .wordmark {
  flex-shrink: 0;
  text-decoration: none;
  font-size: clamp(0.96rem, 2vw, 1.16rem);
  font-weight: 750;
  letter-spacing: -0.05em;
}
.site-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 40px);
  font-size: clamp(0.82rem, 1.5vw, 0.98rem);
  font-weight: 500;
}
.site-nav nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav nav a:hover, .site-nav nav [aria-current='page'] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

@media (max-width: 480px) {
  :root { --site-header-height: 56px; }
  .site-nav { gap: 12px; }
}
