/* The two municipal views share their controls and retain the site's green identity. */
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #0065a1; outline-offset: 3px; }
.home { background: #f7f8f3; }
.home .site-header { background: #fcfdf9; }
.home .hero { padding: clamp(12px,2vw,30px) 0 0; }
.home .hero-grid {
  display: grid; grid-template-columns: 1fr; position: relative; isolation: isolate; border-radius: 22px;
  background: #102f28; padding: 0; overflow: hidden; box-shadow: 0 10px 28px #193f2c10;
}
.home .hero-art { position: absolute; inset: 0; z-index:-2; margin:0; min-height:0; width:100%; max-width:none; height:100%; padding:0; aspect-ratio:auto; border:0; border-radius:0; }
.home .hero-art img { position: absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:60% 57%; border-radius:0; }
.home .hero-grid::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(92deg,#092c27 0%,#0b302bf2 28%,#0b302bbd 49%,#0b302b20 75%),linear-gradient(0deg,#152f2c62,transparent 40%); }
.home .hero-copy { padding:clamp(36px,4vw,66px); width:min(660px,64%); }
.home .hero-copy .eyebrow { display:flex; align-items:center; gap:10px; font:650 .78rem/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:.14em; color:#e2f1d6; margin-bottom:17px; }
.home .hero-copy .eyebrow i { width:31px; height:2px; background:#b4d792; }
.home .hero-copy h1 { font:normal clamp(3.2rem,6.05vw,6.25rem)/.99 Georgia,serif; letter-spacing:-.025em; color:#fffef4; margin:0 0 12px; }
.home .hero-copy .hero-lead { color:#e2f0ce; font:italic clamp(1.3rem,2.45vw,2.25rem)/1.2 Georgia,serif; margin:0 0 16px; }
.home .hero-copy p:not(.hero-lead) { max-width:43ch; font-size:1.04rem; line-height:1.58; color:#f1f5ed; }
.home .hero-actions { display:flex; flex-flow:row wrap; align-items:center; gap:10px; margin-top:22px; }
.home .hero-actions a { display:inline-flex; align-items:center; gap:8px; font:650 .94rem/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; padding:12px 16px; border-radius:8px; border:1px solid transparent; }
.home .hero-actions svg,.hero-discover svg { width:20px; height:20px; flex-shrink:0; }
.home .hero-actions .button { color:#163d2f; background:#e4edd0; }
.home .hero-actions .text-link { color:white; background:#163b33ca; border-color:#a1b6a6; text-decoration:none; }
.home .hero-actions a:hover { background:white; color:#133b2d; }
.home .hero-discover { position:absolute; bottom:22px; right:24px; display:flex; align-items:center; gap:10px; padding:10px 15px; border-radius:30px; background:#12352eea; color:#fff; font-size:.9rem; font-weight:600; text-decoration:none; border:1px solid #c7d7bc80; }
.hero-discover svg { color:#d1e8b9; }
.home .hero-discover:hover { background:#174e40; text-decoration:underline; }
.home .hero-grid a:focus-visible { outline-color:#fff; }
.home .quick-services { padding-block:clamp(28px,3.1vw,46px) 0; }
.portal-section-head,.portal-subhead { display:flex; align-items:center; gap:14px; }
.portal-section-head { justify-content:space-between; flex-wrap:wrap; margin:0 0 16px; }
.home .quick-services h2,.portal-subhead h2 { margin:0; letter-spacing:-.04em; color:#193e31; font:normal clamp(1.8rem,3vw,2.55rem)/1.13 Georgia,serif; }
.town-picker { display:inline-flex; gap:3px; align-items:center; padding:4px; background:#e7ede2; border:1px solid #cdd8c9; border-radius:30px; color:#244c39; }
.town-picker>svg { width:19px; height:19px; margin-inline:8px 2px; }
.town-picker button { font:650 .9rem/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; border:0; min-height:36px; padding:7px 14px; cursor:pointer; background:transparent; color:#304c3d; border-radius:24px; }
.town-picker button:hover { background:#f6f9f0; }
.town-picker button[aria-pressed=true] { background:#214c3c; color:#fff; }
.page-intro .town-picker { margin-top:14px; }
.task-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; }
.home .quick-services .task-card { display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:5px; min-height:0; padding:21px; background:#fff; border:1px solid #d6dfd3; border-radius:14px; text-decoration:none; color:#1b362a; box-shadow:0 4px 13px #233a2705; }
.task-icon { display:grid; place-items:center; width:42px; height:42px; margin:0 0 9px; border-radius:12px; background:var(--tile-bg,#e6edde); color:var(--tile-fg,#42613b); }
.task-icon svg { width:24px; height:24px; }
.task-calculator { --tile-bg:#e1efea; --tile-fg:#245e55; }
.task-meter { --tile-bg:#e4eef5; --tile-fg:#2e6076; }
.task-folder { --tile-bg:#f6ebda; --tile-fg:#81602a; }
.task-card strong { font:650 clamp(1.04rem,1.45vw,1.27rem)/1.32 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:-.025em; }
.task-card .task-detail { font-size:.92rem; font-weight:400; line-height:1.45; color:#506458; }
.home .quick-services .task-card:hover,.news-story:hover { border-color:#80a08d; box-shadow:0 7px 17px #193f2c0c; }
.portal-columns { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:clamp(24px,4.4vw,66px); padding-block:clamp(34px,4.8vw,70px); }
.portal-subhead { padding-bottom:14px; border-bottom:1px solid #c6d5c7; margin-bottom:2px; gap:10px; }
.portal-subhead>svg { width:24px; height:24px; color:#427156; }
.portal-subhead h2 { font-size:clamp(1.65rem,2.6vw,2.25rem); }
.news-story,.agenda-entry { border-bottom:1px solid #d6dfd4; padding:16px 0; }
.news-story { display:block; text-decoration:none; }
.news-story:hover { box-shadow:none; }
.news-location,.agenda-town { display:inline-flex; gap:4px; align-items:center; font:650 .8rem/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#3e654f; }
.news-location svg { width:14px; height:14px; }
.news-story h3,.agenda-entry h3 { font:normal 1.4rem/1.3 Georgia,serif; margin:4px 0; color:#183c2b; }
.news-story:hover h3 { text-decoration:underline; text-underline-offset:3px; }
.news-story p,.agenda-entry p { font-size:1rem; line-height:1.5; color:#4e6156; margin:0; }
.agenda-entry { display:grid; grid-template-columns:3.4rem minmax(0,1fr); gap:15px; }
.calendar-tile { display:flex; flex-direction:column; justify-content:center; border-radius:9px; background:#e6eddf; color:#2d503c; align-items:center; align-self:start; padding:6px; }
.calendar-tile b { font:normal 1.7rem/1 Georgia,serif; }
.calendar-tile small { font:650 .72rem/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:.08em; }
.agenda-entry a,.period-details a { font-size:.92rem; line-height:1.6; text-decoration:underline; text-underline-offset:3px; }
.agenda-entry .actions { margin-top:5px; gap:4px 15px; }
.period-details,.portal-agenda #past-events { margin-top:12px; border:0; background:transparent; padding:0; }
.portal-agenda summary { cursor:pointer; font-size:.96rem; color:#325440; font-weight:600; }
.period-details .service-card { margin-top:8px; background:#fff; padding:15px; }
@media (prefers-reduced-motion:no-preference) {
  .task-card,.hero-actions a,.town-picker button,.hero-discover { transition:background-color .16s,box-shadow .16s,border-color .16s,transform .16s; }
  .task-card:hover { transform:translateY(-2px); }
}
@media(max-width:900px){
  .home .hero-copy { width:min(76%,610px); }
  .task-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home .quick-services .task-card { display:grid; grid-template-columns:42px minmax(0,1fr); gap:3px 12px; align-items:center; }
  .task-icon { grid-row:span 2; margin:0; }
  .home .hero-discover { right:14px; bottom:14px; }
}
@media(max-width:700px){
  .home .hero-grid { border-radius:17px; }
  .home .hero-copy { padding:32px 23px 86px; width:100%; }
  .home .hero-grid::before { background:linear-gradient(100deg,#0a3029f7,#0a3029d9 55%,#0a302966),linear-gradient(0deg,transparent 8%,#193e3070 50%); }
  .home .hero-art img { object-position:65% center; }
  .home .hero-copy h1 { font-size:clamp(2.55rem,10vw,4rem); }
  .home .hero-copy p:not(.hero-lead) { font-size:1rem; max-width:32ch; }
  .home .hero-copy .eyebrow { font-size:.72rem; }
  .home .hero-actions { gap:8px; }
  .home .hero-actions a { padding:10px 12px; }
  .home .hero-discover { left:22px; right:auto; bottom:21px; font-size:.86rem; padding:8px 12px; }
  .portal-columns { grid-template-columns:minmax(0,1fr); gap:28px; }
  .portal-section-head { gap:12px; }
  .task-cards { gap:8px; }
  .home .quick-services .task-card { display:flex; padding:14px; gap:5px; }
  .task-icon { width:36px; height:36px; margin-block:0 3px; }
  .task-card .task-detail { font-size:.89rem; }
}
@media(max-width:360px){
  .home .hero-copy h1 { font-size:clamp(2.25rem,11.3vw,2.55rem); }
  .town-picker button { padding-inline:10px; }
  .home .quick-services .task-card { padding:10px; }
}
@media print {
  .town-picker,.hero-discover { display:none!important; }
  .home .hero-copy { width:100%; padding:0; }
  .home .hero-grid::before { display:none; }
  .home .hero-copy :is(h1,p,span) { color:#000!important; }
}
.home .quick-services .task-detail { white-space:normal; max-width:100%; }
@media(max-width:700px){ .home .quick-services .task-card { align-items:flex-start; } }
.portal-tariff-link { display:inline-block; margin-top:13px; font-size:1rem; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.portal-news #older-news { margin-block:10px; }
.portal-news summary { cursor:pointer; color:#325440; font-size:.96rem; font-weight:600; }
