/* ============================================================
   ERICAN CONNECT — Connecting People. Creating Possibilities.
   ============================================================ */

:root {
  --navy: #1E375F;
  --navy-deep: #0B1830;
  --navy-mid: #16294A;
  --sky: #4AA7F2;
  --orange: #F97316;
  --white: #FFFFFF;
  --bg-light: #F5F8FC;
  --bg-soft: #EDF3FA;
  --text: #33415C;
  --text-light: #8A99B5;
  --line: #E2EAF4;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(30, 55, 95, 0.06);
  --shadow-md: 0 12px 40px rgba(30, 55, 95, 0.10);
  --shadow-lg: 0 24px 70px rgba(11, 24, 48, 0.16);
  --grad: linear-gradient(90deg, var(--sky), var(--orange));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--sky); color: #fff; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px;
  transition: opacity .7s var(--ease), visibility .7s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.loader-mark {
  font-weight: 700; font-size: 1.05rem; letter-spacing: .42em;
  color: #fff; text-transform: uppercase;
}
.loader-mark span { color: var(--sky); }
.loader-bar {
  width: 180px; height: 2px; background: rgba(255,255,255,.12);
  border-radius: 2px; overflow: hidden;
}
.loader-bar i {
  display: block; height: 100%; width: 40%;
  background: var(--grad); border-radius: 2px;
  animation: loadSlide 1.1s ease-in-out infinite;
}
@keyframes loadSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(480%); }
}

/* ---------- Scroll progress ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  z-index: 1001; pointer-events: none;
}
#progress i {
  display: block; height: 100%; width: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: background .45s var(--ease), padding .45s var(--ease), box-shadow .45s;
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo img { height: 58px; width: auto; transition: filter .45s, height .45s; filter: drop-shadow(0 2px 10px rgba(6,14,30,.45)); }
.nav.on-dark .nav-logo img { filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  color: rgba(255,255,255,.82); position: relative; padding: 4px 0;
  transition: color .3s;
  white-space: nowrap; flex: 0 0 auto;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: #fff; }
.nav-cta,
.nav-links a.nav-cta {
  font-size: .9rem; font-weight: 600; color: #fff !important;
  padding: 12px 30px; border-radius: 100px;
  background: var(--orange);
  box-shadow: 0 6px 20px rgba(249,115,22,.35);
  transition: transform .3s var(--ease), box-shadow .3s;
  white-space: nowrap; flex: 0 0 auto;
  width: max-content; min-width: max-content;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(249,115,22,.45); }

.nav.scrolled {
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(30,55,95,.07);
}
.nav.scrolled .nav-logo img { filter: none; height: 46px; }
.nav.scrolled .nav-links a { color: var(--navy); }
.nav.scrolled .nav-links a:hover { color: var(--sky); }
.nav.scrolled .nav-cta { color: #fff !important; }

/* Burger */
.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span {
  width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: all .35s var(--ease);
}
.nav.scrolled .burger span { background: var(--navy); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-size: 1.5rem; font-weight: 600; color: #fff; padding: 12px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu a:nth-child(1) { transition-delay: .08s; }
.mobile-menu a:nth-child(2) { transition-delay: .14s; }
.mobile-menu a:nth-child(3) { transition-delay: .20s; }
.mobile-menu a:nth-child(4) { transition-delay: .26s; }
.mobile-menu a:nth-child(5) { transition-delay: .32s; }
.mobile-menu a:nth-child(6) { transition-delay: .38s; }
.mobile-menu .menu-mail { font-size: 1rem; color: var(--sky); margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  background: radial-gradient(1200px 700px at 70% 20%, #21406F 0%, var(--navy-deep) 55%, #060E1E 100%);
  display: flex; align-items: center;
  overflow: hidden;
}
#net {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,14,30,.5) 0%, rgba(6,14,30,0) 22%, rgba(6,14,30,0) 60%, rgba(6,14,30,.85) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto; padding: 150px 28px 110px;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sky);
  border: 1px solid rgba(74,167,242,.35);
  background: rgba(74,167,242,.08);
  padding: 9px 18px; border-radius: 100px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-badge i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .45; transform: scale(.8);} }

.hero h1 {
  margin: 30px 0 0;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.12; font-weight: 700; letter-spacing: -.025em;
  color: #fff;
}
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, #7CC2FF 0%, #2E7FE8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero h1 .hl-orange { font-weight: inherit; color: var(--orange); }

/* ---------- Hero space backdrop ---------- */
.hero-bgfx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bgfx i { position: absolute; display: block; }
.hero-bgfx .stars {
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 25px 35px, rgba(255,255,255,.9), transparent 50%),
    radial-gradient(1px 1px at 160px 95px, rgba(190,220,255,.75), transparent 50%),
    radial-gradient(1.4px 1.4px at 85px 185px, rgba(255,255,255,.6), transparent 50%),
    radial-gradient(1px 1px at 215px 225px, rgba(150,200,255,.8), transparent 50%),
    radial-gradient(1px 1px at 120px 250px, rgba(255,255,255,.5), transparent 50%);
  background-size: 270px 270px;
  opacity: .55;
}
.hero-bgfx .nebula {
  right: -14%; top: -28%; width: 72%; aspect-ratio: 1.1;
  background:
    radial-gradient(closest-side at 62% 38%, rgba(110,150,255,.16), transparent 70%),
    radial-gradient(closest-side at 38% 62%, rgba(185,125,255,.09), transparent 70%);
  transform: rotate(-28deg);
}
.hero-bgfx .earth {
  left: 50%; bottom: calc(24vh - 190vw);
  width: 190vw; aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(120% 120% at 32% 10%, #16294A 0%, #0A1426 40%, #04091A 72%);
  box-shadow:
    0 -16px 70px rgba(74,167,242,.32),
    0 -3px 20px rgba(140,195,255,.5),
    inset 0 30px 70px rgba(86,156,255,.22);
}
.hero-bgfx .earth-flare {
  /* thin sunrise glow hugging the horizon curve, not a floating blob */
  left: 4%; bottom: calc(24vh - 7vw); width: 34%; aspect-ratio: 7;
  background: radial-gradient(closest-side, rgba(255,150,60,.4), rgba(255,120,30,.12) 60%, transparent 80%);
  filter: blur(6px);
  transform: rotate(7deg);
}

/* ---------- Orbit labels around the robot ---------- */
.orbit { position: absolute; inset: 0; pointer-events: none; }
.orbit-ring {
  position: absolute; left: 50%; top: 50%;
  width: 112%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(74,167,242,.22);
  border-radius: 50%;
}
.orbit-ring::after {
  content: ''; position: absolute; inset: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(249,115,22,.5);
  animation: orbitSpin 26s linear infinite;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.sat {
  position: absolute;
  display: flex; align-items: flex-start; gap: 9px;
  font-size: .82rem; font-weight: 500; line-height: 1.4;
  color: rgba(255,255,255,.88);
  max-width: 118px;
  text-shadow: 0 2px 10px rgba(4,10,24,.8);
}
.sat i {
  flex: 0 0 auto; width: 9px; height: 9px; margin-top: 4px;
  border-radius: 50%; background: #ABD8FF;
  box-shadow: 0 0 10px #4AA7F2, 0 0 24px rgba(74,167,242,.7);
  animation: pulse 3.2s ease-in-out infinite;
}
.sat-1 { top: -5%; left: 60%; }
.sat-2 { top: 24%; right: -15%; }
.sat-3 { top: 62%; right: -13%; }
.sat-4 { top: 26%; left: -17%; }
.sat-5 { top: 74%; left: -13%; }
.sat-1 i { animation-delay: -0.6s; }
.sat-3 i { animation-delay: -1.4s; }
.sat-5 i { animation-delay: -2.2s; }
.hero p.identity {
  margin-top: 24px; max-width: 56ch;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.92); font-weight: 500; line-height: 1.55;
}
.hero p.identity b { font-weight: 700; color: #fff; }
.hero p.lead {
  margin-top: 14px; max-width: 560px;
  font-size: clamp(.92rem, 1.2vw, 1rem);
  color: rgba(255,255,255,.62);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-actions .btn { padding: 15px 24px; font-size: .92rem; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem; font-weight: 600;
  padding: 16px 32px; border-radius: 100px; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s;
  border: 0;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  color: #fff; background: var(--orange);
  box-shadow: 0 10px 30px rgba(249,115,22,.38);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(249,115,22,.5); }
.btn-ghost {
  color: #fff; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }

/* V2 — hero grid with live robot */
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 4vw, 60px); align-items: center;
}
#robot-wrap { position: relative; height: clamp(380px, 58vh, 580px); }
/* full-page fixed stage: the robot leaves the hero and travels with scroll.
   z-index 1 = above section backgrounds, BEHIND all content (.wrap is z-2),
   so he passes behind images, cards and text instead of blocking them. */
#robot-stage {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
}
#robot-stage canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  display: block;
}
.robot-glow {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(74,167,242,.22), rgba(74,167,242,.06) 55%, transparent 74%);
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { opacity: .85; transform: translate(-50%,-50%) scale(1);} 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.06);} }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 70px);
  margin-top: 70px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat .num {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; color: #fff;
  letter-spacing: -.02em; line-height: 1.1; display: flex; align-items: baseline;
}
.stat .num em { font-style: normal; color: var(--sky); margin-left: 2px; }
.stat .lbl { font-size: .86rem; color: rgba(255,255,255,.55); margin-top: 6px; letter-spacing: .02em; }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.5); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 14px; position: relative;
}
.scroll-hint .mouse::after {
  content: ''; position: absolute; top: 7px; left: 50%; margin-left: -1.5px;
  width: 3px; height: 7px; border-radius: 3px; background: var(--sky);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1;} 70% { transform: translateY(12px); opacity: 0;} 100% { opacity: 0;} }

/* ---------- Sections (shared) ---------- */
section { position: relative; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.sec { padding: clamp(80px, 11vw, 140px) 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sky);
}
.kicker::before { content: ''; width: 34px; height: 2px; background: var(--grad); border-radius: 2px; }
h2.title {
  margin-top: 18px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.14; font-weight: 700; letter-spacing: -.02em;
  color: var(--navy);
}
h2.title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sub { margin-top: 18px; font-size: 1.04rem; color: var(--text); max-width: 62ch; }
.sec-head.center { text-align: center; }
.sec-head.center .sub { margin-left: auto; margin-right: auto; }
.sec-head.center .kicker::before { display: none; }
.sec-head.center .kicker::after { display: none; }

/* ---------- What we do ---------- */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-media { position: relative; }
.about-media .ring {
  position: absolute; inset: -8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(74,167,242,.13), transparent 72%);
  z-index: 0;
}
.about-media img {
  position: relative; z-index: 1; border-radius: 26px;
  box-shadow: var(--shadow-lg);
}
.float-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  padding: 14px 20px; border-radius: 16px;
  box-shadow: var(--shadow-md);
  font-size: .85rem; font-weight: 600; color: var(--navy);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-chip .ic {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.float-chip small { display: block; font-weight: 500; color: var(--text-light); font-size: .76rem; }
.chip-a { top: 6%; left: -7%; }
.chip-b { bottom: 8%; right: -6%; animation-delay: -2.7s; }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }

.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 38px; }
.fcard {
  background: var(--bg-light); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(74,167,242,.4); }
.fcard .ic {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.ic.blue { background: rgba(74,167,242,.13); color: var(--sky); }
.ic.orange { background: rgba(249,115,22,.12); color: var(--orange); }
.ic.navy { background: rgba(30,55,95,.09); color: var(--navy); }
.fcard h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.fcard p { font-size: .9rem; color: var(--text); }

/* ---------- Programmes ---------- */
.programmes { background: linear-gradient(180deg, var(--bg-light), var(--white)); overflow: hidden; }
.hrd-chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px;
  font-size: .82rem; font-weight: 600; color: var(--navy);
  background: #fff; border: 1px dashed rgba(249,115,22,.55);
  padding: 10px 18px; border-radius: 100px;
}
.hrd-chip b { color: var(--orange); font-weight: 700; }
.prog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px;
  margin-top: 56px;
}
.pcard {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .5s, border-color .5s, transform .5s var(--ease);
}
.pcard:hover { box-shadow: var(--shadow-lg); border-color: rgba(74,167,242,.45); transform: translateY(-4px); }
.pcard::before {
  content: ''; position: absolute; top: 0; left: 36px; right: 36px; height: 3px;
  background: var(--grad); border-radius: 0 0 4px 4px;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease);
}
.pcard:hover::before { transform: scaleX(1); }
.pcard .ic { width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.pcard h3 { font-size: 1.22rem; color: var(--navy); font-weight: 600; letter-spacing: -.01em; }
.pcard > p { margin-top: 10px; font-size: .93rem; }
.pcard ul { margin-top: 18px; display: grid; gap: 9px; }
.pcard li {
  position: relative; padding-left: 26px; font-size: .9rem; color: var(--text);
}
.pcard li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(74,167,242,.14);
}
.pcard li::after {
  content: ''; position: absolute; left: 4.2px; top: 11.2px;
  width: 5px; height: 3px; border-left: 1.6px solid var(--sky); border-bottom: 1.6px solid var(--sky);
  transform: rotate(-45deg);
}
.pcard .tag {
  position: absolute; top: 30px; right: 30px;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); background: rgba(249,115,22,.1);
  padding: 6px 12px; border-radius: 100px;
}

/* ---------- Who we work with (dark) ---------- */
.who {
  background: radial-gradient(1000px 600px at 18% 0%, #1d3a68 0%, var(--navy-deep) 60%);
  color: #fff;
}
.who .kicker { color: var(--sky); }
.who h2.title { color: #fff; }
.who .sub { color: rgba(255,255,255,.68); }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.wcard {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px; padding: 38px 32px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .45s var(--ease), background .45s, border-color .45s;
}
.wcard:hover { transform: translateY(-8px); background: rgba(255,255,255,.075); border-color: rgba(74,167,242,.45); }
.wcard .glow {
  position: absolute; top: -40%; right: -30%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(74,167,242,.22), transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.wcard:hover .glow { opacity: 1; }
.wcard .num {
  font-size: .8rem; font-weight: 700; letter-spacing: .18em;
  color: var(--orange);
}
.wcard h3 { margin-top: 14px; font-size: 1.25rem; font-weight: 600; color: #fff; }
.wcard p { margin-top: 12px; font-size: .92rem; color: rgba(255,255,255,.66); }
.who-line { position: absolute; inset: 0; pointer-events: none; opacity: .5; }

/* ---------- Partners ---------- */
.partners { background: var(--white); padding-bottom: clamp(60px, 8vw, 100px); }
.marquee {
  position: relative; overflow: hidden; margin-top: 50px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; gap: 16px; width: max-content;
  animation: scrollX 46s linear infinite;
}
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-50%); } }
.mq-item {
  flex: 0 0 auto;
  font-size: .95rem; font-weight: 600; color: var(--navy);
  background: var(--bg-light); border: 1px solid var(--line);
  padding: 16px 30px; border-radius: 100px; white-space: nowrap;
  transition: border-color .3s, color .3s, background .3s;
}
.mq-item:hover { border-color: var(--sky); color: var(--sky); background: #fff; }
.partners .more { text-align: center; margin-top: 36px; font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-light); font-weight: 600; }

/* ---------- Collaborate ---------- */
.collab { background: linear-gradient(180deg, var(--bg-light), var(--white)); overflow: hidden; }
.collab-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.collab-list { margin-top: 30px; display: grid; gap: 0; }
.collab-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.collab-item:last-child { border-bottom: 0; }
.collab-item .ck {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(74,167,242,.12); color: var(--sky);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.collab-item p { font-size: .95rem; color: var(--text); }
.collab-item p b { color: var(--navy); font-weight: 600; }
.collab-media { position: relative; }
.collab-media img { border-radius: 26px; box-shadow: var(--shadow-lg); }
.counters {
  position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 0;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px 12px; width: max-content; max-width: 94%;
}
.counter { padding: 0 clamp(14px, 2.2vw, 28px); text-align: center; }
.counter + .counter { border-left: 1px solid var(--line); }
.counter .num {
  font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 700; color: var(--navy); letter-spacing: -.02em;
}
.counter .num em { font-style: normal; color: var(--orange); }
.counter .lbl { font-size: .76rem; color: var(--text-light); margin-top: 4px; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(900px 500px at 80% 100%, rgba(74,167,242,.16), transparent 60%),
    radial-gradient(700px 500px at 10% 0%, rgba(249,115,22,.1), transparent 55%),
    linear-gradient(180deg, var(--navy-deep), #060E1E);
  color: #fff; text-align: center;
  overflow: hidden;
}
.contact .kicker { color: var(--sky); justify-content: center; }
.contact .kicker::before { display: none; }
.contact h2.title { color: #fff; max-width: 18ch; margin-left: auto; margin-right: auto; }
.contact .sub { color: rgba(255,255,255,.66); margin-left: auto; margin-right: auto; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 44px; }
.contact-mail {
  margin-top: 34px; font-size: 1rem; color: rgba(255,255,255,.55);
}
.contact-mail a {
  color: var(--sky); font-weight: 600;
  border-bottom: 1px solid rgba(74,167,242,.4);
  transition: color .3s, border-color .3s;
}
.contact-mail a:hover { color: #fff; border-color: #fff; }
.contact-address {
  margin-top: 16px; font-size: .9rem; color: rgba(255,255,255,.45);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.contact-address svg { color: var(--orange); flex: 0 0 auto; }
.contact-address + .contact-address { margin-top: 8px; }
.contact-address a { transition: color .3s; }
.contact-address a:hover { color: var(--sky); }

/* ---------- Contact / general enquiry form ---------- */
.enq-wrap { max-width: 620px; margin: 40px auto 0; }
.enq-card {
  background: #fff; border-radius: 22px; text-align: left;
  padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-lg);
}
.enq-title { font-size: 1.3rem; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.enq-sub { font-size: .85rem; color: var(--text-light); margin: 5px 0 22px; }
.enq-card .req { color: var(--orange); }
.enq-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.enq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enq-field label { font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.enq-field input,
.enq-field textarea {
  width: 100%; font-family: inherit; font-size: .95rem; color: var(--text);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--bg-light); transition: border-color .25s, background .25s, box-shadow .25s;
}
.enq-field textarea { resize: vertical; min-height: 112px; line-height: 1.55; }
.enq-field input::placeholder,
.enq-field textarea::placeholder { color: var(--text-light); }
.enq-field input:focus,
.enq-field textarea:focus {
  outline: none; border-color: var(--sky); background: #fff;
  box-shadow: 0 0 0 4px rgba(74,167,242,.14);
}
.enq-submit { width: 100%; justify-content: center; margin-top: 6px; }
.enq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq-alert { display: flex; flex-direction: column; gap: 4px; padding: 15px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .9rem; }
.enq-alert strong { font-size: .98rem; }
.enq-alert--ok { background: rgba(34,160,90,.1); border: 1px solid rgba(34,160,90,.4); color: #0F5C33; }
.enq-alert--err { background: rgba(214,69,69,.08); border: 1px solid rgba(214,69,69,.35); color: #9A2A2A; }
.enq-alert a { font-weight: 700; text-decoration: underline; color: inherit; }
@media (max-width: 600px) { .enq-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.footer { background: #060E1E; color: rgba(255,255,255,.55); padding: 54px 0 40px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-logo img { height: 52px; filter: brightness(0) invert(1); opacity: .92; }
.footer .tagline { font-size: .9rem; }
.footer .tagline b { color: #fff; font-weight: 600; }
.footer-bottom {
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.38);
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color .3s; }
.footer-bottom a:hover { color: var(--sky); }

/* ---------- Scroll flow line ---------- */
body { position: relative; }
#flowline {
  position: absolute; left: 0; width: 100%;
  z-index: 1; pointer-events: none;
}
#flowline svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* content sits above the line and the travelling robot; backgrounds stay below */
.sec .wrap, .marquee, .partners .more, .footer .wrap { position: relative; z-index: 2; }

/* prevent layout shift from square lazy images (keeps flow line measurements stable) */
.about-media img, .collab-media img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

/* ---------- Reveal (JS-driven) ---------- */
.reveal { opacity: 0; transform: translateY(44px); will-change: transform, opacity; }
html.no-js .reveal, html.reduced .reveal { opacity: 1; transform: none; }

/* Back to top */
#toTop {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .4s var(--ease);
}
#toTop.show { opacity: 1; visibility: visible; transform: none; }
#toTop:hover { background: var(--sky); }

/* ---------- Upcoming event spotlight (home) ---------- */
.evt-promo { background: var(--white); }
.evt-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: clamp(28px, 4vw, 56px); margin-top: 56px;
  padding: clamp(32px, 4.5vw, 60px);
  border-radius: 28px;
  background:
    radial-gradient(820px 460px at 86% 12%, #21406F 0%, rgba(11,24,48,0) 60%),
    linear-gradient(180deg, var(--navy-deep), #060E1E);
  border: 1px solid rgba(74,167,242,.2);
  box-shadow: var(--shadow-lg);
}
.evt-card::after {
  content: ''; position: absolute; left: -6%; bottom: -42%;
  width: 42%; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(249,115,22,.16), transparent 70%);
}
.evt-card-body { position: relative; z-index: 1; }
.evt-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky);
}
.evt-kicker i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 12px var(--orange); animation: pulse 2.2s ease-in-out infinite;
}
.evt-headline {
  margin-top: 16px; font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.08;
}
.evt-headline .hl-orange { color: var(--orange); }
.evt-sub { margin-top: 14px; max-width: 56ch; font-size: 1.02rem; color: rgba(255,255,255,.8); }
.evt-facts { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.evt-facts li { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: #fff; }
.evt-facts svg { color: var(--sky); flex: 0 0 auto; }
.evt-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.evt-datecard {
  position: relative; z-index: 1; flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: clamp(150px, 14vw, 184px); aspect-ratio: 1; border-radius: 24px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.evt-dd { font-size: clamp(3rem, 5vw, 4.2rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; }
.evt-mm { margin-top: 4px; font-size: 1rem; font-weight: 700; letter-spacing: .3em; color: var(--sky); }
.evt-yy { margin-top: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .18em; color: rgba(255,255,255,.5); }
@media (max-width: 820px) {
  .evt-card { grid-template-columns: 1fr; }
  .evt-datecard { display: none; }
}

/* ---------- Responsive ---------- */
/* burger kicks in before the nav links can get squeezed */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .burger { display: flex; }
}
@media (max-width: 1024px) {
  .orbit { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  #robot-wrap { order: -1; height: clamp(250px, 34vh, 360px); width: 100%; max-width: 430px; margin: 0 auto; }
  .hero-inner { padding-top: 120px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-copy h1 { max-width: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; text-align: center; }
  .stat .num { justify-content: center; }
  .prog-grid { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .collab-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; margin: 0 auto; }
  .collab-media { max-width: 560px; margin: 0 auto 70px; order: -1; }
  .chip-a { left: 2%; } .chip-b { right: 2%; }
}
@media (max-width: 760px) {
  #flowline { display: none; }   /* no scroll line on phones */
  .nav-logo img { height: 46px; }
  .nav.scrolled .nav-logo img { height: 40px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero-inner { padding: 130px 22px 100px; }
  .hero-stats { gap: 26px 36px; margin-top: 52px; }
  .wrap { padding: 0 22px; }
  .prog-grid, .who-grid, .feature-cards { grid-template-columns: 1fr; }
  .pcard { padding: 28px 24px; }
  .pcard .tag { position: static; display: inline-block; margin-bottom: 14px; }
  .counters { position: static; transform: none; margin: 26px auto 0; width: 100%; max-width: 100%; flex-wrap: wrap; justify-content: center; gap: 14px 0; }
  .collab-media { margin-bottom: 26px; }
  .footer-inner, .footer-bottom { justify-content: center; text-align: center; }
  .scroll-hint { display: none; }
  .float-chip { padding: 10px 14px; font-size: .76rem; }
  .float-chip .ic { width: 30px; height: 30px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}
