/* Fonts, reset, focus. Shared by every page. */

@font-face { font-family: "Neue Haas Grotesk Display"; src: url("fonts/NeueHaasGroteskDisplay-Reg.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sohne Mono"; src: url("fonts/soehne-mono-buch.woff2") format("woff2"); font-weight: 400; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a, button, summary, label[for] { cursor: pointer; }
button { font: inherit; color: inherit; }
button:disabled { cursor: not-allowed; opacity: 0.6; }

:focus-visible { outline: 3px solid var(--focus, #151413); outline-offset: 3px; }

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

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1rem; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 1rem; }

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