/* The Sentence V4 · base. Load after fonts.css and tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  font-synthesis: none; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  background: var(--bone); color: var(--ink);
}
body {
  margin: 0; min-height: 100svh;
  font-family: var(--font-text); font-size: var(--t-body); line-height: var(--lh-body);
  background: var(--bone); color: var(--ink);
  overflow-x: clip;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, canvas, svg, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
em, i { font-style: italic; }
strong, b { font-weight: 500; }

/* type roles */
.t-display { font-family: var(--font-display); font-weight: 500; line-height: var(--lh-display); letter-spacing: var(--tr-display); }
.t-poster { font-family: var(--font-display); font-weight: 500; font-size: var(--t-poster); line-height: var(--lh-display); letter-spacing: var(--tr-display); }
.t-headline { font-family: var(--font-display); font-weight: 500; font-size: var(--t-headline); line-height: var(--lh-headline); letter-spacing: var(--tr-headline); }
.t-lede { font-family: var(--font-display); font-weight: 500; font-size: var(--t-lede); line-height: var(--lh-lede); letter-spacing: var(--tr-lede); }
.t-figure { font-family: var(--font-display); font-weight: 500; font-size: var(--t-figure); line-height: .86; letter-spacing: -.04em; font-variant-numeric: lining-nums; }
.t-body { font-family: var(--font-text); font-size: var(--t-body); line-height: var(--lh-body); max-width: var(--measure); }
.t-small { font-family: var(--font-text); font-size: var(--t-small); line-height: 1.45; }
.t-label { font-family: var(--font-mono); font-size: var(--t-label); line-height: 1.45; letter-spacing: var(--tr-label); text-transform: uppercase; }
.stop { color: var(--stop); }
.on-dark .stop, .stop.on-dark { color: var(--stop-dark); }

/* focus: the green full stop, as a ring */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--stop); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--stop-dark); }

.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--margin); top: -100px; z-index: 100; padding: 12px 16px; background: var(--ink); color: var(--bone); }
.skip:focus { top: calc(var(--safe-top) + 8px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-snap-type: none !important; }
}
