
@keyframes so-rise { from { clip-path: inset(100% 0 0 0 round 16px); } to { clip-path: inset(0 0 0 0 round 16px); } }

/* chapters */
.so-ch { scroll-margin-top: 80px; }
.so-om__stage { position: relative; margin-top: clamp(48px, 7vh, 80px); }
.so-om__img { aspect-ratio: 21 / 9; }
.so-om__img .rv__m { filter: brightness(0.82); }
@keyframes so-ping { from { transform: scale(0.9); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
@keyframes so-card { from { opacity: 0; transform: translateY(8px); } }
.so-om__list { display: none; }
@media (max-width: 800px) {
  .so-om__img { aspect-ratio: 4 / 3; }
  .so-om__list { display: grid; gap: 6px; margin-top: 20px; }
  .so-om__list button { width: 100%; display: flex; gap: 14px; align-items: center; padding: 12px 14px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.06); color: rgba(251, 251, 250, 0.8); font: inherit; text-align: left; }
  .so-om__list button.is-on { background: var(--sun); color: var(--white); }
  .so-om__list span { font-size: var(--t-0); }
}

.so-faq { padding-top: clamp(88px, 13vh, 150px) !important; }

/* Solutions: chapters (hero scene, on-grid, hybrid, EV, O&M) */

.s2-k { display: flex; align-items: center; gap: 12px; font-size: var(--t-1); color: var(--ink-2); }
.s2-k > span { font-size: var(--t-0); color: var(--sun-deep); }

/* 1 · on-grid: one site, three places to generate */
.s2-og { position: relative; height: 430vh; scroll-margin-top: 0; }
.s2-og__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: center; padding: 110px var(--edge) 40px; }
.s2-og__copy { display: grid; gap: 28px; align-content: center; }
.s2-og__h { max-width: 13ch; }
.s2-og__list { border-top: 1px solid var(--line); }
.s2-og__list li { position: relative; display: grid; gap: 0; padding: 16px 0; border-bottom: 1px solid var(--line); color: rgba(19, 32, 45, 0.38); transition: color 0.4s; }
.s2-og__list li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--sun); transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }
.s2-og__list li.is-on, .s2-og__list li.is-done { color: var(--ink); }
.s2-og__name { font-size: var(--t-3); letter-spacing: -0.02em; font-weight: 500; }
.s2-og__line { display: grid; grid-template-rows: 0fr; overflow: hidden; color: var(--ink-2); max-width: 40ch; font-size: var(--t-1); transition: grid-template-rows 0.6s var(--ease-out), margin 0.6s var(--ease-out); }
.s2-og__line > span { min-height: 0; }
.s2-og__list li.is-on .s2-og__line { grid-template-rows: 1fr; margin-top: 6px; }
.s2-og__end { display: grid; gap: 16px; justify-items: start; }
.s2-og__credit { font-size: var(--t-2); color: var(--ink); max-width: 34ch; padding-left: 14px; border-left: 2px solid var(--sun); }
.s2-rel { display: inline-grid; grid-template-columns: auto 46px; gap: 2px 18px; align-items: center; padding: 8px 8px 8px 16px; border-radius: 12px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s; }
.s2-rel:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.s2-rel__k { font-size: var(--t-0); color: var(--ink-2); }
.s2-rel__t { grid-row: 2; font-size: var(--t-1); }
.s2-rel .cta-icon { grid-column: 2; grid-row: 1 / span 2; }

.s2-og__stage { position: relative; justify-self: end; width: 100%; display: flex; justify-content: flex-end; }
.s2-og__frame { position: relative; aspect-ratio: 4 / 3; width: min(100%, calc((100svh - 170px) * 4 / 3)); border-radius: 18px; overflow: hidden; background: #d9dee1; }
.s2-og__zoom { position: absolute; inset: 0; transition: transform 1.4s var(--ease-out), transform-origin 1.4s var(--ease-out); }

.s2-og__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s2-og__dim { position: absolute; inset: 0; background: rgba(15, 27, 42, 0.26); transition: opacity 0.8s; }
.s2-zone { position: absolute; }
.s2-zone::before { content: ""; position: absolute; inset: 0; background: rgba(30, 150, 241, calc(var(--fl, 0) * 0.32)); box-shadow: 0 0 0 9999px transparent; }
.s2-zone i { position: absolute; background: var(--sun); }
.s2-zone .t { left: 0; top: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(clamp(0, calc(var(--d) * 4), 1)); }
.s2-zone .r { right: 0; top: 0; width: 2px; height: 100%; transform-origin: 50% 0; transform: scaleY(clamp(0, calc(var(--d) * 4 - 1), 1)); }
.s2-zone .b { right: 0; bottom: 0; height: 2px; width: 100%; transform-origin: 100% 50%; transform: scaleX(clamp(0, calc(var(--d) * 4 - 2), 1)); }
.s2-zone .l { left: 0; bottom: 0; width: 2px; height: 100%; transform-origin: 50% 100%; transform: scaleY(clamp(0, calc(var(--d) * 4 - 3), 1)); }
.s2-zone em { position: absolute; left: -2px; bottom: calc(100% + 6px); padding: 4px 10px; border-radius: 6px; background: var(--sun); color: var(--white); font-style: normal; font-size: var(--t-0); white-space: nowrap; }
.s2-zone:not(.is-on) em { background: rgba(15, 27, 42, 0.7); }
.s2-og__proof { position: absolute; right: 16px; bottom: 16px; width: 30%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 4px rgba(251, 251, 250, 0.9), 0 20px 40px rgba(0, 0, 0, 0.3); transition: opacity 0.6s; background: #d9dee1; }
.s2-og__proof img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 0.7s, transform 1.2s var(--ease-out); }
.s2-og__proof img.is-on { opacity: 1; transform: none; }
.s2-og__proof span { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(15, 27, 42, 0.65); color: var(--white); font-size: 11px; }
@media (max-width: 900px) {
  .s2-og { height: 400vh; }
  .s2-og__stick { grid-template-columns: 1fr; align-content: start; gap: 18px; padding: 92px var(--edge) 24px; }
  .s2-og__stage { order: -1; }
  .s2-og__frame { width: 100%; }
  .s2-og__copy { gap: 14px; }
  .s2-og__h { font-size: var(--t-4); }
  .s2-og__list li:not(.is-on) { display: none; }
  .s2-og__list li { padding: 10px 0; }
  .s2-og__end { position: absolute; left: var(--edge); right: var(--edge); bottom: 150px; background: var(--white); padding-top: 12px; }
  .s2-og__proof { width: 34%; right: 10px; bottom: 10px; }
}

/* 2 · hybrid: a day on a remote site */
.s2-hy { position: relative; height: 440vh; scroll-margin-top: 0; background: var(--night); color: var(--white); }
.s2-hy__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.s2-hy__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 0.6s; }
.s2-hy__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 28, 0.85) 0%, rgba(10, 18, 28, 0.55) 45%, rgba(10, 18, 28, 0.35) 100%); }
.s2-hy__sky { position: absolute; left: calc(var(--edge) + 38%); right: var(--edge); top: 172px; height: 13vh; pointer-events: none; }
.s2-hy__arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.s2-hy__arc path { fill: none; stroke: rgba(255, 255, 255, 0.32); stroke-width: 1; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.s2-hy__sun, .s2-hy__moon { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px; border-radius: 50%; transition: opacity 0.6s; }
.s2-hy__sun svg, .s2-hy__moon svg { width: 24px; height: 24px; }
.s2-hy__sun { background: var(--sun); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 0 7px rgba(30, 150, 241, 0.22), 0 0 40px 10px rgba(120, 190, 255, 0.4); }
.s2-hy__sun svg { fill: #fff; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.s2-hy__moon { background: rgba(15, 27, 42, 0.85); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 0 30px 6px rgba(200, 220, 255, 0.15); }
.s2-hy__moon svg { fill: #fff; }
.s2-hy__in { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: 130px var(--edge) 48px; }
.s2-hy .s2-k { color: rgba(251, 251, 250, 0.7); }
.s2-hy .s2-k > span { color: var(--sun); }
.s2-hy__copy { display: grid; gap: 18px; align-content: center; }
.s2-hy__h { color: var(--white); }
.s2-hy__clock { margin-top: 8px; font-size: var(--t-6); line-height: 1; letter-spacing: -0.04em; font-weight: 500; font-variant-numeric: tabular-nums; }
.s2-hy__moment { display: grid; gap: 6px; min-height: 8.5em; animation: s2-in 0.6s var(--ease-out) both; }
@keyframes s2-in { from { opacity: 0; transform: translateY(10px); } }
.s2-hy__mk { font-size: var(--t-0); color: var(--sun); }
.s2-hy__mt { font-size: var(--t-3); letter-spacing: -0.02em; font-weight: 500; }
.s2-hy__md { color: rgba(251, 251, 250, 0.75); max-width: 38ch; }
.s2-hy__steps { display: flex; gap: 6px; }
.s2-hy__steps li { flex: 1; padding-top: 10px; border-top: 2px solid rgba(255, 255, 255, 0.18); font-size: var(--t-0); color: rgba(251, 251, 250, 0.5); transition: border-color 0.4s, color 0.4s; }
.s2-hy__steps li.is-on { border-color: var(--sun); color: var(--white); }
.s2-hy__steps li.is-done { border-color: rgba(30, 150, 241, 0.45); }
.s2-flow { width: 100%; height: auto; max-height: 62vh; overflow: visible; }
.s2-flow__track { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 2; }
.s2-flow__line { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 12; opacity: 0; transition: opacity 0.6s; animation: s2-flow 0.9s linear infinite; }
.s2-flow__line.is-on { opacity: 1; }
.s2-flow__line.is-mon { stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; stroke-dasharray: 2 8; }
@keyframes s2-flow { to { stroke-dashoffset: -18; } }
.s2-flow__node rect:first-child { fill: rgba(15, 27, 42, 0.55); stroke: rgba(255, 255, 255, 0.25); transition: fill 0.5s, stroke 0.5s; }
.s2-flow__node text { font-family: var(--font); font-size: 18px; fill: rgba(251, 251, 250, 0.45); transition: fill 0.5s; }
.s2-flow__node.is-on rect:first-child { stroke: var(--sun); fill: rgba(15, 27, 42, 0.8); }
.s2-flow__node.is-on text { fill: var(--white); }
.s2-flow__node--ctl rect:first-child, .s2-flow__node--ctl.is-on rect:first-child { fill: var(--sun); stroke: none; }
.s2-flow__lvl-bg { fill: rgba(255, 255, 255, 0.15); }
.s2-flow__lvl { fill: var(--sun); }
@media (max-width: 900px) {
  .s2-hy { height: 420vh; }
  .s2-hy__in { grid-template-columns: 1fr; align-content: start; gap: 18px; padding: 100px var(--edge) 24px; }
  .s2-hy__sky { top: 70px; height: 10vh; }
  .s2-hy__clock { font-size: 3.2rem; margin: 0; }
  .s2-hy__moment { min-height: 7.5em; }
  .s2-hy__copy { gap: 10px; }
  .s2-hy__h { font-size: var(--t-4); }
  .s2-flow { max-height: 38vh; }
  .s2-flow__node text { font-size: 24px; }
  .s2-hy__steps { display: none; }
}
@media (prefers-reduced-motion: reduce) { .s2-flow__line { animation: none; stroke-dasharray: none; } }

/* 3 · EV: charge under the panels */
.s2-ev { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(96px, 15vh, 170px) !important; padding-bottom: clamp(96px, 15vh, 170px) !important; scroll-margin-top: 0; }
.s2-ev__copy { display: grid; gap: 22px; justify-items: start; }
.s2-ev__line { max-width: 40ch; }
.s2-ev__meter { width: 100%; display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s2-ev__pct { font-size: var(--t-6); line-height: 0.95; letter-spacing: -0.04em; font-weight: 500; font-variant-numeric: tabular-nums; color: #1c2a37; }
.s2-ev__pct span { font-size: 0.45em; color: var(--sun-deep); margin-left: 4px; }
.s2-ev__mk { font-size: var(--t-1); color: var(--ink-2); }
.s2-ev__bar { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; margin-top: 8px; }
.s2-ev__bar i { height: 10px; border-radius: 2px; background: rgba(19, 32, 45, 0.1); transition: background 0.3s; }
.s2-ev__bar i.is-on { background: var(--sun); }
.s2-ev__facts { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.s2-ev__facts dt { font-size: var(--t-0); color: var(--ink-2); }
.s2-ev__facts dd { margin: 2px 0 0; }
.s2-ev__stage { position: relative; aspect-ratio: 1920 / 1071; border-radius: 18px; overflow: hidden; }
.s2-ev__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s2-ev__stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.s2-ev__track { fill: none; stroke: rgba(255, 255, 255, 0.25); stroke-width: 0.35; vector-effect: non-scaling-stroke; }
.s2-ev__flow { fill: none; stroke: var(--sun); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 6 10; opacity: 0; transition: opacity 0.6s; animation: s2-flow 0.8s linear infinite; filter: drop-shadow(0 0 4px rgba(30, 150, 241, 0.9)); }
.s2-ev__track { stroke-width: 2; }
.s2-ev__flow.is-on { opacity: 1; }
.s2-ev__dot { position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px rgba(30, 150, 241, 0.3), 0 0 20px 4px rgba(30, 150, 241, 0.6); transition: opacity 0.5s; }
@media (max-width: 900px) { .s2-ev { grid-template-columns: 1fr; } .s2-ev__stage { order: -1; } }

/* 4 · O&M head: leads with the promise */
.s2-om__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.s2-om .s2-k { color: rgba(251, 251, 250, 0.7); margin-bottom: 22px; }
.s2-om .s2-k > span { color: var(--sun); }
.s2-om__h { max-width: 18ch; color: var(--white); }
@media (max-width: 900px) { .s2-om__head { grid-template-columns: 1fr; } }

/* 0 · hero: one scene with pins */
.s2-scene { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--night); color: var(--white); }
.s2-scene__box { position: absolute; left: 50%; top: 50%; width: max(100%, calc(100svh * var(--r))); aspect-ratio: var(--r); transform: translate(-50%, -50%); }
.s2-scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: s2-settle 2.4s var(--ease-out) both; }
@keyframes s2-settle { from { transform: scale(1.08); filter: brightness(0.6); } }
.s2-scene__spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--x) var(--y), rgba(10, 18, 28, 0) 0, rgba(10, 18, 28, 0) 9vw, rgba(10, 18, 28, 0.62) 24vw); opacity: 0; transition: opacity 0.6s, background-position 0.6s; }
.s2-scene.is-focus .s2-scene__spot { opacity: 1; }
.s2-scene__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 18, 28, 0.7) 0%, rgba(10, 18, 28, 0.15) 34%, rgba(10, 18, 28, 0) 55%, rgba(10, 18, 28, 0.35) 100%); }
.s2-scene__copy { position: absolute; z-index: 3; left: var(--edge); right: var(--edge); top: 0; bottom: 0; display: grid; align-content: center; justify-items: center; text-align: center; pointer-events: none; }
.s2-scene__copy .crumbs { position: absolute; top: var(--hero-top); left: 0; text-align: left; }
.s2-scene__h { text-shadow: 0 2px 30px rgba(7, 14, 23, 0.55); }
.s2-scene__copy a { pointer-events: auto; }
.s2-scene__h { color: var(--white); max-width: 22ch; font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3.6rem); }
.s2-scene__list { display: none; }

.s2-scene__pins { position: absolute; inset: 0; z-index: 2; }
.s2-pin { position: absolute; width: 0; height: 0; animation: s2-pin 0.9s var(--ease-out) both; animation-delay: calc(1.2s + var(--i) * 0.35s); }
@keyframes s2-pin { from { opacity: 0; transform: translateY(14px); } }
.s2-pin a { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 14px; transform: translate(-11px, -50%); text-decoration: none; color: var(--white); }
.s2-pin--l a { flex-direction: row-reverse; transform: translate(calc(-100% + 11px), -50%); }
.s2-pin__dot { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px rgba(30, 150, 241, 0.3); }
.s2-pin__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.8); animation: s2-ping 2.4s ease-out infinite; animation-delay: calc(var(--i) * 0.5s); }
@keyframes s2-ping { from { transform: scale(0.8); opacity: 1; } to { transform: scale(2.3); opacity: 0; } }
.s2-pin__tag { display: grid; gap: 0; padding: 10px 16px; border-radius: 12px; background: rgba(10, 18, 28, 0.62); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); transition: background 0.4s, box-shadow 0.4s; }
.s2-pin--l .s2-pin__tag { text-align: right; }
.s2-pin__name { display: flex; gap: 10px; align-items: baseline; font-size: var(--t-2); white-space: nowrap; }
.s2-pin--l .s2-pin__name { justify-content: flex-end; }
.s2-pin__name span { font-size: var(--t-0); color: var(--sun); }
.s2-pin__best { display: grid; grid-template-rows: 0fr; font-size: var(--t-0); color: rgba(251, 251, 250, 0.78); white-space: nowrap; transition: grid-template-rows 0.5s var(--ease-out), margin 0.5s var(--ease-out); }
.s2-pin__best > span { min-height: 0; overflow: hidden; }
.s2-pin.is-on .s2-pin__best { grid-template-rows: 1fr; margin-top: 4px; }
.s2-pin.is-on .s2-pin__tag { background: var(--sun); box-shadow: none; }
.s2-pin.is-on .s2-pin__name span { color: var(--white); }
.s2-scene.is-focus .s2-pin:not(.is-on) { opacity: 0.55; transition: opacity 0.4s; }
@media (max-width: 800px) {
  .s2-scene { height: auto; min-height: 0; padding: var(--hero-top) 0 40px; display: flex; flex-direction: column; }
  .s2-scene__copy { order: -1; }
  .s2-scene__copy { position: relative; top: auto; bottom: auto; left: auto; right: auto; display: grid; gap: var(--crumb-gap); justify-items: start; text-align: left; padding: 0 var(--edge) 24px; }
  .s2-scene__copy .crumbs { position: static; }
  .s2-scene__box { position: relative; left: auto; top: auto; transform: none; width: 100%; }
  .s2-scene__shade { display: none; }
  .s2-pin__tag { display: none; }
  .s2-scene__list { display: grid; gap: 0; padding: 20px var(--edge) 0; }
  .s2-scene__list a { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); color: var(--white); text-decoration: none; font-size: var(--t-2); }
  .s2-scene__list span { font-size: var(--t-0); color: var(--sun); padding-top: 0.3em; }
}
@media (prefers-reduced-motion: reduce) { .s2-scene__img, .s2-pin { animation: none; } .s2-pin__dot::after { animation: none; } }

