/* base.css, reset + typography + base elements */
*,*::before,*::after{box-sizing:border-box}
*{margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background:var(--bg);color:var(--ink);
  font-family:var(--sans);font-size:17px;line-height:1.6;font-weight:400;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  transition:background var(--dur-med) var(--ease-out),color var(--dur-med) var(--ease-out);
}
img,picture,svg{display:block;max-width:100%}
a{color:var(--brass-deep);text-decoration:none}
a:hover{color:var(--ink)}
/* In-text links must not rely on color alone (WCAG 1.4.1): underline links inside body copy */
p a:not(.btn){text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:.06em}
h1,h2,h3,h4{font-family:var(--serif);font-weight:400;line-height:1.1;letter-spacing:-.01em;color:var(--ink);text-wrap:balance}
/* Fraunces ships discretionary/historical ligatures (e.g. an archaic "of"); keep only common ones */
h1,h2,h3,h4,.brand,.proof blockquote,.dossier-cap,.stat .n,.step .idx{font-variant-ligatures:common-ligatures no-discretionary-ligatures no-historical-ligatures}
h1{font-size:clamp(2.5rem,6vw,4.5rem);font-weight:500;line-height:1.04}
h2{font-size:clamp(1.75rem,3.6vw,2.625rem)}
h3{font-size:1.375rem}
p{color:var(--ink-soft);max-width:var(--measure)}
:focus-visible{outline:none;box-shadow:0 0 0 3px var(--brass-tint),0 0 0 4px var(--brass)}

.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--s-xl)}
.eyebrow{font-family:var(--mono);font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;color:var(--brass-deep);font-weight:500}
.section{padding-block:var(--s-4xl);border-bottom:1px solid var(--line)}
/* section background rhythm: tinted "sand" bands alternate with the plain bone */
.section.tint{background:var(--bg-sunken)}
/* centered section variant */
.section-label.center{justify-content:center}
.section-label.center .rule{display:none}
.section-label{display:flex;align-items:center;gap:14px;margin-bottom:var(--s-xl)}
.section-label .num{font-family:var(--mono);font-size:.75rem;color:var(--brass-deep);letter-spacing:.1em}
.section-label .ttl{margin:0;font-family:var(--mono);font-size:.75rem;font-weight:inherit;letter-spacing:.22em;text-transform:uppercase;color:var(--muted)}
.section-label .rule{flex:1;height:1px;background:var(--line)}
.lede{font-size:1.25rem;color:var(--ink-soft)}

/* scroll reveal, only hidden when JS is active (progressive enhancement) */
.js .reveal{opacity:0;transform:translateY(16px);transition:opacity var(--dur-med) var(--ease-out),transform var(--dur-med) var(--ease-out)}
.js .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto!important}
  .js .reveal{opacity:1;transform:none;transition:none}
}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
