/* Reset, element defaults, typography, layout primitives, utilities. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: var(--wt-body) var(--fs-body) / var(--lh-body) var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100vh; padding-bottom: 0;
}
body.has-pocbar { padding-bottom: var(--pocbar-h); }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: var(--wt-head); line-height: var(--lh-snug); letter-spacing: var(--tracking-heading); text-wrap: balance; text-transform: var(--case-head); }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--tracking-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-family: var(--font-body); font-weight: 600; font-size: var(--t-16); }
p { margin: 0 0 var(--s-4); max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
em, .em { font-family: var(--font-display); font-style: italic; font-size: 1.12em; line-height: 1; color: var(--gold-text); }
h1 em, h2 em, h3 em, .display em { font-size: 1em; }
hr { border: 0; border-top: var(--rule); margin: var(--s-7) 0; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.2em; }
small { font-size: var(--fs-small); }
code, .mono { font-family: var(--font-mono); font-size: 0.9em; }
::selection { background: var(--primary); color: var(--on-primary); }

/* Voice */
.kicker { font-family: var(--font-kicker); font-size: var(--t-12); font-weight: 500; letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--accent); }
.kicker.quiet { color: var(--muted); }
.display { font-family: var(--font-display); font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--tracking-display); font-style: italic; text-wrap: balance; }
.lead { font-family: var(--font-display); font-style: italic; font-size: var(--fs-lead); line-height: 1.4; color: var(--muted); max-width: 56ch; }
.prose { max-width: var(--measure); }
.prose p { margin-bottom: var(--s-5); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.gold { color: var(--gold-text); }

/* Layout */
.in { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.in.wide { width: min(100% - 2 * var(--gutter), var(--container-wide)); }
.in.narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); }
.section { padding-block: var(--section); }
.section.tight { padding-block: var(--section-tight); }
.section.ruled { border-top: var(--rule); }
.section.plate { background: var(--drench); color: var(--on-drench); }
.section.plate .kicker { color: var(--accent-strong); }
.section.plate .lead, .section.plate .muted { color: var(--on-drench-muted); }
.section.plate a { color: var(--accent-strong); }
.section.plate em { color: var(--accent-strong); }
.section.plate .rows > li { border-color: var(--drench-line); }
.section.plate .rows .t { color: var(--on-drench); }
.section.plate .rows .d { color: var(--on-drench-muted); }
.section.plate .rows .lead-ico { color: var(--accent-strong); border-color: var(--drench-line); }
.stack > * + * { margin-top: var(--s-4); }
.stack.lg > * + * { margin-top: var(--s-6); }
.cols { display: grid; gap: var(--s-8); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.cols.tight { gap: var(--s-6); }
.split { display: grid; gap: var(--s-8); grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.split.rev { grid-template-columns: 0.9fr 1.1fr; }
@media (max-width: 860px) { .split, .split.rev { grid-template-columns: 1fr; } }
.row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.row.between { justify-content: space-between; }
.right { text-align: right; } .center { text-align: center; }
.hide-sm { }
@media (max-width: 720px) { .hide-sm { display: none !important; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.photo { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; } .photo.wide { aspect-ratio: 16 / 10; }
.scrim { position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.13 0.012 80 / .92), oklch(0.13 0.012 80 / .2) 55%, transparent); }
.sky-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
main { position: relative; z-index: 1; overflow-x: clip; }
