/* ========================================================================== supram · type Atkinson Hyperlegible Next for text, Atkinson Hyperlegible Mono for code. Both are variable fonts (weight 200–800), self-hosted from ../fonts/. ========================================================================== */ /* ── Faces ─────────────────────────────────────────────────────────────── Latin first, Latin Extended only downloaded when a page needs it. */ @font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2") tech(variations), url("../fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2") tech(variations), url("../fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2") tech(variations), url("../fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } @font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-latin-ext-wght-italic.woff2") format("woff2") tech(variations), url("../fonts/atkinson-hyperlegible-next-latin-ext-wght-italic.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } @font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/atkinson-hyperlegible-mono-latin-wght-normal.woff2") format("woff2") tech(variations), url("../fonts/atkinson-hyperlegible-mono-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("../fonts/atkinson-hyperlegible-mono-latin-wght-italic.woff2") format("woff2") tech(variations), url("../fonts/atkinson-hyperlegible-mono-latin-wght-italic.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/atkinson-hyperlegible-mono-latin-ext-wght-normal.woff2") format("woff2") tech(variations), url("../fonts/atkinson-hyperlegible-mono-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } @font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("../fonts/atkinson-hyperlegible-mono-latin-ext-wght-italic.woff2") format("woff2") tech(variations), url("../fonts/atkinson-hyperlegible-mono-latin-ext-wght-italic.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* ── Element defaults ────────────────────────────────────────────────── */ h1, h2, h3, h4, h5, h6 { font-weight: var(--weight-bold); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); } h1 { font-size: var(--text-3xl); } h2 { font-size: var(--text-2xl); } h3 { font-size: var(--text-xl); } h4 { font-size: var(--text-lg); line-height: var(--leading-snug); } h5 { font-size: var(--text-md); line-height: var(--leading-snug); letter-spacing: var(--tracking-normal); } h6 { font-size: var(--text-sm); font-weight: var(--weight-semibold); line-height: var(--leading-snug); letter-spacing: var(--tracking-caps); text-transform: uppercase; } small { font-size: var(--text-sm); } strong, b { font-weight: var(--weight-bold); } em, i, cite, dfn { font-style: italic; } abbr[title] { text-decoration: underline dotted; text-decoration-thickness: 0.08em; } sub, sup { font-size: 0.75em; line-height: 0; } blockquote { font-size: var(--text-md); } /* ── Voices ──────────────────────────────────────────────────────────── Named roles rather than raw sizes. */ .display { font-size: var(--text-display); font-weight: var(--weight-black); line-height: var(--leading-none); letter-spacing: -0.03em; } .lede { font-size: var(--text-md); line-height: 1.4; } .label { font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; } .caps { letter-spacing: var(--tracking-caps); text-transform: uppercase; } /* The mono voice is for data in the interface: identifiers, paths, hashes, timestamps, readouts. Not for code, which and
 already set.
   A touch smaller so the wider mono set sits with the text around it, with
   tabular figures so columns of it line up. */
.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-normal);
}

.muted { color: var(--muted); }

/* ── Scale, weight, leading, tracking ──────────────────────────────── */

.text-xs      { font-size: var(--text-xs); }
.text-sm      { font-size: var(--text-sm); }
.text-base    { font-size: var(--text-base); }
.text-md      { font-size: var(--text-md); }
.text-lg      { font-size: var(--text-lg); }
.text-xl      { font-size: var(--text-xl); }
.text-2xl     { font-size: var(--text-2xl); }
.text-3xl     { font-size: var(--text-3xl); }
.text-4xl     { font-size: var(--text-4xl); }
.text-display { font-size: var(--text-display); }

.weight-light    { font-weight: var(--weight-light); }
.weight-regular  { font-weight: var(--weight-regular); }
.weight-medium   { font-weight: var(--weight-medium); }
.weight-semibold { font-weight: var(--weight-semibold); }
.weight-bold     { font-weight: var(--weight-bold); }
.weight-black    { font-weight: var(--weight-black); }

.leading-none   { line-height: var(--leading-none); }
.leading-tight  { line-height: var(--leading-tight); }
.leading-snug   { line-height: var(--leading-snug); }
.leading-normal { line-height: var(--leading-normal); }
.leading-loose  { line-height: var(--leading-loose); }

.tracking-tight  { letter-spacing: var(--tracking-tight); }
.tracking-normal { letter-spacing: var(--tracking-normal); }
.tracking-wide   { letter-spacing: var(--tracking-wide); }

.font-sans { font-family: var(--font-sans); }
.font-mono { font-family: var(--font-mono); }

.italic  { font-style: italic; }
.upright { font-style: normal; }
.tabular { font-variant-numeric: tabular-nums; }

/* ── Measure & wrapping ────────────────────────────────────────────── */

.measure        { max-inline-size: var(--measure); }
.measure-narrow { max-inline-size: var(--measure-narrow); }
.measure-wide   { max-inline-size: var(--measure-wide); }

.balance { text-wrap: balance; }
.pretty  { text-wrap: pretty; }
.nowrap  { white-space: nowrap; }

.text-start  { text-align: start; }
.text-center { text-align: center; }
.text-end    { text-align: end; }

/* ── Flow & prose ──────────────────────────────────────────────────────
   .flow spaces siblings; .prose is .flow plus long-form element styling. */

.flow > * + *,
.prose > * + * {
  margin-block-start: var(--flow, var(--space-3));
}

.prose {
  max-inline-size: var(--measure);
}

.prose > * + :where(h2, h3, h4, h5, h6) {
  margin-block-start: var(--space-8);
}

.prose > :where(h1, h2, h3, h4, h5, h6) + * {
  margin-block-start: var(--space-2);
}

.prose :where(ul, ol) {
  padding-inline-start: 1.5em;
}

.prose :where(li) + li {
  margin-block-start: 0.35em;
}

.prose :where(blockquote) {
  border-inline-start: var(--rule-w-bold) solid var(--accent);
  padding-inline-start: var(--space-3);
}

.prose :where(blockquote) > * + * {
  margin-block-start: var(--space-2);
}

.prose :where(blockquote footer) {
  font-size: var(--text-sm);
  color: var(--muted);
}

.prose :where(pre) {
  background: var(--subtle);
  border-inline-start: var(--rule-w-bold) solid var(--rule);
  padding: var(--space-3);
}

.prose :where(:not(pre) > code) {
  background: var(--subtle);
  padding: 0.1em 0.35em;
}

.prose :where(figcaption) {
  margin-block-start: var(--space-1);
  font-size: var(--text-sm);
  color: var(--muted);
}

.prose :where(th) {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  border-block-end: var(--rule-w) solid var(--rule);
}

.prose :where(td) {
  border-block-end: 1px solid var(--hairline);
}

.prose :where(th, td) {
  padding: var(--space-1) var(--space-3) var(--space-1) 0;
  vertical-align: top;
}