/* base.css
   Reset, typography, links, focus styles, skip link, containers, icons. */
*,*::before,*::after{box-sizing:inherit}
html{scroll-padding-top:calc(88px + env(safe-area-inset-top,0px));scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:16px;line-height:1.6}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:var(--header-bg);z-index:60}
img,svg{max-width:100%}
a{color:var(--gold-text);text-underline-offset:3px}
a:hover{color:var(--text)}
h1,h2,h3,h4{font-family:var(--font-display);line-height:1.2;margin:0 0 .5em;font-weight:700;letter-spacing:-.01em}
h1{font-size:clamp(2rem,4.2vw,2.75rem);line-height:1.18}
h2{font-size:clamp(1.6rem,3vw,2rem)}
h3{font-size:1.3rem}
h4{font-size:1.05rem;font-family:var(--font-body);font-weight:600}
p{margin:0 0 1em}
ul{margin:0 0 1em;padding-left:1.2em}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:4px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;background:var(--gold);color:var(--brand);padding:10px 16px;border-radius:8px;z-index:100;font-weight:600}
.skip:focus{top:calc(8px + env(safe-area-inset-top,0px))}
.wrap{max-width:var(--container);margin:0 auto;padding:0 24px}
.icon{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.icon.sm{width:18px;height:18px}.icon.lg{width:32px;height:32px}
.mono{font-family:var(--font-mono)}
