/* Slice 0 holding page.
   The palette here is a first move in the direction the brief fixes — a cool, slightly grey
   paper ground rather than a warm cream — not the final call. That call belongs in the slice
   where real artwork is on screen to judge it against. */

:root {
  --paper: #f0f0ec;
  --ink: #1f1e1c;
  --muted: #5f5d58;
  --rule: #d8d7d1;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: clamp(1.5rem, 6vw, 4rem) clamp(1.25rem, 6vw, 3rem) 4rem;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  max-width: 46rem;
  margin-inline: auto;
}

.masthead { margin-bottom: clamp(2rem, 8vw, 3.5rem); }

.lockup {
  display: block;
  width: 100%;
  max-width: 20rem;
  height: auto;
}

.lede {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  line-height: 1.3;
  text-wrap: balance;
}

.note { margin: 0 0 3rem; color: var(--muted); }

.stamp { border-top: 1px solid var(--rule); padding-top: 1.25rem; }

.stamp h2 {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.stamp dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.8125rem;
}

.stamp dt { color: var(--muted); }
.stamp dd { margin: 0; }

.stamp code {
  font: 400 0.8125rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}

.stamp dd[data-mismatch] code { color: #8a2b1f; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
