/* Hallmark · macrostructure: Monolith · tone: technical austere · anchor hue: 85 */
/* Design system for lucinteractive.com. Tokens first, everything else references them.
 * Three faces, one accent, one paper. No gradients, no shadows on dark, no rounded card soup.
 */
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-var.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-var.woff2") format("woff2-variations");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surfaces. Paper is the page, ink is the reverse band and the footer. */
  --color-paper: oklch(96.4% 0.008 85);
  --color-paper-2: oklch(93.5% 0.010 85);
  --color-paper-3: oklch(89.5% 0.012 85);
  --color-ink: oklch(18.5% 0.010 250);
  --color-ink-2: oklch(23.5% 0.011 250);
  --color-ink-3: oklch(29% 0.012 250);

  /* Type */
  --color-text: oklch(21% 0.010 250);
  --color-text-muted: oklch(42% 0.010 250);
  --color-text-faint: oklch(51% 0.010 250);
  --color-text-invert: oklch(94% 0.010 85);
  --color-text-invert-muted: oklch(74% 0.010 85);

  /* Structure and accent */
  --color-rule: oklch(83% 0.010 85);
  --color-rule-strong: oklch(62% 0.012 85);
  --color-rule-invert: oklch(32% 0.012 250);
  --color-accent: oklch(64% 0.093 85);
  --color-accent-ink: oklch(52% 0.098 85);
  --color-focus: oklch(52% 0.150 250);
  --color-focus-invert: oklch(82% 0.130 250);

  /* Motion */
  --dur-xshort: 120ms;
  --dur-short: 180ms;
  --dur-med: 260ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);

  /* Space, 4 pt scale with semantic names */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Type scale, ratio 1.25 from a 16 px body */
  --text-xs: 0.64rem;
  --text-sm: 0.8rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.9531rem;
  --text-2xl: 2.4414rem;
  --text-3xl: 3.0518rem;
  --text-display: clamp(2.5rem, 4.4vw + 1rem, 4.5rem);
  --text-display-s: clamp(2rem, 3.2vw + 0.9rem, 3.25rem);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --measure: 68ch;
  --measure-tight: 52ch;
  --rule: 1px;
  --radius: 3px;
  --shell: 76rem;
  --gutter: var(--space-lg);
}

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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  font-variant-numeric: oldstyle-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin: 0;
  overflow-wrap: anywhere;
  min-width: 0;
  text-wrap: balance;
}
h1 { font-size: var(--text-display); }
h2 { font-size: var(--text-2xl); letter-spacing: -0.022em; line-height: 1.12; }
h3 { font-size: var(--text-md); font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; text-wrap: pretty; }
h4 { font-size: var(--text-base); font-weight: 600; letter-spacing: -0.006em; line-height: 1.35; text-wrap: pretty; }

p { margin: 0 0 var(--space-md); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration-color: var(--color-rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-color: var(--color-accent-ink); }

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: var(--radius);
}
.ink :focus-visible { outline-color: var(--color-focus-invert); }

img, svg { max-width: 100%; }
img { height: auto; }

hr { border: 0; border-top: var(--rule) solid var(--color-rule); margin: 0; }

ul, ol { margin: 0 0 var(--space-md); padding-left: 1.15em; max-width: var(--measure); }
li { margin-bottom: var(--space-2xs); }

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.9em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Shared primitives ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ink {
  background: var(--color-ink);
  color: var(--color-text-invert);
}
.ink h1, .ink h2, .ink h3, .ink h4 { color: var(--color-text-invert); }
.ink a { text-decoration-color: var(--color-rule-invert); }
.ink a:hover { text-decoration-color: var(--color-accent); }

.hairline { border-top: var(--rule) solid var(--color-rule); }
.ink .hairline { border-top-color: var(--color-rule-invert); }

.label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin: 0;
}
.ink .label { color: var(--color-text-invert-muted); }

.lede {
  font-size: var(--text-md);
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 46ch;
}
.ink .lede { color: var(--color-text-invert-muted); }

.prose { max-width: var(--measure); }
.prose h2 { margin: var(--space-3xl) 0 var(--space-md); }
.prose h3 { margin: var(--space-2xl) 0 var(--space-sm); }
.prose ul, .prose ol { margin-bottom: var(--space-md); }
.prose > :first-child { margin-top: 0; }

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--color-ink);
  --btn-fg: var(--color-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 44px;
  padding: var(--space-sm) var(--space-lg);
  border: var(--rule) solid var(--btn-bg);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.008em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out),
              border-color var(--dur-short) var(--ease-out),
              color var(--dur-short) var(--ease-out);
}
.btn:hover { --btn-bg: var(--color-ink-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-offset: 3px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--color-text);
  border-color: var(--color-rule-strong);
}
.btn--ghost:hover { --btn-bg: var(--color-paper-2); border-color: var(--color-text); }

.ink .btn {
  --btn-bg: var(--color-paper);
  --btn-fg: var(--color-ink);
  border-color: var(--color-paper);
}
.ink .btn:hover { --btn-bg: oklch(88% 0.012 85); }

.ink .btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--color-text-invert);
  border-color: var(--color-rule-invert);
}
.ink .btn--ghost:hover { --btn-bg: var(--color-ink-2); border-color: var(--color-text-invert); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px solid var(--color-rule-strong);
  padding-bottom: 2px;
  transition: border-color var(--dur-short) var(--ease-out);
}
.text-link:hover { border-bottom-color: var(--color-accent-ink); }
.ink .text-link { border-bottom-color: var(--color-rule-invert); }
.ink .text-link:hover { border-bottom-color: var(--color-accent); }
.text-link .arrow { transition: transform var(--dur-short) var(--ease-out); }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- Site header ---------- */

.site-header {
  border-bottom: var(--rule) solid var(--color-rule);
  background: var(--color-paper);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: 68px;
  padding-block: var(--space-sm);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  flex: none;
}
.wordmark__mark { display: block; flex: none; color: var(--color-ink); }
.wordmark__type {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  line-height: 1;
}
.wordmark__name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-text);
}
.wordmark__sub {
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-text-faint);
  margin-top: 0.28em;
}
.ink .wordmark__mark { color: var(--color-text-invert); }
.ink .wordmark__name { color: var(--color-text-invert); }
.ink .wordmark__sub { color: var(--color-text-invert-muted); }

/* The site header stays on paper even when the hero below it is ink, so the wordmark and
   the primary action keep their normal contrast. Only the footer and hero carry ink. */
.site-header.ink { background: var(--color-paper); border-bottom-color: var(--color-rule); }
.site-header.ink .wordmark__mark { color: var(--color-ink); }
.site-header.ink .wordmark__name { color: var(--color-text); }
.site-header.ink .wordmark__sub { color: var(--color-text-faint); }
.site-header.ink .site-nav a { color: var(--color-text-muted); }
.site-header.ink .site-nav a:hover,
.site-header.ink .site-nav a[aria-current="page"] { color: var(--color-text); }
.site-header.ink .btn {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-paper);
}
.site-header.ink .btn:hover { background: var(--color-ink-2); border-color: var(--color-ink-2); }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.site-nav a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--color-text-muted);
  padding-block: var(--space-xs);
  transition: color var(--dur-short) var(--ease-out);
}
.site-nav a:hover { color: var(--color-text); }
.site-nav a[aria-current="page"] { color: var(--color-text); }
/* The current-page rule uses a pseudo-element rather than a border, because `.btn`
   already carries a border and a two-line link would otherwise shift the header. */
.site-nav > a[aria-current="page"]::after,
.site-nav .site-nav__links > a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 3px;
  background: var(--color-accent-ink);
}
.site-nav > a.btn[aria-current="page"]::after { display: none; }
.site-nav__links { display: contents; }
.btn__long { display: inline; }
.btn__short { display: none; }
@media (max-width: 46rem) {
  /* The nav collapses to the one action that matters on a phone. Three links and a
     button do not fit above 375 px without one of them wrapping, so they go. */
  .site-nav__links { display: none; }
  .btn__long { display: none; }
  .btn__short { display: inline; }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: var(--space-4xl) var(--space-4xl);
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2xl);
}
.hero__title { max-width: 17ch; }
.hero__body { display: flex; flex-direction: column; gap: var(--space-lg); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}
.hero__aside {
  border-top: var(--rule) solid var(--color-rule-invert);
  padding-top: var(--space-md);
  max-width: 26rem;
}
.hero__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.hero__list li {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-invert);
}
.hero__list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  transform: translateY(-2px);
}
@media (min-width: 60rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--space-2xl) var(--space-4xl);
  }
  .hero__title { grid-column: 1 / -1; }
  .hero__body { grid-column: 1; }
  .hero__aside { grid-column: 2; align-self: start; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--space-4xl); }
.section--tight { padding-block: var(--space-3xl); }
.section--loose { padding-block: var(--space-3xl) var(--space-4xl); }

/* The first block on a content page: title, lede, then content. The head is not inside
   the two-column grid, so the lede sits directly over the body copy instead of across a
   column gap from it. */
.page-head {
  margin-bottom: var(--space-2xl);
  max-width: 46ch;
}
.page-head h1 { margin-bottom: var(--space-md); }

.section__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  max-width: 42ch;
}

/* ---------- Practice list (asymmetric, no cards) ---------- */

.practices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: var(--rule) solid var(--color-rule);
  margin: 0;
}
.practice {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-sm) var(--space-xl);
  padding-block: var(--space-2xl);
  border-bottom: var(--rule) solid var(--color-rule);
}
.practice__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin: 0;
}
.practice__body { max-width: 54ch; }
.practice__body p { color: var(--color-text-muted); margin-bottom: var(--space-md); }
.practice__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.practice__points li {
  margin: 0;
  display: flex;
  gap: var(--space-sm);
}
.practice__points li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1px;
  background: var(--color-rule-strong);
  transform: translateY(0.72em);
}
@media (min-width: 56rem) {
  /* The name column gets a real minimum so two-word titles break evenly rather than
     dropping a single word onto a second line. */
  .practice { grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.6fr); padding-block: var(--space-3xl); }
}

/* ---------- Numbered process ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  counter-reset: step;
  border-top: var(--rule) solid var(--color-rule);
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: var(--space-md);
  margin: 0;
  padding-block: var(--space-lg);
  border-bottom: var(--rule) solid var(--color-rule);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent-ink);
  padding-top: 0.2em;
}
.steps h3 { margin-bottom: var(--space-2xs); }
.steps p { color: var(--color-text-muted); max-width: 60ch; margin: 0; }

/* ---------- Stats / facts ---------- */

.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
  border-top: var(--rule) solid var(--color-rule-invert);
  padding-top: var(--space-xl);
}
@media (min-width: 40rem) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2xl); } }
.fact__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  margin: 0 0 var(--space-2xs);
}
.fact__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-invert-muted);
  margin: 0;
}

/* ---------- Capability columns ---------- */

.capabilities {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2xl);
}
@media (min-width: 52rem) { .capabilities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.capability h3 {
  padding-bottom: var(--space-sm);
  border-bottom: var(--rule) solid var(--color-rule);
  margin-bottom: var(--space-md);
}
.capability ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.capability li {
  margin: 0 0 var(--space-xs);
  padding-left: var(--space-md);
  position: relative;
}
.capability li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 1px;
  background: var(--color-rule-strong);
}

/* ---------- Contact block ---------- */

.contact-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2xl);
}
@media (min-width: 56rem) {
  .contact-block { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-3xl); }
}
/* Same two-column idea, but with the columns pulled closer together. Used where the
   document is the hero and a wide gap would just read as empty space. */
@media (min-width: 56rem) {
  .contact-block--close { gap: var(--space-2xl); }
}
.contact-methods { display: flex; flex-direction: column; gap: var(--space-lg); }
.contact-method dt {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-invert-muted);
  margin-bottom: var(--space-2xs);
}
.contact-method dd {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 500;
}
.contact-method dd a { text-decoration: none; border-bottom: 1px solid var(--color-rule-invert); padding-bottom: 1px; }
.contact-method dd a:hover { border-bottom-color: var(--color-accent); }
dl { margin: 0; }

/* ---------- Callout ---------- */

.callout {
  border-left: 2px solid var(--color-accent-ink);
  padding: var(--space-xs) 0 var(--space-xs) var(--space-lg);
  margin: var(--space-xl) 0;
  max-width: var(--measure);
}
.ink .callout { border-left-color: var(--color-accent); }

/* ---------- Footer ---------- */

.site-footer { padding-block: var(--space-3xl) var(--space-2xl); }
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: var(--rule) solid var(--color-rule-invert);
}
@media (min-width: 52rem) {
  .site-footer__top { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.site-footer__note { max-width: 34ch; color: var(--color-text-invert-muted); font-size: var(--text-sm); }
.site-footer h2 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-invert-muted);
  margin: 0 0 var(--space-md);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 var(--space-xs); }
.site-footer li a {
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-text-invert);
  white-space: nowrap;
}
.site-footer li a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--color-text-invert-muted);
}
.site-footer__bottom p { margin: 0; max-width: none; }

/* ---------- Legal pages ---------- */

.legal { padding-block: var(--space-3xl) var(--space-4xl); }
.legal__meta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-md);
}
.legal .prose { max-width: var(--measure); }
.legal h2 { font-size: var(--text-xl); }
.legal h3 { font-size: var(--text-base); font-weight: 600; }

/* ---------- 404 ---------- */

.notfound { padding-block: var(--space-5xl); }
.notfound__mark { color: var(--color-ink); margin-bottom: var(--space-2xl); }

/* ---------- Loading screen ---------- */

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  background: var(--color-ink);
  opacity: 1;
  transition: opacity var(--dur-med) var(--ease-out);
}
.loading-screen[hidden] { display: none; }
.loading-screen--out { opacity: 0; pointer-events: none; }
.loading-screen__mark { color: var(--color-text-invert); }
.loading-screen__name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-text-invert);
}
.loading-screen__track {
  width: min(18rem, 60vw);
  height: 2px;
  background: var(--color-ink-3);
  overflow: hidden;
}
.loading-screen__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--color-accent);
}
.loading-screen__hint {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-invert-muted);
}
@media (prefers-reduced-motion: reduce) {
  .loading-screen { display: none; }
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -100%;
  z-index: 70;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-ink);
  color: var(--color-text-invert);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-md); }

/* ---------- Utilities ---------- */

.flow > * + * { margin-top: var(--space-md); }
.stack-sm { display: flex; flex-direction: column; gap: var(--space-sm); }
.stack-md { display: flex; flex-direction: column; gap: var(--space-md); }
.stack-lg { display: flex; flex-direction: column; gap: var(--space-lg); }
.stack-xl { display: flex; flex-direction: column; gap: var(--space-xl); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
.muted { color: var(--color-text-muted); }
.faint { color: var(--color-text-faint); }
.small { font-size: var(--text-sm); }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Entrance ---------- */

@media (prefers-reduced-motion: no-preference) {
  .entrance { animation: entrance var(--dur-med) var(--ease-out) both; }
  .entrance--2 { animation-delay: 60ms; }
  .entrance--3 { animation-delay: 120ms; }
}
@keyframes entrance {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
