:root {
  color-scheme: light;
  --ink: #202b32;
  --paper: #f8f6f0;
  --warm: #f0ece3;
  --white: #fffefa;
  --gold: #795b29;
  --muted: #555f59;
  --green: #203b36;
  --line: #d9d2c3;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.58 var(--sans); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid #8b6129; outline-offset: 3px; }
img { display: block; max-width: 100%; }
figure, dl { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.wrap { width: min(72rem, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 10; padding: .75rem; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.3rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
.brand img { flex: none; }
.main-link { font-size: .94rem; }
.hero { padding: 3.15rem 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { padding: .5rem 0 1rem; }
.eyebrow { font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 650; }
.eyebrow span, .review-date span { margin-inline: .2em; }
h1 { font-size: clamp(3.75rem, 7vw, 6.6rem); margin: .85rem 0 1rem; }
.hero-lead { color: var(--muted); font-size: clamp(1.07rem, 1.5vw, 1.23rem); max-width: 36rem; }
.hero-actions, .inline-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.55rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.95rem; padding: .65rem 1rem; font-weight: 650; border: 1px solid var(--green); text-decoration: none; }
.button.primary { color: var(--white); background: var(--green); }
.button.primary:hover { background: #315549; }
.button.secondary { color: var(--green); }
.button.secondary:hover { background: var(--warm); }
.review-date { color: var(--muted); margin-top: 1.25rem; font-size: .875rem; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 1.37; object-fit: cover; object-position: 54% center; }
figcaption { margin-top: .5rem; color: var(--muted); font-size: .8125rem; }
.key-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2.25rem; padding-block: 1.2rem; border-top: 1px solid var(--line); }
.key-facts div { padding-inline: 1.15rem; border-left: 1px solid var(--line); }
.key-facts div:first-child { padding-left: 0; border-left: 0; }
.key-facts dt { color: var(--muted); font-size: .875rem; }
.key-facts dd { margin: .25rem 0 0; color: var(--green); font: 500 clamp(1.35rem, 2.3vw, 1.9rem)/1.14 var(--serif); }
.page-nav { position: sticky; z-index: 2; top: 0; border-block: 1px solid var(--line); background: var(--paper); }
.nav-items { display: flex; flex-wrap: wrap; column-gap: 1.7rem; }
.nav-items a { display: block; padding: .78rem 0; font-size: .94rem; text-decoration: none; font-weight: 600; }
.nav-items a:hover { text-decoration: underline; }
.section { padding-block: clamp(2.65rem, 6vw, 5.6rem); scroll-margin-top: 3.75rem; }
.section-heading { max-width: 47rem; margin-bottom: 1.55rem; }
h2 { margin: .35rem 0 .7rem; font-size: clamp(2.1rem, 4vw, 3.7rem); }
.section-heading > p:not(.eyebrow) { color: var(--muted); }
.table-frame { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table { border-collapse: collapse; width: 100%; text-align: left; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 650; padding: .75rem 1rem; color: var(--green); }
th, td { padding: .72rem 1rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--warm); font-weight: 650; }
tbody th { font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
.note { color: var(--muted); margin-top: .9rem; font-size: .94rem; max-width: 58rem; }
.band { background: var(--warm); border-block: 1px solid var(--line); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.45rem, 5vw, 4.5rem); align-items: start; }
.text-link { display: block; width: fit-content; color: var(--green); font-weight: 650; margin-top: .6rem; }
.inline-links { column-gap: 1.75rem; margin-top: .8rem; }
.checks div { border-top: 1px solid var(--line); padding-block: .85rem; }
.checks dt { font-weight: 700; margin-bottom: .2rem; }
.checks dd { margin: 0; color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0; list-style: none; border-block: 1px solid var(--line); }
.timeline li { display: flex; flex-direction: column; padding: .9rem 1rem .95rem 0; gap: .25rem; }
.timeline span { color: var(--muted); }
.faq-section { border-top: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: .92rem 0; cursor: pointer; font-weight: 650; }
details p { color: var(--muted); padding: 0 1.25rem 1rem; max-width: 50rem; }
.next { color: var(--white); background: var(--green); }
.next .eyebrow { color: #eed8a9; }
.next-inner { display: flex; gap: 1.3rem; justify-content: space-between; align-items: center; }
.next-inner p:not(.eyebrow) { max-width: 47rem; }
.button.light { border-color: var(--white); color: var(--green); background: var(--white); white-space: nowrap; }
.button.light:hover { background: #eed8a9; }
.source-section { padding-block: 2.4rem; }
.source-section h2 { font-size: 1.9rem; }
.source-list { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding-left: 1.15rem; margin: 0; }
footer { background: var(--warm); border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { flex-wrap: wrap; padding-block: .8rem; font-size: .875rem; }
.footer-inner .brand { color: var(--ink); }

@media (max-width: 820px) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero-grid { gap: 1.6rem; }
  .key-facts div { padding-inline: .75rem; }
  .hero-figure img { aspect-ratio: 1; }
  .nav-items { column-gap: 1.1rem; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem); }
  .hero { padding-top: 1.65rem; }
  .hero-grid, .location-grid { grid-template-columns: minmax(0,1fr); }
  h1 { font-size: clamp(3.55rem, 10.6vw, 4.7rem); }
  .desktop { display: none; }
  .hero-copy { padding: 0; }
  .hero-figure img { aspect-ratio: 1.52; }
  .key-facts { grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.4rem; }
  .key-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .page-nav { position: static; }
  .nav-items a { padding-block: .43rem; }
  .section { scroll-margin-top: .5rem; }
  .location-grid .section-heading { margin-bottom: 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li + li { border-top: 1px solid var(--line); }
  th, td { padding-inline: .7rem; }
  .next-inner { align-items: start; flex-direction: column; }
}

.buyer-note { margin-top: 1.35rem; border-left: 3px solid var(--gold); padding: .75rem 1rem; max-width: 54rem; background: var(--warm); }
.buyer-note h3 { color: var(--green); font-size: 1.08rem; margin-bottom: .23rem; }
.buyer-note p { color: var(--muted); }

.resale-table table { min-width: 43rem; }
.resale-table td { white-space: nowrap; }
.cell-detail { display: block; font-size: .875rem; font-weight: 400; color: var(--muted); }
.resale-readout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; margin: 1.35rem 0; }
.resale-readout > div { border-top: 2px solid var(--line); padding-block: .72rem; }
.resale-readout h3 { font-size: 1.07rem; color: var(--green); margin-bottom: .32rem; }
.resale-readout p { color: var(--muted); }
.method { border-bottom: 1px solid var(--line); }
@media (max-width: 650px) { .resale-readout { grid-template-columns: 1fr; gap: .5rem; } }

.area-map { grid-column: 1 / -1; }
.area-map iframe { display: block; width: 100%; height: clamp(16rem, 42vw, 26rem); border: 1px solid var(--line); background: var(--white); }
.area-map p { padding: .75rem 0 1rem; }

.mobile-label { display: none; }
@media (max-width: 650px) {
  .resale-table table { display: block; min-width: 0; }
  .resale-table caption { display: block; background: var(--warm); }
  .resale-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .resale-table tbody { display: block; }
  .resale-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding: .65rem; }
  .resale-table tbody th, .resale-table tbody td { border: 0; padding: .32rem .38rem; white-space: normal; }
  .resale-table tbody th, .resale-table tbody td:last-child { grid-column: 1 / -1; }
  .resale-table tbody td:last-child { padding-top: .52rem; }
  .mobile-label { display: block; font-size: .82rem; color: var(--muted); }
}

.mop-layout, .example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2.5vw, 1.6rem); }
.mop-project, .mop-estimator, .example-card { padding: clamp(1rem, 2.8vw, 1.75rem); border: 1px solid var(--line); background: var(--white); }
.mop-project { background: var(--green); color: var(--white); }
.mop-project .text-link { color: #f2d6a5; }
.mop-project h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; }
.mop-project h3 span { font-size: .875rem; font-weight: 500; color: #f2d6a5; }
.mop-date { margin-block: .75rem; font: 500 clamp(1.9rem, 3.5vw, 2.9rem)/1.05 var(--serif); }
.mop-path { font-size: .875rem; margin-top: .5rem; }
.mop-estimator p { color: var(--muted); margin-block: .42rem; }
.mop-estimator form { display: grid; gap: .45rem; margin-top: .85rem; }
.mop-estimator label { font-size: .925rem; font-weight: 650; }
.mop-estimator select, .mop-estimator input { min-width: 0; padding: .58rem .65rem; background: var(--paper); color: var(--ink); border: 1px solid var(--line); font: inherit; }
.mop-estimator .button { cursor: pointer; width: fit-content; font: inherit; font-weight: 650; margin-top: .28rem; }
.mop-estimator output { color: var(--green); font-weight: 650; }
.mop-estimator output:empty { display: none; }
.mop-examples { margin-top: 2rem; scroll-margin-top: 4rem; }
.mop-examples > h3 { margin-bottom: .7rem; color: var(--green); font-size: 1.3rem; }
.example-card { scroll-margin-top: 4rem; }
.example-card h4 { font: 500 clamp(1.7rem, 3vw, 2.45rem)/1.12 var(--serif); margin: .25rem 0 .4rem; }
.example-marker { color: var(--green); font-weight: 700; margin-bottom: .5rem; }
.example-prices { margin-block: .9rem; }
.example-prices div { padding-block: .48rem; border-top: 1px solid var(--line); }
.example-prices dt { color: var(--muted); font-size: .875rem; }
.example-prices dd { margin: .1rem 0 0; display: flex; flex-wrap: wrap; gap: 0 .55rem; }
.example-prices dd span { color: var(--muted); }
.example-source { font-size: .875rem; color: var(--muted); margin-top: .65rem; }
.mop-next { display: flex; justify-content: space-between; align-items: start; gap: 1rem 1.5rem; margin-top: 1.3rem; padding: 1rem 1.25rem; background: var(--warm); }
.mop-next p { margin-top: .28rem; max-width: 50rem; }
.mop-next .button { flex: none; }
@media (max-width: 650px) {
  .mop-layout, .example-grid { grid-template-columns: minmax(0,1fr); }
  .mop-next { flex-direction: column; }
}

.mop-price-context { margin-top: .8rem; padding-top: .75rem; border-top: 1px solid #779186; }
.mop-estimator select:focus-visible, .mop-estimator input:focus-visible { outline: 2px solid #8b6129; outline-offset: 3px; }
