
:root{color-scheme:light;--navy:#221e19;--blue:#6b4828;--yellow:#c99b66;--ivory:#f4f1e8;--line:#d2d8d9;--ink:#162d44}
*{box-sizing:border-box}
body{margin:0;font:1rem/1.65 system-ui,sans-serif;color:var(--ink);background:#fbfaf7}
h1,h2,h3,dt,legend,.name{font-family:"Cormorant Garamond",sans-serif;line-height:1.2}
h1{font-size:clamp(2.15rem,5vw,4.2rem);letter-spacing:-.055em;margin:.4em 0}
h2{font-size:clamp(1.35rem,3vw,2rem);letter-spacing:-.035em}
p{margin:.7em 0}
a{color:var(--blue);text-underline-offset:.24em}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ad7600;outline-offset:4px}
.bar{background:var(--navy);color:white}.inner{max-width:76rem;margin:0 auto;padding:0 clamp(1.2rem,4vw,4rem)}
.bar .inner{display:flex;min-height:78px;align-items:center;justify-content:space-between;gap:1rem}
.brand img{display:block;width:9.3rem;height:3rem;object-fit:contain}.bar nav,.bottom nav{display:flex;gap:1.25rem;align-items:center;flex-wrap:wrap}
.bar nav a{color:white;text-decoration:none}.bar nav a:hover,.bottom a:hover{text-decoration:underline}
.skip{position:absolute;left:1rem;top:-4rem;background:#fff;padding:.5rem 1rem;z-index:2}.skip:focus{top:.5rem}
main{padding-block:clamp(2.4rem,5vw,4.8rem)!important}
.crumb{font-size:.9rem;display:flex;gap:.55rem;flex-wrap:wrap;align-items:center}
.lede{font-size:1.15rem;max-width:52rem;color:#495c6b}
.cards,.sheet{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.2rem,3vw,2.4rem);margin-top:2.8rem}.cards a{color:var(--ink);text-decoration:none}.cards a:hover h2{text-decoration:underline}
.cards img,.heroimg{width:100%;object-fit:cover;display:block}.cards img{aspect-ratio:4/3}.cards h2{font-size:1.5rem;margin:.8rem 0 .45rem}.cards p{color:#425665}.heroimg{aspect-ratio:2.5/1;margin:2rem 0}.article{max-width:48rem}.article section{margin:2rem 0}
.sheet{grid-template-columns:1fr 1fr;align-items:start}.inputs,.results{margin:0;padding:clamp(1.3rem,3vw,2.6rem);background:#f1efe9;border:1px solid var(--line)}.results{background:var(--navy);color:white}.results dl{margin:0 0 1.25rem}.results dd{font:600 clamp(1.3rem,3vw,2rem) "Cormorant Garamond",sans-serif;line-height:1.4;margin:.25rem 0 1.15rem;color:#fff}.results dt{color:#d3dce4;font-size:1rem}.results a{color:#ffdc73}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.fields label{display:grid;gap:.3rem;font-weight:500;align-content:start}
input,select,button{font:inherit;color:var(--ink)}input,select{background:white;border:1px solid #8694a2;border-radius:3px;width:100%;min-height:44px;padding:.45rem .6rem}
fieldset{border:0;padding:0;margin:0 0 1rem}legend{font-weight:600;margin:0 0 1rem}button,.cta{display:inline-flex;border:0;border-radius:2px;padding:.75rem 1.15rem;font-weight:650;cursor:pointer;background:var(--blue);color:white;text-decoration:none;line-height:1.4}.results .cta{color:var(--navy);background:var(--yellow)}[hidden]{display:none!important}
.details{margin:1.5rem 0}.tablebox{max-height:24rem;overflow:auto}summary{cursor:pointer;padding:.7rem 0;font-weight:600}
table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;font-size:.94rem}th,td{text-align:right;padding:.45rem;border-bottom:1px solid var(--line)}th{position:sticky;top:0;background:#fbfaf7}th:first-child,td:first-child{text-align:left}
.bottom{background:var(--ivory);border-top:1px solid var(--line);padding:2rem 0}.bottom .inner{display:flex;align-items:center;justify-content:space-between;gap:1.3rem;flex-wrap:wrap}.bottom a{color:var(--navy)}
@media(max-width:760px){.cards,.sheet{grid-template-columns:1fr}.bar .inner{flex-wrap:wrap;padding-block:.75rem;gap:.5rem}.bar nav{gap:.8rem;font-size:.9rem}.brand img{width:7.5rem;height:2.25rem}.heroimg{aspect-ratio:1.5/1}.cards{margin-top:2rem}}
@media(max-width:440px){.fields{grid-template-columns:1fr}.bar nav a:nth-child(2){display:none}.bar .inner{align-items:center;justify-content:space-between}.bar nav{font-size:.86rem}.inputs,.results{padding:1rem}th,td{padding:.35rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
