@font-face {
  font-family: "Latin Modern";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/LM-regular.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #000;
  --text: #fff;
  --muted: rgb(255 255 255 / 64%);
  --measure: 92ch;
  --edge: clamp(1.25rem, 5vw, 4.75rem);
  --font-body: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  font-size: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "Latin Modern", Georgia, Cambria, "Times New Roman", serif;
  font-size: var(--font-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--muted);
}

a:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 0.2rem;
}

.page {
  width: min(calc(100% - (2 * var(--edge))), var(--measure));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
}

.stack {
  display: grid;
  gap: 1.55rem;
}

.stack p {
  margin: 0;
}

.private-work {
  display: grid;
  gap: 0.72rem;
}
