:root {
  color-scheme: light;
  --navy: #0b2d5b;
  --green: #347b39;
  --ink: #17304b;
  --muted: #4b6071;
  --paper: #f5f7f4;
  --border: #dae3d9;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 Arial, sans-serif; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #bd6b1d; outline-offset: 4px; }
h1, h2, h3 { margin: 0 0 .65em; line-height: 1.12; }
h1 { max-width: 22ch; font-size: clamp(2.15rem, 5.5vw, 4.25rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.025em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(90%, 73rem); margin-inline: auto; }
.skip { position: absolute; z-index: 1; top: 0; left: 1rem; padding: .6rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.preview { padding: .35rem 5%; background: #e8eddf; text-align: center; font-size: .875rem; }
header { background: #fff; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.header { padding-block: 1.15rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--navy); text-decoration: none; font-size: 1.22rem; font-weight: 800; line-height: 1.15; }
.brand strong { color: var(--green); }
.brand small { display: block; margin-top: .25rem; font-size: .77rem; font-weight: 600; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.15rem; }
nav a { font-size: .95rem; font-weight: 700; }
header nav a { text-decoration: none; }
header nav a:hover, header nav a[aria-current="page"]:not(.button) { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .64rem 1rem; border: 1px solid transparent; border-radius: .38rem; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; }
.button:hover { background: #28642d; }
.hero { padding-block: clamp(3rem, 7vw, 6rem); background: linear-gradient(108deg, var(--navy) 25%, #16494e); color: #fff; }
.hero .eyebrow { margin-bottom: 1rem; color: #dcecca; font-size: .875rem; font-weight: bold; text-transform: uppercase; letter-spacing: .09em; }
.hero h1 { margin-bottom: .45em; }
.hero p { max-width: 51ch; font-size: 1.125rem; }
.inner-hero { padding-block: clamp(2.5rem, 6vw, 4rem); }
.inner-hero h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); }
.inner-hero p { margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.outline { background: transparent; border-color: #fff; }
.outline:hover { background: #ffffff24; }
.content { padding-block: clamp(1.8rem, 4vw, 3.25rem); }
.tiles, .communities-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card { display: block; padding: 1.3rem; text-decoration: none; background: #fff; border: 1px solid var(--border); border-radius: .55rem; box-shadow: 0 4px 14px #0b2d5b0b; }
.card:hover { border-color: var(--green); }
.card:hover h3 { text-decoration: underline; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 2.6rem; height: 2.6rem; padding: .5rem; margin-bottom: .7rem; border-radius: .45rem; background: #eef5e9; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.communities { background: #eaf0e8; }
.communities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reading { max-width: 46rem; }
.reading h2:not(:first-child) { margin-top: 1.65rem; }
.reading dt { font-weight: 700; }
.reading dd { margin: 0 0 .65rem; }
.notice { padding: 1.25rem; margin-bottom: 1rem; border-left: .25rem solid var(--green); background: #e8eddf; }
.notice h2 { font-size: 1.2rem; }
.notice p { margin: 0; }
footer { background: var(--navy); color: #fff; padding-block: 1.8rem; }
footer p { margin: .22rem 0 0; }
@media (max-width: 55rem) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) {
  .tiles, .communities-grid { grid-template-columns: 1fr; }
  .hero h1 br { display: none; }
  .header nav { gap: .45rem .9rem; }
}

.home-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3.5rem, 7.5vw, 7rem); }
.home-hero .wrap { position: relative; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; z-index: -2; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #071e42fa, #0b2d5be8 36%, #0b2d5b40 75%, #0b2d5b1a); }
.home-hero h1 { max-width: 21ch; }
.community-card { padding: 0; overflow: hidden; }
.community-card img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.community-card > div { padding: 1.3rem; }
@media (max-width: 40rem) {
  .hero-photo { object-position: 60% center; }
  .home-hero::before { background: linear-gradient(90deg, #071e42f5, #0b2d5ba6); }
}

.proposal-form { background: #fff; border: 1px solid var(--border); border-radius: .55rem; padding: clamp(1rem, 4vw, 2rem); }
.proposal-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.proposal-form label { display: block; font-weight: 700; margin-bottom: .35rem; }
.proposal-form :is(input, select, textarea) { width: 100%; min-height: 2.75rem; padding: .55rem .65rem; border: 1px solid #7a8a98; border-radius: .35rem; background: #fff; color: var(--ink); font: inherit; }
.proposal-form textarea { display: block; resize: vertical; }
.proposal-form button { margin-top: 1rem; font: inherit; font-weight: 700; }
.proposal-form button:disabled { background: #e2e8e1; color: #455653; cursor: not-allowed; }
@media (max-width: 38rem) { .proposal-fields { grid-template-columns: 1fr; } }

.resident-login { max-width: 28rem; margin-inline: auto; }
.resident-login label { margin-top: 1rem; }
.resident-login input:disabled { background: var(--paper); opacity: 1; }
.resident-login button { width: 100%; }
.resident-login-note { margin: 1rem 0 0; color: var(--muted); font-size: .9375rem; }
