/* Tokens. The brand is binary: one paper, one ink. Dark mode swaps them. */
:root {
  --paper: #F4F1EA;
  --ink: #141414;
  --quiet: color-mix(in srgb, var(--ink) 55%, var(--paper));
  --font: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0B0B0B; --ink: #F4F1EA; }
}

* { box-sizing: border-box; }

html, body { height: 100%; }
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 300 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

/* Tabula rasa: one centered column, most of the screen left empty. */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 64px 16px;
  text-align: center;
}

.lockup {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-weight: 400;
}
/* The mark is mask-painted from mark.svg so it takes the ink color in both themes.
   Swapping concepts means replacing that one file. */
.mark {
  width: 72px;
  height: 72px;
  background: currentColor;
  -webkit-mask: url(mark.svg) center / contain no-repeat;
  mask: url(mark.svg) center / contain no-repeat;
}
.wordmark { font-size: clamp(28px, 6vw, 40px); letter-spacing: -0.01em; }

.lede { margin: 0; max-width: 36ch; color: var(--quiet); }

.work h2 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--quiet);
}
.work ul { margin: 0; padding: 0; list-style: none; }
.work .status { color: var(--quiet); }
.work .status::before { content: "— "; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 24px 16px 32px;
  font-size: 12px;
  color: var(--quiet);
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
