/* ============ Enerva Generic — corporate premium ============ */
/* White-led, Figtree only. Green #19C13A = brand fills; #0F8A28 = legible green text. */

:root {
  --white: #ffffff;
  --mist: #f4f6f5;
  --deep: #0e1411;
  --ink: #101418;
  --slate: #47505a;
  --slate-light: #b9c4bd;
  --line: #e6e9e8;
  --line-dark: rgba(255,255,255,0.12);
  --green: #19c13a;
  --green-press: #14ad30;
  --green-text: #0f8a28;
  --green-tint: #e8f9ec;
  --radius: 16px;
  --wrap: 1180px;
  --z-nav: 30;
  --z-skip: 40;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  overflow-x: clip;
  background: var(--white);
  color: var(--slate);
  font-family: "Figtree", -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green-tint); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(20px, 4vw, 48px); }
.center { text-align: center; display: grid; justify-items: center; }

/* ---------- type ---------- */
h1, h2, h3 { color: var(--ink); letter-spacing: -0.022em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 650; line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 650; line-height: 1.12; margin-bottom: 0.5em; }
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
p { max-width: 65ch; }
.section-lede { font-size: 1.1875rem; max-width: 58ch; }
.textlink { color: var(--green-text); font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green-text); outline-offset: 3px; border-radius: 6px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--green); color: var(--ink);
  font-weight: 650; font-size: 1rem; text-decoration: none;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: background 0.2s, transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s;
}
.btn:hover { background: var(--green-press); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(25,193,58,0.25); }
.btn:active { transform: translateY(0); }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.btn-nav { padding: 10px 22px; font-size: 0.9375rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- chrome: announcement + slim header ---------- */
[hidden] { display: none !important; }
.chrome { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav); }
.announce {
  position: relative; text-align: center;
  background: var(--deep); color: #cfe0d4;
  font-size: 0.84375rem; padding: 0 48px;
}
.announce-track { position: relative; height: 36px; }
.announce-msg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  max-width: none; opacity: 0; transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none; white-space: nowrap; overflow: hidden;
}
.announce-msg.is-on { opacity: 1; transform: none; pointer-events: auto; }
.announce-msg.is-off { opacity: 0; transform: translateY(-8px); }
.announce a { color: var(--green); font-weight: 600; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.announce-x {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #7e938a; font: inherit; font-size: 0.9375rem;
  cursor: pointer; padding: 4px 8px; line-height: 1;
}
.announce-x:hover { color: #fff; }
.topbar {
  display: flex; align-items: center; gap: 30px;
  padding: 10px clamp(20px, 4vw, 44px);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.chrome.scrolled .topbar { box-shadow: 0 6px 24px rgba(16,20,24,0.06); }
.nav-toggle {
  display: none; position: relative; z-index: 60;
  width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
  flex: none; margin-right: 2px; padding: 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin: 3px auto;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), opacity 0.3s, background 0.3s;
}
body.home .chrome:not(.scrolled) .nav-toggle span { background: #fff; }
body.menu-open .nav-toggle span { background: #fff; }
body.menu-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--deep);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px clamp(28px, 8vw, 48px) 48px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
body.menu-open .mobile-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-menu nav { display: grid; gap: 8px; }
.mobile-menu a {
  color: #e8efe9; text-decoration: none;
  font-size: 1.7rem; font-weight: 600; letter-spacing: -0.01em;
  padding: 10px 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
body.menu-open .mobile-menu a { opacity: 1; transform: none; }
.mobile-menu a.active { color: var(--green); }
.mobile-menu .mm-meta {
  margin-top: 40px; display: grid; gap: 6px;
}
.mobile-menu .mm-meta a { font-size: 0.9375rem; font-weight: 500; color: #8fa89a; padding: 4px 0; }
body.menu-open { overflow: hidden; }

.brand { display: flex; align-items: center; position: relative; z-index: 60; }
.brand-logo { display: block; height: 21px; width: auto; }
.logo-light { display: none; }
.topnav { display: flex; gap: 24px; margin-left: auto; }
.topnav a {
  color: var(--slate); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
  padding-block: 4px; transition: color 0.2s;
}
.topnav a:hover { color: var(--ink); }
.topnav a.active { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--green); }
/* transparent over the home hero */
body.home .chrome:not(.scrolled) .topbar { background: transparent; border-color: transparent; backdrop-filter: none; }
body.home .chrome:not(.scrolled) .topnav a { color: rgba(255,255,255,0.85); }
body.home .chrome:not(.scrolled) .topnav a:hover,
body.home .chrome:not(.scrolled) .topnav a.active { color: #fff; }
body.home .chrome:not(.scrolled) .logo-dark { display: none; }
body.home .chrome:not(.scrolled) .logo-light { display: block; }
/* fixed chrome offsets */
body:not(.home) main { padding-top: var(--chrome-h, 96px); }

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: center;
  background:
    radial-gradient(52% 60% at 78% 8%, rgba(25,193,58,0.07), transparent 70%),
    var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; display: none; }
.hero.has-media .hero-media { display: block; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fade {
  position: absolute; inset: auto 0 0 0; height: 26vh;
  background: linear-gradient(180deg, rgba(14,20,17,0) 0%, rgba(14,20,17,0.65) 62%, #0e1411 100%);
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,20,17,0.72) 0%, rgba(14,20,17,0.45) 52%, rgba(14,20,17,0.22) 100%), linear-gradient(180deg, rgba(14,20,17,0.3), rgba(14,20,17,0.12) 45%, rgba(14,20,17,0.5));
}
.hero { align-items: end; }
.hero-inner { position: relative; z-index: 1; padding-bottom: clamp(96px, 15vh, 170px); max-width: 640px; }
.hero-inner h1 {
  font-size: clamp(1.9rem, 3.1vw, 2.85rem);
  font-weight: 500; letter-spacing: -0.012em; line-height: 1.16;
}
.hero .btn { padding: 12px 26px; font-size: 0.9375rem; }
.hero .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(25,193,58,0.2); }
.hero-link { color: rgba(255,255,255,0.92); font-weight: 600; font-size: 0.9375rem; text-decoration: none; padding: 12px 8px; align-self: center; }
.hero-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.hero-lede { font-size: 1.0313rem; margin: 16px 0 30px; max-width: 44ch; }
.hero.has-media h1, .hero.has-media .hero-lede { color: var(--white); }
.hero.has-media .hero-lede { color: rgba(255,255,255,0.86); }
.hero.has-media .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.6); }
.hero.has-media .btn-outline:hover { background: rgba(255,255,255,0.14); color: var(--white); }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  padding: clamp(84px, 12vh, 140px) 0 clamp(56px, 8vh, 88px);
  background:
    radial-gradient(50% 70% at 82% 10%, rgba(25,193,58,0.1), transparent 70%),
    var(--deep);
}
.page-hero h1 { color: var(--white); }
.page-hero .hero-lede { font-size: 1.1875rem; margin-top: 22px; color: var(--slate-light); }
.page-hero-deep { background: var(--deep); }
.page-hero-deep h1 { color: var(--white); }
.page-hero-deep .hero-lede { color: var(--slate-light); }

/* ---------- bands ---------- */
.band { padding: clamp(80px, 12vh, 136px) 0; }
.band-mist { background: var(--mist); }
.band-deep { background: var(--deep); }
.band-deep h2 { color: var(--white); }
.band-deep p, .band-deep .section-lede { color: var(--slate-light); }
.cta-band { background: var(--mist); text-align: center; }
.cta-band .section-lede { margin-bottom: 30px; }
.cta-band h2 { margin-bottom: 0.35em; }

/* ---------- standards strip (dark, continues the hero) ---------- */
.standards-band { padding: 64px 0 72px; background: var(--deep); }
.standards-label { font-size: 0.9375rem; font-weight: 600; color: #cfe0d4; margin-bottom: 26px; text-align: center; }
.standards { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(36px, 6vw, 88px); }
.standards li { display: grid; gap: 3px; text-align: center; }
.standards strong { color: #fff; font-weight: 650; font-size: 1.25rem; letter-spacing: -0.01em; }
.standards span { font-size: 0.84375rem; color: #8fa89a; }

/* ---------- home sections ---------- */
.triptych {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 6vh, 64px);
}
.glyph {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--green-tint); color: var(--green-text);
  display: grid; place-items: center; margin-bottom: 18px;
}
.glyph svg { width: 24px; height: 24px; }
.triptych article { position: relative; }
.triptych h3 { margin-bottom: 10px; display: inline-block;
  background-image: linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 100%;
  padding-bottom: 4px; transition: background-size 0.45s cubic-bezier(0.22,1,0.36,1);
}
.triptych article:hover h3 { background-size: 100% 2px; }
.ghost-n {
  position: absolute; top: -30px; right: 4px; z-index: -1;
  font-size: clamp(3.2rem, 5.5vw, 4.8rem); font-weight: 700;
  letter-spacing: -0.03em; color: #eef2ef; line-height: 1;
  user-select: none;
}
@media (min-width: 981px) {
  .triptych article:nth-child(even) { transform: translateY(28px); }
}

.split {
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 6vw, 88px); align-items: center;
}

.checklist { list-style: none; display: grid; gap: 13px; margin: 26px 0 34px; }
.checklist li { padding-left: 34px; position: relative; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0.18em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-tint); color: var(--green-text);
  font-size: 0.75rem; font-weight: 700;
  display: grid; place-items: center;
}
.band-deep .checklist li::before { background: rgba(25,193,58,0.16); color: var(--green); }

/* product visual */
.product-visual { display: grid; gap: 12px; }
.pv-window {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(16,20,24,0.1);
  overflow: hidden;
}
.pv-bar { display: flex; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.pv-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.pv-body { padding: 22px; }
.pv-title { font-weight: 650; color: var(--ink); margin-bottom: 18px; }
.pv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.pv-num { font-size: 1.55rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.pv-label { font-size: 0.84375rem; }
.pv-chart svg { display: block; width: 100%; height: 110px; }
.pv-line { stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; fill: none; }
.pv-dot { fill: var(--green); stroke: #fff; stroke-width: 2; }
.pv-chart-cap { font-size: 0.78125rem; color: #8a938d; margin-top: 8px; }
.pv-note { font-size: 0.8125rem; color: #8a938d; text-align: center; }

/* solutions grid */
.sol-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px; margin-top: clamp(36px, 5vh, 56px);
}
.sol-card { display: block; text-decoration: none; background: none; }
.sol-card h3 { margin-bottom: 8px; transition: color 0.25s; }
.sol-card:hover h3 { color: var(--green-text); }
.sol-card p { color: var(--slate); font-size: 0.9688rem; margin-bottom: 14px; }
.sol-more { color: var(--green-text); font-weight: 650; font-size: 0.9375rem; }
.sol-more::after { content: " →"; display: inline-block; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.sol-card:hover .sol-more::after { transform: translateX(5px); }

/* art slots */
.art-slot {
  border-radius: 8px; overflow: hidden;
  aspect-ratio: 4 / 4.4; background: var(--mist);
}
.art-slot img { width: 100%; height: 116%; object-fit: cover; display: block; will-change: transform; }
.feature-row:nth-child(odd) .art-slot { margin-top: clamp(0px, 3vw, 40px); }
.feature-row:nth-child(even) .art-slot { margin-bottom: clamp(0px, 3vw, 40px); }
.art-slot.no-img { display: none; }

/* feature rows (platform / solutions) */
.feature-rows { display: grid; gap: clamp(64px, 9vh, 104px); }
.feature-row {
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 80px); align-items: center;
}
.feature-row:nth-child(even) .art-slot { order: -1; }
.feature-row h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.feature-row:has(.art-slot.no-img) { grid-template-columns: 1fr; max-width: 720px; }

/* technology */
.tech-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.tech-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  background: var(--white);
}
.tech-badge { font-size: 0.875rem; font-weight: 650; color: var(--green-text); margin-bottom: 14px; }
.tech-card h2 { font-size: 1.5rem; margin-bottom: 12px; }
.tech-card p { font-size: 1rem; }

/* sustainability levers */
.lever-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px); margin-top: clamp(36px, 5vh, 56px);
}
.lever { border-top: 1px solid var(--line); padding-top: 24px; }
.lever h3 { margin-bottom: 10px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-direct { margin-top: 8px; }
.contact-form {
  display: grid; gap: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 24px 60px rgba(16,20,24,0.06);
}
.contact-form label { display: grid; gap: 8px; font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.contact-form input, .contact-form textarea {
  font: inherit; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; background: var(--white);
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green-text); outline: none; }
.contact-form textarea { resize: vertical; }
.form-note { font-size: 0.84375rem; color: #8a938d; }

/* ---------- footer ---------- */
footer { background: var(--deep); color: var(--slate-light); }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(52px, 7vh, 80px) 40px;
}
.foot-logo { display: block; height: 13px; width: auto; margin-bottom: 16px; }
.foot-tag { font-size: 0.9375rem; max-width: 30ch; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-head { color: var(--white); font-weight: 650; font-size: 0.875rem; margin-bottom: 6px; }
.foot-col a { color: var(--slate-light); text-decoration: none; font-size: 0.875rem; }
.foot-col a:hover { color: var(--white); }
.foot-legal { border-top: 1px solid var(--line-dark); padding-block: 22px; font-size: 0.84375rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 1; transform: none; }
html.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
html.motion .reveal.in { opacity: 1; transform: none; }

/* ---------- skip ---------- */
.skip {
  position: fixed; top: 10px; left: 10px; z-index: var(--z-skip);
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
  transform: translateY(-200%); transition: transform 0.2s;
}
.skip:focus-visible { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .split, .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .art-slot { order: 0; }
  .lever-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .topnav { display: none; }
  .nav-toggle { display: block; }
  body { font-size: 1rem; }
  .topbar { gap: 14px; padding-block: 10px; }
  .hero { min-height: 100svh; }
  .hero-inner { padding-bottom: 96px; }
  .hero-inner h1 { font-size: 1.75rem; }
  .hero-lede { font-size: 0.9688rem; }
  .announce { padding: 0 38px; }
  .announce-track { height: 44px; }
  .announce-msg { white-space: normal; font-size: 0.71875rem; line-height: 1.3; gap: 10px; text-align: left; }
  .brand-logo { height: 17px; }
  h2 { font-size: 1.6rem; }
  .section-lede { font-size: 1.0313rem; }
  .band { padding: 64px 0; }
  .ghost-n { font-size: 2.8rem; top: -22px; }
  .giant { font-size: 2.8rem; }
  .impact h2 { font-size: 1.9rem; }
  .station-head .section-lede { font-size: 0.9063rem; }
  .pv-stats { gap: 8px; }
  .pv-num { font-size: 1.2rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sol-card, .row { transition: none; }
}


/* ---------- scroll cue ---------- */
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 1; width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.55); border-radius: 14px;
}
.scroll-cue::after {
  content: ""; position: absolute; top: 8px; left: 50%; margin-left: -2px;
  width: 4px; height: 9px; border-radius: 2px; background: rgba(255,255,255,0.85);
  animation: cue 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(13px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- solution card thumbs ---------- */
.sol-thumb { aspect-ratio: 4 / 4.3; overflow: hidden; border-radius: 8px; margin-bottom: 20px; }
.sol-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); will-change: transform; }
.sol-card:hover .sol-thumb img { transform: scale(1.05); }

/* ---------- connected station (full screen) ---------- */
.station-band { background: var(--deep); padding: 0 0 clamp(56px, 8vh, 96px); }
.station-band h2 { color: #fff; }
.station-band .section-lede { color: var(--slate-light); margin-inline: auto; }
.station-stage {
  position: relative;
  height: 100svh; min-height: 620px;
  overflow: hidden;
  background: radial-gradient(85% 75% at 50% 42%, #182219 0%, #0e1410 55%, #090d0a 100%);
  perspective: 1200px;
}
.station-head {
  position: absolute; top: clamp(28px, 6vh, 64px); left: 50%; transform: translateX(-50%);
  z-index: 3; text-align: center; width: min(92vw, 760px);
}
.station-frame {
  position: absolute; left: 50%; top: 57.5%;
  transform: translate(-50%, -50%);
  width: min(90vw, 140svh);
  aspect-ratio: 1376 / 768;
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.station-frame::after {
  content: ""; position: absolute; inset: -2px;
  box-shadow: inset 0 0 110px 40px rgba(9,13,10,0.55);
  pointer-events: none;
}
.station-cloud {
  position: absolute; mix-blend-mode: screen; opacity: 0.92; pointer-events: none;
  -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 45%, transparent 74%);
  mask-image: radial-gradient(50% 50% at 50% 50%, #000 45%, transparent 74%);
  animation: clouddrift 32s ease-in-out infinite alternate;
}
.cloud-b { opacity: 0.4; animation-duration: 44s; animation-direction: alternate-reverse; }
@keyframes clouddrift {
  from { transform: translate3d(-2.5%, 0, 0); }
  to { transform: translate3d(3%, 1.5%, 0); }
}
.cloud-links path {
  fill: none; stroke: #9fd8ae; stroke-width: 1.8; stroke-linecap: round;
  stroke-dasharray: 2 9; opacity: 0.5;
  animation: clouddash 6s linear infinite;
}
@keyframes clouddash { to { stroke-dashoffset: -110; } }
.station-render {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(78% 72% at 50% 50%, #000 58%, transparent 96%);
  mask-image: radial-gradient(78% 72% at 50% 50%, #000 58%, transparent 96%);
}
.station-flows { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow-lines path {
  fill: none; stroke: #19c13a; stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 16 22; opacity: 0.95;
  animation: flowdash 3.8s linear infinite;
}
.flow-glow path {
  fill: none; stroke: #19c13a; stroke-width: 7; stroke-linecap: round;
  opacity: 0.16; filter: blur(4px);
}
@keyframes flowdash { to { stroke-dashoffset: -228; } }
.flow-nodes circle {
  fill: #19c13a; opacity: 0.9;
  transform-box: fill-box; transform-origin: center;
  animation: nodebreathe 3.4s ease-in-out infinite;
}
.flow-nodes circle:nth-child(2) { animation-delay: 0.7s; }
.flow-nodes circle:nth-child(3) { animation-delay: 1.4s; }
.flow-nodes circle:nth-child(4) { animation-delay: 2.1s; }
.flow-nodes circle:nth-child(5) { animation-delay: 2.8s; }
@keyframes nodebreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }
.proto-chip {
  position: absolute; transform: translate(-50%, -50%);
  color: #8fd8a5; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-shadow: 0 0 14px rgba(25,193,58,0.5);
  pointer-events: none;
}
.packet {
  position: absolute; left: 33%; top: 27%;
  transform: translate(-50%, -50%);
  color: #9fd8ae; font-size: 0.75rem; font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: opacity 0.9s ease, transform 3s linear;
  text-shadow: 0 0 12px rgba(25,193,58,0.35);
}
.packet.go-up { opacity: 0.85; transform: translate(-50%, -50%) translateY(-20px); }
.packet.go-down { opacity: 0.85; transform: translate(-50%, -50%) translateY(20px); }

.station-status {
  position: absolute; left: clamp(18px, 4vw, 52px); bottom: clamp(16px, 4vh, 40px);
  z-index: 3; display: flex; align-items: center; gap: 10px;
  color: #e8efe9; font-size: 0.875rem; font-weight: 500;
}
.sc-dot { width: 7px; height: 7px; border-radius: 50%; background: #19c13a; flex: none;
  box-shadow: 0 0 10px rgba(25,193,58,0.7); }
#sc-msg { transition: opacity 0.8s ease; }
.station-label { position: absolute; transform: translate(-50%, -100%); text-align: center; pointer-events: none; }
.station-label b { display: block; color: #fff; font-weight: 600; font-size: clamp(0.8rem, 1.1vw, 0.9688rem); letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(6,9,7,0.9), 0 2px 16px rgba(6,9,7,0.7); }
.station-label span { display: block; color: #9db5a7; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2px;
  text-shadow: 0 1px 3px rgba(6,9,7,0.9); }
.station-label::after { content: ""; display: block; width: 1px; height: 24px; margin: 6px auto 0; background: linear-gradient(rgba(143,168,154,0), rgba(143,168,154,0.55)); }
.station-label.label-below { transform: translate(-50%, 0); }
.station-label.label-below::after { display: none; }
.station-label.label-below::before { content: ""; display: block; width: 1px; height: 22px; margin: 0 auto 6px; background: linear-gradient(rgba(143,168,154,0.55), rgba(143,168,154,0)); }
.station-keys {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(28px, 4vh, 44px);
  text-align: center;
}
.station-keys h3 { font-size: 1.0625rem; margin-bottom: 6px; color: #fff; }
.station-keys p { font-size: 0.9375rem; margin-inline: auto; color: var(--slate-light); }

@media (max-width: 860px) {
  .station-keys { grid-template-columns: 1fr; text-align: left; }
  .station-stage { height: 76svh; min-height: 480px; }
  .station-frame { width: min(140vw, 100svh); }
  .proto-chip { display: none; }
  .packet {
  position: absolute; left: 33%; top: 27%;
  transform: translate(-50%, -50%);
  color: #9fd8ae; font-size: 0.75rem; font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: opacity 0.9s ease, transform 3s linear;
  text-shadow: 0 0 12px rgba(25,193,58,0.35);
}
.packet.go-up { opacity: 0.85; transform: translate(-50%, -50%) translateY(-20px); }
.packet.go-down { opacity: 0.85; transform: translate(-50%, -50%) translateY(20px); }

.station-status { font-size: 0.75rem; }
  .station-label::after { height: 14px; }
  .announce { font-size: 0.78125rem; padding: 7px 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue::after { animation: none; }
  .sol-thumb img { transition: none; }
}


/* ---------- impact (full-bleed statement) ---------- */
.impact { position: relative; min-height: 94vh; display: flex; align-items: flex-end; overflow: hidden; }
.impact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.impact-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,17,0.12), rgba(14,20,17,0.22) 55%, rgba(14,20,17,0.8)); }
.impact-inner { position: relative; z-index: 1; padding-block: 0 clamp(72px, 10vh, 120px); }
.impact h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.7rem); max-width: 17ch; }
.impact .section-lede { color: rgba(255,255,255,0.85); margin: 18px 0 32px; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
details.faq { border-top: 1px solid var(--line); }
details.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink); font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--green-text); font-weight: 500; font-size: 1.3rem; line-height: 1; transition: transform 0.3s; flex: none; }
details[open] .faq-icon { transform: rotate(45deg); }
.faq p { padding-bottom: 22px; max-width: 60ch; }

/* ---------- SEO footer ---------- */
.foot-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(56px, 8vh, 88px) 44px;
}
.foot-desc { font-size: 0.8125rem; line-height: 1.7; max-width: 40ch; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.foot-keywords { color: #6d7f74; font-size: 0.8125rem; }
@media (max-width: 1080px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand-col { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .faq-grid { grid-template-columns: 1fr; } .impact { min-height: 78vh; } }

@media (prefers-reduced-motion: reduce) {
  .flow-lines path, .flow-nodes circle, .sc-dot { animation: none; }
  .hero-video { transition: none; }
  .station-frame { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .station-cloud, .cloud-links path { animation: none; }
  .flow-nodes circle { animation: none; }
}


/* ---------- legal ---------- */
.legal { max-width: 720px; }
.legal h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 8px; }
.legal .checklist { margin: 18px 0 10px; }
.legal-note { margin-top: 44px; color: var(--slate); }
.foot-policies { display: flex; gap: 22px; }
.foot-policies a { color: #8fa89a; text-decoration: none; font-size: 0.8125rem; }
.foot-policies a:hover { color: #fff; }

/* ---------- cookie notice ---------- */
.cookie-pop {
  position: fixed; left: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vh, 28px);
  z-index: 50; max-width: 360px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 70px rgba(16,20,24,0.18);
  padding: 20px 22px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.cookie-pop.on { opacity: 1; transform: none; }
.cookie-pop p { font-size: 0.9063rem; line-height: 1.55; margin-bottom: 14px; }
.cookie-pop strong { color: var(--ink); }
.cookie-actions { display: flex; align-items: center; gap: 18px; }
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
@media (max-width: 560px) { .cookie-pop { left: 12px; right: 12px; max-width: none; } }


/* ---------- interop diagram (technology) ---------- */
.interop-band { background: var(--deep); }
.interop-band h2 { color: #fff; }
.interop-band .section-lede { color: var(--slate-light); margin-inline: auto; }
.interop-wrap { margin-top: clamp(32px, 5vh, 56px); }
.interop-svg { display: block; width: 100%; height: auto; }
.interop-svg .flow-lines path { stroke-width: 2; }
.interop-svg .flow-lines path.rev { animation-direction: reverse; }
.interop-svg .flow-glow path { stroke-width: 6; opacity: 0.12; }
.il-core rect { fill: #0b0d0c; stroke: rgba(25,193,58,0.55); stroke-width: 1.5; }
.il-core-name { fill: #fff; font-size: 44px; font-weight: 700; font-family: inherit; letter-spacing: -0.01em; }
.il-core-name .il-green { fill: var(--green); }
.il-core-sub { fill: #8fa89a; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; }
.il-text text { fill: #b9c4bd; font-size: 17px; font-weight: 500; }
.il-proto text { fill: #8fd8a5; font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.interop-points {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px); margin-top: clamp(36px, 5vh, 60px);
}
.interop-points h3 { color: #fff; font-size: 1.0625rem; margin-bottom: 8px; }
.interop-points p { color: var(--slate-light); font-size: 0.9375rem; }
@media (max-width: 860px) {
  .interop-points { grid-template-columns: 1fr; }
  .il-text text { font-size: 22px; }
}


/* ---------- station label with logo ---------- */
.label-brand { display: flex; align-items: center; justify-content: center; gap: 6px; }
.label-brand img { height: 11px; width: auto; display: block;
  filter: drop-shadow(0 1px 3px rgba(6,9,7,0.9)); }

/* ---------- technology chapters ---------- */
.chapters { overflow: hidden; }
.chapters .wrap { display: grid; gap: clamp(72px, 10vh, 120px); }
.chapter { position: relative; max-width: 860px; }
.ch-ghost {
  position: absolute; top: -0.55em; right: -2%; z-index: 0;
  font-size: clamp(4.5rem, 11vw, 9rem); font-weight: 700; letter-spacing: -0.04em;
  color: #f0f3f1; line-height: 1; user-select: none;
}
.chapter:nth-child(even) { margin-left: auto; }
.chapter:nth-child(even) .ch-ghost { right: auto; left: -2%; }
.ch-head { position: relative; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.ch-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0; }
.ch-vers { color: var(--green-text); font-weight: 650; font-size: 0.9375rem; }
.ch-copy { position: relative; margin-bottom: 20px; }
.ch-list {
  position: relative; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 32px;
}
.ch-list li { padding-left: 22px; position: relative; font-size: 0.9688rem; color: var(--slate); }
.ch-list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 10px; height: 2px; background: var(--green);
}

/* ---------- spec vs street ---------- */
.ss-rows { margin-top: clamp(32px, 5vh, 52px); display: grid; }
.ss-row {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(20px, 4vw, 64px);
  padding: 26px 0; border-top: 1px solid var(--line);
}
.ss-row:last-child { border-bottom: 1px solid var(--line); }
.ss-spec { color: #7d858c; }
.ss-spec strong { color: #565e66; font-weight: 650; display: block; margin-bottom: 4px; }
.ss-street { color: var(--ink); }
.ss-street strong { color: var(--green-text); font-weight: 650; display: block; margin-bottom: 4px; }
.ss-street em, .ss-spec em { font-style: normal; font-weight: 600; }

/* ---------- platform: openadr upside + stack ---------- */
.upside-grid, .stack-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(28px, 4vw, 52px); margin-top: clamp(36px, 5vh, 56px);
}
.upside-grid > div, .stack-grid > div { border-top: 1px solid var(--line); padding-top: 20px; }
.upside-grid h3, .stack-grid h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.upside-grid p, .stack-grid p { font-size: 0.9375rem; }
.openadr-band {
  background:
    radial-gradient(46% 60% at 88% 0%, rgba(25,193,58,0.06), transparent 70%),
    var(--white);
}

/* ---------- interop band texture ---------- */
.interop-band {
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  background-color: var(--deep);
}

/* ---------- solutions segment nav ---------- */
.seg-nav { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.seg-nav a {
  color: #cfe0d4; text-decoration: none; font-weight: 600; font-size: 0.9375rem;
  padding-bottom: 4px; background-image: linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 100%;
  transition: background-size 0.4s cubic-bezier(0.22,1,0.36,1), color 0.25s;
}
.seg-nav a:hover { color: #fff; background-size: 100% 2px; }

@media (max-width: 860px) {
  .ss-row { grid-template-columns: 1fr; gap: 12px; }
  .ch-ghost { font-size: 4rem; top: -0.4em; }
}


/* ---------- interop mobile: scroll inside its own container ---------- */
.interop-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) {
  .interop-scroll .interop-svg { min-width: 720px; }
}

/* ---------- footer mobile ---------- */
@media (max-width: 1080px) {
  .foot-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .foot-brand-col { grid-column: 1 / -1; }
  .foot-desc { max-width: 56ch; }
}
@media (max-width: 560px) {
  .foot-top { grid-template-columns: 1fr 1fr; column-gap: 24px; padding-block: 48px 32px; }
  .foot-brand-col { grid-column: 1 / -1; }
  .foot-col { gap: 8px; }
  .foot-col a { font-size: 0.8438rem; padding: 2px 0; }
  .foot-legal { flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 18px 26px; }
  .foot-policies { gap: 16px; }
  .contact-form { padding: 20px; }
  .cta-band h2 { font-size: 1.5rem; }
}
