﻿
/* ── Earth Stats Section Core ── */
.stats-earth {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 40px 0;
  overflow: visible;
}
.stats-earth__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 901px) {
  .stats-earth__layout {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  .stats-earth__globe-col { flex: 0 0 45%; display:flex; align-items:center; justify-content:center; }
  .stats-earth__stats-col { flex: 0 0 50%; }
}
.stats-earth__globe-col {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}
.earth-lottie {
  max-width: 1100px;
  width: 100%;
  aspect-ratio: 1 / 1; /* FORCES HEIGHT PROPORTION FOR LOTTIE */
  opacity: 1;
}
.stats-earth__stats-col {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
  padding-top: 40px;
}
@media (min-width: 901px) {
  .stats-earth__stats-col {
    padding-top: 0;
    min-height: 400px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
.stats-earth__stack {
  position: relative;
  width: 100%;
  height: 250px;
  padding-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 901px) {
  .stats-earth__stack {
    height: 350px;
    padding-top: 0;
  }
}

/* Base styling purely for Absolute GSAP Stacking */
.earth-stat {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
  transform: translateY(-50%);
  opacity: 0;
  margin: 0;
}
.earth-stat__num {
  font-family: var(--font-primary); font-size: clamp(4rem, 10vw, 8rem); font-weight: 800;
  letter-spacing: -4px; line-height: 1; color: var(--ink); margin-bottom: 8px;
}
.earth-stat__label { 
  font-family: var(--font-primary); font-size: var(--text-base); font-weight: 500; 
  color: var(--ink); opacity: 1;
}

/* ════════════════════════════════════════════════════════════════
   TAGGIFY — Section-Specific Styles
   Aesthetic: Sowieso Wero Neo-Brutalist
   ════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.hero {
    padding-top:calc(var(--nav-height) + 80px);
    padding-bottom:0;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:transparent; /* shows mesh canvas underneath */
}
.hero__container {
    display:grid;
    grid-template-columns:1.2fr 0.8fr;
    gap:var(--space-16);
    align-items:center;
}
.hero__badge {
    display:inline-flex; align-items:center;
    padding:8px 20px; border-radius:var(--radius-pill);
    background:var(--ink); color:var(--yellow);
    border:var(--border-ink); box-shadow:var(--shadow-hard-sm);
    margin-bottom:var(--space-10); font-weight:700; font-size:var(--text-sm);
}
.hero__title { margin-bottom:var(--space-8) }
.hero__subtitle { max-width:540px; margin-bottom:var(--space-12) }
.hero__subtitle strong { color:var(--ink); font-weight:700 }
.hero__ctas { display:flex; gap:var(--space-4); flex-wrap:wrap }

/* ── Hero Visual: flat sticker cards ── */
.hero__visual {
    position:relative;
    display:flex; align-items:center; justify-content:center;
    min-height:400px;
}
.hero__sticker {
    position:absolute;
    background:var(--yellow);
    border:var(--border-ink-2);
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-hard-md);
    padding:20px 28px;
    display:flex; flex-direction:column; align-items:center; gap:6px;
    font-family:var(--font-primary); font-weight:800;
    z-index:2;
    transition:all 0.15s var(--ease-smooth);
}
.hero__sticker:hover { transform:translate(4px,4px) var(--sticker-rotation, rotate(0deg)); box-shadow:none }
.hero__sticker span { font-size:var(--text-4xl); line-height:1; letter-spacing:-1px }
.hero__sticker small { font-size:var(--text-xs); font-weight:600; text-transform:uppercase; letter-spacing:1.5px; color:var(--ink-soft) }
.hero__sticker--1 { top:8%; right:5%;  background:var(--yellow); --sticker-rotation:rotate(-4deg); rotation:-4deg }
.hero__sticker--2 { bottom:30%; left:0; background:var(--lime);  --sticker-rotation:rotate(5deg); rotation:5deg }
.hero__sticker--3 { bottom:5%; right:15%; background:var(--pink-blob); --sticker-rotation:rotate(-2deg); rotation:-2deg }
.hero__big-number { position: absolute; z-index: -1; opacity: 0.05; right: -5%; bottom: -5%;
    font-family:var(--font-primary);
    font-size:clamp(5rem,14vw,12rem);
    font-weight:800; letter-spacing:-5px;
    color:transparent; -webkit-text-stroke:2px var(--ink);
    line-height:1; opacity:0.12;
    user-select:none; pointer-events:none;
    position:absolute; z-index:1;
}

/* ── Stats Bar ── */
.stats-bar {
    margin-top:var(--space-20);
    padding:var(--space-12) 0;
    border-top:var(--border-ink);
}
.stats-bar__inner { display:flex; align-items:center; justify-content:space-between }
.stats-bar__item  { text-align:center; flex:1 }
.stats-bar__number {
    font-family:var(--font-primary);
    font-size:clamp(1.5rem,3vw,var(--text-4xl));
    font-weight:800; display:block; margin-bottom:var(--space-2);
    letter-spacing:-1px; color:var(--ink);
}
.stats-bar__label { font-size:var(--text-sm); color:var(--text-muted); text-transform:uppercase; letter-spacing:1px }
.stats-bar__divider { width:1.5px; height:50px; background:var(--ink); opacity:0.12 }

/* ── Ticker ── */
.ticker-section {
    padding:var(--space-6) 0; overflow:hidden;
    background:var(--ink); border-top:var(--border-ink); border-bottom:var(--border-ink);
}
.ticker { overflow:hidden; white-space:nowrap }
.ticker__track { display:inline-flex; align-items:center; animation:tickerScroll 25s linear infinite }
.ticker__item {
    font-family:var(--font-primary);
    font-size:clamp(1.25rem,2.5vw,var(--text-3xl));
    font-weight:700; text-transform:uppercase;
    letter-spacing:3px; color:var(--white); padding:0 var(--space-8);
}
.ticker__star { color:var(--yellow); font-size:var(--text-xl); padding:0 var(--space-4) }
@keyframes tickerScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ── About ── */
.about__grid { display:grid; grid-template-columns:1fr 1fr; gap:var(--space-20); align-items:center }
.about__stats { display:grid; grid-template-columns:1fr 1fr; gap:var(--space-6) }
.about__stat-card {
    background:var(--canvas);
    border:var(--border-ink); border-radius:var(--radius-md);
    box-shadow:var(--shadow-hard-md);
    padding:var(--space-10); text-align:center;
    transition:all 0.15s var(--ease-smooth);
}
.about__stat-card:hover { transform:translate(4px,4px); box-shadow:none; background:var(--yellow) }
.about__stat-number { font-family:var(--font-primary); font-size:var(--text-4xl); font-weight:800; display:block; margin-bottom:var(--space-3); letter-spacing:-1px; color:var(--ink) }
.about__stat-label  { font-size:var(--text-sm); color:var(--text-muted); text-transform:uppercase; letter-spacing:1px }

/* ── Trust / Quote ── */
.trust__content { max-width:800px }
.trust__quote {
    margin-top:var(--space-12);
    padding:var(--space-10) var(--space-12);
    background:var(--yellow);
    border:var(--border-ink-2);
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-hard-md);
}
.trust__quote p {
    font-family:var(--font-primary);
    font-size:var(--text-2xl); font-weight:600;
    line-height:1.35; color:var(--ink);
    font-style:italic; letter-spacing:-0.5px;
}

/* ── Services ── */
.services__category-pills { display:flex; flex-wrap:wrap; justify-content:center; gap:var(--space-3); margin-top:var(--space-10) }

/* ── CTA Section ── */
.cta-section { padding:var(--section-padding-y) 0 }
.cta-section .heading-hero { font-size:clamp(2rem,5vw,var(--text-7xl)) }

/* ── Earth Stats Section ── */



#earthCanvas { width:360px; height:360px; border-radius:50%; border:2.5px solid var(--ink); box-shadow:var(--shadow-hard-xl); display:block }






/* ── Lottie Earth sizing ── */
dotlottie-player, 

/* ── Earth section mobile ── */
@media (max-width: 900px) {
  
  
  dotlottie-player {
    max-width: 380px;
  }
  
  
  /* On mobile, unpin and stack vertically */
  
}

@media (max-width: 540px) {
  dotlottie-player { max-width: 210px }
  
}


/* ── Earth section mobile OVERRIDE ── */
@media (max-width: 900px) {
  
  
  
  
  
  
  
}

@media (max-width: 540px) {
  
  
}





@media (max-width: 900px) {
  
  
  
  
  
}





/* ── Earth GSAP Sequence Stack Setup ── */









@media (max-width: 900px) {
  .stats-earth {
    padding: 20px 0;
  }
  .earth-lottie {
    max-width: 320px;
  }
  .stats-earth__stack {
  height: 150px;
  margin-top: 40px;
    align-items: flex-start;
  }
  .earth-stat {
    top: 0;
    margin-top: 20px;
  }
}


/* ── Network section pinned centering ── */
@media (min-width: 901px) {
  .network--horizontal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* Page transition overlay override for GSAP portal morph */
.page-transition-overlay {
  position: fixed;
  background: var(--yellow);
  z-index: 99999;
  pointer-events: none;
  /* GSAP controls all geometry — remove the CSS transform default */
  transform: none;
  left: 0; top: 0;
  width: 0; height: 0;
  opacity: 0;
}


/* Services section: no extra padding under header so slides sit closer */
.services > .container {
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

/* ── Services Horizontal Scroll — Critical Overrides ──────────────────────
   The base .section has overflow:hidden which KILLS GSAP pin spacers.
   Must be visible so ScrollTrigger can insert its spacer after slides-wrap.
   Also clips the 500vw track — override here.
────────────────────────────────────────────────────────────────────────── */

.services > .container {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--space-8);
}




/* .slide-revealed: GSAP drives x/opacity directly; this class is just a marker */
/* The CSS below is a fallback in case GSAP hasn't run yet (e.g. first slide) */

