@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-normal-400.ttf) format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: normal;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-normal-500.ttf) format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-normal-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-serif-4-italic-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-serif-4-normal-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-serif-4-normal-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/source-serif-4-normal-700.ttf) format('truetype');
}

:root {
  color-scheme: light;
  --ink: #282622;
  --ink-soft: #494640;
  --parchment: #f7f5ef;
  --parchment-warm: #eeeae1;
  --cream: #fffdf8;
  --accent: #803c3f;
  --accent-hover: #a05050;
  --accent-soft: #a97776;
  --accent-wash: #803c3f0d;
  --muted: #68635d;
  --muted-light: #726c64;
  --label: #68635d;
  --rule: #d7d1c5;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --page: 1200px;
  --gutter: clamp(22px, 5vw, 72px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --ink: #eee9de; --ink-soft: #cec7bc; --parchment: #1e1e1b;
    --parchment-warm: #292923; --cream: #25251f;
    --accent: #dfa5a0; --accent-hover: #f0bdb5; --accent-soft: #bd8682;
    --accent-wash: #dfa5a00e; --muted: #b1ab9f; --muted-light: #aaa497;
    --label: #b1ab9f; --rule: #45443b;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --ink: #eee9de; --ink-soft: #cec7bc; --parchment: #1e1e1b;
  --parchment-warm: #292923; --cream: #25251f;
  --accent: #dfa5a0; --accent-hover: #f0bdb5; --accent-soft: #bd8682;
  --accent-wash: #dfa5a00e; --muted: #b1ab9f; --muted-light: #aaa497;
  --label: #b1ab9f; --rule: #45443b;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { background: var(--parchment); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; text-wrap: balance; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--accent-wash); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 200; background: var(--ink); color: var(--parchment); padding: 12px 20px; }
.skip-link:focus { top: 12px; color: var(--parchment); }
.shell { width: min(var(--page), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--parchment); border-bottom: 1px solid var(--rule); }
.site-nav { display: flex; align-items: center; min-height: 66px; gap: 28px; }
.wordmark { font: 600 21px/1.2 var(--serif); letter-spacing: -.035em; margin-right: auto; white-space: nowrap; }
.wordmark.monogram { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.monogram img { width: 40px; height: 40px; }
.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; }
.nav-links { display: flex; align-items: center; gap: 27px; padding: 0; list-style: none; }
.nav-links a { display: block; padding-block: 14px; font-size: 13px; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--accent); }
.nav-links a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; }
.theme-toggle { width: 44px; height: 44px; display: inline-grid; place-items: center; color: var(--ink-soft); background: none; border: 1px solid var(--rule); border-radius: 50%; flex: 0 0 auto; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme='dark'] .theme-toggle .sun { display: block; }
:root[data-theme='dark'] .theme-toggle .moon { display: none; }
.menu-toggle { display: none; border: none; background: none; color: var(--ink); min-height: 44px; padding: 8px 0 8px 12px; }
.eyebrow { font: 400 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; border-bottom: 1px solid var(--accent); color: var(--accent); }
.text-link:hover { color: var(--ink); border-color: var(--ink); }
.arrow { font-family: var(--sans); }
.site-footer { border-top: 1px solid var(--rule); padding: 28px 0 34px; font-size: 12px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.site-footer a { text-decoration: underline; }
@media (max-width: 760px) {
  html { scroll-padding-top: 92px; }
  .site-nav { min-height: 64px; gap: 12px; flex-wrap: wrap; }
  .wordmark { font-size: 20px; }
  .nav-links { order: 4; flex-basis: 100%; flex-wrap: wrap; gap: 0 24px; padding-bottom: 12px; }
  .nav-links a { font-size: 15px; }
  .js .menu-toggle { display: block; }
  .js .nav-links { display: none; }
  .js .site-nav[data-expanded='true'] .nav-links { display: flex; }
  .theme-toggle { border: none; }
  .footer-inner { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
