/* -- Shared chrome fallbacks (pages without their own local reset, e.g. Astro blog output) -- */
.frame{max-width:1440px;margin:0 auto;padding:0 48px;box-sizing:border-box;}
@media(max-width:768px){.frame{padding:0 20px;}}
.topbar a,.navlinks a,.mobile-nav a,.footer-plain-link,.footer-col ul li a,.footer-bottom-links a,.footer-contact-line a,.footer-col h3 a,.footer-top-phone a{text-decoration:none;}

/* -- Topbar --------------------------------------------------------- */
.topbar{height:42px;background:linear-gradient(90deg,#031225,#082b54);color:#dfefff;font-size:13px;letter-spacing:.02em;}
.topbar-inner{max-width:1440px;margin:0 auto;padding:0 48px;height:100%;display:flex;align-items:center;justify-content:space-between;}
.topbar b{color:white;}
.brandline{display:inline-flex;align-items:center;gap:9px;font-weight:600;letter-spacing:.015em;color:inherit;text-decoration:none;transition:transform .18s ease;transform-origin:left center;}
.brandline:hover{transform:scale(1.05);}
.brandline strong{font-weight:800;background:linear-gradient(90deg,#a7e9ff,#7bd742);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
.brandline .spark{color:#7bd742;font-size:11px;filter:drop-shadow(0 0 6px rgba(123,215,66,.55));}
.topbar-right{display:flex;align-items:center;gap:22px;}
.topbar-links{display:flex;align-items:center;gap:18px;}
.topbar-links a{color:#a6d8ff;font-weight:700;transition:color .15s;}
.topbar-links a:hover{color:#fff;}
.topbar-res{position:relative;}
.topbar-res:hover .topbar-dropdown{display:block;}
.topbar-dropdown{display:none;position:absolute;top:100%;left:0;padding-top:8px;background:transparent;z-index:150;}
.topbar-dropdown-inner{background:#0a2444;border:1px solid rgba(149,219,255,.2);border-radius:10px;padding:8px;min-width:200px;box-shadow:0 20px 40px rgba(0,0,0,.4);}
.topbar-dropdown a{color:#dcecff;}
.topbar-dropdown a{display:block;padding:8px 12px;border-radius:6px;font-size:12.5px;white-space:nowrap;}
.topbar-dropdown a:hover{background:rgba(255,255,255,.06);}
@media(max-width:768px){.topbar{display:none;}}

/* -- Nav ------------------------------------------------------------ */
.nav{background:rgba(255,255,255,.97);border-bottom:1px solid rgba(7,40,80,.10);position:sticky;top:0;z-index:100;box-shadow:0 2px 18px rgba(0,0,0,.06);}
.nav-inner{height:100px;display:flex;align-items:center;justify-content:space-between;max-width:1440px;margin:0 auto;padding:0 48px;box-sizing:border-box;}
.logo{flex-shrink:0;}
.logo img{height:70px;width:auto;}
.navlinks{display:flex;align-items:center;gap:28px;font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#10233c;}
.navlinks a{color:#10233c;white-space:nowrap;transition:color .15s;}
.navlinks a.nav-phone{display:none;}
.navlinks a:hover{color:var(--blue);}
.navlinks a.active{color:var(--blue);border-bottom:2px solid var(--blue);padding-bottom:2px;}
.navcta{background:linear-gradient(135deg,var(--green),#4a9f26);color:#fff !important;padding:11px 18px;border-radius:8px;box-shadow:0 8px 22px rgba(86,178,48,.28);white-space:nowrap;border-bottom:none !important;}
.navcta:hover{opacity:.92;}
@media(max-width:768px){
  .nav-inner{padding:0 20px;height:64px;}
  .navlinks{gap:10px;}
  .navlinks span,.navlinks a:not(.navcta){display:none;}
  .logo img{height:36px;}
  .navcta{padding:8px 12px;font-size:10.5px;}
  .hamburger{display:flex;align-items:center;justify-content:center;}
  .nav-contact{display:none!important;}
}

/* -- Footer --------------------------------------------------------- */
.footer-main{background-color:#04101f;background-image:linear-gradient(180deg,#000000 0%,#061a33 55%,#040f1e 100%);color:#8aa4be;padding:60px 0 40px;}
.footer-grid{display:grid;grid-template-columns:1.2fr 2fr 1fr 1fr;gap:96px;}
.footer-brand-name{font-size:26px;font-weight:950;color:var(--lime);letter-spacing:-.02em;margin-bottom:8px;}
.footer-tagline{font-size:13px;color:#6b88a2;line-height:1.5;margin-bottom:16px;}
.footer-contact-line{font-size:14px;margin-bottom:5px;}
.footer-main .footer-contact-line{font-size:28px;}
.footer-contact-line a{color:#8aa4be;transition:color .15s;}
.footer-contact-line a:hover{color:#a8c4dc;}
.footer-col h3{font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.14em;color:#7f96ac;margin-bottom:16px;}
.footer-col ul{list-style:none;}
.footer-col ul li{margin-bottom:9px;}
.footer-col ul li a{font-size:14px;color:#8aa4be;transition:color .15s;}
.footer-col ul li a:hover{color:#bcd6e8;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:44px;padding-top:22px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;}
.footer-bottom-links{display:flex;flex-wrap:wrap;gap:18px;}
.footer-bottom-links a{font-size:12px;color:#7f96ac;transition:color .15s;}
.footer-bottom-links a:hover{color:#8aa4be;}
.footer-copy{font-size:12px;color:#7591ab;}

/* -- Footer accordions --------------------------------------------- */
.footer-acc{border:none;background:none;margin-bottom:2px;}
.footer-acc summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:6px;padding:6px 0;font-size:13.5px;font-weight:700;color:#8aa4be;transition:color .15s;user-select:none;width:auto;}
.footer-acc summary::-webkit-details-marker{display:none;}
.footer-acc summary::after{content:"+";font-size:15px;color:#4d6a7e;flex-shrink:0;margin-left:8px;}
.footer-acc[open] summary::after{content:"\2212";}
.footer-acc summary:hover{color:#bcd6e8;}
.footer-acc ul{list-style:none;padding:3px 0 8px 10px;}
.footer-acc ul li{margin-bottom:6px;}
.footer-acc ul li a{font-size:13px;color:#6b8aa0;transition:color .15s;}
.footer-acc ul li a:hover{color:#bcd6e8;}
.footer-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 26px;align-items:start;}
.footer-menu-grid.single{grid-template-columns:1fr;gap:9px;}
.footer-plain-link{display:block;padding:6px 0;font-size:13.5px;font-weight:700;color:#8aa4be;transition:color .15s;}
.footer-plain-link:hover{color:#bcd6e8;}

/* ── Mobile nav ── */
.hamburger{display:none;background:none;border:none;font-size:24px;cursor:pointer;color:#10233c;padding:4px 8px;line-height:1;}
@media(max-width:768px){.hamburger{display:flex!important;align-items:center;justify-content:center;}}
.mobile-nav{display:none;position:sticky;top:64px;z-index:98;background:#fff;border-bottom:2px solid rgba(7,40,80,.08);box-shadow:0 6px 24px rgba(0,0,0,.10);}
.mobile-nav a{display:block;padding:15px 22px;font-size:15px;font-weight:800;color:#10233c;text-decoration:none;border-bottom:1px solid rgba(7,40,80,.06);text-transform:uppercase;letter-spacing:.04em;}
.mobile-nav a:hover{background:#f5f9ff;color:var(--blue);}
.mobile-nav .mobile-nav-cta{color:#fff;background:linear-gradient(135deg,var(--green),#4a9f26);border-bottom:none;text-align:center;margin:12px 16px 16px;border-radius:10px;padding:14px 22px;}
.mobile-nav.open{display:block;}

/* ── footer gradient + logo sheen ─────────────────────────── */
.logo-sheen-wrap{position:relative;display:inline-block;}
.logo-sheen-wrap::after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;-webkit-mask-image:url('https://nwesource.com/nwe-media/NWeSource-Logo-Transparent-Small2.png');mask-image:url('https://nwesource.com/nwe-media/NWeSource-Logo-Transparent-Small2.png');-webkit-mask-size:100% 123%;mask-size:100% 123%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;background:linear-gradient(105deg,transparent 48%,rgba(255,255,255,.88) 50%,transparent 52%);background-size:500% 100%;background-position:140% center;mix-blend-mode:screen;animation:logo-sheen 3.8s ease-in-out .5s infinite;pointer-events:none;}
@keyframes logo-sheen{0%,20%{background-position:140% center;}70%,100%{background-position:0% center;}}
@keyframes logo-sheen-header{0%{background-position:140% center;}25%{background-position:0% center;}100%{background-position:0% center;}}
.nav .logo-sheen-wrap::after{animation-name:logo-sheen-header;animation-duration:20s;}
@keyframes logo-sheen-footer{0%{background-position:140% center;}10%{background-position:0% center;}100%{background-position:0% center;}}
.footer-main .logo-sheen-wrap::after{animation-name:logo-sheen-footer;animation-duration:35s;-webkit-mask-size:100% 85%;mask-size:100% 85%;}
/* -- Phase 1: redesigned footer (brand paragraph + socials + CTA) -------- */
.footer-brand-para{font-size:15px;line-height:1.7;color:#a6bed2;max-width:405px;margin:0 0 18px;}
.footer-brandline{margin-bottom:10px;}
.footer-brandline strong{font-size:15px;}
.footer-top-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;margin-bottom:32px;gap:16px;}.footer-top-row .logo-sheen-wrap{justify-self:start;}.footer-top-phone{justify-self:center;font-size:26px;font-weight:800;color:#fff;white-space:nowrap;}.footer-top-phone a{color:inherit;text-decoration:none;transition:color .15s;}.footer-top-phone a:hover{color:#7bd742;}.footer-brandline{justify-self:end;margin:0;white-space:nowrap;}
.footer-top-row .footer-brandline{margin-bottom:0;}
.footer-top-row .footer-brandline strong{font-size:26px;}
.footer-top-row .footer-brandline .spark{font-size:15px;}
.footer-brand-grid{display:flex;align-items:flex-start;gap:0;}.footer-brand-col{margin-right:auto;}.footer-brand-grid .footer-col+.footer-col{margin-left:50px;}
.footer-col .footer-contact-line-bottom{margin-top:18px;}
.footer-social{display:flex;gap:10px;margin-bottom:16px;}
.footer-social a{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.06);color:#8aa4be;transition:background .15s,color .15s;}
.footer-social a:hover{background:var(--lime);color:#04101f;}
.footer-social svg{width:16px;height:16px;fill:currentColor;}

/* -- .nav-contact mobile (second <style> tag) --------------------- */
.nav-contact{display:none;}@media(max-width:768px){.nav-contact{display:flex;gap:7px;align-items:center;margin-top:0;}a.nav-phone{display:none!important;}.nav-ico{width:32px;height:32px;border-radius:50%;display:flex!important;align-items:center;justify-content:center;text-decoration:none;}.nav-ico svg{width:16px;height:16px;fill:#fff;}.nav-ico.call{background:#63bd32;}.nav-ico.text{background:#0057b8;}}

/* -- Footer mobile stacking ----------------------------------------- */
@media(max-width:768px){
  .footer-top-row{grid-template-columns:1fr;justify-items:center;text-align:center;gap:14px;margin-bottom:28px;}
  .footer-top-row .logo-sheen-wrap,.footer-top-row .footer-top-phone,.footer-top-row .footer-brandline{justify-self:center;}
  .footer-top-row .logo-sheen-wrap img{width:160px;height:auto;}
  .footer-top-row .footer-brandline{white-space:normal;}
  .footer-top-row .footer-brandline strong{font-size:15px;}
  .footer-top-row .footer-brandline .spark{font-size:11px;}
  .footer-brand-grid{flex-direction:column;gap:32px;}
  .footer-brand-grid .footer-col+.footer-col{margin-left:0;}
  .footer-brand-col{margin-right:0;}
  .footer-brand-para{max-width:none;}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:16px;}
}
