/* Secord Township | StationBridge Digital – resident visual polish v5
   Warm cedar accent applied selectively; focus visibility and reduced motion preserved.
   Substantive township information and Firebase services are untouched. */
:root{--secord-cedar:#c7a260;--secord-cedar-dark:#7d5826;--secord-ink:#153d5c;--secord-pine:#396e55;--secord-soft:#f7f9fa}
html{scroll-behavior:smooth}
body{--action-radius:10px}
/* Integrated utility bar and softened, richer governmental blue. */
.resident-v2 .resident-utility-bar{background:#eaf2f5;border-bottom:2px solid rgba(173,127,63,.65)}
.resident-v2 .homepage-header{background:#14395e}
.resident-v2 .homepage-header .nav-inner{gap:11px}
.resident-v2 .homepage-header .brand-copy strong{letter-spacing:-.033em}
.resident-v2 .homepage-header .nav{gap:2px}
.resident-v2 .homepage-header .nav a{position:relative;border-radius:8px;transition:background-color .18s ease,color .18s ease}
.resident-v2 .homepage-header .nav a.active{background:#244f77;border-bottom:2px solid var(--secord-cedar);color:#fff}
.resident-v2 .homepage-header .nav a:hover{background:#244f77}
.resident-v2 .homepage-header .weather-hub{background:rgba(255,255,255,.045);border-radius:10px;padding-right:7px!important;border:1px solid rgba(255,255,255,.1)!important}
.resident-v2 .homepage-header .weather-now-line strong{font-weight:900!important;font-size:1.22rem!important}
.resident-v2 .homepage-header .weather-now-line b{font-weight:600!important;opacity:.84}
/* Quietly refined search; warm accent only on key interaction. */
.resident-v2 .resident-search-header{background:linear-gradient(115deg,#113755 0%,#1b5075 63%,#1c5775 100%)}
.resident-v2 .resident-big-search{box-shadow:0 9px 21px rgba(4,24,44,.17)}
.resident-v2 .resident-big-search:focus-within{outline:3px solid rgba(199,162,96,.6);border-color:#edd7a8}
.resident-v2 .resident-big-search button{background:#256eaa;transition:background-color .18s ease,box-shadow .18s ease}
.resident-v2 .resident-big-search button:hover{background:#175b8f;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.resident-v2 .search-intro h1{letter-spacing:-.026em}
/* Weekly essentials: deliberate contrast and restrained individual accents. */
.resident-v2 .weekbar{background:#eef4f5;border-bottom-color:#d6e4e8}
.resident-v2 .weekbar-heading{margin-bottom:14px}
.resident-v2 .weekbar-heading h2{font-size:1.16rem}
.resident-v2 .weekbar-grid{gap:13px}
.resident-v2 .weekitem{min-height:112px;padding:17px 17px 16px;border-top:3px solid #b0c6d3;box-shadow:0 5px 14px rgba(12,42,66,.047);transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease}
.resident-v2 .weekitem:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(12,42,66,.085)}
.resident-v2 .weekitem.week-burn{border-top-color:#bc9250;background:#fffefa}
.resident-v2 .weekitem[href^="waste"]:not(.week-burn){border-top-color:#78a28f}
.resident-v2 .weekitem[href^="meetings"]{border-top-color:#547a9d}
.resident-v2 .week-icon{width:41px;height:41px;flex-basis:41px;border-radius:12px;background:#e3eff2;font-size:1.35rem;color:#275875}
.resident-v2 .weekitem.week-burn .week-icon{background:#faf0dd;color:#8c612a}
.resident-v2 .weekitem[href^="waste"] .week-icon{background:#e4f1e9;color:#356f53}
.resident-v2 .week-copy{gap:6px}
.resident-v2 .week-label{font-size:.7rem;letter-spacing:.055em;color:#516c79}
.resident-v2 .week-copy strong{font-size:1.04rem;font-weight:850;line-height:1.3;color:#123955;overflow-wrap:break-word}
.resident-v2 .week-caption{font-size:.78rem;color:#506479;line-height:1.37}
.resident-v2 .weekitem .item-arrow{font-weight:800;color:#476b83}
/* Live fire state: no hue-only meaning; text remains the primary status. */
.resident-v2 .week-burn.is-yes,.resident-v2 .week-burn[data-burn-status="yes"]{border-top-color:#42835d;background:#f4fbf5}
.resident-v2 .week-burn.is-no,.resident-v2 .week-burn[data-burn-status="no"]{border-top-color:#b2754c;background:#fdf7f2}
/* Community photograph: warmer legible overlay, slightly taller on desktop. */
.resident-v2 .lake-photo-feature{height:clamp(215px,21vw,325px);background-image:linear-gradient(90deg,rgba(8,25,39,.70),rgba(9,30,44,.27) 58%,rgba(7,20,36,.1)),linear-gradient(0deg,rgba(5,19,29,.52),transparent 46%),url('https://images.unsplash.com/photo-1439066615861-d1af74d74000?auto=format&fit=crop&w=1600&q=82');box-shadow:inset 0 -18px 25px rgba(7,25,39,.10);background-position:center center,center center,center 57%;background-size:cover,cover,cover;background-repeat:no-repeat}
.resident-v2 .lake-photo-feature .container{padding-bottom:26px}
.resident-v2 .lake-photo-feature p{font-size:clamp(1.38rem,2.0vw,1.78rem);font-weight:700;line-height:1.25;letter-spacing:-.01em;max-width:710px;text-shadow:0 3px 14px rgba(0,0,0,.7)}
.resident-v2 .lake-photo-feature span{display:inline-block;margin-top:7px;padding-top:10px;border-top:2px solid var(--secord-cedar);font-size:.7rem;letter-spacing:.12em}
/* Services: approachable, task-first cards with subtle depth and warm hover. */
.resident-v2 .residents-first-services{background:#f7f9fa;padding:43px 0 49px}
.resident-v2 .section-kicker{color:var(--secord-cedar-dark);font-size:.69rem;letter-spacing:.155em}
.resident-v2 .section-head{margin-bottom:22px}
.resident-v2 .section-head h2{font-size:clamp(1.8rem,2.65vw,2.22rem)}
.resident-v2 .task-grid{gap:14px}
.resident-v2 .task-card{min-height:122px;border-radius:14px;border:1px solid #d6e3e7;background:#fff;padding:18px;box-shadow:0 4px 13px rgba(22,54,71,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.resident-v2 .task-card:hover{transform:translateY(-3px);border-color:#b99558;box-shadow:0 10px 21px rgba(18,52,75,.105)}
.resident-v2 .task-card::before{content:"";position:absolute;left:17px;right:17px;top:-1px;height:3px;background:transparent;border-radius:0 0 3px 3px;transition:background-color .18s ease}
.resident-v2 .task-card:hover::before,.resident-v2 .task-card:focus-visible::before{background:var(--secord-cedar)}
.resident-v2 .task-icon{width:50px;height:50px;flex-basis:50px;border-radius:14px;background:#e7f1f1;color:#2e7080;transition:background-color .18s ease,color .18s ease}
.resident-v2 .task-card:hover .task-icon{background:#fbf1df;color:#815b28}
.resident-v2 .task-text strong{font-size:1.035rem;font-weight:900;letter-spacing:-.006em}
.resident-v2 .task-text>span{font-size:.805rem}
.resident-v2 .task-arrow{color:#537083;background:#eaf1f4;border-radius:99px;width:26px;height:26px;display:grid;place-items:center;top:12px;right:12px;transition:background-color .18s ease,color .18s ease}
.resident-v2 .task-card:hover .task-arrow{color:#6c481b;background:#f7eacf}
/* Public information hierarchy. */
.resident-v2 .resident-current-news{padding:45px 0 50px;background:#f0f5f6}
.resident-v2 .current-news-panel{border-radius:14px;box-shadow:0 7px 22px rgba(10,45,66,.045)}
.resident-v2 .panel-top{padding:19px 22px}
.resident-v2 .panel-top h3{font-size:1.2rem}
.resident-v2 .meeting-highlight strong{font-size:1.48rem}
/* Local hall contact: real imagery balanced with clearly prioritized contact details. */
.resident-v2 .local-help{padding:49px 0;background:#fff}
.resident-v2 .local-help-layout{border-radius:16px;overflow:visible;gap:0;box-shadow:0 10px 28px rgba(9,43,68,.09);background:#f7fafb}
.resident-v2 .local-help-photo{border-radius:15px 0 0 15px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(18,54,82,.1)}
.resident-v2 .local-help-photo img{border-radius:15px 0 0 15px}
.resident-v2 .local-help-content{padding:33px 38px;background:#f7fafb;border-radius:0 15px 15px 0}
.resident-v2 .local-help-content h2{font-size:clamp(1.65rem,2.55vw,2.2rem)}
.resident-v2 .help-contact-inline a{font-size:1.45rem;font-weight:900}
.resident-v2 .help-contact-inline span{font-size:.85rem}
.resident-v2 .hall-counter-hours{padding:12px 14px;border-left:3px solid #c7a260;background:#fffcf5;border-radius:4px;margin-top:12px!important}
.resident-v2 .hall-emergency{background:#eef4f7;border:1px solid #d0e2e9;border-radius:9px;padding:12px 14px;margin-bottom:18px!important;color:#24475e!important}
.resident-v2 .hall-emergency strong{color:#173f60}
.resident-v2 .help-actions{margin-top:13px}
/* Whole-site typography, section rhythm, interactive controls and accessible focus. */
.resident-v2 .button-solid,.resident-subpage .button-solid,.resident-v2 .resident-big-search button{background:#226b9d}
.resident-v2 .button-solid:hover,.resident-subpage .button-solid:hover{background:#164f79}
.resident-v2 .button-outline,.resident-subpage .button-outline{border-color:#b4cbd5}
.resident-v2 .button-outline:hover,.resident-subpage .button-outline:hover{background:#eff6f5;border-color:#789c99}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid var(--secord-cedar)!important;outline-offset:3px!important}
.resident-v2 .footer,.resident-subpage .footer,.footer{border-top:3px solid #b69457;background:#15314d}
.footer-grid{column-gap:28px;row-gap:25px}
.footer .concept-by img.sb-logo{max-width:138px;height:auto;object-fit:contain;margin-top:8px;filter:none}
/* Assessor: new contact email and explicitly preferred calling order. */
.assessor-feature{border-color:#c7dfe1!important;box-shadow:0 5px 17px rgba(14,58,80,.06)}
.assessor-feature .assessor-primary-label,.contact-task .assessor-primary-label{font-size:.7rem!important;letter-spacing:.1em;font-weight:900;color:#78561f!important;margin:12px 0 5px!important;text-transform:uppercase}
.assessor-feature .assessor-primary{background:#f3f8f6;border-left:3px solid #588c75;padding:9px 11px;border-radius:4px}
.assessor-feature .assessor-primary .directory-label{font-weight:900;color:#194e40}
.assessor-feature .assessor-secondary{opacity:.92}
.contact-task .assessor-reach{padding:8px 12px;border-left:3px solid #5e9279;background:#f4faf6;display:flex;flex-wrap:wrap;gap:5px 14px;justify-content:space-between;align-items:center;margin:8px 0!important}
.contact-task .assessor-reach.assessor-assist{background:#f7fafb;border-left-color:#aec1cc}
.contact-task .assessor-reach strong{font-weight:850;color:#143a55}
/* Improved detail pages, without a new generic design system. */
.resident-subpage-main .detail-card,.resident-subpage-main .contact-task{border-radius:14px}
.resident-subpage .subpage-intro{background:linear-gradient(120deg,#163b58,#266080)}
/* Small screens: no extra hero scrolling; good rhythm and tap areas. */
@media (max-width:900px){
 .resident-v2 .homepage-header .weather-hub{border:0!important}
 .resident-v2 .lake-photo-feature{height:240px}
 .resident-v2 .local-help-layout{grid-template-columns:1fr}
 .resident-v2 .local-help-photo{border-radius:14px 14px 0 0;min-height:225px}
 .resident-v2 .local-help-photo img{border-radius:14px 14px 0 0}
 .resident-v2 .local-help-content{border-radius:0 0 14px 14px}
}
@media(max-width:650px){
 .resident-v2 .weekbar{padding:15px 0 21px}
 .resident-v2 .weekbar-grid{gap:10px}
 .resident-v2 .weekitem{min-height:110px;padding:15px 13px 14px}
 .resident-v2 .week-icon{width:38px;height:38px;flex-basis:38px;font-size:1.2rem}
 .resident-v2 .week-copy strong{font-size:.97rem}
 .resident-v2 .week-caption{font-size:.75rem}
 .resident-v2 .lake-photo-feature{height:205px}
 .resident-v2 .lake-photo-feature .container{padding-bottom:20px}
 .resident-v2 .lake-photo-feature p{font-size:1.35rem}
 .resident-v2 .residents-first-services{padding:33px 0 39px}
 .resident-v2 .task-grid{gap:10px}
 .resident-v2 .task-card{min-height:114px;padding:14px}
 .resident-v2 .task-icon{width:43px;height:43px;flex-basis:43px}
 .resident-v2 .task-icon svg{width:23px;height:23px}
 .resident-v2 .task-text strong{font-size:.98rem}
 .resident-v2 .local-help{padding:32px 0}
 .resident-v2 .local-help-content{padding:24px 20px}
 .resident-v2 .help-contact-inline a{font-size:1.3rem}
 .resident-v2 .current-news-panel{border-radius:11px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.resident-v2 .task-card,.resident-v2 .weekitem,.resident-v2 .task-icon,.resident-v2 .task-arrow,.resident-v2 .homepage-header .nav a,.resident-v2 .resident-big-search button{transition:none!important;transform:none!important}}
