/* Base. Ground, type, and the two things that carry every page. */

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-ink-body);
  font-family: var(--text);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;                 /* Instrument Serif ships one weight — Standards 3.3 */
  line-height: var(--lh-head);
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.skip {
  position: absolute; left: -9999px;
  background: var(--red); color: #fff;
  padding: .75rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ── The two grounds ───────────────────────────────────
   A band declares its ground once; everything inside takes
   its colours from these, so a card on ink cannot pick up
   paper's values. */
.band--ink   { background: var(--ink);   color: var(--on-ink-body); }
.band--paper { background: var(--paper); color: var(--on-paper-body); }
.band--red   { background: var(--red);   color: #fff; }

.band--ink   h1, .band--ink   h2, .band--ink   h3 { color: var(--on-ink-head); }
.band--paper h1, .band--paper h2, .band--paper h3 { color: var(--on-paper-head); }
.band--red   h1, .band--red   h2, .band--red   h3 { color: #fff; }

/* Ink carries about a quarter more air than paper — Standards 5.4 */
.band { padding-block: var(--pad-ink-m); }
.band--paper { padding-block: var(--pad-paper-m); }
@media (min-width: 48em) {
  .band { padding-block: var(--pad-ink); }
  .band--paper { padding-block: var(--pad-paper); }
}

.band__inner { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.band__inner--narrow { max-width: 46rem; }

.band__head { margin-bottom: var(--gap); }
.band__title { font-size: var(--t-section); }
.band__standfirst { margin-top: .5rem; max-width: 58ch; font-size: var(--t-small); }
.band--ink   .band__standfirst { color: var(--on-ink-body); }
.band--paper .band__standfirst { color: var(--on-paper-body); }

/* A hairline, never a border. A visible grey line on black reads as a table. */
.band + .band .band__head { border-top: 0; }

/* ── Buttons ───────────────────────────────────────────
   Square corners, solid, uppercase. No outline variants,
   no radius anywhere on this site — Standards 5.3. */
.btn {
  display: inline-block;
  margin-top: var(--gap);
  padding: .85rem 1.4rem;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  background: transparent;
  border: 1px solid currentColor;
}
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn:hover { opacity: .9; }
