/* ─── Orbital Animation (About Page) ─── */
.orbital-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.orbital-ring {
  position: absolute;
  border-radius: 50%;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.orbital-ring-1 {
  inset: 0;
  border: 1px solid var(--glass-border);
  animation: orbit-spin 20s linear infinite;
}

.orbital-ring-2 {
  inset: 20px;
  border: 1px solid rgba(58, 180, 233,0.15);
  animation: orbit-spin 15s linear reverse infinite;
}

.orbital-ring-3 {
  inset: 40px;
  border: 1px solid rgba(42, 235, 235,0.1);
  animation: orbit-spin 25s linear infinite;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbital-dot {
  position: absolute;
  border-radius: 50%;
}

.orbital-dot-1 {
  width: 10px;
  height: 10px;
  top: -5px;
  left: calc(50% - 5px);
  background: var(--accent-3);
  box-shadow: 0 0 12px var(--accent-3), 0 0 24px rgba(58, 180, 233,0.3);
  animation: dot-pulse 2s ease-in-out infinite;
}

.orbital-dot-2 {
  width: 8px;
  height: 8px;
  bottom: -4px;
  left: calc(50% - 4px);
  background: var(--accent-5);
  box-shadow: 0 0 10px var(--accent-5), 0 0 20px rgba(42, 235, 235,0.3);
  animation: dot-pulse 2.5s ease-in-out 0.5s infinite;
}

.orbital-dot-3 {
  width: 7px;
  height: 7px;
  top: calc(50% - 3.5px);
  left: -3.5px;
  background: var(--accent-4);
  box-shadow: 0 0 10px var(--accent-4), 0 0 20px rgba(50, 208, 233,0.3);
  animation: dot-pulse 3s ease-in-out 1s infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.7); }
}

.orbital-center-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
}


/* ─── About Page ─── */
.about-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
}

body[data-page="mission"] .about-hero {
  /* Match the default .about-hero offset used on values/goals (no negative
     margin pull-up) so the "Empowering Businesses" hero lands at the same
     vertical position as those pages once the intro sequence collapses. */
  min-height: auto;
  align-items: flex-start;
  padding-top: var(--nav-height);
  padding-bottom: 3.2rem;
}

body[data-page="mission"] .about-hero .about-grid {
  align-items: start;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.value-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all var(--transition-med);
  opacity: 0;
  transform: translateY(20px);
}

.value-card:hover {
  border-color: rgba(58, 180, 233, 0.28);
  box-shadow: 0 16px 48px rgba(58, 180, 233, 0.13), 0 0 0 1px rgba(58, 180, 233, 0.08);
  transform: translateY(-6px);
}

/* Why Choose Us cards use the same skin as the upgraded About feature cards */
.about-why-grid .value-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #050d1e 0%, #091929 60%, #071520 100%);
  border-color: rgba(58, 180, 233, 0.15);
}

.about-why-grid .value-card:hover {
  border-color: rgba(58, 180, 233, 0.4);
  box-shadow: 0 0 30px rgba(58, 180, 233, 0.2), 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: scale(1.012);
}

.about-why-grid .value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 70%, rgba(58, 180, 233, 0.12) 0%, transparent 70%);
  animation: card-blob-pulse 6s ease-in-out infinite;
  pointer-events: none;
}

.about-why-grid .value-card > * {
  position: relative;
  z-index: 1;
}

.about-why-grid .value-card--animated .value-icon {
  border: 1px solid rgba(58, 180, 233, 0.3);
  box-shadow: 0 0 14px rgba(58, 180, 233, 0.15);
  animation: why-icon-twist 4.8s ease-in-out infinite;
}

.about-why-grid .value-card--animated:hover .value-icon {
  transform: scale(1.16) rotate(-10deg);
  box-shadow: 0 0 24px rgba(58, 180, 233, 0.35), 0 0 36px rgba(42, 235, 235, 0.2);
}

@keyframes why-icon-twist {
  0%, 100% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.08) rotate(-8deg); }
  70% { transform: scale(0.97) rotate(7deg); }
}

/* ─── Value Card Enhanced Animations ─── */
.value-card--animated {
  position: relative;
  overflow: hidden;
}

.value-card--animated::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(58,180,233,0.05), rgba(42,235,235,0.02));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.value-card--animated:hover::before { opacity: 1; }

.value-card--animated .value-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.value-card--animated:hover .value-icon {
  transform: scale(1.2) rotate(-4deg);
  box-shadow: 0 0 28px rgba(58, 180, 233, 0.22);
}

/* Stagger entry delays */
[data-stagger] .value-card:nth-child(1),
[data-stagger] .value-card--animated:nth-child(1) { animation-delay: 0.05s; }
[data-stagger] .value-card:nth-child(2),
[data-stagger] .value-card--animated:nth-child(2) { animation-delay: 0.1s; }
[data-stagger] .value-card:nth-child(3),
[data-stagger] .value-card--animated:nth-child(3) { animation-delay: 0.15s; }
[data-stagger] .value-card:nth-child(4),
[data-stagger] .value-card--animated:nth-child(4) { animation-delay: 0.2s; }
[data-stagger] .value-card:nth-child(5),
[data-stagger] .value-card--animated:nth-child(5) { animation-delay: 0.25s; }
[data-stagger] .value-card:nth-child(6),
[data-stagger] .value-card--animated:nth-child(6) { animation-delay: 0.3s; }

/* Shared icon polish for What We Deliver + Compliance */
.about-deliver-grid .rack-anim,
.about-deliver-grid .circuit-anim,
.about-deliver-grid .security-anim,
.about-deliver-grid .scale-anim,
.about-deliver-grid .monitor-anim,
.about-deliver-grid .disaster-anim,
.about-compliance-grid .doc-anim,
.about-compliance-grid .lock-anim,
.about-compliance-grid .badge-anim,
.about-compliance-grid .checklist-anim,
.about-compliance-grid .scale-anim,
.about-compliance-grid .audit-anim {
  isolation: isolate;
}

.about-deliver-grid .rack-anim::after,
.about-deliver-grid .circuit-anim::after,
.about-deliver-grid .security-anim::after,
.about-deliver-grid .scale-anim::after,
.about-deliver-grid .monitor-anim::after,
.about-deliver-grid .disaster-anim::after,
.about-compliance-grid .doc-anim::after,
.about-compliance-grid .lock-anim::after,
.about-compliance-grid .badge-anim::after,
.about-compliance-grid .checklist-anim::after,
.about-compliance-grid .scale-anim::after,
.about-compliance-grid .audit-anim::after {
  content: '';
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(58, 180, 233, 0.2);
  box-shadow: 0 0 18px rgba(58, 180, 233, 0.12);
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
  animation: about-icon-ring 4.5s ease-in-out infinite;
}

.about-deliver-grid .feature-card--enhanced:hover svg,
.about-compliance-grid .feature-card--enhanced:hover svg {
  transform: scale(1.05) rotate(2deg);
  transform-origin: center;
  transform-box: fill-box;
  filter: drop-shadow(0 0 8px rgba(58, 180, 233, 0.45));
}

@keyframes about-icon-ring {
  0%, 100% { opacity: 0.16; transform: scale(0.86) rotate(0deg); }
  50% { opacity: 0.38; transform: scale(1.06) rotate(180deg); }
}

/* ─── Infrastructure Rack Animation ─── */
.rack-anim {
  position: relative; z-index: 2; width: 100%; height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.rack-svg { width: 90px; height: 90px; overflow: visible; }

.rack-body {
  stroke-dasharray: 360; stroke-dashoffset: 360;
  animation: rack-draw 1.8s ease forwards, rack-frame-glow 3.6s ease-in-out 2s infinite;
  filter: drop-shadow(0 0 6px rgba(58,180,233,0.4));
}
.rack-unit { stroke-dasharray: 180; stroke-dashoffset: 180; }
.rack-unit-1 { animation: rack-draw 0.5s ease forwards 0.5s; }
.rack-unit-2 { animation: rack-draw 0.5s ease forwards 0.7s; }
.rack-unit-3 { animation: rack-draw 0.5s ease forwards 0.9s; }
.rack-unit-4 { animation: rack-draw 0.5s ease forwards 1.1s; }
@keyframes rack-draw { to { stroke-dashoffset: 0; } }
@keyframes rack-frame-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(58,180,233,0.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(58,180,233,0.75)) drop-shadow(0 0 18px rgba(42,235,235,0.35)); }
}

.rack-led { opacity: 0; filter: drop-shadow(0 0 4px #2aebeb); }
.rack-led-1 { animation: rack-led-blink 2s ease-in-out 1.5s infinite; }
.rack-led-2 { animation: rack-led-blink 2s ease-in-out 1.8s infinite; }
.rack-led-3 { animation: rack-led-blink 2s ease-in-out 2.1s infinite; }
.rack-led-4 { animation: rack-led-blink 2s ease-in-out 2.4s infinite; }
@keyframes rack-led-blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; filter: drop-shadow(0 0 6px #2aebeb); }
}

.rack-data { opacity: 0; }
.rack-data-1 { animation: rack-data-show 0.3s ease forwards 1.6s, rack-data-flow 2s linear 1.6s infinite; }
.rack-data-2 { animation: rack-data-show 0.3s ease forwards 1.9s, rack-data-flow 2s linear 1.9s infinite; }
.rack-data-3 { animation: rack-data-show 0.3s ease forwards 2.1s, rack-data-flow 2s linear 2.1s infinite; }
.rack-data-4 { animation: rack-data-show 0.3s ease forwards 2.3s, rack-data-flow 2s linear 2.3s infinite; }
@keyframes rack-data-show { to { opacity: 0.6; } }
@keyframes rack-data-flow { to { stroke-dashoffset: -14; } }

/* ─── Circuit / Hardware Animation ─── */
.circuit-anim {
  position: relative; z-index: 2; width: 100%; height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.circuit-svg { width: 90px; height: 90px; overflow: visible; }

.circuit-chip {
  stroke-dasharray: 148; stroke-dashoffset: 148;
  animation: circuit-draw 1.5s ease forwards;
  filter: drop-shadow(0 0 6px rgba(58,180,233,0.4));
}
@keyframes circuit-draw { to { stroke-dashoffset: 0; } }

.circuit-pin { stroke-dasharray: 20; stroke-dashoffset: 20; opacity: 0; }
.circuit-pin:nth-child(2)  { animation: circuit-draw 0.3s ease forwards 0.8s,  circuit-pin-show 0.3s ease forwards 0.8s; }
.circuit-pin:nth-child(3)  { animation: circuit-draw 0.3s ease forwards 0.95s, circuit-pin-show 0.3s ease forwards 0.95s; }
.circuit-pin:nth-child(4)  { animation: circuit-draw 0.3s ease forwards 1.1s,  circuit-pin-show 0.3s ease forwards 1.1s; }
.circuit-pin:nth-child(5)  { animation: circuit-draw 0.3s ease forwards 1.25s, circuit-pin-show 0.3s ease forwards 1.25s; }
.circuit-pin:nth-child(6)  { animation: circuit-draw 0.3s ease forwards 1.4s,  circuit-pin-show 0.3s ease forwards 1.4s; }
.circuit-pin:nth-child(7)  { animation: circuit-draw 0.3s ease forwards 1.55s, circuit-pin-show 0.3s ease forwards 1.55s; }
.circuit-pin:nth-child(8)  { animation: circuit-draw 0.3s ease forwards 1.7s,  circuit-pin-show 0.3s ease forwards 1.7s; }
.circuit-pin:nth-child(9)  { animation: circuit-draw 0.3s ease forwards 1.85s, circuit-pin-show 0.3s ease forwards 1.85s; }
.circuit-pin:nth-child(10) { animation: circuit-draw 0.3s ease forwards 2.0s,  circuit-pin-show 0.3s ease forwards 2.0s; }
.circuit-pin:nth-child(11) { animation: circuit-draw 0.3s ease forwards 2.15s, circuit-pin-show 0.3s ease forwards 2.15s; }
.circuit-pin:nth-child(12) { animation: circuit-draw 0.3s ease forwards 2.3s,  circuit-pin-show 0.3s ease forwards 2.3s; }
.circuit-pin:nth-child(13) { animation: circuit-draw 0.3s ease forwards 2.45s, circuit-pin-show 0.3s ease forwards 2.45s; }
@keyframes circuit-pin-show { to { opacity: 0.8; } }

.circuit-core {
  stroke-dasharray: 57; stroke-dashoffset: 57;
  animation: circuit-draw 0.8s ease forwards 1.8s, circuit-core-pulse 3s ease-in-out 2.6s infinite;
  filter: drop-shadow(0 0 8px rgba(42,235,235,0.5));
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes circuit-core-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

.circ-p-1 {
  opacity: 0;
  animation: circ-packet-1 3s ease-in-out 2s infinite;
  filter: drop-shadow(0 0 3px #3ab4e9);
}
.circ-p-2 {
  opacity: 0;
  animation: circ-packet-2 3s ease-in-out 2.5s infinite;
  filter: drop-shadow(0 0 3px #2aebeb);
}
@keyframes circ-packet-1 {
  0%   { cx: 25; cy: 37; opacity: 0; }
  15%  { opacity: 0.9; }
  50%  { cx: 60; cy: 45; opacity: 0.9; }
  85%  { opacity: 0.3; }
  100% { cx: 95; cy: 53; opacity: 0; }
}
@keyframes circ-packet-2 {
  0%   { cx: 50; cy: 13; opacity: 0; }
  15%  { opacity: 0.9; }
  50%  { cx: 60; cy: 45; opacity: 0.9; }
  85%  { opacity: 0.3; }
  100% { cx: 60; cy: 77; opacity: 0; }
}

/* ─── Document / Law Animation ─── */
.doc-anim {
  position: relative; z-index: 2; width: 100%; height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.doc-svg { width: 60px; height: 90px; overflow: visible; }

.doc-body {
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: doc-draw 2s ease forwards;
  filter: drop-shadow(0 0 6px rgba(58,180,233,0.4));
}
.doc-fold {
  stroke-dasharray: 60; stroke-dashoffset: 60;
  animation: doc-draw 0.5s ease forwards 1.5s;
}
@keyframes doc-draw { to { stroke-dashoffset: 0; } }

.doc-line { stroke-dasharray: 45; stroke-dashoffset: 45; opacity: 0; }
.dl-1 { animation: doc-line-in 0.4s ease forwards 1.0s, doc-line-pulse 2.8s ease-in-out 2s infinite; }
.dl-2 { animation: doc-line-in 0.4s ease forwards 1.2s, doc-line-pulse 2.8s ease-in-out 2.2s infinite; }
.dl-3 { animation: doc-line-in 0.4s ease forwards 1.4s, doc-line-pulse 2.8s ease-in-out 2.4s infinite; }
.dl-4 { animation: doc-line-in 0.4s ease forwards 1.6s, doc-line-pulse 2.8s ease-in-out 2.6s infinite; }
@keyframes doc-line-in { to { stroke-dashoffset: 0; opacity: 0.8; } }
@keyframes doc-line-pulse {
  0%, 100% { opacity: 0.45; filter: drop-shadow(0 0 0 rgba(42,235,235,0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 6px rgba(42,235,235,0.7)); }
}

/* ─── Lock / Data Protection Animation ─── */
.lock-anim {
  position: relative; z-index: 2; width: 100%; height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.lock-svg { width: 65px; height: 90px; overflow: visible; }

.lock-body {
  stroke-dasharray: 200; stroke-dashoffset: 200;
  animation: lock-draw 1.5s ease forwards;
  filter: drop-shadow(0 0 6px rgba(58,180,233,0.5));
}
.lock-arc {
  stroke-dasharray: 120; stroke-dashoffset: 120;
  animation: lock-draw 1.2s ease forwards 0.3s;
  filter: drop-shadow(0 0 4px rgba(42,235,235,0.5));
}
@keyframes lock-draw { to { stroke-dashoffset: 0; } }

.lock-keyhole {
  stroke-dasharray: 44; stroke-dashoffset: 44;
  opacity: 0;
  animation: lock-draw 0.5s ease forwards 1.5s, lock-keyhole-show 0.5s ease forwards 1.5s;
}
.lock-keyhole-line { opacity: 0; animation: lock-keyhole-show 0.4s ease forwards 1.9s; }
@keyframes lock-keyhole-show { to { opacity: 1; } }

.lock-shield-ring {
  opacity: 0;
  animation: lock-ring-pulse 3s ease-in-out 2.2s infinite;
}
@keyframes lock-ring-pulse {
  0%   { opacity: 0.5; transform: scale(1); }
  50%  { opacity: 0.15; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.3); }
}

/* ─── Badge / ISO 27001 Animation ─── */
.badge-anim {
  position: relative; z-index: 2; width: 100%; height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.badge-svg { width: 75px; height: 90px; overflow: visible; }

.badge-star {
  stroke-dasharray: 420; stroke-dashoffset: 420;
  animation: badge-draw 2s ease forwards;
  filter: drop-shadow(0 0 6px rgba(58,180,233,0.5));
}
.badge-inner {
  stroke-dasharray: 101; stroke-dashoffset: 101;
  animation: badge-draw 1s ease forwards 1.5s;
  filter: drop-shadow(0 0 8px rgba(42,235,235,0.5));
}
.badge-check {
  stroke-dasharray: 35; stroke-dashoffset: 35;
  animation: badge-draw 0.5s ease forwards 2.3s;
  filter: drop-shadow(0 0 4px rgba(42,235,235,0.6));
}
@keyframes badge-draw { to { stroke-dashoffset: 0; } }

.badge-sparkle { opacity: 0; filter: drop-shadow(0 0 4px rgba(42,235,235,0.6)); }
.bs-1 { animation: badge-sparkle-anim 2.5s ease-in-out 2.8s infinite; }
.bs-2 { animation: badge-sparkle-anim 2.5s ease-in-out 3.3s infinite; }
.bs-3 { animation: badge-sparkle-anim 2.5s ease-in-out 3.8s infinite; }
@keyframes badge-sparkle-anim {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%       { opacity: 1; transform: scale(1.4); }
}

/* ─── Checklist / License Animation ─── */
.checklist-anim {
  position: relative; z-index: 2; width: 100%; height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.checklist-svg { width: 80px; height: 90px; overflow: visible; }

.list-body {
  stroke-dasharray: 300; stroke-dashoffset: 300;
  animation: list-draw 1.5s ease forwards;
  filter: drop-shadow(0 0 5px rgba(58,180,233,0.4));
}
.list-clip {
  stroke-dasharray: 90; stroke-dashoffset: 90;
  animation: list-draw 0.6s ease forwards 0.5s;
}
@keyframes list-draw { to { stroke-dashoffset: 0; } }

.list-check { stroke-dasharray: 44; stroke-dashoffset: 44; opacity: 0; }
.lc-1 { animation: list-draw 0.5s ease forwards 1.0s, list-show 0.5s ease forwards 1.0s, list-check-pulse 2.4s ease-in-out 2.2s infinite; }
.lc-2 { animation: list-draw 0.5s ease forwards 1.5s, list-show 0.5s ease forwards 1.5s, list-check-pulse 2.4s ease-in-out 2.5s infinite; }
.lc-3 { animation: list-draw 0.5s ease forwards 2.0s, list-show 0.5s ease forwards 2.0s, list-check-pulse 2.4s ease-in-out 2.8s infinite; }

.list-tick { stroke-dasharray: 20; stroke-dashoffset: 20; opacity: 0; }
.lt-1 { animation: list-draw 0.3s ease forwards 1.5s, list-show 0.3s ease forwards 1.5s; }
.lt-2 { animation: list-draw 0.3s ease forwards 2.0s, list-show 0.3s ease forwards 2.0s; }
.lt-3 { animation: list-draw 0.3s ease forwards 2.5s, list-show 0.3s ease forwards 2.5s; }
@keyframes list-show { to { opacity: 1; } }

.list-line { stroke-dasharray: 50; stroke-dashoffset: 50; opacity: 0; }
.ll-1 { animation: list-draw 0.4s ease forwards 1.2s, list-show 0.4s ease forwards 1.2s, list-line-flow 2s linear 2s infinite; }
.ll-2 { animation: list-draw 0.4s ease forwards 1.7s, list-show 0.4s ease forwards 1.7s, list-line-flow 2s linear 2.2s infinite; }
.ll-3 { animation: list-draw 0.4s ease forwards 2.2s, list-show 0.4s ease forwards 2.2s, list-line-flow 2s linear 2.4s infinite; }

@keyframes list-check-pulse {
  0%, 100% { opacity: 0.55; filter: drop-shadow(0 0 0 rgba(42,235,235,0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 6px rgba(42,235,235,0.65)); }
}

@keyframes list-line-flow {
  to { stroke-dashoffset: -24; }
}

/* ─── Audit / Search Animation ─── */
.audit-anim {
  position: relative; z-index: 2; width: 100%; height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.audit-svg { width: 80px; height: 90px; overflow: visible; }

.audit-circle {
  stroke-dasharray: 157; stroke-dashoffset: 157;
  animation: audit-draw 1.8s ease forwards;
  filter: drop-shadow(0 0 6px rgba(58,180,233,0.5));
}
.audit-handle {
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: audit-draw 0.5s ease forwards 1.5s;
  filter: drop-shadow(0 0 4px rgba(42,235,235,0.4));
}
@keyframes audit-draw { to { stroke-dashoffset: 0; } }

.audit-cross-h, .audit-cross-v { opacity: 0; animation: audit-cross-show 0.5s ease forwards 2s; }
@keyframes audit-cross-show { to { opacity: 0.4; } }

.audit-scan {
  opacity: 0;
  animation: audit-scan-show 0.3s ease forwards 2s, audit-scan-spin 4s linear 2.3s infinite;
  transform-origin: 42px 38px;
}
@keyframes audit-scan-show { to { opacity: 1; } }
@keyframes audit-scan-spin { to { transform: rotate(360deg); } }

.audit-find {
  opacity: 0;
  animation: audit-find-ping 3s ease-in-out 3s infinite;
}
@keyframes audit-find-ping {
  0%, 100% { opacity: 0; r: 2; }
  40%       { opacity: 0.9; r: 5; }
  60%       { opacity: 0.5; r: 7; filter: drop-shadow(0 0 6px #2aebeb); }
  80%       { opacity: 0; r: 9; }
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(58, 180, 233, 0.1), rgba(42, 235, 235, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ─── Implementation Accordion Cards ─── */
.timeline {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline-item:hover { border-color: var(--glass-border-hover); transform: translateY(-2px); }
.timeline-item.expanded {
  border-color: var(--accent-3);
  box-shadow: 0 8px 32px rgba(58, 180, 233, 0.12);
  transform: translateY(0);
}

.timeline-item {
  cursor: pointer;
  user-select: none;
}

.timeline-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
}

.timeline-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.timeline-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-gradient);
  transform: scale(0);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: -1;
}

.timeline-item:hover .timeline-dot::before,
.timeline-item.expanded .timeline-dot::before { transform: scale(1); }

.timeline-item:hover .timeline-dot,
.timeline-item.expanded .timeline-dot {
  border-color: var(--accent-5);
  box-shadow: 0 0 16px rgba(58, 180, 233, 0.3), 0 0 32px rgba(42, 235, 235, 0.1);
  transform: scale(1.08);
}

.timeline-row h4 {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-item.expanded .timeline-row h4 {
  white-space: normal;
}

.timeline-chevron {
  width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s;
}
.timeline-item.expanded .timeline-chevron {
  transform: rotate(180deg); color: var(--accent-4);
}
.timeline-item:hover .timeline-chevron { color: var(--accent-3); }

/* Detail panel — inserted after active card */
.timeline-detail {
  grid-column: 1 / -1;
  background: var(--bg-card);
  border: 1px solid var(--accent-3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(58, 180, 233, 0.1);
}

.timeline-detail-inner {
  padding: 1.25rem 1.5rem;
}

.timeline-detail-inner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

/* Detail list — single column when expanded to full width */
.timeline-details {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.timeline-details li {
  padding: 0.45rem 0; padding-left: 1.1rem; position: relative;
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6;
  border-bottom: 1px solid var(--glass-border);
  transform: translateX(-8px); opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.timeline-details li:last-child { border-bottom: 0; }
.timeline-item.expanded .timeline-details li {
  transform: translateX(0); opacity: 1;
}
.timeline-item.expanded .timeline-details li:nth-child(1) { transition-delay: 0.05s; }
.timeline-item.expanded .timeline-details li:nth-child(2) { transition-delay: 0.1s; }
.timeline-item.expanded .timeline-details li:nth-child(3) { transition-delay: 0.15s; }
.timeline-item.expanded .timeline-details li:nth-child(4) { transition-delay: 0.2s; }
.timeline-item.expanded .timeline-details li:nth-child(5) { transition-delay: 0.25s; }
.timeline-details li:last-child { border-bottom: none; }
.timeline-details li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-gradient);
}

/* Responsive: stack on small screens */
@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
}

/* --- Values Page: Diamond Intro Sequence --- */
body[data-page="values"] .values-sequence {
  position: relative;
  height: 336vh;
  isolation: isolate;
}

body[data-page="values"] .values-sequence-sticky {
  position: sticky;
  top: var(--nav-height);
  height: calc(var(--fixed-100vh, 100vh) - var(--nav-height));
  overflow: hidden;
  display: grid;
  place-items: center;
  background: transparent;
}

body[data-page="values"] .values-sequence-sticky::before {
  display: none;
}

body[data-page="values"] .values-sequence-sticky::after {
  display: none;
}

body[data-page="values"] .values-sequence-line {
  margin: 0;
  margin-top: 4rem;
  align-self: start;
  position: relative;
  z-index: 5;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.2vw, 2.9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 22px rgba(58, 180, 233, 0.35));
  text-align: center;
}

body[data-page="values"] .values-sequence-ghost-title {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 12vw, 11.2rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  white-space: nowrap;
  color: rgba(180, 244, 255, 0.22);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(136, 235, 255, 0.55);
  text-shadow: 0 0 26px rgba(58, 180, 233, 0.26);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

body[data-page="values"] .values-diamond-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  will-change: transform, opacity;
}

body[data-page="values"] .values-impact-bloom {
  position: absolute;
  left: 0;
  top: 0;
  width: 42vmax;
  height: 42vmax;
  opacity: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  background:
    radial-gradient(circle at center, rgba(172, 245, 255, 0.84) 0%, rgba(72, 212, 248, 0.28) 36%, rgba(6, 28, 44, 0) 72%);
  filter: blur(2px);
  will-change: transform, opacity;
}

body[data-page="values"] .values-diamond-core {
  position: absolute;
  left: 0;
  top: 0;
  width: 78vmin;
  height: 86vmin;
  transform: translate(-50%, -50%);
  transform-origin: center;
  filter:
    drop-shadow(0 0 38px rgba(112, 220, 255, 0.55))
    drop-shadow(0 0 120px rgba(58, 180, 233, 0.45))
    drop-shadow(0 0 220px rgba(120, 90, 255, 0.28));
  will-change: transform, opacity, filter;
}

body[data-page="values"] .values-gem {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Slow autonomous chromatic drift on the central glint */
body[data-page="values"] .values-gem-chroma {
  mix-blend-mode: screen;
  opacity: 0.55;
  transform-box: fill-box;
  transform-origin: center;
  animation: valuesGemChroma 6s ease-in-out infinite alternate;
}

@keyframes valuesGemChroma {
  0%   { opacity: 0.35; transform: translate(-3%, -2%) scale(0.96); }
  50%  { opacity: 0.7;  transform: translate(2%,  1%) scale(1.04); }
  100% { opacity: 0.45; transform: translate(4%,  3%) scale(1.0);  }
}

body[data-page="values"] .values-shine-layer {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

body[data-page="values"] .values-shine-sweep {
  position: absolute;
  left: 0;
  top: 0;
  width: 60vmin;
  height: 14vmin;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-34deg);
  transform-origin: center;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(205, 249, 255, 0) 0%, rgba(205, 249, 255, 0.08) 24%, rgba(240, 255, 255, 0.95) 50%, rgba(205, 249, 255, 0.08) 76%, rgba(205, 249, 255, 0) 100%);
  filter: blur(2.2px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

body[data-page="values"] .values-shine-sweep.values-shine-sweep-b {
  width: 48vmin;
  height: 11vmin;
  transform: translate(-50%, -50%) rotate(26deg);
}

body[data-page="values"] .values-shine-star {
  position: absolute;
  left: 0;
  top: 0;
  width: 15vmin;
  height: 15vmin;
  opacity: 0;
  transform: translate(-50%, -50%);
  transform-origin: center;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px rgba(166, 247, 255, 0.78));
  will-change: transform, opacity;
}

body[data-page="values"] .values-shine-star::before,
body[data-page="values"] .values-shine-star::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(220, 252, 255, 0) 0%, rgba(220, 252, 255, 0.55) 44%, rgba(255, 255, 255, 1) 50%, rgba(220, 252, 255, 0.55) 56%, rgba(220, 252, 255, 0) 100%);
}

body[data-page="values"] .values-shine-star::before {
  width: 100%;
  height: 2px;
}

body[data-page="values"] .values-shine-star::after {
  width: 2px;
  height: 100%;
}

body[data-page="values"] .values-shine-star.values-shine-star-a {
  margin-left: -16vmin;
  margin-top: -8vmin;
}

body[data-page="values"] .values-shine-star.values-shine-star-b {
  width: 11vmin;
  height: 11vmin;
  margin-left: 15vmin;
  margin-top: 7vmin;
}

/* Prism rays — 12 radiating light streaks centered on the diamond */
body[data-page="values"] .values-prism-rays {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

body[data-page="values"] .values-prism-rays span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90vmax;
  height: 1.4vmin;
  transform-origin: 0% 50%;
  transform: rotate(var(--ray-angle, 0deg)) translateX(0);
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.0) 0%,
      rgba(220, 250, 255, 0.85) 6%,
      rgba(160, 230, 255, 0.55) 28%,
      rgba(120, 200, 255, 0.18) 60%,
      rgba(120, 200, 255, 0) 100%);
  filter: blur(1.2px);
  border-radius: 999px;
  opacity: 0.85;
}

body[data-page="values"] .values-prism-rays span:nth-child(odd) {
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.0) 0%,
      rgba(255, 220, 250, 0.8) 6%,
      rgba(180, 160, 255, 0.45) 32%,
      rgba(160, 200, 255, 0) 100%);
  height: 0.9vmin;
}

/* Fullscreen climactic flash */
body[data-page="values"] .values-flash {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at center,
      rgba(255, 255, 255, 1) 0%,
      rgba(220, 250, 255, 0.9) 22%,
      rgba(120, 220, 255, 0.4) 48%,
      rgba(10, 30, 60, 0) 78%);
  mix-blend-mode: screen;
  will-change: opacity;
}

@media (max-width: 900px) {
  body[data-page="values"] .values-sequence {
    height: 308vh;
  }

  body[data-page="values"] .values-sequence-line {
    font-size: clamp(1.08rem, 4.4vw, 2.1rem);
  }

  body[data-page="values"] .values-sequence-ghost-title {
    font-size: clamp(2rem, 14vw, 8rem);
    letter-spacing: 0.14em;
  }

  body[data-page="values"] .values-diamond-core {
    width: 86vmin;
    height: 94vmin;
  }
}

@media (max-width: 560px) {
  body[data-page="values"] .values-sequence {
    height: 268vh;
  }

  body[data-page="values"] .values-sequence-line {
    width: min(90vw, 420px);
    line-height: 1.35;
  }

  body[data-page="values"] .values-sequence-ghost-title {
    font-size: clamp(1.7rem, 13vw, 4rem);
    letter-spacing: 0.1em;
  }

  body[data-page="values"] .values-diamond-core {
    width: 92vmin;
    height: 100vmin;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="values"] .values-sequence {
    display: none;
  }
}

/* --- Mission Page: Intro Sequence (v3 — tactical operatives) --- */
body[data-page="mission"] .mission-sequence {
  position: relative;
  height: 200vh;
  isolation: isolate;
}

body[data-page="mission"] .mission-sequence-sticky {
  position: sticky;
  top: var(--nav-height);
  height: calc(var(--fixed-100vh, 100vh) - var(--nav-height));
  overflow: hidden;
  background: transparent;
}

body[data-page="mission"] .mission-sequence-sticky::before {
  display: none;
}

body[data-page="mission"] .mission-sequence-sticky::after {
  display: none;
}

body[data-page="mission"] .mission-sequence-start {
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  z-index: 7;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #dffbff;
  text-shadow: 0 0 20px rgba(58, 180, 233, 0.42);
  white-space: nowrap;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
}

body[data-page="mission"] .mission-sequence-start > span:first-child {
  background: linear-gradient(90deg, var(--accent-3) 0%, var(--accent-5) 50%, var(--accent-4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-page="mission"] .mission-sequence-divider {
  display: inline-block;
  margin: 0 0.45em;
  color: var(--accent-5);
  text-shadow: 0 0 16px rgba(42, 235, 235, 0.72);
  animation: mission-start-blink 1.1s ease-in-out infinite;
}

@keyframes mission-start-blink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

body[data-page="mission"] .mission-runner-track {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  perspective: 1600px;
  transform-style: preserve-3d;
}

/* perspective ground plane with grid */
body[data-page="mission"] .mission-runner-track::before {
  content: '';
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -8%;
  height: 56%;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 80px,
      rgba(58, 180, 233, 0.18) 80px,
      rgba(58, 180, 233, 0.18) 81px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 50px,
      rgba(42, 235, 235, 0.12) 50px,
      rgba(42, 235, 235, 0.12) 51px
    ),
    radial-gradient(ellipse at center top, rgba(58, 180, 233, 0.18), transparent 65%),
    linear-gradient(180deg, rgba(4, 14, 25, 0.4), rgba(2, 8, 16, 0.95));
  transform: perspective(700px) rotateX(72deg);
  transform-origin: center top;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.9) 28%, #000 60%, rgba(0,0,0,0.4) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.9) 28%, #000 60%, rgba(0,0,0,0.4) 100%);
  animation: mission-grid-scroll 1.4s linear infinite;
}

/* horizon scan line + atmospheric haze — hidden */
body[data-page="mission"] .mission-runner-track::after {
  display: none;
}

body[data-page="mission"] .mission-runway-line {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 16%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(58, 180, 233, 0.85), rgba(42, 235, 235, 0.85), transparent);
  box-shadow: 0 0 24px rgba(58, 180, 233, 0.5), 0 0 48px rgba(42, 235, 235, 0.32);
  z-index: 1;
}

body[data-page="mission"] .mission-runway-fog {
  display: none;
}

body[data-page="mission"] .mission-runner {
  position: absolute;
  left: -42vw;
  --prop-carry-scale: 0.72;
  --prop-carry-shift-x: -54px;
  --prop-carry-shift-y: -28px;
  width: 232px;
  opacity: var(--runner-opacity, 0.95);
  animation: mission-run-across var(--run-duration, 12.2s) linear infinite;
  animation-delay: var(--run-delay, 0s);
  filter: drop-shadow(0 12px 18px rgba(2, 12, 24, 0.85));
  will-change: transform;
}

body[data-page="mission"] .mission-runner svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  transform-origin: center bottom;
  animation: mission-run-body 0.46s ease-in-out infinite;
}

/* ground shadow */
body[data-page="mission"] .mission-runner .runner-ground-shadow {
  fill: rgba(0, 4, 10, 0.7);
  filter: blur(2.4px);
  animation: mission-shadow-pulse 0.46s ease-in-out infinite;
}

/* dust kicked up behind feet */
body[data-page="mission"] .mission-runner .dust-mote {
  fill: rgba(160, 232, 255, 0.6);
  filter: blur(0.6px);
  animation: mission-dust-puff 0.9s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
body[data-page="mission"] .mission-runner .dust-mote.dust-2 { animation-delay: 0.18s; }
body[data-page="mission"] .mission-runner .dust-mote.dust-3 { animation-delay: 0.36s; }
body[data-page="mission"] .mission-runner .dust-mote.dust-4 { animation-delay: 0.54s; }
body[data-page="mission"] .mission-runner .dust-mote.dust-5 { animation-delay: 0.72s; }

/* HUD frame brackets */
body[data-page="mission"] .mission-runner .runner-hud .hud-bracket {
  fill: none;
  stroke: rgba(124, 232, 255, 0.55);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: mission-hud-flicker 3.4s ease-in-out infinite;
}
body[data-page="mission"] .mission-runner .runner-hud .hud-brief-line {
  fill: none;
  stroke: rgba(124, 232, 255, 0.86);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 4 3;
  animation: mission-brief-line-flow 1.3s linear infinite;
}
body[data-page="mission"] .mission-runner .runner-hud .hud-brief-line.hud-brief-line-2 {
  animation-delay: 0.22s;
}
body[data-page="mission"] .mission-runner .runner-hud .hud-code {
  fill: rgba(199, 245, 255, 0.96);
  font-family: var(--font-mono);
  font-size: 10.4px;
  font-weight: 700;
  letter-spacing: 0.08em;
  paint-order: stroke fill;
  stroke: rgba(2, 14, 24, 0.85);
  stroke-width: 0.8;
  animation: mission-hud-flicker 3.4s ease-in-out infinite;
}

/* === BODY === */
body[data-page="mission"] .mission-runner .runner-body {
  filter: drop-shadow(0 0 6px rgba(58, 180, 233, 0.22));
}

/* === STRIDE ANIMATION ===
   Skeletal rig: SMIL <animateTransform> handles bone rotations directly in the SVG.
   CSS only handles the whole-body vertical bob and a constant tactical lean. */

body[data-page="mission"] .mission-runner .rig-skeleton {
  /* Constant forward lean = tactical sprint posture */
  transform: rotate(8deg);
  transform-origin: 138px 110px;
  transform-box: view-box;
}

body[data-page="mission"] .mission-runner .runner-body,
body[data-page="mission"] .mission-runner .runner-prop {
  transform-origin: 138px 120px;
  transform-box: view-box;
  will-change: transform;
  animation: run-body-bob 0.32s infinite ease-in-out;
}

@keyframes run-body-bob {
  /* Foot-strike (low) → flight-apex (high) → foot-strike. Half the leg cycle, so 2 bobs per stride. */
  0%   { transform: translateY(3px); }
  50%  { transform: translateY(-5px); }
  100% { transform: translateY(3px); }
}

/* === BONE STYLING (replaces old limb-fill scheme) === */
body[data-page="mission"] .mission-runner .bone {
  stroke: var(--runner-accent, #2aebeb);
  stroke-width: 0.6;
  stroke-opacity: 0.45;
}
body[data-page="mission"] .mission-runner .bone-back {
  fill: var(--runner-suit-darker, #081f31);
  opacity: 0.95;
}
body[data-page="mission"] .mission-runner .bone-front {
  fill: var(--runner-suit, #133a58);
}
body[data-page="mission"] .mission-runner .shoe-back,
body[data-page="mission"] .mission-runner .shoe-front {
  fill: var(--runner-shoe, #d2f2ff);
  stroke: var(--runner-accent, #2aebeb);
  stroke-width: 0.5;
}
body[data-page="mission"] .mission-runner .shoe-back {
  opacity: 0.85;
}
body[data-page="mission"] .mission-runner .hand-back,
body[data-page="mission"] .mission-runner .hand-front {
  fill: var(--runner-skin, #d8eef9);
  stroke: rgba(124, 232, 255, 0.5);
  stroke-width: 0.6;
}
body[data-page="mission"] .mission-runner .hand-back {
  opacity: 0.9;
}

/* limbs (back limbs darker for depth) */
body[data-page="mission"] .mission-runner .limb-fill {
  fill: var(--runner-suit-dark, #0d2d45);
  stroke: var(--runner-accent, #2aebeb);
  stroke-width: 0.6;
  stroke-opacity: 0.42;
}
body[data-page="mission"] .mission-runner .limb-fill.limb-back {
  fill: var(--runner-suit-darker, #081f31);
  opacity: 0.92;
}
body[data-page="mission"] .mission-runner .limb-fill.limb-front {
  fill: var(--runner-suit, #133a58);
}

/* hand */
body[data-page="mission"] .mission-runner .hand-fill {
  fill: var(--runner-skin, #d8eef9);
  stroke: rgba(124, 232, 255, 0.5);
  stroke-width: 0.6;
}

/* shoes (accent colored) */
body[data-page="mission"] .mission-runner .shoe-fill {
  fill: var(--runner-shoe, #d2f2ff);
  stroke: var(--runner-accent, #2aebeb);
  stroke-width: 0.5;
}

/* torso (main suit color) */
body[data-page="mission"] .mission-runner .torso-fill {
  fill: var(--runner-suit, #133a58);
  stroke: var(--runner-accent, #2aebeb);
  stroke-width: 0.7;
  stroke-opacity: 0.45;
}

/* tactical vest plate (darker patch over torso) */
body[data-page="mission"] .mission-runner .vest-fill {
  fill: var(--runner-vest, #061826);
  stroke: var(--runner-accent, #2aebeb);
  stroke-width: 0.7;
  stroke-opacity: 0.6;
}
body[data-page="mission"] .mission-runner .vest-strap {
  stroke: rgba(124, 232, 255, 0.5);
  stroke-width: 0.7;
  stroke-linecap: round;
}
body[data-page="mission"] .mission-runner .vest-stud {
  fill: var(--runner-accent, #2aebeb);
  filter: drop-shadow(0 0 3px rgba(42, 235, 235, 0.85));
  animation: mission-led-pulse 1.6s ease-in-out infinite;
}

/* neck shadow */
body[data-page="mission"] .mission-runner .neck-fill {
  fill: var(--runner-suit-darker, #081f31);
}

/* head (skin tone for face strip below visor) */
body[data-page="mission"] .mission-runner .head-fill {
  fill: var(--runner-skin, #d8eef9);
}

/* helmet */
body[data-page="mission"] .mission-runner .helmet-fill {
  fill: var(--runner-helmet, #0a2638);
  stroke: var(--runner-accent, #2aebeb);
  stroke-width: 0.8;
  stroke-opacity: 0.6;
}
body[data-page="mission"] .mission-runner .helmet-rim {
  fill: var(--runner-helmet-rim, #051421);
}

/* visor (cyan glow) */
body[data-page="mission"] .mission-runner .visor-fill {
  fill: var(--runner-accent, #2aebeb);
  fill-opacity: 0.78;
  stroke: rgba(190, 250, 255, 0.95);
  stroke-width: 0.6;
  filter: drop-shadow(0 0 5px rgba(42, 235, 235, 0.85));
}
body[data-page="mission"] .mission-runner .visor-glint {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.2;
  stroke-linecap: round;
}

/* === PROP COMMON === */
body[data-page="mission"] .mission-runner .runner-prop {
  filter: drop-shadow(0 0 8px rgba(42, 235, 235, 0.42)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  transform-origin: 176px 110px;
  transform-box: fill-box;
  animation: mission-prop-sway 0.46s ease-in-out infinite;
}
body[data-page="mission"] .mission-runner .runner-prop .prop-body {
  fill: var(--prop-body, #061a2a);
  stroke: var(--runner-accent, #2aebeb);
  stroke-width: 1.4;
  stroke-linejoin: round;
}

/* keycaps */
body[data-page="mission"] .mission-runner .prop-keycap {
  fill: var(--prop-keycap, #0e2c44);
  stroke: rgba(124, 232, 255, 0.72);
  stroke-width: 0.4;
}
body[data-page="mission"] .mission-runner .prop-spacebar {
  fill: var(--prop-keycap, #0e2c44);
  stroke: rgba(124, 232, 255, 0.72);
  stroke-width: 0.4;
}
body[data-page="mission"] .mission-runner .prop-rgb {
  fill: var(--runner-accent, #2aebeb);
  filter: drop-shadow(0 0 4px rgba(42, 235, 235, 0.92));
  animation: mission-rgb-shift 2.6s ease-in-out infinite;
}

/* mouse */
body[data-page="mission"] .mission-runner .prop-mouse-shine {
  fill: none;
  stroke: rgba(180, 240, 255, 0.5);
  stroke-width: 1;
  stroke-linecap: round;
}
body[data-page="mission"] .mission-runner .prop-mouse-divider {
  stroke: rgba(124, 232, 255, 0.7);
  stroke-width: 0.8;
  stroke-linecap: round;
}
body[data-page="mission"] .mission-runner .prop-wheel {
  fill: var(--runner-accent, #2aebeb);
  filter: drop-shadow(0 0 3px rgba(42, 235, 235, 0.8));
}
body[data-page="mission"] .mission-runner .prop-wheel-grip {
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 0.6;
}
body[data-page="mission"] .mission-runner .prop-cable {
  fill: none;
  stroke: rgba(105, 220, 252, 0.85);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 6 4;
  animation: mission-cable-flow 1.4s linear infinite;
}

/* case */
body[data-page="mission"] .mission-runner .prop-side-panel {
  fill: rgba(124, 232, 255, 0.18);
  stroke: rgba(124, 232, 255, 0.6);
  stroke-width: 0.5;
}
body[data-page="mission"] .mission-runner .prop-mesh line {
  stroke: rgba(80, 180, 220, 0.4);
  stroke-width: 0.5;
}
body[data-page="mission"] .mission-runner .prop-port {
  fill: rgba(124, 232, 255, 0.32);
  stroke: rgba(124, 232, 255, 0.65);
  stroke-width: 0.4;
}

/* monitor + laptop screens */
body[data-page="mission"] .mission-runner .prop-screen {
  fill: rgba(20, 90, 130, 0.55);
  stroke: rgba(170, 240, 255, 0.85);
  stroke-width: 0.7;
}
body[data-page="mission"] .mission-runner .prop-screen-line {
  stroke: rgba(180, 240, 255, 0.78);
  stroke-width: 1;
  stroke-linecap: round;
}
body[data-page="mission"] .mission-runner .prop-screen-line.line-a { animation: mission-screen-blink 2.1s ease-in-out infinite; }
body[data-page="mission"] .mission-runner .prop-screen-line.line-b { animation: mission-screen-blink 2.6s ease-in-out 0.3s infinite; }
body[data-page="mission"] .mission-runner .prop-screen-line.line-c { animation: mission-screen-blink 2.4s ease-in-out 0.6s infinite; }
body[data-page="mission"] .mission-runner .prop-screen-block {
  fill: rgba(124, 232, 255, 0.32);
  stroke: rgba(170, 240, 255, 0.6);
  stroke-width: 0.4;
}
body[data-page="mission"] .mission-runner .prop-stand-neck {
  fill: rgba(11, 34, 54, 0.92);
  stroke: rgba(124, 232, 255, 0.55);
  stroke-width: 0.5;
}
body[data-page="mission"] .mission-runner .prop-base {
  fill: rgba(11, 34, 54, 0.95);
  stroke: rgba(124, 232, 255, 0.7);
  stroke-width: 0.8;
  stroke-linejoin: round;
}
body[data-page="mission"] .mission-runner .prop-power-led {
  stroke: var(--runner-accent, #2aebeb);
  stroke-width: 1.4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 3px rgba(42, 235, 235, 0.88));
  animation: mission-led-pulse 1.4s ease-in-out infinite;
}

/* server */
body[data-page="mission"] .mission-runner .prop-bay {
  fill: rgba(8, 24, 38, 0.92);
  stroke: rgba(124, 232, 255, 0.55);
  stroke-width: 0.5;
}
body[data-page="mission"] .mission-runner .prop-bay-handle {
  stroke: rgba(170, 240, 255, 0.7);
  stroke-width: 0.7;
  stroke-linecap: round;
}
body[data-page="mission"] .mission-runner .prop-vent line {
  stroke: rgba(80, 180, 220, 0.55);
  stroke-width: 0.6;
}

/* laptop */
body[data-page="mission"] .mission-runner .prop-keyboard-deck {
  fill: rgba(8, 26, 40, 0.95);
}
body[data-page="mission"] .mission-runner .prop-trackpad {
  fill: rgba(124, 232, 255, 0.18);
  stroke: rgba(124, 232, 255, 0.5);
  stroke-width: 0.4;
}
body[data-page="mission"] .mission-runner .prop-hinge {
  stroke: rgba(124, 232, 255, 0.6);
  stroke-width: 0.8;
}

/* LEDs */
body[data-page="mission"] .mission-runner .prop-led {
  fill: var(--runner-accent, #2aebeb);
  filter: drop-shadow(0 0 4px rgba(42, 235, 235, 0.88));
  animation: mission-led-pulse 1.2s ease-in-out infinite;
}
body[data-page="mission"] .mission-runner .prop-led-2 { animation-delay: 0.18s; }
body[data-page="mission"] .mission-runner .prop-led-3 { animation-delay: 0.36s; }
body[data-page="mission"] .mission-runner .prop-led-4 { animation-delay: 0.54s; }

/* === Per-runner palette + lane === */
body[data-page="mission"] .mission-runner--keyboard {
  --run-duration: 11.8s;
  --run-delay: -2.5s;
  --runner-scale: 1.12;
  --runner-opacity: 0.98;
  --runner-suit: #1a567f;
  --runner-suit-dark: #114063;
  --runner-suit-darker: #0a2c46;
  --runner-vest: #050f1a;
  --runner-helmet: #08283d;
  --runner-helmet-rim: #03101c;
  --runner-skin: #e3f4fb;
  --runner-shoe: #ffffff;
  --runner-accent: #2aebeb;
  --prop-body: #061a2a;
  --prop-keycap: #0e2c44;
  --prop-carry-scale: 0.7;
  --prop-carry-shift-x: -66px;
  --prop-carry-shift-y: -46px;
  bottom: 24%;
  z-index: 6;
}

body[data-page="mission"] .mission-runner--mouse {
  --run-duration: 10.9s;
  --run-delay: -6.4s;
  --runner-scale: 1.0;
  --runner-opacity: 0.88;
  --runner-suit: #14506f;
  --runner-suit-dark: #0e3a55;
  --runner-suit-darker: #07243a;
  --runner-vest: #04101a;
  --runner-helmet: #07263a;
  --runner-helmet-rim: #02101c;
  --runner-skin: #d8edf6;
  --runner-shoe: #d2efff;
  --runner-accent: #4ad8ff;
  --prop-body: #051826;
  --prop-carry-scale: 0.78;
  --prop-carry-shift-x: -58px;
  --prop-carry-shift-y: -46px;
  bottom: 17%;
  z-index: 4;
}

body[data-page="mission"] .mission-runner--case {
  --run-duration: 12.8s;
  --run-delay: -4.1s;
  --runner-scale: 1.06;
  --runner-opacity: 0.94;
  --runner-suit: #185271;
  --runner-suit-dark: #0f3a55;
  --runner-suit-darker: #082539;
  --runner-vest: #04111c;
  --runner-helmet: #08293e;
  --runner-helmet-rim: #03101c;
  --runner-skin: #ddf0f8;
  --runner-shoe: #d7f3ff;
  --runner-accent: #2aebeb;
  --prop-body: #051628;
  --prop-carry-scale: 0.74;
  --prop-carry-shift-x: -64px;
  --prop-carry-shift-y: -46px;
  bottom: 21%;
  z-index: 5;
}

body[data-page="mission"] .mission-runner--monitor {
  --run-duration: 11.3s;
  --run-delay: -8.3s;
  --runner-scale: 0.96;
  --runner-opacity: 0.8;
  --runner-suit: #134260;
  --runner-suit-dark: #0c324a;
  --runner-suit-darker: #061f31;
  --runner-vest: #030e18;
  --runner-helmet: #062236;
  --runner-helmet-rim: #020e18;
  --runner-skin: #d2eaf3;
  --runner-shoe: #caecff;
  --runner-accent: #53dcff;
  --prop-body: #04162a;
  --prop-carry-scale: 0.64;
  --prop-carry-shift-x: -72px;
  --prop-carry-shift-y: -46px;
  bottom: 14%;
  z-index: 3;
}

body[data-page="mission"] .mission-runner--server {
  --run-duration: 13.9s;
  --run-delay: -3.2s;
  --runner-scale: 1.14;
  --runner-opacity: 0.96;
  --runner-suit: #1d5a82;
  --runner-suit-dark: #154166;
  --runner-suit-darker: #0a2c46;
  --runner-vest: #061321;
  --runner-helmet: #0a2c40;
  --runner-helmet-rim: #03101c;
  --runner-skin: #e6f6fc;
  --runner-shoe: #ffffff;
  --runner-accent: #2aebeb;
  --prop-body: #061a2c;
  --prop-carry-scale: 0.6;
  --prop-carry-shift-x: -80px;
  --prop-carry-shift-y: -46px;
  bottom: 25%;
  z-index: 7;
}

body[data-page="mission"] .mission-runner--laptop {
  --run-duration: 10.2s;
  --run-delay: -5.6s;
  --runner-scale: 0.92;
  --runner-opacity: 0.74;
  --runner-suit: #123b56;
  --runner-suit-dark: #0b2e44;
  --runner-suit-darker: #051a2a;
  --runner-vest: #030c15;
  --runner-helmet: #051f31;
  --runner-helmet-rim: #020c16;
  --runner-skin: #cfe6ef;
  --runner-shoe: #c3e8ff;
  --runner-accent: #3ab4e9;
  --prop-body: #03132a;
  --prop-carry-scale: 0.66;
  --prop-carry-shift-x: -70px;
  --prop-carry-shift-y: -46px;
  bottom: 12%;
  z-index: 2;
  filter: drop-shadow(0 12px 18px rgba(2, 12, 24, 0.85)) blur(0.4px);
}
body[data-page="mission"] .mission-runner--monitor { filter: drop-shadow(0 12px 18px rgba(2, 12, 24, 0.85)) blur(0.2px); }

/* === KEYFRAMES === */
@keyframes mission-run-across {
  from { transform: translate3d(-46vw, 0, 0) scale(var(--runner-scale, 1)); }
  to { transform: translate3d(155vw, 0, 0) scale(var(--runner-scale, 1)); }
}

@keyframes mission-run-body {
  0%   { transform: translateY(0) rotate(0.6deg); }
  25%  { transform: translateY(-3px) rotate(-0.4deg); }
  50%  { transform: translateY(0) rotate(0.6deg); }
  75%  { transform: translateY(-3px) rotate(-0.4deg); }
  100% { transform: translateY(0) rotate(0.6deg); }
}

@keyframes mission-prop-sway {
  0%, 100% {
    transform: translate(var(--prop-carry-shift-x, -54px), var(--prop-carry-shift-y, -28px)) scale(var(--prop-carry-scale, 0.72)) rotate(2deg);
  }
  50% {
    transform: translate(var(--prop-carry-shift-x, -54px), calc(var(--prop-carry-shift-y, -28px) - 1.5px)) scale(var(--prop-carry-scale, 0.72)) rotate(-3deg);
  }
}

@keyframes mission-shadow-pulse {
  0%, 100% { transform: scale(1, 1); opacity: 0.8; }
  50%      { transform: scale(0.86, 1); opacity: 0.55; }
}

@keyframes mission-dust-puff {
  0%   { transform: translate(0, 0) scale(0.4); opacity: 0; }
  20%  { transform: translate(-4px, -2px) scale(1); opacity: 0.85; }
  100% { transform: translate(-26px, -8px) scale(1.6); opacity: 0; }
}

@keyframes mission-led-pulse {
  0%, 100% { opacity: 0.45; filter: drop-shadow(0 0 0 rgba(42, 235, 235, 0)); }
  50%      { opacity: 1;    filter: drop-shadow(0 0 8px rgba(42, 235, 235, 0.92)); }
}

@keyframes mission-rgb-shift {
  0%   { fill: #2aebeb; filter: drop-shadow(0 0 4px #2aebeb); }
  33%  { fill: #6f4dff; filter: drop-shadow(0 0 4px #6f4dff); }
  66%  { fill: #ff4dab; filter: drop-shadow(0 0 4px #ff4dab); }
  100% { fill: #2aebeb; filter: drop-shadow(0 0 4px #2aebeb); }
}

@keyframes mission-cable-flow {
  to { stroke-dashoffset: -28; }
}

@keyframes mission-screen-blink {
  0%, 100% { opacity: 0.78; }
  50%      { opacity: 0.32; }
}

@keyframes mission-grid-scroll {
  to { background-position: 0 50px, 80px 0, 0 0, 0 0; }
}

@keyframes mission-hud-flicker {
  0%, 92%, 100% { opacity: 1; }
  93%           { opacity: 0.3; }
  94%           { opacity: 1; }
  96%           { opacity: 0.4; }
  97%           { opacity: 1; }
}

@keyframes mission-brief-line-flow {
  0%   { stroke-dashoffset: 0; opacity: 0.34; }
  45%  { opacity: 1; }
  100% { stroke-dashoffset: -14; opacity: 0.56; }
}

body[data-page="mission"] .mission-sequence-orbital {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(3.6) rotate(-8deg);
  pointer-events: none;
  z-index: 6;
}

body[data-page="mission"] .mission-sequence-orbital .mission-orbit-shell {
  width: min(88vmin, 860px);
  height: min(88vmin, 860px);
  transform-origin: center center;
}

body[data-page="mission"] .mission-sequence-orbital .orbital-ring-1 {
  border-color: rgba(58, 180, 233, 0.38);
}

body[data-page="mission"] .mission-sequence-orbital .orbital-ring-2 {
  border-color: rgba(42, 235, 235, 0.3);
}

body[data-page="mission"] .mission-sequence-orbital .orbital-ring-3 {
  border-color: rgba(101, 241, 255, 0.24);
}

body[data-page="mission"] .mission-sequence-orbital .orbital-brand {
  font-size: clamp(3.3rem, 10.6vw, 8.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(58, 180, 233, 0.42);
}

/* --- Mission Page: What Drives Us Cards --- */
.mission-drive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.mission-drive-grid .mission-drive-card {
  position: relative;
  overflow: hidden;
  min-height: 252px;
  padding: 1.45rem 1.35rem 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(58, 180, 233, 0.15);
  background: linear-gradient(135deg, #050d1e 0%, #091929 60%, #071520 100%);
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.mission-drive-grid .mission-drive-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 85% 65% at 30% 70%, rgba(58, 180, 233, 0.12) 0%, transparent 72%);
  animation: mission-card-pulse 6.2s ease-in-out infinite;
  pointer-events: none;
}

.mission-drive-grid .mission-drive-card:hover {
  border-color: rgba(58, 180, 233, 0.42);
  box-shadow: 0 0 30px rgba(58, 180, 233, 0.2), 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: scale(1.012);
}

.mission-drive-grid .mission-drive-card > * {
  position: relative;
  z-index: 1;
}

.mission-drive-grid .mission-drive-card h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.08rem;
}

.mission-drive-grid .mission-drive-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.62;
}

.mission-drive-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 20, 36, 0.55);
  border: 1px solid rgba(58, 180, 233, 0.28);
  color: #8deeff;
  box-shadow: 0 0 14px rgba(58, 180, 233, 0.16);
  position: relative;
  isolation: isolate;
}

.mission-drive-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 1px solid rgba(58, 180, 233, 0.2);
  opacity: 0.26;
  z-index: -1;
  animation: mission-drive-icon-ring 5s linear infinite;
}

.mission-drive-icon svg {
  width: 44px;
  height: 44px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(58, 180, 233, 0.25));
}

.mission-drive-icon .mdi-bar {
  fill: rgba(58, 180, 233, 0.24);
  stroke: rgba(58, 180, 233, 0.9);
}

.mission-drive-card--precision .mdi-rotor {
  transform-origin: center;
  transform-box: fill-box;
  animation: mission-rotor-spin 5.4s linear infinite;
}

.mission-drive-card--precision .mdi-pulse {
  fill: #2aebeb;
  stroke: none;
  animation: mission-pulse-dot 2.4s ease-in-out infinite;
}

.mission-drive-card--ownership .mdi-flow {
  stroke-dasharray: 6 5;
  animation: mission-flow-line 1.8s linear infinite;
}

.mission-drive-card--rightsized .mdi-slider {
  transform-origin: center;
  transform-box: fill-box;
  animation: mission-slider-scan 2.7s ease-in-out infinite;
}

.mission-drive-card--partnership .mdi-bridge {
  animation: mission-bridge-pulse 2.8s ease-in-out infinite;
}

.mission-drive-card--security .mdi-scan {
  stroke-dasharray: 20 14;
  animation: mission-shield-scan 1.7s linear infinite;
}

.mission-drive-card--impact .mdi-bar {
  transform-origin: center bottom;
  transform-box: fill-box;
}

.mission-drive-card--impact .mdi-bar-a {
  animation: mission-bar-rise-a 2.3s ease-in-out infinite;
}

.mission-drive-card--impact .mdi-bar-b {
  animation: mission-bar-rise-b 2.3s ease-in-out 0.15s infinite;
}

.mission-drive-card--impact .mdi-bar-c {
  animation: mission-bar-rise-c 2.3s ease-in-out 0.3s infinite;
}

.mission-drive-card--impact .mdi-trend {
  animation: mission-trend-glow 2.4s ease-in-out infinite;
}

.mission-drive-card--impact .mdi-trend-dot {
  fill: #2aebeb;
  stroke: none;
  animation: mission-pulse-dot 2.1s ease-in-out 0.3s infinite;
}

@keyframes mission-card-pulse {
  0%, 100% { opacity: 0.82; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes mission-drive-icon-ring {
  0% { transform: scale(0.9) rotate(0deg); opacity: 0.2; }
  50% { transform: scale(1.1) rotate(180deg); opacity: 0.45; }
  100% { transform: scale(0.9) rotate(360deg); opacity: 0.2; }
}

@keyframes mission-rotor-spin {
  to { transform: rotate(360deg); }
}

@keyframes mission-pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes mission-flow-line {
  to { stroke-dashoffset: -22; }
}

@keyframes mission-slider-scan {
  0%, 100% { transform: translateX(-8px); }
  50% { transform: translateX(8px); }
}

@keyframes mission-bridge-pulse {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 1; filter: drop-shadow(0 0 7px rgba(42, 235, 235, 0.75)); }
}

@keyframes mission-shield-scan {
  to { stroke-dashoffset: -34; }
}

@keyframes mission-bar-rise-a {
  0%, 100% { transform: scaleY(0.82); }
  50% { transform: scaleY(1.08); }
}

@keyframes mission-bar-rise-b {
  0%, 100% { transform: scaleY(0.78); }
  50% { transform: scaleY(1.13); }
}

@keyframes mission-bar-rise-c {
  0%, 100% { transform: scaleY(0.84); }
  50% { transform: scaleY(1.18); }
}

@keyframes mission-trend-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(42, 235, 235, 0)); }
  50% { filter: drop-shadow(0 0 8px rgba(42, 235, 235, 0.72)); }
}

.mission-drive-grid .mission-drive-card:nth-child(2) .mission-drive-icon::after { animation-delay: 0.2s; }
.mission-drive-grid .mission-drive-card:nth-child(3) .mission-drive-icon::after { animation-delay: 0.4s; }
.mission-drive-grid .mission-drive-card:nth-child(4) .mission-drive-icon::after { animation-delay: 0.6s; }
.mission-drive-grid .mission-drive-card:nth-child(5) .mission-drive-icon::after { animation-delay: 0.8s; }
.mission-drive-grid .mission-drive-card:nth-child(6) .mission-drive-icon::after { animation-delay: 1s; }

@media (max-width: 900px) {
  body[data-page="mission"] .mission-sequence {
    height: 188vh;
  }

  body[data-page="mission"] .mission-runner {
    width: 188px;
  }
}

@media (max-width: 768px) {
  body[data-page="mission"] .mission-sequence {
    height: 172vh;
  }

  body[data-page="mission"] .about-hero {
    margin-top: -1.2rem;
    padding-top: calc(var(--nav-height) + 0.1rem);
  }

  body[data-page="mission"] .mission-sequence-start {
    top: 24%;
    letter-spacing: 0.16em;
  }

  body[data-page="mission"] .mission-runway-line {
    bottom: 14%;
  }

  body[data-page="mission"] .mission-runner {
    width: 164px;
  }

  .mission-drive-grid .mission-drive-card {
    min-height: 228px;
    padding: 1.2rem;
  }

  .mission-drive-icon {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 560px) {
  body[data-page="mission"] .mission-sequence {
    height: 154vh;
  }

  body[data-page="mission"] .mission-runner--server,
  body[data-page="mission"] .mission-runner--laptop {
    display: none;
  }
}

[dir="rtl"] body[data-page="mission"] .mission-sequence-start {
  direction: ltr;
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="mission"] .mission-sequence {
    display: none;
  }

  .mission-drive-icon::after,
  .mission-drive-icon svg,
  .mission-drive-icon .mdi-rotor,
  .mission-drive-icon .mdi-pulse,
  .mission-drive-icon .mdi-flow,
  .mission-drive-icon .mdi-slider,
  .mission-drive-icon .mdi-bridge,
  .mission-drive-icon .mdi-scan,
  .mission-drive-icon .mdi-bar,
  .mission-drive-icon .mdi-trend,
  .mission-drive-icon .mdi-trend-dot {
    animation: none !important;
  }
}

/* --- Goals Page: Targeting Intro Sequence --- */
body[data-page="goals"] .goals-sequence {
  position: relative;
  height: 320vh;
  isolation: isolate;
}

body[data-page="goals"] .goals-sequence-sticky {
  position: sticky;
  top: var(--nav-height);
  height: calc(var(--fixed-100vh, 100vh) - var(--nav-height));
  overflow: hidden;
  display: grid;
  place-items: center;
  background: transparent;
}

body[data-page="goals"] .goals-sequence-sticky::after {
  display: none;
}

body[data-page="goals"] .goals-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background-image:
    linear-gradient(rgba(124, 232, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 232, 255, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
          mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
  will-change: opacity;
}

body[data-page="goals"] .goals-sequence-line {
  margin: 0; margin-top: 4rem; align-self: start;
  position: relative; z-index: 5;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.2vw, 2.9rem);
  font-weight: 700; letter-spacing: 0.04em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

body[data-page="goals"] .goals-sequence-ghost-title {
  position: absolute; left: 50%; top: 50%; z-index: 6;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 12vw, 11.2rem);
  font-weight: 800; letter-spacing: 0.2em;
  white-space: nowrap;
  color: rgba(180, 244, 255, 0.22);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(136, 235, 255, 0.55);
  text-shadow: 0 0 26px rgba(58, 180, 233, 0.26);
  opacity: 0; pointer-events: none;
  will-change: transform, opacity, filter;
}

/* ── Trajectory: SVG container holding the comet's flight path ── */
body[data-page="goals"] .goals-trajectory {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
  /* Hidden until the scroll timeline reveals it (otherwise the trail/comet
     visibly "leak" before the user starts scrolling). */
  opacity: 0;
  will-change: opacity;
}

body[data-page="goals"] .goals-comet {
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 28px rgba(126, 240, 255, 0.7))
    drop-shadow(0 0 60px rgba(58, 180, 233, 0.5));
  opacity: 0;
  will-change: transform, opacity;
}

/* ── Apex rings: three concentric expanding waves ── */
body[data-page="goals"] .goals-rings {
  position: absolute; left: 50%; top: 14%;
  width: 1px; height: 1px;
  z-index: 4; pointer-events: none;
  transform: translate(-50%, -50%);
}
body[data-page="goals"] .goals-rings span {
  position: absolute; left: 50%; top: 50%;
  width: 26vmin; height: 26vmin;
  margin: -13vmin 0 0 -13vmin;
  border-radius: 50%;
  border: 2px solid rgba(174, 244, 255, 0.85);
  box-shadow:
    0 0 24px rgba(126, 240, 255, 0.5),
    inset 0 0 24px rgba(126, 240, 255, 0.35);
  opacity: 0;
  will-change: transform, opacity;
}
body[data-page="goals"] .goals-rings span:nth-child(2) {
  width: 38vmin; height: 38vmin;
  margin: -19vmin 0 0 -19vmin;
  border-color: rgba(126, 240, 255, 0.55);
  border-width: 1.6px;
}
body[data-page="goals"] .goals-rings span:nth-child(3) {
  width: 54vmin; height: 54vmin;
  margin: -27vmin 0 0 -27vmin;
  border-color: rgba(58, 180, 233, 0.4);
  border-width: 1.2px;
}

/* ── Radiating star particles from the apex point ── */
body[data-page="goals"] .goals-particles {
  position: absolute; left: 50%; top: 14%;
  width: 1px; height: 1px;
  z-index: 5; pointer-events: none;
  transform: translate(-50%, -50%);
}
body[data-page="goals"] .goals-particles span {
  position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #ffffff 0%, #aef4ff 50%, rgba(58,180,233,0) 100%);
  box-shadow: 0 0 8px rgba(174, 244, 255, 0.95);
  /* Each particle radiates outward at its assigned angle.
     `--p-angle` is set inline; 22vmin is the travel distance. */
  transform: rotate(var(--p-angle, 0deg)) translate(22vmin) rotate(calc(var(--p-angle, 0deg) * -1));
  opacity: 0;
  will-change: transform, opacity;
}

body[data-page="goals"] .goals-flash {
  position: absolute; inset: 0; z-index: 8; opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 14%,
    rgba(255,255,255,1) 0%,
    rgba(255,235,210,0.9) 14%,
    rgba(126,240,255,0.4) 38%,
    rgba(10,30,60,0) 70%);
  mix-blend-mode: screen;
  will-change: opacity;
}

@media (max-width: 900px) {
  body[data-page="goals"] .goals-sequence { height: 296vh; }
  body[data-page="goals"] .goals-sequence-line { font-size: clamp(1.08rem, 4.4vw, 2.1rem); }
  body[data-page="goals"] .goals-sequence-ghost-title {
    font-size: clamp(2rem, 14vw, 8rem); letter-spacing: 0.14em;
  }
  body[data-page="goals"] .goals-particles span {
    transform: rotate(var(--p-angle, 0deg)) translate(28vmin) rotate(calc(var(--p-angle, 0deg) * -1));
  }
}

@media (max-width: 560px) {
  body[data-page="goals"] .goals-sequence { height: 260vh; }
  body[data-page="goals"] .goals-sequence-ghost-title {
    font-size: clamp(1.7rem, 13vw, 4rem); letter-spacing: 0.1em;
  }
  body[data-page="goals"] .goals-particles span {
    transform: rotate(var(--p-angle, 0deg)) translate(34vmin) rotate(calc(var(--p-angle, 0deg) * -1));
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="goals"] .goals-sequence { display: none; }
}

/* ── About Page Mobile (≤768px) ── */
@media (max-width: 768px) {
  body[data-page="about"] .about-hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  body[data-page="about"] .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Put orbital first on mobile */
  body[data-page="about"] .about-grid > div:first-child { order: 2; }
  body[data-page="about"] .about-grid > div:last-child  { order: 1; }

  body[data-page="about"] .orbital-container {
    width: 200px;
    height: 200px;
  }

  .about-btns {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .about-btns .btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body[data-page="about"] .orbital-container {
    width: 150px;
    height: 150px;
  }
}

/* ── Mission Page Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Hero: single column, orbital above text */
  body[data-page="mission"] .about-hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  body[data-page="mission"] .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  body[data-page="mission"] .about-grid > div:first-child { order: 2; }
  body[data-page="mission"] .about-grid > div:last-child  { order: 1; padding-top: 2rem; }

  body[data-page="mission"] .about-hero .orbital-container {
    width: 200px;
    height: 200px;
  }

  /* Hero + CTA buttons: stack vertically */
  .mission-btns {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .mission-btns .btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  /* CTA section: centre-align stacked buttons */
  body[data-page="mission"] .section:last-of-type .mission-btns {
    align-items: center !important;
  }

  /* How We Deliver grid: single column */
  .mission-deliver-grid {
    grid-template-columns: 1fr !important;
  }

  /* Runner sequence: overflow visible so runners emerge from viewport edge */
  body[data-page="mission"] .mission-sequence-sticky {
    overflow: visible;
  }
}

@media (max-width: 480px) {
  body[data-page="mission"] .about-hero .orbital-container {
    width: 150px;
    height: 150px;
  }
}

/* ── Goals Page Mobile (≤768px) ── */
@media (max-width: 768px) {
  body[data-page="goals"] .about-hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  body[data-page="goals"] .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  body[data-page="goals"] .about-grid > div:first-child { order: 2; }
  body[data-page="goals"] .about-grid > div:last-child  { order: 1; }

  body[data-page="goals"] .about-hero .orbital-container {
    width: 200px;
    height: 200px;
  }

  /* Sequence: overflow visible so animation elements clip at viewport edge */
  body[data-page="goals"] .goals-sequence-sticky {
    overflow: visible;
  }
}

@media (max-width: 480px) {
  body[data-page="goals"] .about-hero .orbital-container {
    width: 150px;
    height: 150px;
  }
}

/* ── Values Page Mobile (≤768px) ── */
@media (max-width: 768px) {
  body[data-page="values"] .about-hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  body[data-page="values"] .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  body[data-page="values"] .about-grid > div:first-child { order: 2; }
  body[data-page="values"] .about-grid > div:last-child  { order: 1; }

  body[data-page="values"] .about-hero .orbital-container {
    width: 200px;
    height: 200px;
  }

  /* Sequence: overflow visible so animation elements clip at viewport edge */
  body[data-page="values"] .values-sequence-sticky {
    overflow: visible;
  }
}

@media (max-width: 480px) {
  body[data-page="values"] .about-hero .orbital-container {
    width: 150px;
    height: 150px;
  }
}
