:root {
    --forest: #19382b; --forest-2: #244c3b; --sage: #607d58; --sage-light: #dbe2d3;
    --cream: #f8f6ef; --paper: #fffdf8; --ink: #20261f; --muted: #6c756c;
    --line: #dedfd6; --gold: #bb7c38; --gold-light: #e8c89d; --rust: #a65536;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; } button, input { font: inherit; } h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h1 { font-size: clamp(2.45rem, 5vw, 5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); letter-spacing: -.035em; }
h3 { font-size: 1.22rem; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: .64rem; font-weight: 850; margin-bottom: 10px; }
.lead { font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.36rem); color: #4c554c; line-height: 1.5; max-width: 700px; }
.page-heading { max-width: 850px; margin-bottom: 48px; }
.page-heading h1 { font-size: clamp(2.5rem, 4.5vw, 4.5rem); margin-bottom: 17px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 62px 0 24px; }
.section-heading h2 { margin: 0; } .section-heading p { margin: 0; max-width: 520px; color: var(--muted); font-size: .88rem; }
.rule { width: 48px; height: 2px; background: var(--gold); margin: 24px 0; }
.hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(290px,.65fr); gap: clamp(32px, 6vw, 90px); align-items: center; min-height: 470px; }
.hero h1 { margin: 0 0 24px; max-width: 790px; } .hero h1 em { color: var(--sage); font-weight: 400; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 19px; border-radius: 4px; border: 1px solid var(--forest); text-decoration: none; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; transition: .18s ease; }
.button.primary { background: var(--forest); color: white; } .button.secondary { color: var(--forest); background: transparent; }
.button:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(25,56,43,.13); }
.hero-graphic { aspect-ratio: 1/1.08; position: relative; display: grid; place-items: center; }
.field-rings { width: 84%; aspect-ratio: 1; border: 1px solid var(--sage); border-radius: 49% 51% 48% 52%; position: relative; transform: rotate(-8deg); }
.field-rings::before, .field-rings::after { content: ''; position: absolute; border: 1px solid rgba(96,125,88,.55); border-radius: 48% 52%; inset: 13%; }
.field-rings::after { inset: 28%; background: var(--sage-light); border: 0; }
.acre-badge { position: absolute; background: var(--forest); color: white; width: 126px; height: 126px; border-radius: 50%; display: grid; place-content: center; text-align: center; box-shadow: 0 20px 50px rgba(25,56,43,.2); }
.acre-badge strong { font: 500 2.8rem/1 var(--serif); } .acre-badge span { text-transform: uppercase; letter-spacing: .17em; font-size: .58rem; margin-top: 7px; }
.hero-note { position: absolute; bottom: 2%; right: 0; background: var(--paper); border-left: 3px solid var(--gold); padding: 13px 16px; max-width: 190px; font-size: .7rem; color: var(--muted); box-shadow: 0 10px 30px rgba(38,43,35,.08); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--paper); margin: 38px 0 10px; }
.stat { padding: 25px; border-right: 1px solid var(--line); } .stat:last-child { border: 0; }
.stat strong { display: block; font: 500 clamp(1.7rem,3vw,2.5rem)/1 var(--serif); color: var(--forest); margin-bottom: 9px; }
.stat span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); padding: 26px; border-radius: 5px; box-shadow: 0 12px 35px rgba(43,48,39,.035); }
.card-number { color: var(--gold); font: italic 1.05rem var(--serif); display: block; margin-bottom: 30px; }
.card h3 { margin-bottom: 11px; } .card p { margin-bottom: 0; color: var(--muted); font-size: .83rem; }
.card .card-link { display: inline-block; color: var(--forest); margin-top: 20px; font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; border-bottom: 1px solid var(--gold); }
.card.accent { background: var(--forest); color: white; border-color: var(--forest); } .card.accent p { color: rgba(255,255,255,.65); }
.callout { margin: 44px 0; background: #efe8dc; border-left: 4px solid var(--gold); padding: 22px 26px; display: flex; gap: 18px; align-items: flex-start; }
.callout strong { font-family: var(--serif); min-width: 150px; } .callout p { margin: 0; font-size: .84rem; color: #5d594f; }
.callout.warning { background: #f0e3dc; border-color: var(--rust); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.checklist li { background: var(--paper); padding: 18px 21px 18px 56px; position: relative; font-size: .84rem; }
.checklist li::before { content: ''; position: absolute; left: 21px; top: 19px; width: 18px; height: 18px; border: 1px solid var(--sage); border-radius: 50%; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.land-plan { display: grid; grid-template-columns: 5fr 4fr; min-height: 280px; border: 1px solid var(--line); }
.land-plan > div { padding: 34px; } .land-cleared { background: var(--sage-light); } .land-wooded { background: var(--forest); color: white; }
.land-plan ul { padding-left: 18px; margin: 18px 0 0; font-size: .79rem; line-height: 1.8; } .land-wooded ul { color: rgba(255,255,255,.7); }
.data-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: .8rem; }
.data-table th { text-align: left; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; font-size: .61rem; border-bottom: 2px solid var(--forest); padding: 14px 13px; }
.data-table td { padding: 15px 13px; border-bottom: 1px solid var(--line); vertical-align: top; } .data-table tr:last-child td { border-bottom: 0; }
.data-table .money { text-align: right; font-family: ui-monospace, SFMono-Regular, monospace; font-weight: 700; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.timeline-item { padding: 24px 18px 10px 0; position: relative; }
.timeline-item::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); position: absolute; top: -5px; left: 0; box-shadow: 0 0 0 6px var(--cream); }
.timeline-item .year { color: var(--gold); font-weight: 850; letter-spacing: .1em; font-size: .63rem; text-transform: uppercase; }
.timeline-item h3 { margin: 12px 0 8px; font-size: 1.02rem; } .timeline-item p { color: var(--muted); font-size: .72rem; padding-right: 10px; }
.timeline-item strong { color: var(--forest); font: 500 1.35rem var(--serif); }
.survey-frame { background: var(--paper); padding: 14px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(32,38,31,.08); }
.survey-frame img { display: block; width: 100%; max-height: 680px; object-fit: contain; background: #e8e5dc; } .caption { color: var(--muted); font-size: .69rem; margin: 10px 2px 0; }
.funding-list { display: grid; gap: 12px; }
.funding-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center; background: var(--paper); border: 1px solid var(--line); padding: 19px 22px; border-radius: 4px; }
.funding-rank { width: 43px; height: 43px; border: 1px solid var(--sage); color: var(--forest); border-radius: 50%; display: grid; place-items: center; font: italic 1rem var(--serif); }
.funding-item h3 { font-family: var(--sans); font-size: .87rem; font-weight: 800; margin: 0 0 5px; } .funding-item p { color: var(--muted); font-size: .75rem; margin: 0; }
.tag { white-space: nowrap; background: var(--sage-light); color: var(--forest); padding: 6px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; font-size: .55rem; font-weight: 900; }
.tag.debt { background: #eee1d1; color: #795326; } .tag.later { background: #e8e8e5; color: #60645f; }
.calculator { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.72fr); border: 1px solid var(--line); background: var(--paper); }
.controls { padding: clamp(26px,4vw,48px); border-right: 1px solid var(--line); } .control { margin-bottom: 30px; } .control:last-child { margin-bottom: 0; }
.control label { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 800; margin-bottom: 10px; } .control label span { font-family: ui-monospace, monospace; color: var(--forest); }
input[type=range] { width: 100%; accent-color: var(--sage); }
.results { background: var(--forest); color: white; padding: clamp(28px,4vw,48px); display: flex; flex-direction: column; justify-content: center; }
.result-main { font: 500 clamp(2.7rem,5vw,4.6rem)/1 var(--serif); margin: 8px 0 12px; } .result-main.negative { color: #e7a88e; }
.results > p { color: rgba(255,255,255,.65); font-size: .78rem; } .result-row { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.13); font-size: .74rem; }
.result-row strong { font-family: ui-monospace, monospace; }
.meter { height: 8px; background: #d9ddd5; border-radius: 999px; overflow: hidden; } .meter span { height: 100%; display: block; background: var(--sage); }
.boot-screen { min-height: 100vh; display: grid; place-content: center; text-align: center; color: var(--forest); }
.boot-mark { margin: auto; width: 65px; height: 65px; border: 1px solid var(--sage); border-radius: 50% 50% 50% 20%; display: grid; place-items: center; font-family: var(--serif); }
.boot-screen p { margin-top: 16px; color: var(--muted); font-size: .75rem; }
#blazor-error-ui { display: none; position: fixed; inset: auto 20px 20px; z-index: 1000; background: #fff3cd; border: 1px solid #e2c46b; padding: 14px 18px; border-radius: 4px; }
#blazor-error-ui .dismiss { float: right; border: 0; background: none; } h1:focus { outline: none; }
@media (max-width: 1050px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); } .stat-grid { grid-template-columns: repeat(2,1fr); }
    .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
@media (max-width: 700px) {
    h1 { font-size: 2.8rem; } .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-graphic { max-width: 350px; width: 100%; margin: 10px auto 0; } .card-grid, .two-col { grid-template-columns: 1fr; }
    .land-plan { grid-template-columns: 1fr; } .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); }
    .timeline-item { padding: 0 0 30px 25px; } .timeline-item::before { top: 4px; left: -5px; }
    .funding-item { grid-template-columns: 48px 1fr; } .funding-item .tag { grid-column: 2; justify-self: start; }
    .calculator { grid-template-columns: 1fr; } .controls { border-right: 0; } .callout { display: block; }
    .callout strong { display: block; margin-bottom: 7px; } .section-heading { display: block; } .section-heading p { margin-top: 10px; }
}
