*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; color: var(--fg); background: var(--bg); font: 400 1rem/1.55 var(--font); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.6rem + 3vw, 4.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 3rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.12rem, 1rem + .45vw, 1.42rem); }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary, select { cursor: pointer; }
button { border: 0; }
img { max-width: 100%; display: block; object-fit: cover; }
img.unavailable { object-fit: contain; background: var(--panel); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: absolute; z-index: 20; top: .5rem; left: .5rem; transform: translateY(-180%); padding: .7rem; background: var(--surface); }
.skip:focus { transform: none; }
.wrap, .nav-inner, .footer-inner { width: min(calc(100% - 2 * var(--gutter)), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
