/* Base: reset, type scale, page frame. Tokens live in tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 300 15px/1.7 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; }
input, select { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--gilt); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.cap { font: 500 10.5px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.lotno { font: 400 13px/1 var(--display); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.muted { color: var(--muted); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section { padding-block: var(--section) 0; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-h h2 { font: 400 22px/1.2 var(--serif); letter-spacing: .06em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
