:root {
  --f-head: var(--font-inter-tight), "Segoe UI", system-ui, sans-serif;
  --f-body: var(--font-inter), "Segoe UI", system-ui, sans-serif;
  --f-serif: var(--font-instrument-serif), Georgia, serif;
  --f-mono: var(--font-jetbrains-mono), Consolas, monospace;
}

/* `clip` keeps horizontal bleed hidden without making body a scroll container, which would break position: sticky. */
html,
body {
  overflow-x: clip;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

.site-main {
  flex: 1 0 auto;
}

.nav-link.is-active {
  background: var(--black);
  color: #f3f1ea;
}

[data-bs-theme="dark"] .nav-link.is-active {
  background: #f3f1ea;
  color: var(--black);
}

.placeholder-page {
  padding: clamp(48px, 8vw, 96px) 0;
}

.placeholder-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.placeholder-page p {
  color: var(--ink-2);
  max-width: 36rem;
}
