/* sunstormco.com home: full-screen photo top (Heath, Nov 13 2026).
   Photos change through the four services; the logo's ring draws one arc per service. */
.hero3{position:relative;display:flex;flex-direction:column;min-height:calc(100svh - 40px);margin-top:-81px;padding-top:81px;color:#fff;overflow:hidden;background:var(--deep)}
.hero3 .bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.6s ease;transform:scale(1.02)}
.hero3 .bg.on{opacity:1;animation:h3drift 9s ease-out forwards}
@keyframes h3drift{to{transform:scale(1.09)}}
.hero3 .shade{position:absolute;inset:0;background:radial-gradient(120% 90% at 78% 45%,rgba(8,26,44,0) 0%,rgba(8,26,44,.35) 55%,rgba(8,26,44,.86) 100%),linear-gradient(90deg,rgba(8,26,44,.9) 0%,rgba(8,26,44,.55) 38%,rgba(8,26,44,0) 62%),linear-gradient(0deg,rgba(8,26,44,.92) 0%,rgba(8,26,44,0) 34%),linear-gradient(180deg,rgba(8,26,44,.7) 0%,rgba(8,26,44,0) 22%)}
.hero3 .shade{transition:opacity 1.2s}
.hero3.lite .shade{opacity:.8}
.hero3 .ring{position:absolute;z-index:1;right:-3vw;top:54%;width:min(74vh,50vw);aspect-ratio:1;transform:translateY(-50%);pointer-events:none}
.hero3 .ring svg{width:100%;height:100%;overflow:visible;transform:rotate(-135deg)}
.hero3 .ring circle{fill:none}
.hero3 .ring .base{stroke:rgba(255,255,255,.34);stroke-width:1.6}
.hero3 .ring .arc{stroke-width:5;stroke-linecap:round;stroke-dasharray:0 1885}
.hero3 .ring .arc.on{animation:h3draw var(--d,6s) linear forwards}
@keyframes h3draw{from{stroke-dasharray:0 1885}to{stroke-dasharray:457.2 1427.8}}
.hero3 .main{position:relative;z-index:2;flex:1;display:flex;align-items:center;padding-top:28px;padding-bottom:28px}
.hero3 .copy{max-width:720px}
.hero3 .where{display:inline-flex;align-items:center;gap:12px;margin:0;font:700 14px Montserrat,Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--yellow)}
.hero3 .where::before{content:"";width:44px;height:2px;background:var(--yellow)}
.hero3 h1{font-size:clamp(44px,6.1vw,92px);line-height:.98;letter-spacing:-.03em;margin:18px 0 0;color:#fff;text-shadow:0 2px 30px rgba(0,0,0,.35)}
.hero3 h1 span{display:block}
.hero3 .lead{font-size:clamp(17px,1.5vw,21px);color:rgba(255,255,255,.9);max-width:560px;margin:24px 0 0}
.hero3 .trust{display:flex;flex-wrap:wrap;gap:8px 26px;margin:26px 0 0;padding:0;list-style:none;font:500 15px Montserrat,Arial,sans-serif;color:rgba(255,255,255,.92)}
.hero3 .trust b{font-weight:700}
.hero3 .trust a{color:inherit;text-underline-offset:3px}
.hero3 .who{position:relative;z-index:2;display:flex;align-items:center;gap:16px;padding-bottom:16px}
.hero3 .who .door-q{color:#fff}
.hero3 .who .switch{background:rgba(8,26,44,.55);border-color:rgba(255,255,255,.3);box-shadow:none;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.hero3 .who .switch button{color:#fff}
.hero3 .who .switch button[aria-pressed=true]{color:var(--deep)}
.hero3 .who .door-note{margin:0 0 0 auto;font-weight:600;min-height:0;color:#fff}
.hero3 .who .door-note a{color:#fff}
.hero3 .dock{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.22);background:rgba(8,26,44,.5);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.hero3 .dock .tile{position:relative;min-height:0;background:transparent;border:0;border-radius:0;box-shadow:none;transform:none;display:flex;align-items:center;gap:14px;padding:22px 26px 24px;color:#fff;text-decoration:none;border-right:1px solid rgba(255,255,255,.14);transition:background .5s;min-width:0}
.hero3 .dock .tile:last-child{border-right:0}
.hero3 .dock .ico{flex:none;width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:var(--tone)}
.hero3 .dock .ico svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hero3 .dock .tile>span:not(.ico):not(.arr){display:flex;flex-direction:column-reverse;min-width:0}
.hero3 .dock small{display:block;font:700 18px/1.2 Montserrat,Arial,sans-serif;color:#fff}
.hero3 .dock b{display:block;font:400 13.5px/1.3 OpenSans,Arial,sans-serif;opacity:.8;margin-top:3px}
.hero3 .dock .arr{margin-left:auto;opacity:.6;font-size:20px;transition:.3s;color:#fff}
.hero3 .dock .bar{position:absolute;left:0;top:-1px;height:3px;width:0;background:var(--tone)}
.hero3 .dock .tile.water{--tone:var(--water)}.hero3 .dock .tile.insulation{--tone:#e0962f}.hero3 .dock .tile.energy{--tone:#d9a43b}
.hero3 .dock .tile.on,.hero3 .dock .tile:hover,.hero3 .dock .tile:focus-visible{background:rgba(255,255,255,.1)}
.hero3 .dock .tile.on .arr{opacity:1;transform:translateX(4px)}
.hero3 .dock .tile.on .bar{animation:h3fill var(--d,6s) linear forwards}
@keyframes h3fill{to{width:100%}}
.hero3 .dock .tile:focus-visible{outline:3px solid var(--yellow);outline-offset:-3px}
.hero3 .h3-pause{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:rgba(8,26,44,.55);color:#fff;font:700 13px Montserrat,Arial,sans-serif;cursor:pointer}
.hero3 .h3-pause svg{width:12px;height:12px;fill:#fff}
.hero3.h3-paused .bg.on,.hero3.h3-paused .ring .arc.on,.hero3.h3-paused .dock .tile.on .bar{animation-play-state:paused}
/* the menu sits on the photo until the page scrolls */
html:not(.ssm-scrolled) .home-hero3 .site-header{background:transparent;border-bottom-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
html:not(.ssm-scrolled) .home-hero3 .site-header::after{opacity:0}
html:not(.ssm-scrolled) .home-hero3 .brand{width:250px}
html:not(.ssm-scrolled) .home-hero3 .brand img{content:url(/assets/company-white.svg);filter:drop-shadow(0 2px 14px rgba(0,0,0,.35))}
.home-hero3 .brand{transition:width .35s var(--ease)}
.home-hero3 .site-header{transition:background .3s}
@media (min-width:901px){
 html:not(.ssm-scrolled) .home-hero3 .header-row{min-height:120px}
 .hero3{margin-top:-121px;padding-top:121px}
 html:not(.ssm-scrolled) .home-hero3 .nav>a,html:not(.ssm-scrolled) .home-hero3 .nav summary{color:#fff}
 html:not(.ssm-scrolled) .home-hero3 .nav>a:hover,html:not(.ssm-scrolled) .home-hero3 .nav summary:hover,html:not(.ssm-scrolled) .home-hero3 .nav details[open]>summary{background:rgba(255,255,255,.14)}
 html:not(.ssm-scrolled) .home-hero3 .nav .chev{stroke:#fff}
 html:not(.ssm-scrolled) .home-hero3 .nav>a.btn{background:var(--yellow);color:var(--deep)}
}
/* row two: the animated house, with the page's former opening words */
.hero2.row2 h2{font-size:clamp(26px,2.5vw,36px);line-height:1.2;margin:0}
.hero2.row2 .hero2-grid{grid-template-areas:"copy art";align-items:center;padding-bottom:clamp(20px,2vw,32px)}
@media (max-width:900px){
 .hero3{min-height:calc(100svh - 36px);margin-top:-69px;padding-top:69px}
 html:not(.ssm-scrolled) .home-hero3 .brand{width:158px}
 .hero3 .ring{width:112vw;right:-46vw;top:6%;transform:none;opacity:.9}
 .hero3 .shade{background:linear-gradient(0deg,rgba(8,26,44,.96) 0%,rgba(8,26,44,.78) 48%,rgba(8,26,44,.15) 78%,rgba(8,26,44,.6) 100%)}
 .hero3 .main{align-items:flex-end;padding-bottom:14px}
 .hero3 h1{font-size:clamp(38px,10.4vw,56px);margin-top:12px}
 .hero3 .where{font-size:12px}
 .hero3 .lead{margin-top:12px;font-size:16px}
 .hero3 .trust{margin-top:12px;font-size:12.5px;gap:4px 14px}
 .hero3 .who{flex-wrap:wrap;gap:8px 12px;padding-bottom:12px}
 .hero3 .who .door-q{flex:1}
 .hero3 .who .h3-pause{order:1;min-height:34px}
 .hero3 .who .switch{order:2;flex:1 1 100%}
 .hero3 .who .switch button{min-height:38px}
 .hero3 .who .door-note{order:3;margin-left:0;flex-basis:100%}
 .hero3 .who .door-note:empty{display:none}
 .hero3 .dock{grid-template-columns:1fr 1fr}
 .hero3 .dock .tile{padding:14px 12px 15px;gap:10px;border-bottom:1px solid rgba(255,255,255,.14)}
 .hero3 .dock .tile:nth-child(2n){border-right:0}
 .hero3 .dock .ico{width:36px;height:36px}
 .hero3 .dock .ico svg{width:20px;height:20px}
 .hero3 .dock small{font-size:14.5px}
 .hero3 .dock b{font-size:12px}
 .hero3 .dock .arr{display:none}
 .hero2.row2 .hero2-grid{grid-template-areas:"copy" "art"}
}
@media (prefers-reduced-motion:reduce){
 .hero3 .bg{transition:none}
 .hero3 .bg.on,.hero3 .ring .arc.on,.hero3 .dock .tile.on .bar{animation:none}
 .hero3 .ring .arc.on{stroke-dasharray:457.2 1427.8}
 .hero3 .dock .tile.on .bar{width:100%}
 .hero3 .h3-pause{display:none}
}
/* short laptop screens: keep the four services on the first screen */
@media (min-width:901px) and (max-height:880px){
 html:not(.ssm-scrolled) .home-hero3 .header-row{min-height:96px}
 html:not(.ssm-scrolled) .home-hero3 .brand{width:200px}
 .hero3{margin-top:-97px;padding-top:97px}
 .hero3 .main{padding-top:8px;padding-bottom:12px}
 .hero3 h1{font-size:clamp(40px,min(6.1vw,8.6vh),92px);margin-top:12px}
 .hero3 .where{font-size:13px}
 .hero3 .lead{margin-top:14px}
 .hero3 .trust{margin-top:14px}
 .hero3 .who{padding-bottom:12px}
 .hero3 .dock .tile{padding-top:16px;padding-bottom:18px}
}
@media (min-width:901px) and (max-height:720px){
 .hero3 h1{font-size:clamp(38px,min(6.1vw,7.8vh),92px)}
 .hero3 .lead{font-size:16px;margin-top:10px}
 .hero3 .trust{margin-top:10px;font-size:14px}
 .hero3 .dock .tile{padding-top:12px;padding-bottom:14px}
}

/* Tightened home: row two introduces the services right below it */
.hero2.row2 .eyebrow{margin-bottom:12px}
.hero2.row2 .hero2-copy{align-self:center}
.home-hero3 #services{padding-top:clamp(8px,1.5vw,24px)}
@media (max-width:900px){.hero2.row2 h2{font-size:23px;line-height:1.25;margin:0}}
