@font-face {
  font-family: "Instrument Sans";
  src: url("./fonts/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f4f5f0;
  --ink: #28362e;
  --quiet: #59665c;
  --rule: #cbd3c9;
  --accent: #123b2d;
  --selection: #cddfc9;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #10231c;
    --ink: #e6eae1;
    --quiet: #a9b9aa;
    --rule: #3c5143;
    --accent: #cbdcc3;
    --selection: #365941;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #10231c;
  --ink: #e6eae1;
  --quiet: #a9b9aa;
  --rule: #3c5143;
  --accent: #cbdcc3;
  --selection: #365941;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font-size: 1.3125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--selection); color: var(--ink); }
.page { width: min(100% - 6rem, 62rem); margin: 0 auto; padding: 2.25rem 0 4rem; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rule); padding-bottom: 1.1rem; }
.site-address { font-size: .875rem; font-weight: 500; color: var(--quiet); }
main { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(3rem, 7vw, 6rem); padding: clamp(3rem, 7vw, 5.5rem) 0 3rem; align-items: start; }
h1 { font-size: clamp(3.5rem, 6.5vw, 5rem); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; margin: -.08em 0 0; color: var(--accent); }
h1 span { display: block; }
.identity nav { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: 2.25rem; font-size: .875rem; line-height: 1.5; }
.identity nav a { color: var(--quiet); text-decoration: none; }
.identity nav a:hover { color: var(--accent); text-decoration: underline; }
.introduction { padding-top: .4rem; max-width: 29rem; }
p { margin: 0 0 1.45rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--quiet); }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.theme-toggle { color: var(--quiet); background: transparent; border: 0; width: 44px; height: 44px; padding: 12px; flex-shrink: 0; cursor: pointer; border-radius: 50%; }
.theme-toggle:hover { color: var(--accent); }
.theme-toggle svg { display: block; }
.theme-toggle[hidden] { display: none; }
.skip-link { position: absolute; left: 1rem; top: 1rem; transform: translateY(-200%); font: 1rem/1.5 sans-serif; background: var(--paper); }
.skip-link:focus { transform: none; }
@media (max-width: 760px) {
  .page { width: calc(100% - 3rem); padding-top: 1.25rem; }
  main { grid-template-columns: 1fr; gap: 2.75rem; padding-top: 2.75rem; }
  h1 { font-size: clamp(3rem, 10vw, 4.5rem); }
  h1 span { display: inline; }
  .identity nav { margin-top: 1.5rem; }
  .introduction { padding-top: 0; max-width: 31rem; }
}
@media (max-width: 380px) {
  h1 { font-size: 2.75rem; }
  body { font-size: 1.1875rem; }
}
@media print {
  :root { --paper: white; --ink: black; --quiet: #444; --rule: #bbb; --accent: #123b2d; }
  .theme-toggle, .skip-link { display: none; }
  .page { width: 100%; padding: 0; }
  main { gap: 2rem; }
}
