@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/SourceSerif4Variable-Roman.ttf.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/SourceSerif4Variable-Italic.ttf.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --bg: #fbfaf7;
  --fg: #1d1d1f;
  --muted: #5f6368;
  --accent: #1f6f9f;
  --rule: #ddd8cf;
  --show-in-light: inline;
  --show-in-dark: none;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d12;
    --fg: #e4e6ea;
    --muted: #9aa0a8;
    --accent: #6cc4f0;
    --rule: #2a2f38;
    --show-in-light: none;
    --show-in-dark: inline;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d12;
  --fg: #e4e6ea;
  --muted: #9aa0a8;
  --accent: #6cc4f0;
  --rule: #2a2f38;
  --show-in-light: none;
  --show-in-dark: inline;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1.125rem/1.7 "Source Serif 4", Georgia, serif;
}
main, footer { max-width: 40rem; margin: 0 auto; padding: 0 1rem; }
main { padding-top: 3.5rem; position: relative; }
.theme-toggle {
  position: absolute; top: 0.75rem; right: 1rem;
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; padding: 0;
  border: 1px solid var(--rule); border-radius: 50%;
  background: transparent; color: var(--muted); cursor: pointer;
}
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover, .theme-toggle:focus-visible { color: var(--fg); }
.theme-toggle .moon { display: var(--show-in-light); }
.theme-toggle .sun { display: var(--show-in-dark); }
a { color: var(--accent); }
.masthead { text-align: center; margin-bottom: 2.5rem; }
.hero { display: block; width: 100%; max-width: 28rem; height: auto; margin: 0 auto 1.5rem; }
.masthead h1 { font-size: clamp(2.75rem, 10vw, 4.5rem); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
.subtitle { font-size: 1.25rem; font-style: italic; color: var(--muted); margin: 0.5rem 0 0; }
.byline { font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 1rem 0 0; }
.back { font-size: 0.95rem; }
.back + .byline { margin: 0.25rem 0 0; }
article h1 { font-size: 2.25rem; line-height: 1.15; margin: 1.5rem 0 0.5rem; }
article h2 { font-size: 1.4rem; line-height: 1.3; margin: 2.5rem 0 0.5rem; }
blockquote { margin: 1.5rem 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); }
.contact { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
.contact h2 { font-size: 1.4rem; line-height: 1.3; margin: 0 0 0.5rem; }
.fingerprint { font-size: 0.9rem; color: var(--muted); }
.fingerprint code { font-size: 0.9em; }
footer { margin-top: 4rem; padding-top: 1rem; padding-bottom: 2rem; border-top: 1px solid var(--rule); font-size: 0.9rem; color: var(--muted); }
