*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 "Switzer", system-ui, sans-serif; overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 500; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a, [role="button"] { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* 44 px tap targets for text links */
#hero nav a, .links a, .intro > a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
/* home page sections only; the CV page lays out its own */
main > section[id] { padding-inline: var(--gutter); }
main > section[id]:not(#hero) { padding-block: clamp(72px, 10vw, 140px); }
#monio, #dockie, #ranked, #close { border-top: 1px solid var(--ink); }

/* Shared project intro: name, status, why, details, link. */
.intro h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.5rem); line-height: 1; letter-spacing: -0.02em; }
.intro .status { margin-top: 12px; font-size: 15px; color: var(--muted); }
.intro .why { margin-top: 28px; font-size: 19px; line-height: 1.45; }
.intro p + p:not(.status, .why) { margin-top: 14px; }
.intro .details { margin-top: 18px; }
.intro .details p + p { margin-top: 10px; }
.intro > a { margin-top: 14px; font-weight: 500; text-decoration-color: var(--rule); }
@media (hover: hover) and (pointer: fine) { .intro > a:hover { text-decoration-color: currentColor; } }

.missing { min-height: 100dvh; display: grid; place-content: center; gap: 20px; padding-inline: var(--gutter); }
.missing h1 { font-weight: 300; font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); letter-spacing: -0.02em; }
.missing a { font-weight: 500; }
