:root{--bg:#f6fafd;--surface:#fff;--ink:#0d2238;--muted:#4a6178;--brand:#0047ab;--brand-ink:#fff;--line:#d3e1ee;--tint:#e6f0fa;
box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#0a1626;--surface:#10233b;--ink:#e8f1fa;--muted:#9db3c8;--brand:#5b9bf0;--brand-ink:#06172b;--line:#1f3a58;--tint:#12294a}}
:root[data-theme="dark"]{--bg:#0a1626;--surface:#10233b;--ink:#e8f1fa;--muted:#9db3c8;--brand:#5b9bf0;--brand-ink:#06172b;--line:#1f3a58;--tint:#12294a}
html{scroll-padding-top:env(safe-area-inset-top,0px);scroll-behavior:smooth}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1.05rem/1.6 "Source Sans 3",system-ui,-apple-system,"Segoe UI",sans-serif}
h1,h2,h3{font-family:"Bricolage Grotesque",system-ui,"Segoe UI",sans-serif;line-height:1.15;margin:0}
a{color:var(--brand)}
:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.wrap{max-width:860px;margin:0 auto;padding:0 20px}
header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;max-width:860px;margin:0 auto}
header b{font:700 1.15rem "Bricolage Grotesque",system-ui,sans-serif}
header nav a{margin-left:16px;text-decoration:none;color:var(--ink);font-weight:600}
.hero{padding:44px 0 36px}
.hero h1{font-size:clamp(2.1rem,7vw,3.4rem);font-weight:700;max-width:14em}
.hero p{max-width:34em;color:var(--muted);margin:18px 0 26px;font-size:1.15rem}
.btns{display:flex;flex-wrap:wrap;gap:12px}
.btn{display:inline-block;padding:14px 22px;border-radius:10px;font-weight:600;text-decoration:none;background:var(--brand);color:var(--brand-ink);border:2px solid var(--brand)}
.btn.alt{background:transparent;color:var(--brand)}
.note{color:var(--muted);font-size:.95rem;margin-top:16px}
section{padding:38px 0}
section h2{font-size:clamp(1.6rem,5vw,2.1rem);margin-bottom:10px}
.lede{color:var(--muted);max-width:36em;margin:0 0 24px}
/* the filter line: stages are a real sequence */
.stages{list-style:none;margin:0;padding:0 0 0 22px;border-left:4px solid var(--brand)}
.stages li{position:relative;padding:0 0 26px 26px}
.stages li:last-child{padding-bottom:0}
.stages li::before{content:attr(data-n);position:absolute;left:-42px;top:-2px;width:36px;height:36px;border-radius:50%;background:var(--brand);color:var(--brand-ink);font:700 1rem/36px "Bricolage Grotesque",sans-serif;text-align:center}
.stages h3{font-size:1.25rem}
.stages .job{font-weight:600;margin:2px 0 4px}
.stages p{margin:0;color:var(--muted);max-width:36em}
.band{background:var(--tint)}
.grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.box{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px}
.box h3{font-size:1.15rem;margin-bottom:6px}
.box p{margin:0;color:var(--muted)}
.tablewrap{overflow-x:auto}
table{border-collapse:collapse;width:100%;min-width:420px;background:var(--surface);border:1px solid var(--line)}
th,td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line)}
th{font-family:"Bricolage Grotesque",sans-serif}
details{background:var(--surface);border:1px solid var(--line);border-radius:10px;margin-bottom:10px}
summary{cursor:pointer;padding:16px 18px;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:12px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:1.4rem;line-height:1;color:var(--brand)}
details[open] summary::after{content:"\2212"}
details p{margin:0;padding:0 18px 16px;color:var(--muted);max-width:40em}
.prov{margin-bottom:14px}.prov b{display:block}
.prov span{color:var(--muted)}
blockquote{margin:0}
.photo{display:block;width:100%;height:auto;border-radius:16px;margin:0 0 26px;background:var(--tint)}
.photo.kit{max-width:420px;margin:0 auto 26px;background:#fff}
footer{padding:30px 0 40px;color:var(--muted);font-size:.95rem;border-top:1px solid var(--line)}
footer a{color:var(--ink)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
