/* ==========================================================================
   SHINOBI DESIGN SYSTEM — THE WAY OF THE HOKAGE ARCHITECT (v1.8.0)
   Theme: Naruto Universe Aesthetics applied to Enterprise System Architecture
   Author: Antigravity / Kumar Utkarsh Portfolio Redesign
   ========================================================================== */

/* ---------- 1. Shinobi Design Tokens & Color Matrix ---------- */
:root, [data-theme="dark"] {
  /* Core Backgrounds */
  --shinobi-bg: #07090e;
  --shinobi-surface: #0e121a;
  --shinobi-card: #141923;
  --shinobi-card-hover: #192130;
  --shinobi-border: rgba(255, 107, 43, 0.28);
  --shinobi-border-subtle: rgba(255, 255, 255, 0.08);

  /* Chakra Color Energies */
  --kurama-orange: #ff5e1a;
  --kurama-orange-glow: rgba(255, 94, 26, 0.5);
  --kurama-gradient: linear-gradient(135deg, #ff5e1a 0%, #ff8c42 50%, #ffa502 100%);
  --rasengan-cyan: #00e5ff;
  --rasengan-cyan-glow: rgba(0, 229, 255, 0.4);
  --rasengan-gradient: linear-gradient(135deg, #00e5ff 0%, #38bdf8 60%, #818cf8 100%);
  --konoha-leaf: #10b981;
  --konoha-leaf-glow: rgba(16, 185, 129, 0.4);
  --uzumaki-seal: #f43f5e;
  --uzumaki-seal-glow: rgba(244, 63, 94, 0.4);
  --shinobi-gold: #fbbf24;
  --shinobi-gold-glow: rgba(251, 191, 36, 0.5);
  --sharingan-red: #ef4444;
  --sharingan-glow: rgba(239, 68, 68, 0.6);

  /* Typography Colors */
  --text-main: #f1f5f9;
  --text-heading: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Metallic Hitai-ate Headband Tokens */
  --headband-metal: linear-gradient(180deg, #1f2735 0%, #111620 50%, #1a222e 100%);
  --headband-border: #3b4759;
  --headband-rivet: #94a3b8;
  --headband-shine: rgba(255, 255, 255, 0.16);
  --hokage-stone: #2d3748;
}

[data-theme="light"] {
  /* Scroll Parchment Palette */
  --shinobi-bg: #f8f6f0;
  --shinobi-surface: #f1ede2;
  --shinobi-card: #ffffff;
  --shinobi-card-hover: #fcfbf9;
  --shinobi-border: rgba(194, 65, 12, 0.32);
  --shinobi-border-subtle: rgba(0, 0, 0, 0.09);

  --kurama-orange: #c2410c;
  --kurama-orange-glow: rgba(194, 65, 12, 0.28);
  --kurama-gradient: linear-gradient(135deg, #c2410c 0%, #ea580c 50%, #d97706 100%);
  --rasengan-cyan: #0284c7;
  --rasengan-cyan-glow: rgba(2, 132, 199, 0.25);
  --rasengan-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 60%, #4338ca 100%);
  --konoha-leaf: #059669;
  --konoha-leaf-glow: rgba(5, 150, 105, 0.3);
  --uzumaki-seal: #be123c;
  --uzumaki-seal-glow: rgba(190, 18, 60, 0.25);
  --shinobi-gold: #b45309;
  --shinobi-gold-glow: rgba(180, 83, 9, 0.35);
  --sharingan-red: #dc2626;
  --sharingan-glow: rgba(220, 38, 38, 0.4);

  --text-main: #1c1917;
  --text-heading: #0c0a09;
  --text-muted: #44403c;
  --text-dim: #78716c;

  --headband-metal: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  --headband-border: #94a3b8;
  --headband-rivet: #475569;
  --headband-shine: rgba(255, 255, 255, 0.7);
  --hokage-stone: #cbd5e1;
}

/* ---------- 2. Global Document & Reset Overrides ---------- */
html, body {
  background-color: var(--shinobi-bg) !important;
  color: var(--text-main) !important;
  overflow-x: clip !important;
  scroll-behavior: smooth;
}

/* Ambient Canvas Container */
#chakra-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* Content Stacking */
nav, main, footer, .floating-whatsapp-btn {
  position: relative;
  z-index: 1;
}

/* Fixed Lightbox Popup Modal System (Zero Page Scrolling Bug) */
.lightbox-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  background: rgba(5, 7, 11, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
}

.lightbox-modal.active {
  display: flex !important;
}

.lightbox-content {
  position: relative !important;
  background: var(--shinobi-card, #141923) !important;
  border: 1px solid var(--kurama-orange, #ff5e1a) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 94, 26, 0.25) !important;
  max-width: 780px !important;
  width: 100% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  z-index: 1000000 !important;
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ---------- 3. Hitai-ate (額当て - Shinobi Headband) Navigation Bar ---------- */
nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  background: rgba(7, 9, 14, 0.94) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 2px solid rgba(255, 94, 26, 0.28) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  padding: 8px 0 !important;
}

[data-theme="light"] nav {
  background: rgba(248, 246, 240, 0.96) !important;
  border-bottom: 2px solid rgba(194, 65, 12, 0.28) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

nav .con {
  max-width: 1380px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

/* Headband Metallic Bar across nav inner */
.nav-wrap {
  position: relative !important;
  padding: 0.4rem 1.4rem !important;
  background: var(--headband-metal) !important;
  border: 1px solid var(--headband-border) !important;
  border-radius: 12px !important;
  box-shadow: 
    inset 0 1px 0 var(--headband-shine),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 4px 18px rgba(0, 0, 0, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 58px !important;
}

/* Engraved Headband Rivets — cleanly positioned at outer edges */
.nav-wrap::before,
.nav-wrap::after {
  content: "•";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--headband-rivet);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 4px rgba(255, 255, 255, 0.25);
  pointer-events: none;
}
.nav-wrap::before {
  left: 8px;
}
.nav-wrap::after {
  right: 8px;
}

/* Signature "KU" Brand Logo */
.brand-logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  margin-left: 6px;
}

.brand-symbol {
  background: linear-gradient(135deg, #ff5e1a 0%, #ff8c42 50%, #ffa502 100%) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  font-family: var(--font-heading), sans-serif !important;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  position: relative !important;
  overflow: visible !important;
  padding: 0 !important;
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 16px rgba(255, 94, 26, 0.45), 0 0 14px rgba(255, 165, 2, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.brand-symbol::after {
  content: "" !important;
  position: absolute !important;
  bottom: 3px !important;
  right: 3px !important;
  width: 5px !important;
  height: 5px !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 0 6px #ffffff, 0 0 10px #fbbf24 !important;
  display: block !important;
}

.brand-logo:hover .brand-symbol {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 6px 22px rgba(255, 94, 26, 0.6), 0 0 18px rgba(255, 165, 2, 0.45) !important;
}

[data-theme="light"] .brand-symbol {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 60%, #fbbf24 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35) !important;
}

.brand-sub-badge {
  display: none !important;
}

.brand-text {
  font-family: var(--font-heading), sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.04em !important;
  color: var(--text-heading) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
}

.brand-text span {
  color: var(--kurama-orange) !important;
}

/* Shinobi Kanji Nav Links */
.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none !important;
  }
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 7px !important;
  padding: 5px 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  text-decoration: none !important;
  position: relative;
  white-space: nowrap !important;
  border: 1px solid transparent !important;
}

/* Suppress all rogue underlines */
.nav-link::after,
.nav-link.active::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Standardized 1-Kanji Square Badge (18x18px) */
.shinobi-kanji-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--shinobi-gold) !important;
  font-family: "Noto Serif JP", serif, sans-serif !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

[data-theme="light"] .shinobi-kanji-badge {
  background: rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: var(--shinobi-gold) !important;
}

.nav-link:hover {
  color: var(--text-heading) !important;
  background: rgba(255, 94, 26, 0.1) !important;
  transform: translateY(-1px);
}

.nav-link:hover .shinobi-kanji-badge {
  background: var(--kurama-orange) !important;
  color: #ffffff !important;
  border-color: var(--kurama-orange) !important;
  box-shadow: 0 0 8px var(--kurama-orange-glow) !important;
}

.nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 94, 26, 0.16) !important;
  border: 1px solid rgba(255, 94, 26, 0.4) !important;
  box-shadow: inset 0 0 10px rgba(255, 94, 26, 0.18) !important;
}

.nav-link.active .shinobi-kanji-badge {
  background: var(--kurama-gradient) !important;
  color: #ffffff !important;
  border-color: var(--kurama-orange) !important;
  box-shadow: 0 0 8px var(--kurama-orange-glow) !important;
}

/* Nav Actions Cluster */
.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  margin-right: 6px;
}

/* Embedded Viewport Mode Switcher — Removed from primary menu per design critique */
.shinobi-view-toggle {
  display: none !important;
}

/* Sharingan / Sage Eye Theme Switcher */
.theme-toggle {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--headband-border) !important;
  border-radius: 50% !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  flex-shrink: 0 !important;
}

.theme-toggle:hover {
  transform: rotate(360deg) scale(1.08) !important;
  box-shadow: 0 0 16px var(--sharingan-glow) !important;
  border-color: var(--sharingan-red) !important;
}

.eye-mode-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* Minato Hiraishin Kunai CTA — cleanly nested inside headband */
.btn-nav-cta {
  background: var(--kurama-gradient) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px var(--kurama-orange-glow) !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  border-radius: 8px !important;
  padding: 7px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.btn-nav-cta::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(25deg);
  transition: left 0.6s ease;
}

.btn-nav-cta:hover::after {
  left: 130%;
}

.btn-nav-cta:hover {
  box-shadow: 0 0 22px var(--shinobi-gold-glow), 0 0 14px var(--kurama-orange-glow) !important;
  transform: translateY(-2px) scale(1.02);
}

.hiraishin-kunai-icon {
  width: 13px;
  height: 13px;
  fill: #ffffff;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

@media (max-width: 900px) {
  .btn-nav-cta {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .brand-sub-badge {
    display: none !important;
  }
  .nav-wrap {
    padding: 0.35rem 0.85rem !important;
  }
  .nav-wrap::before {
    left: 6px !important;
  }
  .nav-wrap::after {
    right: 6px !important;
  }
  .brand-text {
    font-size: 0.84rem !important;
  }
  .brand-symbol {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.96rem !important;
  }
  .nav-actions {
    gap: 6px !important;
    margin-right: 4px !important;
  }
}

/* Mobile Nav Drawer — Positioned Cleanly Below Hitai-ate Headband */
.mobile-nav {
  position: fixed !important;
  top: 74px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: calc(100vh - 74px) !important;
  max-height: calc(100dvh - 74px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  z-index: 9998 !important;
  background: rgba(7, 9, 14, 0.98) !important;
  border-top: 1px solid var(--kurama-orange) !important;
  border-bottom: 2px solid var(--kurama-orange) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  padding: 14px 18px 48px !important;
  display: none !important;
  flex-direction: column !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8) !important;
}

.mobile-nav.open,
.mobile-nav.active {
  display: flex !important;
}

[data-theme="light"] .mobile-nav {
  background: rgba(248, 246, 240, 0.98) !important;
  border-top: 1px solid var(--kurama-orange) !important;
  border-bottom: 2px solid var(--kurama-orange) !important;
}

.mobile-nav-link {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  min-height: 50px !important;
  padding: 10px 14px !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--text-main) !important;
  border-bottom: 1px solid var(--shinobi-border-subtle) !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}

.mobile-nav-link::after {
  content: "→" !important;
  margin-left: auto !important;
  font-size: 0.95rem !important;
  color: var(--text-muted) !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--kurama-orange) !important;
  background: rgba(255, 94, 26, 0.08) !important;
}

.mobile-nav-link:hover::after,
.mobile-nav-link.active::after {
  color: var(--kurama-orange) !important;
  transform: translateX(4px) !important;
}

/* Prototypes Page Mobile Responsiveness: Zero Overlap */
@media (max-width: 768px) {
  .projects-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    width: 100% !important;
  }
  .proto-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }
  .role-buttons-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

/* ---------- 4. Cards, Buttons & Interactive Elements ---------- */
.card, .pcard, .kh-card, .exp-item, .proc-card, .spec-card, .tech-category {
  background: var(--shinobi-card) !important;
  border: 1px solid var(--shinobi-border) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  border-radius: 14px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
}

.card:hover, .pcard:hover, .kh-card:hover, .exp-item:hover, .proc-card:hover, .spec-card:hover {
  background: var(--shinobi-card-hover) !important;
  border-color: var(--kurama-orange) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px var(--kurama-orange-glow) !important;
  transform: translateY(-4px) !important;
}

.btn-primary, .kh-cta-btn, .footer-book-btn {
  background: var(--kurama-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 20px var(--kurama-orange-glow) !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  transition: all 0.25s ease !important;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover, .kh-cta-btn:hover, .footer-book-btn:hover {
  box-shadow: 0 8px 30px var(--kurama-orange-glow), 0 0 18px var(--shinobi-gold-glow) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--shinobi-border) !important;
  color: var(--text-main) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
}

.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.08) !important;
  border-color: var(--rasengan-cyan) !important;
  color: var(--rasengan-cyan) !important;
  box-shadow: 0 0 16px var(--rasengan-cyan-glow) !important;
}

.kh-marker {
  background-color: var(--konoha-leaf) !important;
  box-shadow: 0 0 12px var(--konoha-leaf-glow) !important;
}

.kh-eyebrow, .sec-tag, .footer-eyebrow, .journey-tagline-mono {
  color: var(--shinobi-gold) !important;
  font-family: var(--font-mono), monospace !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.gradient-text, .kh-headline span {
  background: var(--kurama-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* ---------- 5. Hokage Rock Monument (火影岩) Footer ---------- */
.ku-site-footer {
  background: #040508 !important;
  border-top: 2px solid var(--headband-border) !important;
  position: relative;
  overflow: hidden;
  padding-top: 3.5rem !important;
  padding-bottom: 2.5rem !important;
}

[data-theme="light"] .ku-site-footer {
  background: #f1ede2 !important;
  border-top: 2px solid var(--headband-border) !important;
}

.ku-site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00E5FF, #10B981, #6366F1, transparent);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
}

/* Jiraiya Sacred Summoning Scroll Callout (口寄せの巻物) */
.closing-callout-col {
  background: rgba(3, 12, 20, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-left: 3px solid #00E5FF !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.closing-callout-col::after {
  display: none !important;
  content: none !important;
}

.footer-statement {
  color: var(--text-heading) !important;
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin-bottom: 0.8rem !important;
}

.footer-nindo-sub {
  font-size: 0.88rem !important;
  color: var(--text-muted) !important;
  line-height: 1.6 !important;
  margin-bottom: 1.4rem !important;
  display: block;
}

/* Hokage Rock Monument Chiseled Wordmark (火影岩) - Burning Chakra Flame Glow by Default (IMAGE 3) */
.footer-wordmark {
  clip-path: none !important;
  font-family: var(--font-heading), "Impact", sans-serif !important;
  font-size: clamp(2.2rem, 7vw, 5.4rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  color: #242c3d !important;
  text-transform: uppercase !important;
  position: relative !important;
  display: block !important;
  text-align: left !important;
  margin: 1.5rem 0 0.5rem !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.9);
  text-shadow: 
    0 1px 0 #3b475b,
    0 2px 0 #323d4e,
    0 3px 0 #283242,
    0 4px 0 #1f2734,
    0 0 15px rgba(0, 229, 255, 0.8),
    0 0 35px rgba(0, 229, 255, 0.5),
    0 0 60px rgba(16, 185, 129, 0.4),
    0 0 85px rgba(99, 102, 241, 0.3) !important;
  cursor: pointer !important;
}

[data-theme="light"] .footer-wordmark {
  color: #e2e8f0 !important;
  -webkit-text-stroke: 1.2px #ffffff !important;
  text-shadow: 
    0 1px 0 #cbd5e1,
    0 2px 0 #94a3b8,
    0 0 15px rgba(255, 140, 0, 0.85),
    0 0 35px rgba(255, 94, 26, 0.7) !important;
}

/* On Hover: Remove the fiery glow effect as requested in IMAGE 3 */
.footer-wordmark:hover {
  color: #1a202c !important;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15) !important;
  text-shadow: 
    0 1px 0 #2d3748,
    0 2px 0 #283141,
    0 3px 0 #202734,
    0 4px 0 #181e28,
    0 5px 0 #10141c,
    0 8px 16px rgba(0, 0, 0, 0.9) !important;
  transform: none !important;
}

[data-theme="light"] .footer-wordmark:hover {
  color: #f1f5f9 !important;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.15) !important;
  text-shadow: 
    0 1px 0 #cbd5e1,
    0 2px 0 #94a3b8,
    0 4px 8px rgba(0, 0, 0, 0.12) !important;
}

.meta-mono-coord {
  font-family: var(--font-mono), monospace !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: var(--shinobi-gold) !important;
  letter-spacing: 0.08em !important;
}

/* ---------- 6. Animated 6-Stage Master Journey (Dynamic SVG) ---------- */
.journey-strip-wrap {
  position: relative;
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.journey-route-path {
  stroke: url(#sharedRouteGradient) !important;
  stroke-width: 2.5 !important;
  filter: drop-shadow(0 0 8px rgba(255, 94, 26, 0.6)) !important;
}

.journey-stage-label {
  font-family: var(--font-mono), monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  fill: var(--text-main) !important;
  letter-spacing: 0.08em !important;
  transition: fill 0.25s ease, filter 0.25s ease;
}

.journey-stage-sublabel {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.journey-stage {
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.journey-stage:hover {
  transform: translateY(-4px) scale(1.05);
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.7));
}

.journey-stage:hover .journey-stage-label {
  fill: #00E5FF !important;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
}

.stage-chakra-ring {
  transition: transform 0.4s ease, opacity 0.4s ease, stroke-width 0.4s ease;
  transform-origin: center;
}

.journey-stage:hover .stage-chakra-ring {
  transform: scale(1.15) rotate(45deg);
  stroke-width: 1.8;
  opacity: 1 !important;
}

.journey-marker-plane,
.journey-marker-plane-mobile {
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.8)) !important;
}

.replay-journey-btn {
  background: rgba(0, 229, 255, 0.08) !important;
  border: 1px solid rgba(0, 229, 255, 0.35) !important;
  color: #00E5FF !important;
  font-family: var(--font-mono), monospace !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.replay-journey-btn:hover {
  background: rgba(0, 229, 255, 0.22) !important;
  border-color: #00E5FF !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.45) !important;
}

/* Completely suppress bottom-right intrusive floating pill */
.wireframe-toggle-pill {
  display: none !important;
}

/* ---------- 7. Mobile Wireframe Mode applied to document ---------- */
html.mobile-wireframe-mode {
  background: #020305 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  min-height: 100vh !important;
  padding: 30px 0 !important;
}

html.mobile-wireframe-mode body {
  width: 414px !important;
  max-width: 414px !important;
  min-height: 844px !important;
  border: 14px solid #1e2532 !important;
  border-radius: 44px !important;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 94, 26, 0.3) !important;
  position: relative !important;
  overflow-x: hidden !important;
  background: var(--shinobi-bg) !important;
  margin: 0 auto !important;
}

html.mobile-wireframe-mode nav {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  border-radius: 30px 30px 0 0 !important;
}

html.mobile-wireframe-mode .nav-links {
  display: none !important;
}

html.mobile-wireframe-mode .btn-nav-cta {
  display: none !important;
}

html.mobile-wireframe-mode .hamburger {
  display: flex !important;
}

html.mobile-wireframe-mode .kh-grid,
html.mobile-wireframe-mode .proto-grid,
html.mobile-wireframe-mode .globe-showcase-grid,
html.mobile-wireframe-mode .footer-closing-row,
html.mobile-wireframe-mode .footer-meta-row {
  grid-template-columns: 1fr !important;
  gap: 20px !important;
}

html.mobile-wireframe-mode body::before {
  content: "" !important;
  position: fixed !important;
  top: 42px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 126px !important;
  height: 26px !important;
  background: #000000 !important;
  border-radius: 20px !important;
  z-index: 10001 !important;
  pointer-events: none !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   Shinobi Legends HUD Controller & Character Aura Layer
   ========================================================================== */
#shinobi-character-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   v2.4.0 Interactive Atlas & Quick Market Pills UI Enhancements
   ========================================================================== */
.globe-quick-pills-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 4px 14px;
  margin-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 98, 0, 0.4) transparent;
}

.globe-quick-pills-bar::-webkit-scrollbar {
  height: 4px;
}

.globe-quick-pills-bar::-webkit-scrollbar-thumb {
  background: var(--kurama-orange);
  border-radius: 4px;
}

.globe-market-chip {
  padding: 6px 14px !important;
  font-size: 0.78rem !important;
  font-family: var(--font-mono), monospace !important;
  font-weight: 600 !important;
  border-radius: 9999px !important;
  border: 1px solid var(--border) !important;
  background: var(--bg-card) !important;
  color: var(--text-muted) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.globe-market-chip:hover {
  color: #ffffff !important;
  border-color: var(--kurama-orange) !important;
  background: rgba(255, 98, 0, 0.15) !important;
  box-shadow: 0 0 12px rgba(255, 98, 0, 0.3) !important;
}

.globe-market-chip.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #ff5e1a 0%, #ff8c42 100%) !important;
  border-color: #ff5e1a !important;
  box-shadow: 0 2px 14px rgba(255, 94, 26, 0.45) !important;
}

.hub-card-actions-row .btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 0.55rem 1.1rem !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.hub-card-actions-row .btn:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   SHINOBI CONTACT ENGINE (Web3Forms Integration)
   ========================================================================== */

.shinobi-contact-wrap {
  width: 100%;
  max-width: 820px;
  margin: 2rem auto 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 16px);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 98, 0, 0.12);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.shinobi-contact-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff5e1a 0%, #ffa502 50%, #00e5ff 100%);
}

.shinobi-contact-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.shinobi-contact-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--kurama-orange, #ff5e1a);
  background: rgba(255, 94, 26, 0.12);
  border: 1px solid rgba(255, 94, 26, 0.3);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 0.6rem;
}

.shinobi-contact-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: var(--text-heading, #ffffff);
  margin-bottom: 0.4rem;
}

.shinobi-contact-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted, #94a3b8);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.5;
}

.shinobi-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.shinobi-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 680px) {
  .shinobi-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.shinobi-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.shinobi-form-group.full-width {
  grid-column: 1 / -1;
}

.shinobi-form-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main, #f1f5f9);
  display: flex;
  align-items: center;
  gap: 5px;
}

.shinobi-form-label span.req {
  color: #ff5e1a;
  font-weight: 800;
}

.shinobi-form-input,
.shinobi-form-select,
.shinobi-form-textarea {
  width: 100%;
  background: var(--bg-card, #0f131c);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  color: var(--text-main, #ffffff);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.shinobi-form-input:focus,
.shinobi-form-select:focus,
.shinobi-form-textarea:focus {
  border-color: #ff5e1a;
  box-shadow: 0 0 0 3px rgba(255, 94, 26, 0.2), 0 0 16px rgba(255, 94, 26, 0.15);
  background: rgba(15, 19, 28, 0.95);
}

[data-theme="light"] .shinobi-form-input,
[data-theme="light"] .shinobi-form-select,
[data-theme="light"] .shinobi-form-textarea {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

[data-theme="light"] .shinobi-form-input:focus,
[data-theme="light"] .shinobi-form-select:focus,
[data-theme="light"] .shinobi-form-textarea:focus {
  background: #ffffff;
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
}

.shinobi-form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.shinobi-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.shinobi-form-note {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  color: var(--text-dim, #64748b);
  display: flex;
  align-items: center;
  gap: 6px;
}

.shinobi-form-submit-btn {
  background: linear-gradient(135deg, #ff5e1a 0%, #ff8c42 100%);
  color: #ffffff;
  font-family: var(--font-heading, sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 94, 26, 0.4), 0 0 14px rgba(255, 165, 2, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.shinobi-form-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 94, 26, 0.55), 0 0 20px rgba(255, 165, 2, 0.4);
}

.shinobi-form-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Thank You Card */
.shinobi-thankyou-card {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
  animation: shinobiFadeIn 0.4s ease forwards;
}

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

.shinobi-thankyou-card.active {
  display: block;
}

.shinobi-thankyou-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.4);
}

.shinobi-thankyou-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading, #ffffff);
  margin-bottom: 0.5rem;
}

.shinobi-thankyou-text {
  font-size: 0.96rem;
  color: var(--text-muted, #94a3b8);
  max-width: 520px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.shinobi-thankyou-text strong {
  color: #ff8c42;
}

.shinobi-reset-btn {
  background: transparent;
  color: var(--kurama-orange, #ff5e1a);
  border: 1px solid var(--kurama-orange, #ff5e1a);
  font-family: var(--font-mono, monospace);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shinobi-reset-btn:hover {
  background: rgba(255, 94, 26, 0.12);
}

.shinobi-form-feedback {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.86rem;
  margin-top: 0.8rem;
  text-align: left;
}

.shinobi-form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

/* ==========================================================================
   SIDE-BY-SIDE CONTACT CALLOUT (HOMEPAGE & CONTACT PAGE)
   ========================================================================== */

.callout-banner-split {
  display: grid !important;
  grid-template-columns: 1fr 1.05fr !important;
  gap: clamp(2rem, 3.5vw, 3.2rem) !important;
  align-items: center !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg, 20px) !important;
  padding: clamp(1.8rem, 3.5vw, 3rem) !important;
  box-shadow: var(--shadow-card), 0 20px 50px rgba(0, 0, 0, 0.5) !important;
  position: relative !important;
  overflow: hidden !important;
}

.contact-split-banner {
  display: grid !important;
  grid-template-columns: 1fr 1.1fr !important;
  gap: clamp(2rem, 3.5vw, 3rem) !important;
  align-items: center !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg, 20px) !important;
  padding: clamp(1.8rem, 3.2vw, 2.8rem) !important;
  box-shadow: var(--shadow-card) !important;
  position: relative !important;
}

@media (max-width: 950px) {
  .callout-banner-split,
  .contact-split-banner {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 1.5rem !important;
  }
}

.callout-guarantees-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
  margin: 1.4rem 0 !important;
}

.guarantee-chip {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  padding: 0.75rem 1rem !important;
  border-radius: 10px !important;
}

.guarantee-icon {
  font-size: 1.1rem !important;
  line-height: 1 !important;
  margin-top: 2px !important;
}

.guarantee-chip strong {
  display: block !important;
  font-size: 0.86rem !important;
  color: var(--text-heading) !important;
  margin-bottom: 2px !important;
}

.guarantee-chip p {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

/* ==========================================================================
   HOMEPAGE CURVED GALLERY CAROUSEL (Restoring Exact IMAGE 1 Design on Desktop & Tablet)
   ========================================================================== */

@media (min-width: 641px) {
  .curved-card {
    position: absolute !important;
    width: 280px !important;
    height: 380px !important;
    cursor: pointer !important;
    transform-style: preserve-3d !important;
  }

  .curved-card-inner {
    width: 100% !important;
    height: 100% !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #090e18 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
    display: block !important;
  }

  /* No artificial browser mockup bar */
  .curved-card-inner::before {
    display: none !important;
    content: none !important;
  }

  .curved-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    background: #090c15 !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .curved-card:hover .curved-card-img {
    transform: scale(1.06) !important;
  }

  .curved-card-glass-glow {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, transparent 48%, rgba(4, 8, 17, 0.92) 100%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }

  /* Category badge docked at bottom center — zero logo obstruction */
  .curved-card-top-tag {
    position: absolute !important;
    bottom: 14px !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    font-family: var(--font-mono), monospace !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    background: rgba(7, 9, 14, 0.88) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    z-index: 5 !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
    pointer-events: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .curved-card:hover .curved-card-inner {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: var(--primary, #00e5ff) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 229, 255, 0.35) !important;
  }
}

/* ==========================================================================
   PROTOTYPES PAGE CONTAINER & THUMBNAILS FIX
   ========================================================================== */

.projects-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
  gap: 1.75rem !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 1.5rem auto 4rem !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

.proto-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg, 16px) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 0 1.5rem 0 !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.proto-card > *:not(.proto-thumb) {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.proto-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 94, 26, 0.5) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 94, 26, 0.2) !important;
}

.proto-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  max-height: 230px !important;
  background: #060911 !important;
  border-bottom: 1px solid var(--border) !important;
  position: relative !important;
  overflow: hidden !important;
  margin: 0 0 1.25rem 0 !important;
  border-radius: 0 !important;
}

.proto-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
  filter: brightness(1.03) contrast(1.02) !important;
  transition: transform 0.4s ease !important;
}

.proto-card:hover .proto-thumb img {
  transform: scale(1.04) !important;
}

/* ==========================================================================
   EXPERIENCE PAGE TIMELINE SCROLL ANIMATION ROUTE (About Us Curved SVG Style)
   ========================================================================== */

.timeline-wrap {
  position: relative !important;
}

.timeline-scroll-beam {
  display: none !important;
}

.experience-route {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  overflow: visible !important;
  z-index: 1 !important;
}

.experience-route path {
  fill: none !important;
  stroke-width: 2.5 !important;
  stroke-linecap: round !important;
}

.experience-route-base {
  stroke: rgba(255, 255, 255, 0.12) !important;
  stroke-dasharray: 4 6 !important;
}

.experience-route-draw {
  stroke: #ff5e1a !important;
  filter: drop-shadow(0 0 8px rgba(255, 94, 26, 0.7)) drop-shadow(0 0 16px rgba(255, 165, 2, 0.4)) !important;
  transition: stroke-dashoffset 0.12s linear !important;
}

[data-theme="light"] .experience-route-base {
  stroke: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .experience-route-draw {
  stroke: #ff5e1a !important;
  filter: none !important;
}

@media (max-width: 640px) {
  .timeline-scroll-beam {
    left: 14px !important;
  }
}

.timeline-node {
  z-index: 3 !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease !important;
}

.timeline-node.active {
  background: #ff5e1a !important;
  box-shadow: 0 0 0 4px rgba(255, 94, 26, 0.25), 0 0 20px rgba(255, 94, 26, 0.9) !important;
  transform: scale(1.3) !important;
}

.timeline-entry.active .exp-box {
  border-color: rgba(255, 94, 26, 0.45) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 94, 26, 0.15) !important;
}

/* ==========================================================================
   TESTIMONIALS VERIFICATION BUTTONS (TRUSTPILOT & LINKEDIN)
   ========================================================================== */

.review-source-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: var(--font-heading), 'Outfit', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  margin-top: 1rem !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

/* Trustpilot Pill Button */
.review-card[data-source="Trustpilot"] .review-source-link {
  background: rgba(0, 182, 122, 0.12) !important;
  border: 1px solid rgba(0, 182, 122, 0.4) !important;
  color: #10b981 !important;
  box-shadow: 0 2px 10px rgba(0, 182, 122, 0.15) !important;
}

.review-card[data-source="Trustpilot"] .review-source-link:hover {
  background: #00b67a !important;
  border-color: #00b67a !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 182, 122, 0.45) !important;
}

/* LinkedIn Pill Button */
.review-card[data-source="LinkedIn"] .review-source-link {
  background: rgba(10, 102, 194, 0.12) !important;
  border: 1px solid rgba(10, 102, 194, 0.4) !important;
  color: #60a5fa !important;
  box-shadow: 0 2px 10px rgba(10, 102, 194, 0.15) !important;
}

.review-card[data-source="LinkedIn"] .review-source-link:hover {
  background: #0a66c2 !important;
  border-color: #0a66c2 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.45) !important;
}

[data-theme="light"] .review-card[data-source="Trustpilot"] .review-source-link {
  background: rgba(0, 182, 122, 0.1) !important;
  color: #047857 !important;
}

[data-theme="light"] .review-card[data-source="Trustpilot"] .review-source-link:hover {
  background: #00b67a !important;
  color: #ffffff !important;
}

[data-theme="light"] .review-card[data-source="LinkedIn"] .review-source-link {
  background: rgba(10, 102, 194, 0.08) !important;
  color: #0369a1 !important;
}

[data-theme="light"] .review-card[data-source="LinkedIn"] .review-source-link:hover {
  background: #0a66c2 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   11. Footer CTA Button Pair (Addressing Image 1 & 2 - Spacing Enforced)
   ========================================================================== */
.footer-cta-wrap,
div.footer-cta-wrap,
.footer-cta-wrap[data-astro-cid-sz7xmlte] {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin-top: 1.25rem !important;
}

.footer-cta-wrap > .btn,
.footer-cta-wrap > a,
.footer-book-btn,
.footer-contact-btn {
  margin: 0 !important;
}

.footer-contact-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0.85rem 1.65rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-heading, #ffffff) !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-contact-btn:hover {
  background: rgba(255, 94, 26, 0.12) !important;
  border-color: var(--kurama-orange, #ff5e1a) !important;
  color: var(--kurama-orange, #ff5e1a) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 94, 26, 0.3) !important;
}

[data-theme="light"] .footer-contact-btn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
}

[data-theme="light"] .footer-contact-btn:hover {
  border-color: #ff5e1a !important;
  color: #ff5e1a !important;
  background: #fff7ed !important;
}

/* ==========================================================================
   12. Journey Track Alignment & Responsive Mobile Polish (IMAGE 2)
   ========================================================================== */
.journey-desktop-svg {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

.journey-mobile-svg {
  display: none !important;
}

@media (max-width: 640px) {
  .journey-desktop-svg {
    display: none !important;
  }
  .journey-mobile-svg {
    display: block !important;
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }
}





/* ==========================================================================
   13. Country-Wise Review Intelligence Hub & Filter System
   ========================================================================== */
.country-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(14, 18, 27, 0.85) 0%, rgba(22, 29, 43, 0.85) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

[data-theme="light"] .country-telemetry-strip {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.country-telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.country-telemetry-val {
  font-family: var(--font-heading), 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-heading);
}

.country-telemetry-val .accent-orange {
  color: #00e5ff;
}

.country-telemetry-val .accent-cyan {
  color: #00e5ff;
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.45);
}

.country-telemetry-val .accent-mint {
  color: #10b981;
  text-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}

.country-telemetry-lbl {
  font-family: var(--font-mono), 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.review-filter-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.review-country-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.review-source-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border);
}

.filter-group-label {
  font-family: var(--font-mono), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-right: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.country-filter-pill, .source-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.42rem 0.85rem;
  font-family: var(--font-heading), 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 5;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.country-filter-pill:hover, .source-filter-pill:hover {
  border-color: rgba(255, 98, 0, 0.4);
  color: var(--text-heading);
  transform: translateY(-1px);
}

.country-filter-pill.active, .source-filter-pill.active {
  background: rgba(255, 98, 0, 0.12);
  border-color: var(--kurama-orange, #ff6200);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 98, 0, 0.25);
}

[data-theme="light"] .country-filter-pill.active,
[data-theme="light"] .source-filter-pill.active {
  background: rgba(255, 98, 0, 0.12);
  border-color: var(--kurama-orange, #ff6200);
  color: #c2410c;
}

.filter-count-badge {
  font-family: var(--font-mono), monospace;
  font-size: 0.72rem;
  opacity: 0.75;
}

/* Card Header Elevation */
.review-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.review-geo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .review-geo-banner {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.review-nation-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading), 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.review-domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading), 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.38);
  color: #00E5FF;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.15);
  letter-spacing: 0.01em;
}

[data-theme="light"] .review-domain-pill {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.35);
  color: #0284c7;
}

.review-proto-crosslink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 0.6rem;
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.32);
  color: #00E5FF;
  font-family: var(--font-heading), 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.review-proto-crosslink:hover {
  background: rgba(0, 229, 255, 0.18);
  border-color: #00E5FF;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
  transform: translateY(-1px);
}


/* ==========================================================================
   14. Review Dropdown Filter Bar (Mobile-First Dropdown Architecture)
   ========================================================================== */
.review-dropdown-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(14, 18, 27, 0.9) 0%, rgba(22, 29, 43, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .review-dropdown-filter-bar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.review-filter-col {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.review-filter-label {
  font-family: var(--font-mono), 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-select-wrap {
  position: relative;
  width: 100%;
}

.review-filter-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(8, 11, 18, 0.85);
  border: 1px solid var(--border);
  color: var(--text-heading);
  padding: 0.7rem 2.5rem 0.7rem 1rem;
  border-radius: var(--radius-md, 8px);
  font-family: var(--font-heading), 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .review-filter-select {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.review-filter-select:hover {
  border-color: var(--kurama-orange, #ff6200);
}

.review-filter-select:focus {
  border-color: var(--kurama-orange, #ff6200);
  box-shadow: 0 0 0 3px rgba(255, 98, 0, 0.2);
}

.review-select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.65rem;
  color: var(--text-muted);
  pointer-events: none;
}

.review-filter-reset-col {
  flex: 0 0 auto;
}

.review-reset-btn {
  padding: 0.7rem 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-md, 8px);
  font-family: var(--font-heading), 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.review-reset-btn:hover {
  background: rgba(255, 98, 0, 0.12);
  border-color: var(--kurama-orange, #ff6200);
  color: var(--kurama-orange, #ff6200);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .review-dropdown-filter-bar {
    padding: 1rem;
    gap: 0.85rem;
  }
  .review-filter-col {
    flex: 1 1 100%;
  }
  .review-filter-reset-col {
    width: 100%;
  }
  .review-reset-btn {
    width: 100%;
    text-align: center;
  }
}


/* ==========================================================================
   OSIRIS COMMAND DECK & INTERACTIVE WEBGL GLOBE ARCHITECTURE
   ========================================================================== */

.osiris-deck {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(8, 12, 22, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 98, 0, 0.22);
  border-radius: var(--radius-lg, 16px);
  padding: clamp(16px, 2.5vw, 24px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
}

@media (max-width: 960px) {
  .osiris-deck {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }
}

[data-theme="light"] .osiris-deck {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07) !important;
}

/* Enlarge / Fullscreen Theatre Mode */
body.osiris-theatre-open {
  overflow: hidden !important;
}

body.osiris-theatre-open nav,
body.osiris-theatre-open .whatsapp-float,
body.osiris-theatre-open #chat-widget-container {
  display: none !important;
}

.osiris-deck.is-expanded {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  z-index: 999999 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  background: rgba(4, 6, 14, 0.98) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  display: flex !important;
  flex-direction: column !important;
  padding: clamp(16px, 3vw, 32px) !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  animation: osirisTheatreIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.osiris-deck.is-expanded .osiris-btn-close {
  display: inline-flex !important;
  font-size: 0.88rem !important;
  padding: 8px 16px !important;
}

[data-theme="light"] .osiris-deck.is-expanded {
  background: rgba(248, 250, 252, 0.98) !important;
}

@keyframes osirisTheatreIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.osiris-deck.is-expanded #osiris-deck-enlarge {
  display: none !important;
}

.osiris-deck.is-expanded #osiris-deck-close {
  display: inline-flex !important;
}

.osiris-deck.is-expanded .osiris-globe-stage {
  flex: 1 1 52vh;
  min-height: 48vh;
}

.osiris-deck.is-expanded #globe-canvas-wrap.kh-scene {
  aspect-ratio: auto !important;
  height: 100% !important;
  min-height: 48vh !important;
}

/* Top Masthead Ribbon */
.osiris-masthead {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--kh-line, var(--border));
  padding-bottom: 12px;
}

.osiris-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.osiris-status-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--kh-lime, #00E5FF);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

[data-theme="light"] .osiris-status-badge {
  color: #15803d !important;
}

.osiris-beacon {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kh-lime, #10B981);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
  animation: osirisBeaconPulse 2s infinite ease-in-out;
}

[data-theme="light"] .osiris-beacon {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.25);
}

@keyframes osirisBeaconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.65; }
}

.osiris-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem) !important;
  font-weight: 700 !important;
  color: var(--text-heading) !important;
  margin: 0 0 6px !important;
  line-height: 1.25 !important;
}

.osiris-subtitle {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Globe Stage & Clean Dedicated Controls */
.osiris-globe-stage {
  position: relative;
  width: 100%;
}

.osiris-deck-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 12px;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 8px);
}

[data-theme="light"] .osiris-deck-controls {
  background: rgba(241, 245, 249, 0.6);
  border-color: rgba(15, 23, 42, 0.08);
}

.osiris-controls-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.osiris-controls-buttons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.osiris-ctrl-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-heading);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.18s ease;
}

.osiris-ctrl-btn:hover {
  border-color: var(--kurama-orange, #ff6200);
  color: var(--kurama-orange, #ff6200);
  background: rgba(255, 98, 0, 0.14);
  transform: translateY(-1px);
}

.osiris-ctrl-divider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: var(--border);
  margin: 0 4px;
}

.osiris-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.osiris-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Bottom Action Deck */
.osiris-action-deck {
  margin-top: 14px;
  border-top: 1px solid var(--kh-line, var(--border));
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.osiris-layer-rail {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.osiris-layer-tab {
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-pill, rgba(255, 255, 255, 0.04));
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.osiris-layer-tab:hover {
  border-color: var(--kurama-orange, #ff6200);
  color: var(--text-heading);
}

.osiris-layer-tab.active {
  border-color: var(--kurama-orange, #ff6200);
  background: rgba(255, 98, 0, 0.16);
  color: var(--kurama-orange, #ff6200);
  box-shadow: 0 0 12px rgba(255, 98, 0, 0.22);
}

.osiris-quick-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.osiris-rail-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.osiris-chips-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.osiris-chips-scroll::-webkit-scrollbar {
  display: none;
}

.osiris-chip {
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.osiris-chip:hover, .osiris-chip.active {
  border-color: var(--kurama-orange, #ff6200);
  color: var(--kurama-orange, #ff6200);
  background: rgba(255, 98, 0, 0.12);
}

.osiris-market-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.osiris-select-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.osiris-dossier-card {
  padding: 14px 16px;
  border-radius: var(--radius-md, 10px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

[data-theme="light"] .osiris-dossier-card {
  background: rgba(241, 245, 249, 0.7);
  border-color: rgba(15, 23, 42, 0.08);
}

.osiris-dossier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 8px;
}

.osiris-dossier-flag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-heading);
}

.osiris-source-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 98, 0, 0.12);
  color: var(--kurama-orange, #ff6200);
  border: 1px solid rgba(255, 98, 0, 0.3);
  white-space: nowrap;
}

.osiris-dossier-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 6px;
  line-height: 1.35;
}

.osiris-dossier-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.5;
}

.osiris-metrics-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.osiris-actions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .osiris-floating-hud {
    top: 8px;
    right: 8px;
    gap: 6px;
  }
  .osiris-hud-btn {
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }
  .osiris-actions-grid {
    flex-direction: column;
  }
  .osiris-actions-grid .btn {
    width: 100%;
    justify-content: center;
  }
}
