/* ============================================================================
   everclime — landing page
   Layered on top of colors_and_type.css tokens
   ============================================================================ */

:root {
  --page-max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; background: var(--ec-offwhite); }

/* ── Shared ── */
.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ec-green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--ec-green);
  display: inline-block;
}
.eyebrow.dark { color: rgba(255,255,255,0.78); }
.eyebrow.dark::before { background: rgba(125,173,63,0.9); }
.eyebrow.center { justify-content: center; }

.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity .18s var(--ease-standard), background .18s, border-color .18s, transform .18s;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  letter-spacing: -0.005em;
}
.btn-primary { background: var(--ec-green); color: var(--ec-navy); }
.btn-primary:hover { opacity: 0.88; }
.btn-dark { background: var(--ec-navy-deep); color: #fff; }
.btn-dark:hover { opacity: 0.88; }
.btn-ghost { background: transparent; color: var(--ec-navy-deep); border-color: rgba(15,32,43,0.18); }
.btn-ghost:hover { background: rgba(15,32,43,0.05); }
.btn-ghost-light { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.16); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }

/* ============================================================================
   NAV
   ============================================================================ */
.nav {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 50;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15,32,43,0.08);
  border-radius: 9999px;
  padding: 8px 8px 8px 22px;
  box-shadow: 0 1px 2px rgba(15,32,43,0.04), 0 8px 30px -12px rgba(15,32,43,0.12);
  transition: background .3s var(--ease-standard), color .3s, border-color .3s;
}
.nav-inner .brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--ec-navy-deep);
  display: flex; align-items: center; gap: 8px;
  padding-right: 22px;
  border-right: 1px solid rgba(15,32,43,0.1);
}
.nav-inner .brand .mark {
  width: 22px; height: 22px;
  background: url('assets/logos/everclime-mark-faded.png') center/contain no-repeat;
  display: inline-block;
  flex: none;
}
.nav-inner .btn { padding: 9px 16px; font-size: 13px; }

/* Desktop default: menu items inline, toggle hidden */
.nav-menu {
  display: flex; align-items: center; gap: 10px;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  margin: -2px 4px -2px 0;
  cursor: pointer;
  width: 38px; height: 38px;
  border-radius: 9999px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle:hover { background: rgba(15,32,43,0.06); }
.nav-toggle-bar {
  display: block;
  width: 18px; height: 2px;
  background: var(--ec-navy-deep);
  border-radius: 2px;
  transition: transform .25s var(--ease-standard), opacity .2s;
}
.nav--open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav--open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav--open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile: collapse menu into a dropdown panel */
@media (max-width: 1100px) {
  .nav { top: 12px; padding: 0 12px; }
  .nav-inner {
    width: 100%;
    max-width: 560px;
    padding: 8px 8px 8px 18px;
    border-radius: 28px;
    position: relative;
  }
  .nav-inner .brand {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 0;
    border-right: 0;
    font-size: 16px;
  }
  .nav-toggle { display: inline-flex; flex: none; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(15,32,43,0.08);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15,32,43,0.04), 0 18px 40px -16px rgba(15,32,43,0.18);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s var(--ease-standard), transform .2s var(--ease-standard);
  }
  .nav--open .nav-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-menu .btn {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 12px;
  }
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--ec-offwhite);
  color: var(--ec-navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px var(--gutter) 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 20%, rgba(125,173,63,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at 85% 75%, rgba(116,177,193,0.18) 0%, transparent 55%),
    linear-gradient(160deg, var(--ec-offwhite) 0%, #f4f7f2 100%);
  z-index: 0;
}
.hero-bg::after { display: none; }

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  text-align: center;
}
.hero-chips {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15,32,43,0.1);
  border-radius: 9999px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--ec-navy-deep);
}
.hero-chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ec-green);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 8vw, 128px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--ec-navy-deep);
  margin: 0 0 28px;
}
.hero-headline b { font-weight: 700; }
.hero-headline .ec-green { color: var(--ec-green); font-weight: 700; }

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 22px);
  color: #3d5a4e;
  max-width: 58ch;
  margin: 0 auto 36px;
  line-height: 1.45;
  font-weight: 400;
}
.hero-sub b { color: var(--ec-navy-deep); font-weight: 600; }

.hero-meta {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15,32,43,0.55);
}
.hero-meta span b { color: var(--ec-green); font-weight: 700; }

/* ============================================================================
   INTRO
   ============================================================================ */
.intro {
  padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 10vh, 110px);
  background: var(--ec-offwhite);
  position: relative;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  position: relative;
}
.intro-text {
  position: relative;
  z-index: 2;
}
.intro-text h2 {
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 20px 0 28px;
  color: var(--ec-navy-deep);
}
.intro-text h2 b { font-weight: 700; }
.intro-text h2 .ec-green { color: var(--ec-green); font-weight: 700; }
.intro-text p {
  font-size: 17px;
  line-height: 1.65;
  color: #3d5a4e;
  max-width: 52ch;
}
.intro-text p b { color: var(--ec-navy-deep); font-weight: 600; }

/* Abstract infographic for intro */
.intro-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--ec-navy);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
}
.intro-visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(125,173,63,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(35,100,118,0.35) 0%, transparent 55%),
    linear-gradient(135deg, #0f202b 0%, #173142 60%, #1e3d52 100%);
}
.intro-visual::after { display: none; }
.intro-visual > * { position: relative; z-index: 2; }
.intro-visual .iv-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px;
}
.intro-visual .iv-label {
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.intro-visual .iv-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(125,173,63,0.4);
  border-radius: 9999px;
  padding: 6px 12px 6px 8px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500;
}
.intro-visual .iv-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ec-green);
  box-shadow: 0 0 0 0 rgba(125,173,63,0.7);
  animation: pulseDot 2.2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(125,173,63,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(125,173,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(125,173,63,0); }
}

.iv-flow {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 28px 0;
  align-items: center;
}
.iv-node {
  border-radius: 12px;
  padding: 12px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.iv-node .k {
  font-family: var(--font-ui); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ec-green);
  display: block; margin-bottom: 4px;
}
.iv-conn {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ec-green), transparent);
  position: relative;
  overflow: hidden;
}
.iv-conn::after {
  content: ""; position: absolute; top: -1px; left: -30%; width: 30%; height: 3px;
  background: var(--ec-green);
  box-shadow: 0 0 12px var(--ec-green);
  animation: ivFlow 2.8s linear infinite;
}
@keyframes ivFlow { to { left: 130%; } }

.iv-foot {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  color: var(--ec-navy-deep);
}
.iv-foot .l {
  font-family: var(--font-ui); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ec-green); font-weight: 600;
}
.iv-foot .v {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
}
.iv-foot .v b { color: var(--ec-green); }

/* ============================================================================
   ABOUT — horizontal snap slideshow
   ============================================================================ */
.about {
  padding: clamp(80px, 12vh, 140px) 0 clamp(80px, 12vh, 140px);
  background: var(--ec-offwhite);
  position: relative;
}
.about-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 40px;
}
.about-head h2 {
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 14px 0 0;
  max-width: 20ch;
}
.about-head h2 b { font-weight: 700; }
.about-head h2 .ec-green { color: var(--ec-green); font-weight: 700; }
.about-nav { display: flex; gap: 8px; }
.about-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(15,32,43,0.18);
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ec-navy-deep);
  cursor: pointer;
  transition: all .18s var(--ease-standard);
}
.about-arrow:hover { background: var(--ec-navy-deep); color: #fff; border-color: var(--ec-navy-deep); }
.about-arrow svg { width: 18px; height: 18px; }

.about-track-mask {
  width: 100%;
  margin: 0 calc(-1 * var(--gutter));
  padding: 10px 0 24px;
}
.about-track {
  display: flex; gap: 20px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.about-track::-webkit-scrollbar { display: none; }
.about-slide {
  flex: 0 0 min(960px, 88vw);
  scroll-snap-align: start;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: min(580px, 64vh);
  background: var(--ec-navy);
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(32px, 3.5vw, 52px) clamp(36px, 4.5vw, 64px);
}
.about-slide .content { position: relative; z-index: 2; }
.about-slide .slide-idx {
  font-family: var(--font-ui);
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.about-slide h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 18px;
  max-width: 26ch;
}
.about-slide h3 b { font-weight: 700; }
.about-slide h3 .ec-green { color: var(--ec-green); font-weight: 700; }
.about-slide h3 i { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.9); }
.about-slide .body {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 48ch;
  margin: 0 0 20px;
}
.about-slide .body b { color: #fff; font-weight: 600; }
.about-slide .body .ec-green { color: var(--ec-green); font-weight: 600; }

.about-slide.s1::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 80% at 25% 40%, rgba(125,173,63,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 70%, rgba(52,78,35,0.6) 0%, transparent 55%),
    linear-gradient(135deg, #2d4e1d 0%, #0f202b 100%);
}

.about-slide img.logo-image {
  position: absolute;
  inset: 0;
  
  width: 70%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  right: -90%;
  left: auto;

  z-index: 1;
  opacity: 0.4;

  transform: scale(2.5);
  transform-origin: center right;

  pointer-events: none;
}

/* .about-slide.s1::after {
  content: "";
  position: absolute;
  top: 95%;
  right: -45%;
  z-index: 1;
  width: clamp(360px, 48vw, 920px);
  scale: 1.6;
  aspect-ratio: 1;
  background: url('assets/logos/everclime-mark-faded.png') center/contain no-repeat;
  transform: translateY(-50%);
  opacity: 0.42;
  mix-blend-mode: screen;
  pointer-events: none;
} */


.about-slide.s2::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(230,168,23,0.22) 0%, transparent 50%),
    linear-gradient(135deg, #0f202b 0%, #236476 100%);
}
.about-slide.s3:not(.s3--map)::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(125,173,63,0.35) 0%, transparent 60%),
    linear-gradient(180deg, #1e3d52 0%, #0f202b 100%);
}
.about-slide.s4::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(35,100,118,0.55) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(125,173,63,0.35) 0%, transparent 50%),
    linear-gradient(135deg, #0f202b 0%, #173142 100%);
}

.about-slide .founders {
  display: flex; gap: 24px; margin-top: 28px;
  position: relative; z-index: 2;
  flex-wrap: wrap;
}
.about-slide .founder {
  display: flex; align-items: center; gap: 14px;
}
.about-slide .founder-photo {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #d4a574 0%, #8b5a3c 100%);
  border: 2px solid rgba(125,173,63,0.5);
  overflow: hidden;
}
.about-slide .founder-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-slide .founder .name {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: #fff;
}
.about-slide .founder .role {
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ec-green);
  margin-top: 3px;
}

.about-slide .team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 20px;
  position: relative; z-index: 2;
}
.about-slide .team-face {
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(135deg, #254d66 0%, #0f202b 100%);
  border: 1px solid rgba(125,173,63,0.3);
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end; padding: 10px;
}
.about-slide .team-face::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(125,173,63,0.25) 0%, transparent 55%);
}
.about-slide .team-face .t {
  position: relative; z-index: 1;
  font-family: var(--font-ui); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  line-height: 1.3;
}
.about-slide .team-cities {
  display: flex; gap: 20px; margin-top: 18px;
  position: relative; z-index: 2;
  font-family: var(--font-ui); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.about-slide .team-cities span b { color: var(--ec-green); font-weight: 700; }

/* s3 — Team slide with world map */
.about-slide.s3--map {
  justify-content: center;
  padding: clamp(40px, 4.5vw, 64px) clamp(36px, 4.5vw, 64px);
  background:
    radial-gradient(ellipse 70% 45% at 55% 0%, rgba(125,173,63,0.32) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(20,48,63,0.6) 0%, transparent 70%),
    linear-gradient(180deg, #0f2530 0%, #0a1a23 100%);
}
.about-slide.s3--map .content--team {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 56ch;
}
.about-slide.s3--map .content--team h3 {
  margin-bottom: 4px;
  max-width: 26ch;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.15;
  font-weight: 300;
}
.about-slide.s3--map .content--team .body {
  margin-bottom: 0;
  max-width: 48ch;
}
.about-slide.s3--map .content--team .team-cities {
  margin-top: 6px;
}
.about-slide img.world-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  opacity: 0.1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.85) 30%, rgba(0,0,0,1) 100%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.85) 30%, rgba(0,0,0,1) 100%);
}

.about-slide .stats-row {
  display: flex; gap: 32px;
  margin-top: 24px;
  position: relative; z-index: 2;
  flex-wrap: wrap;
}
.about-slide .stat-item .v {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ec-green);
  line-height: 1;
}
.about-slide .stat-item .l {
  font-family: var(--font-ui); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}

.about-progress {
  margin-top: 28px; height: 2px;
  background: rgba(15,32,43,0.08);
  position: relative; overflow: hidden; border-radius: 2px;
}
.about-progress .fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 25%; background: var(--ec-navy-deep);
  transition: all .3s var(--ease-standard);
}

/* ============================================================================
   HOW WE DO THIS — mechanics (4 cards)
   ============================================================================ */
.mechanics {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--ec-navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mechanics-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.mechanics-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 88px);
}
.mechanics-eyebrow {
  color: var(--ec-green);
  display: inline-flex;
}
.mechanics-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 18px 0 0;
  color: #fff;
}
.mechanics-title b {
  font-weight: 700;
}
.mechanics-title .ec-green {
  color: var(--ec-green);
}
.mechanics-lede {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 46ch;
  align-self: end;
}
.mechanics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: hidden;
}
.mechanics-card {
  background: var(--ec-navy-deep);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mechanics-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.mechanics-step {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ec-green);
}
.mechanics-icon {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  border: 1px solid rgba(125,173,63,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ec-green);
}
.mechanics-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 6px 0 0;
  color: #fff;
  line-height: 1.1;
}
.mechanics-card-copy {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.mechanics-layer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-ui);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ============================================================================
   WHAT WE DO — 5 pillars
   ============================================================================ */
.pillars {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--ec-navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pillars::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(125,173,63,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 0% 80%, rgba(35,100,118,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.pillars-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 64px;
  position: relative;
}
.pillars-head h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 18px 0 20px;
  color: #fff;
}
.pillars-head h2 b { font-weight: 700; }
.pillars-head h2 .ec-green { color: var(--ec-green); font-weight: 700; }
.pillars-head p {
  font-size: 17px; color: rgba(255,255,255,0.72);
  max-width: 54ch; margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.pillar {
  background: rgba(23,49,66,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all .28s var(--ease-standard);
  position: relative;
  overflow: hidden;
}
.pillar:hover {
  border-color: rgba(125,173,63,0.5);
  background: rgba(23,49,66,0.9);
  transform: translateY(-4px);
}
.pillar .num {
  font-family: var(--font-ui); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ec-green); font-weight: 600;
}
.pillar .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(125,173,63,0.12);
  border: 1px solid rgba(125,173,63,0.3);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ec-green);
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}
.pillar p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
  margin: 0;
  flex: 1;
}
.pillar .tag {
  display: inline-flex; font-family: var(--font-mono); font-size: 10px;
  color: rgba(125,173,63,0.85);
  letter-spacing: 0.04em;
  padding-top: 10px;
  border-top: 1px dashed rgba(125,173,63,0.25);
}

/* ============================================================================
   PORTAL SHOWCASE
   ============================================================================ */
.portal-showcase {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--ec-offwhite);
  position: relative;
  overflow: hidden;
}
.portal-showcase[style] {
  padding: clamp(80px, 12vh, 140px) 0 !important;
}
.portal-showcase::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 20%, rgba(125,173,63,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.ps-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 56px;
  position: relative;
}
.ps-head h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 16px 0 18px;
  color: var(--ec-navy-deep);
}
.ps-head h2 b { font-weight: 700; }
.ps-head h2 .ec-green { color: var(--ec-green); font-weight: 700; }
.ps-head p {
  font-size: 17px; color: #3d5a4e;
  max-width: 56ch; margin: 0 auto;
}

/* Portal mock frame */
.portal-frame {
  max-width: 1440px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 40px 100px -30px rgba(15,32,43,0.35), 0 0 0 1px rgba(15,32,43,0.06);
  position: relative;
}
.portal-chrome {
  height: 32px;
  background: #f0f4ee;
  border-bottom: 1px solid rgba(15,32,43,0.08);
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px;
}
.portal-chrome .tl {
  width: 11px; height: 11px; border-radius: 50%;
}
.portal-chrome .tl:nth-child(1) { background: #ed6a5e; }
.portal-chrome .tl:nth-child(2) { background: #f5bd4f; }
.portal-chrome .tl:nth-child(3) { background: #61c554; }
.portal-chrome .url {
  margin-left: 20px;
  background: #fff;
  border: 1px solid rgba(15,32,43,0.08);
  border-radius: 6px;
  padding: 3px 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(15,32,43,0.6);
}

/* Portal layout */
.portal-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 580px;
  background: #fff;
}
.portal-side {
  background: #fff;
  border-right: 1px solid rgba(15,32,43,0.06);
  padding: 16px 12px;
  font-family: var(--font-display);
}
.portal-brand {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px 16px;
  font-size: 15px; font-weight: 600;
  color: var(--ec-navy-deep);
  letter-spacing: -0.02em;
}
.portal-brand .mk {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ec-green);
}
.portal-org {
  background: rgba(125,173,63,0.1);
  border: 1px solid rgba(125,173,63,0.3);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11px; font-weight: 600;
  color: var(--ec-navy-deep);
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.portal-org .tag {
  background: var(--ec-navy-deep); color: #fff;
  padding: 2px 6px; border-radius: 4px;
  font-size: 8.5px; letter-spacing: 0.08em;
}
.ps-section-l {
  font-family: var(--font-ui); font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(15,32,43,0.5);
  padding: 10px 8px 6px;
  font-weight: 600;
}
.ps-link {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 12px;
  color: rgba(15,32,43,0.75);
  font-weight: 500;
  cursor: default;
}
.ps-link.active {
  background: var(--ec-green);
  color: var(--ec-navy-deep);
  font-weight: 600;
}
.ps-link.dim { opacity: 0.4; }
.ps-link .chip {
  margin-left: auto;
  font-family: var(--font-ui); font-size: 8px;
  background: rgba(15,32,43,0.08); padding: 2px 5px; border-radius: 3px;
  letter-spacing: 0.08em;
  color: rgba(15,32,43,0.55);
}
.ps-link .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(15,32,43,0.35);
}
.ps-link.active .dot { background: var(--ec-navy-deep); }

.portal-main {
  padding: 14px 18px;
  background: #f8faf6;
  overflow: hidden;
}
.portal-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 4px 12px;
  border-bottom: 1px solid rgba(15,32,43,0.06);
  font-family: var(--font-display);
}
.portal-topbar .crumb {
  font-size: 13px; font-weight: 500; color: var(--ec-navy-deep);
}
.portal-topbar-actions { display: flex; gap: 8px; }
.pt-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 6px;
  font-size: 11px; font-weight: 500;
  border: 1px solid rgba(125,173,63,0.3);
  color: var(--ec-navy-deep);
  background: #fff;
}
.pt-btn .icon { color: var(--ec-green); }

.portal-card {
  background: #fff;
  border: 1px solid rgba(15,32,43,0.06);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 14px;
}
.portal-card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 14px;
}
.portal-card-head .title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--ec-navy-deep);
  letter-spacing: -0.01em;
}
.portal-card-head .subtitle {
  font-size: 11px; color: rgba(15,32,43,0.55);
  margin-top: 2px;
}
.portal-card-head .exp {
  width: 24px; height: 24px; border-radius: 8px;
  border: 1px solid rgba(15,32,43,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(15,32,43,0.5);
}

/* Fund-flow diagram */
.fund-flow {
  position: relative;
  min-height: 320px;
}
.ff-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 2;
}
.ff-col {
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  z-index: 1;
}
.ff-col-head {
  font-family: var(--font-ui); font-size: 9.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(15,32,43,0.5);
  font-weight: 600;
  padding-bottom: 4px;
}

.ff-item {
  border: 1px solid rgba(125,173,63,0.25);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  position: relative;
  font-family: var(--font-display);
}
.ff-item.emphasis {
  background: #fff;
}
.ff-item .lvl {
  font-family: var(--font-ui); font-size: 8.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(15,32,43,0.45);
  font-weight: 600;
  margin-bottom: 3px;
}
.ff-item .name {
  font-size: 12.5px; font-weight: 600; color: var(--ec-navy-deep);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 6px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.ff-item .name .stat {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-ui); font-size: 8.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ec-green); font-weight: 600;
}
.ff-item .name .stat::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ec-green);
}
.ff-item .amt {
  font-size: 16px; font-weight: 700;
  color: var(--ec-navy-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}
.ff-item .amt .lbl {
  font-size: 10px; color: rgba(15,32,43,0.45);
  font-weight: 500;
  margin-left: 4px;
  letter-spacing: 0;
}
.ff-item .pills {
  display: flex; gap: 6px; margin-top: 8px;
}
.ff-pill {
  background: rgba(125,173,63,0.1);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 9.5px;
  color: var(--ec-navy-deep);
  flex: 1; text-align: center;
  line-height: 1.3;
}
.ff-pill .v { font-weight: 700; font-size: 10px; display: block; }
.ff-pill .k { font-size: 8px; color: rgba(15,32,43,0.55); letter-spacing: 0.08em; text-transform: uppercase; }
.ff-item .impact-row {
  margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed rgba(15,32,43,0.1);
  font-size: 9.5px; color: rgba(15,32,43,0.5);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.ff-item .impact-row .v {
  color: var(--ec-navy-deep);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  font-size: 11.5px;
  margin-top: 2px;
}

/* Connector SVG sits in absolute */
.flow-svg,
.ff-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.flow-svg path {
  stroke: var(--ec-green);
  stroke-width: 1.4;
  fill: none;
  opacity: 0.78;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Stat tiles below fund flow */
.ps-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.ps-stat {
  background: #fff;
  border: 1px solid rgba(15,32,43,0.06);
  border-radius: 10px;
  padding: 14px 14px 16px;
  position: relative;
}
.ps-stat.highlight {
  background: linear-gradient(135deg, #b5d985 0%, #7dad3f 100%);
  border-color: transparent;
}
.ps-stat .l {
  font-family: var(--font-display);
  font-size: 10.5px;
  color: rgba(15,32,43,0.7);
  font-weight: 500;
  margin-bottom: 6px;
  display: flex; justify-content: space-between; align-items: center;
}
.ps-stat.highlight .l { color: var(--ec-navy-deep); }
.ps-stat .icon { color: rgba(15,32,43,0.4); }
.ps-stat.highlight .icon { color: var(--ec-navy-deep); }
.ps-stat .v {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--ec-navy-deep);
  letter-spacing: -0.025em;
  line-height: 1;
}
.ps-stat .ctx {
  font-size: 9.5px; color: rgba(15,32,43,0.45);
  font-family: var(--font-ui);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 6px;
}

/* Callout bubbles */
.portal-with-callouts {
  display: block;
  width: min(100%, 1400px) !important;
  max-width: 1400px;
  height: auto !important;
  margin: 0 auto 28px !important;
  padding: 0 var(--gutter) !important;
}
.portal-with-callouts .portal-frame {
  max-width: 100%;
  margin: 0 auto;
}
.portal-frame--image {
  background: transparent;
  box-shadow: 0 38px 95px -42px rgba(15,32,43,0.34);
}
.portal-screenshot {
  width: 100%;
  height: auto;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 50% 50%, #000 62%, rgba(0,0,0,0.75) 74%, transparent 92%);
  mask-image: radial-gradient(ellipse 82% 78% at 50% 50%, #000 62%, rgba(0,0,0,0.75) 74%, transparent 92%);
}
.callouts {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.callout {
  background: #fff;
  border: 1.5px solid var(--ec-navy-deep);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.55),
    0 14px 36px -12px rgba(15,32,43,0.45),
    0 6px 14px -6px rgba(15,32,43,0.25);
}
.callout .eyebrow { font-size: 10px; }
.callout h4 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--ec-navy-deep);
  letter-spacing: -0.015em;
  margin: 0;
}
.callout p {
  font-size: 14px; line-height: 1.55;
  color: #3d5a4e;
  margin: 0;
}

/* ============================================================================
   FUND DASHBOARD OVERRIDES
   Match latest portal mockup proportions
   ============================================================================ */
.portal-showcase .portal-frame {
  max-width: 1280px;
  background: #fbfcf7;
  border-radius: 28px;
  border: 1px solid rgba(18, 36, 49, 0.08);
  box-shadow: 0 28px 80px rgba(18, 36, 49, 0.12);
}
.portal-showcase .portal-chrome {
  background: #fbfcf7;
  border-bottom: 1px solid rgba(18, 36, 49, 0.08);
}
.portal-showcase .portal-body {
  min-height: 600px;
  grid-template-columns: 290px 1fr;
  background: #fbfcf8;
}
.portal-showcase .portal-side {
  background: #fff;
  color: #4e5b64;
  padding: 30px 22px;
  border-right: 1px solid rgba(18, 36, 49, 0.06);
  font-family: "Rubik", ui-sans-serif, system-ui, sans-serif;
}
.portal-showcase .portal-brand {
  gap: 12px;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #122431;
  margin-bottom: 30px;
  padding: 0;
}
.portal-showcase .portal-brand .mk {
  width: 16px;
  height: 16px;
}
.portal-showcase .ps-section-l {
  color: #8b949a;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 500;
  margin: 18px 10px 12px;
  padding: 0;
  font-family: "Rubik", ui-sans-serif, system-ui, sans-serif;
}
.portal-showcase .ps-link {
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 500;
  color: #4e5b64;
  white-space: nowrap;
}
.portal-showcase .ps-link svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}
.portal-showcase .ps-link.active {
  padding-top: 14px;
  padding-bottom: 14px;
}
.portal-showcase .portal-main {
  padding: 20px 24px 22px;
  background: #fbfcf8;
}
.portal-showcase .portal-topbar {
  align-items: center;
  height: 42px;
  padding: 0;
  border-bottom: 0;
}
.portal-showcase .portal-topbar .crumb {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #122431;
}
.portal-showcase .portal-card {
  border: 1px solid rgba(18, 36, 49, 0.08);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 24px;
  padding: 0;
}
.portal-showcase .portal-card-head {
  padding: 16px 18px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(18, 36, 49, 0.08);
}
.portal-showcase .portal-card-head .title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.portal-showcase .portal-card-head .subtitle {
  color: #7f8a91;
  font-size: 17px;
  line-height: 1.45;
  margin-top: 8px;
}
.portal-showcase .portal-card-head .exp {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(18, 36, 49, 0.08);
  border-radius: 10px;
}
.portal-showcase .fund-flow {
  padding: 14px;
  min-height: 0;
  background: linear-gradient(180deg, #fff 0%, #f8faf5 100%);
}
.portal-showcase .ff-cols {
  gap: 52px;
}
.portal-showcase .ff-col {
  gap: 14px;
}
.portal-showcase .ff-col-head {
  color: #8b949a;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.24em;
  margin: 0 0 8px;
  font-family: "Rubik", ui-sans-serif, system-ui, sans-serif;
}
.portal-showcase .ff-item {
  border: 1px solid rgba(127, 179, 61, 0.28);
  border-radius: 7px;
  padding: 8px 8px;
  margin-bottom: 0;
}
.portal-showcase .ff-item.emphasis {
  border-color: rgba(125, 173, 63, 0.45);
  background: linear-gradient(180deg, #fff 0%, #f6fbef 100%);
}
.portal-showcase .ff-item .lvl {
  color: #8b949a;
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.6;
  margin-bottom: 4px;
  font-family: "Rubik", ui-sans-serif, system-ui, sans-serif;
}
.portal-showcase .ff-item .name {
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 4px;
}
.portal-showcase .ff-item .name .stat {
  margin-left: 6px;
  color: #6faa35;
  font-size: 4.5px;
  font-weight: 600;
  border: 1px solid rgba(125, 173, 63, 0.34);
  border-radius: 999px;
  padding: 1px 3px;
  letter-spacing: 0;
  text-transform: none;
}
.portal-showcase .ff-item .name .stat::before {
  content: none;
}
.portal-showcase .ff-item .amt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.05em;
  margin-bottom: 5px;
}
.portal-showcase .ff-item .amt .lbl {
  font-size: 7.5px;
  color: #8b949a;
}
.portal-showcase .ff-item .pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 5px 0;
}
.portal-showcase .ff-pill {
  border-radius: 9px;
  background: #f0f6ea;
  border: 0;
  padding: 5px 4px;
}
.portal-showcase .ff-pill .k {
  font-size: 5.5px;
  font-weight: 500;
  font-family: "Rubik", ui-sans-serif, system-ui, sans-serif;
}
.portal-showcase .ff-pill .v {
  font-size: 8px;
  font-weight: 700;
  margin-top: 2px;
}
.portal-showcase .ff-item .impact-row {
  border-top: 1px solid rgba(18, 36, 49, 0.08);
  padding-top: 5px;
  color: #7f8a91;
  font-size: 5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  display: flex;
  justify-content: space-between;
  gap: 5px;
  text-transform: uppercase;
  font-family: "Rubik", ui-sans-serif, system-ui, sans-serif;
}
.portal-showcase .ff-item .impact-row .v {
  color: #0f202b;
  text-transform: none;
  letter-spacing: 0;
  font-size: 5.5px;
  margin-top: 0;
}
.portal-showcase .flow-svg path {
  stroke: #7fb33d;
  stroke-width: 1.45;
  opacity: 0.82;
}
.portal-showcase .ps-stats {
  gap: 10px;
  margin-top: 14px;
}
.portal-showcase .ps-stat {
  border-radius: 7px;
  padding: 6px;
  min-height: 48px;
  box-shadow: 0 10px 28px rgba(15, 32, 43, 0.06);
}
.portal-showcase .ps-stat.highlight {
  background: linear-gradient(135deg, #8fc448 0%, #6faa35 48%, #3f7f1d 100%);
  border-color: rgba(127, 179, 61, 0.45);
  box-shadow: 0 18px 44px rgba(91, 145, 37, 0.22);
}
.portal-showcase .ps-stat .l {
  font-size: 5px;
  font-weight: 600;
  line-height: 1.25;
  min-height: 12px;
  display: flex;
  gap: 8px;
  margin-bottom: 0;
  font-family: "Rubik", ui-sans-serif, system-ui, sans-serif;
}
.portal-showcase .ps-stat .v {
  font-size: 10.5px;
  font-weight: 700;
  margin-top: 5px;
}
.portal-showcase .ps-stat .ctx {
  font-size: 5px;
  margin-top: 2px;
  letter-spacing: 0;
  text-transform: none;
}
@media (max-width: 980px) {
  .portal-with-callouts .portal-frame {
    display: none;
  }
  .portal-with-callouts .callouts {
    margin-top: 0;
  }
  .portal-showcase .portal-frame {
    max-width: 100%;
    border-radius: 16px;
  }
  .portal-showcase .portal-chrome {
    display: none;
  }
  .portal-showcase .portal-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .portal-showcase .portal-side {
    display: none;
  }
  .portal-showcase .portal-main {
    padding: 14px 12px 16px;
  }
  .portal-showcase .portal-topbar {
    height: auto;
    margin-bottom: 8px;
  }
  .portal-showcase .portal-topbar .crumb {
    font-size: 17px;
  }
  .portal-showcase .portal-card {
    margin-top: 10px;
    border-radius: 12px;
  }
  .portal-showcase .portal-card-head {
    padding: 12px;
  }
  .portal-showcase .portal-card-head .title {
    font-size: 17px;
  }
  .portal-showcase .portal-card-head .subtitle {
    font-size: 12px;
    margin-top: 4px;
  }
  .portal-showcase .portal-card-head .exp {
    display: none;
  }
  .portal-showcase .fund-flow {
    padding: 10px;
  }
  .portal-showcase .flow-svg {
    display: none;
  }
  .portal-showcase .ff-cols,
  .portal-showcase .ps-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .portal-showcase .ff-col {
    gap: 10px;
  }
  .portal-showcase .ff-col-head {
    font-size: 11px;
    margin: 0;
  }
  .portal-showcase .ff-item {
    border-radius: 10px;
    padding: 10px;
  }
  .portal-showcase .ff-item .lvl {
    font-size: 9px;
    margin-bottom: 4px;
  }
  .portal-showcase .ff-item .name {
    font-size: 17px;
    margin-bottom: 6px;
  }
  .portal-showcase .ff-item .name .stat {
    font-size: 7px;
    padding: 1px 4px;
  }
  .portal-showcase .ff-item .amt {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .portal-showcase .ff-item .amt .lbl {
    font-size: 12px;
  }
  .portal-showcase .ff-pill {
    border-radius: 7px;
    padding: 8px 6px;
  }
  .portal-showcase .ff-pill .k {
    font-size: 8px;
  }
  .portal-showcase .ff-pill .v {
    font-size: 13px;
  }
  .portal-showcase .ff-item .impact-row {
    font-size: 8px;
    padding-top: 6px;
    gap: 6px;
  }
  .portal-showcase .ff-item .impact-row .v {
    font-size: 10px;
  }
  .portal-showcase .ps-stat {
    border-radius: 10px;
    padding: 10px;
    min-height: 0;
  }
  .portal-showcase .ps-stat .l {
    font-size: 8px;
    min-height: 0;
    gap: 4px;
  }
  .portal-showcase .ps-stat .v {
    font-size: 16px;
    margin-top: 3px;
  }
  .portal-showcase .ps-stat .ctx {
    font-size: 8px;
    margin-top: 1px;
  }
}
@media (max-width: 640px) {
  .portal-showcase .portal-main {
    padding: 10px;
  }
  .portal-showcase .portal-card-head .title {
    font-size: 15px;
  }
  .portal-showcase .portal-card-head .subtitle {
    font-size: 11px;
  }
  .portal-showcase .ff-item .name {
    font-size: 15px;
  }
  .portal-showcase .ff-item .amt {
    font-size: 18px;
  }
  .portal-showcase .ps-stat .v {
    font-size: 14px;
  }
}

/* ============================================================================
   CAPABILITIES — "What Do You Get"
   ============================================================================ */
.capabilities {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--ec-navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.capabilities::before { display: none; }
.cap-head {
  text-align: center; max-width: 900px; margin: 0 auto 64px;
  position: relative;
}
.cap-head h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 18px 0 20px;
}
.cap-head h2 b { font-weight: 700; }
.cap-head h2 .ec-green { color: var(--ec-green); font-weight: 700; }
.cap-head p {
  font-size: 17px; color: rgba(255,255,255,0.72);
  max-width: 58ch; margin: 0 auto;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
}
.cap-card {
  background: rgba(23,49,66,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: all .28s var(--ease-standard);
}
.cap-card:hover {
  border-color: rgba(125,173,63,0.4);
  background: rgba(23,49,66,0.8);
}
.cap-card .head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px;
}
.cap-card .num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ec-green);
  letter-spacing: 0.05em;
}
.cap-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(125,173,63,0.1);
  border: 1px solid rgba(125,173,63,0.3);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ec-green);
}
.cap-card h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}
.cap-card p {
  font-size: 13.5px; line-height: 1.6;
  color: rgba(255,255,255,0.68);
  margin: 0;
}

.cap-closing {
  margin-top: 80px;
  text-align: center;
  position: relative;
}
.cap-closing h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 56px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
}
.cap-closing h3 b { font-weight: 700; color: var(--ec-green); }
.cap-closing .divider {
  color: var(--ec-green);
  margin: 0 12px;
  font-weight: 600;
}

/* ============================================================================
   IMPACT PROGRAMMES — its own light section, dark navy cards
   ============================================================================ */
.impact-section {
  padding: clamp(80px, 12vh, 140px) 0;
  background: #fafcf8;
  color: var(--ec-navy-deep);
  position: relative;
  overflow: hidden;
}
.impact-section::before { display: none; }
.impact-prog {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  position: relative;
}
.impact-prog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-bottom: 52px;
}
.impact-prog-head .eyebrow {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  color: var(--ec-green) !important;
}
.impact-prog-head .eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ec-green);
  box-shadow: 0 0 0 3px rgba(125,173,63,0.18);
}
.impact-prog-head h2 {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ec-navy-deep);
}
.impact-prog-head h2 .ec-green {
  color: var(--ec-green);
  font-weight: 700;
  font-style: italic;
}
.impact-prog-lede {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 17px;
  color: rgba(15,32,43,0.70);
  line-height: 1.55;
  max-width: 58ch;
  margin: 0;
}

.impact-prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Navy cards on the light section */
.prog-card {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid rgba(15,32,43,0.08);
  border-radius: 18px;
  background: var(--ec-navy-deep);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, transform .3s var(--ease-standard), box-shadow .3s;
  box-shadow: 0 20px 40px -28px rgba(15,32,43,0.35);
}
.prog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 80% 0%, rgba(125,173,63,0.18) 0%, transparent 60%);
  z-index: -1;
  opacity: 0.9;
}
.prog-card:hover {
  border-color: rgba(125,173,63,0.5);
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -28px rgba(15,32,43,0.4);
}

.prog-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.prog-letter {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 200;
  line-height: 1;
  color: var(--ec-green);
  letter-spacing: -0.04em;
  font-style: italic;
}
.prog-kind {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 99px;
}

.prog-art {
  margin: 8px -4px 4px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(125,173,63,0.85);
}
.prog-art svg { width: 100%; height: 100%; }

.prog-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}
.prog-card > p {
  font-size: 14px;
  color: rgba(255,255,255,0.75) !important;
  line-height: 1.55;
  margin: 0;
}

/* Photo placeholders — three small circular thumbs per card */
.prog-photos {
  display: flex;
  gap: 10px;
  margin: 2px 0 2px;
  align-items: center;
}
.prog-photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: #1a2a35;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3), 0 4px 10px -4px rgba(0,0,0,0.4);
}
.prog-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.prog-photo::before {
  content: "";
  position: absolute; inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* Each circle now displays a photorealistic image of an impact initiative
   matched to its original icon. Same circle size, border, and shadow as before. */
.prog-photo--football::before    { background-image: url("https://images.unsplash.com/photo-1517466787929-bc90951d0974?auto=format&fit=crop&w=200&q=70"); }   /* kids playing football */
.prog-photo--wheelchair::before  { background-image: url("https://images.unsplash.com/photo-1591608971362-f08b2a75731a?auto=format&fit=crop&w=200&q=70"); }   /* small koala in a tree */
.prog-photo--trees::before       { background-image: url("https://images.unsplash.com/photo-1466692476868-aef1dfb1e735?auto=format&fit=crop&w=200&q=70"); }   /* person planting a tree */
.prog-photo--africa::before      { background-image: url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=200&q=70"); }   /* humanitarian / community */
.prog-photo--water::before       { background-image: url("https://images.unsplash.com/photo-1538300342682-cf57afb97285?auto=format&fit=crop&w=200&q=70"); }   /* clean water */
.prog-photo--reef::before        { background-image: url("https://images.unsplash.com/photo-1546026423-cc4642628d2b?auto=format&fit=crop&w=200&q=70"); }      /* coral reef */
.prog-photo--solar::before       { background-image: url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=200&q=70"); }   /* solar panels */
.prog-photo--classroom::before   { background-image: url("https://images.unsplash.com/photo-1486286701208-1d58e9338013?auto=format&fit=crop&w=400&q=70"); }   /* kids playing rugby on an oval */
.prog-photo--mangrove::before    { background-image: url("https://images.unsplash.com/photo-1518173946687-a4c8892bbd9f?auto=format&fit=crop&w=200&q=70"); }   /* mangrove restoration */

.prog-bullets {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.12);
}
.prog-bullets li {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: -0.005em;
}
.prog-bullets li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ec-green);
  flex-shrink: 0;
}

.impact-prog-foot {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 14px;
  background: rgba(125,173,63,0.10);
  border: 1px solid rgba(125,173,63,0.28);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
}
.prog-foot-k {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ec-green-dark);
  padding-top: 4px;
}
.prog-foot-v {
  font-size: 14.5px;
  color: var(--ec-navy-deep);
  line-height: 1.55;
  font-family: var(--font-display);
}

@media (max-width: 1000px) {
  .impact-prog-head { grid-template-columns: 1fr; align-items: start; }
  .impact-prog-head .eyebrow {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    align-self: start;
    margin-bottom: 16px;
  }
  .impact-prog-head h2 {
    grid-column: 1;
    grid-row: auto;
  }
  .impact-prog-lede {
    grid-column: 1;
    grid-row: auto;
  }
  .impact-prog-grid { grid-template-columns: 1fr; }
  .impact-prog-foot { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================================
   CLOSING
   ============================================================================ */
.closing {
  position: relative;
  padding: clamp(100px, 16vh, 180px) 0 clamp(60px, 10vh, 120px);
  background: var(--ec-navy-deep);
  color: #fff;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(125,173,63,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(35,100,118,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.closing-inner {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.closing h2 {
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.94;
  margin: 24px 0 28px;
  color: #fff;
}
.closing h2 b { font-weight: 700; }
.closing h2 .ec-green { color: var(--ec-green); font-weight: 700; font-style: italic; }
.closing p {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 56ch;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.closing .closing-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px 16px 32px;
  background: var(--ec-green);
  color: var(--ec-navy-deep);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  transition: all .22s var(--ease-standard);
  box-shadow: 0 20px 40px -8px rgba(125,173,63,0.35);
  text-decoration: none;
}
.closing .closing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 50px -8px rgba(125,173,63,0.45);
}
.closing .closing-cta .circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ec-navy-deep); color: var(--ec-green);
  display: inline-flex; align-items: center; justify-content: center;
}







/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1000px) {
  .mechanics-head { grid-template-columns: 1fr; gap: 24px; }
  .mechanics-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-stats { grid-template-columns: repeat(2, 1fr); }
  .callouts { grid-template-columns: 1fr; }
  .portal-with-callouts {
    grid-template-columns: 1fr;
    padding: 0 var(--gutter) !important;
  }
  .portal-frame { border-radius: 18px; }
  .portal-body { grid-template-columns: 1fr; }
  .portal-side { display: none; }
  .ff-cols { grid-template-columns: 1fr; gap: 14px; }
  .ff-lines { display: none; }
}
@media (max-width: 700px) {
  .mechanics-grid { grid-template-columns: 1fr; }
  .mechanics-card { padding: 28px 22px 24px; }
  .intro-grid { grid-template-columns: 1fr; }
  .portal-showcase[style] { padding: 72px 0 !important; }
  .portal-with-callouts { padding: 0 16px !important; }
  .portal-frame { border-radius: 14px; }
  .portal-body { min-height: auto; }
  .portal-main { padding: 12px; }
  .portal-card { padding: 14px; }
  .portal-topbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .fund-flow { min-height: auto; }
  .pillars-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .about-head { flex-direction: column; align-items: flex-start; }
  .hero-headline { font-size: clamp(40px, 12vw, 72px); }
}


/* ============================================================================
   INTRO DEVICES — iPad + iPhone mockups
   ============================================================================ */
.intro-devices {
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* iPad */
.ipad-img {
  position: absolute;
  width: 132%;
  max-width: none;
  left: -8%;
  top: 4%;
  z-index: 1;
  pointer-events: none;
}
.ipad {
  position: absolute;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4/3;
  border-radius: 28px;
  background: #1c1c1e;
  padding: 14px;
  box-shadow:
    0 40px 80px -20px rgba(15,32,43,0.35),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 2px 0 rgba(255,255,255,0.06) inset;
  transform: rotate(-2deg);
  left: 0; top: 10%;
  z-index: 1;
}
.ipad::before {
  content: "";
  position: absolute; top: 50%; left: 7px;
  width: 4px; height: 6px;
  background: #2a2a2c; border-radius: 2px;
  transform: translateY(-50%);
}
.ipad::after {
  content: "";
  position: absolute; top: 50%; right: 7px;
  width: 4px; height: 18px;
  background: #2a2a2c; border-radius: 2px;
  transform: translateY(-50%);
  box-shadow: 0 -22px 0 #2a2a2c;
}
.ipad-screen {
  position: relative;
  width: 100%; height: 100%;
  background: #f8faf6;
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  font-family: var(--font-display);
  color: var(--ec-navy-deep);
}
.ipad-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid rgba(15,32,43,0.06);
  font-size: 10.5px;
}
.ipad-brand {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; letter-spacing: -0.015em;
}
.ipad-brand .mk { width: 7px; height: 7px; border-radius: 50%; background: var(--ec-green); }
.ipad-crumb { color: rgba(15,32,43,0.5); margin-left: 4px; }
.ipad-pill {
  margin-left: auto;
  font-size: 9px;
  background: rgba(125,173,63,0.14);
  color: var(--ec-green);
  padding: 3px 8px; border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.ipad-body {
  flex: 1; padding: 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.ipad-card {
  background: #fff;
  border: 1px solid rgba(15,32,43,0.06);
  border-radius: 10px;
  padding: 10px;
  flex: 1;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 0;
}
.ipad-card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.ipad-card-title { font-size: 11px; font-weight: 700; letter-spacing: -0.01em; }
.ipad-card-sub { font-size: 8.5px; color: rgba(15,32,43,0.5); margin-top: 1px; }
.ipad-chip {
  font-size: 8px; font-weight: 600;
  background: rgba(125,173,63,0.12); color: var(--ec-green);
  padding: 2px 6px; border-radius: 4px;
  letter-spacing: 0.05em;
}
.ipad-flow {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  position: relative;
}
.ipad-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.ipad-col { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 2; }
.ipad-col-h {
  font-family: var(--font-ui); font-size: 7px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(15,32,43,0.45); font-weight: 600;
}
.ipad-node {
  border: 1px solid rgba(125,173,63,0.25);
  background: #fff;
  border-radius: 6px;
  padding: 5px 6px;
  font-size: 8.5px;
  display: flex; flex-direction: column; gap: 1px;
}
.ipad-node.em {
  background: linear-gradient(180deg, rgba(125,173,63,0.08), transparent);
  box-shadow: 0 4px 12px -4px rgba(125,173,63,0.3);
}
.ipad-node b { font-weight: 700; font-size: 9px; letter-spacing: -0.005em; }
.ipad-node span { font-size: 7.5px; color: rgba(15,32,43,0.55); }
.ipad-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.ipad-stat {
  background: #fff;
  border: 1px solid rgba(15,32,43,0.06);
  border-radius: 8px;
  padding: 7px 8px;
}
.ipad-stat.hl {
  background: linear-gradient(135deg, #b5d985, #7dad3f);
  border-color: transparent;
}
.ipad-stat .l {
  font-size: 7.5px; color: rgba(15,32,43,0.55);
  text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 500;
}
.ipad-stat.hl .l { color: rgba(15,32,43,0.75); }
.ipad-stat .v {
  font-size: 13px; font-weight: 700; letter-spacing: -0.02em;
  margin-top: 2px;
}

/* iPhone (image replacement — keeps original scale & rotation) */
.iphone-img {
  position: absolute;
  width: 36%;
  max-width: 210px;
  right: 0; bottom: 0;
  transform: rotate(4deg);
  transform-origin: bottom right;
  z-index: 2;
  filter: drop-shadow(0 30px 60px rgba(15,32,43,0.55));
  pointer-events: none;
  user-select: none;
}

/* iPhone */
.iphone {
  position: absolute;
  width: 36%;
  max-width: 210px;
  aspect-ratio: 9/19;
  background: #1c1c1e;
  border-radius: 28px;
  padding: 6px;
  box-shadow:
    0 0 0 1.5px #2a2a2c,
    0 30px 60px -15px rgba(15,32,43,0.55);
  right: 0; bottom: 0;
  transform: rotate(4deg);
  z-index: 2;
}
.iphone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 18px;
  background: #000; border-radius: 9999px;
  z-index: 3;
}
.iphone-screen {
  width: 100%; height: 100%;
  background: #0f202b;
  border-radius: 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
  color: #fff;
  font-family: var(--font-display);
  position: relative;
}
.iphone-screen::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(125,173,63,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(35,100,118,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.iph-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 14px 0;
  font-size: 9px; font-weight: 600;
  position: relative; z-index: 1;
}
.iph-status-r { display: flex; gap: 4px; align-items: center; color: #fff; }
.iph-body {
  position: relative; z-index: 1;
  padding: 40px 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.iph-brand {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
}
.iph-brand .mk { width: 6px; height: 6px; border-radius: 50%; background: var(--ec-green); }
.iph-eyebrow {
  font-family: var(--font-ui); font-size: 7.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); font-weight: 600;
  margin-top: 4px;
}
.iph-head {
  font-size: 15px; font-weight: 300; line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
}
.iph-head .ec-green { color: var(--ec-green); font-weight: 700; font-style: italic; }
.iph-receipt {
  margin-top: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 10px 11px;
  display: flex; flex-direction: column; gap: 5px;
  font-size: 8.5px;
}
.iph-row {
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,0.72);
}
.iph-row span:last-child { color: #fff; font-weight: 500; }
.iph-row b { color: var(--ec-green); font-weight: 700; }
.iph-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 3px 0; }
.iph-outcome { text-align: center; padding: 3px 0; }
.iph-outcome-v {
  font-size: 22px; font-weight: 700;
  color: var(--ec-green); letter-spacing: -0.025em;
  line-height: 1;
}
.iph-outcome-l {
  font-size: 8px; color: rgba(255,255,255,0.65);
  margin-top: 3px;
}
.iph-cta {
  margin-top: auto;
  background: var(--ec-green);
  color: var(--ec-navy-deep);
  font-size: 10px; font-weight: 600;
  text-align: center;
  padding: 8px;
  border-radius: 9999px;
  letter-spacing: -0.005em;
}

@media (max-width: 700px) {
  .intro-devices { aspect-ratio: 5/4; }
  .ipad { max-width: 92%; }
  .ipad-img { width: 100%; left: 0; }
  .iphone { width: 40%; }
  .iphone-img { width: 40%; }
}

.hero-cta-row { margin-top: 36px; display: flex; justify-content: center; gap: 12px; }
.hero-cta {
  padding: 16px 28px;
  font-size: 15px;
  box-shadow: 0 16px 36px -10px rgba(125,173,63,0.45);
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -10px rgba(125,173,63,0.55); }


/* ============================================================================
   HERO — DARK VARIANT
   ============================================================================ */
.hero--dark {
  background: var(--ec-navy-deep);
  color: #fff;
}
.hero--dark .hero-bg {
  background:
    radial-gradient(ellipse 70% 60% at 20% 20%, rgba(125,173,63,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at 85% 75%, rgba(35,100,118,0.45) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(30,61,82,0.6) 0%, transparent 70%),
    linear-gradient(160deg, #0f202b 0%, #0a1821 100%);
}
.hero--dark .hero-bg::after {
  background-image: none;
}
.hero--dark .hero-chip {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
}
.hero--dark .hero-headline { color: #fff; }
.hero--dark .hero-sub { color: rgba(255,255,255,0.72); }
.hero--dark .hero-sub b { color: #fff; }
.hero--dark .hero-meta { color: rgba(255,255,255,0.5); }

/* capabilities — force white text on dark bg */
#capabilities h2,
#capabilities .cap-card h3,
#capabilities .cap-head p,
#capabilities .cap-card p,
#capabilities .cap-closing h3 { color: #fff !important; }
#capabilities h2 .ec-green,
#capabilities .cap-closing h3 b { color: var(--ec-green) !important; }

/* team slide — disciplines strip */
.disciplines {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: 20px; position: relative; z-index: 2;
}
.disc {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(125,173,63,0.25);
  border-radius: 14px;
  padding: 12px 14px 14px;
  display: flex; flex-direction: column; gap: 6px;
  transition: all .22s var(--ease-standard);
}
.disc:hover { background: rgba(125,173,63,0.08); border-color: rgba(125,173,63,0.45); transform: translateY(-2px); }
.disc-k {
  font-family: var(--font-ui); font-size: 9px;
  letter-spacing: 0.22em; color: var(--ec-green); font-weight: 700;
}
.disc-name {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: #fff; letter-spacing: -0.01em; line-height: 1.15;
}
.disc-meta {
  font-family: var(--font-ui); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.disc-sig {
  display: flex; gap: 6px; margin-top: auto; padding-top: 6px;
  color: var(--ec-green);
}
.disc-sig span {
  font-family: var(--font-mono); font-size: 9.5px;
  background: rgba(125,173,63,0.12);
  border: 1px solid rgba(125,173,63,0.3);
  color: var(--ec-green);
  padding: 2px 6px; border-radius: 4px;
  font-weight: 600; letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .disciplines { grid-template-columns: repeat(2, 1fr); }
}

/* Textured mark in closing section */
.closing-mark {
  display: block;
  width: clamp(140px, 18vw, 220px);
  height: auto;
  margin: 0 auto 32px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
  animation: markFloat 7s ease-in-out infinite;
}
@keyframes markFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}



}


/* ============================================================================
   FOOTER — editorial colophon
   ============================================================================ */
.footer {
  position: relative;
  margin-top: 100px;
  padding: 72px var(--gutter) 28px;
  max-width: var(--page-max);
  margin-left: auto; margin-right: auto;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-ui);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ── Top: meta / mark / contact ── */
.foot-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 56px;
}

.foot-meta {
  display: flex; flex-direction: column; gap: 12px;
  align-self: start;
}
.foot-meta-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.foot-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.foot-v {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: -0.01em;
  color: #fff;
}

.foot-mark {
  display: flex; align-items: center; justify-content: center;
}
.foot-mark-img {
  width: 120px; height: auto;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.3));
  transition: transform .6s var(--ease-standard);
}
.foot-mark-img:hover { transform: scale(1.04) rotate(-2deg); }

.foot-contact-block {
  display: flex; flex-direction: column; gap: 12px;
  align-self: start;
  align-items: flex-end;
  text-align: right;
}
.foot-contact-block .foot-k {
  display: inline-flex; align-items: center; gap: 8px;
}
.foot-contact-block .foot-k::before {
  content: ""; width: 18px; height: 1px; background: var(--ec-green);
  display: inline-block;
}
.foot-email-big {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color .18s var(--ease-standard);
}
.foot-email-big:hover { color: var(--ec-green); }
.foot-email-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s var(--ease-standard);
}
.foot-email-big:hover .foot-email-arrow {
  border-color: var(--ec-green);
  background: var(--ec-green);
  color: var(--ec-navy-deep);
  transform: rotate(0deg) translate(1px, -1px);
}
.foot-social { display: flex; gap: 14px; margin-top: 4px; }
.foot-ico {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all .2s var(--ease-standard);
}
.foot-ico:hover {
  color: var(--ec-navy-deep);
  background: var(--ec-green);
  border-color: var(--ec-green);
}

/* ── Massive editorial wordmark ── */
.foot-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(90px, 18vw, 240px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.2);
  text-align: center;
  padding: 20px 0 32px;
  position: relative;
  user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Bottom rule ── */
.foot-rule {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  font-family: var(--font-ui);
  letter-spacing: 0.08em;
}
.foot-rule-left { justify-self: start; }
.foot-rule-mid { justify-self: center; display: inline-flex; gap: 10px; align-items: center; }
.foot-rule-right { justify-self: end; color: rgba(255,255,255,0.4); text-transform: uppercase; font-size: 10px; letter-spacing: 0.14em; }
.foot-rule a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color .18s var(--ease-standard);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.14em;
}
.foot-rule a:hover { color: var(--ec-green); }
.foot-sep { color: rgba(255,255,255,0.25); }
.foot-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ec-green);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(125,173,63,0.18);
  animation: footDotPulse 2.4s ease-in-out infinite;
}
@keyframes footDotPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(125,173,63,0.18); }
  50% { box-shadow: 0 0 0 6px rgba(125,173,63,0.06); }
}

/* Responsive */
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .foot-contact-block { align-items: flex-start; text-align: left; }
  .foot-mark { justify-content: flex-start; }
  .foot-rule { grid-template-columns: 1fr; gap: 12px; }
  .foot-rule-left, .foot-rule-mid, .foot-rule-right { justify-self: start; }
}

.hero-pillars {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #fff;
  margin: 18px 0 22px;
  text-align: center;
}
.hero-pillars b { font-weight: 700; }

.team-placeholder {
  margin-top: 20px;
  border: 1px dashed rgba(125,173,63,0.35);
  border-radius: 14px;
  padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.02);
  text-align: center;
  min-height: 120px;
  position: relative; z-index: 2;
}
.tp-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ec-green);
  font-weight: 700;
}
.tp-hint {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  letter-spacing: -0.01em;
}


/* ============================================================================
   FOOTER v2 — clean 3-column with acknowledgement
   ============================================================================ */
.footer-v2 {
  background: var(--ec-navy-deep);
  color: rgba(255,255,255,0.82);
  padding: 64px 0 28px;
  margin-top: 0;
}
.footer-v2 .foot-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-v2 .foot-cols .foot-col:last-child {
  justify-self: end;
}
.footer-v2 .foot-h {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.footer-v2 .foot-p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}
.footer-v2 .foot-p a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}
.footer-v2 .foot-p a:hover { color: var(--ec-green); }

.footer-v2 .foot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-v2 .foot-list a {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color .15s;
}
.footer-v2 .foot-list a:hover { color: var(--ec-green); }

.footer-v2 .foot-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-v2 .foot-s {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  transition: all .15s;
}
.footer-v2 .foot-s:hover {
  color: var(--ec-green);
  border-color: rgba(125,173,63,0.5);
}

.footer-v2 .foot-acknowledge {
  padding: 32px 0 24px;
}
.footer-v2 .foot-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-v2 .foot-brand-mark {
  width: 26px; height: 26px;
  object-fit: contain;
}
.footer-v2 .foot-brand-wm {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-v2 .foot-ack-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 82ch;
}

.footer-v2 .foot-bottom {
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-ui);
  letter-spacing: 0.01em;
}

@media (max-width: 820px) {
  .footer-v2 .foot-cols {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .footer-v2 .foot-cols .foot-col:last-child {
    justify-self: start;
  }
}
@media (max-width: 520px) {
  .footer-v2 { padding-top: 48px; }
  .footer-v2 .foot-cols { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   CASE STUDIES
   Two-column slide: brand visual on the left, copy on the right.
   Reuses .about-slide chrome, overrides layout + adds tiles.
   ============================================================ */
.case-studies .about-slide.cs-slide {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: stretch;
  background:
    radial-gradient(ellipse 70% 60% at 20% 20%, rgba(125,173,63,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 90% 90%, rgba(35,100,118,0.35) 0%, transparent 55%),
    linear-gradient(135deg, #0f202b 0%, #14303f 100%);
}
.case-studies .about-slide.cs-slide::before { display: none; }
.case-studies .about-slide.cs-slide .content { display: flex; flex-direction: column; gap: 18px; }
.case-studies .about-slide.cs-slide .content:first-child { justify-content: flex-start; }
.case-studies .about-slide.cs-slide .content:last-child { justify-content: center; }

.cs-logo-tile {
  background: #fff;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.26);
  width: 64px;
  height: 64px;
  aspect-ratio: 1 / 1;
  flex: 0 0 64px;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  overflow: hidden;
}
.cs-logo-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  width: 100%;
  max-width: 92%;
}
.cs-logo-name {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  white-space: nowrap;
}
.cs-logo-tile img {
  max-height: 44px;
  max-width: 44px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
.cs-logo-tile--raw img {
  filter: none;
}
.cs-logo-tile--type {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0;
}
.cs-logo-tile--type span {
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: -0.02em;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}
.cs-logo-tile--type span b { font-weight: 700; color: var(--ec-green); }

.cs-image-placeholder {
  flex: 1;
  min-height: 280px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,0.22);
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.025) 0 14px,
      rgba(255,255,255,0.05) 14px 28px
    );
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 6px;
}
.cs-ph-label {
  font-family: var(--font-ui);
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.cs-ph-hint {
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  max-width: 28ch;
  line-height: 1.4;
}
.cs-image-frame {
  flex: 1;
  min-height: 280px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(ellipse 70% 80% at 50% 20%, rgba(125,173,63,0.16), transparent 60%),
    rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 18px;
}
.cs-image {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,0.28));
}
.cs-image-frame--receipt .cs-image,
.cs-image-frame--travel .cs-image {
  width: auto;
  max-width: 100%;
}
.cs-image-frame--brand .cs-image {
  width: min(70%, 240px);
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 18px 32px rgba(0,0,0,0.28));
}

.cs-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-bottom: 4px;
}
.cs-meta span {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.cs-meta b {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-right: 6px;
}

.case-studies .about-slide.cs-slide .cs-h {
  margin: 0;
  max-width: 22ch;
}
.case-studies .about-slide.cs-slide .cs-body {
  margin: 0;
  max-width: 44ch;
}

.cs-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.cs-stat .v {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.cs-stat .k {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
}

@media (max-width: 760px) {
  .case-studies .about-slide.cs-slide {
    grid-template-columns: 1fr;
  }
  .cs-logo-row {
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 8px;
    max-width: 100%;
  }
  .cs-logo-tile {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    padding: 7px;
  }
  .cs-logo-name {
    font-size: 14px;
    white-space: normal;
  }
  .cs-image-placeholder,
  .cs-image-frame { min-height: 200px; }
}

/* Two case-study sections stack tighter — top one keeps full padding,
   the second uses tighter top padding so they read as a pair. */
.case-studies + .case-studies,
.case-studies--reverse {
  padding-top: clamp(24px, 4vh, 48px);
}

/* s2 (Founders) — copy left, headshots upper-right */
.about-slide.s2 .s2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 3.5vw, 56px);
  align-items: start;
}
.about-slide.s2 .s2-copy { min-width: 0; }
.about-slide.s2 .s2-copy h3 { margin-bottom: 18px; }
.about-slide.s2 .s2-copy .body { margin-bottom: 0; }

.about-slide.s2 .founders.founders--stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
  align-self: start;
}
.about-slide.s2 .founders.founders--stack .founder {
  align-items: center;
  gap: 16px;
}
.about-slide.s2 .founders.founders--stack .founder-photo {
  width: 116px;
  height: 116px;
  flex-shrink: 0;
  border-radius: 10%;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  border: 2px solid rgba(255,255,255,0.16);
}
.about-slide.s2 .founders.founders--stack .founder-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.about-slide.s2 .founders.founders--stack .name {
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.about-slide.s2 .founders.founders--stack .role {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

@media (max-width: 760px) {
  .about-slide.s2 .s2-grid { grid-template-columns: 1fr; }
  .about-slide.s2 .founders.founders--stack { flex-direction: row; flex-wrap: wrap; }
  .about-slide.s2 .founders.founders--stack .founder-photo { width: 88px; height: 88px; }
}


/* ============================================================
   s4 — Mission slide with integration logos
   ============================================================ */
.about-slide.s4--integrations {
  justify-content: center;
}
.about-slide.s4--integrations .s4-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 4.5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}
.about-slide.s4--integrations .s4-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-slide.s4--integrations .s4-copy h3 {
  margin: 6px 0 0;
  max-width: 16ch;
}
.about-slide.s4--integrations .s4-copy .body {
  margin: 0;
  max-width: 50ch;
}
.about-slide.s4--integrations .s4-meta {
  margin-top: 4px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.14);
}
.about-slide.s4--integrations .s4-logos {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}
.about-slide.s4--integrations .s4-logo {
  background: transparent;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  transition: transform .22s var(--ease-standard);
}
.about-slide.s4--integrations .s4-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.about-slide.s4--integrations .s4-logo--hero {
  position: relative;
  aspect-ratio: auto;
  max-height: 400px;
  padding: 12px 18px;
  background: transparent;
  border: 1px dashed rgba(125,173,63,0.28);
  box-shadow: none;
}
.about-slide.s4--integrations .s4-logo--hero img {
  max-height: 400px;
  height: auto;
  width: auto;
}
.about-slide.s4--integrations .s4-logo-tag {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ec-green);
  font-weight: 700;
}
.about-slide.s4--integrations .s4-logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.about-slide.s4--integrations .s4-logo-row .s4-logo {
  aspect-ratio: 1;
  padding: 14px;
}
.about-slide.s4--integrations .s4-logo:hover {
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .about-slide.s4--integrations .s4-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-slide.s4--integrations .s4-logo-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   ABOUT slides — mobile: kill empty vertical space
   The slides have min-height + space-between for desktop, which
   leaves big gaps on phones. Compact them here without touching
   desktop layout. Drop the integration logos on the mission slide.
   ============================================================ */
@media (max-width: 760px) {
  .about-slide {
    min-height: 0;
    justify-content: flex-start;
    gap: 18px;
    padding: 28px 24px;
    flex-basis: 88vw;
  }
  .about-slide .content {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .about-slide h3 { margin: 0; }
  .about-slide .body { margin: 0; }
  .about-slide .stats-row { margin-top: 4px; }
  .about-slide .founders { margin-top: 4px; }
  .about-slide .team-cities { margin-top: 8px; }
  .about-slide.s1::after {
    right: -42%;
    width: 440px;
    opacity: 0.55;
  }

  /* s3 map slide — keep map visible but stop forcing extra height */
  .about-slide.s3--map { padding: 32px 24px; }

  /* s4 mission — drop the integration logos column on mobile */
  .about-slide.s4--integrations .s4-grid {
    gap: 16px;
  }
  .about-slide.s4--integrations .s4-logos { display: none; }

  /* case-study slides reuse .about-slide — same compaction */
  .case-studies .about-slide.cs-slide { gap: 20px; }
  .case-studies .about-slide.cs-slide .content { gap: 14px; }
}
