/* =========================================================
     SYNCS — tokens
     ========================================================= */
  :root {
    --bg-deep: #0a0820;
    --bg-1: #1a1149;
    --bg-2: #15235a;
    --bg-3: #0d1a4a;
    --accent: #9d7bff;
    --accent-2: #5b8dff;
    --accent-soft: rgba(157,123,255,0.18);
    --text: #eeecff;
    --text-dim: rgba(238,236,255,0.72);
    --muted: rgba(238,236,255,0.48);
    --line: rgba(238,236,255,0.10);
    --line-strong: rgba(238,236,255,0.22);
    --header-h: 72px;
    --pad-x: clamp(20px, 5vw, 80px);
    --font-display: 'Space Grotesk', 'Helvetica Neue', sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  }

  /* =========================================================
     Reset
     ========================================================= */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { height: 100%; }
  body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg-deep);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    line-height: 1.5;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  ul { list-style: none; }
  img, svg { display: block; max-width: 100%; }

  /* =========================================================
     Background (gradient + hex pattern)
     ========================================================= */
  .bg {
    position: fixed; inset: 0;
    background:
      radial-gradient(120% 80% at 80% 0%, #2a1d6e 0%, transparent 55%),
      radial-gradient(100% 70% at 10% 100%, #15235a 0%, transparent 60%),
      linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
    z-index: -2;
  }
  .bg::after {
    content: '';
    position: absolute; inset: 0;
    /* Honeycomb — flat-top hexágonos R=46, no uniformes (trazo/opacidad variables). Tile 276 x 159.35. */
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='276' height='159.35' viewBox='0 0 276 159.35'><path d='M460.0 -79.7 L437.0 -39.8 L391.0 -39.8 L368.0 -79.7 L391.0 -119.5 L437.0 -119.5 Z' fill='%235a49b0' fill-opacity='0.025' stroke='none'/><path d='M-23.0 39.8 L-46.0 79.7 L-92.0 79.7 L-115.0 39.8 L-92.0 0.0 L-46.0 0.0 Z M-23.0 278.9 L-46.0 318.7 L-92.0 318.7 L-115.0 278.9 L-92.0 239.0 L-46.0 239.0 Z M46.0 -79.7 L23.0 -39.8 L-23.0 -39.8 L-46.0 -79.7 L-23.0 -119.5 L23.0 -119.5 Z M46.0 79.7 L23.0 119.5 L-23.0 119.5 L-46.0 79.7 L-23.0 39.8 L23.0 39.8 Z M46.0 239.0 L23.0 278.9 L-23.0 278.9 L-46.0 239.0 L-23.0 199.2 L23.0 199.2 Z M115.0 119.5 L92.0 159.3 L46.0 159.3 L23.0 119.5 L46.0 79.7 L92.0 79.7 Z M115.0 199.2 L92.0 239.0 L46.0 239.0 L23.0 199.2 L46.0 159.3 L92.0 159.3 Z M115.0 278.9 L92.0 318.7 L46.0 318.7 L23.0 278.9 L46.0 239.0 L92.0 239.0 Z M184.0 -79.7 L161.0 -39.8 L115.0 -39.8 L92.0 -79.7 L115.0 -119.5 L161.0 -119.5 Z M184.0 239.0 L161.0 278.9 L115.0 278.9 L92.0 239.0 L115.0 199.2 L161.0 199.2 Z M253.0 39.8 L230.0 79.7 L184.0 79.7 L161.0 39.8 L184.0 0.0 L230.0 0.0 Z M253.0 119.5 L230.0 159.3 L184.0 159.3 L161.0 119.5 L184.0 79.7 L230.0 79.7 Z M253.0 278.9 L230.0 318.7 L184.0 318.7 L161.0 278.9 L184.0 239.0 L230.0 239.0 Z M322.0 159.3 L299.0 199.2 L253.0 199.2 L230.0 159.3 L253.0 119.5 L299.0 119.5 Z M391.0 39.8 L368.0 79.7 L322.0 79.7 L299.0 39.8 L322.0 0.0 L368.0 0.0 Z M460.0 -79.7 L437.0 -39.8 L391.0 -39.8 L368.0 -79.7 L391.0 -119.5 L437.0 -119.5 Z' fill='none' stroke='%235a49b0' stroke-opacity='0.03' stroke-width='1'/><path d='M-23.0 -39.8 L-46.0 0.0 L-92.0 0.0 L-115.0 -39.8 L-92.0 -79.7 L-46.0 -79.7 Z M-23.0 119.5 L-46.0 159.3 L-92.0 159.3 L-115.0 119.5 L-92.0 79.7 L-46.0 79.7 Z M46.0 0.0 L23.0 39.8 L-23.0 39.8 L-46.0 0.0 L-23.0 -39.8 L23.0 -39.8 Z M46.0 159.3 L23.0 199.2 L-23.0 199.2 L-46.0 159.3 L-23.0 119.5 L23.0 119.5 Z M115.0 -39.8 L92.0 0.0 L46.0 0.0 L23.0 -39.8 L46.0 -79.7 L92.0 -79.7 Z M184.0 0.0 L161.0 39.8 L115.0 39.8 L92.0 0.0 L115.0 -39.8 L161.0 -39.8 Z M322.0 -79.7 L299.0 -39.8 L253.0 -39.8 L230.0 -79.7 L253.0 -119.5 L299.0 -119.5 Z M322.0 0.0 L299.0 39.8 L253.0 39.8 L230.0 0.0 L253.0 -39.8 L299.0 -39.8 Z M322.0 79.7 L299.0 119.5 L253.0 119.5 L230.0 79.7 L253.0 39.8 L299.0 39.8 Z M391.0 -39.8 L368.0 0.0 L322.0 0.0 L299.0 -39.8 L322.0 -79.7 L368.0 -79.7 Z M391.0 199.2 L368.0 239.0 L322.0 239.0 L299.0 199.2 L322.0 159.3 L368.0 159.3 Z M391.0 278.9 L368.0 318.7 L322.0 318.7 L299.0 278.9 L322.0 239.0 L368.0 239.0 Z M460.0 0.0 L437.0 39.8 L391.0 39.8 L368.0 0.0 L391.0 -39.8 L437.0 -39.8 Z M460.0 159.3 L437.0 199.2 L391.0 199.2 L368.0 159.3 L391.0 119.5 L437.0 119.5 Z M460.0 239.0 L437.0 278.9 L391.0 278.9 L368.0 239.0 L391.0 199.2 L437.0 199.2 Z' fill='none' stroke='%235a49b0' stroke-opacity='0.05' stroke-width='1'/><path d='M-23.0 199.2 L-46.0 239.0 L-92.0 239.0 L-115.0 199.2 L-92.0 159.3 L-46.0 159.3 Z M184.0 159.3 L161.0 199.2 L115.0 199.2 L92.0 159.3 L115.0 119.5 L161.0 119.5 Z M253.0 199.2 L230.0 239.0 L184.0 239.0 L161.0 199.2 L184.0 159.3 L230.0 159.3 Z M391.0 119.5 L368.0 159.3 L322.0 159.3 L299.0 119.5 L322.0 79.7 L368.0 79.7 Z' fill='none' stroke='%235a49b0' stroke-opacity='0.075' stroke-width='1.2'/><path d='M184.0 79.7 L161.0 119.5 L115.0 119.5 L92.0 79.7 L115.0 39.8 L161.0 39.8 Z M322.0 239.0 L299.0 278.9 L253.0 278.9 L230.0 239.0 L253.0 199.2 L299.0 199.2 Z M460.0 79.7 L437.0 119.5 L391.0 119.5 L368.0 79.7 L391.0 39.8 L437.0 39.8 Z' fill='none' stroke='%235a49b0' stroke-opacity='0.11' stroke-width='1.3'/><path d='M115.0 39.8 L92.0 79.7 L46.0 79.7 L23.0 39.8 L46.0 0.0 L92.0 0.0 Z M253.0 -39.8 L230.0 0.0 L184.0 0.0 L161.0 -39.8 L184.0 -79.7 L230.0 -79.7 Z' fill='none' stroke='%235a49b0' stroke-opacity='0.16' stroke-width='1.5'/></svg>");
    background-size: 276px 159.35px;
    opacity: 1;
    mask-image: radial-gradient(120% 80% at 50% 50%, #000 40%, transparent 100%);
  }
  .bg::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(600px 400px at 90% 10%, rgba(157,123,255,0.18), transparent 70%),
      radial-gradient(700px 500px at 5% 90%, rgba(91,141,255,0.14), transparent 70%);
    pointer-events: none;
  }

  /* =========================================================
     Header
     ========================================================= */
  .header {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 60;
    display: flex; align-items: center;
    padding: 0 var(--pad-x);
    background: linear-gradient(180deg, rgba(10,8,32,0.55) 0%, rgba(10,8,32,0) 100%);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-bottom: 1px solid var(--line);
  }
  .logo {
    display: flex; align-items: center; gap: 10px;
  }
  .logo img {
    height: 46px; width: auto;
    display: block;
    filter: drop-shadow(0 0 14px rgba(157,123,255,0.45));
  }
  .nav {
    margin-left: auto;
    display: flex; align-items: center; gap: 4px;
  }
  .nav a {
    position: relative;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dim);
    border-radius: 999px;
    transition: color 220ms ease, background 220ms ease;
  }
  .nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
  .nav a.active { color: var(--text); }
  .nav a.active::after {
    content: '';
    position: absolute; left: 50%; bottom: 4px;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent);
  }
  .cta {
    margin-left: 12px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    border-radius: 999px;
    transition: transform 220ms ease, box-shadow 220ms ease;
    box-shadow: 0 8px 24px -8px rgba(157,123,255,0.5);
  }
  .cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(157,123,255,0.7); }

  /* Hamburger */
  .burger {
    display: none;
    margin-left: auto;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,0.03);
  }
  .burger span {
    display: block; position: relative;
    width: 18px; height: 1.5px;
    background: var(--text);
    transition: transform 240ms ease, opacity 240ms ease;
  }
  .burger span::before, .burger span::after {
    content: ''; position: absolute; left: 0;
    width: 18px; height: 1.5px;
    background: var(--text);
    transition: transform 240ms ease;
  }
  .burger span::before { top: -6px; }
  .burger span::after  { top:  6px; }
  body.menu-open .burger span { background: transparent; }
  body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
  body.menu-open .burger span::after  { transform: translateY(-6px) rotate(-45deg); }

  /* Mobile drawer */
  .drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(86vw, 360px);
    z-index: 55;
    background: linear-gradient(180deg, rgba(20,15,60,0.92), rgba(13,15,55,0.92));
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-left: 1px solid var(--line-strong);
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(.2,.8,.2,1);
    padding: calc(var(--header-h) + 24px) 28px 28px;
    display: flex; flex-direction: column; gap: 4px;
  }
  .drawer.open { transform: translateX(0); }
  .drawer.dragging { transition: none; }
  .drawer a {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text-dim);
    transition: color 200ms;
  }
  .drawer a:hover { color: var(--text); }
  .drawer .cta { margin: 24px 0 0; text-align: center; }
  .drawer-backdrop {
    position: fixed; inset: 0;
    background: rgba(5,3,20,0.55);
    backdrop-filter: blur(2px);
    z-index: 54;
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
  }
  .drawer-backdrop.open { opacity: 1; pointer-events: auto; }

  /* =========================================================
     Vertical scroller
     ========================================================= */
  .vstack {
    position: relative;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
  }
  .vstack::-webkit-scrollbar { display: none; }
  .vstack { scrollbar-width: none; }

  .vsection {
    position: relative;
    height: 100vh;
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* =========================================================
     Horizontal scroller inside each section
     ========================================================= */
  .hscroll {
    position: relative;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    display: flex;
    scrollbar-width: none;
  }
  .hscroll::-webkit-scrollbar { display: none; }

  .hslide {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(24px, 6vw, 80px);
    padding: calc(var(--header-h) + 24px) var(--pad-x) 100px;
  }
  .hslide-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid rgba(157,123,255,0.3);
    border-radius: 999px;
    margin-bottom: 28px;
  }
  .hslide-eyebrow::before {
    content: ''; width: 18px; height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-2));
    box-shadow: 0 0 12px var(--accent);
  }
  .hslide-text h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.4vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-weight: 500;
    color: var(--text);
    max-width: 16ch;
  }
  .hslide-text h2 .line {
    display: block;
    opacity: 0;
    transform: translateX(28px);
    will-change: opacity, transform;
  }
  .hslide-text p {
    margin-top: 22px;
    font-size: clamp(15px, 1.1vw, 17px);
    color: var(--text-dim);
    max-width: 38ch;
    line-height: 1.6;
    opacity: 0;
    transform: translateX(20px);
  }
  .hslide-text .meta {
    margin-top: 32px;
    display: flex; gap: 36px;
    opacity: 0;
    transform: translateX(20px);
  }
  .hslide-text .meta-item {
    display: flex; flex-direction: column; gap: 4px;
  }
  .hslide-text .meta-item strong {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hslide-text .meta-item span {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.04em;
  }

  .hslide-text h2 .accent {
    background: linear-gradient(115deg, var(--accent) 0%, #c9b6ff 50%, var(--accent-2) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-weight: 700;
    letter-spacing: 0.01em;
  }
  .meta-pillars { gap: 30px; }
  .meta-pillars .meta-item strong { font-size: 22px; }
  .meta-pillars .meta-item span { max-width: 12ch; }

  /* ecosystem graphic animations */
  .ecosystem .flow {
    stroke-dasharray: 5 9;
    animation: syncflow 1.6s linear infinite;
  }
  @keyframes syncflow { to { stroke-dashoffset: -28; } }
  .ecosystem .ring-spin {
    transform-box: fill-box;
    transform-origin: center;
    animation: ringspin 60s linear infinite;
  }
  @keyframes ringspin { to { transform: rotate(360deg); } }
  .ecosystem .layer-spin {
    transform-box: fill-box; transform-origin: center;
    animation: ringspin 90s linear infinite;
  }
  .ecosystem .layer-spin-rev {
    transform-box: fill-box; transform-origin: center;
    animation: ringspin 70s linear infinite reverse;
  }
  .ecosystem .core-pulse {
    transform-box: fill-box; transform-origin: center;
    animation: corePulse 3.8s ease-out infinite;
  }
  .ecosystem .core-pulse.delay { animation-delay: 1.9s; }
  @keyframes corePulse {
    0%   { transform: scale(1);   opacity: 0.5; }
    70%  { opacity: 0; }
    100% { transform: scale(2);   opacity: 0; }
  }
  .ecosystem .port { animation: portBlink 3s ease-in-out infinite; }
  @keyframes portBlink { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
  .ecosystem .ghost { animation: ghostBreathe 4.4s ease-in-out infinite; }
  @keyframes ghostBreathe { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

  .hslide-graphic {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 540px;
    justify-self: end;
    opacity: 0;
    transform: scale(0.96);
    will-change: opacity, transform;
  }

  /* ===== Animation when section is focused ===== */
  .vsection.focused .hslide.current .hslide-text h2 .line {
    animation: slideIn 720ms cubic-bezier(.2,.8,.2,1) forwards;
  }
  .vsection.focused .hslide.current .hslide-text h2 .line:nth-child(1) { animation-delay: 120ms; }
  .vsection.focused .hslide.current .hslide-text h2 .line:nth-child(2) { animation-delay: 260ms; }
  .vsection.focused .hslide.current .hslide-text h2 .line:nth-child(3) { animation-delay: 400ms; }

  .vsection.focused .hslide.current .hslide-text p     { animation: slideIn 720ms cubic-bezier(.2,.8,.2,1) 600ms forwards; }
  .vsection.focused .hslide.current .hslide-text .meta { animation: slideIn 720ms cubic-bezier(.2,.8,.2,1) 740ms forwards; }
  .vsection.focused .hslide.current .hslide-graphic    { animation: graphicIn 900ms cubic-bezier(.2,.8,.2,1) 900ms forwards; }

  @keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes graphicIn {
    to { opacity: 1; transform: scale(1); }
  }

  /* =========================================================
     Partners — layout + globo + popup
     ========================================================= */
  /* el globo ahora ocupa todo el lienzo; el texto flota como overlay */
  .vsection--single .partners-stage {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }
  /* animaciones encadenadas para la sección de partners (sin .hslide.current) */
  .vsection--single.focused .partners-overlay h2 .line {
    animation: slideIn 720ms cubic-bezier(.2,.8,.2,1) forwards;
  }
  .vsection--single.focused .partners-overlay h2 .line:nth-child(1) { animation-delay: 120ms; }
  .vsection--single.focused .partners-overlay h2 .line:nth-child(2) { animation-delay: 260ms; }
  .vsection--single.focused .partners-overlay h2 .line:nth-child(3) { animation-delay: 400ms; }
  .vsection--single.focused .partners-overlay p     { animation: slideIn 720ms cubic-bezier(.2,.8,.2,1) 600ms forwards; }
  .vsection--single.focused .partners-hint          { animation: slideIn 720ms cubic-bezier(.2,.8,.2,1) 900ms forwards; }
  .vsection--single.focused .globe-graphic          { animation: graphicIn 1100ms cubic-bezier(.2,.8,.2,1) 200ms forwards; }

  /* texto flotante sobre el globo */
  .partners-overlay {
    position: absolute;
    top: calc(var(--header-h) + clamp(20px, 5vh, 56px));
    left: var(--pad-x);
    z-index: 6;
    max-width: min(46ch, 80vw);
    pointer-events: none;
  }
  .partners-overlay p {
    max-width: 38ch;
    opacity: 0; transform: translateX(20px);
  }
  .partners-hint {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: clamp(28px, 6vh, 64px);
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    display: flex; align-items: center; gap: 9px;
    font-size: 13px;
    color: var(--text-dim);
    text-align: center;
    pointer-events: none;
  }
  .partners-hint::before {
    content: "";
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(157,123,255,0.55);
    animation: hintPulse 2.4s ease-out infinite;
  }
  @keyframes hintPulse {
    0%   { box-shadow: 0 0 0 0 rgba(157,123,255,0.5); }
    70%  { box-shadow: 0 0 0 12px rgba(157,123,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(157,123,255,0); }
  }

  /* scrims para legibilidad del texto sobre el globo */
  .partners-stage::before {
    content: "";
    position: absolute; inset: 0;
    z-index: 4;
    pointer-events: none;
    background:
      radial-gradient(120% 80% at 0% 0%, rgba(7,5,26,0.78), rgba(7,5,26,0) 52%),
      linear-gradient(180deg, rgba(7,5,26,0.5) 0%, rgba(7,5,26,0) 26%, rgba(7,5,26,0) 78%, rgba(7,5,26,0.55) 100%);
  }

  .globe-graphic {
    position: absolute;
    inset: 0;
    max-width: none;
    z-index: 2;
    opacity: 0;
    transform: scale(1.02);
  }
  #globe-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
  }
  #globe-container:active { cursor: grabbing; }
  #globe { width: 100%; height: 100%; display: block; overflow: visible; }
  .globe-ocean { stroke: rgba(157,123,255,0.35); stroke-width: 1; }
  .globe-graticule { fill: none; stroke: rgba(238,236,255,0.08); stroke-width: 0.6; }
  .country {
    fill: rgba(238,236,255,0.10);
    stroke: rgba(11,10,44,0.7);
    stroke-width: 0.5;
    transition: fill 0.3s ease;
  }
  .country.has-branches {
    fill: rgba(157,123,255,0.72);
    cursor: pointer;
  }
  .country.has-branches:hover { fill: #b79bff; }
  .globe-error::after {
    content: 'No se pudo cargar el mapa.';
    position: absolute; inset: 0; display: grid; place-items: center;
    color: var(--muted); font-size: 14px;
  }

  /* popup */
  #globe-popup {
    position: fixed; inset: 0;
    z-index: 80;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(5,3,20,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  #globe-popup.active { display: grid; }
  .gp-card {
    position: relative;
    width: min(92vw, 460px);
    max-height: 80vh;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(26,20,68,0.96), rgba(13,15,55,0.96));
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
    animation: gpIn 280ms cubic-bezier(.2,.8,.2,1);
  }
  @keyframes gpIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
  #globe-popup-close {
    position: absolute; top: 14px; right: 14px;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    font-size: 24px; line-height: 1; color: var(--text-dim);
    border-radius: 50%;
    transition: background 220ms, color 220ms;
  }
  #globe-popup-close:hover { background: rgba(255,255,255,0.08); color: var(--text); }
  #globe-popup-title {
    font-family: var(--font-display); font-size: 22px; font-weight: 600;
    margin-bottom: 18px; padding-right: 32px;
  }
  #globe-popup-list { display: flex; flex-direction: column; gap: 14px; }
  #globe-popup-list li {
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .gp-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text); }
  .gp-role {
    display: inline-block; margin-top: 4px;
    font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--accent);
  }
  .gp-info { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
  .gp-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-dim); }
  .gp-item a { color: var(--accent-2); transition: color 200ms; }
  .gp-item a:hover { color: #9db8ff; text-decoration: underline; }
  .gp-ic { flex-shrink: 0; width: 16px; height: 16px; color: var(--accent); }
  .gp-ic svg { width: 16px; height: 16px; }

  /* =========================================================
     Vertical dot nav (square, right)
     ========================================================= */
  .vdots {
    position: fixed; right: 24px; top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex; flex-direction: column; gap: 12px;
  }
  .vdots button {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.22);
    border-radius: 2px;
    transition: background 220ms, transform 220ms, box-shadow 220ms;
    position: relative;
  }
  .vdots button[aria-current="true"] {
    background: var(--accent);
    transform: scale(1.4);
    box-shadow: 0 0 12px var(--accent);
  }
  .vdots button::after {
    content: attr(data-label);
    position: absolute;
    right: 22px; top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--text);
    background: rgba(20,15,60,0.85);
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms;
    border: 1px solid var(--line-strong);
  }
  .vdots button:hover::after { opacity: 1; }

  /* =========================================================
     Horizontal dot nav (round, bottom center)
     ========================================================= */
  .hdots {
    position: absolute; left: 50%; bottom: 32px;
    transform: translateX(-50%);
    z-index: 30;
    display: flex; gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(20,15,60,0.4);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }
  .hdots button {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: background 220ms, width 280ms, opacity 220ms;
  }
  .hdots button[aria-current="true"] {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
  }

  /* =========================================================
     Footer slide
     ========================================================= */
  .footer-slide {
    height: 100vh; height: 100dvh;
    display: flex; flex-direction: column;
    padding: calc(var(--header-h) + 48px) var(--pad-x) 32px;
  }
  .footer-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: clamp(24px, 4vw, 72px);
    align-content: start;
  }
  .footer-col h4 {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 22px;
  }
  .footer-col ul li {
    margin-bottom: 12px;
  }
  .footer-col ul a {
    font-size: 14px;
    color: var(--text-dim);
    transition: color 200ms;
  }
  .footer-col ul a:hover { color: var(--text); }
  .footer-col.brand .logo { margin-bottom: 24px; }
  .footer-col.brand .logo img { height: 72px; }
  .footer-col.brand p {
    font-size: 13px;
    color: var(--muted);
    max-width: 28ch;
    line-height: 1.6;
  }
  .footer-col.brand .copy {
    margin-top: 18px;
    font-size: 12px;
    color: var(--muted);
  }

  .newsletter {
    display: flex; align-items: center;
    margin-top: 4px;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    overflow: hidden;
    transition: border-color 220ms;
  }
  .newsletter:focus-within { border-color: var(--accent); }
  .newsletter input {
    flex: 1;
    padding: 12px 18px;
    background: transparent;
    border: 0;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    outline: none;
  }
  .newsletter input::placeholder { color: var(--muted); }
  .newsletter button {
    padding: 10px 18px;
    margin: 4px;
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    border-radius: 999px;
    transition: transform 200ms;
  }
  .newsletter button:hover { transform: translateX(2px); }

  .socials {
    display: flex; gap: 10px;
  }
  .socials a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--text-dim);
    transition: color 220ms, border-color 220ms, transform 220ms, background 220ms;
  }
  .socials a:hover {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
  }
  .socials svg { width: 16px; height: 16px; }

  .footer-bottom {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-bottom .links { display: flex; gap: 22px; }

  /* =========================================================
     Hero (first sub-slide) special — keep simple
     ========================================================= */

  /* =========================================================
     Responsive
     ========================================================= */
  @media (max-width: 880px) {
    :root { --header-h: 64px; }
    .nav, .header > .cta { display: none; }
    .burger { display: flex; }
    .hslide {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      gap: 24px;
      padding: calc(var(--header-h) + 16px) var(--pad-x) 110px;
      align-content: center;
    }
    .hslide-graphic {
      grid-row: 2;
      justify-self: center;
      max-width: 280px;
    }
    .hslide-text { grid-row: 1; }
    .hslide-text h2 { font-size: clamp(28px, 8vw, 40px); }
    .hslide-text .meta { gap: 24px; }
    .hslide-text .meta-item strong { font-size: 22px; }
    .vdots { right: 12px; gap: 10px; }
    .vdots button { width: 8px; height: 8px; }
    .hdots { bottom: 22px; }
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
    .footer-col.brand { grid-column: 1 / -1; }
    .footer-col.subscribe { grid-column: 1 / -1; }
    .footer-slide { padding-bottom: 80px; overflow-y: auto; }

    .partners-overlay { max-width: 78vw; }
    .partners-overlay p { font-size: 14px; }
  }

  @media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hslide-text .meta { flex-wrap: wrap; gap: 16px 24px; }
  }

  /* Edge swipe hint */
  .edge-hint {
    position: fixed; right: 0; top: 0; bottom: 0;
    width: 18px;
    z-index: 53;
    display: none;
    pointer-events: none;
  }
  @media (max-width: 880px) {
    .edge-hint { display: block; }
  }

  /* Reduce motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      transition-duration: 0.001ms !important;
    }
    .hslide-text h2 .line,
    .hslide-text p,
    .hslide-text .meta,
    .hslide-graphic { opacity: 1; transform: none; }
  }