:root {
	--paper: #f3f3ef;
	--paper-deep: #e8e8e2;
	--ink: #181817;
	--ink-soft: #565650;
	--ink-muted: #77776f;
	--line: #cdcdc5;
	--accent: #c04a32;
	--success: #28765a;
	--danger: #a23832;
	--display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.58; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { display: block; max-width: 100%; }
.page-frame, .page-shell { width: min(100% - 48px, 1080px); margin: 0 auto; }

.site-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; min-height: 90px; padding-top: 10px; border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-size: 22px; line-height: 1; }
.brand span, .site-footer strong span { color: var(--accent); }
.site-header nav { display: flex; justify-content: flex-end; gap: 24px; }
.site-header nav a { color: var(--ink-soft); font-size: 13px; transition: color .16s ease; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--accent); }
.admin-link { display: inline-flex; align-items: center; gap: 5px; padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 650; }
.admin-link:hover { color: var(--accent); border-color: var(--accent); }

.page-shell { padding: 104px 0 112px; }
.narrow-shell { width: min(100% - 48px, 760px); }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: end; gap: 72px; min-height: 600px; padding: 82px 0 90px; }
.hero-kicker, .eyebrow, .section-label { margin: 0 0 16px; color: var(--ink-muted); font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0; }
.hero h1, .page-heading h1 { max-width: 720px; margin: 0 0 28px; font-size: clamp(58px, 7.2vw, 92px); line-height: .88; }
.page-heading h1 { font-size: clamp(48px, 6.5vw, 76px); line-height: .94; }
.lead { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: clamp(19px, 2vw, 23px); line-height: 1.48; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 650; transition: color .16s ease, border-color .16s ease; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link-muted { color: var(--ink-soft); border-color: var(--line); }

.hero-note { align-self: center; padding: 28px; border: 1px solid var(--line); }
.hero-note > p:not(.hero-note-label) { margin: 0 0 38px; color: var(--ink-soft); font-size: 15px; }
.hero-note-label { margin: 0 0 42px; color: var(--ink-muted); font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.hero-note dl { margin: 0; }
.hero-note dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.hero-note dt, .hero-note dd { margin: 0; font-size: 13px; }
.hero-note dt { color: var(--ink-muted); }
.hero-image, .page-image { width: 100%; border: 1px solid var(--line); object-fit: cover; filter: saturate(.78); }
.hero-image { min-height: 420px; }
.page-image { max-height: 520px; margin: 36px 0; }

.selected-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 112px; border: 1px solid var(--line); }
.selected-links a { display: flex; min-height: 190px; flex-direction: column; justify-content: space-between; padding: 30px 28px 24px; font-family: var(--display); font-size: clamp(27px, 2.8vw, 35px); line-height: 1.05; transition: color .16s ease, background-color .16s ease; }
.selected-links a + a { border-left: 1px solid var(--line); }
.selected-links a span:last-child { align-self: flex-end; color: var(--accent); font-family: var(--body); font-size: 24px; }
.selected-links a:hover { background: var(--paper-deep); color: var(--accent); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 64px; padding-top: 34px; border-top: 1px solid var(--line); }
.prose { font-size: 18px; }
.prose h2 { margin: 1.65em 0 .55em; font-size: clamp(30px, 3.5vw, 43px); line-height: 1; }
.prose h2:first-of-type { margin-top: .3em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { color: var(--accent); border-bottom: 1px solid currentColor; }
.feature-card, .panel { border: 1px solid var(--line); background: transparent; }
.feature-card { align-self: start; padding: 28px; }
.feature-card h2 { margin: 0 0 20px; font-size: 30px; line-height: 1; }
.feature-card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.feature-card li + li { margin-top: 9px; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(40,118,90,.12); }
.page-heading { margin-bottom: 46px; }

.panel { padding: 30px; }
.panel + .panel { margin-top: 28px; }
.panel h2 { margin-bottom: 24px; font-size: clamp(28px, 3vw, 38px); line-height: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font: inherit; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: 1px solid var(--accent); outline-offset: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.button:hover { border-color: var(--accent); color: var(--accent); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--accent); color: white; }
.button-secondary { border-color: var(--line); }
.form-note { color: var(--ink-muted); font-size: 13px; }
.notice { margin: 0 0 22px; padding: 14px 16px; border: 1px solid; }
.notice-success { color: var(--success); border-color: #9abdad; background: #edf4ef; }
.notice-error { color: var(--danger); border-color: #d6aaa5; background: #f7ece9; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.calculator { display: grid; gap: 20px; margin-bottom: 28px; }
.calculator-output { padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.calculator-output strong { display: block; margin: 4px 0; color: var(--accent); font-family: var(--display); font-size: 42px; font-weight: 400; }

.site-footer { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; margin-top: 0; padding: 34px 0 44px; border-top: 1px solid var(--line); }
.site-footer strong { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 400; }
.site-footer p { margin: 7px 0 0; color: var(--ink-muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; justify-content: flex-end; gap: 10px 20px; color: var(--ink-soft); font-size: 13px; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 840px) {
	.site-header { grid-template-columns: 1fr auto; min-height: 74px; }
	.site-header nav { display: none; }
	.hero, .content-grid { grid-template-columns: 1fr; }
	.hero { min-height: auto; gap: 40px; padding: 76px 0; }
	.hero-note { max-width: 560px; }
}

@media (max-width: 620px) {
	.page-frame, .page-shell, .narrow-shell { width: min(100% - 32px, 1080px); }
	.site-header { gap: 14px; }
	.brand { font-size: 20px; }
	.admin-link { font-size: 12px; }
	.page-shell { padding: 72px 0 82px; }
	.hero { padding: 66px 0 72px; }
	.hero h1, .page-heading h1 { font-size: clamp(50px, 15vw, 68px); }
	.selected-links { grid-template-columns: 1fr; margin-bottom: 78px; }
	.selected-links a { min-height: 150px; }
	.selected-links a + a { border-top: 1px solid var(--line); border-left: 0; }
	.content-grid { gap: 34px; }
	.form-grid { grid-template-columns: 1fr; }
	.field-full { grid-column: auto; }
	.panel { padding: 22px; }
	.site-footer { grid-template-columns: 1fr; }
	.footer-links { justify-content: flex-start; }
}
