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

:root {
  --black: #070707;
  --charcoal: #121212;
  --graphite: #1d1d1d;
  --white: #f8f8f8;
  --paper: #ffffff;
  --ash: #c8c8c8;
  --smoke: #8f8f8f;
  --red: #da1f27;
  --orange: #ff6a1a;
  --amber: #ff9f1c;
  --line: #2b2b2b;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
  --font-head: 'Bebas Neue', 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background:
    radial-gradient(circle at 8% 6%, rgba(218, 31, 39, 0.2), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(255, 106, 26, 0.24), transparent 28%),
    radial-gradient(circle at 48% 100%, rgba(255, 159, 28, 0.15), transparent 34%),
    linear-gradient(135deg, #0b0b0b, #151515 44%, #0b0b0b);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.site-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.08);
}

.site-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--amber));
  transition: width 0.18s linear;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.35) 25%, rgba(255, 255, 255, 0.35) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.35) 75%, rgba(255, 255, 255, 0.35) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.35) 25%, rgba(255, 255, 255, 0.35) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.35) 75%, rgba(255, 255, 255, 0.35) 76%, transparent 77%, transparent);
  background-size: 4px 4px;
  z-index: -1;
}

.navbar {
  position: fixed;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: min(1260px, calc(100% - 24px));
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(9, 9, 9, 0.76);
  backdrop-filter: blur(12px);
  padding: 0.82rem 1rem;
  transition: all 0.24s ease;
}

.navbar.scrolled {
  top: 8px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.42);
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-main {
  font-family: var(--font-head);
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.brand-sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  color: var(--ash);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  transition: all 0.24s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-color: rgba(255, 106, 26, 0.46);
  background: rgba(255, 106, 26, 0.14);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 23px;
  height: 2px;
  border-radius: 99px;
  background: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.68rem 1.08rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.24s ease;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(130deg, var(--red), var(--orange));
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  border-color: rgba(255, 106, 26, 0.5);
  background: rgba(255, 106, 26, 0.14);
}

.btn-ghost {
  color: var(--ash);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-wa {
  color: #eafff0;
  background: #118a40;
}

.section,
.page-hero,
.hero {
  width: min(1260px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.hero {
  padding: 8.1rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0.9rem;
  align-items: stretch;
}

.panel,
.card,
.chapter-card,
.metric-card,
.case-card,
.skill-card,
.story-quote,
.outcome-strip,
.compare-card,
.contact-box,
.form-shell,
.map-shell,
.timeline-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.55rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  right: -120px;
  top: -100px;
  background: radial-gradient(circle, rgba(255, 106, 26, 0.28), transparent 70%);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.32rem 0.64rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.hero-title {
  margin-top: 0.85rem;
  font-family: var(--font-head);
  letter-spacing: 0.02em;
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  line-height: 0.96;
}

.hero-sub {
  margin-top: 0.9rem;
  max-width: 62ch;
  color: #d6d6d6;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-metrics {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.metric-pill {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  background: rgba(0, 0, 0, 0.3);
}

.metric-pill strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.metric-pill span {
  font-size: 0.68rem;
  color: var(--ash);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-map {
  padding: 0.86rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hero-map h3 {
  font-size: 0.86rem;
  color: var(--ash);
  margin-bottom: 0.56rem;
}

#heroMiniMap,
#workMap {
  min-height: 360px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

#heroMiniMap {
  flex: 1 1 auto;
  height: auto;
  min-height: 360px;
}

.clients-tape {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.tape-track {
  display: flex;
  gap: 0.8rem;
  padding: 0.65rem;
  flex-wrap: wrap;
}

.client-pill {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-body);
  line-height: 1.2;
  font-size: 0.7rem;
  color: var(--ash) !important;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.24rem 0.55rem;
  background: transparent !important;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.client-pill:hover {
  color: var(--white);
  border-color: rgba(255, 106, 26, 0.5);
  background: rgba(255, 106, 26, 0.14);
}

.morse-inline {
  font-family: 'Courier New', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.resume-note {
  margin-top: 0.75rem;
  color: var(--ash);
  font-size: 0.78rem;
}

.client-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1400;
  padding: 1rem;
}

.client-modal.open {
  display: flex;
}

.client-modal-card {
  width: min(560px, calc(100% - 1rem));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.96), rgba(34, 23, 16, 0.95));
  box-shadow: var(--shadow);
  padding: 1rem;
  position: relative;
}

.client-modal-card h3 {
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  font-size: 1.85rem;
}

.client-modal-card p {
  color: var(--ash);
  margin-top: 0.45rem;
}

.client-close {
  position: absolute;
  right: 0.55rem;
  top: 0.4rem;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.7rem;
  cursor: pointer;
}

.section {
  padding: 4.3rem 0;
}

.page-hero {
  padding: 8rem 0 1.3rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  letter-spacing: 0.03em;
}

.page-hero p {
  color: var(--ash);
  margin-top: 0.6rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.kicker {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  letter-spacing: 0.04em;
}

.section-note {
  color: var(--ash);
  font-size: 0.92rem;
}

.chapter-grid,
.metrics-grid,
.story-grid,
.focus-grid,
.industry-grid,
.case-grid,
.skills-grid,
.proof-grid,
.compare-grid,
.contact-grid,
.timeline-grid,
.two-col {
  display: grid;
  gap: 0.8rem;
}

.chapter-grid,
.story-grid,
.metrics-grid,
.focus-grid,
.industry-grid,
.skills-grid,
.proof-grid,
.compare-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.case-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.contact-grid,
.two-col {
  grid-template-columns: 1fr 1fr;
}

.chapter-card,
.metric-card,
.skill-card,
.card,
.outcome-strip,
.compare-card,
.timeline-card,
.case-card {
  padding: 1rem;
}

.chapter-card h3,
.metric-card h3,
.skill-card h3,
.card h3,
.case-card h3,
.compare-card h3,
.timeline-card h3 {
  margin-bottom: 0.42rem;
}

.chapter-card p,
.metric-card p,
.skill-card p,
.card p,
.case-card p,
.compare-card p,
.timeline-card p,
.timeline-card li,
.form-note,
.contact-item small {
  color: var(--ash);
}

.metric-burst {
  font-family: var(--font-head);
  color: var(--orange);
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: 0.05em;
}

.story-quote {
  padding: 1.4rem;
  border-left: 4px solid var(--orange);
}

.story-quote h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: 0.04em;
}

.case-meta {
  margin-bottom: 0.54rem;
}

.case-meta span,
.badge,
.skill-tags span,
.compare-tag {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 0.68rem;
  padding: 0.18rem 0.48rem;
  margin-right: 0.28rem;
  margin-bottom: 0.25rem;
}

.case-list li,
.list-pulse li {
  margin-bottom: 0.32rem;
  padding-left: 0.9rem;
  position: relative;
  color: var(--ash);
}

.case-list li::before,
.list-pulse li::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  left: 0;
  top: 0.52rem;
  background: var(--orange);
}

.timeline-grid {
  grid-template-columns: 1fr;
}

.timeline-card {
  position: relative;
}

.role-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.role-top span {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-box,
.form-shell {
  padding: 1rem;
}

.contact-item {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  padding: 0.72rem;
  margin-bottom: 0.48rem;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.contact-item i {
  color: var(--orange);
}

.form-group {
  margin-bottom: 0.72rem;
}

.form-group label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ash);
  margin-bottom: 0.34rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  padding: 0.62rem 0.74rem;
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(255, 106, 26, 0.26);
  border-color: var(--orange);
}

.full-width {
  width: 100%;
}

.footer {
  width: min(1260px, calc(100% - 2.2rem));
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.44);
  padding: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer p {
  color: var(--ash);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 0.45rem;
}

.footer-links a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-links a:hover {
  color: var(--orange);
  border-color: rgba(255, 106, 26, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.56s ease, transform 0.56s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.chapter {
  opacity: 0.5;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.62s ease, transform 0.68s ease;
}

.chapter.chapter-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.compare-tag.before {
  border-color: rgba(218, 31, 39, 0.6);
  color: #ffb5b9;
}

.compare-tag.after {
  border-color: rgba(255, 106, 26, 0.64);
  color: #ffd2b4;
}

@media (max-width: 1080px) {
  .hero-grid,
  .contact-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    position: fixed;
    inset: 0;
    z-index: 1101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(7, 7, 7, 0.98);
  }

  .section,
  .page-hero,
  .hero,
  .footer {
    width: calc(100% - 1.1rem);
  }

  .chapter-grid,
  .metrics-grid,
  .story-grid,
  .focus-grid,
  .industry-grid,
  .case-grid,
  .skills-grid,
  .proof-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== RECRUITER BAR ===== */
.recruiter-bar {
  width: 100%;
  background: rgba(218,31,39,0.09);
  border-bottom: 1px solid rgba(218,31,39,0.22);
  padding: 0.55rem 1.4rem;
  position: sticky;
  top: 72px;
  z-index: 900;
  backdrop-filter: blur(8px);
}
.recruiter-bar-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.74rem;
}
.rbar-avail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--white);
}
.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: pulse-green 1.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0   rgba(34,197,94,0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(34,197,94,0);   }
  100% { box-shadow: 0 0 0 0   rgba(34,197,94,0);   }
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: pulse-green 1.6s ease-out infinite;
  vertical-align: middle;
  margin-left: 0.3rem;
}
.rbar-sep { color: rgba(255,255,255,0.18); }
.rbar-item {
  color: var(--ash);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.rbar-item i { color: var(--orange); font-size: 0.68rem; }
.rbar-cta {
  margin-left: auto;
  padding: 0.28rem 0.8rem;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
}
.rbar-cta:hover { background: var(--orange); color: var(--black); }

/* ===== DOMAIN FILTER BAR ===== */
.domain-filter-bar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}
.dtab {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: var(--ash);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.26rem 0.65rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.dtab:hover { border-color: var(--orange); color: var(--white); }
.dtab.active { background: var(--orange); border-color: var(--orange); color: var(--black); }

/* ===== WORLDLINE CONTROLS ===== */
.worldline-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.wl-domain-bar { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.arc-btn { padding: 0.36rem 0.9rem !important; font-size: 0.74rem !important; }

/* ===== TIMELINE SCRUBBER ===== */
.scrubber-wrap {
  margin-top: 0.8rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.scrubber-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}
.scrubber-year-label {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--orange);
  letter-spacing: 0.06em;
}
.scrubber-hint { font-size: 0.68rem; color: var(--smoke); }
.scrubber-range {
  width: 100%;
  height: 4px;
  appearance: none;
  background: linear-gradient(90deg, var(--red), var(--orange));
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.scrubber-range::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--orange);
  cursor: pointer;
}
.scrubber-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--orange);
  cursor: pointer;
}
.scrubber-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.38rem;
  font-size: 0.62rem;
  color: var(--smoke);
}

/* ===== TRAVERSE / FIELD LOG PAGE ===== */
.traverse-stats {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 0.4rem;
}
.traverse-stat-pill {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.9rem;
  font-size: 0.78rem;
  color: var(--ash);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.traverse-stat-pill strong { color: var(--orange); }
.traverse-stat-pill i { color: var(--red); font-size: 0.72rem; }
#traverseMap {
  height: 480px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex: 1 1 auto;
}
.traverse-filter-bar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.traverse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}
.traverse-card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: transform 0.2s, border-color 0.2s;
}
.traverse-card:hover { transform: translateY(-3px); border-color: rgba(255,159,28,0.4); }
.traverse-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}
.traverse-card-top h3 { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: 0.04em; }
.traverse-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
.trek-badge   { border-color: rgba(255,159,28,0.5); color: var(--amber); background: rgba(255,159,28,0.1); }
.bike-badge   { border-color: rgba(218,31,39,0.5);  color: var(--red);   background: rgba(218,31,39,0.1); }
.sahyadri-badge { border-color: rgba(255,106,26,0.5); color: var(--orange); background: rgba(255,106,26,0.1); }
.traverse-card p { font-size: 0.8rem; color: var(--ash); margin-bottom: 0.5rem; }
.traverse-tags { display: flex; gap: 0.3rem; flex-wrap: wrap; margin-top: 0.5rem; }
.traverse-tag {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.17rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: var(--smoke);
}
.gpx-drop-zone {
  border: 2px dashed rgba(255,159,28,0.35);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.4rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.24s;
  margin-top: 1.4rem;
}
.gpx-drop-zone.drag-over { border-color: var(--amber); background: rgba(255,159,28,0.06); }
.gpx-drop-icon { font-size: 2rem; color: var(--amber); margin-bottom: 0.6rem; }
.gpx-drop-zone p { color: var(--ash); font-size: 0.82rem; margin-bottom: 0.4rem; }
.gpx-drop-zone small { color: var(--smoke); font-size: 0.7rem; }
.gpx-track-list { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.7rem; }
.gpx-track-pill {
  background: rgba(255,159,28,0.12);
  border: 1px solid rgba(255,159,28,0.3);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.route-stats-panel {
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.95rem;
}
.route-stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}
.route-stats-head h3 {
  font-size: 0.88rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.route-stats-head span {
  color: var(--smoke);
  font-size: 0.7rem;
}
.route-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
}
.route-stat-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  padding: 0.75rem;
}
.route-stat-card h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.45rem;
}
.route-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 0.34rem;
  margin-top: 0.34rem;
}
.route-stat-row span {
  color: var(--smoke);
  font-size: 0.68rem;
}
.route-stat-row strong {
  color: var(--amber);
  font-size: 0.78rem;
}
.crossover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}
.crossover-card {
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.3rem;
}
.crossover-card i { font-size: 1.3rem; color: var(--orange); margin-bottom: 0.5rem; }
.crossover-card h4 { font-family: var(--font-head); font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.crossover-card p { font-size: 0.78rem; color: var(--ash); }
.map-pop { min-width: 200px; }
.map-pop h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 2px; color: #111; }
.map-pop p { font-size: 0.78rem; margin: 2px 0; color: #333; }
.map-pop .badge {
  display: inline-block;
  font-size: 0.65rem;
  border: 1px solid;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  margin: 2px 2px 0 0;
  color: #111;
}

/* ===== SIGNAL MATCH / FIT MATRIX PAGE ===== */
.fitmatrix-intro { max-width: 600px; }
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}
.role-card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: transform 0.2s, border-color 0.2s;
}
.role-card:hover { transform: translateY(-3px); border-color: rgba(255,106,26,0.5); }
.role-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  gap: 0.5rem;
}
.role-card-top h3 { font-family: var(--font-head); font-size: 1.1rem; letter-spacing: 0.04em; line-height: 1.2; }
.match-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.23rem 0.6rem;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.38);
  color: #22c55e;
  white-space: nowrap;
  flex-shrink: 0;
}
.match-bar-wrap { margin-bottom: 0.9rem; }
.match-bar-bg { height: 4px; background: var(--line); border-radius: 2px; }
.match-bar-fill {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  transition: width 1.1s cubic-bezier(0.4,0,0.2,1);
  width: 0%;
}
.role-evidence { list-style: none; margin-bottom: 0.9rem; }
.role-evidence li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.79rem;
  color: var(--ash);
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  line-height: 1.45;
}
.role-evidence li:last-child { border-bottom: none; }
.role-evidence li i { color: #22c55e; margin-top: 3px; flex-shrink: 0; font-size: 0.7rem; }
.role-evidence a { color: var(--orange); text-decoration: underline; }
.role-skills { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.role-skill-tag {
  font-size: 0.63rem;
  font-weight: 600;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.13);
  color: var(--smoke);
}
.cap-matrix-wrap {
  overflow-x: auto;
  margin-top: 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.cap-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  white-space: nowrap;
}
.cap-matrix th {
  background: var(--graphite);
  color: var(--orange);
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.cap-matrix td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--ash);
  white-space: normal;
}
.cap-matrix tr:hover td { background: rgba(255,255,255,0.025); }
.cap-matrix td:first-child { color: var(--white); font-weight: 600; white-space: nowrap; }
.cap-check { color: #22c55e; }
.cap-link { color: var(--orange); text-decoration: underline; font-size: 0.73rem; }
.ats-strip {
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  margin-top: 2rem;
}
.ats-strip h3 { font-family: var(--font-head); font-size: 1rem; letter-spacing: 0.06em; color: var(--ash); margin-bottom: 0.7rem; }
.ats-strip p { font-size: 0.77rem; line-height: 1.9; color: var(--smoke); }

.atlas-spotlight {
  position: relative;
}

.atlas-spotlight::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 159, 28, 0.2), rgba(218, 31, 39, 0.08), rgba(255, 106, 26, 0.2));
  z-index: 0;
}

.atlas-spotlight > * {
  position: relative;
  z-index: 1;
}

.navigator-console {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.34);
  padding: 0.75rem;
  margin-bottom: 0.7rem;
}

.navigator-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.navigator-head h3 {
  font-size: 0.86rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.navigator-head span {
  font-size: 0.7rem;
  color: var(--smoke);
}

.navigator-controls {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
}

.navigator-select {
  min-width: 250px;
  flex: 1 1 320px;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  padding: 0.56rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
}

.navigator-select:focus {
  outline: 2px solid rgba(255, 106, 26, 0.26);
  border-color: var(--orange);
}

.route-waypoint-strip {
  margin-top: 0.55rem;
  display: flex;
  gap: 0.28rem;
  flex-wrap: wrap;
}

.waypoint-pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ash);
  font-size: 0.66rem;
  border-radius: 999px;
  padding: 0.12rem 0.52rem;
}

.waypoint-pill.active {
  border-color: rgba(255, 106, 26, 0.5);
  color: var(--white);
  background: rgba(255, 106, 26, 0.2);
}

.rider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #111;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse-green 1.2s ease-out infinite;
}

@media (max-width: 680px) {
  .recruiter-bar-inner { gap: 0.45rem; }
  .rbar-sep { display: none; }
  .rbar-cta { display: none; }
  .worldline-controls { flex-direction: column; }
  .scrubber-meta { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .navigator-controls .btn {
    width: auto;
    padding: 0.52rem 0.8rem;
  }
}