:root {
  --lake: #1f4e5f;
  --lake-deep: #143642;
  --forest: #2f4a3a;
  --sand: #f6f1e8;
  --sand-2: #ece4d6;
  --ink: #1d2626;
  --muted: #5d6b6a;
  --sunset: #c9774a;
  --line: #ddd3c2;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--sand); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--lake); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--lake-deep); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--sunset); margin-bottom: .6rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246,241,232,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--lake-deep); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.brand svg { width: 30px; height: 30px; color: var(--lake); }
.site-nav { display: flex; align-items: center; gap: .2rem; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: .93rem; font-weight: 500; padding: .45rem .65rem; border-radius: 999px; }
.site-nav a:hover { background: var(--sand-2); }
.site-nav a[aria-current="page"] { color: var(--lake); background: var(--sand-2); }
.site-nav .nav-cta { background: var(--lake); color: #fff; margin-left: .3rem; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--lake-deep); color: #fff; }
.nav-toggle { display: none; font: inherit; font-weight: 600; background: var(--lake); color: #fff; border: 0; border-radius: 999px; padding: .5rem 1rem; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--sand); flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .7rem .8rem; }
  .site-nav .nav-cta { margin: .4rem 0 0; text-align: center; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,36,.05) 30%, rgba(10,30,36,.75)); }
.hero .wrap { position: relative; z-index: 1; padding: 6rem 0 4.5rem; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero p { font-size: 1.2rem; max-width: 46ch; opacity: .95; }
.hero .eyebrow { color: #f3c9a8; }
.page-hero { position: relative; color: #fff; min-height: 340px; display: grid; align-items: end; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,36,.15), rgba(10,30,36,.72)); }
.page-hero .wrap { position: relative; z-index: 1; padding: 4rem 0 2.5rem; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { margin: .5rem 0 0; font-size: 1.15rem; max-width: 52ch; }
.page-hero .eyebrow { color: #f3c9a8; }

.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: .8rem 1.4rem; border-radius: 999px; background: var(--sunset); color: #fff; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: #b06438; }
.btn.ghost { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Sections */
section { padding: 5rem 0; }
section.tight { padding: 3rem 0; }
.alt { background: #fff; }
.dark { background: var(--lake-deep); color: #e8efee; }
.dark h2, .dark h3 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.grid { display: grid; gap: 1.5rem; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; gap: 3rem; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.alt .card { background: var(--sand); }
.card h3 { margin-bottom: .35rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sand-2); color: var(--lake); display: grid; place-items: center; margin-bottom: 1rem; font-size: 1.3rem; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -24px rgba(20,54,66,.5); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.link-card { text-decoration: none; color: inherit; display: block; transition: transform .2s, box-shadow .2s; }
.link-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(20,54,66,.5); }
.link-card .more { color: var(--lake); font-weight: 600; font-size: .95rem; }

/* Notices */
.notice-strip { margin-top: -3rem; position: relative; z-index: 2; }
.notices { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.notice { background: #fff; border-radius: var(--radius); padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-left: 5px solid var(--lake); box-shadow: 0 14px 30px -24px rgba(20,54,66,.6); }
.notice.warn { border-left-color: #c2432f; }
.notice.road { border-left-color: var(--sunset); }
.notice .tag { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.notice h3 { font-size: 1.1rem; margin: .25rem 0 .35rem; }
.notice p { margin: 0; font-size: .95rem; }
.alert { background: #fbeae6; border: 1px solid #ecc2b8; border-left: 5px solid #c2432f; border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.alert h3 { color: #8e2c1e; }

/* Values */
.values { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value { padding: 1.5rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.value h3 { font-size: 1.15rem; }
.value p { margin: 0; font-size: .95rem; opacity: .9; }
blockquote { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.4; margin: 0; padding-left: 1.4rem; border-left: 4px solid var(--sunset); color: var(--lake-deep); }

/* Prose */
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 2.2rem 2.4rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--sand); border: 3px solid var(--lake); }
.timeline .when { font-weight: 600; color: var(--sunset); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.timeline h3 { margin: .2rem 0 .4rem; }

/* Bylaws */
.bylaw { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-bottom: 1.2rem; }
.bylaw-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.pill { font-size: .78rem; font-weight: 600; background: var(--sand-2); color: var(--lake-deep); padding: .25rem .7rem; border-radius: 999px; }
.pill.sun { background: #f6e1d3; color: #8a4b26; }
.bylaw ol { margin: 0; padding-left: 0; list-style: none; }
.bylaw li { margin-bottom: .7rem; padding-left: 2.2rem; position: relative; }
.bylaw li span { position: absolute; left: 0; font-weight: 600; color: var(--lake); }
.bylaw .quote { font-style: italic; margin: 0; }
.toc { position: sticky; top: 90px; }
.toc a { display: block; text-decoration: none; color: var(--muted); padding: .35rem 0; font-size: .95rem; border-left: 2px solid var(--line); padding-left: .9rem; }
.toc a:hover { color: var(--lake); border-color: var(--lake); }
.with-toc { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; display: none; } }

/* Council */
.people { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; display: flex; gap: .9rem; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--lake); color: #fff; display: grid; place-items: center; font-weight: 600; flex: none; }
.person strong { display: block; }
.person span { color: var(--muted); font-size: .92rem; }

/* Form */
.form { display: grid; gap: 1rem; }
.form label { font-weight: 600; font-size: .92rem; display: grid; gap: .35rem; }
.form input, .form select, .form textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--lake); border-color: transparent; }
.form .row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 1rem 1.2rem; border-radius: 10px; font-weight: 500; margin-bottom: 1rem; }
.form-status.ok { background: #e3f1e8; color: #1f5b36; }
.form-status.err { background: #fbeae6; color: #8e2c1e; }

/* Calendar */
.events { display: grid; gap: 1rem; }
.event { display: grid; grid-template-columns: 88px 1fr; gap: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; align-items: start; }
.date { background: var(--lake); color: #fff; border-radius: 12px; text-align: center; padding: .6rem .3rem; line-height: 1.1; }
.date .m { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.date .d { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.date .y { font-size: .78rem; opacity: .8; }
.event h3 { margin-bottom: .3rem; font-size: 1.15rem; }
.event p { margin: 0 0 .4rem; }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 1rem; }
.gallery a { display: block; margin-bottom: 1rem; break-inside: avoid; border-radius: 12px; overflow: hidden; position: relative; }
.gallery img { width: 100%; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .9rem .7rem; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transition: opacity .3s; }
.gallery a:hover span { opacity: 1; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(8,20,24,.9); }
.lightbox img { max-height: 84vh; width: auto; margin: auto; border-radius: 8px; }
.lightbox figcaption { color: #fff; text-align: center; padding-top: .7rem; }
.lightbox figure { margin: 0; }

/* Footer */
.site-footer { background: var(--forest); color: #dfe7e0; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer .muted { color: #b9c7bd; font-size: .88rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: .4rem; }
.footer-head { font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.footer-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; color: #b9c7bd; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,30,36,.55), rgba(10,30,36,0) 70%); }
.hero .wrap, .page-hero .wrap { z-index: 2; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero .eyebrow, .page-hero .eyebrow { color: #ffd9bd; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.three { grid-template-columns: 1fr; } }
