@font-face { font-family: "Outfit"; src: url("/fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* Site stylesheet. The Outfit font is under the SIL Open Font License 1.1. White, black, one
   geometric sans, huge tight headings, hairline rows, pill links. Element selectors only. */
:root {
  --ink: #000;
  --soft: #999;
  --line: #e6e6e6;
  --pad: clamp(16px, 2vw, 24px);
  --sans: "Outfit", "Avenir Next", Avenir, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0 var(--pad) var(--pad);
  background: #fff;
  color: var(--ink);
  font: 500 14px/1.4 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--soft); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* top bar: name on the left, like the studio mark */
header { display: flex; align-items: center; min-height: 64px; }
header p { margin: 0; font-size: 15px; letter-spacing: -0.01em; }

main { counter-reset: step; padding-top: clamp(40px, 9vw, 110px); }

h1 {
  margin: 0 0 clamp(36px, 6vw, 72px);
  max-width: 14ch;
  font-size: clamp(44px, 7vw, 90px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* article and fixed pages: numbered rows, label left, text right (the journal list) */
main > p {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
main > p:not(:has(a))::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  padding-top: 4px;
}
@media (min-width: 760px) {
  main > p {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 16px;
  }
}

/* home: each guide link is a big headline row */
main > p:has(a) {
  display: block;
  padding: 16px 0 22px;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
main > p:has(a) a { display: inline-block; max-width: 16ch; }

main > img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
  border-radius: 6px;
}

/* footer: the fixed pages as outlined pills */
footer { margin-top: clamp(64px, 10vw, 140px); border-top: 1px solid var(--line); padding-top: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px; }
footer a {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  font-size: 14px;
  line-height: 1;
}
footer a:hover { background: var(--ink); color: #fff; }
