.admin-partners-layout { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
@media (max-width: 1024px) { .admin-partners-layout { grid-template-columns: 1fr; } }

.admin-checkbox-label { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; cursor: pointer; }
.admin-checkbox-label input { width: auto; }

.partner-logo-preview, .partner-logo-thumb {
  width: 100%; max-width: 160px; aspect-ratio: 16/9;
  background: repeating-conic-gradient(#0d2035 0% 25%, #0a1929 0% 50%) 50% / 16px 16px;
  border: 1px solid rgba(90,158,245,0.15); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 8px;
}
.partner-logo-thumb { width: 64px; height: 40px; max-width: none; }
.partner-logo-preview img, .partner-logo-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

.admin-partners-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-search-form { display: flex; gap: 8px; }
.admin-search-form input[type="text"] { width: 220px; padding: 10px 14px; }
.admin-search-form select { width: auto; padding: 10px 14px; }

.admin-bulk-bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px; margin-bottom: 14px;
  background: rgba(90,158,245,0.08); border: 1px solid rgba(90,158,245,0.18); border-radius: 8px;
  font-size: 12px; color: var(--blue-light, #5a9ef5);
}

.badge-status { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; }
.badge-active { background: rgba(74,222,128,0.12); color: #4ade80; }
.badge-inactive { background: rgba(148,163,184,0.12); color: #94a3b8; }

.drag-handle { cursor: grab; color: rgba(255,255,255,0.3); }
.drag-handle:hover { color: var(--blue-light, #5a9ef5); }
.sortable-ghost { opacity: 0.4; }

.admin-pagination { display: flex; gap: 6px; margin-top: 20px; justify-content: center; }
.admin-pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px; font-size: 12px;
  color: rgba(255,255,255,0.6); border: 1px solid rgba(90,158,245,0.1); text-decoration: none;
}
.admin-pagination a.active { background: var(--blue-light, #5a9ef5); color: #0a1929; border-color: transparent; }
.admin-pagination a:hover:not(.active) { border-color: var(--blue-light, #5a9ef5); }

.partners-premium {
  overflow: hidden;
  background: var(--white);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(64px, 9vw, 112px);
}

/* Section header */
.partners-head {
  margin-bottom: clamp(40px, 6vw, 68px);
}
.partners-head h2 { margin-top: 12px; }
.partners-sub {
  color: var(--text-muted);
  font-size: clamp(14px, 1.2vw, 15px);
  line-height: 1.85;
  max-width: 500px;
  margin: 14px auto 0;
}

/* Marquee wrapper — fade edges */
.partners-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%);
  mask-image: linear-gradient(90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%);
}
.partners-marquee:active { cursor: grabbing; }

/* Scrolling track */
.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 20px;
  padding: 16px 0;
  will-change: transform;
  animation: partnersScroll 40s linear infinite;
}

.partners-marquee.is-dragging .partners-track { animation-play-state: paused; }
.partners-marquee:hover .partners-track      { animation-play-state: paused; }

@keyframes partnersScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Individual card */
.partner-card {
  flex: 0 0 auto;
  width: 176px;
  height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(16,37,80,0.05);
  user-select: none;
  transition: transform 0.32s cubic-bezier(.16,1,.3,1),
              box-shadow 0.32s ease,
              border-color 0.32s ease;
}
@media (hover: hover) {
  .partner-card:hover {
    box-shadow: 0 18px 44px rgba(16,37,80,0.13);
    border-color: rgba(27,74,160,0.22);
  }
}

/* Inner anchor (when card is linked) */
.partner-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* Image logo */
.partner-card img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

/* Text monogram (fallback when no image) */
.partner-mono {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
  transition: color 0.32s ease;
}
.partner-card:hover .partner-mono { color: var(--blue-mid); }

/* Company name label */
.partner-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.4;
  max-width: 130px;
  transition: color 0.32s ease;
}
.partner-card:hover .partner-label { color: var(--blue); }

/* "Read More" hover overlay (cards with detail page) */
.partner-card--has-detail {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.partner-card--has-detail .partner-read-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
  background: linear-gradient(to top, rgba(27,74,160,0.92) 0%, rgba(27,74,160,0.0) 60%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  border-radius: inherit;
}
.partner-card--has-detail .partner-read-more span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(27,74,160,0.9);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 4px 11px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
@media (hover: hover) {
  .partner-card--has-detail:hover .partner-read-more { opacity: 1; }
  .partner-card--has-detail:hover { border-color: rgba(27,74,160,0.45); }
}

/* Mobile */
@media (max-width: 800px) {
  .partner-card  { width: 140px; height: 96px; padding: 12px 14px; border-radius: 14px; }
  .partner-mono  { font-size: 18px; }
  .partner-label { font-size: 7.5px; }
  .partners-track { gap: 14px; padding: 12px 0; }
  .partners-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  }
}

.hero-centerpiece {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; pointer-events: none;
}
#circuit-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* Orbital rings */
.hcp-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(90,158,245,0.12);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: hcpRingPulse 6s ease-in-out infinite;
}
.hcp-ring-1 { width: 200px; height: 200px; animation-delay: 0s; }
.hcp-ring-2 { width: 320px; height: 320px; animation-delay: 1.2s; border-color: rgba(0,200,255,0.08); }
.hcp-ring-3 { width: 440px; height: 440px; animation-delay: 2.4s; border-color: rgba(27,74,160,0.07); }
@keyframes hcpRingPulse {
  0%,100% { opacity:.4; transform:translate(-50%,-50%) scale(1); }
  50%      { opacity:.9; transform:translate(-50%,-50%) scale(1.05); }
}

/* Core circle with NR initials */
.hcp-core {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 110px; height: 110px;
  background: rgba(6,12,28,0.92);
  border: 1px solid rgba(90,158,245,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.hcp-id {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  line-height: 1;
}
.hcp-id-nr {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700;
  letter-spacing: -1px;
  color: #ffffff; /* fallback */
  background: linear-gradient(135deg, #fff 30%, rgba(90,158,245,0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
@supports (-webkit-background-clip: text) {
  .hcp-id-nr { -webkit-text-fill-color: transparent; }
}
.hcp-id-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px; letter-spacing: 2.5px;
  color: rgba(90,158,245,0.7);
  text-transform: uppercase;
}
.hcp-pulse {
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(90,158,245,0.22);
  animation: hcpPulse 3s ease-in-out infinite;
}
@keyframes hcpPulse {
  0%,100% { transform:scale(1); opacity:1; }
  50%      { transform:scale(1.14); opacity:0; }
}

/* Float panels — ALL in the RIGHT half (no overlap with text) */

/* Override style.css panel positions */
.panel-1 {
  left: auto !important;
  right: 6% !important;
  top: 18% !important;
  animation-delay: 0s;
  display: flex; align-items: center; gap: 10px;
}
.panel-2 {
  left: auto !important;
  right: 6% !important;
  bottom: 20% !important;
  top: auto !important;
  animation-delay: 2s;
  display: flex; align-items: center; gap: 10px;
}
.panel-3 {
  right: 30% !important;
  left: auto !important;
  top: 14% !important;
  animation-delay: 1s;
}
.panel-4 {
  right: 30% !important;
  left: auto !important;
  bottom: 16% !important;
  top: auto !important;
  animation-delay: 3s;
  display: flex; align-items: center; gap: 10px;
}

/* Panel-5 AI indicator — sits between content and centerpiece */
.panel-5 {
  left: 48% !important;
  right: auto !important;
  top: 50% !important;
  animation-delay: 4s;
  animation-name: panelFloat5;
  display: flex; align-items: center; gap: 10px;
}
@keyframes panelFloat5 {
  0%,100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 12px)); }
}
.panel-ai-indicator {
  display: flex; align-items: flex-end; gap: 3px;
  height: 28px;
}
.pai-bar {
  width: 5px; height: var(--h,50%);
  background: linear-gradient(to top, var(--blue), var(--cyan));
  border-radius: 2px;
  animation: paiAnim 2s ease-in-out infinite;
}
.pai-bar:nth-child(1){ animation-delay:0s; }
.pai-bar:nth-child(2){ animation-delay:.2s; }
.pai-bar:nth-child(3){ animation-delay:.4s; }
.pai-bar:nth-child(4){ animation-delay:.6s; }
.pai-bar:nth-child(5){ animation-delay:.8s; }
@keyframes paiAnim {
  0%,100% { opacity:.5; transform:scaleY(1); }
  50%      { opacity:1;  transform:scaleY(1.3); }
}

/* Hero inner — explicit z + width */
.hero-inner {
  position: relative; z-index: 5 !important;
  width: 50% !important;
}

/* Hero stat row counter */
.hsb-num {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem,2vw,2rem);
  font-weight: 600; color: var(--white); line-height: 1;
}

.sticky-stack-container {
  background: var(--bg-dark);
}
.sticky-stack-intro {
  text-align: center;
  padding: var(--section-v) clamp(20px,4vw,64px) 60px;
  max-width: var(--container); margin: 0 auto;
}
.sticky-stack-intro .eyebrow { color: var(--blue-light); }
.sticky-stack-intro h2 { color: var(--white); margin-top:16px; }
.sticky-stack-intro p {
  color: rgba(255,255,255,0.45); font-size:17px;
  line-height:1.8; max-width:520px;
  margin: 20px auto 0;
}

/* Panels container — enough height for all cards to "scroll through" */
.sticky-stack-panels {
  position: relative;
  max-width: min(900px, calc(100% - clamp(40px,8vw,128px)));
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Each panel stacks using position:sticky — CENTERED in viewport */
.ss-panel {
  position: sticky;
  top: clamp(100px, calc(50vh - 210px), 320px); /* vertical center */
  border-radius: 24px;
  overflow: hidden;
  background: rgb(8, 15, 40);
  border: 1px solid rgba(90,158,245,0.12);
  margin-bottom: 90vh; /* scroll distance between cards — uniform for all cards */
  /* Cards are always visible; JS drives scale() for the depth illusion */
  opacity: 1;
  transform-origin: top center;  /* scale anchors to top edge — looks natural */
  will-change: transform;
  /* Only transition border/shadow — NOT transform (scroll-driven, must be instant) */
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Last card: CSS fallback before JS runs (90vh matches all other cards).
   JS (applyLastCardMargin + live sync in update()) overrides this each
   frame to: max(viewportH − stickyTop − lastCardH + 150, 150).
   150 px dead scroll after the last card pins is intentional dwell time. */
.ss-panel:last-child { margin-bottom: 90vh; }

/* z-index per card — later cards appear ON TOP */
.ss-panel:nth-child(1) { z-index: 10; }
.ss-panel:nth-child(2) { z-index: 11; }
.ss-panel:nth-child(3) { z-index: 12; }
.ss-panel:nth-child(4) { z-index: 13; }
.ss-panel:nth-child(5) { z-index: 14; }
.ss-panel:nth-child(6) { z-index: 15; }

/* Active: glowing border + pulsing shadow (no opacity change) */
.ss-panel.is-active {
  border-color: rgba(90,158,245,0.30);
  animation: activePanelGlow 3.5s ease-in-out infinite;
}
@keyframes activePanelGlow {
  0%,100% { box-shadow: 0 32px 80px rgba(0,0,0,0.55),
                         0 0 0 1px rgba(90,158,245,0.22),
                         inset 0 1px 0 rgba(255,255,255,0.04); }
  50%     { box-shadow: 0 32px 90px rgba(0,0,0,0.6),
                         0 0 0 1px rgba(90,158,245,0.48),
                         0 0 52px rgba(90,158,245,0.13),
                         inset 0 1px 0 rgba(255,255,255,0.06); }
}
/* Shimmer sweep on active card */
.ss-panel.is-active::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(90,158,245,0.05) 50%,
    transparent 70%);
  background-size: 300% 300%;
  animation: panelShimmer 4s ease-in-out infinite;
  pointer-events: none; z-index: 2; border-radius: inherit;
}
@keyframes panelShimmer {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
/* Behind: still fully visible — JS scale() provides depth, not opacity */
.ss-panel.is-behind {
  border-color: rgba(90,158,245,0.08);
  box-shadow: none;
  animation: none;
}
.ss-panel.is-behind::after { display: none; }

.ss-panel-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 280px;
  position: relative; z-index: 1;
}
.ss-panel-left {
  padding: 44px 36px;
  border-right: 1px solid rgba(90,158,245,0.08);
  display: flex; flex-direction: column;
  gap: 18px; position: relative; overflow: hidden;
  background: rgba(27,74,160,0.04);
}
.ss-panel-left::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 30% 0%, rgba(27,74,160,0.15), transparent 60%);
  pointer-events:none;
}
.ss-num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 3px; color: rgba(90,158,245,0.4);
}
.ss-label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--blue-light); opacity: 0.7;
}
.ss-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(27,74,160,0.2);
  border: 1px solid rgba(90,158,245,0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--blue-light);
  position: relative;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
}
.ss-panel:hover .ss-icon-wrap {
  background: rgba(27,74,160,0.4);
  border-color: rgba(90,158,245,0.5);
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 8px 28px rgba(27,74,160,0.5);
}
.ss-icon-orbit {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1.5px dashed rgba(90,158,245,0.2);
  animation: orbitSpin 12s linear infinite;
}
@keyframes orbitSpin { to { transform:rotate(360deg); } }
.ss-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.ss-tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1px; color: rgba(90,158,245,0.7);
  background: rgba(90,158,245,0.08);
  border: 1px solid rgba(90,158,245,0.15);
  border-radius: 6px; padding: 4px 9px;
  transition: all .3s;
}
.ss-panel:hover .ss-tag {
  background: rgba(90,158,245,0.14);
  border-color: rgba(90,158,245,0.3);
}
.ss-panel-right {
  padding: 48px 52px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 20px;
}
.ss-title {
  font-size: clamp(1.5rem,2.3vw,2.1rem);
  font-weight: 700; color: var(--white);
  line-height: 1.1; letter-spacing: -0.025em;
}
.ss-desc {
  color: rgba(255,255,255,0.52);
  font-size: 15px; line-height: 1.85;
  max-width: 520px;
}
.ss-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-light);
  transition: gap .3s ease, color .3s;
}
.ss-link:hover { gap: 16px; color: var(--cyan); }
.ss-panel-deco {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 180px; pointer-events: none; overflow: hidden;
  opacity: 0.06;
}
.ss-deco-circle {
  position: absolute; right: -50px; top: 50%;
  transform: translateY(-50%);
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid var(--blue-light);
}
.ss-deco-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(90,158,245,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,158,245,0.4) 1px, transparent 1px);
  background-size: 28px 28px;
}

.ss-footer {
  text-align: center;
  /* Compact padding — the last card has already unpinned by the
     time the footer is in view, so no extra clearance needed. */
  padding: 56px clamp(20px,4vw,64px) 80px;
}

#mobileDrawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  /* Dark glassmorphic background */
  background: rgba(4, 8, 20, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  /* Slide in from the right */
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.77, 0, 0.175, 1),
              visibility 0.42s;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
#mobileDrawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: all;
}

/* Subtle top-edge blue line */
#mobileDrawer::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #1B4AA0, #5A9EF5, #00C8FF);
  z-index: 1;
}

.mbd-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(24px, 6vw, 48px) 48px;
  /* Faint circuit-grid background */
  background-image:
    radial-gradient(circle at 80% 10%, rgba(27,74,160,0.18) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(0,200,255,0.08) 0%, transparent 50%);
}

/* Top row: logo + close */
.mbd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 22px;
  border-bottom: 1px solid rgba(90,158,245,0.12);
  flex-shrink: 0;
}
.mbd-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.mbd-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.mbd-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.mbd-logo-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.9);
}
.mbd-logo-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}
.mbd-close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(90,158,245,0.08);
  border: 1px solid rgba(90,158,245,0.18);
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mbd-close:hover {
  background: rgba(90,158,245,0.18);
  border-color: rgba(90,158,245,0.4);
  color: #fff;
}

/* Nav links */
.mbd-nav {
  display: flex;
  flex-direction: column;
  padding: 28px 0 0;
  flex: 1;
}
.mbd-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(90,158,245,0.07);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.50);
  text-decoration: none;
  transition: color 0.22s ease, padding-left 0.22s ease;
  position: relative;
}
.mbd-link:last-child { border-bottom: none; }
.mbd-link:hover,
.mbd-link.mbd-active {
  color: #fff;
  padding-left: 10px;
}
.mbd-link.mbd-active { color: var(--blue-light); }
.mbd-arrow {
  flex-shrink: 0;
  opacity: 0;
  color: var(--blue-light);
  transform: translateX(-6px);
  transition: opacity 0.22s, transform 0.22s;
}
.mbd-link:hover .mbd-arrow,
.mbd-link.mbd-active .mbd-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered reveal animation when drawer opens */
#mobileDrawer.is-open .mbd-link {
  animation: mbdLinkIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
#mobileDrawer.is-open .mbd-link:nth-child(1) { animation-delay: 0.06s; }
#mobileDrawer.is-open .mbd-link:nth-child(2) { animation-delay: 0.10s; }
#mobileDrawer.is-open .mbd-link:nth-child(3) { animation-delay: 0.14s; }
#mobileDrawer.is-open .mbd-link:nth-child(4) { animation-delay: 0.18s; }
#mobileDrawer.is-open .mbd-link:nth-child(5) { animation-delay: 0.22s; }
#mobileDrawer.is-open .mbd-link:nth-child(6) { animation-delay: 0.26s; }
#mobileDrawer.is-open .mbd-link:nth-child(7) { animation-delay: 0.30s; }
@keyframes mbdLinkIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Footer CTA */
.mbd-footer {
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}
.mbd-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  border: 1px solid rgba(90,158,245,0.25);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}
.mbd-cta:hover {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue));
  box-shadow: 0 8px 32px rgba(27,74,160,0.45);
  transform: translateY(-1px);
}
.mbd-tagline {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  text-align: center;
}

/* Only show drawer trigger on mobile — hide on desktop */
@media (min-width: 801px) {
  #mobileDrawer { display: none !important; }
}

.cmd-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.cmd-bg-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 15% 60%, rgba(27,74,160,0.18), transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 30%, rgba(0,200,255,0.06), transparent 60%);
}
.cmd-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
  position: relative; z-index: 1;
}

/* Photo column */
.cmd-photo-col { display: flex; flex-direction: column; gap: 28px; }

.cmd-photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(90,158,245,0.18);
  box-shadow:
    0 0 0 1px rgba(90,158,245,0.08),
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(27,74,160,0.15);
}
.cmd-photo-glow {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(8,15,40,0.82) 80%,
    rgba(8,15,40,0.97) 100%
  );
}
/* Corner accent lines (disabled — no corner brackets on chairman photo) */
.cmd-corner {
  display: none;
}
.cmd-tl { top: 14px; left: 14px; border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.cmd-tr { top: 14px; right: 14px; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.cmd-bl { bottom: 56px; left: 14px; border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.cmd-br { bottom: 56px; right: 14px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }

.cmd-photo {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  filter: contrast(1.04) saturate(0.88);
  transition: transform 0.6s ease;
}
.cmd-photo-frame:hover .cmd-photo { transform: scale(1.03); }

/* Role strip that floats over the photo bottom */
.cmd-roles {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 4;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(8,15,40,0.72);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(90,158,245,0.14);
}
.cmd-role {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.cmd-role-sep {
  color: var(--blue-light);
  font-size: 14px; line-height: 1;
  opacity: 0.5;
}

/* Stat pills */
.cmd-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.cmd-stat {
  background: rgba(27,74,160,0.1);
  border: 1px solid rgba(90,158,245,0.12);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color 0.3s, background 0.3s;
}
.cmd-stat:hover {
  background: rgba(27,74,160,0.2);
  border-color: rgba(90,158,245,0.28);
}
.cmd-stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--white); /* fallback */
  background: linear-gradient(135deg, var(--white) 30%, var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
}
@supports (-webkit-background-clip: text) {
  .cmd-stat strong { -webkit-text-fill-color: transparent; }
}
.cmd-stat span {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* Message column */
.cmd-message-col {
  display: flex; flex-direction: column;
  gap: 0;
  padding-top: 8px;
}
.cmd-message-col .eyebrow { margin-bottom: 24px; }

/* Large decorative opening quote */
.cmd-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(80px, 10vw, 130px);
  line-height: 0.7;
  color: var(--blue-light);
  opacity: 0.2;
  margin-bottom: 20px;
  user-select: none;
}

.cmd-body { display: flex; flex-direction: column; gap: 18px; }
.cmd-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  font-family: var(--font-display);
}
.cmd-body p {
  font-size: 15px;
  color: rgba(255,255,255,0.52);
  line-height: 1.9;
}
.cmd-closing {
  color: rgba(255,255,255,0.65) !important;
  font-style: italic;
}

/* Signature block */
.cmd-sig {
  margin-top: 40px;
  display: flex; align-items: center; gap: 20px;
}
.cmd-sig-line {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
  border-radius: 2px;
  flex-shrink: 0;
}
.cmd-sig-info { display: flex; flex-direction: column; gap: 8px; }
.cmd-sig-name {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.01em;
}
.cmd-sig-roles { display: flex; gap: 6px; }
.cmd-sig-badge {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(90,158,245,0.1);
  border: 1px solid rgba(90,158,245,0.22);
  border-radius: 5px;
  padding: 3px 8px;
}
.cmd-sig-company {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

/* Responsive */
@media (max-width: 1024px) {
  .cmd-layout {
    grid-template-columns: 340px 1fr;
    gap: 52px;
  }
}
@media (max-width: 800px) {
  .cmd-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cmd-photo-frame { max-width: 380px; margin: 0 auto; }
  .cmd-photo-col { align-items: center; }
  .cmd-stats { max-width: 380px; }
}

.orbital-section { background: var(--bg-dark2); overflow: hidden; }
.orbital-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 70% 50%, rgba(27,74,160,0.12), transparent);
  pointer-events: none;
}
.orbital-layout {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.orbital-content .eyebrow { margin-bottom: 20px; }
.orbital-tech-list {
  display: flex; flex-direction: column;
  gap: 4px; margin-top: 36px;
}
.otl-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  border: 1px solid rgba(90,158,245,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  transition: all .35s ease;
  cursor: default;
}
.otl-item:hover {
  background: rgba(27,74,160,0.12);
  border-color: rgba(90,158,245,0.25);
  transform: translateX(8px);
}
.otl-icon {
  width: 36px; height: 36px;
  background: rgba(27,74,160,0.2);
  border: 1px solid rgba(90,158,245,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--blue-light);
  flex-shrink: 0;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
}
.otl-item:hover .otl-icon {
  background: var(--blue); color: var(--white);
  border-color: var(--blue);
  transform: scale(1.1) rotate(-8deg);
}
.otl-name {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 1px; color: var(--white);
  font-weight: 500; display: block;
}
.otl-sub {
  font-family: var(--font-mono); font-size: 10px;
  color: rgba(255,255,255,0.3); display: block;
  margin-top: 2px;
}
.orbital-visual { display: flex; align-items: center; justify-content: center; }

/* ── Tech Mosaic — replaces the old canvas globe/orbit visual ──
   Plain CSS grid of technology badges around a static core card.
   No canvas, no orbs, no rotating globe — just a clean, readable
   mosaic that scales naturally on every viewport. */
.tech-mosaic {
  position: relative;
  width: 100%; max-width: 460px;
  display: flex; flex-direction: column; align-items: center;
  gap: 28px;
  padding: 36px 28px;
  border: 1px solid rgba(90,158,245,0.14);
  border-radius: 24px;
  background: rgba(255,255,255,0.02);
}
.tm-glow {
  position: absolute; inset: -20% -10%;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(27,74,160,0.22), transparent 70%);
  pointer-events: none; z-index: 0;
}
.tm-core {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 18px 32px;
  border: 1px solid rgba(90,158,245,0.28);
  border-radius: 16px;
  background: rgba(10,20,40,0.6);
  box-shadow: 0 0 32px rgba(27,74,160,0.25);
}
.tm-core img {
  width: 34px; height: 34px; object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 10px rgba(90,158,245,0.5));
}
.tm-core-num {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 1.6rem; color: var(--white);
  line-height: 1;
}
.tm-core-label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.tm-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
}
.tm-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px;
  border: 1px solid rgba(90,158,245,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  transition: all .3s ease;
  opacity: 0; transform: translateY(10px);
  animation: tmItemIn .5s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes tmItemIn {
  to { opacity: 1; transform: translateY(0); }
}
.tm-item:hover {
  background: rgba(27,74,160,0.14);
  border-color: rgba(90,158,245,0.35);
  transform: translateY(-4px);
}
.tm-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(27,74,160,0.18);
  border: 1px solid rgba(90,158,245,0.18);
  color: var(--blue-light);
  font-size: 16px;
  transition: all .3s ease;
}
.tm-item:hover .tm-icon {
  background: var(--blue); color: var(--white);
  border-color: var(--blue);
  transform: scale(1.08);
}
.tm-label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.5px; color: rgba(255,255,255,0.55);
  text-align: center;
}

.ind-section {
  background: var(--bg-alt);
  padding: var(--section-v) 0 clamp(32px, 5vh, 64px);
  overflow: hidden;
}

/* Section header */
.ind-header {
  text-align: center;
  margin-bottom: clamp(36px, 5vh, 60px);
}
.ind-header .eyebrow { color: var(--blue-light); }
.ind-header h2 {
  margin-top: 10px;
  font-size: clamp(1.55rem, 3.5vw, 2.4rem);
  line-height: 1.15;
}
.ind-header-sub {
  color: var(--text-mid);
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.7;
  max-width: 440px;
  margin: 10px auto 0;
}

/* Carousel wrapper */
.ind-carousel-wrap {
  display: flex;
  align-items: center;
  margin-bottom: clamp(20px, 3vh, 32px);
}

/* Prev / Next buttons */
.ind-nav-btn {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border-mid);
  background: var(--white);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              color 0.3s var(--ease), box-shadow 0.3s var(--ease),
              transform 0.3s var(--ease), opacity 0.3s ease;
  box-shadow: var(--shadow-sm);
  margin: 0 clamp(10px, 1.5vw, 24px);
}
.ind-nav-btn:hover:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(27,74,160,0.30);
  transform: scale(1.08);
}
.ind-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Viewport */
.ind-viewport {
  flex: 1;
  overflow: hidden;
  /* vertical padding gives room for active-card lift (translateY) */
  padding: 24px 0 28px;
}

/* Track */
.ind-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding-left:  clamp(20px, 5vw, 80px);
  padding-right: clamp(20px, 5vw, 80px);
  will-change: transform;
  /* transition set by JS (none on init/resize, smooth on navigation) */
}

/* Individual card */
.ind-card {
  flex: 0 0 clamp(240px, 28vw, 340px);
  min-height: clamp(300px, 30vw, 380px);
  border-radius: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.4s ease, border-color 0.4s ease,
              transform 0.35s cubic-bezier(.16,1,.3,1);
}

/* Top accent bar — slides in on active/hover */
.ind-card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue-mid), var(--cyan));
  border-radius: 20px 20px 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
  z-index: 3;
}
.ind-card.is-active .ind-card-accent,
.ind-card:hover .ind-card-accent { transform: scaleX(1); }
.ind-card::after { display: none; }

/* Active state */
.ind-card.is-active {
  border-color: rgba(90,158,245,0.38);
  box-shadow: 0 18px 56px rgba(27,74,160,0.16),
              0 0 0 1px rgba(90,158,245,0.22);
  transform: translateY(-6px) scale(1.015);
}

/* Hover lift on desktop */
@media (hover: hover) {
  .ind-card:not(.is-active):hover {
    border-color: rgba(90,158,245,0.28);
    box-shadow: 0 14px 44px rgba(27,74,160,0.12), 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-5px) scale(1.01);
  }
}

/* Card inner */
.ind-card-inner {
  padding: clamp(20px, 3.8vh, 34px) clamp(18px, 2.6vw, 30px) clamp(16px, 3vh, 26px);
  display: flex; flex-direction: column;
  height: 100%; box-sizing: border-box;
  position: relative; z-index: 1;
}

/* Card head: icon left, number badge right */
.ind-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: clamp(14px, 2.2vh, 22px);
}

/* Icon */
.ind-card-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(27,74,160,0.07) 0%, rgba(90,158,245,0.06) 100%);
  border: 1.5px solid rgba(27,74,160,0.11);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--blue);
  flex-shrink: 0;
  transition: all 0.45s cubic-bezier(.34,1.56,.64,1);
}
.ind-card.is-active .ind-card-icon,
.ind-card:hover .ind-card-icon {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(27,74,160,0.38);
  transform: scale(1.08) rotate(-5deg);
}

/* Number badge */
.ind-card-num {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 9px;
  line-height: 1;
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  flex-shrink: 0;
}
.ind-card.is-active .ind-card-num {
  color: var(--blue-light);
  background: rgba(90,158,245,0.08);
  border-color: rgba(90,158,245,0.22);
}

/* Card body */
.ind-card-body {
  flex: 1;
  display: flex; flex-direction: column;
  gap: clamp(8px, 1.4vh, 12px);
}

/* Title */
.ind-card-title {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 700; color: var(--text); line-height: 1.2;
  margin: 0;
}

/* Description */
.ind-card-desc {
  font-size: clamp(12.5px, 1.05vw, 13.5px);
  color: var(--text-mid); line-height: 1.75;
  margin: 0;
}

/* Card footer */
.ind-card-footer {
  margin-top: clamp(12px, 2vh, 18px);
  padding-top: clamp(10px, 1.6vh, 14px);
  border-top: 1px solid var(--border);
  transition: border-color 0.4s ease;
}
.ind-card.is-active .ind-card-footer { border-color: rgba(90,158,245,0.2); }

.ind-card-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.3s ease, gap 0.3s ease;
}
.ind-card.is-active .ind-card-cta,
.ind-card:hover .ind-card-cta { color: var(--blue-light); gap: 11px; }
.ind-card-link { display: none; }

/* HUD: counter + progress bar */
.ind-hud {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.ind-hud-counter {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px;
  color: var(--text-soft); white-space: nowrap; flex-shrink: 0;
}
.ind-hud-bar {
  flex: 1; height: 2px;
  background: var(--border); border-radius: 1px; overflow: hidden;
}
.ind-hud-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  border-radius: 1px; width: 0%;
  transition: width 0.4s var(--ease);
}

/* Pagination dots */
.ind-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  margin-bottom: clamp(16px, 3vh, 32px);
}
.ind-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none; background: var(--border-mid);
  cursor: pointer; padding: 0;
  transition: all 0.35s var(--ease);
  flex-shrink: 0;
}
.ind-dot.is-active {
  background: var(--navy);
  width: 22px; border-radius: 4px;
}
.ind-dot:hover:not(.is-active) { background: var(--blue-light); }

/* Footer CTA */
.ind-footer { text-align: center; padding: clamp(4px, 1vh, 12px) 0 clamp(8px, 2vh, 20px); }

/* Reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ind-track { transition: none !important; }
}

.achievement-wall { background: var(--bg-dark); overflow: hidden; }
.aw-bg-canvas {
  position: absolute; inset: 0;
  pointer-events: none; opacity: 0.15; z-index: 0;
}
.achievement-wall .container { position: relative; z-index: 1; }
.aw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 60px;
}
.aw-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(90,158,245,0.1);
  border-radius: 20px;
  padding: 32px 24px;
  position: relative; overflow: hidden;
  transition: all .45s ease;
  cursor: default;
}
.aw-card:hover {
  background: rgba(27,74,160,0.1);
  border-color: rgba(90,158,245,0.28);
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.aw-card-glow {
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(ellipse at 50% 0%, rgba(27,74,160,0.3), transparent 70%);
  opacity: 0; transition: opacity .5s ease;
  pointer-events: none;
}
.aw-card:hover .aw-card-glow { opacity: 1; }
.aw-icon {
  width: 44px; height: 44px;
  background: rgba(27,74,160,0.2);
  border: 1px solid rgba(90,158,245,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--blue-light);
  margin-bottom: 20px;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
}
.aw-card:hover .aw-icon {
  background: var(--blue); color: var(--white);
  border-color: var(--blue);
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 6px 24px rgba(27,74,160,0.5);
}
.aw-val {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem,2.8vw,2.6rem);
  font-weight: 700; line-height: 1;
  color: var(--white); /* fallback */
  background: linear-gradient(135deg, var(--white), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 8px;
}
@supports (-webkit-background-clip: text) {
  .aw-val { -webkit-text-fill-color: transparent; }
}
.aw-lbl {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 12px;
}
.aw-desc {
  font-size: 13px; color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
.aw-border-anim {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(90,158,245,0.4) 0%, transparent 40%,
    transparent 60%, rgba(0,200,255,0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  padding: 1px;
  opacity: 0; transition: opacity .5s;
}
.aw-card:hover .aw-border-anim { opacity: 1; }

/* Dashboard section on white */
.dashboard-section { background: #f5f7fc; }
.dashboard-section .dash-card {
  background: var(--white);
  border-color: var(--border);
}
.dashboard-section .dash-card:hover {
  border-color: rgba(27,74,160,0.2);
  box-shadow: var(--shadow-lg);
}
.dashboard-section .dash-label,
.dashboard-section .dash-live,
.dashboard-section .dmm-val,
.dashboard-section .dmm-lbl,
.dashboard-section .dash-stat-val,
.dashboard-section .dash-stat-lbl { color: var(--text); }
.dashboard-section .live-dot { background: #22c55e; box-shadow: 0 0 6px #22c55e; }

/* Terminal card always dark regardless of section background */
.dashboard-section .dash-card.dash-terminal {
  background: #0d1117;
  border-color: rgba(90,158,245,0.14);
}
.dashboard-section .dash-card.dash-terminal:hover {
  border-color: rgba(90,158,245,0.28);
}
/* Stat icon visible on white bg */
.dashboard-section .dash-stat-icon {
  background: rgba(27,74,160,0.08);
  color: var(--navy);
}
/* Trend badge on white */
.dashboard-section .dash-stat-trend.up {
  background: rgba(34,197,94,0.1);
  color: #16a34a;
  border-color: rgba(34,197,94,0.2);
}

.aw-card, .ind-card {
  --mx: 50%; --my: 50%;
}
.aw-card::before {
  content:''; position:absolute; inset:0; border-radius:inherit;
  background: radial-gradient(circle at var(--mx) var(--my),
    rgba(90,158,245,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none; z-index: 0;
}
.aw-card:hover::before { opacity: 1; }

/* ≤1200px */
@media (max-width:1200px) {
  .orbital-layout { grid-template-columns: 1fr 360px; gap: 52px; }
  .aw-grid { grid-template-columns: repeat(3,1fr); }
  .hero-inner { width: 52% !important; }
  .hero-centerpiece { width: 48%; }
}

/* ≤1024px (tablet) */
@media (max-width:1024px) {
  /* Hero: full-width text, centerpiece becomes background */
  .hero-inner { width: 100% !important; max-width: 100% !important; }
  .hero-centerpiece {
    width: 100%; top: 0; bottom: 0;
    opacity: 0.18;
    /* z-index behind text */
  }
  /* Hide ALL floating panels on tablet */
  .hero-float-panel { display: none !important; }

  /* Sticky stack: tighter on tablet */
  .ss-panel-inner { grid-template-columns: 1fr; }
  .ss-panel-left {
    border-right: none;
    border-bottom: 1px solid rgba(90,158,245,0.08);
    flex-direction: row; flex-wrap: wrap;
    align-items: center; padding: 24px 28px; gap: 14px;
  }
  .ss-panel-right { padding: 28px 32px; }

  /* Orbital: stack, mosaic shrinks to fit */
  .orbital-layout { grid-template-columns: 1fr; gap: 48px; }
  .orbital-visual { justify-content: center; }
  .tech-mosaic { max-width: 100%; padding: 28px 18px; }
  .tm-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }

  /* Achievements */
  .aw-grid { grid-template-columns: repeat(2,1fr); }
}

/* Dashboard mobile */
@media (max-width:800px) {
  /* Stack dashboard right column to single column on mobile */
  .dashboard-section .dash-col-right {
    grid-template-columns: 1fr !important;
  }
  .dash-large { padding: 20px !important; }
  .dash-metrics-row { gap: 16px; flex-wrap: wrap; }
  .dash-mini-metric { min-width: 80px; }
  .dash-chart-area { min-height: 120px; }
  .dash-stat { padding: 16px 18px; }
  .dash-stat-val { font-size: 1.4rem; }
  .dash-term-body { padding: 12px 14px; }
  .term-ln { font-size: 10px; }
  /* Command Centre heading */
  .dashboard-section .section-head h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
}

/* ≤800px (mobile-ish) */
@media (max-width:800px) {
  /* Hero eyebrow — force single line */
  .hero-eyebrow-wrap {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    padding: 7px 14px;
  }
  .hero-eyebrow-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100vw - 120px);
    display: block;
  }

  /* Hero stat row: 2×2 grid on mobile */
  .hero-stat-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px 0;
  }
  .hero-stat-sep { display: none; }
  .hero-stat-badge { padding: 0 !important; }

  /* Sticky stack: reduce gap & center card vertically like desktop.
     Card in stacked (single-col) layout is ~380px tall, so
     top = 50vh − half-card = 50vh − 190px, clamped to safe range. */
  .ss-panel {
    margin-bottom: 40vh;
    top: clamp(60px, calc(50vh - 190px), 220px);
  }
  /* Fallback only — JS (`applyLastCardMargin`) computes and sets the exact
     minimum margin at runtime so the section ends right after the last
     card stacks, with no dead scroll space. */
  .ss-panel:last-child {
    margin-bottom: 40vh;
  }
  .ss-panel-inner { grid-template-columns: 1fr; }
  .ss-panel-left {
    flex-direction: row; flex-wrap: wrap;
    padding: 20px 20px; gap: 12px;
  }
  .ss-panel-right { padding: 20px 24px; }
  .ss-title { font-size: 1.3rem; }
  .sticky-stack-panels {
    max-width: calc(100% - clamp(32px,6vw,80px));
  }

  /* Industries: compact mobile carousel layout */
  .ind-header h2   { font-size: clamp(1.2rem, 5.5vw, 1.7rem); }
  .ind-header-sub  { font-size: 11.5px; line-height: 1.55; margin-top: 6px; }
  .ind-nav-btn     { width: 40px; height: 40px; margin: 0 6px; }
  .ind-card {
    flex: 0 0 min(78vw, 290px);
    min-height: 260px;
  }
  .ind-track       { gap: 14px; padding-left: 16px; padding-right: 16px; }
  .ind-card-inner  { padding: 16px 15px 13px; }
  .ind-card-head   { margin-bottom: 11px; }
  .ind-card-icon   { width: 46px; height: 46px; font-size: 19px; border-radius: 13px; }
  .ind-card-num    { font-size: 9px; padding: 3px 7px; }
  .ind-card-title  { font-size: clamp(13.5px, 3.8vw, 16px); }
  .ind-card-desc   { font-size: 12px; line-height: 1.6; }
  .ind-card-footer { margin-top: 9px; padding-top: 8px; }
  .ind-card-cta    { font-size: 9px; letter-spacing: 1.5px; }

  /* Tech mosaic: tighter grid on mobile */
  .tm-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tm-item { padding: 12px 6px; }
  .tm-icon { width: 34px; height: 34px; font-size: 14px; }
  .tm-label { font-size: 9px; }
  .tm-core { padding: 14px 26px; }
  .tm-core-num { font-size: 1.3rem; }

  /* Achievements: 2-col */
  .aw-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .aw-card { padding: 24px 18px; }
  .aw-val { font-size: 1.8rem; }
}

/* ≤576px (small mobile) */
@media (max-width:576px) {
  /* Hero eyebrow even tighter */
  .hero-eyebrow-text { font-size: 9px; letter-spacing: 1px; }
  .hero-eyebrow-dot { width: 5px; height: 5px; }

  /* Industries: 1 card visible at a time on small phones */
  .ind-header h2  { font-size: clamp(1.1rem, 6.5vw, 1.4rem); }
  .ind-header-sub { font-size: 11px; }
  .ind-nav-btn    { width: 36px; height: 36px; margin: 0 4px; }
  .ind-card {
    flex: 0 0 calc(100vw - 80px);
    min-height: 240px;
  }
  .ind-track      { gap: 12px; padding-left: 12px; padding-right: 12px; }
  .ind-card-inner { padding: 13px 13px 11px; }
  .ind-card-head  { margin-bottom: 10px; }
  .ind-card-icon  { width: 40px; height: 40px; font-size: 16px; border-radius: 11px; }
  .ind-card-num   { font-size: 9px; padding: 3px 6px; }
  .ind-card-title { font-size: 13.5px; }
  .ind-card-desc  { font-size: 11.5px; line-height: 1.58; }
  .ind-card-footer { margin-top: 8px; padding-top: 7px; }
  .ind-card-cta   { font-size: 8.5px; }

  /* Achievements: keep 2-col on small mobile */
  .aw-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .aw-card { padding: 20px 14px; }

  /* Stack panels tighter — keep vertical centering on small screens. */
  .ss-panel { margin-bottom: 28vh; top: clamp(48px, calc(50vh - 190px), 200px); }
  /* Fallback only — JS (`applyLastCardMargin`) computes and sets the exact
     minimum margin at runtime so the section ends right after the last
     card stacks, with no dead scroll space. */
  .ss-panel:last-child { margin-bottom: 28vh; }
}

/* ≤390px (very small) */
@media (max-width:390px) {
  .aw-grid { grid-template-columns: 1fr; }
  .ind-card {
    flex: 0 0 calc(100vw - 40px);
    min-height: 230px;
  }
  .ind-card-inner { padding: 12px 12px 10px; }
  .hero-eyebrow-text { font-size: 8px; letter-spacing: 0.5px; }
}

@keyframes heading-shimmer {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* ── Global heading colour — light sections ──────────────────
   Solid dark-navy for all h1/h2 on light backgrounds.
   Animated shimmer lives only on em.text-gradient children below,
   which is far more reliable than animating background-clip on
   large block elements (causes intermittent invisible-text glitches). */
h1,
h2,
.mvv-title,
.chair-quote-heading {
  color: var(--navy);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--navy);
  animation: none;
}

/* ── Dark / navy section headings — solid white ──────────────
   White text on dark backgrounds; shimmer on em children only. */
.section-dark h1,
.section-dark h2,
.section-dark .mvv-title,
.achievement-wall h2,
.orbital-section h2,
.cmd-section h2,
.hero-immersive h2,
.wwb-section h2,
.dna-section h2,
.testimonials-premium h2 {
  color: #ffffff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #ffffff;
  animation: none;
}

/* ── Hard reset for .hero-heading — own colour system ────────
   Prevents the global h1 shimmer from fighting with the
   white + cyan gradient already defined in style.css           */
.hero-immersive h1.hero-heading,
.hero-immersive h1.hero-heading .hero-word {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #ffffff !important;
  -webkit-text-fill-color: var(--white, #fff) !important;
  animation: none !important;
}
.hero-immersive h1.hero-heading .hero-word-em {
  color: #22d3ee !important; /* fallback */
  background: linear-gradient(135deg, #5a9ef5 0%, #22d3ee 55%, #5a9ef5 100%) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  animation: gradientShift 4s ease-in-out infinite !important;
}
@supports (-webkit-background-clip: text) {
  .hero-immersive h1.hero-heading .hero-word-em { -webkit-text-fill-color: transparent !important; }
}

/* ── Preserve em.text-gradient / em.text-gradient-light ──────
   These child <em> elements carry their own gradient.
   color is always set as a visible fallback; transparent fill
   only applied when background-clip is confirmed supported.
   display:inline-block + will-change + translateZ promote each em into
   its own GPU paint layer so that parent opacity animations (GSAP reveals,
   CSS transition fallbacks) cannot corrupt the background-clip:text render.
   Without this, any parent transitioning opacity 0→1 creates a compositor
   layer that swallows the child, causing background-clip:text to fail
   intermittently on page refresh.                                    */
h1 em.text-gradient,
h1 em.text-gradient-light,
h2 em.text-gradient,
h2 em.text-gradient-light {
  display: inline-block; /* required: transforms don't apply to inline */
  color: var(--blue-light); /* fallback — bright blue always visible */
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-light) 50%, var(--cyan) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: heading-shimmer 5s linear infinite;
  /* Own compositor layer — keeps background-clip:text independent of
     any parent that is being opacity-animated (GSAP or CSS transition) */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: background-position;
}
@supports (-webkit-background-clip: text) {
  h1 em.text-gradient, h1 em.text-gradient-light,
  h2 em.text-gradient, h2 em.text-gradient-light { -webkit-text-fill-color: transparent; }
}

/* em.text-gradient-light in dark sections — override gradient to lighter palette */
.section-dark h1 em.text-gradient-light,
.section-dark h2 em.text-gradient-light,
.orbital-section h2 em.text-gradient-light,
.hero-immersive h2 em.text-gradient-light {
  color: var(--blue-light); /* fallback */
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--cyan) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: heading-shimmer 5s linear infinite;
}
@supports (-webkit-background-clip: text) {
  .section-dark h1 em.text-gradient-light, .section-dark h2 em.text-gradient-light,
  .orbital-section h2 em.text-gradient-light, .hero-immersive h2 em.text-gradient-light {
    -webkit-text-fill-color: transparent;
  }
}

.ind-carousel-wrap { overflow: hidden; padding: 0 0 48px; }

.ind-carousel-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; padding-top: 72px;
}

.ind-carousel-nav { display: flex; gap: 12px; }

.ind-nav-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--navy); transition: all .25s;
  border-radius: 4px;
}
.ind-nav-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.ind-swiper { padding: 8px 0 48px !important; overflow: hidden; }
.ind-swiper .swiper-wrapper { padding: 0 calc(50vw - 600px); }
@media (max-width: 1200px) { .ind-swiper .swiper-wrapper { padding: 0 24px; } }
/* On mobile the wrapper padding is removed; carousel wrap provides side margins instead */
@media (max-width: 767px)  { .ind-swiper .swiper-wrapper { padding: 0; } }

.ind-slide { height: auto; }

.ind-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 24px 28px;
  height: 100%;
  box-sizing: border-box;
  display: flex; flex-direction: column;
  transition: box-shadow .3s, border-color .3s, transform .3s;
  position: relative; overflow: hidden;
}
.ind-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,74,160,.04) 0%, transparent 60%);
  pointer-events: none;
}
.ind-card:hover {
  box-shadow: 0 12px 40px rgba(27,74,160,.12);
  border-color: rgba(27,74,160,.25);
  transform: translateY(-4px);
}

.ind-card-num {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 3px;
  color: var(--blue-mid); opacity: .5; margin-bottom: 16px;
}

.ind-card-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--navy); margin-bottom: 18px;
}

.ind-card-title {
  font-size: 16px; font-weight: 600; color: var(--text);
  margin-bottom: 10px; line-height: 1.3;
}

.ind-card-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.75; flex: 1;
}

.ind-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue);
  text-decoration: none; transition: gap .2s;
}
.ind-card-link:hover { gap: 12px; }

.ind-pagination { text-align: center; }
.ind-pagination .swiper-pagination-bullet {
  width: 6px; height: 6px; background: var(--border); opacity: 1;
  border-radius: 3px; transition: width .3s, background .3s; margin: 0 3px;
}
.ind-pagination .swiper-pagination-bullet-active {
  width: 24px; background: var(--navy);
}

@media (max-width: 768px) {
  .ind-carousel-header { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 48px; }
}

/* Mobile: 1 full card at a time, swipe to navigate */
@media (max-width: 767px) {
  /* Side gutters on the wrap; swiper fills the remaining width so Swiper's
     own width calculations stay accurate (no padding on the swiper itself). */
  .ind-carousel-wrap { overflow: hidden; padding: 0 16px 40px; }

  /* Pull the header back out to full width — it has its own .container padding */
  .ind-carousel-header { margin-left: -16px; margin-right: -16px; }

  /* Card: auto height so no content is ever clipped */
  .ind-card {
    height: auto;
    min-height: 0;
    padding: 24px 20px 20px;
  }

  /* Lift/hover transform disabled on touch to prevent stuck states */
  .ind-card:hover { transform: none; }
}

@media (max-width: 480px) {
  .ind-carousel-wrap { padding: 0 12px 36px; }
  .ind-carousel-header { margin-left: -12px; margin-right: -12px; }
  .ind-card { padding: 20px 16px 18px; }
}

@media (max-width: 360px) {
  .ind-carousel-wrap { padding: 0 8px 32px; }
  .ind-carousel-header { margin-left: -8px; margin-right: -8px; }
}

/* ── Homepage Industries: swipe-only, full-width card on mobile ────
   • Nav buttons hidden — swipe + dot pagination only.
   • Wrap becomes a plain block so viewport gets full section width.
   • Side padding lives on the VIEWPORT so the padding box (visible
     area) provides breathing room for shadow/border on both sides.
     JS resizeCards() sets card width = viewport.clientWidth − padding
     so there is zero 100vw/scrollbar-width mismatch on any screen.
   • overflow:hidden on the card clips the top accent gradient to the
     card's border-radius so the top border looks clean.
   • Active-card scale/lift disabled — prevents edge clipping.       */
@media (max-width: 767px) {
  /* Nav buttons hidden — swipe + dots only */
  .ind-section #indPrev,
  .ind-section #indNext { display: none !important; }

  /* Wrap becomes a simple block */
  .ind-section .ind-carousel-wrap {
    display: block;
    padding: 0 0 12px;
  }

  /* Viewport: 12px side padding = visible breathing room.
     overflow:hidden clips at padding-box edge, so 12px on each side
     stays fully visible — card border-radius + shadow are never cut. */
  #indViewport {
    width: 100%;
    overflow: hidden;
    padding: 8px 12px 20px;
    box-sizing: border-box;
    touch-action: pan-y; /* Let browser handle vertical scroll; JS handles horizontal swipe */
  }

  /* Track: zero side padding (viewport handles gutters).
     JS reads viewport.clientWidth and sets each card to
     clientWidth − paddingLeft − paddingRight, so step math
     is always exact regardless of screen size or scrollbar. */
  #indTrack {
    padding-left: 0;
    padding-right: 0;
    gap: 12px;
  }

  /* Card width set by JS (resizeCards) — no vw units here.
     overflow:hidden clips the top accent gradient to the
     card's 20px border-radius for a clean top border.       */
  .ind-section .ind-carousel-wrap .ind-card {
    min-height: 0;
    height: auto;
    overflow: hidden;
  }

  /* Top accent: rounded to match the card corners */
  .ind-section .ind-carousel-wrap .ind-card .ind-card-accent {
    border-radius: 20px 20px 0 0;
  }

  /* Disable transforms on mobile — no scale/lift near edges */
  .ind-section .ind-carousel-wrap .ind-card.is-active {
    transform: none;
    box-shadow: 0 6px 28px rgba(27,74,160,0.13);
  }
  .ind-section .ind-carousel-wrap .ind-card:hover {
    transform: none;
  }
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231b4aa0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px !important;
  cursor: pointer;
}

.portfolio-item {
  border: 1.5px solid var(--border) !important;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(27,74,160,.06);
  padding: 24px;
  transition: box-shadow .3s, border-color .3s, transform .3s;
  background: var(--white);
  overflow: hidden;
}
.portfolio-item:hover {
  box-shadow: 0 12px 40px rgba(27,74,160,.13);
  border-color: rgba(27,74,160,.28) !important;
  transform: translateY(-4px);
}
.portfolio-item > div:first-child {
  border-radius: 4px;
  overflow: hidden;
  margin: -24px -24px 24px -24px !important;
  width: calc(100% + 48px) !important;
}

.portfolio-grid {
  gap: 28px !important;
}

.wwb-section {
  padding-top: clamp(80px, 9vw, 120px);
  padding-bottom: clamp(60px, 7vw, 96px);
  background: var(--bg-dark);
  overflow: hidden;
  position: relative;
}
.wwb-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(27,74,160,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.wwb-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
  position: relative;
}
.wwb-header .eyebrow { color: var(--blue-light); }
.wwb-header h2 { color: var(--white); margin-top: 14px; }
.wwb-lead {
  color: rgba(255,255,255,0.55);
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.75;
  max-width: 520px;
  margin: 14px auto 0;
}

/* Carousel wrapper */
.wwb-carousel-wrap {
  display: flex;
  align-items: stretch;
  margin-bottom: clamp(28px, 4vh, 44px);
  position: relative;
}

/* Prev button — left round */
.wwb-prev-btn {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  align-self: center;
  margin: 0 clamp(10px, 1.5vw, 22px);
  transition: background .3s var(--ease), border-color .3s, color .3s, transform .3s;
  box-shadow: none;
}
.wwb-prev-btn:hover:not(:disabled) {
  background: rgba(27,74,160,0.35);
  border-color: var(--blue-light);
  color: #fff;
  transform: scale(1.08);
}
.wwb-prev-btn:disabled { opacity: 0.28; cursor: not-allowed; }

/* Viewport */
.wwb-viewport {
  flex: 1;
  overflow: hidden;
  padding: 24px 0 30px;
}

/* Track */
.wwb-track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(88px, 9vw, 120px);
  will-change: transform;
}

/* Card */
.wwb-card {
  flex: 0 0 clamp(260px, 29vw, 360px);
  min-height: clamp(310px, 32vw, 400px);
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .4s ease, border-color .4s ease, transform .35s cubic-bezier(.16,1,.3,1), background .3s;
}
.wwb-card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue-mid), var(--cyan));
  border-radius: 20px 20px 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
  z-index: 3;
}
.wwb-card.is-active .wwb-card-accent,
.wwb-card:hover .wwb-card-accent { transform: scaleX(1); }

.wwb-card.is-active {
  background: rgba(27,74,160,0.14);
  border-color: rgba(90,158,245,0.40);
  box-shadow: 0 18px 56px rgba(27,74,160,0.28),
              0 0 0 1px rgba(90,158,245,0.25);
  transform: translateY(-6px) scale(1.015);
}
@media (hover: hover) {
  .wwb-card:not(.is-active):hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(90,158,245,0.22);
    box-shadow: 0 14px 44px rgba(27,74,160,0.18);
    transform: translateY(-4px) scale(1.008);
  }
}

.wwb-card-inner {
  padding: clamp(22px, 3.5vh, 36px) clamp(20px, 2.5vw, 32px) clamp(18px, 3vh, 28px);
  display: flex; flex-direction: column;
  height: 100%; box-sizing: border-box;
  position: relative; z-index: 1;
}
.wwb-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: clamp(16px, 2vh, 24px);
}
.wwb-card-icon {
  width: 52px; height: 52px;
  background: rgba(27,74,160,0.22);
  border: 1px solid rgba(90,158,245,0.20);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--blue-light);
  transition: background .3s, color .3s;
}
.wwb-card.is-active .wwb-card-icon,
.wwb-card:hover .wwb-card-icon {
  background: rgba(27,74,160,0.35);
  color: var(--cyan);
}
.wwb-card-label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(90,158,245,0.6);
  background: rgba(90,158,245,0.08);
  border: 1px solid rgba(90,158,245,0.12);
  border-radius: 4px; padding: 4px 8px;
  align-self: flex-start;
}
.wwb-card-body { flex: 1; margin-bottom: 16px; }
.wwb-card-title {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 600; color: var(--white);
  margin-bottom: 12px; line-height: 1.28;
}
.wwb-card-desc {
  font-size: clamp(12px, 1.1vw, 13.5px);
  color: rgba(255,255,255,0.55);
  line-height: 1.72;
}
.wwb-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 18px;
}
.wwb-tag {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(90,158,245,0.7);
  background: rgba(90,158,245,0.06);
  border: 1px solid rgba(90,158,245,0.10);
  border-radius: 4px; padding: 3px 8px;
}
.wwb-card-footer { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 16px; }
.wwb-card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(90,158,245,0.7);
  transition: color .25s, gap .25s;
}
.wwb-card.is-active .wwb-card-cta,
.wwb-card:hover .wwb-card-cta { color: var(--blue-light); gap: 12px; }

/* Next button — floating compact rounded arrow */
.wwb-next-btn {
  position: absolute;
  right: clamp(8px, 2.5vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  background: rgba(8, 14, 28, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(90,158,245,0.30);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background .3s var(--ease), border-color .3s, box-shadow .3s, transform .25s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 0 1px rgba(90,158,245,0.06);
}
.wwb-next-btn:hover:not(:disabled) {
  background: rgba(27,74,160,0.55);
  border-color: var(--blue-light);
  box-shadow: 0 12px 36px rgba(27,74,160,0.45);
  transform: translateY(-50%) scale(1.07);
}
.wwb-next-btn:disabled { opacity: 0.32; cursor: not-allowed; transform: translateY(-50%); }
.wwb-next-btn svg { width: 20px; height: 20px; }

/* Footer */
.wwb-footer {
  text-align: center;
  margin-top: clamp(16px, 2vh, 24px);
}

/* Responsive */
@media (max-width: 767px) {
  .wwb-prev-btn { display: none; }
  .wwb-next-btn { display: none; }
  .wwb-card {
    flex: 0 0 calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }
  .wwb-track { padding-left: 16px; padding-right: 16px; gap: 14px; }
}

.ind-nav-btn {
  background: rgba(27,74,160,0.08) !important;
  border-color: rgba(27,74,160,0.22) !important;
  color: var(--blue) !important;
  width: 44px !important; height: 44px !important;
}
.ind-nav-btn svg { width: 26px !important; height: 26px !important; }
.ind-nav-btn svg path { stroke-width: 2.2 !important; }
.ind-nav-btn:hover:not(:disabled) {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: var(--white) !important;
  box-shadow: 0 8px 28px rgba(27,74,160,0.32) !important;
}

/* Heading — vibrant blue instead of near-black */
.ind-header h2 { color: var(--blue-mid); }

/* Slightly smaller cards */
.ind-card {
  flex: 0 0 clamp(220px, 26vw, 310px) !important;
  min-height: clamp(270px, 28vw, 350px) !important;
}

/* HUD: hide counter; dots only */
.ind-hud { display: none !important; }
.ind-dots { margin-top: 8px; }

.partner-card {
  width: 148px !important;
  height: 96px !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
}
.partner-card img { max-height: 40px; }
.partner-mono { font-size: 14px !important; }
.partner-label { font-size: 9px !important; margin-top: 5px; }
.partners-track { gap: 14px !important; }

/* ── About dropdown — anchored RIGHT so it never overflows ──────
   "About" is the last nav item; opening leftward keeps it fully
   inside the viewport on all screen sizes.                       */
.nav-sub--company {
  min-width: 300px;
  left: auto !important;
  right: 0;
  transform: translateY(-12px);
}
.has-sub:hover .nav-sub--company,
.has-sub.is-open .nav-sub--company {
  transform: translateY(0);
}

/* Caret arrow pointing up at the trigger */
.nav-sub--company::before {
  content: '';
  position: absolute;
  top: -7px; right: 20px;
  width: 13px; height: 13px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}


.nav-sub-list { display: flex; flex-direction: column; gap: 6px; }
.sub-item--full {
  display: flex !important;
  align-items: center;
  gap: 16px !important;
  padding: 13px 16px !important;
  border-radius: 10px;
  font-size: 13px !important;
  font-family: var(--font-body) !important;
  transition: background .2s, color .2s, transform .2s;
  text-decoration: none;
}
.sub-item--full:hover {
  background: var(--blue-pale);
  color: var(--navy);
  transform: translateX(3px);
}
.sub-item--full .sub-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, rgba(27,74,160,0.08), rgba(90,158,245,0.12));
  border: 1px solid rgba(27,74,160,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s, border-color .2s;
}
.sub-item--full:hover .sub-icon {
  background: linear-gradient(135deg, rgba(27,74,160,0.14), rgba(90,158,245,0.2));
  border-color: rgba(27,74,160,0.25);
}
.sub-item--full i { color: var(--blue); font-size: 15px; }
.sub-item--full strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; line-height: 1.2; }
.sub-item--full span { display: block; font-size: 11px; color: var(--text-soft); font-family: var(--font-body); line-height: 1.4; }
.sub-item--full:hover strong { color: var(--navy); }
.sub-item--active .sub-icon { background: linear-gradient(135deg, rgba(27,74,160,0.14), rgba(90,158,245,0.2)) !important; border-color: rgba(27,74,160,0.25) !important; }
.sub-item--active strong { color: var(--blue) !important; }

/* Mobile sub-links */
.mbd-link--sub {
  padding-left: 36px !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.55) !important;
  border-top: none !important;
}
.mbd-link--sub:hover { color: rgba(255,255,255,0.85) !important; }

/* Banner */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #0d1c35;
  border-top: 1px solid rgba(90,158,245,0.18);
  padding: clamp(18px, 2.5vh, 28px) clamp(20px, 4vw, 60px);
  z-index: 99990;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.23,1,0.32,1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.3);
}
#cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 260px; }
.cookie-banner-text h4 {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 600; color: #fff;
  margin-bottom: 6px;
  font-family: var(--font-display);
}
.cookie-banner-text p {
  font-size: clamp(12px, 1.1vw, 13.5px);
  color: rgba(255,255,255,0.58);
  line-height: 1.65;
}
.cookie-banner-text a {
  color: var(--blue-light);
  text-decoration: underline;
  font-size: inherit;
}
.cookie-banner-text a:hover { color: var(--cyan); }
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cookie-btn {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 7px; padding: 10px 18px;
  cursor: pointer; border: 1.5px solid;
  transition: background .25s, color .25s, box-shadow .25s, transform .2s;
  white-space: nowrap;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn--accept {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.cookie-btn--accept:hover { background: var(--blue-mid); box-shadow: 0 4px 18px rgba(27,74,160,0.4); }
.cookie-btn--essential {
  background: transparent; border-color: rgba(90,158,245,0.35); color: var(--blue-light);
}
.cookie-btn--essential:hover { background: rgba(90,158,245,0.08); border-color: var(--blue-light); }
.cookie-btn--decline {
  background: transparent; border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.5);
}
.cookie-btn--decline:hover { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.75); }
.cookie-btn--settings {
  background: transparent; border-color: transparent; color: rgba(255,255,255,0.45);
  font-size: 9px; padding: 8px 12px;
  text-decoration: underline; text-underline-offset: 3px;
}
.cookie-btn--settings:hover { color: var(--blue-light); border-color: transparent; transform: none; }

/* Modal overlay */
#cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(4,10,20,0.85);
  z-index: 99995;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
#cookie-modal.is-open { opacity: 1; visibility: visible; }

.cookie-modal-box {
  background: #0d1c35;
  border: 1px solid rgba(90,158,245,0.18);
  border-radius: 18px;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  overflow: hidden;
  transform: scale(0.96) translateY(10px);
  transition: transform .35s cubic-bezier(0.23,1,0.32,1);
}
#cookie-modal.is-open .cookie-modal-box { transform: scale(1) translateY(0); }

.cookie-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.cookie-modal-header h3 { color: #fff; font-size: 17px; font-weight: 600; }
.cookie-modal-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,0.5);
  transition: background .2s, color .2s;
  font-size: 16px; line-height: 1;
}
.cookie-modal-close:hover { background: rgba(248,113,113,0.12); color: #f87171; }

.cookie-modal-body {
  padding: 20px 28px;
  overflow-y: auto;
  flex: 1;
}
.cookie-modal-intro {
  font-size: 13px; color: rgba(255,255,255,0.55);
  line-height: 1.65; margin-bottom: 20px;
}

/* Category rows */
.cookie-category {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.cookie-category:hover { border-color: rgba(90,158,245,0.18); }
.cookie-cat-header {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
  transition: background .2s;
}
.cookie-cat-header:hover { background: rgba(255,255,255,0.04); }
.cookie-cat-title {
  flex: 1;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85);
}
.cookie-cat-expand {
  font-size: 11px; color: rgba(90,158,245,0.55);
  font-family: var(--font-mono); letter-spacing: 1px;
  transition: color .2s;
}
.cookie-cat-header:hover .cookie-cat-expand { color: var(--blue-light); }

.cookie-cat-body {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.cookie-cat-body.is-open {
  max-height: 200px;
  padding: 10px 18px 14px;
}
.cookie-cat-desc {
  font-size: 12px; color: rgba(255,255,255,0.40); line-height: 1.65;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 10px;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 40px; height: 22px;
  flex-shrink: 0;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 11px;
  cursor: pointer;
  transition: background .25s;
  border: 1px solid rgba(255,255,255,0.1);
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transition: transform .25s, background .25s;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--blue); border-color: var(--blue-mid); }
.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(18px) translateY(-50%);
  background: #fff;
}
.cookie-toggle input:disabled + .cookie-toggle-slider { opacity: 0.55; cursor: not-allowed; }
.cookie-toggle-required {
  font-family: var(--font-mono); font-size: 8px; letter-spacing: 1px;
  text-transform: uppercase; color: #4ade80;
  background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.2);
  border-radius: 4px; padding: 3px 6px; white-space: nowrap;
}

/* Modal footer */
.cookie-modal-footer {
  padding: 18px 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { font-size: 9px; padding: 9px 14px; }

  #cookie-modal { padding: 0; align-items: flex-end; }
  .cookie-modal-box {
    max-width: 100%;
    max-height: 92vh;
    width: 100%;
    border-radius: 18px 18px 0 0;
    border-left: none; border-right: none; border-bottom: none;
  }
  .cookie-modal-header, .cookie-modal-body, .cookie-modal-footer { padding-left: 18px; padding-right: 18px; }
  .cookie-modal-header { padding-top: 18px; padding-bottom: 16px; }
  .cookie-modal-header h3 { font-size: 15px; }
  .cookie-modal-body { padding-top: 16px; padding-bottom: 16px; }
  .cookie-modal-intro { font-size: 12px; margin-bottom: 16px; }

  /* Thin, unobtrusive scrollbar instead of the bulky default */
  .cookie-modal-body { scrollbar-width: thin; scrollbar-color: rgba(90,158,245,0.35) transparent; }
  .cookie-modal-body::-webkit-scrollbar { width: 5px; }
  .cookie-modal-body::-webkit-scrollbar-track { background: transparent; }
  .cookie-modal-body::-webkit-scrollbar-thumb { background: rgba(90,158,245,0.35); border-radius: 4px; }

  .cookie-category { margin-bottom: 8px; }
  .cookie-cat-header { padding: 12px 14px; gap: 10px; }
  .cookie-cat-title { font-size: 12.5px; }
  .cookie-cat-expand { font-size: 10px; white-space: nowrap; }
  .cookie-cat-body.is-open { padding: 8px 14px 12px; max-height: 260px; }
  .cookie-cat-desc { font-size: 11.5px; }
  .cookie-toggle { width: 36px; height: 20px; }
  .cookie-toggle-slider::before { width: 14px; height: 14px; }
  .cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(16px) translateY(-50%); }

  /* Footer: stack buttons full-width, ordered by priority regardless of DOM order */
  .cookie-modal-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 18px;
  }
  .cookie-modal-footer .cookie-btn {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    font-size: 10px;
  }
  .cookie-modal-footer .cookie-btn--accept    { order: 1; }
  .cookie-modal-footer .cookie-btn--essential { order: 2; }
  .cookie-modal-footer .cookie-btn--decline   { order: 3; }
  .cookie-modal-footer .cookie-btn--settings  {
    order: 4;
    text-decoration: underline;
    padding: 6px 14px;
  }
}
ng: 8px 14px 12px; max-height: 260px; }
  .cookie-cat-desc { font-size: 11.5px; }
  .cookie-toggle { width: 36px; height: 20px; }
  .cookie-toggle-slider::before { width: 14px; height: 14px; }
  .cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(16px) translateY(-50%); }

  /* Footer: stack buttons full-width, ordered by priority regardless of DOM order */
  .cookie-modal-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 18px;
  }
  .cookie-modal-footer .cookie-btn {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    font-size: 10px;
  }
  .cookie-modal-footer .cookie-btn--accept    { order: 1; }
  .cookie-modal-footer .cookie-btn--essential { order: 2; }
  .cookie-modal-footer .cookie-btn--decline   { order: 3; }
  .cookie-modal-footer .cookie-btn--settings  {
    order: 4;
    text-decoration: underline;
    padding: 6px 14px;
  }
}
