/* Option A: Lake & Slate. Navy header, bright lake blue accent, cool slate greys */
:root{--bg:#f5f7fa;--surface:#fff;--text:#334155;--heading:#0f172a;--muted:#64748b;--border:#e2e8f0;
--primary:#1d6fd1;--primary-strong:#1559aa;--link:#1d6fd1;--link-hover:#1559aa;
--header-bg:#0f2742;--header-text:#fff;--header-link:#cbd5e1;--header-hover:rgba(255,255,255,.1);--header-border:#0f2742;
--hero-from:#0f2742;--hero-to:#1d6fd1;--table-head:#f1f5f9;--row-hover:#f8fafc;--notice-bg:#eaf2fc;--footer-bg:#0f2742;--footer-text:#94a3b8}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--text);background:var(--bg);line-height:1.65;font-size:17px}
h1,h2,h3{line-height:1.25;color:var(--heading);letter-spacing:-.01em}
h1{font-size:clamp(1.7rem,4vw,2.3rem)}
h2{font-size:1.4rem;margin-top:0}
a{color:var(--link);text-underline-offset:3px}
a:hover{color:var(--link-hover)}
header{background:var(--header-bg);color:var(--header-text);border-bottom:1px solid var(--header-border);position:sticky;top:0;z-index:10}
.nav{max-width:1080px;margin:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:14px 20px;gap:10px}
.nav .brand{font-weight:700;font-size:1.15rem;color:var(--header-text);text-decoration:none;letter-spacing:-.01em}
.nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0}
.nav ul a{color:var(--header-link);text-decoration:none;padding:6px 12px;border-radius:999px;font-size:.95rem;font-weight:500}
.nav ul a:hover{background:var(--header-hover);color:var(--header-text)}
.nav ul li:last-child a{background:var(--primary);color:#fff}
.nav ul li:last-child a:hover{background:var(--primary-strong)}
.hero{background:linear-gradient(135deg,var(--hero-from),var(--hero-to));color:#fff;text-align:center;padding:88px 20px 96px}
.hero h1{font-size:clamp(2rem,5vw,3.1rem);margin:0 0 10px;color:#fff}
.hero p{font-size:1.15rem;margin:0;opacity:.9}
main{max-width:1080px;margin:auto;padding:40px 20px}
section{margin-bottom:48px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px 20px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.card img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;background:var(--border)}
.card h3{margin:.4em 0 .1em}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:var(--border)}
.role{color:var(--primary);font-weight:600;margin:0;font-size:.95rem}
table{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}
th{background:var(--table-head);color:var(--heading);font-size:.85rem;text-transform:uppercase;letter-spacing:.04em}
th,td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--border)}
tr:last-child td{border-bottom:0}
tbody tr:hover{background:var(--row-hover)}
.notice{background:var(--notice-bg);border-left:4px solid var(--primary);padding:12px 16px;border-radius:8px;color:var(--text)}
.button{display:inline-block;background:var(--primary);color:#fff;padding:10px 18px;border-radius:8px;text-decoration:none;font-weight:600}
.button:hover{background:var(--primary-strong);color:#fff}
.drive-embed{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}
.drive-embed iframe{width:100%;height:420px;border:0;display:block}
footer{background:var(--footer-bg);color:var(--footer-text);text-align:center;padding:28px 20px;font-size:.9rem}
@media (max-width:600px){.nav{justify-content:center}.hero{padding:64px 16px 72px}body{font-size:16px}}
nav.card{margin-bottom:32px}
.hero{background-size:cover;background-position:center 28%}
.hero.has-photo{padding:120px 20px 128px}
.gallery-rotator{position:relative;border-radius:12px;overflow:hidden;background:var(--header-bg);aspect-ratio:16/9}
.gallery-rotator .slides,.gallery-rotator .slide{position:absolute;inset:0;margin:0}
.gallery-rotator .slide{opacity:0;transition:opacity .8s ease}
.gallery-rotator .slide.active{opacity:1}
.gallery-rotator img{width:100%;height:100%;object-fit:contain;display:block}
.gallery-rotator figcaption{position:absolute;left:0;right:0;bottom:0;padding:28px 18px 34px;color:#fff;font-size:.95rem;background:linear-gradient(transparent,rgba(15,23,42,.7))}
.gallery-rotator .prev,.gallery-rotator .next{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.85);color:var(--heading);font-size:28px;line-height:1;cursor:pointer}
.gallery-rotator .prev{left:12px}.gallery-rotator .next{right:12px}
.gallery-rotator .dots{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:8px}
.gallery-rotator .dots button{width:10px;height:10px;border-radius:50%;border:0;background:rgba(255,255,255,.5);padding:0;cursor:pointer}
.gallery-rotator .dots button.active{background:#fff}
.gallery-rotator.single .prev,.gallery-rotator.single .next,.gallery-rotator.single .dots{display:none}
@media (max-width:600px){.hero.has-photo{padding:80px 16px 88px}.gallery-rotator{aspect-ratio:4/3}}

/* Community Info */
.emergency{display:flex;align-items:center;gap:18px;background:#fdecec;border:1px solid #f5c2c2;border-left:6px solid #c62828;border-radius:12px;padding:16px 20px;margin-bottom:8px;color:#3b0d0d}
.emergency-num a{display:block;font-size:2.2rem;font-weight:800;color:#c62828;text-decoration:none;line-height:1}
.info-table td.phone{white-space:nowrap;font-weight:600}
.info-table td.phone a{text-decoration:none}
.info-table td:first-child{width:34%}
.ferry-table{max-width:620px}
.ferry-table td{font-variant-numeric:tabular-nums}
.tag{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:var(--notice-bg);color:var(--primary);font-size:.78rem;font-weight:600}
.small{font-size:.9rem;color:var(--muted,#64748b)}
.sources{margin-top:40px;border-top:1px solid var(--border);padding-top:16px}
.map-embed{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}
.map-embed iframe{width:100%;height:440px;border:0;display:block}
@media (max-width:600px){.info-table thead{display:none}.info-table tr{display:block;padding:10px 14px;border-bottom:1px solid var(--border)}.info-table td{display:block;padding:2px 0;border:0;width:auto!important}.info-table td:first-child{font-weight:600}.info-table td:empty{display:none}.map-embed iframe{height:340px}}
.emergency{margin-bottom:24px}
.info-table{table-layout:fixed}
.info-table th:nth-child(1){width:34%}.info-table th:nth-child(2){width:22%}
.ferry-table td{padding-top:8px;padding-bottom:8px}
@media (max-width:600px){.info-table{table-layout:auto}}

/* Recently posted documents (Home) */
.recent-docs{list-style:none;margin:0;padding:6px 20px}
.recent-docs li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:12px 0;border-bottom:1px solid var(--border)}
.recent-docs li:last-child{border-bottom:0}
.recent-docs a{font-weight:600}
.recent-docs .posted{color:var(--muted);font-size:.9rem}

/* Reservation research page (Board Area) */
.research .eyebrow{font-size:.85rem;color:var(--muted);margin:0 0 6px}
.research .lede{font-size:1.1rem;color:var(--muted);max-width:48rem}
.research section{scroll-margin-top:16px}
.facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.fact{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.fact span{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--primary);font-weight:700}
.fact b{color:var(--heading);line-height:1.3}
.fact small{color:var(--muted);font-size:.85rem}
.timeline{list-style:none;margin:16px 0;padding:0 0 0 22px;border-left:3px solid var(--border)}
.timeline li{position:relative;margin:0 0 8px}
.timeline li::before{content:"";position:absolute;left:-30px;top:14px;width:13px;height:13px;border-radius:50%;background:var(--surface);border:3px solid var(--border)}
.timeline li.key::before{background:var(--primary);border-color:var(--primary)}
.timeline details{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:8px 14px}
.timeline summary{cursor:pointer;font-weight:600;color:var(--heading)}
.timeline time{display:inline-block;min-width:7.5em;color:var(--primary);font-variant-numeric:tabular-nums}
.timeline details p{margin:8px 0 4px}
.split{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:28px;align-items:start}
.township{margin:0;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px}
.twp-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:3px;aspect-ratio:1;margin-bottom:12px}
.twp-grid button{border:1px solid var(--border);background:var(--bg);border-radius:4px;font-family:inherit;font-size:.85rem;font-weight:600;line-height:1;color:var(--muted);cursor:pointer;padding:0}
.twp-grid button:hover,.twp-grid button:focus-visible{background:var(--notice-bg);color:var(--heading);outline:2px solid var(--primary)}
.twp-grid .c36{background:#ff8a1f;color:#fff;border-color:#e0700a}
.twp-grid .c16{background:#fde3c8;color:#8a4a0c}
.township figcaption{font-size:.9rem;color:var(--text)}
b.c36{color:#d96a00}b.c16{color:#a35a10}
.twp-readout{font-size:.88rem;background:var(--notice-bg);border-radius:8px;padding:8px 10px;margin:10px 0 0;min-height:3.2em}
.maplayout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
.mapcol{display:flex;flex-direction:column;gap:10px;min-width:0}
.research .tabs{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}
.research .tabs button,.filter button{font-family:inherit;font-size:.9rem;font-weight:600;border:1px solid var(--border);background:var(--surface);color:var(--heading);padding:7px 14px;border-radius:999px;cursor:pointer}
.research .tabs button[aria-pressed="true"],.research .tabs button[aria-selected="true"],.filter button[aria-pressed="true"]{background:var(--primary);border-color:var(--primary);color:#fff}
.mapwrap{position:relative;background:#1c2430;border-radius:12px;overflow:hidden;touch-action:none;cursor:grab;min-height:200px}
.mapwrap.drag{cursor:grabbing}
.mapwrap svg{display:block;width:100%;height:auto;user-select:none}
.mapwrap .tools{position:absolute;top:10px;right:10px;display:flex;flex-direction:column;gap:4px}
.mapwrap .tools button{width:34px;height:34px;border:0;border-radius:6px;background:rgba(15,23,42,.82);color:#fff;font:600 18px/1 sans-serif;cursor:pointer}
.mapwrap .scale{position:absolute;left:10px;bottom:10px;background:rgba(15,23,42,.78);color:#fff;font:500 12px ui-monospace,monospace;padding:4px 8px;border-radius:4px}
.maploading{position:absolute;inset:0;display:grid;place-items:center;color:#cbd5e1}
.mapwrap .lbl{font-family:ui-monospace,Menlo,monospace;font-weight:600;paint-order:stroke;stroke:rgba(0,0,0,.75);fill:#fff;text-anchor:middle;dominant-baseline:central;pointer-events:none}
.mapwrap .lbl.s36{fill:#ff8a1f}
.mapwrap .tlbl{font-weight:700;paint-order:stroke;stroke:rgba(0,0,0,.8);fill:#ffd84a;text-anchor:middle;dominant-baseline:central;pointer-events:none;letter-spacing:.04em}
.mapside{display:flex;flex-direction:column;gap:14px}
.mapside h3{margin:0 0 8px}
.mapside p{font-size:.92rem;margin:0 0 10px}
.layer{display:flex;align-items:center;gap:10px;font-size:.93rem;cursor:pointer;margin:6px 0}
.layer input{width:16px;height:16px;accent-color:var(--primary);margin:0}
.sw{width:26px;height:14px;flex:none;border-radius:3px;background:#475569}
.sw.sec{box-shadow:inset 0 0 0 2px #fff}
.sw.s36{background:#c46a1d;box-shadow:inset 0 0 0 2px #ff8a1f}
.sw.twp{box-shadow:inset 0 0 0 3px #ffd84a}
.sw.res{background:repeating-linear-gradient(90deg,#45e0e6 0 6px,#475569 6px 10px);height:4px}
.sw.east{background:repeating-linear-gradient(45deg,#e86bd6 0 2px,#475569 2px 6px)}
.sw.num{background:none;font:700 12px ui-monospace,monospace;color:var(--heading);text-align:center}
.position h3{margin-top:0}
.case{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px 18px;margin-bottom:12px}
.case summary{cursor:pointer;display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;color:var(--heading)}
.case summary span{color:var(--muted);font-size:.9rem}
.holdings{list-style:none;padding:0}
.holdings li{margin:8px 0}
.research .tag{display:inline-block;margin:0 6px 4px 0;padding:2px 9px;border-radius:999px;background:var(--notice-bg);color:var(--primary);font-size:.78rem;font-weight:700}
.research .tag.ok{background:#e5f4e4;color:#1f6b2a}
.research .tag.no{background:#fbebeb;color:#a32020}
.research .tag.open{background:#f9eeda;color:#8a5a00}
.research blockquote{margin:14px 0;padding:10px 16px;border-left:4px solid var(--primary);background:var(--notice-bg);border-radius:6px;font-style:italic}
.filter{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:10px 0 12px}
.filter span{font-weight:600;margin-right:4px}
table.enforce td:first-child{width:34%;font-weight:600;color:var(--heading)}
.bounds li,.checklist li{margin:6px 0}
.sources{font-size:.9rem}
.sources li{margin:4px 0}
#sources summary{cursor:pointer;font-weight:600;color:var(--primary)}
@media (max-width:900px){.maplayout{grid-template-columns:1fr}}
@media (max-width:700px){.split{grid-template-columns:1fr}.township{max-width:340px}table.enforce td:first-child{width:auto}table.enforce thead{display:none}table.enforce tr{display:block;padding:10px 14px;border-bottom:1px solid var(--border)}table.enforce td{display:block;padding:2px 0;border:0}}
.maploading[hidden]{display:none}
.news{display:flex;flex-direction:column;gap:12px}
@media (max-width:700px){.timeline time{display:block;min-width:0}}

/* Email sign-up (Home) */
.signup label{display:block;margin-bottom:10px}
.signup-row{display:flex;flex-wrap:wrap;gap:8px}
.signup-row input{flex:1 1 220px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;font:inherit}
.signup-row button{border:0;cursor:pointer;font:inherit;font-weight:600}
