/* Interactive season thermostat hero */
.th-hero{position:relative;overflow:hidden;background:#9cc3e6;color:#fff;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.th-scene{position:absolute;inset:0;transition:filter .2s}
.th-scene img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 62%;will-change:opacity}
.th-scene img.l0{z-index:1}.th-scene img.l1{z-index:2}.th-scene img.l2{z-index:3}.th-scene img.l3{z-index:4}
.th-snow{position:absolute;inset:0;z-index:6;pointer-events:none}
.th-frost{position:absolute;inset:0;z-index:7;pointer-events:none;opacity:0;background:radial-gradient(ellipse 75% 70% at 55% 50%,transparent 55%,rgba(220,236,255,.55) 82%,rgba(240,248,255,.85) 100%)}
.th-frost::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(160,200,240,.25),rgba(160,200,240,0) 40%)}
.th-sun{position:absolute;inset:0;z-index:7;pointer-events:none;opacity:0;background:radial-gradient(circle at 84% 6%,rgba(255,248,214,.95) 0,rgba(255,214,130,.55) 9%,rgba(255,170,80,.18) 26%,rgba(255,170,80,0) 48%),linear-gradient(180deg,rgba(255,190,110,.18),rgba(255,190,110,0) 50%)}
.th-haze{position:absolute;left:0;right:0;bottom:18%;height:22%;z-index:7;pointer-events:none;opacity:0;background:repeating-linear-gradient(180deg,rgba(255,236,200,.0) 0 6px,rgba(255,236,200,.10) 6px 9px);filter:blur(2px);animation:haze 2.2s linear infinite}
@keyframes haze{from{background-position:0 0}to{background-position:0 18px}}
.th-shade{position:absolute;inset:0;z-index:8;pointer-events:none;background:linear-gradient(90deg,rgba(0,22,58,.58) 0%,rgba(0,22,58,.34) 26%,rgba(0,22,58,0) 46%),linear-gradient(180deg,rgba(0,22,58,.45) 0%,rgba(0,22,58,0) 20%),linear-gradient(0deg,rgba(0,22,58,.38) 0%,rgba(0,22,58,0) 26%)}
.th-ui{position:relative;z-index:10;min-height:clamp(700px,86vh,900px);display:flex;align-items:flex-end}

/* Dial */
.th-dialwrap{position:absolute;z-index:12;right:max(24px,3.2vw);bottom:170px;display:grid;justify-items:center;gap:14px}
.th-dial{--v:.55;--col:#7cc4ff;position:relative;width:224px;height:224px;border-radius:50%;cursor:grab;outline:none;touch-action:none;
  background:radial-gradient(circle at 38% 30%,#2b3a58 0%,#101a30 62%,#0a1222 100%);
  box-shadow:0 0 0 10px rgba(255,255,255,.14),0 0 0 11px rgba(255,255,255,.28),0 30px 60px rgba(0,10,30,.45),0 0 70px color-mix(in srgb,var(--col) 55%,transparent),inset 0 3px 10px rgba(255,255,255,.12);
  backdrop-filter:blur(6px);transition:box-shadow .3s}
.th-dial:active{cursor:grabbing}
.th-dial:focus-visible{box-shadow:0 0 0 10px rgba(255,255,255,.35),0 0 0 13px #fff,0 30px 60px rgba(0,10,30,.45)}
.th-dial svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.th-track{fill:none;stroke:rgba(255,255,255,.13);stroke-width:12;stroke-linecap:round}
.th-arc{fill:none;stroke:url(#thgrad);stroke-width:12;stroke-linecap:round}
.th-ticks line{stroke:rgba(255,255,255,.28);stroke-width:2}
.th-knob{fill:#fff;filter:drop-shadow(0 0 8px var(--col))}
.th-face{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;text-align:center;pointer-events:none;gap:2px}
.th-face .k{font-family:var(--display,Montserrat),sans-serif;font-weight:800;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#C8D4E8}
.th-face .t{font-family:var(--display,Montserrat),sans-serif;font-weight:900;font-size:58px;line-height:1;letter-spacing:-.03em;color:#fff;font-variant-numeric:tabular-nums}
.th-face .t sup{font-size:26px;vertical-align:top;position:relative;top:8px;margin-left:2px}
.th-face .s{font-family:var(--display,Montserrat),sans-serif;font-weight:800;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--col)}
.th-inside{display:flex;align-items:center;gap:10px;padding:10px 18px;border-radius:999px;background:rgba(0,22,58,.62);border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font-size:14.5px;white-space:nowrap}
.th-inside b{font-family:var(--display,Montserrat),sans-serif;font-weight:900;font-size:18px}
.th-inside i{width:9px;height:9px;border-radius:50%;background:#3ee08f;box-shadow:0 0 10px #3ee08f}
.th-hint{display:flex;align-items:center;gap:8px;font-family:var(--display,Montserrat),sans-serif;font-weight:800;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.4);opacity:0;transform:translateY(6px);transition:opacity .5s,transform .5s}
.th-hint.on{opacity:1;transform:none}
.th-hint svg{width:22px;height:22px;animation:nudge 1.6s ease-in-out infinite}
@keyframes nudge{0%,100%{transform:translateX(-4px) rotate(-8deg)}50%{transform:translateX(4px) rotate(8deg)}}

/* Hero copy */
.th-copy{position:relative;z-index:11;width:100%;max-width:calc(1320px + 48px);margin:0 auto;padding:calc(var(--hdr,84px) + 70px) max(24px,env(safe-area-inset-right,0px)) 160px max(24px,env(safe-area-inset-left,0px));pointer-events:none}
.th-copy > div{max-width:560px;display:grid;gap:24px;pointer-events:auto}
.th-copy h1{font-family:var(--display,Montserrat),sans-serif;font-size:clamp(46px,5.2vw,84px);font-weight:900;text-transform:uppercase;line-height:.94;letter-spacing:-.03em;text-shadow:0 4px 30px rgba(0,22,58,.35)}
.th-copy h1 .ln{display:block;overflow:hidden;padding-bottom:.04em}
.th-copy h1 .ln>span{display:inline-block;animation:lineup 1.1s cubic-bezier(.22,.8,.24,1) both}
.th-copy h1 .ln:nth-child(2)>span{animation-delay:.12s}.th-copy h1 .ln:nth-child(3)>span{animation-delay:.24s}
.th-copy h1 em{font-style:normal;color:#FF4A3D}
.th-copy .sub{font-size:21px;color:#F3F6FB;max-width:520px;text-shadow:0 2px 14px rgba(0,22,58,.45)}
.th-copy .label{color:#fff}
.th-copy .label::before{background:#FF4A3D}
@keyframes lineup{from{transform:translateY(105%)}to{transform:none}}

@media (max-width:900px){
  .th-ui{min-height:0;flex-direction:column;align-items:stretch}
  .th-copy{padding-top:calc(var(--hdr,72px) + 300px);padding-bottom:120px}
  .th-dialwrap{right:16px;top:calc(var(--hdr,72px) + 36px);bottom:auto;gap:10px}
  .th-dial{width:170px;height:170px}
  .th-face .t{font-size:42px}.th-face .t sup{font-size:18px;top:5px}.th-face .k{font-size:9px}.th-face .s{font-size:11px}
  .th-inside{font-size:12.5px;padding:8px 14px}.th-inside b{font-size:15px}
  .th-shade{background:linear-gradient(180deg,rgba(0,22,58,.35) 0%,rgba(0,22,58,0) 18%,rgba(0,22,58,0) 38%,rgba(0,22,58,.82) 62%,rgba(0,22,58,.92) 100%)}
  .th-scene img{object-position:62% 30%}
}
@media (max-width:420px){.th-dial{width:150px;height:150px}.th-face .t{font-size:36px}.th-copy{padding-top:calc(var(--hdr,72px) + 280px)}}
/* Embed mode (Wix iframe): scene + dial only */
.th-embed .th-copy{display:none}
.th-embed .th-ui{min-height:100vh}
.th-embed .th-dialwrap{bottom:auto;top:50%;transform:translateY(-40%)}
/* v3 placement for wide shot: dial on the lower-right lawn, readouts to its left */
@media (min-width:901px){
 .th-dialwrap{right:max(24px,4vw);bottom:44px;grid-template-columns:auto auto;grid-template-rows:1fr auto auto;column-gap:16px;row-gap:10px;align-items:end;justify-items:end}
 .th-dial{grid-column:2;grid-row:1/4;width:208px;height:208px}
 .th-inside{grid-column:1;grid-row:2}
 .th-hint{grid-column:1;grid-row:3}
 .th-face .t{font-size:54px}
 .th-ui{min-height:clamp(680px,84vh,880px)}
}
.th-scene img{object-position:55% 60%}
@media (max-width:900px){.th-scene img{object-position:66% 40%}}
@media (min-width:901px) and (max-height:820px){
 .th-copy{padding-top:calc(var(--hdr,84px) + 34px);padding-bottom:96px}
 .th-copy > div{gap:18px}
 .th-copy h1{font-size:clamp(42px,4.6vw,70px)}
 .th-ui{min-height:calc(100vh - 36px)}
 .th-dial{width:180px;height:180px}.th-face .t{font-size:46px}
 .th-dialwrap{bottom:28px}
}
@media (max-width:900px){
 .th-copy .label{display:none}
 .th-copy{padding-top:calc(var(--hdr,72px) + 318px)}
 .th-hint{font-size:10.5px;letter-spacing:.1em}
}
