* { box-sizing: border-box; }
:root { color-scheme: light; font-family: system-ui,sans-serif; background: #f8f7f4; color: #242126; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.6; }
main { flex: 1; }
a { color: #694f20; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #bd6c29; outline-offset: 4px; }
.wrap { width: min(70rem, 100% - 2.5rem); margin-inline: auto; }
.preview-banner { background: #e9d8b0; color: #342916; padding-block: .4rem; font-size: .875rem; }
.top { background: #fff; border-bottom: 1px solid #e4ddd0; }
.masthead, nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.masthead { justify-content: space-between; padding-block: 1rem; }
nav a, .brand { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.brand { color: #242126; font-family: Georgia,serif; font-size: 1.3rem; font-weight: bold; }
.brand span, footer span { display: block; font: .875rem system-ui,sans-serif; }
nav button { font: inherit; color: #694f20; background: none; border: 0; cursor: pointer; text-decoration: underline; }
.nav-sign { font-weight: 700; }
.hero { background: #211f23; color: #fff; border-bottom: 3px solid #b89a59; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2rem, 6vw, 5.5rem); }
.hero-brand { aspect-ratio: 2.15; overflow: hidden; margin: 0; }
.hero-brand img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-copy { border-inline-start: 1px solid #746241; padding-inline-start: clamp(1.5rem, 4vw, 3rem); }
.hero-copy h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); font-weight: 400; letter-spacing: -.035em; }
h1, h2 { font-family: Georgia,serif; line-height: 1.1; }
h1 { font-size: clamp(2.3rem, 7vw, 5.25rem); margin: 0 0 1.1rem; letter-spacing: -.045em; }
h2 { margin: .25rem 0 .75rem; font-size: 1.65rem; }
.place, .category { font-weight: 700; letter-spacing: .08em; color: #ddc58c; }
.category { color: #694f20; margin: 0; font-size: .875rem; }
.lede { font-size: clamp(1.05rem, 2.5vw, 1.35rem); max-width: 36rem; }
.links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button { display: inline-block; border: 1px solid #694f20; border-radius: .35rem; padding: .6rem .95rem; color: #fff; background: #694f20; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.hero .button { color: #211f23; background: #ddc58c; border-color: #ddc58c; }
.hero .outline { color: #fff; background: transparent; }
.content { padding-block: clamp(2rem, 6vw, 4.5rem); }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,18rem),1fr)); gap: 1rem; margin-top: 1rem; }
article,.form-card { background: white; border: 1px solid #e4ddd0; border-radius: .625rem; padding: clamp(1rem,3vw,2rem); overflow-wrap: anywhere; }
.form-card { max-width: 38rem; }
.form-card h1 { font-size: clamp(2rem,5vw,3.25rem); }
label { display: block; font-weight: 650; }
input:not([type=hidden]),select { display: block; width: 100%; padding: .6rem; border-radius: .25rem; border: 1px solid #827665; font: inherit; }
.helptext { display: block; margin-top: .3rem; }
.errorlist { color: #8a2b22; }
footer { padding-block: 1.4rem; border-top: 1px solid #e4ddd0; background: #eee9df; }
.skip { position: absolute; left: .5rem; top: .5rem; transform: translateY(-200%); background: white; padding: .5rem; }
.skip:focus { transform: none; }

.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; }
.neighborhood-links { margin-block: 0 clamp(2rem, 5vw, 4rem); }
.section-heading h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.about-copy { max-width: 60ch; }
.business-logo { display: block; max-width: 100%; object-fit: contain; object-position: left center; margin-bottom: 1rem; }
.ballot-option { display: flex; align-items: baseline; gap: .5rem; margin-block: .5rem; }
.ballot-option input[type=radio] { width: auto; flex: 0 0 auto; }
.ballot-table { overflow-x: auto; }
.ballot-table table { width: 100%; border-collapse: collapse; }
.ballot-table caption, .ballot-table th, .ballot-table td { text-align: start; padding: .65rem; }
.ballot-table th, .ballot-table td { border-bottom: 1px solid #e4ddd0; }

@media (max-width: 46rem) {
    .hero-layout { grid-template-columns: 1fr; gap: 1rem; }
    .hero-brand { width: min(100%, 35rem); margin-inline: auto; }
    .hero-copy { border-inline-start: 0; border-block-start: 1px solid #746241; padding: 1rem 0 0; }
    nav { gap: .6rem 1rem; }
}
