/* Sunwise Home Solar
   Concept: one Austin day. The home page opens on the sky right now and scrolls from morning to a night street;
   each inner page sits at its own hour. Type: Solway (display) + Atkinson Hyperlegible Next (text). */

:root {
  --ink: #142433;
  --ink-2: #3B5063;
  --paper: #F5F9FC;
  --white: #FFFFFF;
  --line: #CCDBE6;
  --line-2: #A9BFCF;
  --link: #1B5A8E;
  --sun: #F5A300;
  --sun-2: #FFC23D;
  --sun-deep: #C77F00;
  --cell: #1D4B73;
  --leaf: #2F5C3F;
  --fill: #FFF3C4;
  --night: #0E1A36;
  --focus: #142433;

  --font-d: "Solway", Rockwell, "Roboto Slab", Georgia, serif;
  --font-b: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;

  --wrap: 1180px;
  --gut: clamp(20px, 4.2vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --mast-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: #FFD983; color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; }
.skip:focus { left: 12px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 72px; pointer-events: none; }

/* Owner-to-fill placeholders: always visible, on any background */
.fill {
  background: var(--fill);
  border-bottom: 2px dashed var(--sun-deep);
  padding: 0 .3em;
  border-radius: 4px;
  color: var(--ink);
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------------------------------------------------------------- type */
h1, h2, h3, h4 { font-family: var(--font-d); margin: 0; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 1.6rem + 4.3vw, 5.1rem); font-weight: 800; line-height: 1.0; letter-spacing: -.022em; }
h2 { font-size: clamp(1.95rem, 1.45rem + 2.1vw, 3.05rem); font-weight: 800; line-height: 1.06; letter-spacing: -.015em; }
h3 { font-size: 1.32rem; font-weight: 700; line-height: 1.2; letter-spacing: -.005em; }
h4 { font-size: 1.06rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.27rem); line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
strong { font-weight: 700; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 50px; padding: .72em 1.45em;
  font: 700 1.02rem/1.15 var(--font-b); letter-spacing: .005em;
  color: var(--b-fg); background: var(--b-bg); border: 2px solid var(--b-bd); border-radius: 999px;
  text-decoration: none; cursor: pointer; position: relative;
  transition: background-color .2s, color .2s, border-color .2s, transform .18s var(--ease), box-shadow .2s;
}
.btn:hover { color: var(--b-fg); text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-sun { --b-bg: var(--sun); --b-fg: var(--ink); --b-bd: var(--sun); }
.btn-sun:hover { --b-bg: var(--sun-2); --b-bd: var(--sun-2); }
.btn-ink { --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); }
.btn-ink:hover { --b-bg: #22405A; --b-bd: #22405A; }
.btn-ghost { --b-bg: transparent; --b-fg: currentColor; --b-bd: currentColor; }
.btn-ghost:hover { --b-bg: rgba(20, 36, 51, .08); }
.btn-line { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); }
.btn-line:hover { --b-bg: var(--ink); --b-fg: #fff; }

/* ---------------------------------------------------------------- masthead: centred lockup */
.masthead {
  --mast-ink: var(--ink);
  --mast-ink-2: var(--ink);
  position: sticky; top: 0; z-index: 50; height: var(--mast-h); margin-bottom: calc(-1 * var(--mast-h));
  color: var(--mast-ink);
}
html[data-sky="dark"] .masthead:not(.is-condensed) { --mast-ink: #F3F8FD; --mast-ink-2: #DCE6F2; --focus: #FFC23D; }
.mast-bg {
  position: absolute; inset: 0; background: #FAFCFE;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px -18px rgba(20, 36, 51, .45);
  opacity: 0; transform: translateY(-100%);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.masthead.is-condensed .mast-bg, .masthead.open .mast-bg { opacity: 1; transform: none; }

.mast-row { position: relative; height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* brand: three hand-built pieces that rearrange between the stacked and the inline lockup */
.brand { position: relative; display: block; width: 134px; height: 34px; color: var(--mast-ink); text-decoration: none; }
.brand:hover { color: var(--mast-ink); }
.brand-in { position: absolute; inset: 0; display: block; transition: transform .45s var(--ease); }
.brand svg { position: absolute; display: block; overflow: visible; transform-origin: 0 0; transition: transform .45s var(--ease), opacity .3s; }
.brand-word { left: 0; top: 0; width: 134.3px; height: 34px; }
.brand-mark { left: 36.9px; top: -37.3px; width: 60.6px; height: 30px; }
.brand-desc { left: 11.5px; top: 38px; width: 111.4px; height: 15px; }
.mk-sun { fill: var(--sun); transform-box: fill-box; transform-origin: -5.62px 17.77px; transition: transform .8s var(--ease); }
.brand:hover .mk-sun, .brand:focus-visible .mk-sun, .foot-logo:hover .mk-sun { transform: rotate(22deg); }

.menu-btn, .bar-call { display: none; }
.mast-call a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 700; font-size: .98rem; white-space: nowrap; }
.mast-call a:hover { text-decoration: underline; }
.ico { width: 18px; height: 18px; flex: none; }
.mast-call { position: relative; }
.mast-hours { position: absolute; left: 0; top: 100%; display: block; font-size: .8rem; font-weight: 600; color: var(--mast-ink-2); padding-left: 26px; white-space: nowrap; transition: opacity .25s; }
.mast-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 1.9vw, 30px); }
.mast-nav a {
  position: relative; display: block; padding: 10px 0; color: inherit; text-decoration: none;
  font-weight: 700; font-size: .98rem; white-space: nowrap;
}
.mast-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  background: var(--sun); transform: translateY(6px) scale(.2); opacity: 0; transition: transform .35s var(--ease-spring), opacity .2s;
}
.mast-nav a:hover::after, .mast-nav a[aria-current="page"]::after { transform: none; opacity: 1; }
.mast-cta { min-height: 44px; padding: .55em 1.15em; font-size: .95rem; }

@media (min-width: 1100px) {
  .mast-row { display: grid; grid-template-columns: 1fr 210px 1fr; align-items: center; transform: translateY(38px); transition: transform .45s var(--ease); }
  .brand { grid-area: 1 / 2; justify-self: center; }
  .mast-menu { display: contents; }
  .mast-call { grid-area: 1 / 1; justify-self: start; align-self: center; transition: transform .45s var(--ease); }
  .mast-nav { grid-area: 1 / 1 / 2 / 4; display: grid; grid-template-columns: 1fr 210px 1fr; pointer-events: none; }
  .mast-nav ul { pointer-events: auto; }
  .nav-l { grid-column: 1; justify-self: end; margin-right: 22px; }
  .nav-r { grid-column: 3; justify-self: start; margin-left: 22px; }
  .mast-cta { grid-area: 1 / 3; justify-self: end; }

  .masthead.is-condensed .mast-row { transform: none; }
  .masthead.is-condensed .mast-call { transform: none; }
  .masthead.is-condensed .mast-hours { opacity: 0; pointer-events: none; }
  .masthead.is-condensed .brand-in { transform: translateX(30px) scale(.84); transform-origin: 67px 17px; }
  .masthead.is-condensed .brand-mark { transform: translate(-97.7px, 47.5px) scale(.855); }
  .masthead.is-condensed .brand-desc { opacity: 0; transform: translateY(-8px); }
}
@media (min-width: 1100px) and (max-width: 1239px) {
  .mast-call a .sample { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mast-call a { width: 44px; height: 44px; justify-content: center; border: 2px solid currentColor; border-radius: 50%; }
  .mast-hours { display: none; }
}

/* compact bar: tablets and phones */
@media (max-width: 1099.98px) {
  :root { --mast-h: 60px; }
  .mast-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
  .brand { grid-area: 1 / 2; justify-self: center; transform: scale(.76); }
  .brand-in { transform: translateX(30px); }
  .brand-mark { transform: translate(-97.7px, 47.5px) scale(.855); }
  .brand-desc { opacity: 0; }
  .bar-call {
    display: grid; place-items: center; grid-area: 1 / 1; justify-self: start; width: 44px; height: 44px; border-radius: 50%;
    color: inherit; border: 2px solid currentColor;
  }
  .bar-call .ico { width: 19px; height: 19px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 9px; grid-area: 1 / 3; justify-self: end;
    min-height: 44px; padding: 0 13px 0 11px; border-radius: 999px; border: 2px solid currentColor;
    background: transparent; color: inherit; font: 700 .95rem/1 var(--font-b); cursor: pointer;
  }
  .menu-lines { position: relative; width: 18px; height: 12px; }
  .menu-lines span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
  .menu-lines span:first-child { top: 1px; }
  .menu-lines span:last-child { top: 9px; width: 70%; }
  .masthead.open .menu-lines span:first-child { top: 5px; transform: rotate(45deg); }
  .masthead.open .menu-lines span:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }

  .mast-menu {
    display: none; position: absolute; left: 0; right: 0; top: var(--mast-h);
    max-height: calc(100vh - var(--mast-h)); max-height: calc(100dvh - var(--mast-h)); overflow: auto;
    padding: 18px var(--gut) 28px;
    background: linear-gradient(180deg, #FAFCFE 0%, #E6F1FA 100%);
    color: var(--ink); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(20, 36, 51, .5);
  }
  .masthead.open .mast-menu { display: grid; gap: 18px; animation: sheet-in .35s var(--ease); }
  .masthead.open { --mast-ink: var(--ink); --mast-ink-2: var(--ink-2); --focus: var(--ink); }
  .mast-nav ul { flex-direction: column; gap: 0; }
  .mast-nav li + li { border-top: 1px solid var(--line); }
  .nav-r { border-top: 1px solid var(--line); }
  .mast-nav a { padding: 14px 0; font-family: var(--font-d); font-size: 1.45rem; font-weight: 700; }
  .mast-nav a::after { left: auto; right: 4px; top: 50%; bottom: auto; margin-top: -5px; width: 10px; height: 10px; }
  .mast-call { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .mast-call a { font-size: 1.12rem; }
  .mast-hours { position: static; padding-left: 0; font-size: .9rem; color: var(--ink-2); }
  .mast-cta { width: 100%; min-height: 52px; font-size: 1.05rem; }
  .mast-nav { margin-top: -18px; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
/* small phones: two matching round buttons either side of the lockup */
@media (max-width: 420px) {
  .menu-btn { width: 44px; padding: 0; justify-content: center; }
  .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------------------------------------------------------------- home hero: the sky right now */
.sky-hero {
  --hero-ink: var(--ink); --hero-ink-2: #2E4558;
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  display: flex; flex-direction: column;
  min-height: max(820px, 100vh); min-height: max(820px, 100svh);
  padding-top: 212px; color: var(--hero-ink);
}
.sky-hero[data-ink="light"] { --hero-ink: #F4F8FC; --hero-ink-2: #D3E0EE; --focus: #FFC23D; }
.scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.sky-day { opacity: 1; background: linear-gradient(180deg, #4C99DB 0%, #86C1EC 42%, #CBE6F8 76%, #EAF5FC 100%); }
.sky-dawn { background: linear-gradient(180deg, #7896CF 0%, #B8B9DD 38%, #F2C7B4 72%, #FCE0BE 100%); }
.sky-dusk { background: linear-gradient(180deg, #4E70B4 0%, #B58DB5 40%, #F2A27F 74%, #FCC78A 100%); }
.sky-twi { background: linear-gradient(180deg, #17224F 0%, #34397A 42%, #7E5A8E 74%, #D08473 100%); }
.sky-night { background: linear-gradient(180deg, #070F27 0%, #0D1B40 52%, #1A2B5A 100%); }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0;
  -webkit-mask-image: radial-gradient(ellipse 36% 26% at 50% 40%, transparent 70%, #000 100%);
  mask-image: radial-gradient(ellipse 36% 26% at 50% 40%, transparent 70%, #000 100%); }
.arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--hero-ink); }
.arc-path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-dasharray: 1.5 9; stroke-linecap: round; opacity: .42; }
.arc-ticks line { stroke: currentColor; stroke-width: 1.6; opacity: .35; }
.sun, .moon { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.sun { width: 170px; height: 170px; margin: -85px 0 0 -85px; transform: translate(50vw, 260px); }
.sun svg, .moon svg { width: 100%; height: 100%; }
.moon { width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 0; }
.js .sky-hero:not(.scene-ready) .sun { opacity: 0; }

.hero-copy { order: 1; position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; margin-bottom: auto; }
.hero-copy h1 { max-width: 17ch; margin-bottom: 18px; font-size: clamp(2.55rem, 1.6rem + 3.7vw, 4.6rem); }
.hero-copy .lede { color: var(--hero-ink-2); margin: 0 auto; max-width: 56ch; transition: color .4s; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-copy .btn-ghost { --b-fg: var(--hero-ink); --b-bd: var(--hero-ink); }

.land-wrap {
  position: relative; z-index: 1; flex: none;
  width: max(100cqw, 760px); margin-left: calc(50cqw - max(50cqw, 380px));
  aspect-ratio: 1440 / 400; margin-top: calc(max(100cqw, 760px) * -.085); order: 2;
}
.land, .lights, .flows { position: absolute; inset: 0; width: 100%; height: 100%; }
.flows { will-change: transform; }
.land { will-change: filter; }
.lights { will-change: opacity; }
.lights { opacity: 0; }
.bluebonnets { display: none; }
.sky-hero.spring .bluebonnets { display: inline; }
.conduit { fill: none; stroke: #5B6F80; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.flow { fill: none; stroke: #FFC23D; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3 11; opacity: 0; transition: opacity .5s; }
.flow.on { opacity: 1; animation: flow 1.1s linear infinite; }
.flow.rev { animation-direction: reverse; }
.lead { stroke: var(--ink); stroke-width: 1.6; fill: none; vector-effect: non-scaling-stroke; opacity: .75; }
.lead-dot { fill: #fff; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.sky-hero[data-ink="light"] .lead { stroke: #E9F0FA; }
.leads { display: none; }
.js .leads { display: inline; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.scene-paused .flow { animation-play-state: paused; }
.glint { transition: none; }
.batt-level { transform-box: fill-box; transform-origin: 50% 100%; }
.sh-house { transform-box: fill-box; }

/* hotspots */
.spots { position: absolute; inset: 0; display: none; }
.js .spots { display: block; }
.spot { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.spot-btn {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 0; padding: 0; min-width: 32px; min-height: 32px;
  border: 0; background: none; cursor: pointer; color: var(--ink); font: 700 .86rem/1 var(--font-b);
}
.spot-dot {
  position: relative; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 1.5px var(--ink), 0 3px 8px -2px rgba(20, 36, 51, .45);
  transition: transform .25s var(--ease-spring), background-color .2s;
}
.spot-dot::before, .spot-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 2px; margin: -1px 0 0 -4.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.spot-dot::after { transform: rotate(90deg); }
.spot-name {
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  padding: 7px 0; margin-left: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 2px var(--ink);
  transition: max-width .35s var(--ease), opacity .2s, padding .35s var(--ease), margin .35s var(--ease);
}
.spot-btn:hover .spot-name, .spot-btn:focus-visible .spot-name, .spot-btn[aria-expanded="true"] .spot-name { max-width: 160px; opacity: 1; padding: 7px 12px; margin-left: 6px; }
.spot-btn:hover .spot-dot, .spot-btn[aria-expanded="true"] .spot-dot { transform: scale(1.12); background: var(--sun-2); }
.spot-btn[aria-expanded="true"] .spot-dot::after { transform: rotate(0); }
.spot-btn:focus-visible { outline: none; }
.spot-btn:focus-visible .spot-dot { box-shadow: 0 0 0 2px var(--ink), 0 0 0 5px #FFC23D; }
.spot-tip {
  position: absolute; left: 0; bottom: 24px; transform: translateX(-50%);
  width: min(270px, 78vw); margin: 0; padding: 12px 14px; border-radius: 14px;
  background: #fff; color: var(--ink); font-size: .9rem; line-height: 1.45;
  box-shadow: 0 0 0 2px var(--ink), 0 14px 30px -14px rgba(20, 36, 51, .6); z-index: 5;
}
.spot-tip strong { display: block; font-family: var(--font-d); font-size: 1.02rem; margin-bottom: 2px; }
.spot-tip:not([hidden]) { animation: tip-in .25s var(--ease); }
@keyframes tip-in { from { opacity: 0; transform: translate(-50%, 6px); } }
.spot-meter .spot-tip, .spot-inverter .spot-tip { transform: translateX(-22%); }
.spot-ev .spot-tip { transform: translateX(-78%); }

/* day controls, set on the dark-green ground strip */
.dayline { display: none; }
.js .dayline {
  order: 3; position: relative; z-index: 3; display: grid; align-items: center;
  grid-template-columns: auto minmax(160px, 420px) auto auto minmax(0, 1fr);
  gap: 10px 18px; padding: 14px max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut)));
  background: #22422E; color: #F1F7F2; --focus: #FFC23D;
}
.day-play, .day-now {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 12px;
  border-radius: 999px; border: 2px solid rgba(241, 247, 242, .7); background: transparent; color: inherit;
  font: 700 .92rem/1 var(--font-b); cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s;
}
.day-play:hover, .day-now:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.day-play-ico { width: 14px; height: 14px; background: currentColor; clip-path: polygon(15% 0, 100% 50%, 15% 100%); transition: clip-path .2s; }
.day-play[aria-pressed="true"] .day-play-ico { clip-path: polygon(0 0, 38% 0, 38% 100%, 0 100%, 0 0, 62% 0, 100% 0, 100% 100%, 62% 100%, 62% 0); }
.day-now { padding: 0 14px; }
.day-now[hidden] { display: none; }
.day-track { display: grid; gap: 2px; }
.day-track label { font-size: .78rem; font-weight: 700; color: #BFD8C6; }
.day-time { font: 800 1.15rem/1 var(--font-d); font-variant-numeric: tabular-nums; min-width: 5.6em; }
.day-status { margin: 0; font-size: .92rem; color: #D7E8DB; max-width: 46ch; }

/* range inputs share one look: a horizon line with a sun for a thumb */
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer;
  --p: 50%; --track: rgba(255, 255, 255, .35); --done: var(--sun);
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--done) 0 var(--p), var(--track) var(--p) 100%);
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--track); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--done); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%;
  background: radial-gradient(circle, #FFE08A 0 34%, var(--sun) 36% 100%);
  border: 3px solid #fff; box-shadow: 0 0 0 1.5px rgba(20, 36, 51, .55), 0 3px 8px rgba(20, 36, 51, .35);
  transition: transform .2s var(--ease-spring);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--sun); border: 3px solid #fff;
  box-shadow: 0 0 0 1.5px rgba(20, 36, 51, .55);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--focus), 0 0 0 6px rgba(255, 194, 61, .5); }

@media (max-width: 1099.98px) { .sky-hero { padding-top: 104px; } }
@media (max-width: 860px) {
  .js .dayline { grid-template-columns: auto 1fr auto; }
  .day-track { grid-column: 1 / -1; grid-row: 1; }
  .day-play { grid-row: 2; grid-column: 1; }
  .day-time { grid-row: 2; grid-column: 2; justify-self: center; }
  .day-now { grid-row: 2; grid-column: 3; }
  .day-status { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sky-hero { padding-top: 92px; min-height: 0; }
  .hero-copy h1 { font-size: clamp(2.3rem, 9.4vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .land-wrap { margin-top: 118px; margin-left: calc(50cqw - max(50cqw, 380px) - max(0px, (760px - 100cqw) * .15)); }
  .sun { width: 130px; height: 130px; margin: -65px 0 0 -65px; }
  .spot-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------------------------------------------------------------- inner page heroes: one hour each */
.page-hero {
  --ph-ink: var(--ink); --ph-ink-2: var(--ink-2);
  --sky: linear-gradient(180deg, #8EC4EC 0%, #CDE6F8 60%, #EEF6FC 100%);
  position: relative; isolation: isolate; overflow: hidden; color: var(--ph-ink);
  padding: 168px 0 clamp(150px, 15vw, 210px); background: var(--sky);
}
.page-hero h1 { max-width: 15ch; margin-bottom: 20px; }
.page-hero .lede { color: var(--ph-ink-2); }
.page-hero .hero-actions { justify-content: flex-start; }
.page-hero .btn-ghost { --b-fg: var(--ph-ink); --b-bd: var(--ph-ink); }
.ph-art { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; width: 100%; height: clamp(120px, 15vw, 210px); }
.ph-sun { position: absolute; z-index: -1; width: 120px; height: 120px; border-radius: 50%;
  left: var(--sun-x, 80%); top: var(--sun-y, 40%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, #FFD45E 0 22%, rgba(255, 212, 94, .42) 24%, rgba(255, 212, 94, 0) 70%); }
html[data-hour="dawn"] .page-hero { --sky: linear-gradient(180deg, #A8B6E0 0%, #E4CFE0 46%, #FBE0CB 82%, #FDEBD9 100%); --sun-x: 66%; --sun-y: 84%; }
html[data-hour="morning"] .page-hero { --sky: linear-gradient(180deg, #7DB6E6 0%, #BCDDF5 52%, #F1E7D6 100%); --sun-x: 84%; --sun-y: 50%; }
html[data-hour="noon"] .page-hero { --sky: linear-gradient(180deg, #4A97DA 0%, #93C9EF 50%, #E2F1FB 100%); --sun-x: 84%; --sun-y: 30%; }
html[data-hour="golden"] .page-hero { --sky: linear-gradient(180deg, #6C8FC8 0%, #D9B4B0 46%, #F9C98B 80%, #FCDDB0 100%); --sun-x: 86%; --sun-y: 72%; }
html[data-hour="dusk"] .page-hero { --sky: linear-gradient(180deg, #1D2A5E 0%, #4A3F84 44%, #9C5F8C 78%, #DB8A72 100%); --sun-x: 88%; --sun-y: 104%; --ph-ink: #F6F8FD; --ph-ink-2: #DCE2F2; --focus: #FFC23D; }
html[data-hour="night"] .page-hero { --sky: linear-gradient(180deg, #08112A 0%, #12224A 60%, #22346A 100%); --ph-ink: #F4F7FD; --ph-ink-2: #CCD6EA; --focus: #FFC23D; }
html[data-hour="night"] .ph-sun { width: 64px; height: 64px; background: radial-gradient(circle at 50% 50%, #F4F1E8 0 34%, rgba(244, 241, 232, .16) 36%, rgba(244, 241, 232, 0) 70%); }
html[data-hour="night"] .page-hero { --sun-x: 84%; --sun-y: 32%; }
html[data-hour="dusk"] .ph-sun { display: none; }
/* narrower screens: the sun keeps to the clear band above the headline; at dawn it rises from the hills */
@media (max-width: 1099.98px) {
  html[data-hour] .page-hero { --sun-x: 86%; --sun-y: 112px; }
  html[data-hour="dawn"] .page-hero { --sun-x: 74%; --sun-y: calc(100% - clamp(120px, 15vw, 210px) * .62); }
}
.ph-stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.page-hero { --ph-far: #A8CDB8; --ph-near: #7FAE87; --oak: #4F7A57; --oak2: #5F8B63; --wall: #F7F3EA; --roof: #2D3B4B; }
.ph-far { fill: var(--ph-far); } .ph-near, .ph-ground { fill: var(--ph-near); }
.h-wall { fill: var(--wall); } .h-roof { fill: var(--roof); } .h-pv { fill: var(--cell); }
.h-win { fill: #B9D8EE; } .h-lit { fill: #FFD27A; } .h-door { fill: var(--sun); }
.h-batt { fill: #fff; stroke: var(--roof); stroke-width: 1.5; } .h-ev { fill: #22384C; }
.h-trunk { fill: #5E4B3D; } .h-oak { fill: var(--oak); } .h-oak2 { fill: var(--oak2); }
.h-post { fill: #5E4B3D; } .h-box { fill: #E9EEF2; stroke: var(--roof); stroke-width: 1.5; }
.ph-road { fill: none; stroke: #E8D3B0; stroke-width: 12; stroke-linecap: round; }
.ph-route { fill: none; stroke: #4B4A78; stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; }
html[data-hour="dawn"] .page-hero { --ph-far: #B9B0D6; --ph-near: #8F8BBB; --oak: #6F6A9E; --oak2: #7D78AC; --wall: #F1E8EE; --roof: #4B4A78; }
html[data-hour="noon"] .page-hero { --ph-far: #A2CEA3; --ph-near: #7AB07C; --oak: #4C7A52; --oak2: #5E8E5E; }
html[data-hour="golden"] .page-hero { --ph-far: #CDAF7C; --ph-near: #9E8B58; --oak: #5B6A3C; --oak2: #6B7A46; --wall: #F7E2C2; --roof: #3E3A40; }
html[data-hour="dusk"] .page-hero { --ph-far: #6B5791; --ph-near: #45396F; --oak: #382E5C; --oak2: #3F3567; --wall: #5D4F82; --roof: #2B2350; }
html[data-hour="night"] .page-hero { --ph-far: #1F2C59; --ph-near: #141E43; --oak: #101A3B; --oak2: #162146; --wall: #23315F; --roof: #121A3A; }
html[data-hour="dusk"] .h-door, html[data-hour="night"] .h-door { fill: #C98A2E; }

/* ---------------------------------------------------------------- page body
   One calm surface under every page: a slow shift from morning light to evening, no bands.
   The sun-and-horizon motif lives in the logo, the heroes and the closing sunset; the body is typographic. */
:root { --sect-y: clamp(64px, 8vw, 112px); --sect-in: clamp(32px, 4vw, 48px); --rule: rgba(20, 36, 51, .2); }
main { background: linear-gradient(180deg, #F2F7FB 0%, #F8FAFC 38%, #FAFAFA 76%, #F4ECF2 100%); }

/* services hero: links to each service */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem;
  box-shadow: inset 0 0 0 1.5px rgba(20, 36, 51, .22); transition: background-color .2s, box-shadow .2s;
}
.jump a:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------------------------------------------------------------- sections: one rhythm; each new section opens on a horizon line */
.sect { position: relative; padding: var(--sect-y) 0 0; }
main > .sect:last-child { padding-bottom: var(--sect-y); }
.page-hero + .sect, .sky-hero + .sect { padding-top: clamp(48px, 6vw, 80px); }
.sect + .sect > .wrap {
  padding-top: var(--sect-in);
  background: linear-gradient(var(--rule), var(--rule)) var(--gut) 0 / calc(100% - 2 * var(--gut)) 1.5px no-repeat;
}
.sect-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sect-head h2 { max-width: 16ch; }
.sect-head p { margin: 0; color: var(--ink-2); font-size: 1.08rem; }
@media (max-width: 820px) { .sect-head { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- home: review */
.review-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.review-side { margin: 0; color: var(--ink); }
.roofplan { width: 100%; height: auto; color: var(--ink); }
.rp-roof path { fill: #EEF3F7; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.rp-roof .rp-hip { fill: none; stroke-width: 1.3; opacity: .7; }
.rp-panel { fill: var(--cell); stroke: #8FB2D2; stroke-width: 1; }
.rp-tree { fill: #A9C6A1; opacity: .8; }
.rp-shade { fill: url(#rpHatch); }
.rp-trunk { fill: #5E4B3D; }
.rp-dim path { fill: none; stroke: var(--ink); stroke-width: 1.3; opacity: .6; }
.rp-dim .rp-arrow { fill: var(--ink); stroke: none; }
.rp-north circle { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.rp-needle { fill: var(--ink); }
.rp-north text { font: 700 13px var(--font-b); fill: var(--ink); }
.rp-sunpath { fill: none; stroke: var(--sun-deep); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.rp-sundisc { fill: var(--sun); }
.rp-sunglow { fill: var(--sun); opacity: .25; }
.review-side figcaption { margin-top: 18px; font-size: 1.04rem; font-weight: 700; max-width: 44ch; }
.review-note { margin: 8px 0 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } .review-side { order: 2; } }

/* ---------------------------------------------------------------- the one card: forms and the estimator */
.form-card, .est-card {
  position: relative; background: #fff; border-radius: 24px; padding: clamp(22px, 3.2vw, 36px);
  box-shadow: 0 0 0 1.5px #CFDCE6, 0 24px 48px -36px rgba(20, 36, 51, .5);
}
.form-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 8px; }
.form-head h2 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 6px; }
.form-head p { color: var(--ink-2); margin: 0; }
/* a small panel whose cells light as the required fields are filled */
.charge { width: 66px; height: 44px; flex: none; margin-top: 4px; }
.charge-frame { fill: #fff; stroke: #A9BFCF; stroke-width: 2; transition: stroke .3s; }
.charge-cell { fill: #DCE6EE; transition: fill .45s var(--ease), transform .45s var(--ease-spring); transform-box: fill-box; transform-origin: center; }
.charge-cell.lit { fill: var(--sun); transform: scale(1.06); }
.charge.full .charge-frame { stroke: var(--ink); }
.charge.full .charge-cell { fill: var(--sun-2); }

.form { display: grid; gap: 16px; margin-top: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-weight: 700; font-size: .95rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink); width: 100%;
  min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid #A9BFCF; background: #FBFDFF;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form select {
  -webkit-appearance: none; appearance: none; padding-right: 42px;
  background: #FBFDFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M2 2l8 8 8-8' fill='none' stroke='%23142433' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 14px no-repeat;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #6F8BA1; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background-color: #fff; box-shadow: 0 0 0 4px rgba(245, 163, 0, .38); }
.form input:user-valid { border-color: #5D9273; }
.form input:user-invalid { border-color: #B4442E; }
.form .btn { width: 100%; margin-top: 6px; min-height: 54px; font-size: 1.06rem; }
.form .fine { font-size: .84rem; color: var(--ink-2); margin: 0; }
.form-status { font-size: .96rem; font-weight: 700; margin: 0; padding: 12px 14px; border-radius: 12px; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #E3F4E8; color: #14532D; }
.form-status.warn { background: var(--fill); color: var(--ink); box-shadow: inset 4px 0 0 var(--sun-deep); }
fieldset { border: 0; margin: 4px 0 0; padding: 0; min-width: 0; }
legend { font-weight: 700; font-size: .95rem; margin-bottom: 10px; padding: 0; }
.checks-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks-row label {
  display: flex; align-items: center; gap: 10px; font-weight: 600; min-height: 48px; padding: 0 14px;
  border-radius: 12px; border: 1.5px solid #C2D3DF; background: #FBFDFF; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.checks-row label:has(input:checked) { border-color: var(--ink); background: #FFF6DC; }
.checks-row input { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--ink); flex: none; }
@media (max-width: 560px) { .form .row, .checks-row { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- sequences: one step style for every process on the site */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1.5px; background: var(--rule); }
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step); position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px;
  border-radius: 50%; background: #F8FAFC; border: 1.5px solid var(--ink); font: 700 1rem/1 var(--font-d); color: var(--ink);
}
.steps li:last-child::before { background: var(--sun); border-color: var(--sun); }
.steps h3, .steps strong { display: block; margin-bottom: 8px; font: 700 1.24rem/1.25 var(--font-d); }
.steps p { color: var(--ink-2); font-size: 1rem; margin: 0; max-width: 32ch; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { left: 19px; right: auto; top: 10px; bottom: 10px; width: 1.5px; height: auto; }
  .steps li { padding-left: 62px; }
  .steps li::before { position: absolute; left: 0; top: -6px; margin: 0; }
}

/* ---------------------------------------------------------------- columns of text: typography carries them */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.option h3 { margin-bottom: 4px; }
.option .for { font-weight: 700; color: var(--link); margin-bottom: 14px; }
.options-note { margin: 36px 0 0; color: var(--ink-2); }
.option ul, .role ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.option li, .role li { position: relative; padding-left: 20px; color: var(--ink-2); }
.option li::before, .role li::before { content: ""; position: absolute; left: 3px; top: .66em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); }
@media (max-width: 900px) { .options { grid-template-columns: 1fr; gap: 36px; max-width: 560px; } }

.why-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.why h2 { max-width: 11ch; }
.promises { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.why .promises { grid-template-columns: 1fr 1fr; }
.promises.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promises dt { font: 700 1.16rem/1.3 var(--font-d); margin-bottom: 6px; }
.promises dd { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .promises, .promises.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .promises, .why .promises, .promises.four { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- what we install: four line drawings that answer the pointer */
.svc-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.svc { display: block; color: var(--ink); text-decoration: none; border-radius: 18px; padding: 10px 12px 12px; margin: -10px -12px -12px; transition: background-color .25s; }
.svc:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.svc-art { width: 100%; max-width: 150px; height: auto; margin-bottom: 14px; overflow: visible; }
.svc h3 { margin-bottom: 8px; display: inline; background: linear-gradient(var(--sun), var(--sun)) 0 100% / 0 3px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.svc:hover h3, .svc:focus-visible h3 { background-size: 100% 3px; }
.svc p { color: var(--ink-2); font-size: 1rem; margin-top: 10px; }
.sa-ground { stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.sa-leg { stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; }
.sa-frame { fill: #A7B5C3; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.sa-cells { fill: var(--cell); }
.sa-grid { stroke: #5D86B5; stroke-width: 1.2; fill: none; }
.sa-glint { fill: #fff; opacity: .5; transform: translateX(-26px); transition: transform .7s var(--ease), opacity .3s; }
.svc:hover .sa-glint { transform: translateX(42px); opacity: .7; }
.sa-box { fill: #fff; stroke: var(--ink); stroke-width: 2.4; }
.sa-well { fill: #E5EDF3; }
.sa-fill { fill: var(--sun); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(.42); transition: transform .9s var(--ease); }
.svc:hover .sa-fill { transform: scaleY(1); }
.sa-led { fill: #5BBF8A; }
.sa-bolt { fill: var(--sun); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; transition: transform .4s var(--ease-spring); }
.svc:hover .sa-bolt { transform: scale(1.18); }
.sa-cable { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.sa-plug { fill: var(--ink); }
.sa-wrench path { fill: var(--sun); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.sa-wrench { transform-box: fill-box; transform-origin: 30% 30%; transition: transform .6s var(--ease-spring); }
.svc:hover .sa-wrench { transform: rotate(-24deg); }
@media (max-width: 900px) { .svc-list { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 520px) { .svc-list { grid-template-columns: 1fr; } .svc-art { max-width: 130px; } }

/* ---------------------------------------------------------------- equipment: an exploded mounting stack; point at a brand to find its part */
.equip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.explode { width: 100%; max-width: 480px; height: auto; justify-self: center; overflow: visible; }
.ex-guide { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 6; opacity: .4; fill: none; }
.ex-roof.ft { fill: #CFD8E0; } .ex-roof.fl { fill: #A5B3BF; } .ex-roof.fr { fill: #94A3B0; }
.ex-shingle { stroke: #94A3B0; stroke-width: 1.4; }
.ex-flash { fill: #B9C5CF; stroke: var(--ink); stroke-width: 1; }
.ex-foot.ft, .ex-rail.ft { fill: #E2E8ED; } .ex-foot.fl, .ex-rail.fl { fill: #B4C0CA; } .ex-foot.fr, .ex-rail.fr { fill: #98A6B2; }
.ex-rail, .ex-foot { stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.ex-inv.ft { fill: #3A4A5A; } .ex-inv.fl { fill: #24313E; } .ex-inv.fr { fill: #1B2631; }
.ex-inv { stroke: var(--ink); stroke-width: 1; }
.ex-cable { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.ex-frame.ft { fill: #C3CDD6; } .ex-frame.fl { fill: #9AA8B4; } .ex-frame.fr { fill: #8696A4; }
.ex-frame { stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.ex-cells { fill: var(--cell); }
.ex-cellline { stroke: #5D86B5; stroke-width: 1; }
.ex-glint { fill: #fff; opacity: .28; }
.ex-batt.ft { fill: #FFFFFF; } .ex-batt.fl { fill: #E3EAF0; } .ex-batt.fr { fill: #CBD6DF; }
.ex-batt, .ex-ev { stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
.ex-battbar { stroke: var(--sun); stroke-width: 6; stroke-linecap: round; }
.ex-led { fill: #5BBF8A; }
.ex-bolt { fill: var(--sun); }
.ex-ev.ft { fill: #3A4A5A; } .ex-ev.fl { fill: #24313E; } .ex-ev.fr { fill: #1B2631; }
.ex-part { transition: opacity .3s, filter .3s; }
.equip.focus .ex-part { opacity: .28; }
.equip.focus .ex-part.on { opacity: 1; filter: drop-shadow(0 0 6px rgba(245, 163, 0, .9)); }
.brand-row { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.brand-row li {
  display: grid; grid-template-columns: 7.2em 1fr; gap: 2px 18px; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line-2);
  transition: background-color .25s, padding .25s var(--ease);
}
.brand-row li:hover { background: rgba(255, 255, 255, .8); padding-left: 12px; }
.brand-row span { grid-row: span 2; color: var(--ink-2); font-size: .92rem; font-weight: 700; padding-top: 3px; }
.brand-row strong { font: 700 1.16rem/1.25 var(--font-d); }
.brand-row em { font-style: normal; color: var(--ink-2); font-size: .96rem; line-height: 1.45; }
@media (max-width: 900px) { .equip { grid-template-columns: 1fr; } .explode { max-width: 360px; } }
@media (max-width: 420px) { .brand-row li { grid-template-columns: 1fr; } .brand-row span { grid-row: auto; } }

/* ---------------------------------------------------------------- definition rows: company facts, warranties, contact details */
.facts-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.facts-grid .lede { margin-top: 18px; }
.plate dl, .facts-dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; border-top: 2px solid var(--ink); }
.plate dt, .plate dd, .facts-dl dt, .facts-dl dd { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.plate dt, .facts-dl dt { padding-right: 28px; padding-top: 17px; font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.plate dd, .facts-dl dd { font-weight: 600; }
@media (max-width: 820px) {
  .facts-grid { grid-template-columns: 1fr; }
  .plate dl, .facts-dl { grid-template-columns: 1fr; }
  .plate dt, .facts-dl dt { border-bottom: 0; padding-bottom: 0; }
}

/* ---------------------------------------------------------------- placeholders the owner still has to fill: one dashed style */
.reviews-slot, .photo-slot, .map-slot { border: 2px dashed var(--sun-deep); background: rgba(255, 246, 220, .75); border-radius: 18px; color: var(--ink); }
.reviews-slot { padding: 28px 32px; }
.reviews-slot p:last-child { margin-bottom: 0; }
.photo-slot { width: 100%; aspect-ratio: 4 / 5; display: grid; place-items: center; font-weight: 700; color: #6B4A00; }
.map-slot { padding: 26px; min-height: 200px; }
.map-slot p { margin: 0 0 6px; }
@media (max-width: 560px) { .reviews-slot { padding: 22px; } }

/* ---------------------------------------------------------------- hiring rows */
.hiring-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hiring h2 { margin-bottom: 16px; }
.hiring p { color: var(--ink-2); }
.role-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.role-list a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 2px; border-bottom: 1px solid var(--line-2);
  color: var(--ink); text-decoration: none; font: 700 1.16rem/1.3 var(--font-d); transition: color .2s, padding .3s var(--ease);
}
.role-list a span { font: 600 .92rem/1.2 var(--font-b); color: var(--ink-2); white-space: nowrap; }
.role-list a:hover { color: var(--link); padding-left: 12px; }
@media (max-width: 820px) { .hiring-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .role-list a { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* ---------------------------------------------------------------- FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq-wrap > h2 { position: sticky; top: 100px; }
.faq { max-width: 820px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  cursor: pointer; list-style: none; position: relative; padding: 20px 56px 20px 0;
  font: 700 1.14rem/1.35 var(--font-d); transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; top: 50%; }
.faq summary::before { right: 0; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color .3s, border-color .3s; }
.faq summary::after {
  right: 10px; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: transform .4s var(--ease);
}
.faq summary:hover { color: var(--link); }
.faq details[open] summary::before { background: var(--sun); border-color: var(--sun); }
.faq details[open] summary { color: var(--ink); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { color: var(--ink-2); padding: 0 56px 18px 0; margin: 0; }
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap > h2 { position: static; } }

/* ---------------------------------------------------------------- CTA band: the day ends in one sunset */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; color: var(--ink);
  background: linear-gradient(180deg, #F4ECF2 0%, #F3CDBB 42%, #F6B088 72%, #F29E70 100%);
  padding: clamp(72px, 8vw, 104px) 0 clamp(190px, 19vw, 250px); text-align: center;
}
.cta-sky { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; z-index: -1; }
.cta-sun { fill: #FFD27A; }
.cta-hill1 { fill: #7A4F7E; }
.cta-hill2 { fill: #3B2E5E; }
.cta-inner h2 { max-width: 18ch; margin: 0 auto 12px; }
.cta-inner p { margin: 0 auto 26px; font-size: 1.12rem; color: #3A2734; font-weight: 600; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-band .btn-line { background: rgba(255, 255, 255, .35); }
.cta-band .btn-line:hover { background: var(--ink); }

/* ---------------------------------------------------------------- footer: the street at night */
.site-foot { position: relative; background: #0C1631; color: #C3D0E4; font-size: .98rem; --focus: #FFC23D; }
.foot-sky { position: relative; overflow: hidden; background: linear-gradient(180deg, #151F49 0%, #0E1838 70%, #0C1631 100%); padding: clamp(64px, 8vw, 96px) 0 24px; }
.foot-stars { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 16%, transparent 30%, transparent 70%, #000 84%);
  mask-image: linear-gradient(90deg, #000 0, #000 16%, transparent 30%, transparent 70%, #000 84%); }
.foot-main { position: relative; display: grid; justify-items: center; text-align: center; gap: 34px; }
.foot-logo { position: relative; display: grid; justify-items: center; gap: 8px; color: #EEF4FC; text-decoration: none; padding: 6px; }
.foot-logo:hover { color: #fff; }
.foot-mark { width: 92px; height: 46px; overflow: visible; }
.foot-word { width: 214px; height: 54px; overflow: visible; }
.foot-desc { width: 166px; height: 22px; color: #BFD0E6; overflow: visible; }
.foot-brand p { margin: 16px auto 0; max-width: 44ch; color: #C3D0E4; }
.foot-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font-size: 1.04rem; }
.foot-contact a, .foot-row a { color: #F1F6FD; text-decoration-color: rgba(241, 246, 253, .4); }
.foot-contact a:hover, .foot-row a:hover { color: #FFD27A; text-decoration-color: currentColor; }
.foot-phone { font: 800 1.3rem/1.2 var(--font-d); text-decoration: none; }
.foot-rows { display: grid; gap: 12px; width: 100%; max-width: 920px; border-top: 1px solid rgba(195, 208, 228, .2); padding-top: 26px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 22px; }
.foot-row h3 { font: 700 .95rem/1.4 var(--font-b); color: #FFD27A; margin: 0 4px 0 0; }
.foot-row ul { list-style: none; margin: 0; padding: 0; display: contents; }
.foot-row li { display: inline; }
.foot-street { display: block; width: 100%; height: clamp(70px, 9vw, 118px); background: transparent; margin-top: -2px; }
.st-house { fill: #1B2852; } .st-roof { fill: #121C3F; } .st-tree { fill: #13203F; } .st-panel { fill: #2A4C82; }
.st-lit { fill: #FFC85C; } .st-dark { fill: #263565; } .st-ground { fill: #070D20; }
.foot-ground { background: #070D20; padding: 18px 0 22px; font-size: .9rem; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: #A9B8CF; }
.foot-legal-links { display: flex; gap: 22px; }
.foot-legal a { color: #E6EEF9; }
.site-foot .fill { color: var(--ink); }

/* ---------------------------------------------------------------- services */
.svc-detail { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 6vw, 80px); padding: clamp(44px, 5vw, 64px) 0; scroll-margin-top: 90px; }
.svc-detail:first-child { padding-top: 0; }
.svc-detail + .svc-detail { border-top: 1.5px solid var(--rule); }
.svc-detail h2 { margin-bottom: 16px; }
.svc-detail h3 { font-size: 1.12rem; margin: 0 0 12px; }
.svc-detail p { color: var(--ink-2); }
.svc-head { position: sticky; top: 96px; align-self: start; }
.checks { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line-2); }
.checks li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 6.5px; border-left: 2.2px solid var(--ink); border-bottom: 2.2px solid var(--ink); transform: rotate(-45deg); }
@media (max-width: 820px) { .svc-detail { grid-template-columns: 1fr; } .svc-head { position: static; } }

/* ---------------------------------------------------------------- pricing: estimator */
.estimator-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.estimator-grid > div:first-child .lede { margin-top: 18px; }
.est-caveat { color: var(--ink-2); }
.est-form { display: grid; gap: 8px; }
.est-form > label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; margin-top: 10px; }
.est-form output { font: 800 1.35rem/1 var(--font-d); color: var(--ink); font-variant-numeric: tabular-nums; }
.est-form input[type=range] { --track: #D4E1EA; --done: var(--sun); }
.est-form .fine { font-size: .86rem; color: var(--ink-2); margin: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label {
  position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 10px 6px 12px; cursor: pointer;
  font-weight: 700; font-size: .92rem; border-radius: 14px; border: 1.5px solid #C2D3DF; background: #FBFDFF;
  transition: border-color .2s, background-color .2s;
}
/* the sun in each option grows with how sunny it is */
.seg label::before {
  content: ""; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 0 38%, transparent 40%), conic-gradient(from 0deg, var(--sun) 0 4%, transparent 4% 12.5%, var(--sun) 12.5% 16.5%, transparent 16.5% 25%, var(--sun) 25% 29%, transparent 29% 37.5%, var(--sun) 37.5% 41.5%, transparent 41.5% 50%, var(--sun) 50% 54%, transparent 54% 62.5%, var(--sun) 62.5% 66.5%, transparent 66.5% 75%, var(--sun) 75% 79%, transparent 79% 87.5%, var(--sun) 87.5% 91.5%, transparent 91.5%);
  -webkit-mask: radial-gradient(circle, #000 0 64%, transparent 66%); mask: radial-gradient(circle, #000 0 64%, transparent 66%);
  transform: scale(var(--s, .75)); opacity: var(--o, .6); transition: transform .35s var(--ease-spring), opacity .2s;
}
.seg label:nth-child(1) { --s: .62; --o: .55; }
.seg label:nth-child(3) { --s: .95; --o: .75; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label:has(input:checked) { border-color: var(--ink); background: #FFF6DC; }
.seg label:has(input:checked)::before { opacity: 1; transform: scale(calc(var(--s, .75) + .12)) rotate(20deg); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.roofgrid { position: relative; margin: 22px 0 6px; padding: 18px 18px 12px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #B4D8F3 0%, #E2F1FB 100%); }
.roofgrid-roof {
  position: relative; height: 150px; margin: 0 auto; width: 100%;
  background: #2D3B4B; clip-path: polygon(7% 100%, 93% 100%, 80% 0, 20% 0);
  display: grid; place-items: center; padding: 10px 18% 8px;
}
.roofgrid-roof::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: #1D2A37; }
.roofgrid-panels { display: grid; gap: 3px; grid-template-columns: repeat(var(--cols, 6), var(--tile, 20px)); justify-content: center; align-content: center; }
.roofgrid-panels i {
  display: block; width: var(--tile, 20px); height: calc(var(--tile, 20px) * 1.25); border-radius: 2px;
  background: linear-gradient(135deg, #3A6EA3, #193E66); box-shadow: inset 0 0 0 1px #8FB2D2;
  animation: pop .45s var(--ease-spring) both; animation-delay: calc(var(--i, 0) * 12ms);
}
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.roofgrid-cap { margin: 8px 0 0; font-size: .86rem; color: var(--ink-2); text-align: center; }
.est-result { margin: 18px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.est-result div { padding: 14px 16px; border-radius: 14px; background: #F3F7FA; }
.est-result dt { font-size: .86rem; color: var(--ink-2); font-weight: 700; }
.est-result dd { margin: 4px 0 0; font: 800 1.6rem/1.15 var(--font-d); font-variant-numeric: tabular-nums; }
.est-result dd.bump { animation: bump .45s var(--ease-spring); }
@keyframes bump { 40% { transform: translateY(-3px); color: #8A5A00; } }
.est-card > .btn { width: 100%; }
@media (max-width: 900px) { .estimator-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .est-result { grid-template-columns: 1fr; } .roofgrid-roof { padding-inline: 14%; } }

.table-scroll { overflow-x: auto; border-radius: 18px; box-shadow: 0 0 0 1.5px #CFDCE6; background: #fff; }
.table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font: 700 1.04rem/1.3 var(--font-d); }
.compare tbody th { font-weight: 700; width: 19%; background: #F6F9FB; position: sticky; left: 0; }
.compare tbody td { color: var(--ink-2); }
.compare tbody tr:hover > * { background: #FFF8E4; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare-note { margin-top: 24px; color: var(--ink-2); }

/* ---------------------------------------------------------------- about */
.story-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 6vw, 80px); }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.team li { display: grid; gap: 8px; justify-items: start; }
.area-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.area-wrap .lede { margin-top: 16px; }
.area-map { width: 100%; max-width: 420px; height: auto; justify-self: center; overflow: visible; }
.am-river { fill: none; stroke: #8DBCE0; stroke-width: 5; stroke-linecap: round; opacity: .8; }
.am-road { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 1 7; stroke-linecap: round; opacity: .4; }
.am-dot { fill: var(--ink); }
.am-hub { fill: var(--sun); stroke: var(--ink); stroke-width: 2.5; }
.am-label { font: 700 14px var(--font-b); fill: var(--ink); }
.area-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { padding: 7px 14px; border-radius: 999px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--rule); }
@media (max-width: 820px) { .story-grid { grid-template-columns: 1fr; } .team { grid-template-columns: 1fr 1fr; } .area-wrap { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- careers */
.roles-title { margin-bottom: 8px; }
.role { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding: clamp(32px, 4vw, 48px) 0; scroll-margin-top: 90px; }
.role + .role { border-top: 1.5px solid var(--rule); }
.role h3 { font-size: 1.62rem; margin-bottom: 18px; }
.role dl { margin: 0; display: grid; gap: 14px; }
.role dt { font-size: .86rem; color: var(--ink-2); font-weight: 700; }
.role dd { margin: 2px 0 0; font-weight: 700; }
.role h4 { margin: 0 0 10px; }
.role ul { margin-bottom: 24px; }
.role .btn { margin-top: 4px; }
@media (max-width: 860px) { .role { grid-template-columns: 1fr; } }
.hire-steps { list-style: none; margin: 0; padding: 0; counter-reset: h; border-top: 2px solid var(--ink); }
.hire-steps li { counter-increment: h; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.hire-steps li::before { content: counter(h); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 700 .98rem/1 var(--font-d); }
.hire-steps li:last-child::before { background: var(--sun); border-color: var(--sun); }
.hire-steps strong { font: 700 1.1rem/1.3 var(--font-d); }
.hire-steps span { color: var(--ink-2); }
.apply-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.apply-grid .lede { margin-top: 18px; }
.apply-alt { color: var(--ink-2); }
.apply-card-title { font-size: 1.4rem; margin-bottom: 4px; }
@media (max-width: 860px) { .apply-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-side { display: grid; gap: 32px; }
.side-note h3 { font-size: 1.12rem; margin-bottom: 6px; }
.side-note p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 12px; }
.legal .reviews-slot { margin-bottom: 36px; }

/* ---------------------------------------------------------------- motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .flow.on { animation: none; stroke-dasharray: none; opacity: .9; }
  .roofgrid-panels i { animation: none; }
}
