/* ============================================================
   ECOCITY — Circular Urban Infrastructure
   Unified design system · 5 pages
   Palette: deep navy + ECOCITY green · serif display + sans body
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Core palette */
  --ink:          #0f172a;   /* primary dark */
  --ink-2:        #1e293b;
  --ink-3:        #334155;
  --green:        #16a34a;   /* ECOCITY green */
  --green-dark:   #15803d;
  --green-darker: #14532d;
  --green-soft:   #dcfce7;
  --green-softer: #f0fdf4;
  --bg:           #f8fafc;   /* light background */
  --bg-2:         #f1f5f9;
  --mute:         #475569;   /* muted text */
  --mute-2:       #64748b;
  --line:         #e2e8f0;
  --line-dark:    rgba(255,255,255,0.10);
  --line-dark-2:  rgba(255,255,255,0.18);
  --white:        #ffffff;
  --danger:       #dc2626;

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, system-ui, sans-serif;

  /* Scale */
  --h1: clamp(2.8rem, 7vw, 6.2rem);
  --h2: clamp(2rem, 4.2vw, 3.8rem);
  --h3: clamp(1.3rem, 2vw, 1.85rem);
  --lead: clamp(1rem, 1.25vw, 1.2rem);

  /* Motion */
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.2, 0.6, 0.2, 1);

  /* Layout */
  --max: 1440px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 4px;
  --radius-lg: 8px;
}

/* ============================================================
   IMMERSIVE UPGRADE PACK v1
   Append to bottom of style.css - additive, breaks nothing
   ============================================================ */

/* ---------- 1. Floating action cluster ---------- */
.float-cluster {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 60;
  width: 60px; height: 60px;
}
.float-cluster-main {
  position: absolute;
  inset: 0;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 12px 30px rgba(22,163,74,0.4), 0 0 0 0 rgba(22,163,74,0.6);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  animation: cluster-pulse 2.5s infinite;
}
@keyframes cluster-pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(22,163,74,0.4), 0 0 0 0 rgba(22,163,74,0.5); }
  50%      { box-shadow: 0 12px 30px rgba(22,163,74,0.4), 0 0 0 14px rgba(22,163,74,0); }
}
.float-cluster:hover .float-cluster-main,
.float-cluster.is-open .float-cluster-main {
  transform: rotate(45deg) scale(1.05);
  background: var(--green-dark);
}
.float-cluster-item {
  position: absolute;
  width: 52px; height: 52px;
  background: var(--white);
  color: var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5) translate(0, 0);
  transition: all 0.4s var(--ease);
  top: 4px; left: 4px;
}
.float-cluster:hover .float-cluster-item,
.float-cluster.is-open .float-cluster-item {
  opacity: 1;
  pointer-events: auto;
}
.float-cluster:hover .float-cluster-item:nth-child(2),
.float-cluster.is-open .float-cluster-item:nth-child(2) {
  transform: scale(1) translate(0, -75px);
}
.float-cluster:hover .float-cluster-item:nth-child(3),
.float-cluster.is-open .float-cluster-item:nth-child(3) {
  transform: scale(1) translate(-55px, -55px);
}
.float-cluster:hover .float-cluster-item:nth-child(4),
.float-cluster.is-open .float-cluster-item:nth-child(4) {
  transform: scale(1) translate(-75px, 0);
}
.float-cluster-item:hover {
  background: var(--green);
  color: var(--white);
  transform: scale(1.1) !important;
}
.float-cluster-item[data-label]::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--white);
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.float-cluster-item:hover[data-label]::after { opacity: 1; }

/* Hide the old .wa-float since we're replacing it */
.wa-float { display: none !important; }

/* ---------- 2. Image hover cards (products, services, steps) ---------- */
.product-visual,
.product-mini-visual,
.service-card-visual,
.system-step-visual {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.hover-reveal {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,0.55) 55%, rgba(15,23,42,0.95) 100%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  z-index: 3;
  pointer-events: none;
}
.product-visual:hover .hover-reveal,
.product-mini-visual:hover .hover-reveal,
.service-card:hover .hover-reveal,
.system-step:hover .hover-reveal {
  opacity: 1;
}
.hover-reveal-inner {
  transform: translateY(30px);
  transition: transform 0.55s var(--ease) 0.05s;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.product-visual:hover .hover-reveal-inner,
.product-mini-visual:hover .hover-reveal-inner,
.service-card:hover .hover-reveal-inner,
.system-step:hover .hover-reveal-inner {
  transform: translateY(0);
}
.hover-reveal-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.95;
}
.hover-reveal h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}
.hover-reveal p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin: 0;
  max-width: 95%;
}
.hover-reveal-specs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hover-reveal-spec {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.hover-reveal-spec strong {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Image zoom on hover, layered beneath the overlay */
.product-visual:hover .product-visual-img,
.product-mini-visual:hover,
.service-card:hover .service-card-visual,
.system-step:hover .system-step-visual {
  transform: scale(1.06);
}
.product-visual-img,
.product-mini-visual,
.service-card-visual,
.system-step-visual {
  transition: transform 1.4s var(--ease);
}

/* ---------- 3. Cursor spotlight (dark sections only) ---------- */
.spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,0.18) 0%, rgba(22,163,74,0) 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  mix-blend-mode: screen;
  will-change: transform;
}
.spotlight.is-active { opacity: 1; }

/* ---------- 4. Animated grid background (for dark sections) ---------- */
.section-dark,
.final-cta,
.hero {
  position: relative;
}
.section-dark::before,
.final-cta::before,
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(22,163,74,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22,163,74,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}
/* Ensure .final-cta's existing ::before glow still works by moving grid to ::after on that block */
.final-cta::before {
  background-image:
    linear-gradient(to right, rgba(22,163,74,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22,163,74,0.07) 1px, transparent 1px),
    radial-gradient(ellipse at center top, rgba(22,163,74,0.2) 0%, transparent 55%);
  background-size: 60px 60px, 60px 60px, 100% 100%;
}
@keyframes grid-drift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 60px 60px, 60px 60px; }
}
.hero-inner,
.section-dark > .container,
.final-cta > .container { position: relative; z-index: 2; }

/* ---------- 5. Magnetic button behaviour ---------- */
.btn.magnetic {
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}

/* ---------- 6. Tilt on scroll-in ---------- */
.tilt-in {
  opacity: 0;
  transform: perspective(1000px) rotateX(8deg) translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.tilt-in.is-visible {
  opacity: 1;
  transform: perspective(1000px) rotateX(0) translateY(0);
}

/* ---------- 7. Metric hover reveal ---------- */
.metric-cell,
.impact-cell {
  position: relative;
  overflow: hidden;
  transition: background 0.35s var(--ease);
}
.metric-cell::after,
.impact-cell::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.metric-cell:hover::after,
.impact-cell:hover::after {
  transform: scaleX(1);
}

/* ---------- 8. Link underline reveal on nav ---------- */
.nav a:not(.active) {
  position: relative;
}
.nav a:not(.active)::before {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 100%; height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:not(.active):hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- 9. Smoother header glass morphism ---------- */
.header.is-scrolled {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.5);
}

/* ---------- 10. Floating geometric accents on hero ---------- */
.hero-accent {
  position: absolute;
  border: 1px solid rgba(22,163,74,0.3);
  z-index: 1;
  pointer-events: none;
}
.hero-accent-1 {
  top: 20%; right: 8%;
  width: 120px; height: 120px;
  border-radius: 50%;
  animation: float-a 9s ease-in-out infinite;
}
.hero-accent-2 {
  bottom: 25%; left: 6%;
  width: 80px; height: 80px;
  transform: rotate(45deg);
  animation: float-b 11s ease-in-out infinite;
}
.hero-accent-3 {
  top: 45%; right: 20%;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(22,163,74,0.15);
  border: 0;
  animation: float-a 7s ease-in-out infinite reverse;
}
@keyframes float-a {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(15px, -20px) rotate(10deg); }
}
@keyframes float-b {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%      { transform: rotate(50deg) translate(-10px, -15px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .float-cluster-main { animation: none; }
  .section-dark::before, .final-cta::before, .hero::before { animation: none; }
  .hero-accent { animation: none; }
  .tilt-in { opacity: 1; transform: none; }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .spotlight { display: none; }
  .hero-accent { display: none; }
  .float-cluster { bottom: 1rem; right: 1rem; width: 52px; height: 52px; }
  .float-cluster-item { width: 44px; height: 44px; }
  .float-cluster:hover .float-cluster-item:nth-child(2),
  .float-cluster.is-open .float-cluster-item:nth-child(2) { transform: scale(1) translate(0, -62px); }
  .float-cluster:hover .float-cluster-item:nth-child(3),
  .float-cluster.is-open .float-cluster-item:nth-child(3) { transform: scale(1) translate(-45px, -45px); }
  .float-cluster:hover .float-cluster-item:nth-child(4),
  .float-cluster.is-open .float-cluster-item:nth-child(4) { transform: scale(1) translate(-62px, 0); }
  .float-cluster-item[data-label]::after { display: none; }
  .hover-reveal { padding: 1rem; }
  .hover-reveal h4 { font-size: 1rem; }
  .hover-reveal p { font-size: 0.78rem; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }
iframe { border: 0; display: block; }

/* ---------- Container ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: var(--h1); font-weight: 300; line-height: 1; letter-spacing: -0.03em; }
h2 { font-size: var(--h2); font-weight: 400; }
h3 { font-size: var(--h3); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1.5px;
  background: var(--green);
}
.eyebrow.no-dash::before { display: none; }
.on-dark .eyebrow { color: var(--green-soft); }
.on-dark .eyebrow::before { background: var(--green); }

.lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--lead);
  line-height: 1.55;
  color: var(--mute);
  max-width: 52ch;
}
.on-dark .lede { color: rgba(255,255,255,0.72); }

/* Italic accent for headlines */
em.accent {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
}
.on-dark em.accent { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(22,163,74,0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.3); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn-arrow::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.15rem 0;
  transition: all 0.4s var(--ease);
  background: transparent;
}
.header.on-dark-hero { color: var(--white); }
.header.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
  color: var(--ink);
}
.header.is-scrolled.on-dark-hero { color: var(--ink); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
}
.brand-mark {
  width: 40px; height: 34px;
  background-image: url('../assets/logo-mark.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-name .eco { color: var(--green); }
.brand-name .city { color: var(--ink); }
.header.on-dark-hero:not(.is-scrolled) .brand-name .city { color: var(--white); }

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: inherit;
  opacity: 0.75;
  transition: opacity 0.25s var(--ease);
  position: relative;
  padding: 0.25rem 0;
}
.nav a:hover { opacity: 1; }
.nav a.active { opacity: 1; }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.nav-cta .btn { padding: 0.7rem 1.2rem; font-size: 0.75rem; }
.header.on-dark-hero:not(.is-scrolled) .nav-cta .btn-primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.header.on-dark-hero:not(.is-scrolled) .nav-cta .btn-primary:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  width: 40px; height: 40px;
  justify-content: center;
  align-items: center;
}
.menu-toggle span {
  width: 22px; height: 1.8px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ============================================================
   HERO — cinematic slideshow
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 7rem 0 3.5rem;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.hero-stage {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 10s ease-out both;
}
@keyframes kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.35) 40%, rgba(15,23,42,0.95) 100%),
    linear-gradient(90deg, rgba(15,23,42,0.7) 0%, transparent 65%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-meta-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.pulse {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22,163,74,0.6);
  animation: pulse 2.2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22,163,74,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
.hero-progress { display: flex; gap: 0.5rem; }
.hero-progress-bar {
  width: 40px; height: 1.5px;
  background: rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
}
.hero-progress-bar .fill {
  position: absolute; inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-progress-bar.is-active .fill { animation: fillbar 6s linear forwards; }
.hero-progress-bar.is-done .fill { transform: scaleX(1); }
@keyframes fillbar { to { transform: scaleX(1); } }

.hero-headline {
  font-size: var(--h1);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin: 0 0 2rem;
  color: var(--white);
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
}

.hero-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
  margin-top: 3rem;
}
.hero-description {
  max-width: 44ch;
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.75rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-location {
  text-align: right;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  line-height: 2;
}
.hero-location strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--white);
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.scroll-hint .line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--white));
  animation: scrollline 2.2s infinite var(--ease);
}
@keyframes scrollline {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  position: relative;
}
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-dark {
  background: var(--ink);
  color: var(--white);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark.on-dark { /* utility class */ }
.section-soft { background: var(--bg); }
.section-green-soft { background: var(--green-softer); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.section-head h2 { margin-top: 1.25rem; max-width: 18ch; }
.section-head-center {
  text-align: center;
  display: block;
  max-width: 760px;
  margin: 0 auto 4rem;
}
.section-head-center .eyebrow { justify-content: center; }
.section-head-center h2 { margin: 1.25rem auto; max-width: 22ch; }
.section-head-center .lede { margin: 0 auto; }

/* Page hero (inner pages) */
.page-hero {
  padding: 9rem 0 5rem;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--ph-bg, linear-gradient(135deg, rgba(21,128,61,0.25), rgba(15,23,42,0.9)));
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.95) 100%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  max-width: 18ch;
  margin: 1.25rem 0 1.25rem;
  color: var(--white);
}
.page-hero .lede { color: rgba(255,255,255,0.78); max-width: 58ch; }

/* ============================================================
   HOME — metrics strip
   ============================================================ */
.metrics-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.metrics-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.metric-cell {
  padding: 3rem 2rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.metric-cell:last-child { border-right: 0; }
.metric-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.5rem;
}
.metric-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.metric-value .unit {
  font-size: 0.32em;
  font-weight: 400;
  color: var(--mute);
  letter-spacing: 0.05em;
}
.metric-value.accent { color: var(--green); }
.metric-note {
  font-size: 0.85rem;
  color: var(--mute);
  line-height: 1.5;
  margin: 0;
  max-width: 28ch;
}

/* ============================================================
   HOME — system (Recover / Manufacture / Deploy)
   ============================================================ */
.system-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.system-step {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.3s var(--ease);
}
.system-step:last-child { border-right: 0; padding-right: 0; }
.system-step:not(:first-child) { padding-left: 2rem; }
.system-step:hover { background: var(--bg); }
.system-step-num {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.12em;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.system-step-num::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
}
.system-step h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 1rem;
}
.system-step p {
  color: var(--mute);
  font-size: 0.96rem;
  line-height: 1.6;
  max-width: 32ch;
  margin: 0 0 2rem;
}
.system-step-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--green-soft), var(--bg-2));
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

/* ============================================================
   PRODUCT PREVIEW / FULL LIST
   ============================================================ */
.product-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.product-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}
.product-row.is-featured {
  grid-template-columns: 1.3fr 1fr;
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--green-softer) 0%, transparent 100%);
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-bottom: 1px solid var(--line);
}
.product-row.is-featured .product-copy h3 { font-size: clamp(2rem, 3.8vw, 3rem); }

.product-copy { position: relative; }
.product-index {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.product-index::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 100px;
}
.product-copy h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 1rem;
  max-width: 20ch;
}
.product-copy > p {
  color: var(--mute);
  max-width: 42ch;
  margin-bottom: 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
}
.product-specs {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.product-spec { display: flex; flex-direction: column; gap: 0.2rem; }
.product-spec strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.product-spec span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.product-visual {
  aspect-ratio: 5/4;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
  border-radius: var(--radius);
}
.product-visual-img {
  width: 100%; height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}
.product-row:hover .product-visual-img { transform: scale(1.04); }

.product-visual-img[data-p="1"] { background-image: linear-gradient(135deg, rgba(30, 71, 51, 0.22), rgba(15, 42, 31, 0.32)), url('../assets/product-pavers.jpg'); }
.product-visual-img[data-p="2"] { background-image: linear-gradient(135deg, rgba(42, 58, 42, 0.22), rgba(22, 39, 32, 0.32)), url('../assets/product-kerbs.jpg'); }
.product-visual-img[data-p="3"] { background-image: linear-gradient(135deg, rgba(51, 77, 58, 0.2), rgba(30, 51, 38, 0.3)), url('../assets/product-blocks.jpg'); }
.product-visual-img[data-p="4"] { background-image: linear-gradient(135deg, rgba(31, 59, 45, 0.22), rgba(14, 36, 25, 0.32)), url('../assets/product-custom.jpg'); }

.product-visual-chip {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  padding: 0.45rem 0.8rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  z-index: 2;
}

/* Compact product grid (used on home preview) */
.product-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-mini {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(15,23,42,0.15);
  border-color: var(--green);
}
.product-mini-visual {
  aspect-ratio: 4/3;
  background: var(--bg-2);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.product-mini-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,23,42,0.35) 100%);
}
.product-mini-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.product-mini-index {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.product-mini h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}
.product-mini p {
  font-size: 0.88rem;
  color: var(--mute);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   BEFORE / AFTER SLIDER
   ============================================================ */
.ba-container {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  user-select: none;
  background: var(--ink);
  cursor: ew-resize;
  border-radius: var(--radius);
}
.ba-layer {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.ba-before { background-image: linear-gradient(135deg, rgba(60,45,30,0.5), rgba(30,25,20,0.7)), url('../assets/impact-before.jpg'); filter: saturate(0.7); }
.ba-after {
  background-image: linear-gradient(135deg, rgba(22,163,74,0.15), rgba(15,23,42,0.2)), url('../assets/impact-after.jpg');
  clip-path: inset(0 0 0 50%);
}
.ba-divider {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  width: 54px; height: 54px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: rgba(22,163,74,0.8);
  backdrop-filter: blur(8px);
  transform: translate(-50%,-50%);
  z-index: 4;
  display: grid; place-items: center;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: -0.1em;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.ba-label {
  position: absolute;
  top: 1.25rem;
  padding: 0.45rem 0.8rem;
  background: rgba(15,23,42,0.78);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  z-index: 3;
  pointer-events: none;
}
.ba-label.before { left: 1.25rem; }
.ba-label.after { right: 1.25rem; background: rgba(22,163,74,0.9); }

/* ============================================================
   IMPACT / METRICS GRID
   ============================================================ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.section-dark .impact-grid { border-color: var(--line-dark); }
.impact-cell {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.section-dark .impact-cell { border-color: var(--line-dark); }
.impact-cell:hover { background: var(--green-softer); }
.section-dark .impact-cell:hover { background: rgba(22,163,74,0.06); }
.impact-cell-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 2rem;
}
.section-dark .impact-cell-label { color: rgba(255,255,255,0.5); }
.impact-cell-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.section-dark .impact-cell-num { color: var(--white); }
.impact-cell-num .unit {
  font-size: 0.3em;
  font-weight: 400;
  color: var(--mute);
  letter-spacing: 0.06em;
}
.section-dark .impact-cell-num .unit { color: rgba(255,255,255,0.5); }
.impact-cell-num .val.accent { color: var(--green); }
.impact-cell p {
  font-size: 0.86rem;
  color: var(--mute);
  line-height: 1.55;
  margin: 0;
  max-width: 28ch;
}
.section-dark .impact-cell p { color: rgba(255,255,255,0.68); }

/* ============================================================
   SERVICE CARDS (Services page main list + Home preview)
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease);
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -20px rgba(15,23,42,0.2);
  border-color: var(--green);
}
.service-card-visual {
  aspect-ratio: 3/2;
  background: linear-gradient(135deg, var(--green-soft), var(--bg-2));
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.service-card-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,0.5) 100%);
}
.service-card-tag {
  position: absolute;
  bottom: 1rem; left: 1rem;
  padding: 0.4rem 0.75rem;
  background: var(--green);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  z-index: 2;
}
.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.service-card h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  line-height: 1.25;
}
.service-card p {
  color: var(--mute);
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0;
}
.service-card ul {
  margin: 0.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.45rem;
}
.service-card ul li {
  font-size: 0.85rem;
  color: var(--ink);
  padding-left: 1.25rem;
  position: relative;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 1.5px;
  background: var(--green);
}

/* ============================================================
   DEPLOYMENT TIMELINE
   ============================================================ */
.deploy-timeline {
  position: relative;
  margin-top: 3.5rem;
}
.deploy-line {
  position: absolute;
  top: 8px; left: 0; right: 0;
  height: 2px;
  background: var(--line);
}
.section-dark .deploy-line { background: var(--line-dark); }
.deploy-line::before {
  content: '';
  position: absolute;
  left: 0; top: 0; height: 100%;
  background: var(--green);
  width: 25%;
}
.deploy-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.deploy-step-node {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink);
  margin-bottom: 1.75rem;
  margin-left: 0;
  margin-top: -8px;
  position: relative;
}
.section-dark .deploy-step-node { background: var(--ink); border-color: var(--white); }
.deploy-step.is-current .deploy-step-node {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 0 6px rgba(22,163,74,0.2);
}
.deploy-step-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.5rem;
}
.section-dark .deploy-step-tag { color: rgba(255,255,255,0.55); }
.deploy-step h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 0.65rem;
  color: var(--ink);
}
.section-dark .deploy-step h3 { color: var(--white); }
.deploy-step p {
  font-size: 0.86rem;
  color: var(--mute);
  line-height: 1.55;
  margin: 0;
  max-width: 26ch;
}
.section-dark .deploy-step p { color: rgba(255,255,255,0.68); }

/* ============================================================
   ABOUT — split / pillars / differentiators
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-split-visual {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--green-soft), var(--bg-2)) center / cover no-repeat;
  background-image: url('../assets/about-team.jpg');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.about-split-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.4) 100%);
}
.about-split h2 { margin-bottom: 1.5rem; max-width: 20ch; }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.mv-card {
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
  transition: all 0.3s var(--ease);
}
.mv-card:hover { border-color: var(--green); transform: translateY(-2px); }
.mv-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.mv-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 400;
  margin-bottom: 1rem;
  max-width: 18ch;
}
.mv-card p { color: var(--mute); margin: 0; font-size: 0.98rem; line-height: 1.6; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pillar {
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.3s var(--ease);
}
.pillar:hover { background: var(--green-softer); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.05em;
}
.pillar h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}
.pillar p {
  font-size: 0.9rem;
  color: var(--mute);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-info h2 { margin: 1.25rem 0 1.5rem; max-width: 16ch; }

.contact-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  align-items: baseline;
}
.contact-item:last-of-type { border-bottom: 0; }
.contact-item-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.contact-item-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}
.contact-item-value a { color: var(--ink); transition: color 0.25s var(--ease); }
.contact-item-value a:hover { color: var(--green); }

.contact-response {
  background: var(--green-softer);
  border: 1px solid var(--green-soft);
  border-left: 3px solid var(--green);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--ink);
}
.contact-response strong { color: var(--green-dark); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 3.5vw, 3rem);
}
.contact-form-card h2 { margin-bottom: 0.75rem; }
.contact-form-card > p.lede { margin-bottom: 2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.hidden-botcheck { display: none !important; }
.form-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--green-dark);
  font-weight: 500;
  min-height: 1.2em;
}

.map-card {
  margin-top: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-card iframe {
  width: 100%;
  height: 460px;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--ink);
  color: var(--white);
  padding: clamp(6rem, 12vw, 10rem) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 120%; height: 160%;
  background: radial-gradient(ellipse at center, rgba(22,163,74,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.final-cta > .container { position: relative; z-index: 1; max-width: 900px; }
.final-cta h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1.75rem;
  color: var(--white);
}
.final-cta h2 em { font-style: italic; color: var(--green); }
.final-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}
.final-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-brand .brand { margin-bottom: 1.25rem; color: var(--white); }
.footer-brand .brand-name .city { color: var(--white); }
.footer-brand .brand-name .eco { color: var(--green); }
.footer-brand p {
  color: rgba(255,255,255,0.65);
  max-width: 34ch;
  font-size: 0.93rem;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}
.footer-col a,
.footer-col address {
  display: block;
  padding: 0.35rem 0;
  color: var(--white);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.7;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--green); }
.footer-col address a { display: inline; padding: 0; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.75rem; }
.footer-bottom-links a:hover { color: var(--white); }

/* ============================================================
   FLOATING WHATSAPP + SCROLL TOP
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  background: var(--green);
  color: var(--white);
  padding: 0.95rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  z-index: 50;
  box-shadow: 0 12px 30px rgba(22,163,74,0.35);
  border-radius: var(--radius);
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); background: var(--green-dark); }

#scrollTopBtn {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--white);
  color: var(--ink);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 49;
}
#scrollTopBtn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .hero-slide-img { animation: none; }
  .hero-progress-bar.is-active .fill { animation: none; transform: scaleX(1); }
  .pulse { animation: none; }
  .scroll-hint .line { animation: none; }
}

/* ============================================================
   STRATEGIC ALIGNMENT (from brochure)
   ============================================================ */
.align-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.align-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s var(--ease);
}
.align-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -15px rgba(15,23,42,0.15);
  border-left-color: var(--green-darker);
}
.align-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}
.align-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--ink);
  line-height: 1.3;
}
.align-card ul { display: grid; gap: 0.5rem; margin: 0; padding: 0; }
.align-card ul li {
  font-size: 0.9rem;
  color: var(--mute);
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}
.align-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 1.5px;
  background: var(--green);
}

/* ============================================================
   URBAN CHALLENGE (Ethiopia context)
   ============================================================ */
.challenge-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.challenge-stat {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--green);
  margin-bottom: 1rem;
}
.challenge-stat .small {
  font-size: 0.4em;
  color: var(--mute);
  display: block;
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 0.5rem;
}
.challenge-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.challenge-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.5;
}
.challenge-list li:last-child { border-bottom: 0; }
.challenge-list li .num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--green);
}

/* Responsive additions */
@media (max-width: 1024px) {
  .align-grid { grid-template-columns: 1fr; }
  .challenge-split { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   FULL-LOGO HERO CARD (About page — shows brand alongside context)
   ============================================================ */
.brand-hero-card {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  margin-top: 1rem;
}
.brand-hero-mark {
  width: 64px; height: 54px;
  background-image: url('../assets/logo-mark.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.brand-hero-tagline {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
}
@media (max-width: 1024px) {
  .hero-footer { grid-template-columns: 1fr; gap: 2rem; }
  .hero-location { text-align: left; }
  .metrics-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-cell:nth-child(2) { border-right: 0; }
  .metric-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .system-steps { grid-template-columns: 1fr; }
  .system-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 2.5rem 0;
  }
  .system-step:last-child { border-bottom: 0; }
  .system-step:not(:first-child) { padding-left: 0; }
  .product-row, .product-row.is-featured { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0; }
  .product-row.is-featured { margin: 0; padding-left: 0; padding-right: 0; background: none; }
  .product-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .deploy-steps { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .deploy-line { display: none; }
  .deploy-step-node { margin-top: 0; }
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-split-visual { aspect-ratio: 3/2; }
  .mv-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .nav.is-open {
    display: flex;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    color: var(--ink);
    flex-direction: column;
    padding: 2.5rem var(--gutter);
    gap: 1.25rem;
    align-items: flex-start;
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }
  .nav.is-open a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--ink);
    opacity: 1;
  }
  .nav.is-open a.active { color: var(--green); }
  .menu-toggle { display: flex; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { transform: rotate(-45deg); }
  .header.is-scrolled .menu-toggle span { background: var(--ink); }
  .nav-cta { display: none; }
  .hero { padding-top: 6rem; padding-bottom: 2.5rem; }
  .hero-meta { padding-bottom: 1.75rem; margin-bottom: 1.75rem; }
  .hero-headline { max-width: 100%; }
  .hero-progress { display: none; }
  .metrics-strip-grid { grid-template-columns: 1fr; }
  .metric-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-cell:last-child { border-bottom: 0; }
  .product-preview-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .deploy-steps { grid-template-columns: 1fr; gap: 2rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { padding: 0.85rem 1rem; font-size: 0.75rem; bottom: 1rem; right: 1rem; }
  #scrollTopBtn { bottom: 1rem; left: 1rem; width: 40px; height: 40px; }
}

/* ============================================================
   IMMERSIVE UPGRADE PACK v2
   ============================================================ */

/* ---------- 1. Card 3D tilt ---------- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
  will-change: transform;
}
.tilt-card-inner {
  transform-style: preserve-3d;
  transition: transform 0.2s var(--ease);
}
.tilt-card:hover {
  z-index: 5;
}
/* Depth layer — push text forward on hover */
.tilt-card-depth {
  transform: translateZ(0);
  transition: transform 0.4s var(--ease);
}
.tilt-card:hover .tilt-card-depth {
  transform: translateZ(40px);
}

/* ---------- 2. Glitch headlines ---------- */
.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  pointer-events: none;
}
.glitch.is-glitching::before {
  opacity: 0.85;
  color: var(--green);
  animation: glitch-a 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}
.glitch.is-glitching::after {
  opacity: 0.85;
  color: #60a5fa; /* cyan/blue flash like logo secondary */
  animation: glitch-b 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}
@keyframes glitch-a {
  0%, 100% { transform: translate(0); }
  20%      { transform: translate(-3px, 1px); }
  40%      { transform: translate(3px, -1px); }
  60%      { transform: translate(-2px, 2px); }
  80%      { transform: translate(2px, -2px); }
}
@keyframes glitch-b {
  0%, 100% { transform: translate(0); }
  20%      { transform: translate(3px, -1px); }
  40%      { transform: translate(-3px, 1px); }
  60%      { transform: translate(2px, -2px); }
  80%      { transform: translate(-2px, 2px); }
}

/* ---------- 3. Animated SVG line drawings ---------- */
.draw-line {
  stroke: var(--green);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 2.5s var(--ease);
}
.draw-line.is-drawing {
  stroke-dashoffset: 0;
}
.section-divider-svg {
  display: block;
  width: 100%;
  height: 60px;
  margin: 0;
}
.section-divider-svg .draw-line {
  stroke: var(--line);
  stroke-width: 1.5;
}
.section-dark .section-divider-svg .draw-line {
  stroke: var(--line-dark-2);
}

/* ---------- 4. Video hero support ---------- */
.hero-slide video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- 5. Liquid cursor trail ---------- */
.cursor-trail {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}
.cursor-trail.is-active { opacity: 1; }

/* ---------- 6. Split-text reveal ---------- */
.split-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
}
.split-reveal .word {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}
.split-reveal.is-visible .word {
  transform: translateY(0);
  opacity: 1;
}
.split-reveal.is-visible .word:nth-child(1)  { transition-delay: 0.05s; }
.split-reveal.is-visible .word:nth-child(2)  { transition-delay: 0.15s; }
.split-reveal.is-visible .word:nth-child(3)  { transition-delay: 0.25s; }
.split-reveal.is-visible .word:nth-child(4)  { transition-delay: 0.35s; }
.split-reveal.is-visible .word:nth-child(5)  { transition-delay: 0.45s; }
.split-reveal.is-visible .word:nth-child(6)  { transition-delay: 0.55s; }
.split-reveal.is-visible .word:nth-child(7)  { transition-delay: 0.65s; }
.split-reveal.is-visible .word:nth-child(8)  { transition-delay: 0.75s; }

/* ---------- 7. Magnetic image corners (card lift) ---------- */
.card-lift {
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.card-lift:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow:
    0 40px 80px -20px rgba(15, 23, 42, 0.25),
    0 0 0 1px var(--green);
}

/* ---------- 8. Scroll progress bar (top) ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--green);
  width: 0%;
  z-index: 101;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(22, 163, 74, 0.6);
}

/* ---------- 9. Section number badges ---------- */
.section-num-badge {
  position: absolute;
  top: 2rem; right: var(--gutter);
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 300;
  letter-spacing: -0.05em;
  color: rgba(22, 163, 74, 0.08);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: color 0.6s var(--ease);
}
.section:hover .section-num-badge {
  color: rgba(22, 163, 74, 0.14);
}
.section-dark .section-num-badge {
  color: rgba(22, 163, 74, 0.12);
}

/* ---------- 10. Noise overlay on dark sections ---------- */
.section-dark::after,
.final-cta::after,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4' /%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}
.section-dark > .container,
.final-cta > .container,
.hero-inner { z-index: 3; position: relative; }

/* Reduced motion — switch all of it off */
@media (prefers-reduced-motion: reduce) {
  .glitch::before, .glitch::after { animation: none !important; opacity: 0 !important; }
  .draw-line { stroke-dashoffset: 0; transition: none; }
  .split-reveal .word { transform: none; opacity: 1; transition: none; }
  .tilt-card, .tilt-card-depth { transform: none !important; transition: none; }
  .card-lift:hover { transform: none; }
  .cursor-trail { display: none; }
}

/* Touch/mobile — no cursor effects or heavy hover */
@media (hover: none), (max-width: 768px) {
  .cursor-trail { display: none; }
  .tilt-card:hover { transform: none !important; }
  .tilt-card:hover .tilt-card-depth { transform: none; }
  .card-lift:hover { transform: translateY(-4px); }
  .section-num-badge { font-size: 3.5rem; top: 1rem; }
}

/* ============================================================
   FEATURE PACK — Globe · Live Counter · AI Chat
   ============================================================ */

/* ---- Globe ---- */
.globe-section { overflow: hidden; }
.globe-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.globe-text h2 { color: var(--white); margin: 1.25rem 0 1rem; max-width: 20ch; }
.globe-canvas-wrap { display: flex; justify-content: center; align-items: center; }
#ecoGlobe { width: 100%; max-width: 500px; height: auto; display: block; }
.globe-city-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.globe-city-item { display: flex; align-items: flex-start; gap: 0.875rem; }
.globe-city-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); margin-top: 4px; flex-shrink: 0;
  box-shadow: 0 0 10px rgba(22,163,74,0.8);
  animation: city-node-pulse 2s ease-in-out infinite;
}
.globe-city-dot.secondary {
  background: rgba(22,163,74,0.45);
  box-shadow: 0 0 6px rgba(22,163,74,0.4);
  animation-delay: 0.8s;
}
@keyframes city-node-pulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 10px rgba(22,163,74,0.7); }
  50%      { transform: scale(1.4); box-shadow: 0 0 18px rgba(22,163,74,1); }
}
.globe-city-item strong { display: block; color: var(--white); font-size: 0.92rem; font-weight: 600; }
.globe-city-item span  { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
@media (max-width: 800px) {
  .globe-layout { grid-template-columns: 1fr; }
  .globe-canvas-wrap { order: -1; }
  #ecoGlobe { max-width: 340px; }
}


/* ---- Film Grain Overlay ---- */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1500;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 180px 180px;
  animation: grain-drift 7s steps(8) infinite;
}
@keyframes grain-drift {
  0%   { transform: translate(0,0); }
  12%  { transform: translate(-2%,1%); }
  25%  { transform: translate(1%,-2%); }
  37%  { transform: translate(-1%,2%); }
  50%  { transform: translate(2%,-1%); }
  62%  { transform: translate(-2%,-1%); }
  75%  { transform: translate(1%,2%); }
  87%  { transform: translate(-1%,-2%); }
  100% { transform: translate(0,0); }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* ---- 2. Page Transition Overlay ---- */
.page-transition-overlay {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 9998;
  opacity: 1;
  transition: opacity 0.42s var(--ease);
  pointer-events: none;
}
.page-transition-overlay.is-out { opacity: 0; }
.page-transition-overlay.is-in  { opacity: 1; }


/* ---- 4. Holographic Card Overlay ---- */
.holo-overlay {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 8;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  border-radius: inherit;
  overflow: hidden;
}
.holo-overlay.is-active { opacity: 1; }

/* Scanlines */
.holo-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px, transparent 3px,
    rgba(22,163,74,0.05) 3px, rgba(22,163,74,0.05) 4px
  );
}
/* Moving shimmer driven by --hx / --hy CSS vars */
.holo-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    circle at var(--hx, 50%) var(--hy, 50%),
    rgba(100,255,180,0.22) 0%,
    rgba(22,163,74,0.14) 28%,
    rgba(0,210,255,0.09) 52%,
    transparent 72%
  );
  mix-blend-mode: screen;
}

/* ---- 5. SVG Impact Chart ---- */
.chart-section { background: var(--bg-2); }
.chart-wrap { margin-top: 3rem; }
.impact-chart { width: 100%; height: auto; display: block; overflow: visible; }

/* Grid */
.chart-grid      { stroke: var(--line); stroke-width: 1; }
.chart-grid-base { stroke: var(--ink-3); stroke-width: 1.5; }

/* Bars — animate scaleY from 0 when .is-animated added */
.chart-bar {
  fill: var(--green); opacity: 0.82;
  transform-box: fill-box; transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 0.95s cubic-bezier(0.34,1.56,0.64,1);
  transition-delay: var(--bd, 0s);
}
.chart-bar-peak    { fill: var(--green); opacity: 1; }
.chart-bar-partial { fill: var(--green-dark); opacity: 0.65; }
.impact-chart.is-animated .chart-bar { transform: scaleY(1); }

/* Value labels */
.chart-val {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  fill: var(--ink-3);
  opacity: 0;
  transition: opacity 0.5s ease;
  transition-delay: 0.85s;
}
.chart-val-peak    { fill: var(--green-dark); font-size: 14px; }
.chart-val-partial { fill: var(--ink-3); }
.impact-chart.is-animated .chart-val { opacity: 1; }

/* Axis labels */
.chart-label-y, .chart-label-x {
  font-family: var(--font-body); font-size: 11px;
  fill: var(--mute-2); font-weight: 500;
}
.chart-axis-title { font-family: var(--font-body); font-size: 10px; fill: var(--mute-2); font-weight: 600; letter-spacing: 0.05em; }

/* Trend line draw-on animation */
.chart-trend {
  stroke: var(--green); stroke-width: 1.5;
  stroke-dasharray: 700; stroke-dashoffset: 700;
  opacity: 0;
  transition: stroke-dashoffset 1.3s cubic-bezier(0.4,0,0.2,1) 0.55s,
              opacity 0.1s ease 0.55s;
}
.impact-chart.is-animated .chart-trend { stroke-dashoffset: 0; opacity: 0.6; }

/* Trend dots */
.chart-dot {
  fill: var(--green);
  opacity: 0; transition: opacity 0.4s ease 1.4s;
}
.chart-dot-peak { r: 7; }
.impact-chart.is-animated .chart-dot { opacity: 1; }

.chart-note {
  font-size: 0.72rem; color: var(--mute-2);
  margin-top: 1rem; text-align: center;
}
