/* cutaways.xyz shared tokens + base typography */
:root {
  --paper: #f4f2ee;
  --paper-2: #ebe8e1;
  --ink: #17161b;
  --ink-2: #4a4852;
  --ink-3: #7b7884;
  --rule: rgba(23, 22, 27, 0.12);
  --accent: #b23a26;          /* atlas vermilion */
  --accent-ink: #8f2b1a;
  --sky-top: #e2e0f3;
  --sky-bottom: #e2deed;
  --card: #ffffff;
  --glass: rgba(250, 249, 252, 0.78);
  --glass-line: rgba(23, 22, 27, 0.08);
  --shadow-1: 0 1px 2px rgba(23, 20, 40, 0.06), 0 4px 14px rgba(23, 20, 40, 0.08);
  --shadow-2: 0 2px 6px rgba(23, 20, 40, 0.08), 0 18px 48px rgba(23, 20, 40, 0.16);
  --radius: 14px;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga";
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink);
}
.wordmark svg { width: 26px; height: 26px; flex: none; }
.wordmark em { font-style: italic; font-weight: 400; }

.kicker {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--rule); font-size: 12px; font-weight: 500; color: var(--ink-2); background: rgba(255,255,255,0.5);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

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