/* ===========================================================
   POWR2 Landing Page — v3
   Palette
     Steel Blue   #1F3D4E  (primary)
     Electric Blue #90ABB5 (secondary)
     Lemon Green  #AAC760  (CTA accent only)
   Typography: Montserrat (everywhere)
   =========================================================== */

/* anchor offset so menu hash-links aren't hidden under the fixed nav */
#how,#products,#products2,#products3,#cases,#savings{scroll-margin-top:88px;}

:root {
  --steel: #1F3D4E;
  --steel-900: #122732;
  --steel-700: #254a5e;
  --steel-500: #3a6378;
  --electric: #90ABB5;
  --electric-200: #cbd9de;
  --electric-50: #eef3f5;
  --lemon: #AAC760;
  --lemon-600: #95b54a;
  --ink: #0c1a21;
  --muted: #5d6e76;
  --paper: #fafbfb;
  --paper-2: #f3f5f6;
  --line: #dde4e7;

  --radius-m: 12px;
  --radius-l: 20px;
  --radius-xl: 28px;

  --shadow-1: 0 1px 2px rgba(18,39,50,0.06), 0 4px 14px rgba(18,39,50,0.06);
  --shadow-2: 0 2px 8px rgba(18,39,50,0.08), 0 18px 40px rgba(18,39,50,0.10);
  --shadow-3: 0 30px 80px -20px rgba(18,39,50,0.35);

  --container: 1240px;
}

* { box-sizing: border-box; }

html, body, input, button, select, textarea, a, span, div, li, p, h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
}
html, body {
  margin: 0; padding: 0;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

::selection { background: var(--lemon); color: var(--steel-900); }

/* ============ Layout ============ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: currentColor;
  display: inline-block;
}

h1, h2, h3, h4 { margin: 0; color: var(--steel-900); letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-weight: 800; }
h2 { font-weight: 400; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.25; }
p  { color: var(--muted); line-height: 1.6; text-wrap: pretty; margin: 0; }

/* ============ Buttons — ALL CAPS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--lemon);
  color: #fff !important;
  box-shadow: 0 8px 24px -8px rgba(170,199,96,0.6);
}
.btn-primary:hover { background: var(--lemon-600); transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(170,199,96,0.7); }
.nav .btn-primary { box-shadow: none; }
.nav .btn-primary:hover { box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: var(--steel-900);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--steel-700); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost.on-dark:hover { border-color: rgba(255,255,255,0.6); }
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }


.logomark { display: inline-flex; align-items: center; text-decoration: none; }

/* ============ HERO — flat steel blue ============ */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 110px;
  overflow: hidden;
  background: var(--steel);
  color: #fff;
}
.hero-variant-A {
  background: var(--steel);
}
.hero-shader {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shader canvas { cursor: default; pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  min-height: 560px;
  position: relative;
  z-index: 1;
}
.hero-copy { padding-top: 20px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hero-kicker .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lemon);
  box-shadow: 0 0 0 3px rgba(170,199,96,0.25);
}
.hero h1 {
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: 1.04;
  margin: 22px 0 26px;
  color: #fff;
  font-weight: 800;
}
.hero h1 .accent { color: var(--lemon); }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.55;
  margin-bottom: 36px;
}
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero product with card */
.hero-product {
  position: relative;
  display: flex; align-items: flex-start; justify-content: center;
  min-height: 540px;
  padding-top: 0;
}
.hero-product img {
  position: relative; z-index: 2;
  max-width: 560px;
  width: 100%;
  filter: drop-shadow(0 40px 50px rgba(0,0,0,0.45));
  will-change: transform;
}
.hero-product .halo {
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(144,171,181,0.28) 0%, rgba(144,171,181,0) 70%);
  z-index: 1;
}
.hero-product .chev-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 0;
  opacity: .22;
}
.hero-product .product-tag {
  position: absolute; z-index: 3;
  bottom: 6%; left: 50%; transform: translateX(calc(-50% - 65px));
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: var(--shadow-2);
  min-width: 0;
}
.product-tag-label {
  font-size: 8px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 6px;
}
.product-tag-stats {
  display: flex; align-items: center; gap: 8px;
  justify-content: center;
  flex-wrap: nowrap;
}
.product-tag-stats > div {
  display: flex; align-items: baseline; gap: 3px;
}
.product-tag-stats b {
  font-size: 13px; font-weight: 800; color: var(--steel-900); line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.product-tag-stats span {
  font-size: 8px; font-weight: 700; color: var(--steel-500);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.product-tag-stats .parallel b {
  font-size: 13px; color: var(--steel-900);
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 800;
}
.product-tag-stats .dot-sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--electric);
  flex: 0 0 3px;
}

/* Other hero variants (kept for tweak) */
.hero-variant-B { background: linear-gradient(180deg, var(--electric-50) 0%, #fff 100%); color: var(--steel-900); }
.hero-variant-B h1 { color: var(--steel-900); }
.hero-variant-B .hero-sub { color: var(--muted); }
.hero-variant-B .hero-sub strong { color: var(--steel-900); }
.hero-variant-B .hero-kicker { background: rgba(255,255,255,0.7); border-color: var(--line); color: var(--steel); }

.hero-variant-C { background: #fff; color: var(--steel-900); }
.hero-variant-C h1 { color: var(--steel-900); }
.hero-variant-C .hero-grid { grid-template-columns: 1fr; text-align: center; }
.hero-variant-C .hero-sub { margin-left: auto; margin-right: auto; color: var(--muted); }
.hero-variant-C .hero-cta-row { justify-content: center; }
.hero-variant-C .hero-kicker { background: var(--paper-2); border-color: var(--line); color: var(--steel); }

/* ============ Savings Calculator ============ */
.savings { background: var(--paper); position: relative; overflow: hidden; padding-top: 76px; }
.savings-wm { position: absolute; top: 0; left: 50%; transform: translateX(-50%) rotate(-90deg);
  width: min(2000px, 142vw); height: auto; aspect-ratio: 450/440; color: var(--steel);
  opacity: .05; pointer-events: none; z-index: 0; }
.savings .container { position: relative; z-index: 1; }
.savings-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
}
.savings-copy { padding-top: 0; }
.savings-copy h2 { margin: 0 0 18px; }
.savings-copy .lede { font-size: 17px; margin-bottom: 20px; max-width: 520px; }
.lede-strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--steel-900);
  line-height: 1.35;
  margin: 14px 0 16px;
  max-width: 560px;
  letter-spacing: -0.01em;
}

.savings-bullets { list-style: none; padding: 0; margin: 0; }
.savings-bullets li {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.savings-bullets li:last-child { border-bottom: none; }
.savings-bullets .check {
  flex: 0 0 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(170,199,96,0.15);
  color: var(--lemon-600);
}
.savings-bullets span { color: var(--steel-900); font-size: 15px; font-weight: 500; line-height: 1.5; }
.savings-bullets span em { color: var(--muted); font-style: normal; font-weight: 400; display: block; margin-top: 2px; font-size: 13px; }

/* Calculator preview card */
.calc-preview {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
}
.calc-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.calc-head-title { font-size: 14px; font-weight: 700; color: var(--steel-900); letter-spacing: 0.04em; }
.calc-head-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lemon-600);
  padding: 4px 10px;
  background: rgba(170,199,96,0.12);
  border-radius: 999px;
}
.calc-field { margin-bottom: 22px; }
.calc-field-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
}
.calc-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.calc-value {
  font-size: 20px; font-weight: 700; color: var(--steel-900);
  font-variant-numeric: tabular-nums;
}
.calc-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: var(--paper-2);
  border-radius: 999px;
  outline: none;
  background-image: linear-gradient(var(--steel), var(--steel));
  background-repeat: no-repeat;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--steel);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(31,61,78,0.2);
  transition: transform .15s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.calc-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--steel);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(31,61,78,0.2);
}
.calc-handoff-note {
  margin: 24px 0 16px;
  padding: 12px 14px;
  background: var(--paper-2);
  border-radius: 10px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-family: 'Montserrat', sans-serif;
}
.calc-cta { width: 100%; justify-content: center; }

/* ============ How It Works — grid + blueprint ============ */
.hiw {
  background: var(--electric-50);
  color: var(--steel-900);
  position: relative;
  overflow: hidden;
}
.hiw::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31,61,78,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,61,78,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}
.hiw-blueprint {
  position: absolute; inset: 0;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.hiw-blueprint svg { width: 100%; height: 100%; }

.hiw-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hiw-copy { max-width: none; }
.hiw-copy p { max-width: none; }
.hiw-grid > .hiw-media { margin-top: 0; }
.hiw-grid > .hiw-copy { padding-top: 0; }
.hiw-media {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-3);
  position: relative;
  background: #000;
  aspect-ratio: 5/3;
}
.hiw-media img { width: 100%; height: 100%; object-fit: cover; }
.hiw-caption {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hiw-caption .live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}
.hiw-caption .live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lemon); animation: pulse 1.6s ease-in-out infinite; }

/* Stats grid below the prose */
.hiw-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hiw-stats-h {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.hiw-stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hiw-stats-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
.hiw-stats-list li strong {
  color: var(--lemon);
  font-weight: 600;
}
.hiw-bullet {
  color: var(--lemon);
  font-weight: 700;
  flex: 0 0 auto;
}
@media (max-width: 720px) {
  .hiw-stats-grid { grid-template-columns: 1fr; gap: 28px; }
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.steps { list-style: none; padding: 0; margin: 30px 0 0; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.step:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.step-num {
  font-size: 14px; font-weight: 700;
  color: var(--lemon);
  padding-top: 4px;
  letter-spacing: 0.1em;
}
.step-title { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.step-body { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.72); max-width: 420px; }

/* Horizontal three-column step row, sits below the gif/copy row */
.hiw-steps-row {
  list-style: none;
  padding: 0;
  margin: 70px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.hiw-step-col {
  position: relative;
  padding-top: 6px;
}
.hiw-step-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--lemon);
}
.hiw-step-rule {
  height: 1px;
  background: rgba(170,199,96,0.35);
  margin: 16px 0 18px;
  position: relative;
}
.hiw-step-rule::before {
  content: '';
  position: absolute;
  left: 0; top: -3px;
  width: 7px; height: 7px;
  background: var(--lemon);
  border-radius: 50%;
}
.hiw-step-title {
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
  text-wrap: balance;
}
.hiw-step-body {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  text-wrap: pretty;
}

/* ============ Products ============ */
.products { background: var(--steel-900); color: #fff; }
.products h2 { color: #fff; }
.products-header { color: rgba(255,255,255,0.78); }
.products-header .right-col .lede-strong { color: #fff; }
.products-header .right-col p { color: rgba(255,255,255,0.78); }
.products-header {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: start;
  margin-bottom: 50px;
  gap: 40px;
}
.products-header h2 { white-space: nowrap; }
.products-header .right-col {
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right;
}
.products-header .right-col .lede-strong { margin: 0 0 10px; text-align: right; max-width: 520px; }
.products-header .right-col p { max-width: 440px; text-align: right; }

.product-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.product-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  position: relative;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s, border-color .35s, background .35s;
}
.product-card:hover {
  background: #fff;
  border-color: var(--electric);
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.product-card.featured {
  background: var(--steel);
  border-color: var(--steel);
  color: #fff;
}
.product-card.featured .product-name,
.product-card.featured .product-tagline { color: #fff; }
.product-card.featured .product-spec-label { color: var(--electric); }
.product-card.featured .product-spec-value { color: #fff; }
.product-card.featured .product-cta { color: var(--lemon); }
.product-card.featured .product-badge { color: var(--electric); }
.product-card.featured .parallel-flag { color: var(--lemon); border-color: rgba(170,199,96,0.4); }
.product-card.featured .product-specs { border-top-color: rgba(255,255,255,0.18); }

/* UL/CSA circle badge — upper right */
.ulcsa-badge {
  position: absolute; top: 16px; right: 16px;
  z-index: 2;
  width: 58px; height: 58px;
  filter: drop-shadow(0 4px 10px rgba(18,39,50,0.18));
}
.ulcsa-badge svg { display: block; }

/* Head row — keep badges aligned across cards */
.product-card-head {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding-right: 70px; /* space for UL/CSA badge */
}
.product-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--steel-500);
  text-transform: uppercase;
}
.parallel-flag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lemon-600);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(170,199,96,0.35);
  background: rgba(170,199,96,0.08);
  text-transform: uppercase;
  white-space: nowrap;
}

.product-img {
  aspect-ratio: 1/0.82;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 10px;
  margin-bottom: 18px;
}
.product-img img {
  max-height: 180px;
  object-fit: contain;
  object-position: top;
  filter: drop-shadow(0 20px 25px rgba(18,39,50,0.2));
}

.product-name {
  font-size: 22px; font-weight: 700;
  color: var(--steel-900);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.product-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 40px;
}
.product-specs {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(31,61,78,0.12);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px;
}
.product-spec-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase;
}
.product-spec-value {
  font-size: 15px; font-weight: 700;
  color: var(--steel-900);
  margin-top: 3px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.product-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--steel);
  text-decoration: none;
  text-transform: uppercase;
}
.product-cta svg { width: 14px; height: 14px; transition: transform .2s; }
.product-card:hover .product-cta svg { transform: translateX(3px); }

/* Gallery variant */
.product-carousel-gallery {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: stretch;
  background: var(--paper-2);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.product-gallery-list { display: flex; flex-direction: column; gap: 6px; }
.product-gallery-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-m);
  cursor: pointer;
  transition: background .2s;
  border: none;
  background: transparent;
  text-align: left;
}
.product-gallery-item:hover { background: rgba(255,255,255,0.6); }
.product-gallery-item.active { background: var(--steel); }
.product-gallery-item.active .pg-name { color: #fff; }
.product-gallery-item.active .pg-num { color: var(--lemon); }
.pg-num { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; }
.pg-name { font-size: 15px; font-weight: 600; color: var(--steel-900); flex: 1; }
.pg-arrow { opacity: 0; color: var(--lemon); }
.product-gallery-item.active .pg-arrow { opacity: 1; }

.product-gallery-stage {
  background: #fff;
  border-radius: var(--radius-l);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
  position: relative;
  min-height: 430px;
}
.product-gallery-img {
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 10px;
}
.product-gallery-img img {
  max-height: 340px;
  object-fit: contain;
  object-position: top;
  filter: drop-shadow(0 30px 35px rgba(18,39,50,0.22));
}
.product-gallery-info h3 { font-size: 32px; margin-bottom: 10px; letter-spacing: -0.02em; }
.product-gallery-info .tag { font-size: 11px; font-weight: 700; color: var(--steel-500); letter-spacing: 0.18em; text-transform: uppercase; }
.product-gallery-info p { font-size: 14px; margin-top: 14px; }
.gallery-specs { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.gallery-specs-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 13px; }
.gallery-specs-row + .gallery-specs-row { border-top: 1px dashed var(--line); }
.gallery-specs-label { color: var(--muted); font-weight: 500; }
.gallery-specs-value { color: var(--steel-900); font-weight: 700; }

/* ============ Case Studies ============ */
.cases { background: var(--paper); overflow: hidden; }
.case-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: stretch;
  min-height: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-1);
  margin-top: 40px;
}
.case-feature-img {
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--paper-2);
  align-self: stretch;
}
.case-feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.case-duration {
  display: inline-block;
  margin: 10px 0 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(31,61,78,0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.case-quote {
  font-size: 24px;
  line-height: 1.35;
  color: var(--steel-900);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 16px 0 28px;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-meta { display: flex; gap: 14px; align-items: center; }
.case-client { font-size: 13px; font-weight: 700; color: var(--steel-900); }
.case-client-where { font-size: 12px; color: var(--muted); margin-top: 2px; }

.case-results {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 26px 0 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.case-result-num {
  font-size: 27px; font-weight: 800; color: var(--steel-900);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  line-height: 1.05;
  display: flex; align-items: baseline;
  white-space: nowrap;
}
.case-result-num .pct-big,
.case-result-num .lbs-big {
  font-size: 1em; /* double-size vs previous small unit */
  color: var(--steel-900);
  font-weight: 800;
  margin-left: 0.08em;
}
.case-result-num .unit {
  font-size: 14px;
  color: var(--steel-500);
  font-weight: 700;
  margin-left: 4px;
}
.case-result-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-top: 6px;
  white-space: nowrap;
}
/* Make CO2 "2" full size (not subscript) */
.case-result-label span { font-size: 1em; vertical-align: baseline; }

.case-switcher {
  display: flex; gap: 10px; flex-wrap: nowrap;
  margin-top: 40px;
  justify-content: center;
}
.case-switch-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: all .2s;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case-switch-btn:hover { color: var(--steel-900); border-color: var(--steel-500); }
.case-switch-btn.active { background: var(--steel); color: #fff; border-color: var(--steel); }
.cases-all { display: flex; justify-content: center; margin-top: 22px; }

/* ============ Trusted By ============ */
.trusted { padding: 80px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.trusted-head { text-align: center; margin-bottom: 50px; }
.trusted-head h2.trusted-h2 {
  margin: 0;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.trusted-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.trusted-marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  align-items: center;
  animation: trustedScroll 50s linear infinite;
}
.trusted-marquee:hover .trusted-marquee-track { animation-play-state: paused; }
.trusted-marquee-cell {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  height: 120px;
  padding: 0 12px;
}
.trusted-marquee-cell img {
  max-height: 90px;
  max-width: 270px;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.78);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.trusted-marquee-cell:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}
@keyframes trustedScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Footer styling now lives solely in style.css (shared across all templates,
   including the home page) — removed the duplicate/stale copy that used to
   live here, which predated the footer restructure and was overriding it. */


/* ============ Tweaks ============ */
.tweaks-panel {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-3);
  padding: 20px;
  width: 280px;
  font-size: 13px;
}
.tweaks-panel h5 {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweaks-panel h5 span.dot { width: 8px; height: 8px; background: var(--lemon); border-radius: 50%; }
.tweaks-panel .group { margin-bottom: 16px; }
.tweaks-panel .group:last-child { margin-bottom: 0; }
.tweaks-panel .group-label { font-size: 12px; color: var(--steel-900); font-weight: 600; margin-bottom: 8px; }
.tweaks-panel .seg { display: flex; background: var(--paper-2); border-radius: 999px; padding: 3px; gap: 2px; }
.tweaks-panel .seg button {
  flex: 1;
  padding: 8px 10px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-radius: 999px;
  transition: all .2s;
}
.tweaks-panel .seg button.active { background: #fff; color: var(--steel-900); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }

/* ============ Reveal animations ============ */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.fade-up.in { opacity: 1; transform: translateY(0); }
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

.hero-reveal { opacity: 0; transform: translateY(24px); animation: heroIn .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-reveal-1 { animation-delay: 0.1s; }
.hero-reveal-2 { animation-delay: 0.25s; }
.hero-reveal-3 { animation-delay: 0.4s; }
.hero-reveal-4 { animation-delay: 0.55s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero-product-reveal { opacity: 0; transform: translateX(40px) scale(0.98); animation: heroProductIn 1.1s cubic-bezier(.2,.7,.2,1) 0.2s forwards; }
@keyframes heroProductIn { to { opacity: 1; transform: translateX(0) scale(1); } }

@keyframes chevSlide {
  0% { transform: translateX(-40px); opacity: 0; }
  50% { opacity: 0.3; }
  100% { transform: translateX(40px); opacity: 0; }
}
.chev-float { animation: chevSlide 2.5s ease-out infinite; }
.chev-float.d2 { animation-delay: 0.3s; }
.chev-float.d3 { animation-delay: 0.6s; }

@media (max-width: 840px) {
  .hero-grid, .savings-grid, .hiw-grid, .case-feature, .products-header { grid-template-columns: 1fr; gap: 40px; }
  .hiw-steps-row { grid-template-columns: 1fr; gap: 36px; margin-top: 50px; }
  .products-header .right-col { align-items: flex-start; text-align: left; }
  .products-header .right-col .lede-strong,
  .products-header .right-col p { text-align: left; }
  .products-header h2 { white-space: normal; font-size: clamp(32px, 8vw, 48px); }
  .product-track { grid-template-columns: 1fr 1fr; }
  .product-carousel-gallery { grid-template-columns: 1fr; }
  .product-gallery-stage { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-actions { align-items: flex-start; }
  .footer-menu ul { align-items: flex-start; }
  .hero h1 { font-size: 48px; }
  .section { padding: 80px 0; }
  .hero-product .product-tag { min-width: 0; width: auto; transform: translateX(calc(-50% - 40px)); }
}

/* ============================================================
   GREEN ACCENT LEVELS — body modifier
   ============================================================ */
body.green-reduced .hero h1 .accent { color: #fff; }
body.green-reduced .hero-kicker .dot { background: var(--electric); box-shadow: 0 0 0 3px rgba(144,171,181,0.25); }
body.green-reduced .product-card.featured .product-cta { color: var(--electric); }
body.green-reduced .product-card.featured .parallel-flag { color: var(--electric); border-color: rgba(144,171,181,0.4); }
body.green-reduced .ulcsa-badge svg circle:first-of-type { stroke: var(--electric); }

body.green-mono .hero h1 .accent { color: #fff; }
body.green-mono .hero-kicker .dot { background: rgba(255,255,255,0.7); box-shadow: 0 0 0 3px rgba(255,255,255,0.18); }
body.green-mono .product-card.featured .product-cta { color: #fff; }
body.green-mono .product-card.featured .parallel-flag { color: #fff; border-color: rgba(255,255,255,0.35); }
body.green-mono .product-cta,
body.green-mono .hero-photo-cta { color: var(--steel-900); }
body.green-mono .ulcsa-badge svg circle { stroke: var(--steel) !important; }

/* ============================================================
   HERO VARIANT D — full-bleed photo
   ============================================================ */
.hero-variant-D {
  position: relative;
  background: #0a1116;
  color: #fff;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-variant-D > .container {
  position: relative;
  z-index: 2;
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.hero-photo-stage {
  position: absolute; inset: 0; z-index: 0;
}
.hero-photo-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-photo-bg.active { opacity: 1; }
.hero-photo-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 70% 50%;
  transform: scale(1.04);
  animation: heroPhotoZoom 18s ease-out forwards;
}
@keyframes heroPhotoZoom {
  to { transform: scale(1.0); }
}
.hero-photo-grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,14,20,0.75) 0%, rgba(8,14,20,0.35) 18%, rgba(8,14,20,0) 45%, rgba(8,14,20,0) 75%, rgba(8,14,20,0.55) 100%),
    linear-gradient(95deg, rgba(8,14,20,0.85) 0%, rgba(8,14,20,0.55) 30%, rgba(8,14,20,0.15) 55%, rgba(8,14,20,0) 70%);
  pointer-events: none;
}
.hero-photo-grade-2 {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 18% 60%, rgba(8,14,20,0.55) 0%, rgba(8,14,20,0) 60%);
  pointer-events: none;
}
.hero-photo-placeholder-tag { display: none; }

/* thin architectural deco lines */
.hero-deco-line {
  position: absolute; left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,0.18);
  z-index: 2;
  pointer-events: none;
}
.hero-deco-line.top { top: 88px; }
.hero-deco-line.bottom { bottom: 0; }

/* layout: tagline near top, headline pinned to lower-left */
.hero-photo-grid {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 170px 0 64px;
  position: relative;
  z-index: 2;
}
.hero-photo-sub {
  margin-top: auto;
  animation: heroSlideTextIn .85s cubic-bezier(.2,.7,.2,1) both;
}
.hero-photo-sub-main {
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.1;
}
.hero-photo-sub-expand {
  font-size: clamp(10px, 1.15vw, 16.5px);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.78);
  margin-top: 8px;
}
.hero-photo-meta {
  align-self: start;
}
.hero-photo-tag::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 14px; height: 1px; background: rgba(255,255,255,0.5);
}
.hero h1.hero-photo-h1 {
  font-size: clamp(30px, 4.2vw, 63px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 22ch;
  margin: 0;
  text-wrap: balance;
  animation: heroSlideTextIn .8s cubic-bezier(.2,.7,.2,1) both;
}
.hero-photo-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  padding-left: 22px;
  position: relative;
  animation: heroSlideTextIn .6s cubic-bezier(.2,.7,.2,1) both;
}
.hero-photo-foot {
  margin-top: 24px;
  display: flex; align-items: center; gap: 22px;
  flex-wrap: wrap;
  padding-top: 8px;
  animation: heroSlideTextIn .9s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes heroSlideTextIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* dot nav */
.hero-photo-dots {
  position: absolute;
  left: 0; right: 0; bottom: 28px;
  display: flex; justify-content: center; gap: 18px;
  z-index: 3;
}
.hero-photo-dot {
  position: relative;
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hero-photo-dot-ring {
  width: 100%; height: 100%;
  overflow: visible;
  /* rotate so the stroke starts at 12 o'clock and goes clockwise */
  transform: rotate(-90deg);
}
.hero-photo-dot-track {
  fill: none;
  stroke: rgba(255,255,255,0.28);
  stroke-width: 1.5;
}
.hero-photo-dot-progress {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  /* circumference of r=15 ≈ 94.248 */
  stroke-dasharray: 94.248;
  stroke-dashoffset: 94.248;
}
.hero-photo-dot.active .hero-photo-dot-progress {
  animation: heroDotRing 7s linear forwards;
}
.hero-photo-dot-core {
  fill: rgba(255,255,255,0.55);
  transform-origin: 18px 18px;
  /* core sits at center; un-rotate so it stays a dot regardless of parent rotation */
}
.hero-photo-dot.active .hero-photo-dot-core {
  fill: #fff;
}
.hero-photo-dot:hover .hero-photo-dot-core {
  fill: #fff;
}
.hero-photo-dot:hover .hero-photo-dot-track {
  stroke: rgba(255,255,255,0.5);
}
@keyframes heroDotRing {
  from { stroke-dashoffset: 94.248; }
  to { stroke-dashoffset: 0; }
}
.hero-photo-cta {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.hero-photo-cta:hover {
  background: #fff;
  color: var(--steel-900);
  border-color: #fff;
}
.hero-photo-cta:hover svg path { stroke: var(--steel-900); }
.hero-photo-cta svg { width: 14px; height: 14px; transition: transform .25s; }
.hero-photo-cta:hover svg { transform: translateX(3px); }
.hero-photo-foot-divider {
  width: 1px; height: 18px; background: rgba(255,255,255,0.2);
}
.hero-photo-foot-note {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 840px) {
  .hero-variant-D { min-height: 82vh; }
  .hero-photo-grid { padding: 120px 0 48px; gap: 28px; }
  .hero-photo-h1 { font-size: 40px; }
  .hero-deco-line.top { top: 72px; }
  .hero-photo-foot-divider { display: none; }
  .hero-photo-foot { gap: 14px; }
}

/* ============================================================
   PRODUCTS — ACCORDION variant
   Full-bleed horizontal accordion. Default: featured panel expanded.
   Hover any panel to expand it; others collapse to a thin rail.
   ============================================================ */
.product-accordion {
  --pa-collapsed: 84px;
  --pa-expanded: 1fr;
  position: relative;
  margin: 56px 0 0;
  width: 100%;
  max-width: 100%;
  background: transparent;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;

  display: grid;
  grid-template-columns: repeat(6, var(--pa-collapsed));
  height: 560px;
  transition: grid-template-columns .55s cubic-bezier(.2,.7,.2,1);
}
/* default: featured panel (4th = MAX) expanded */
.product-accordion {
  grid-template-columns:
    var(--pa-collapsed)
    var(--pa-collapsed)
    var(--pa-collapsed)
    var(--pa-collapsed)
    1fr
    var(--pa-collapsed);
}
/* per-hovered-panel layout — explicit selectors for each child being active */
.product-accordion:has(.pa-panel:nth-child(1).active:not(:hover) ~ :not(:hover)) {} /* noop */
.product-accordion:hover {
  grid-template-columns: var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed);
}
.product-accordion:hover .pa-panel:hover { /* expand on hover */ }
/* Use :has to expand the hovered panel */
.product-accordion:has(.pa-panel:nth-child(1):hover) { grid-template-columns: 1fr var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed); }
.product-accordion:has(.pa-panel:nth-child(2):hover) { grid-template-columns: var(--pa-collapsed) 1fr var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed); }
.product-accordion:has(.pa-panel:nth-child(3):hover) { grid-template-columns: var(--pa-collapsed) var(--pa-collapsed) 1fr var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed); }
.product-accordion:has(.pa-panel:nth-child(4):hover) { grid-template-columns: var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed) 1fr var(--pa-collapsed) var(--pa-collapsed); }
.product-accordion:has(.pa-panel:nth-child(5):hover) { grid-template-columns: var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed) 1fr var(--pa-collapsed); }
.product-accordion:has(.pa-panel:nth-child(6):hover) { grid-template-columns: var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed) var(--pa-collapsed) 1fr; }

.pa-panel {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  display: grid;
  grid-template-columns: var(--pa-collapsed) 1fr;
  align-items: stretch;
  transition: background .35s ease;
  background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.03));
}
.pa-panel.active {
  background: linear-gradient(180deg, rgba(170,199,96,0.10) 0%, rgba(31,61,78,0.0) 70%);
}
/* MAX HYBRID watermark striping removed — placeholder panels now use the
   same neutral background as the other collapsed panels. */
.pa-panel.is-placeholder {
  background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.03));
}
.pa-panel.is-placeholder.active {
  background: linear-gradient(180deg, rgba(170,199,96,0.10) 0%, rgba(31,61,78,0.0) 70%);
}
.pa-panel + .pa-panel { border-left: 1px solid rgba(255,255,255,0.08); }
.pa-panel:focus-visible { box-shadow: inset 0 0 0 2px var(--electric); }

/* vertical rail — always visible.
   NOTE: NOT position:relative — pills are anchored to the .pa-panel (which is
   position:relative) so they stay pinned to the panel's bottom even when the
   long vertical .pa-name pushes the rail's intrinsic height past the panel
   and overflow:hidden would otherwise clip them. */
.pa-rail {
  width: var(--pa-collapsed);
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 0 24px;
  gap: 14px;
  z-index: 3;
}
.pa-num {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  font-family: 'Montserrat', sans-serif;
}
.pa-name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 14px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  margin-top: 8px;
  transition: color .25s, transform .35s;
}
.pa-panel.active .pa-name { color: #fff; }
.pa-pill {
  /* anchored to .pa-panel (which is position:relative), NOT .pa-rail —
     long vertical .pa-name can push rail height past panel and clip pills. */
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  /* override left to be panel-relative center of the 84px rail (= 42px) */
  left: calc(var(--pa-collapsed) / 2);
  writing-mode: vertical-rl;
  transform-origin: center;
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 8px 4px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  white-space: nowrap;
  background: rgba(0,0,0,0.25);
  z-index: 4;
  pointer-events: none;
}
/* When both pills are present, place them SIDE BY SIDE horizontally
   (panel-relative — rail center is --pa-collapsed/2). */
.pa-panel:has(.pa-pill-hybrid):has(.pa-pill-ulcsa) .pa-pill-hybrid {
  left: calc(var(--pa-collapsed) / 2 - 12px);
}
.pa-panel:has(.pa-pill-hybrid):has(.pa-pill-ulcsa) .pa-pill-ulcsa {
  left: calc(var(--pa-collapsed) / 2 + 12px);
}
.pa-pill-hybrid { color: var(--electric); border-color: rgba(144,171,181,0.5); background: rgba(28,40,56,0.55); }
.pa-pill-ulcsa  { color: var(--lemon);    border-color: rgba(170,199,96,0.5); background: rgba(36,40,22,0.55); }

/* image — appears as soft blurred backdrop on collapsed panels, sharp on active.
   Left-aligned so it doesn't sit underneath the right-side detail copy. */
.pa-image {
  grid-column: 1 / -1;
  grid-row: 1;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex; align-items: center; justify-content: flex-start;
  padding-left: 4%;
  pointer-events: none;
}
.pa-image img {
  max-height: 70%;
  max-width: 55%;
  object-fit: contain;
  opacity: 0.18;
  filter: blur(8px) saturate(0.8);
  transform: scale(1.05);
  transition: opacity .55s, filter .55s, transform .55s cubic-bezier(.2,.7,.2,1);
  filter: blur(8px) saturate(0.8) drop-shadow(0 12px 30px rgba(0,0,0,0.4));
}
.pa-panel.active .pa-image img {
  opacity: 1;
  filter: blur(0) saturate(1) drop-shadow(0 24px 40px rgba(0,0,0,0.5));
  transform: scale(1);
}
/* Scrim behind the right-side detail so text stays legible over the unit photo */
.pa-panel.active::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 55%;
  background: linear-gradient(90deg,
    rgba(18,39,50,0) 0%,
    rgba(18,39,50,0.55) 18%,
    rgba(18,39,50,0.92) 45%,
    rgba(18,39,50,0.97) 100%);
  z-index: 1;
  pointer-events: none;
}
/* MAX units are wider — push the scrim ~100px further left to cover unit overlap */
.pa-panel.active[data-key="max"]::after,
.pa-panel.active[data-key="max-hybrid"]::after {
  width: calc(55% + 100px);
}
.pa-panel.is-placeholder .pa-image img {
  filter: blur(10px) saturate(0) opacity(.6);
  opacity: 0.12;
}
.pa-panel.is-placeholder.active .pa-image img {
  filter: blur(0) saturate(0) opacity(.55) drop-shadow(0 24px 40px rgba(0,0,0,0.5));
  opacity: 0.55;
}

/* detail — only revealed when active */
.pa-detail {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex; align-items: flex-end;
  padding: 36px 44px 36px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.pa-panel.active .pa-detail {
  opacity: 1;
  pointer-events: auto;
  transition: opacity .35s ease .15s;
}
.pa-detail-inner {
  display: flex; flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  position: relative;
  padding-top: 78px; /* room for the UL/CSA badge above the title */
}
.pa-detail-ulcsa {
  position: absolute;
  top: 0; right: 0;
  z-index: 3;
}
.pa-detail-ulcsa .ulcsa-badge {
  width: 60px;
}
.pa-detail-ulcsa .ulcsa-badge svg {
  width: 60px;
  height: 60px;
}
.pa-detail-head h3 {
  font-size: 30px;
  font-weight: 700;
  margin: 8px 0 8px;
  letter-spacing: -0.01em;
  color: #fff;
}
.pa-detail-head p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.5;
}
.pa-badge {
  display: inline-block;
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 10px;
  background: rgba(170,199,96,0.18);
  color: var(--lemon);
  border-radius: 3px;
}
.pa-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
}
.pa-spec { display: flex; flex-direction: column; gap: 2px; }
.pa-spec-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.pa-spec-value {
  font-size: 16px; font-weight: 600;
  color: #fff;
}
.pa-cta {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lemon);
  text-decoration: none;
  padding: 10px 18px 10px 0;
  border-bottom: 1px solid rgba(170,199,96,0.4);
  transition: color .2s, border-color .2s;
}
.pa-cta:hover { color: #fff; border-color: #fff; }
.pa-cta-disabled {
  color: rgba(255,255,255,0.4);
  border-color: rgba(255,255,255,0.18);
  pointer-events: none;
}
.pa-rule { display: none; }

@media (max-width: 980px) {
  .product-accordion {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto;
    height: auto;
  }
  .product-accordion:has(.pa-panel:hover) { grid-template-columns: 1fr; }
  .pa-panel { grid-template-columns: 1fr; min-height: 88px; }
  .pa-panel + .pa-panel { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .pa-rail {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    padding: 20px 28px;
  }
  .pa-name { writing-mode: horizontal-tb; transform: none; margin-top: 0; }
  .pa-num { letter-spacing: 0.18em; }
  .pa-pill { position: static; transform: none; margin-left: auto; }
  .pa-image { position: relative; height: 0; transition: height .35s; }
  .pa-panel.active .pa-image { height: 220px; }
  .pa-detail { padding: 0 28px 32px; height: 0; transition: height .35s, opacity .35s; }
  .pa-panel.active .pa-detail { height: auto; padding-top: 12px; }
}

/* ============================================================
   PRODUCTS — RAIL variant
   ============================================================ */
.product-rail {
  position: relative;
  padding: 60px 0 0;
}
.product-rail-track {
  position: absolute;
  left: 5%; right: 5%;
  top: 162px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 8%, var(--line) 92%, transparent);
  z-index: 0;
}
.product-rail-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  list-style: none;
  margin: 0; padding: 0;
}
.product-rail-item {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 12px;
  cursor: pointer;
  outline: none;
  transition: opacity .35s ease;
}
.product-rail-item.dim { opacity: 0.4; }
.product-rail-item:focus-visible .product-rail-thumb {
  outline: 2px solid var(--electric);
  outline-offset: 6px;
  border-radius: 4px;
}
.product-rail-thumb {
  width: 100%;
  aspect-ratio: 1/0.85;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  margin-bottom: 18px;
}
.product-rail-thumb img {
  max-width: 78%;
  max-height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(31,61,78,0.18));
  transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .35s;
  transform-origin: center bottom;
}
.product-rail-item.active .product-rail-thumb img,
.product-rail-item:hover .product-rail-thumb img {
  transform: scale(1.14);
  filter: drop-shadow(0 28px 34px rgba(31,61,78,0.25));
}
.product-rail-thumb img.is-photo {
  max-width: 96%;
  max-height: 92%;
  border-radius: 6px;
}
.product-rail-hybrid-mini {
  position: absolute;
  top: 6px; left: 8%;
  font-size: 9px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff;
  background: var(--electric);
  padding: 4px 8px;
  border-radius: 3px;
  z-index: 2;
}
.product-rail-ulcsa-mini {
  position: absolute;
  top: 4px; right: 8%;
  color: var(--electric);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
  z-index: 2;
}
.product-img img.is-photo {
  border-radius: 6px;
}
.product-gallery-img img.is-photo {
  border-radius: 8px;
}
.product-rail-tick {
  position: absolute;
  bottom: -6px; left: 50%;
  width: 1px; height: 16px;
  background: var(--line);
  transform: translateX(-50%);
  transition: height .35s, background .35s;
}
.product-rail-item.active .product-rail-tick {
  height: 22px;
  background: var(--steel-900);
}
.product-rail-name {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 14px 16px 0;
  background: var(--paper);
  transition: color .25s;
  z-index: 2;
}
.product-rail-item.active .product-rail-name { color: var(--steel-900); }

.product-rail-detail {
  margin-top: 56px;
  min-height: 220px;
  background: transparent;
  border: none;
  border-radius: 14px;
  padding: 36px 44px;
  position: relative;
  transition: opacity .35s ease;
}
.product-rail-detail.visible { background: transparent; border-color: transparent; }
.product-rail-detail-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.product-rail-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 48px;
  align-items: center;
  animation: railDetailIn .35s ease both;
}
@keyframes railDetailIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-rail-detail-meta {
  position: relative;
}
.product-rail-detail-ulcsa {
  position: absolute;
  top: -8px; right: 0;
}
.product-rail-detail-ulcsa .ulcsa-badge svg {
  width: 54px; height: 54px;
}
.product-rail-detail-meta h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--steel-900);
  margin: 4px 0 8px;
  letter-spacing: -0.01em;
}
.product-rail-detail-meta p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  max-width: 38ch;
  line-height: 1.5;
}
.product-rail-detail-badge {
  display: inline-block;
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel);
  background: var(--electric-50);
  padding: 4px 8px;
  border-radius: 4px;
}
.product-rail-detail-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
}
.product-rail-detail-specs > div {
  display: flex; flex-direction: column; gap: 2px;
}
.rail-spec-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.rail-spec-value {
  font-size: 18px; font-weight: 700; color: var(--steel-900);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.product-rail-cta {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--steel-900);
  color: #fff;
  text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background .2s, transform .2s;
}
.product-rail-cta:hover { background: var(--steel); transform: translateY(-1px); }
.product-rail-cta svg { width: 14px; height: 14px; transition: transform .2s; }
.product-rail-cta:hover svg { transform: translateX(3px); }

@media (max-width: 840px) {
  .product-rail-list { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .product-rail-track { display: none; }
  .product-rail-detail-inner { grid-template-columns: 1fr; gap: 20px; }
  .product-rail-detail { padding: 24px; }
}

/* ============================================================
   "Real sites. Real savings." (#cases) — MOBILE ONLY (≤840px).
   Appended last so these win on source order. Desktop untouched.
   ============================================================ */
/* desktop: the mobile case-picker dropdown stays hidden (buttons switch) */
.case-select { display: none; }

@media (max-width: 840px) {
  /* The white content card ("bubble"): tighter padding + gap, size to content */
  .case-feature { padding: 22px; gap: 24px; min-height: 0; }

  /* Featured image: fit inside the card at natural aspect ratio (no crop, no bleed) */
  .case-feature-img { height: auto; min-height: 0; align-self: stretch; }
  .case-feature-img img { width: 100%; height: auto; object-fit: contain; display: block; }

  /* Quote/description sits comfortably inside the card */
  .case-quote { font-size: 19px; line-height: 1.5; margin: 12px 0 20px; }

  /* Three stats stack vertically (one per row) instead of overflowing across */
  .case-results { grid-template-columns: 1fr; gap: 14px; margin: 20px 0 24px; padding-top: 20px; }

  /* Switcher: hide the desktop button row; the dropdown in the card replaces it */
  .case-switcher { display: none; }

  /* Case picker dropdown — sits under the image, above the title pill */
  .case-select {
    display: block; width: 100%; margin: 2px 0 6px; padding: 13px 44px 13px 16px;
    font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.3;
    color: var(--steel-900); background-color: #fff;
    border: 1.5px solid var(--line); border-radius: var(--radius-m);
    -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23254a5e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
  }
  .case-select:focus-visible { outline: 2px solid var(--steel-700); outline-offset: 2px; }
}
