/* ===== 3D World -> Sri Lanka results section =====
   The globe is full-bleed across the section; the copy sits over it on the right. */
.globe-results-section{
  position:relative;
  height:145vh;                     /* scroll distance that drives the sequence (45vh of it is runway; the .pin below eats 100vh) */
  background:radial-gradient(120% 80% at 30% 25%, #261f13 0%, #14100a 45%, #070604 100%);
}
.globe-results-section .pin{
  position:sticky; top:0;
  height:100vh;
  overflow:hidden;
}

/* globe fills the whole stage */
.globe-results-section .globe-container{
  position:absolute; inset:0;
  width:100%; height:100%;
}
.globe-results-section #globe-canvas{ width:100%; height:100%; display:block; }

/* readability scrim behind the copy */
.globe-results-section .pin::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg, rgba(7,6,4,0) 42%, rgba(7,6,4,.55) 68%, rgba(7,6,4,.82) 100%);
}

.results-content{
  --reveal:0;
  position:absolute; right:0; top:0; z-index:2;
  height:100%; width:min(46%, 560px);
  display:flex; flex-direction:column; justify-content:center;
  padding:0 clamp(24px, 5vw, 72px) 0 0;
  margin-right:max(0px, calc((100vw - 1200px) / 2));
  opacity:var(--reveal);
  transform:translateY(calc((1 - var(--reveal)) * 26px));
  transition:opacity .35s linear, transform .35s linear;
  color:#efeae0;
}
.results-content h2{
  font-family:var(--serif, Georgia, serif);
  font-weight:500; font-size:clamp(36px, 4.2vw, 55px);
  line-height:1.08; color:#fff; margin:0;
}
.results-content > p{ margin:14px 0 0; font-size:20px; color:#c6bba9; max-width:420px; }
.results-content .note{
  display:inline-flex; align-items:center; gap:8px; margin-top:14px;
  padding:7px 12px; border-radius:8px; font-size:16px; color:#e6c877;
  border:1px dashed rgba(214,173,85,.5); background:rgba(214,173,85,.08);
  align-self:flex-start;
}
.statistics{
  display:grid; grid-template-columns:1fr 1fr; gap:24px 28px;
  margin-top:30px; padding-left:24px;
  border-left:1px solid rgba(76,168,132,.45);
}
.statistics .stat{ position:relative; }
.statistics .stat::before{
  content:''; position:absolute; left:-28px; top:16px;
  width:8px; height:8px; border-radius:50%;
  background:#ffd76a; box-shadow:0 0 12px 2px rgba(255,215,106,.65);
}
.statistics .stat:nth-child(even)::before{
  background:#4ca884; box-shadow:0 0 12px 2px rgba(76,168,132,.6);
}
.statistics .stat strong{
  display:block;
  font-family:var(--serif, Georgia, serif); font-weight:500;
  font-size:clamp(39px, 4.4vw, 60px); line-height:1;
  color:#ffd76a; text-shadow:0 0 22px rgba(255,215,106,.35);
  white-space:nowrap;      /* number and its +/% stay on one line, never wrap below */
}
/* the number span must stay inline inside strong, or the +/% drops to a new row */
.statistics .stat strong .num{ display:inline; }
/* only the label (the stat's direct-child span) is a block beneath the figure */
.statistics .stat > span{
  display:block; margin-top:5px;
  font-size:15px; letter-spacing:.15em; text-transform:uppercase; color:#c0b49f;
}
/* the headline figure (students taught): spans the full width and reads bigger
   so the reach of the classes is the number that lands hardest */
.statistics .stat--big{
  grid-column:1 / -1; margin-top:8px; padding-top:22px;
  border-top:1px solid rgba(76,168,132,.32);
}
.statistics .stat--big strong{ font-size:clamp(56px, 7.4vw, 90px); }
.statistics .stat--big > span{ font-size:16px; color:#d7cbb2; }

@media (max-width: 900px){
  .globe-results-section{ height:135vh; }
  .globe-results-section .pin::after{
    background:linear-gradient(180deg, rgba(7,6,4,0) 26%, rgba(7,6,4,.72) 52%, rgba(7,6,4,.92) 100%);
  }
  .results-content{
    position:absolute; right:0; left:0; top:auto; bottom:0;
    width:auto; height:auto; margin-right:0;
    padding:0 22px 8vh;
    justify-content:flex-end;
  }
  .results-content h2{ font-size:34px; }
  .results-content > p{ font-size:18px; }
  .statistics{ gap:16px 18px; margin-top:18px; padding-left:20px; }
  .statistics .stat::before{ left:-24px; top:12px; width:7px; height:7px; }
}
@media (prefers-reduced-motion: reduce){
  .globe-results-section{ height:auto; }
  .globe-results-section .pin{ position:static; height:auto; min-height:100vh; }
  .results-content{ --reveal:1 !important; opacity:1 !important; transform:none !important; }
}
