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

    :root {
      --void: #010812;
      --abyss: #030e20;
      --deep: #061628;
      --navy: #0a2040;
      --steel: #0d2d56;
      --azure: #1255a8;
      --electric: #1a7fff;
      --neon: #00d4ff;
      --ice: #a8e8ff;
      --white: #eef6ff;
      --muted: #7ab3d4;
      --faint: #4a7a9b;
      --green: #00ff9d;
      --warn: #ffb800;
      --grid-c: rgba(0, 212, 255, 0.04);
      --glow-c: rgba(0, 212, 255, 0.3);
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Rajdhani', sans-serif;
      background: var(--void);
      color: var(--white);
      overflow-x: hidden;
      min-height: 100vh;
      cursor: crosshair;
    }

    /* ─── CANVAS STARFIELD ─── */
    #canvas {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    /* ─── GRID OVERLAY ─── */
    .grid-overlay {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image:
        linear-gradient(var(--grid-c) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-c) 1px, transparent 1px);
      background-size: 50px 50px;
    }

    /* ─── ORBITAL RINGS ─── */
    .orbital-ring {
      position: fixed;
      border-radius: 50%;
      border: 1px solid rgba(0, 212, 255, 0.06);
      pointer-events: none;
      z-index: 0;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .or1 {
      width: 700px;
      height: 700px;
      animation: spin 60s linear infinite;
    }

    .or2 {
      width: 1000px;
      height: 1000px;
      animation: spin 90s linear infinite reverse;
    }

    .or3 {
      width: 1300px;
      height: 1300px;
      animation: spin 130s linear infinite;
    }

    .or1::after,
    .or2::after,
    .or3::after {
      content: '';
      position: absolute;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      top: -4px;
      left: 50%;
      transform: translateX(-50%);
    }

    .or1::after {
      background: var(--green);
      box-shadow: 0 0 12px var(--green);
    }

    .or2::after {
      background: var(--neon);
      box-shadow: 0 0 10px var(--neon);
    }

    .or3::after {
      background: var(--warn);
      box-shadow: 0 0 8px var(--warn);
    }

    @keyframes spin {
      from {
        transform: translate(-50%, -50%) rotate(0)
      }

      to {
        transform: translate(-50%, -50%) rotate(360deg)
      }
    }

    /* ─── CUSTOM CURSOR ─── */
    .cur {
      width: 20px;
      height: 20px;
      position: fixed;
      z-index: 9999;
      pointer-events: none;
      transform: translate(-50%, -50%);
      border: 1px solid var(--neon);
      clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
      box-shadow: 0 0 10px var(--glow-c);
      animation: curPulse 2s ease-in-out infinite alternate;
      transition: transform 0.1s;
    }

    @keyframes curPulse {
      from {
        box-shadow: 0 0 5px var(--glow-c);
      }

      to {
        box-shadow: 0 0 20px var(--glow-c), 0 0 40px rgba(0, 212, 255, 0.1);
      }
    }

    /* ─── NAV ─── */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 500;
      height: 60px;
      background: rgba(1, 8, 18, 0.92);
      border-bottom: 1px solid rgba(0, 212, 255, 0.1);
      backdrop-filter: blur(20px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 4vw;
    }

    .brand {
      font-family: 'Orbitron', monospace;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--neon);
      letter-spacing: 0.15em;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .brand-hex {
      width: 28px;
      height: 28px;
      border: 1px solid var(--neon);
      clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
      background: rgba(0, 212, 255, 0.1);
      animation: hexSpin 10s linear infinite;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.5rem;
      color: var(--neon);
    }

    @keyframes hexSpin {
      from {
        transform: rotate(0)
      }

      to {
        transform: rotate(360deg)
      }
    }

    .tabs {
      display: flex;
      gap: 0;
    }

    .tab {
      font-family: 'Orbitron', monospace;
      font-size: 0.58rem;
      font-weight: 400;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      background: none;
      border: none;
      padding: 0 22px;
      height: 60px;
      cursor: crosshair;
      position: relative;
      transition: color 0.3s;
    }

    .tab::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--neon);
      transform: scaleX(0);
      transition: transform 0.3s ease;
      box-shadow: 0 0 8px var(--neon);
    }

    .tab.on {
      color: var(--neon);
    }

    .tab.on::before,
    .tab:hover::before {
      transform: scaleX(1);
    }

    .tab:hover {
      color: var(--ice);
    }

    .live-badge {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.6rem;
      color: var(--green);
      letter-spacing: 0.12em;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .live-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--green);
      animation: blink 1.2s ease-in-out infinite;
    }

    @keyframes blink {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.15;
      }
    }

    /* ─── PAGES ─── */
    .page {
      display: none;
      position: relative;
      z-index: 1;
      min-height: 100vh;
      padding-top: 60px;
    }

    .page.on {
      display: block;
    }

    /* ════════════════════════════
   HOME PAGE
════════════════════════════ */
    .home-wrap {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 80px 5vw 60px;
    }

    /* Earth Globe */
    .earth-container {
      position: relative;
      width: 260px;
      height: 260px;
      margin: 0 auto 56px;
    }

    .earth {
      width: 260px;
      height: 260px;
      border-radius: 50%;
      background:
        radial-gradient(circle at 32% 32%, #1a6adb 0%, #093a90 30%, #041d55 65%, #010a20 100%);
      overflow: hidden;
      position: relative;
      box-shadow:
        0 0 0 1px rgba(0, 212, 255, 0.2),
        0 0 50px rgba(10, 80, 200, 0.5),
        0 0 120px rgba(0, 100, 200, 0.2),
        inset -40px -25px 70px rgba(0, 0, 0, 0.7);
      animation: earthRotate 20s ease-in-out infinite alternate;
    }

    @keyframes earthRotate {
      from {
        filter: hue-rotate(-5deg) brightness(0.95);
      }

      to {
        filter: hue-rotate(5deg) brightness(1.05);
      }
    }

    /* continents */
    .earth::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 28% 18% at 22% 38%, rgba(0, 180, 80, 0.45) 0%, transparent 100%),
        radial-gradient(ellipse 18% 28% at 68% 30%, rgba(0, 160, 60, 0.35) 0%, transparent 100%),
        radial-gradient(ellipse 22% 14% at 52% 68%, rgba(0, 150, 55, 0.3) 0%, transparent 100%),
        radial-gradient(ellipse 12% 20% at 80% 65%, rgba(0, 140, 50, 0.25) 0%, transparent 100%);
    }

    /* atmosphere glow */
    .earth::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: radial-gradient(circle at 28% 22%, rgba(100, 180, 255, 0.18) 0%, transparent 55%);
    }

    /* cloud layer */
    .clouds {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      overflow: hidden;
      animation: cloudDrift 40s linear infinite;
    }

    .clouds::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 35% 8% at 60% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 100%),
        radial-gradient(ellipse 20% 6% at 30% 55%, rgba(255, 255, 255, 0.08) 0%, transparent 100%),
        radial-gradient(ellipse 28% 6% at 75% 70%, rgba(255, 255, 255, 0.09) 0%, transparent 100%);
    }

    @keyframes cloudDrift {
      from {
        transform: rotate(0)
      }

      to {
        transform: rotate(360deg)
      }
    }

    /* equator line */
    .earth-equator {
      position: absolute;
      width: 340px;
      height: 100px;
      border: 1px solid rgba(0, 212, 255, 0.15);
      border-radius: 50%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotateX(72deg);
    }

    /* satellite on equator */
    .earth-sat {
      position: absolute;
      width: 340px;
      height: 100px;
      border-radius: 50%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotateX(72deg);
      animation: satOrbit 5s linear infinite;
    }

    .earth-sat::before {
      content: '';
      position: absolute;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      top: -5px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--green);
      box-shadow: 0 0 14px var(--green), 0 0 28px rgba(0, 255, 157, 0.4);
    }

    @keyframes satOrbit {
      from {
        transform: translate(-50%, -50%) rotateX(72deg) rotate(0)
      }

      to {
        transform: translate(-50%, -50%) rotateX(72deg) rotate(360deg)
      }
    }

    .home-code {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.68rem;
      color: var(--green);
      letter-spacing: 0.35em;
      text-transform: uppercase;
      margin-bottom: 20px;
      opacity: 0;
      animation: up 0.7s ease forwards 0.4s;
    }

    .home-h1 {
      font-family: 'Orbitron', monospace;
      font-weight: 900;
      font-size: clamp(2.2rem, 7vw, 6rem);
      line-height: 0.95;
      background: linear-gradient(135deg, var(--white) 0%, var(--neon) 55%, var(--ice) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 24px;
      opacity: 0;
      animation: up 0.9s ease forwards 0.7s;
    }

    .home-sub {
      font-family: 'Rajdhani', sans-serif;
      font-weight: 300;
      font-size: clamp(0.95rem, 2vw, 1.25rem);
      color: var(--muted);
      max-width: 560px;
      margin: 0 auto 48px;
      line-height: 1.7;
      opacity: 0;
      animation: up 0.9s ease forwards 1s;
    }

    .home-btns {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      opacity: 0;
      animation: up 0.7s ease forwards 1.3s;
    }

    .btn-primary {
      font-family: 'Orbitron', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.2em;
      background: var(--neon);
      color: var(--void);
      border: none;
      padding: 14px 36px;
      cursor: crosshair;
      clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
      transition: box-shadow 0.3s, transform 0.2s;
      font-weight: 600;
    }

    .btn-primary:hover {
      box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
      transform: translateY(-2px);
    }

    .btn-ghost {
      font-family: 'Orbitron', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.2em;
      background: transparent;
      color: var(--neon);
      border: 1px solid rgba(0, 212, 255, 0.35);
      padding: 14px 36px;
      cursor: crosshair;
      transition: border-color 0.3s, box-shadow 0.3s;
    }

    .btn-ghost:hover {
      border-color: var(--neon);
      box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
    }

    /* stats bar */
    .stats-bar {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border-top: 1px solid rgba(0, 212, 255, 0.08);
      border-bottom: 1px solid rgba(0, 212, 255, 0.08);
      margin-top: 80px;
      background: rgba(3, 14, 32, 0.6);
    }

    .stat {
      padding: 36px 20px;
      text-align: center;
      border-right: 1px solid rgba(0, 212, 255, 0.06);
      opacity: 0;
      transform: translateY(16px);
      transition: all 0.6s ease;
    }

    .stat:last-child {
      border-right: none;
    }

    .stat.in {
      opacity: 1;
      transform: translateY(0);
    }

    .stat:hover {
      background: rgba(13, 40, 86, 0.4);
    }

    .stat-n {
      font-family: 'Orbitron', monospace;
      font-size: 2.6rem;
      font-weight: 900;
      color: var(--neon);
      text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
      display: block;
      line-height: 1;
      margin-bottom: 6px;
    }

    .stat-u {
      font-size: 1.4rem;
      color: var(--green);
    }

    .stat-l {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--muted);
    }

    /* ════════════════════════════
   ABOUT PAGE
════════════════════════════ */
    .inner {
      padding: 80px 7vw;
      max-width: 1300px;
      margin: 0 auto;
    }

    .pg-eyebrow {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--green);
      margin-bottom: 14px;
    }

    .pg-h1 {
      font-family: 'Orbitron', monospace;
      font-weight: 700;
      font-size: clamp(1.8rem, 4vw, 3.8rem);
      line-height: 1.05;
      margin-bottom: 50px;
      color: var(--white);
    }

    .pg-h1 b {
      color: var(--neon);
      font-weight: 700;
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 70px;
      align-items: start;
    }

    @media(max-width:768px) {

      .about-grid,
      .team-grid-5 {
        grid-template-columns: 1fr !important;
      }
    }

    .about-text p {
      font-size: 1.05rem;
      font-weight: 300;
      color: rgba(223, 240, 255, 0.65);
      line-height: 1.8;
      margin-bottom: 18px;
    }

    .about-text p em {
      color: var(--neon);
      font-style: normal;
      font-weight: 500;
    }

    .specs {
      margin-top: 32px;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .spec-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 18px;
      background: rgba(10, 32, 64, 0.4);
      border: 1px solid rgba(0, 212, 255, 0.08);
      transition: border-color 0.3s, background 0.3s;
    }

    .spec-row:hover {
      border-color: rgba(0, 212, 255, 0.25);
      background: rgba(18, 48, 96, 0.5);
    }

    .spec-k {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.15em;
      color: var(--muted);
    }

    .spec-v {
      font-family: 'Orbitron', monospace;
      font-size: 0.75rem;
      color: var(--neon);
    }

    /* radar visual */
    .radar-box {
      height: 380px;
      background: var(--abyss);
      border: 1px solid rgba(0, 212, 255, 0.1);
      border-radius: 2px;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .radar-box::before {
      content: 'ACTIVE SCAN';
      position: absolute;
      top: 14px;
      left: 16px;
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.2em;
      color: var(--green);
    }

    .radar-circle {
      position: absolute;
      border-radius: 50%;
      border: 1px solid rgba(0, 212, 255, 0.12);
    }

    .rc1 {
      width: 80px;
      height: 80px;
    }

    .rc2 {
      width: 160px;
      height: 160px;
    }

    .rc3 {
      width: 240px;
      height: 240px;
    }

    .rc4 {
      width: 320px;
      height: 320px;
    }

    .radar-line {
      position: absolute;
      width: 50%;
      height: 1px;
      background: linear-gradient(to right, rgba(0, 212, 255, 0.6), transparent);
      top: 50%;
      left: 50%;
      transform-origin: left center;
      animation: radarSweep 3s linear infinite;
    }

    .radar-line::after {
      content: '';
      position: absolute;
      width: 120px;
      height: 120px;
      background: conic-gradient(from 180deg, rgba(0, 212, 255, 0.12), transparent 60deg);
      top: -60px;
      left: 0;
    }

    @keyframes radarSweep {
      from {
        transform: rotate(0)
      }

      to {
        transform: rotate(360deg)
      }
    }

    .radar-blip {
      position: absolute;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 8px var(--green);
      animation: blipFade 3s ease-in-out infinite;
    }

    @keyframes blipFade {
      0% {
        opacity: 0;
      }

      20% {
        opacity: 1;
      }

      100% {
        opacity: 0.2;
      }
    }

    /* ════════════════════════════
   MISSION PAGE
════════════════════════════ */
    .mission-items {
      margin-top: 20px;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .mi {
      display: grid;
      grid-template-columns: 80px 1fr;
      gap: 0;
      border: 1px solid rgba(0, 212, 255, 0.08);
      transition: border-color 0.4s, background 0.4s;
      opacity: 0;
      transform: translateX(-30px);
      transition2: all 0.6s ease;
    }

    .mi.in {
      opacity: 1;
      transform: translateX(0);
    }

    .mi:hover {
      border-color: rgba(0, 212, 255, 0.25);
      background: rgba(10, 32, 64, 0.35);
    }

    .mi-num {
      background: rgba(0, 212, 255, 0.04);
      display: flex;
      align-items: center;
      justify-content: center;
      border-right: 1px solid rgba(0, 212, 255, 0.08);
      font-family: 'Orbitron', monospace;
      font-size: 1.6rem;
      font-weight: 900;
      color: rgba(0, 212, 255, 0.15);
    }

    .mi-body {
      padding: 28px 30px;
    }

    .mi-tag {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--green);
      margin-bottom: 8px;
    }

    .mi-title {
      font-family: 'Orbitron', monospace;
      font-size: 1rem;
      font-weight: 500;
      color: var(--white);
      margin-bottom: 10px;
    }

    .mi-text {
      font-size: 0.92rem;
      color: var(--muted);
      line-height: 1.7;
      font-weight: 300;
    }

    .pillars {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      margin-top: 60px;
    }

    @media(max-width:700px) {
      .pillars {
        grid-template-columns: 1fr;
      }
    }

    .pillar {
      padding: 36px 28px;
      background: var(--abyss);
      border: 1px solid rgba(0, 212, 255, 0.07);
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s, background 0.3s;
    }

    .pillar:hover {
      border-color: rgba(0, 212, 255, 0.25);
      background: var(--deep);
    }

    .pillar-glow {
      position: absolute;
      top: -30px;
      right: -30px;
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0, 212, 255, 0.07), transparent);
    }

    .pillar-num {
      font-family: 'Orbitron', monospace;
      font-size: 4rem;
      font-weight: 900;
      color: rgba(0, 212, 255, 0.05);
      position: absolute;
      top: 10px;
      right: 16px;
    }

    .pillar-icon {
      font-size: 1.6rem;
      margin-bottom: 14px;
    }

    .pillar-title {
      font-family: 'Orbitron', monospace;
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      color: var(--neon);
      margin-bottom: 10px;
    }

    .pillar-text {
      font-size: 0.85rem;
      color: var(--muted);
      line-height: 1.65;
      font-weight: 300;
    }

    /* ════════════════════════════
   GALLERY PAGE
════════════════════════════ */
    .gallery-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      grid-template-rows: 320px 240px;
      gap: 3px;
      margin-top: 40px;
    }

    .gi {
      position: relative;
      overflow: hidden;
      background: var(--abyss);
      border: 1px solid rgba(0, 212, 255, 0.07);
    }

    .gi:first-child {
      grid-row: 1/3;
    }

    .gi-fill {
      width: 100%;
      height: 100%;
      transition: transform 0.8s cubic-bezier(.25, .46, .45, .94);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 8px;
      position: relative;
    }

    .gi:hover .gi-fill {
      transform: scale(1.06);
    }

    .g1 {
      background: radial-gradient(ellipse at 35% 40%, #1a4590, #0d2860, #040f28);
    }

    .g2 {
      background: radial-gradient(ellipse at 55% 35%, #123a80, #081c48, #020810);
    }

    .g3 {
      background: radial-gradient(ellipse at 45% 55%, #0e2e6a, #061530, #020812);
    }

    .g4 {
      background: radial-gradient(ellipse at 60% 40%, #162e72, #081640, #030a1e);
    }

    .g5 {
      background: radial-gradient(ellipse at 40% 60%, #18386e, #0a1c40, #030b1c);
    }

    .gi-icon {
      font-size: 3.5rem;
      opacity: 0.12;
      animation: floatIco 7s ease-in-out infinite;
    }

    @keyframes floatIco {

      0%,
      100% {
        transform: translateY(0) rotate(0);
      }

      50% {
        transform: translateY(-14px) rotate(3deg);
      }
    }

    /* scan line on hover */
    .gi-scanline {
      position: absolute;
      height: 2px;
      left: 0;
      right: 0;
      top: 0;
      background: linear-gradient(90deg, transparent, var(--neon), transparent);
      opacity: 0;
      pointer-events: none;
    }

    .gi:hover .gi-scanline {
      opacity: 0.5;
      animation: scanDown 2s ease-in-out infinite;
    }

    @keyframes scanDown {
      0% {
        top: 0%;
      }

      100% {
        top: 100%;
      }
    }

    /* corner brackets */
    .gi::before,
    .gi::after {
      content: '';
      position: absolute;
      width: 16px;
      height: 16px;
      border-color: var(--neon);
      border-style: solid;
      opacity: 0;
      transition: opacity 0.3s;
      z-index: 2;
    }

    .gi::before {
      top: 10px;
      left: 10px;
      border-width: 1px 0 0 1px;
    }

    .gi::after {
      bottom: 10px;
      right: 10px;
      border-width: 0 1px 1px 0;
    }

    .gi:hover::before,
    .gi:hover::after {
      opacity: 0.6;
    }

    .gi-label {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(1, 8, 18, 0.9), transparent);
      padding: 20px 16px 12px;
      transform: translateY(100%);
      transition: transform 0.4s ease;
    }

    .gi:hover .gi-label {
      transform: translateY(0);
    }

    .gi-label-code {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.18em;
      color: var(--neon);
    }

    /* ════════════════════════════
   TEAM PAGE
════════════════════════════ */
    .team-intro {
      max-width: 580px;
      margin-bottom: 60px;
    }

    .team-grid-5 {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 20px;
    }

    @media(max-width:1100px) {
      .team-grid-5 {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media(max-width:600px) {
      .team-grid-5 {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .member {
      opacity: 0;
      transform: translateY(36px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .member.in {
      opacity: 1;
      transform: translateY(0);
    }

    /* photo frame */
    .mem-frame {
      aspect-ratio: 3/4;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(0, 212, 255, 0.12);
      margin-bottom: 14px;
      transition: border-color 0.4s;
    }

    .member:hover .mem-frame {
      border-color: rgba(0, 212, 255, 0.45);
      box-shadow: 0 0 24px rgba(0, 212, 255, 0.1);
    }

    /* portrait photo simulation */
    .mem-photo {
      width: 100%;
      height: 100%;
      position: relative;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      overflow: hidden;
    }

    .mp1 {
      background: linear-gradient(175deg, #1a5490 10%, #0c2f5e 50%, #050f20 100%);
    }

    .mp2 {
      background: linear-gradient(175deg, #1a4878 10%, #0c2248 50%, #040c1c 100%);
    }

    .mp3 {
      background: linear-gradient(175deg, #163e7a 10%, #0a2050 50%, #040e22 100%);
    }

    .mp4 {
      background: linear-gradient(175deg, #183668 10%, #0c1e44 50%, #030c1a 100%);
    }

    .mp5 {
      background: linear-gradient(175deg, #1a4070 10%, #0c2240 50%, #050c1c 100%);
    }

    /* silhouette */
    .sil {
      position: absolute;
      bottom: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 75%;
    }

    .sil-head {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: rgba(0, 180, 255, 0.2);
      border: 1px solid rgba(0, 212, 255, 0.3);
      margin-bottom: 0;
    }

    .sil-body {
      width: 90px;
      height: 70px;
      background: rgba(0, 150, 220, 0.12);
      border: 1px solid rgba(0, 212, 255, 0.15);
      border-bottom: none;
      border-radius: 45px 45px 0 0;
    }

    .sil-glow {
      position: absolute;
      top: 25%;
      left: 50%;
      transform: translateX(-50%);
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0, 200, 255, 0.18), transparent);
      pointer-events: none;
    }

    /* hover scan */
    .mem-scan {
      position: absolute;
      height: 1px;
      left: 0;
      right: 0;
      top: 30%;
      background: linear-gradient(90deg, transparent, var(--neon), transparent);
      opacity: 0;
      pointer-events: none;
    }

    .member:hover .mem-scan {
      opacity: 0.4;
      animation: memScanAnim 2.5s ease-in-out infinite;
    }

    @keyframes memScanAnim {
      0% {
        top: 0%
      }

      100% {
        top: 100%
      }
    }

    /* dept badge */
    .mem-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.48rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--neon);
      background: rgba(0, 212, 255, 0.08);
      border: 1px solid rgba(0, 212, 255, 0.2);
      padding: 3px 8px;
    }

    /* corner marks */
    .mem-frame::before,
    .mem-frame::after {
      content: '';
      position: absolute;
      width: 12px;
      height: 12px;
      border-color: rgba(0, 212, 255, 0.3);
      border-style: solid;
      opacity: 0;
      transition: opacity 0.3s;
      z-index: 3;
    }

    .mem-frame::before {
      top: 6px;
      left: 6px;
      border-width: 1px 0 0 1px;
    }

    .mem-frame::after {
      bottom: 6px;
      right: 6px;
      border-width: 0 1px 1px 0;
    }

    .member:hover .mem-frame::before,
    .member:hover .mem-frame::after {
      opacity: 1;
    }

    .mem-name {
      font-family: 'Orbitron', monospace;
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--white);
      letter-spacing: 0.05em;
      margin-bottom: 3px;
    }

    .mem-role {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--neon);
      margin-bottom: 8px;
    }

    .mem-bio {
      font-size: 0.8rem;
      font-weight: 300;
      color: var(--muted);
      line-height: 1.6;
    }

    .mem-socials {
      display: flex;
      gap: 6px;
      margin-top: 10px;
    }

    .ms {
      width: 24px;
      height: 24px;
      border: 1px solid rgba(0, 212, 255, 0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.55rem;
      font-family: 'Share Tech Mono', monospace;
      color: var(--muted);
      transition: all 0.3s;
      cursor: crosshair;
    }

    .ms:hover {
      border-color: var(--neon);
      color: var(--neon);
      box-shadow: 0 0 8px rgba(0, 212, 255, 0.2);
    }

    /* ─── SHARED ─── */
    .rev {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }

    .rev.in {
      opacity: 1;
      transform: translateY(0);
    }

    /* ─── FOOTER ─── */
    footer {
      position: relative;
      z-index: 1;
      background: var(--abyss);
      border-top: 1px solid rgba(0, 212, 255, 0.08);
      padding: 50px 7vw 36px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .ft-brand {
      font-family: 'Orbitron', monospace;
      font-size: 1rem;
      font-weight: 700;
      color: var(--neon);
      letter-spacing: 0.15em;
    }

    .ft-info {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.6rem;
      color: var(--faint);
      letter-spacing: 0.15em;
    }

    @keyframes up {
      from {
        opacity: 0;
        transform: translateY(24px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

/* ─── PREDICTION PAGE ─── */
    #drop-zone:hover { border-color: rgba(0,212,255,0.55) !important; background: rgba(0,212,255,0.03); }
    #predict-btn:hover { box-shadow: 0 0 26px rgba(0,212,255,0.45); transform: translateY(-2px); }
    #api-url-input:focus { border-bottom-color: var(--neon); }