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

    :root {
      --black:  #07080f;
      --deep:   #0c0d18;
      --card:   #11121e;
      --violet: #7b2fff;
      --v2:     #a06bff;
      --border: rgba(123,47,255,0.25);
      --text:   #e0e2f0;
      --muted:  #7880a0;
      --white:  #ffffff;
    }

    html, body {
      min-height: 100%;
      background: var(--black);
      color: var(--text);
      font-family: 'Inter', sans-serif;
      font-size: 16px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    /* ── NAV ── */
    nav {
      position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
      z-index: 200; width: calc(100% - 48px); max-width: 1100px;
      padding: 10px 6px 10px 20px;
      backdrop-filter: blur(24px) saturate(160%);
      background: rgba(10,12,24,.45);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 100px;
      box-shadow: 0 4px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
      transition: background .3s;
    }
    .nav-inner { display: flex; align-items: center; gap: 40px; width: 100%; padding-left: 10px; padding-right: 8px; }
    .nav-inner .btn {
      margin-left: auto;
      padding: 8px 18px;
      font-size: 13px;
    }
    .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; text-decoration: none; color: var(--white); }
    .logo-mark { display: flex; align-items: center; flex-shrink: 0; }
    .logo-mark img { height: 30px; width: auto; object-fit: contain; display: block; }
    .logo-sub { font-size: 11px; font-weight: 500; color: var(--v2); letter-spacing: .04em; margin-top: -2px; }
    .nav-links { display: flex; align-items: center; gap: 32px; }
    .nav-links a { font-size: 14px; font-weight: 400; color: var(--muted); text-decoration: none; transition: color .2s; }
    .nav-links a:hover, .nav-links a.active { color: var(--white); }
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      font-weight: 600; font-size: 14px;
      padding: 11px 24px; border-radius: 100px;
      cursor: pointer; transition: all .25s; white-space: nowrap; border: none;
      text-decoration: none;
    }
    .btn-primary { background: var(--white); color: var(--black); }
    .btn-primary:hover { transform: translateY(-1px); }

    /* ── BG ── */
    .bg-glow {
      position: fixed; inset: 0; pointer-events: none; z-index: 0;
      background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(123,47,255,.10) 0%, transparent 65%),
        radial-gradient(ellipse 40% 30% at 85% 85%, rgba(160,107,255,.06) 0%, transparent 60%);
    }

    /* ── PAGE ── */
    .page {
      position: relative; z-index: 1;
      padding: 140px 40px 100px;
      max-width: 1160px; margin: 0 auto;
    }

    /* ── HEADER ── */
    .page-header { margin-bottom: 64px; }
    .tag {
      display: inline-block;
      font-size: 12px; font-weight: 600; letter-spacing: .12em;
      text-transform: uppercase; color: var(--v2);
      margin-bottom: 18px;
      animation: fadeUp .6s ease both;
    }
    .page-title {
      font-size: clamp(36px, 6vw, 64px);
      font-weight: 900; letter-spacing: -.03em;
      color: var(--white); line-height: 1.05; margin-bottom: 20px;
      animation: fadeUp .6s .05s ease both;
    }
    .page-sub {
      font-size: 17px; font-weight: 300;
      color: rgba(255,255,255,.5); max-width: 540px; line-height: 1.75;
      animation: fadeUp .6s .1s ease both;
    }

    /* ── FILTER ── */
    .filter-row {
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 16px; flex-wrap: wrap;
      animation: fadeUp .6s .15s ease both;
    }
    .filter-label {
      font-size: 12px; font-weight: 600; color: var(--muted);
      letter-spacing: .08em; text-transform: uppercase; margin-right: 4px;
    }
    .filter-btn {
      display: inline-flex; align-items: center; gap: 7px;
      font-size: 13px; font-weight: 600; font-family: 'Inter', sans-serif;
      padding: 8px 18px; border-radius: 100px;
      border: 1.5px solid rgba(255,255,255,.1);
      background: transparent; color: var(--muted);
      cursor: pointer; transition: all .2s;
    }
    .filter-btn:hover { border-color: rgba(255,255,255,.25); color: var(--white); }
    .filter-btn.active { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: var(--white); }
    .filter-btn[data-filter="media"].active     { background: rgba(123,47,255,.18); border-color: rgba(123,47,255,.45); color: #c084fc; }
    .filter-btn[data-filter="solutions"].active { background: rgba(59,130,246,.15); border-color: rgba(59,130,246,.4);  color: #93c5fd; }
    .filter-btn[data-filter="academy"].active   { background: rgba(16,185,129,.13); border-color: rgba(16,185,129,.38); color: #6ee7b7; }

    .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
    .dot-all       { background: var(--v2); }
    .dot-media     { background: #a06bff; }
    .dot-solutions { background: #60a5fa; }
    .dot-academy   { background: #10b981; }

    .grid-meta {
      font-size: 12px; color: var(--muted); font-weight: 500;
      margin-bottom: 32px; animation: fadeUp .6s .18s ease both;
    }
    .grid-meta strong { color: var(--white); }

    /* ── GRID ── */
    .team-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      animation: fadeUp .6s .2s ease both;
    }

    /* ── CARD ── */
    .member-card {
      position: relative;
      aspect-ratio: 4 / 5;
      border-radius: 18px;
      overflow: hidden;
      cursor: default;
    }
    .member-card.hidden { display: none; }

    /* ── FRONT ── */
    .card-front {
      position: absolute; inset: 0;
      border-radius: 18px;
      border: 1.5px solid rgba(255,255,255,.07);
      display: flex; flex-direction: column; justify-content: flex-end;
      transition: opacity .35s ease;
      overflow: hidden;
    }

    /* photo / gradient bg */
    .card-photo {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .card-photo-inner {
      width: 100%; height: 100%;
      display: flex; align-items: center; justify-content: center;
      font-size: 64px; font-weight: 900;
      color: rgba(255,255,255,.12); letter-spacing: -.02em;
      position: relative;
      transition: filter .35s ease, transform .35s ease;
    }
    .member-card:hover .card-photo-inner,
    .member-card.show-back .card-photo-inner {
      filter: blur(6px) brightness(.6);
      transform: scale(1.06);
    }
    /* dept gradient */
    .primary-media     .card-photo-inner { background: linear-gradient(160deg, #180830 0%, #2d1480 55%, #5a1fcc 100%); }
    .primary-solutions .card-photo-inner { background: linear-gradient(160deg, #080f2a 0%, #102060 55%, #1a4db5 100%); }

    .card-photo-inner img {
      position: absolute;
      left: 48%;
      bottom: 0;
      transform: translateX(-50%);
      width: 120%;
      height: 120%;
      object-fit: cover;
      object-position: center top;
      z-index: 1;
    }

    /* grid lines overlay */
    .card-photo-inner::after {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
      background-size: 30px 30px;
    }

    /* name bar at bottom */
    .card-front-info {
      position: relative; z-index: 2;
      padding: 16px 20px 20px;
      background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
    }
    .card-front-name {
      font-size: 17px; font-weight: 800;
      color: var(--white); letter-spacing: -.02em; line-height: 1.2;
    }
    .card-front-role {
      font-size: 12px; font-weight: 400;
      color: rgba(255,255,255,.5); margin-top: 4px;
    }

    /* ── BACK (slides up on hover) ── */
    .card-back {
      position: absolute; inset: 0;
      border-radius: 18px;
      border: 1.5px solid rgba(255,255,255,.1);
      display: flex; flex-direction: column; justify-content: space-between;
      padding: 28px 24px;
      opacity: 0;
      transform: translateY(12px);
      transition: opacity .32s ease, transform .32s ease;
      pointer-events: none;
      overflow: hidden;
    }

    .primary-media     .card-back { border-color: rgba(123,47,255,.35); }
    .primary-solutions .card-back { border-color: rgba(59,130,246,.28); }
    .card-back { background: rgba(0,0,0,.55); }

    /* same grid lines on back */
    .card-back::before {
      content: '';
      position: absolute; inset: 0; border-radius: 17px; pointer-events: none; z-index: 0;
      background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
      background-size: 28px 28px;
      transition: opacity .32s ease;
    }
    .member-card:hover .card-back::before,
    .member-card.show-back .card-back::before {
      opacity: 0;
    }

    /* hover — show back, hide front */
    .member-card:hover .card-back,
    .member-card.show-back .card-back {
      opacity: 1;
      border-color: rgba(255,255,255,.07);
      transform: translateY(0);
      pointer-events: auto;
    }
    .member-card:hover .card-front-info,
    .member-card.show-back .card-front-info {
      opacity: 0;
      transition: opacity .25s ease;
    }

    .card-back-top { position: relative; z-index: 2; }
    .card-back-name {
      font-size: 22px; font-weight: 900;
      color: var(--white); letter-spacing: -.03em; line-height: 1.2;
      margin-bottom: 8px;
    }
    .card-back-role {
      font-size: 13px; font-weight: 400;
      color: rgba(255,255,255,.5); line-height: 1.55;
    }

    .card-back-bottom { position: relative; z-index: 2; }
    .card-back-divider {
      height: 1px; background: rgba(255,255,255,.08); margin-bottom: 16px;
    }

    /* initials pill top-right */
    .back-avatar {
      position: absolute; top: 22px; right: 22px; z-index: 2;
      width: 40px; height: 40px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 13px; font-weight: 800; color: var(--white);
      border: 1.5px solid rgba(255,255,255,.15);
    }
    .primary-media     .back-avatar { background: rgba(123,47,255,.4); }
    .primary-solutions .back-avatar { background: rgba(59,130,246,.35); }

    /* badge row */
    .badge-row { display: flex; gap: 7px; flex-wrap: wrap; }
    .dept-badge {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 10px; font-weight: 700; letter-spacing: .07em;
      text-transform: uppercase; padding: 4px 11px; border-radius: 100px; border: 1px solid;
    }
    .badge-media     { background: rgba(123,47,255,.22); color: #c084fc; border-color: rgba(123,47,255,.4); }
    .badge-solutions { background: rgba(59,130,246,.18); color: #93c5fd; border-color: rgba(59,130,246,.35); }
    .badge-academy   { background: rgba(16,185,129,.16); color: #6ee7b7; border-color: rgba(16,185,129,.32); }

    /* ── OPEN SLOT ── */
    .open-slot {
      aspect-ratio: 4 / 5;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      border-radius: 18px; gap: 10px;
      border: 1.5px dashed rgba(255,255,255,.1);
      text-decoration: none;
      transition: border-color .2s, background .2s;
    }
    .open-slot.hidden { display: none; }
    .open-slot:hover { border-color: rgba(123,47,255,.4); background: rgba(123,47,255,.04); }
    .open-slot-icon { font-size: 28px; color: rgba(255,255,255,.2); }
    .open-slot-name { font-size: 15px; font-weight: 700; color: var(--muted); }
    .open-slot-sub { font-size: 12px; color: rgba(255,255,255,.25); text-align: center; line-height: 1.6; }

    /* ── EMPTY ── */
    .empty-state {
      display: none; grid-column: 1 / -1;
      text-align: center; padding: 60px 20px;
      color: var(--muted); font-size: 15px;
    }
    .empty-state.show { display: block; }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 720px) {
      /* nav-links hidden by mobile-nav.css at 768px */
      .page { padding: 120px 24px 80px; }
      .team-grid { grid-template-columns: 1fr 1fr; }
      .member-card, .open-slot { aspect-ratio: 4 / 5; }
    }
    @media (max-width: 480px) {
      .page { padding: 100px 16px 60px; }
      .filter-row { gap: 8px; flex-wrap: wrap; }
    }
    @media (max-width: 440px) {
      .team-grid { grid-template-columns: 1fr; }
    }

    /* ── Touch: tap-to-flip affordance (class set by main.js on hover-less
          devices). A small + chip signals the card has a second side; it
          rotates to × while the bio side is open. ─────────────────────── */
    .member-card.tap-flip { cursor: pointer; }
    .member-card.tap-flip::after {
      content: '+';
      position: absolute;
      top: 14px;
      right: 14px;
      width: 34px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.45);
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 50%;
      color: rgba(255, 255, 255, 0.9);
      font-size: 21px;
      font-weight: 300;
      line-height: 1;
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      z-index: 5;
      pointer-events: none;
      transition: transform 0.3s ease;
    }
    .member-card.tap-flip.show-back::after { transform: rotate(45deg); }
    @media (prefers-reduced-motion: reduce) {
      .member-card.tap-flip::after { transition: none; }
    }
