:root { 
  --bg: #02080c;
  --bg-alt: #07141b;
  --ink: #f5f8fb;
  --muted: #9fb2c0;
  --accent: #27d4f5;
  --accent-soft: rgba(39,212,245,0.12);
  --danger: #ff5555;

  --maxw: 1120px;
  --radius: 16px;

  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.45);
}

/* Base */

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

body {
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  display: block;
}

/* Layout shells */

.map-layer {
  position: fixed;
  inset: 0;
  z-index: 0; /* was -2: bring map ABOVE body background */
  background-image: url("assets/newcastle_securoserv_final.png");
  background-size: cover;
  background-position: center;
  filter: contrast(1.05) brightness(0.9);
  /* optional manual strength control:
     opacity: 0.5;
  */
}

.page-shell {
  position: relative;
  z-index: 2; /* was 1: keep content above pins */
}

.maxw {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  /* EXACT match to logo background (#0A1628) */
  background: linear-gradient(to bottom, #0A1628, #0A1628);
  border-bottom: 1px solid rgba(39,212,245,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* remove extra vertical padding so the logo can own the header */
  padding-block: 0;
  gap: 16px;
  /* give the header a solid height for the logo to fill */
  min-height: 96px;
}

.brand-mark {
  /* make the logo fill almost the full header height */
  height: 92px;
  display: block;
}

.main-nav {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}

.main-nav a {
  opacity: 0.8;
}

.main-nav a:hover {
  opacity: 1;
}

.btn {
  border: none;
  cursor: pointer;
  font: inherit;
  border-radius: 999px;
  padding: 8px 18px;
  transition: transform 0.16s var(--ease-soft), box-shadow 0.16s var(--ease-soft),
              background-color 0.16s var(--ease-soft), color 0.16s var(--ease-soft);
}

.btn-primary {
  background: var(--accent);
  color: #021016;
  box-shadow: 0 0 0 0 rgba(39,212,245,0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 6px rgba(39,212,245,0.25);
}

.btn-secondary {
  background: rgba(0,0,0,0.5);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--ink);
}

/* Sections */

.section {
  padding-block: 72px;
  background: linear-gradient(to bottom, rgba(2,8,12,0.94), rgba(2,8,12,0.94));
}

/* hero should show the map, not a dark block */
.section.hero {
  background: transparent !important;
}

.section-dark {
  background: linear-gradient(to bottom, rgba(4,10,18,0.98), rgba(4,10,18,0.98));
}

.hero {
  min-height: calc(100vh - 64px); /* view height minus header */
  display: flex;
  align-items: center;
  position: relative;
  background: transparent !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* no extra overlay for now – pure map */
  background: transparent;
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  line-height: 1.03;
  margin-bottom: 16px;
}

.hero-copy p {
  max-width: 34rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ================================================
   TACTICAL DASHBOARD (replaces old OPS panel)
   ================================================ */

.ops-panel {
  background: rgba(2,8,12,0.94);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
}

.ops-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(39,212,245,0.22), transparent 55%);
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
}

.ops-header {
  margin-bottom: 16px;
}

.ops-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.ops-sub {
  font-size: 0.86rem;
  color: var(--ink);
}

/* Dashboard Grid */
.dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

/* Metric Card */
.metric-card {
  background: rgba(7,20,27,0.7);
  border: 1px solid rgba(39,212,245,0.2);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-soft);
  opacity: 0;
  transform: translateY(20px);
}

/* Top scanline sweep effect */
.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--accent) 50%, 
    transparent 100%);
  opacity: 0;
  animation: sweep 3s ease-in-out infinite;
}

@keyframes sweep {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); }
}

.metric-card:hover {
  border-color: var(--accent);
  box-shadow: 
    0 0 20px rgba(39,212,245,0.2),
    inset 0 0 20px rgba(39,212,245,0.05);
  transform: translateY(-3px);
}

.metric-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card Header */
.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.metric-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* Status Badge */
.metric-status {
  font-size: 0.6rem;
  padding: 3px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: bold;
  transition: all 0.5s var(--ease-soft);
}

.metric-status.degraded {
  background: rgba(255, 85, 85, 0.2);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.metric-status.optimal {
  background: rgba(39, 212, 245, 0.2);
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* Comparison Layout (Old → New) */
.metric-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.metric-value {
  text-align: center;
}

.metric-label {
  font-size: 0.6rem;
  color: var(--muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-number {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  position: relative;
  font-family: system-ui, sans-serif;
}

.metric-number.old {
  color: var(--danger);
  text-decoration: line-through;
  opacity: 0.6;
}

.metric-number.new {
  color: #f5a623 ;
  text-shadow: 0 0 12px rgba(39,212,245,0.6);
}

/* Arrow between old and new */
.metric-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(3px); opacity: 1; }
}

/* Progress Bar */
.progress-container {
  width: 100%;
  height: 6px;
  background: rgba(39,212,245,0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #fce72d 0%, #f5a623 100%);
  border-radius: 3px;
  width: 0%;
  transition: width 1.5s var(--ease-soft);
  box-shadow: 0 0 8px var(--accent);
  position: relative;
}

/* Shimmer effect on progress bar */
.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Metric Detail Text */
.metric-detail {
  font-size: 0.65rem;
  color: rgba(159,178,192,0.8);
  margin-top: 8px;
  line-height: 1.3;
}

/* Glitch Effect for Old Values */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.glitch::before {
  color: var(--danger);
  animation: glitch1 0.5s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch::after {
  color: var(--accent);
  animation: glitch2 0.5s infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
  0%, 100% { transform: translate(0); opacity: 0; }
  20% { transform: translate(-2px, 2px); opacity: 0.8; }
  40% { transform: translate(-2px, -2px); opacity: 0; }
}

@keyframes glitch2 {
  0%, 100% { transform: translate(0); opacity: 0; }
  20% { transform: translate(2px, -2px); opacity: 0.8; }
  40% { transform: translate(2px, 2px); opacity: 0; }
}

/* Test Grid Section */
.test-grid {
  background: rgba(7,20,27,0.5);
  border: 1px solid rgba(39,212,245,0.15);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-soft);
}

.test-grid.visible {
  opacity: 1;
  transform: translateY(0);
}

.test-grid-label {
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.test-devices {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.test-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.3s var(--ease-soft);
}

.test-device:hover {
  transform: translateY(-3px);
}

.device-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: rgba(39,212,245,0.05);
  transition: all 0.3s var(--ease-soft);
}

.test-device:hover .device-icon {
  background: rgba(39,212,245,0.15);
  box-shadow: 0 0 16px rgba(39,212,245,0.3);
}

.device-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.device-name {
  font-size: 0.65rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ================================================
   END TACTICAL DASHBOARD
   ================================================ */

.hero-proof {
  display: grid;
  gap: 12px;
}

.proof-card {
  background: rgba(2,8,12,0.9);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 12px 14px;
  font-size: 0.8rem;
}

.proof-card h2 {
  font-size: 1rem;
  margin: 0 0 4px;
}

.proof-link {
  font-size: 0.8rem;
  color: var(--accent);
}

/* HUD */

.hud-panel {
  position: absolute;
  right: 8%;
  bottom: 12%;
  width: 260px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(2,8,12,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
  font-size: 0.78rem;
}

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

.hud-label {
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
}

.hud-value--ok {
  color: #52ff99;
}

.hud-meter {
  margin-top: 8px;
}

.hud-meter-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
}

.hud-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}

.hud-bar-fill {
  height: 100%;
  width: 80%;
  background: var(--accent);
}

.hud-bar-fill--slow {
  width: 55%;
}

/* Map pins */

.map-overlay {
  position: fixed;   /* was absolute: lock to viewport like the map */
  inset: 0;
  z-index: 1;        /* between map (0) and content (2) */
  pointer-events: none;
}

.map-pin {
  position: absolute;
  width: 24px;
  height: 24px;
  border: none;
  padding: 0;
  background: none;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-50%, -100%);
  background-image: url("assets/map_pin_clean.svg");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.15s var(--ease-soft), filter 0.15s var(--ease-soft);
}

.map-pin--hq {
  width: 28px;
  height: 28px;
}

.map-pin:hover {
  transform: translate(-50%, -100%) scale(1.06);
}

.map-pin.is-active {
  background-image: url("assets/map_pin_red.svg");
  filter: drop-shadow(0 0 10px rgba(39,212,245,0.7));
}

/* Mission log */

.mission {
  background: rgba(2,8,12,0.96);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 20px 22px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 20px;
}

.mission-header h3 {
  margin: 0;
}

.mission-type {
  color: var(--muted);
  font-size: 0.9rem;
}

.mission-copy ul {
  margin: 0 0 10px 18px;
  padding: 0;
}

.mission-thumb {
  border-radius: 16px;
  min-height: 160px;
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
}

/* Hook these up to actual screenshots later */
.mission-thumb--fitskin {
  background-image: url("assets/fitskin_thumb.jpg");
}
.mission-thumb--magpies {
  background-image: url("assets/magpies_thumb.jpg");
}
.mission-thumb--vds {
  background-image: url("assets/vds_thumb.jpg");
}

/* Process, FAQ, contact – just basic layout */

.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 18px;
}

.faq-grid {
  display: grid;
  gap: 18px;
}

.contact-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
}

.contact-form {
  background: rgba(2,8,12,0.96);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px 20px;
  display: grid;
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
}

input,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 10px;
  background: rgba(3,10,16,0.9);
  color: var(--ink);
  font: inherit;
}

/* Footer */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #02060a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive tweaks */

/* Nav Toggle (hamburger) - hidden on desktop */
.nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  /* Header compact */
  .header-inner {
    min-height: 60px;
    padding-inline: 16px;
  }

  .brand-mark {
    height: 52px;
  }

  /* Hide desktop nav */
  .main-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(39, 212, 245, 0.2);
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 0;
    z-index: 999;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(39, 212, 245, 0.1);
    opacity: 0.9;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  /* Hamburger button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(39, 212, 245, 0.3);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #27d4f5;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    display: none; /* simple for now */
  }
  .hero-inner {
    grid-template-columns: minmax(0,1fr);
  }
  .ops-panel {
    margin-top: 32px;
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .metric-number {
    font-size: 1.2rem;
  }
  .metric-arrow {
    font-size: 1rem;
  }
  .hud-panel {
    position: static;
    margin-top: 24px;
    width: auto;
  }
  .mission {
    grid-template-columns: minmax(0,1fr);
  }
  .contact-layout {
    grid-template-columns: minmax(0,1fr);
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
/* ================================================
   LOADING SCREEN ANIMATION
   ================================================ */

#loader-screen {
  position: fixed;
  inset: 0;
  z-index: 99999; /* Above everything */
  background: #0A1628; /* Match your header bg */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#loader-screen.loaded {
  pointer-events: none; /* Allow clicks through when done */
}

/* Animated grid background */
.loader-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(39, 212, 245, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 212, 245, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: loaderGridMove 20s linear infinite;
  opacity: 0.5;
}

@keyframes loaderGridMove {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

/* Scanline effect */
.loader-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(39, 212, 245, 0.02) 51%);
  background-size: 100% 4px;
  animation: loaderScan 10s linear infinite;
  pointer-events: none;
}

@keyframes loaderScan {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

/* Logo container */
.loader-logo-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 60px;
  opacity: 0;
}

.loader-logo-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(39, 212, 245, 0.6));
}

/* Targeting reticle */
.loader-reticle {
  position: absolute;
  inset: -20px;
  opacity: 0;
}

.loader-reticle::before,
.loader-reticle::after {
  content: '';
  position: absolute;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.loader-reticle::before {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.loader-reticle::after {
  height: 2px;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

/* Corner brackets */
.loader-corners {
  position: absolute;
  inset: -30px;
  opacity: 0;
}

.loader-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px rgba(39, 212, 245, 0.5);
}

.loader-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.loader-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.loader-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.loader-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

/* Progress section */
.loader-progress-section {
  position: relative;
  width: 400px;
  max-width: 90vw;
  opacity: 0;
}

.loader-status-text {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(39, 212, 245, 0.6);
  margin-bottom: 12px;
  text-align: center;
}

.loader-blink {
  animation: loaderBlink 1.5s infinite;
}

@keyframes loaderBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.loader-progress-bar-container {
  position: relative;
  height: 8px;
  background: rgba(39, 212, 245, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(39, 212, 245, 0.2);
}

.loader-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(39, 212, 245, 0.8) 100%);
  box-shadow: 0 0 20px rgba(39, 212, 245, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  position: relative;
}

.loader-progress-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  animation: loaderShimmer 1.5s infinite;
}

@keyframes loaderShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.loader-percentage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.loader-percentage-value {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(39, 212, 245, 0.8);
}

.loader-message {
  font-size: 0.65rem;
  color: rgba(39, 212, 245, 0.5);
  letter-spacing: 0.15em;
}

/* Glitch effect */
.loader-glitch {
  position: relative;
  display: inline-block;
}

.loader-glitch::before,
.loader-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.loader-glitch::before {
  color: #ff3366;
  animation: loaderGlitchTop 0.5s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.loader-glitch::after {
  color: #00ff88;
  animation: loaderGlitchBottom 0.5s infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes loaderGlitchTop {
  0%, 100% { transform: translate(0); opacity: 0; }
  20% { transform: translate(-2px, 2px); opacity: 0.8; }
  40% { transform: translate(-2px, -2px); opacity: 0; }
}

@keyframes loaderGlitchBottom {
  0%, 100% { transform: translate(0); opacity: 0; }
  20% { transform: translate(2px, -2px); opacity: 0.8; }
  40% { transform: translate(2px, 2px); opacity: 0; }
}


/* Loader mobile scaling */
@media (max-width: 768px) {
  .loader-logo-container {
    width: 120px;
    height: 120px;
    margin-bottom: 36px;
  }

  .loader-progress-section {
    width: 320px;
  }

  .loader-status-text {
    font-size: 0.6rem;
  }

  .loader-percentage-value {
    font-size: 1rem;
  }

  .loader-message {
    font-size: 0.6rem;
  }
}

/* ================================================
   WHAT I ACTUALLY DO — SERVICES (GSAP SCROLL SECTION)
   Injected block (scoped so it won't mess other parts)
   ================================================ */

.services-section{
  --primary-cyan: var(--accent);
  min-height: 400vh;
  position: relative;
  background: linear-gradient(to bottom, rgba(4,10,18,0.98), rgba(4,10,18,0.98));
  overflow: clip;
}

.services-section .sticky-container{
  position: sticky;
  top: 96px;
  height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.services-section .services-grid{
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 100px;
  width: 100%;
  max-width: 1800px;
  align-items: center;
}

/* LEFT COLUMN: SERVICE COPY */
.services-section .services-content{
  position: relative;
  z-index: 2;
  align-self: center;
  margin-top: 40px;
}

.services-section .section-kicker{
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(39, 212, 245, 0.5);
  margin-bottom: 24px;
  font-weight: 600;
}

.services-section .services-title{
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 60px;
  line-height: 1;
  color: #ffffff;
}

/* Word POP-IN - starts invisible */
.services-section .highlight-word{
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: scale(0.8);
}

.services-section .highlight-word.active{
  color: var(--primary-cyan);
  opacity: 1;
  transform: scale(1);
  text-shadow: 
    0 0 20px rgba(39, 212, 245, 0.8),
    0 0 40px rgba(39, 212, 245, 0.4);
}

.services-section .highlight-word::after{
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-cyan);
  box-shadow: 0 0 15px var(--primary-cyan);
}

.services-section .highlight-word.active::after{
  width: 100%;
}

/* Service items */
.services-section .service-item{
  margin-bottom: 70px;
  opacity: 0;
  transform: translateX(-30px);
}

.services-section .service-item.visible{
  opacity: 1;
  transform: translateX(0);
}

.services-section .service-item h3{
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
  padding-left: 24px;
  overflow: hidden;
}

.services-section .service-item h3::before{
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-cyan);
  font-size: 1.4rem;
  text-shadow: 0 0 12px var(--primary-cyan);
}

.services-section .service-item p{
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(224, 230, 237, 0.85);
  margin-bottom: 20px;
}

.services-section .service-meta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.services-section .service-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(39, 212, 245, 0.08);
  border: 1px solid rgba(39, 212, 245, 0.3);
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-cyan);
  font-weight: 600;
}

.services-section .service-badge::before{
  content: '✓';
  font-size: 0.9rem;
}

/* ===== STACK CLIP PATCH (keeps title above, stack scrolls inside) ===== */
.services-section .service-stack{
  position: relative;
  min-height: 380px;
  overflow: hidden;
  max-height: 72vh;
}

.services-section .service-stack-inner{
  will-change: transform;
  padding-bottom: 120px;
}

.services-section .service-stack .service-item{
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  margin-bottom: 70px;
}
/* ===== /STACK CLIP PATCH ===== */

/* ===== TITLE FLOAT-OFF PATCH ===== */
.services-section .title-block{
  overflow: hidden;
  will-change: height, opacity, transform;
}
/* ===== /TITLE FLOAT-OFF PATCH ===== */

/* ===== COPY EMPHASIS PATCH ===== */
.services-section .service-marker{
  height: 2px;
  width: 0;
  background: var(--primary-cyan);
  box-shadow: 0 0 14px rgba(39,212,245,.6);
  margin: 18px 0 18px 24px;
  opacity: 0;
}

.services-section .h3-sheen{
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(39,212,245,.18) 35%,
    rgba(39,212,245,.55) 50%,
    rgba(39,212,245,.18) 65%,
    transparent 100%
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

.services-section .type-wrap{
  position: relative;
  margin-bottom: 20px;
}

.services-section .type-text{
  position: relative;
  display: block;
  color: rgba(224, 230, 237, 0.22); /* faint full copy visible */
  line-height: 1.8;
  font-size: 1.1rem;
}

.services-section .type-reveal{
  position: absolute;
  inset: 0;
  width: 0%;
  overflow: hidden;
  white-space: normal;
  color: rgba(224, 230, 237, 0.92);
  line-height: 1.8;
  font-size: 1.1rem;
}

.services-section .type-caret{
  display:inline-block;
  width: 10px;
  height: 1.1em;
  margin-left: 6px;
  transform: translateY(2px);
  background: var(--primary-cyan);
  box-shadow: 0 0 10px rgba(39,212,245,.7);
  opacity: 0;
}

@keyframes caretBlink{
  0%,49%{ opacity: 0; }
  50%,100%{ opacity: 1; }
}

/* RIGHT COLUMN: DEVICE CANVAS */
.services-section .devices-canvas{
  position: relative;
  width: 100%;
  height: 85vh;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0.9;
  filter: saturate(0.9);
}

.services-section .device{
  position: absolute;
  opacity: 0;
}

.services-section .device-desktop{
  width: 65%;
  left: 17%;
  top: 8%;
  z-index: 2;
}

.services-section .device-tablet{
  width: 38%;
  right: 3%;
  top: 38%;
  z-index: 3;
}

.services-section .device-phone{
  width: 20%;
  left: 5%;
  bottom: 10%;
  z-index: 4;
}

.services-section .reticle{
  position: absolute;
  inset: -40px;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

.services-section .reticle::before,
.services-section .reticle::after{
  content: '';
  position: absolute;
  background: var(--primary-cyan);
  box-shadow: 0 0 15px var(--primary-cyan);
}

.services-section .reticle::before{
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.services-section .reticle::after{
  height: 2px;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.services-section .reticle-corners{
  position: absolute;
  inset: -30px;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

.services-section .corner{
  position: absolute;
  width: 35px;
  height: 35px;
  border: 3px solid var(--primary-cyan);
  box-shadow: 
    0 0 15px rgba(39, 212, 245, 0.6),
    inset 0 0 10px rgba(39, 212, 245, 0.3);
}

.services-section .corner.tl{
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.services-section .corner.tr{
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.services-section .corner.bl{
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.services-section .corner.br{
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.services-section .device-screen{
  width: 100%;
  background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
  border-radius: 12px;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.9),
    0 0 0 3px rgba(39, 212, 245, 0.4),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(39, 212, 245, 0.6);
}

.services-section .device-desktop .device-screen{
  aspect-ratio: 16 / 10;
  border-radius: 16px;
}

.services-section .device-tablet .device-screen{
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  border: 8px solid #1a1f2e;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.9),
    0 0 0 3px rgba(39, 212, 245, 0.5);
}

.services-section .device-phone .device-screen{
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  border: 8px solid #1a1f2e;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.9),
    0 0 0 3px rgba(39, 212, 245, 0.5);
}

.services-section .screen-content{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0e1a 0%, #0a1628 100%);
  position: relative;
}

.services-section .screen-content::before{
  content: '';
  position: absolute;
  width: 80%;
  height: 60%;
  background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 70%);
  opacity: 0.15;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse{
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.1); }
}

.services-section .status-label{
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  opacity: 0;
  white-space: nowrap;
  text-shadow: 
    0 0 12px var(--primary-cyan),
    0 0 24px rgba(39, 212, 245, 0.5);
  font-weight: 800;
}

.services-section .system-text{
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--primary-cyan);
  opacity: 0;
  text-shadow: 
    0 0 8px var(--primary-cyan),
    0 0 16px rgba(39, 212, 245, 0.5);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.services-section .system-text.t1{ top: 5%; left: 3%; }
.services-section .system-text.t2{ top: 12%; right: 3%; }
.services-section .system-text.t3{ bottom: 6%; left: 8%; }

.services-section .device-scanline{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    var(--primary-cyan) 50%,
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.services-section .location-ping{
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff3366;
  box-shadow: 0 0 20px #ff3366;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.services-section .location-ping::before{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ff3366;
  animation: ping 2s ease-out infinite;
}

@keyframes ping{
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3.5); opacity: 0; }
}

@media (max-width: 1400px){
  .services-section .services-grid{
    grid-template-columns: 550px 1fr;
    gap: 60px;
  }

  .services-section .services-title{
    font-size: 3rem;
  }
}

@media (max-width: 1100px){
  .services-section .services-grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-section .devices-canvas{
    height: 60vh;
  }

  .services-section .service-stack{
    min-height: 420px;
  }
}

@media (max-width: 768px){
  .services-section .sticky-container{
    padding: 0 18px;
  }

  .services-section .services-title{
    font-size: 2.2rem;
    margin-bottom: 50px;
  }

  .services-section .service-item h3{
    font-size: 1.6rem;
  }

  .services-section .service-item{
    margin-bottom: 50px;
  }

  .services-section .service-stack{
    min-height: 520px;
    max-height: 74vh;
  }
}
/* ================================================
   TACTICAL SERVICES SECTION - DEVICE DEPLOYMENT
   ================================================ */

.services-section-tactical {
  min-height: 400vh;
  position: relative;
  padding-block: 0;
  scroll-margin-top: 96px;
}

.sticky-container-services {
  position: sticky;
  top: 96px;
  height: calc(100vh - 96px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 40px;
}

.services-grid-tactical {
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 100px;
  width: 100%;
  max-width: 1800px;
  align-items: center;
}

/* LEFT COLUMN: SERVICE COPY */
.services-content-tactical {
  position: relative;
  z-index: 2;
  align-self: center;
  margin-top: 0;
}

.section-kicker-tactical {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(39, 212, 245, 0.5);
  margin-bottom: 24px;
  font-weight: 600;
}

.services-title-tactical {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 80px;
  line-height: 1;
  color: #ffffff;
}

/* Word POP-IN */
.highlight-word {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: scale(0.8);
  will-change: transform, opacity;
  /* transition removed - GSAP handles animation via scrub */
}

.highlight-word.active {
  color: #27d4f5;
  opacity: 1;
  transform: scale(1);
  text-shadow: 
    0 0 20px rgba(39, 212, 245, 0.8),
    0 0 40px rgba(39, 212, 245, 0.4);
}

.highlight-word::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 3px;
  background: #27d4f5;
  box-shadow: 0 0 15px #27d4f5;
  transition: width 0.3s ease;
}

.highlight-word.active::after {
  width: 100%;
}

/* Service items */
.service-item-tactical {
  margin-bottom: 70px;
  opacity: 0;
  transform: translateX(-30px);
  will-change: transform, opacity;
  /* transition removed - GSAP handles animation via scrub */
}

.service-item-tactical.visible {
  opacity: 1;
  transform: translateX(0);
}

.service-item-tactical h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
  padding-left: 24px;
}

.service-item-tactical h3::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #27d4f5;
  font-size: 1.4rem;
  text-shadow: 0 0 12px #27d4f5;
}

.service-item-tactical p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(224, 230, 237, 0.85);
  margin-bottom: 20px;
}

.service-meta-tactical {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.service-badge-tactical {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(39, 212, 245, 0.08);
  border: 1px solid rgba(39, 212, 245, 0.3);
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #27d4f5;
  font-weight: 600;
}

.service-badge-tactical::before {
  content: '✓';
  font-size: 0.9rem;
}

/* RIGHT COLUMN: DEVICE CANVAS */
.devices-canvas-tactical {
  position: relative;
  width: 100%;
  height: 85vh;
  max-width: 1000px;
  margin: 0 auto;
}

.device-tactical {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
}

.device-desktop-tactical {
  width: 65%;
  left: 17%;
  top: 8%;
  z-index: 2;
}

.device-tablet-tactical {
  width: 38%;
  right: 3%;
  top: 38%;
  z-index: 3;
}

.device-phone-tactical {
  width: 20%;
  left: -2%;
  bottom: 10%;
  z-index: 4;
}

.reticle-tactical {
  position: absolute;
  inset: -40px;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

.reticle-tactical::before,
.reticle-tactical::after {
  content: '';
  position: absolute;
  background: #27d4f5;
  box-shadow: 0 0 15px #27d4f5;
}

.reticle-tactical::before {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.reticle-tactical::after {
  height: 2px;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.reticle-corners-tactical {
  position: absolute;
  inset: -30px;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

.corner-tactical {
  position: absolute;
  width: 35px;
  height: 35px;
  border: 3px solid #27d4f5;
  box-shadow: 
    0 0 15px rgba(39, 212, 245, 0.6),
    inset 0 0 10px rgba(39, 212, 245, 0.3);
}

.corner-tactical.tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.corner-tactical.tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.corner-tactical.bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.corner-tactical.br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.device-screen-tactical {
  width: 100%;
  background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
  border-radius: 12px;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.9),
    0 0 0 3px rgba(39, 212, 245, 0.4),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(39, 212, 245, 0.6);
}

.device-desktop-tactical .device-screen-tactical {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
}

.device-tablet-tactical .device-screen-tactical {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  border: 8px solid #1a1f2e;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.9),
    0 0 0 3px rgba(39, 212, 245, 0.5);
}

.device-phone-tactical .device-screen-tactical {
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  border: 8px solid #1a1f2e;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.9),
    0 0 0 3px rgba(39, 212, 245, 0.5);
}

.screen-content-tactical {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0e1a 0%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle glow behind images - only shows if no image loaded */
.screen-content-tactical:not(:has(.device-mockup-img))::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 60%;
  background: radial-gradient(circle, #27d4f5 0%, transparent 70%);
  opacity: 0.15;
  animation: pulse-tactical 3s ease-in-out infinite;
}

@keyframes pulse-tactical {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.1); }
}

.status-label-tactical {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: #27d4f5;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  opacity: 0;
  white-space: nowrap;
  text-shadow: 
    0 0 12px #27d4f5,
    0 0 24px rgba(39, 212, 245, 0.5);
  font-weight: 800;
}

/* Action label styling (BUILD / SECURE / GROW) */
.status-label-tactical .label-action {
  color: #ffffff;
  text-shadow: 
    0 0 12px rgba(255, 255, 255, 0.8),
    0 0 24px rgba(39, 212, 245, 0.6);
}

/* Device mockup images */
.device-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0.85;
  border-radius: inherit;
}

.system-text-tactical {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: #27d4f5;
  opacity: 0;
  text-shadow: 
    0 0 8px #27d4f5,
    0 0 16px rgba(39, 212, 245, 0.5);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.system-text-tactical.t1 {
  top: 5%;
  left: 3%;
}

.system-text-tactical.t2 {
  top: 12%;
  right: 3%;
}

.system-text-tactical.t3 {
  bottom: 6%;
  left: 8%;
}

.device-scanline-tactical {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    #27d4f5 50%,
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.location-ping-tactical {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff3366;
  box-shadow: 0 0 20px #ff3366;
  opacity: 0;
  top: 58%;
  right: 12%;
  left: auto;
  transform: translate(50%, -50%);
  will-change: transform, opacity;
}

.location-ping-tactical::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ff3366;
  animation: ping-tactical 2s ease-out infinite;
  will-change: transform, opacity;
}

@keyframes ping-tactical {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 1400px) {
  .services-grid-tactical {
    grid-template-columns: 550px 1fr;
    gap: 60px;
  }

  .services-title-tactical {
    font-size: 3rem;
  }
}

@media (max-width: 1100px) {
  .services-grid-tactical {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .devices-canvas-tactical {
    height: 60vh;
  }
}

@media (max-width: 768px) {
  /* Section: Normal flow, NO sticky/pin */
  .services-section-tactical {
    min-height: auto;
    scroll-margin-top: 60px;
  }

  /* Sticky container → static block */
  .sticky-container-services {
    position: relative;
    top: auto;
    height: auto;
    padding: 0;
    align-items: flex-start;
    overflow: visible;
  }

  /* Grid → single column */
  .services-grid-tactical {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    width: 100%;
  }

  /* Devices canvas: absolute bg, decorative only */
  .devices-canvas-tactical {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }

  /* Devices start invisible - JS fades them in */
  .device-tactical {
    opacity: 0;
  }

  .device-desktop-tactical {
    width: 85%;
    left: 8%;
    top: 8%;
  }

  .device-tablet-tactical {
    width: 52%;
    right: -4%;
    top: 35%;
  }

  .device-phone-tactical {
    width: 30%;
    left: 0;
    bottom: 4%;
  }

  /* Text content: foreground, full width */
  .services-content-tactical {
    position: relative;
    z-index: 3;
    padding: 28px 18px 32px;
    background: linear-gradient(to bottom,
      rgba(10, 14, 26, 0.75) 0%,
      rgba(10, 14, 26, 0.6) 60%,
      rgba(10, 14, 26, 0.8) 100%
    );
  }

  .services-title-tactical {
    font-size: 1.9rem;
    margin-bottom: 28px;
    line-height: 1.1;
  }

  /* Force title words visible */
  .highlight-word {
    opacity: 1 !important;
    transform: scale(1) !important;
    color: #27d4f5 !important;
    text-shadow: 0 0 20px rgba(39, 212, 245, 0.6) !important;
  }

  .highlight-word::after {
    width: 100% !important;
  }

  /* Service items: always visible */
  .service-item-tactical {
    opacity: 1 !important;
    transform: translateX(0) !important;
    margin-bottom: 28px;
  }

  .service-item-tactical h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    padding-left: 20px;
  }

  .service-item-tactical h3::before {
    font-size: 1.1rem;
  }

  .service-item-tactical p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  /* Badges: tight, inline */
  .service-meta-tactical {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .service-badge-tactical {
    padding: 4px 10px;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    width: auto;
    flex-shrink: 0;
    border-radius: 3px;
  }
}

/* === MISSIONS CAROUSEL (injected) === */
/* ================================================
   TACTICAL MISSIONS CAROUSEL
   ================================================ */

.missions-carousel-section, .missions-carousel-section * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.missions-carousel-section {
  --teal: #27d4f5;
  --teal-glow: rgba(39, 212, 245, 0.3);
  --dark-bg: #0a0e1a;
  --section-bg: #0f1419;
  --card-bg: #1a1f2e;
  --text-light: #e0f7fa;
  --text-dim: rgba(224, 230, 237, 0.7);
  --maxw: 1400px;
}


.missions-carousel-section .maxw {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

/* Demo spacer */

/* ================================================
   MISSIONS CAROUSEL SECTION
   ================================================ */

.missions-carousel-section {
  position: relative;
  background: var(--section-bg);
  padding: 150px 0;
  margin-top: 40px;
  scroll-margin-top: 90px;
  overflow: hidden;
}

/* Section Header */
.missions-carousel-section .section-header-missions {
  text-align: center;
  margin-bottom: 100px;
  position: relative;
  z-index: 2;
}

.missions-carousel-section .section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(39, 212, 245, 0.6);
  margin-bottom: 20px;
  font-weight: 600;
}

.missions-carousel-section .section-title-missions {
  font-size: 4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1;
}

.missions-carousel-section .highlight-cyan {
  color: var(--teal);
  text-shadow: 0 0 30px var(--teal-glow);
}

.missions-carousel-section .section-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto;
}

/* Background decorative text */
.missions-carousel-section .bg-text-missions {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(39, 212, 245, 0.03);
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ================================================
   CAROUSEL CONTAINER
   ================================================ */

.missions-carousel-section .carousel-container {
  position: relative;
  z-index: 1;
  padding: 0 60px;
}

/* Carousel Viewport (clips track overflow — DO NOT put overflow on the track itself) */
.missions-carousel-section .carousel-viewport {
  overflow: hidden;
}

/* Carousel Track */
.missions-carousel-section .carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(33.333% - 20px);
  gap: 30px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
}

/* Mission Card */
.missions-carousel-section .mission-card {
  scroll-snap-align: start;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(39, 212, 245, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.missions-carousel-section .mission-card:hover {
  border-color: rgba(39, 212, 245, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 30px rgba(39, 212, 245, 0.15);
  transform: translateY(-8px);
}

/* Mission Preview */
.missions-carousel-section .mission-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #1a1f2e 100%);
}

.missions-carousel-section .mission-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.missions-carousel-section .mission-card:hover .mission-preview img {
  transform: scale(1.05);
}

/* Preview Overlay */
.missions-carousel-section .preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 14, 26, 0.9) 0%,
    rgba(10, 14, 26, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.missions-carousel-section .mission-card:hover .preview-overlay {
  opacity: 1;
}

.missions-carousel-section .preview-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px rgba(39, 212, 245, 0.8);
}

/* Mission Info */
.missions-carousel-section .mission-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.missions-carousel-section .mission-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(39, 212, 245, 0.8);
  font-weight: 600;
}

.missions-carousel-section .mission-dot {
  opacity: 0.4;
}

.missions-carousel-section .mission-location {
  color: var(--text-dim);
}

.missions-carousel-section .mission-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.missions-carousel-section .mission-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dim);
  flex: 1;
}

/* Mission Actions */
.missions-carousel-section .mission-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.missions-carousel-section .btn-mission-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(39, 212, 245, 0.1);
  border: 1px solid var(--teal);
  border-radius: 6px;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.missions-carousel-section .btn-mission-view:hover {
  background: var(--teal);
  color: var(--dark-bg);
  box-shadow: 0 0 20px rgba(39, 212, 245, 0.5);
  transform: translateY(-2px);
}

.missions-carousel-section .btn-mission-view.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.missions-carousel-section .btn-mission-view svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.missions-carousel-section .btn-mission-view:hover svg {
  transform: translateX(4px);
}

.missions-carousel-section .btn-visit-site {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.missions-carousel-section .btn-visit-site:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mission Badges */
.missions-carousel-section .mission-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.missions-carousel-section .badge {
  padding: 4px 12px;
  background: rgba(39, 212, 245, 0.08);
  border: 1px solid rgba(39, 212, 245, 0.2);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ================================================
   CAROUSEL NAVIGATION
   ================================================ */

/* Navigation Arrows */
.missions-carousel-section .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(39, 212, 245, 0.1);
  border: 1px solid var(--teal);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.missions-carousel-section .carousel-nav:hover {
  background: var(--teal);
  color: var(--dark-bg);
  box-shadow: 0 0 20px rgba(39, 212, 245, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.missions-carousel-section .carousel-nav.prev {
  left: 0;
}

.missions-carousel-section .carousel-nav.next {
  right: 0;
}

.missions-carousel-section .carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Carousel Indicators (Dots) */
.missions-carousel-section .carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}

.missions-carousel-section .indicator {
  width: 40px;
  height: 4px;
  background: rgba(39, 212, 245, 0.2);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.missions-carousel-section .indicator.active {
  background: var(--teal);
  box-shadow: 0 0 10px rgba(39, 212, 245, 0.6);
}

.missions-carousel-section .indicator:hover {
  background: rgba(39, 212, 245, 0.5);
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1200px) {
.missions-carousel-section .carousel-track {
    grid-auto-columns: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .missions-carousel-section {
    padding: 80px 0;
  }

.missions-carousel-section .section-header-missions {
    margin-bottom: 60px;
  }

.missions-carousel-section .section-title-missions {
    font-size: 2.5rem;
  }

.missions-carousel-section .bg-text-missions {
    font-size: 6rem;
  }

.missions-carousel-section .carousel-container {
    padding: 0 20px 90px 20px;
  }

.missions-carousel-section .carousel-track {
    grid-auto-columns: 100%;
    gap: 0;
  }

.missions-carousel-section .mission-title {
    font-size: 1.5rem;
  }

  /* Keep nav arrows visible on mobile - positioned lower for touch */
  .missions-carousel-section .carousel-nav {
    width: 46px;
    height: 46px;
    top: auto;
    bottom: -70px;
    transform: none;
  }

  .missions-carousel-section .carousel-nav.prev {
    left: 50%;
    margin-left: -60px;
  }

  .missions-carousel-section .carousel-nav.next {
    right: 50%;
    margin-right: -60px;
  }

  .missions-carousel-section .carousel-nav:hover {
    transform: scale(1.05);
  }
}


/* =========================================================
   FLOW + CLIENT HUB PATCH (tighten services + missions + add hub block)
   Added as overrides to avoid breaking existing layout.
   ========================================================= */

/* (B) Tighten "What I actually do" items (tactical) */
#services .services-title-tactical{
  margin-bottom: 38px;
}

#services .service-item-tactical{
  padding: 14px 14px 12px;
  border-radius: 16px;
  margin-bottom: 14px;
}

#services .service-item-tactical h3{
  margin: 0 0 6px;
  font-size: 15px;
}

#services .service-item-tactical p{
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.55;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* (C) Missions rhythm: reduce "second hero" spacing + add divider */
#missions.missions-carousel-section{
  padding: 90px 0;
  margin-top: 0;
  position: relative;
}

#missions .section-header-missions{
  margin-bottom: 46px;
}

#missions.missions-carousel-section::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:min(1120px, calc(100% - 36px));
  height:1px;
  background: rgba(255,255,255,0.06);
}



/* Services spacer (extends dark services background before the hub starts) */
.services-section-spacer{
  height: 160px;
  background: linear-gradient(to bottom, rgba(4,10,18,0.98), rgba(4,10,18,0.98));
  margin-top: -1px;
}
/* Client hub block */
.services-after-tactical{
  position: relative;
  margin-top: -1px;
  padding: 84px 0 140px;
  background: linear-gradient(180deg, rgba(3,9,13,0.96) 0%, rgba(3,9,13,0.94) 55%, rgba(3,9,13,0.92) 100%);
  overflow: hidden;
}

.services-after-tactical::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 18% 15%, rgba(39,212,245,0.09), transparent 58%);
  pointer-events:none;
}

.services-after-tactical .maxw{
  position: relative;
  z-index: 1;
}

.client-hub-block{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: start;
  background: rgba(2,8,12,0.78);
  border: 1px solid rgba(39,212,245,0.16);
  border-radius: 20px;
  padding: 22px 22px 34px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}

.client-hub-block::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 0 0, rgba(39,212,245,0.18), transparent 55%);
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
}

.client-hub-copy{
  position: relative;
  z-index: 1;
}

.client-hub-kicker{
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(39, 212, 245, 0.55);
  margin-bottom: 10px;
  font-weight: 700;
}

.client-hub-title{
  margin: 0 0 10px;
  font-size: 1.6rem;
  line-height: 1.1;
}

.client-hub-sub{
  margin: 0 0 12px;
  color: rgba(159,178,192,0.9);
  line-height: 1.6;
  max-width: 44ch;
}

.client-hub-list{
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 8px;
  color: rgba(245,248,251,0.86);
  font-size: 0.92rem;
}

.client-hub-list li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.client-hub-list .hub-dot{
  color: var(--accent);
  line-height: 1;
  margin-top: 2px;
}

.client-hub-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* framed preview to make the white UI feel intentional */
.client-hub-frame{
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(7,20,27,0.65);
  box-shadow: 0 14px 32px rgba(0,0,0,0.35);
}

.client-hub-frame-top{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(2,8,12,0.85);
}

.hub-led{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(39,212,245,0.35);
  box-shadow: 0 0 10px rgba(39,212,245,0.22);
}

.hub-frame-title{
  margin-left: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(159,178,192,0.85);
}

.client-hub-frame-body{
  position: relative;
  padding: 10px;
  background: radial-gradient(circle at 30% 10%, rgba(39,212,245,0.10), transparent 55%);
}

.client-hub-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #fff;
}

.client-hub-fallback{
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  display: none;
  place-items: center;
  color: rgba(159,178,192,0.85);
  font-size: 0.9rem;
  padding: 18px;
  text-align: center;
  pointer-events: none;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.02) 10px,
    rgba(255,255,255,0.00) 10px,
    rgba(255,255,255,0.00) 20px
  );
  border: 1px dashed rgba(39,212,245,0.22);
}



.client-hub-preview.is-missing .client-hub-fallback{
  display: grid;
}

.client-hub-preview.is-missing .client-hub-img{
  opacity: 0;
}.client-hub-fallback code{
  color: var(--accent);
  background: rgba(39,212,245,0.08);
  padding: 2px 6px;
  border-radius: 8px;
}

@media (max-width: 980px){
  .client-hub-block{
    grid-template-columns: 1fr;
  }
}


  


/* =========================================================
   CLIENT HUB IMAGE: hide overlay helper text when image exists
   ========================================================= */
.client-hub-fallback{ display: none; }

/* =========================================================
   TESTIMONIALS (JSON-driven)
   ========================================================= */
.testimonials-section{
  position: relative;
  padding: 120px 0 120px;
}

.testimonials-header{
  text-align: center;
  margin-bottom: 46px;
}

.testimonials-kicker{
  letter-spacing: 0.32em;
  font-weight: 700;
  font-size: 12px;
  color: rgba(39,212,245,0.85);
  margin-bottom: 10px;
}

.testimonials-title{
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.testimonials-shell{
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 18px;
  align-items: center;
}

.tstm-viewport{
  overflow: hidden;
  border-radius: 22px;
}

.tstm-track{
  display: flex;
  gap: 26px;
  will-change: transform;
  transition: transform 380ms var(--ease-soft);
}

.tstm-card{
  flex: 0 0 calc((100% - 52px) / 3);
  min-width: calc((100% - 52px) / 3);
  background: rgba(0,0,0,0.44);
  border: 1px solid rgba(39,212,245,0.35);
  box-shadow: 0 18px 55px rgba(0,0,0,0.55);
  border-radius: 22px;
  padding: 22px 22px 18px;
  backdrop-filter: blur(8px);
}

.tstm-stars{
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  color: rgba(39,212,245,0.95);
  font-size: 18px;
  line-height: 1;
}

.tstm-quote{
  margin: 0 0 18px;
  color: rgba(245,248,251,0.88);
  font-size: 14.5px;
  line-height: 1.65;
  font-style: italic;
}

.tstm-footer{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.tstm-avatar{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(245,248,251,0.88);
}

.tstm-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tstm-name{
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.tstm-role{
  margin: 4px 0 0;
  color: rgba(159,178,192,0.85);
  font-size: 12.5px;
}

.tstm-nav{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(39,212,245,0.55);
  background: rgba(0,0,0,0.35);
  color: rgba(39,212,245,0.95);
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
  transition: transform 180ms var(--ease-soft), background 180ms var(--ease-soft);
}

.tstm-nav:hover{
  transform: translateY(-1px);
  background: rgba(39,212,245,0.10);
}

.tstm-nav:active{
  transform: translateY(0px);
}

.tstm-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.tstm-dot{
  width: 78px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.10);
  cursor: pointer;
  transition: background 180ms var(--ease-soft), border-color 180ms var(--ease-soft);
}

.tstm-dot.is-active{
  background: rgba(39,212,245,0.75);
  border-color: rgba(39,212,245,0.75);
}

@media (max-width: 980px){
  .testimonials-shell{ grid-template-columns: 44px 1fr 44px; }
  .tstm-card{
    flex-basis: calc((100% - 26px) / 2);
    min-width: calc((100% - 26px) / 2);
  }
  .tstm-dot{ width: 56px; }
}

@media (max-width: 620px){
  .testimonials-shell{ grid-template-columns: 1fr; }
  .tstm-nav{ display: none; }
  .tstm-card{
    flex-basis: 100%;
    min-width: 100%;
  }
  .tstm-dot{ width: 44px; }
}



/* ================================================
   PRICING SECTION (injected from piss.html)
   ================================================ */

#process.section { padding-block: 0; }
#process.section.section-dark { background: transparent !important; }

.pricing-scope { width: 100%; }

.pricing-scope, .pricing-scope * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .pricing-scope {
      --bg-dark: #0a0e14;
      --bg-card: #0d1117;
      --bg-card-hover: #111921;
      --cyan: #27d4f5;
      --cyan-dim: rgba(39, 212, 245, 0.3);
      --cyan-glow: rgba(39, 212, 245, 0.15);
      --amber: #f5a623;
      --amber-dim: rgba(245, 166, 35, 0.3);
      --text-primary: #e6edf3;
      --text-secondary: #8b949e;
      --text-muted: #6e7681;
      --border: rgba(255, 255, 255, 0.08);
      --border-highlight: rgba(39, 212, 245, 0.4);
      --radius: 16px;
      --radius-sm: 8px;
    }

    .pricing-scope {
      font-family: 'Rajdhani', sans-serif;
      background: var(--bg-dark);
      color: var(--text-primary);
      line-height: 1.6;
      min-height: 100vh;
      padding: 40px 20px;
    }

    .pricing-section {
      max-width: 1400px;
      margin: 0 auto;
    }

    .pricing-header {
      text-align: center;
      margin-bottom: 16px;
    }

    .pricing-header h2 {
      font-size: clamp(1.8rem, 4vw, 2.5rem);
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-bottom: 8px;
      background: linear-gradient(135deg, var(--cyan) 0%, var(--text-primary) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .pricing-header p {
      color: var(--text-secondary);
      font-size: 1rem;
      max-width: 600px;
      margin: 0 auto;
    }

    .baseline-banner {
      background: linear-gradient(135deg, var(--cyan-glow) 0%, transparent 100%);
      border: 1px solid var(--cyan-dim);
      border-radius: var(--radius-sm);
      padding: 12px 20px;
      margin-bottom: 30px;
      text-align: center;
    }

    .baseline-banner p {
      color: var(--text-secondary);
      font-size: 0.85rem;
    }

    .baseline-banner strong {
      color: var(--cyan);
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      align-items: stretch;
      margin-bottom: 40px;
    }

    @media (max-width: 1200px) {
      .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 700px) {
      .pricing-grid {
        grid-template-columns: 1fr;
      }
    }

    /* Card flip container */
    .card-container {
      perspective: 1000px;
      position: relative;
    }

    .card-container.popular::before {
      content: 'MOST POPULAR';
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--cyan);
      color: var(--bg-dark);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 1px;
      padding: 4px 14px;
      border-radius: 20px;
      z-index: 10;
    }

    .card-flipper {
      position: relative;
      width: 100%;
      height: 640px;
      transition: transform 0.6s ease;
      transform-style: preserve-3d;
    }

    .card-container.flipped .card-flipper {
      transform: rotateY(180deg);
    }

    .card-front,
    .card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px;
      display: flex;
      flex-direction: column;
    }

    .card-container.popular .card-front,
    .card-container.popular .card-back {
      border-color: var(--border-highlight);
      box-shadow: 0 0 40px var(--cyan-glow), inset 0 1px 0 var(--cyan-dim);
    }

    .card-container.custom .card-front,
    .card-container.custom .card-back {
      border-color: var(--amber-dim);
    }

    .card-back {
      transform: rotateY(180deg);
    }

    .card-front:hover,
    .card-back:hover {
      background: var(--bg-card-hover);
    }

    .tier-name {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.85rem;
      color: var(--cyan);
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .card-container.custom .tier-name {
      color: var(--amber);
    }

    .tier-tagline {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 12px;
      line-height: 1.3;
    }

    .tier-price {
      margin-bottom: 14px;
    }

    .price-amount {
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--text-primary);
    }

    .price-quote {
      font-size: 1.4rem;
      font-weight: 600;
      color: var(--text-primary);
    }

    .price-monthly {
      display: block;
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-top: 4px;
    }

    .tier-features {
      list-style: none;
      margin-bottom: 14px;
      flex-grow: 1;
    }

    .tier-features li {
      position: relative;
      padding-left: 16px;
      margin-bottom: 6px;
      color: var(--text-secondary);
      font-size: 0.85rem;
      line-height: 1.4;
    }

    .tier-features li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 7px;
      width: 5px;
      height: 5px;
      background: var(--cyan);
      border-radius: 50%;
    }

    .card-container.custom .tier-features li::before {
      background: var(--amber);
    }

    .tier-for {
      background: rgba(255, 255, 255, 0.03);
      border-radius: var(--radius-sm);
      padding: 10px 12px;
      margin-bottom: 12px;
    }

    .tier-for-label {
      font-size: 0.7rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 2px;
    }

    .tier-for p {
      font-size: 0.8rem;
      color: var(--text-secondary);
      line-height: 1.4;
    }

    .timeline-badge {
      display: inline-block;
      background: rgba(39, 212, 245, 0.1);
      border: 1px solid var(--cyan-dim);
      color: var(--cyan);
      font-size: 0.7rem;
      font-weight: 600;
      padding: 3px 8px;
      border-radius: 4px;
      margin-bottom: 10px;
    }

    .tier-cta {
      width: 100%;
      padding: 10px 20px;
      border-radius: 30px;
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-bottom: 10px;
    }

    .tier-cta.outline {
      background: transparent;
      border: 1px solid var(--cyan-dim);
      color: var(--cyan);
    }

    .tier-cta.outline:hover {
      background: var(--cyan-glow);
      border-color: var(--cyan);
    }

    .tier-cta.filled {
      background: var(--cyan);
      border: 1px solid var(--cyan);
      color: var(--bg-dark);
    }

    .tier-cta.filled:hover {
      background: transparent;
      color: var(--cyan);
    }

    .tier-cta.amber {
      border-color: var(--amber-dim);
      color: var(--amber);
    }

    .tier-cta.amber:hover {
      background: rgba(245, 166, 35, 0.1);
      border-color: var(--amber);
    }

    .flip-toggle {
      width: 100%;
      background: none;
      border: none;
      color: var(--text-muted);
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.85rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 8px;
      transition: color 0.3s ease;
      margin-top: auto;
    }

    .flip-toggle:hover {
      color: var(--text-secondary);
    }

    .flip-toggle .icon {
      font-size: 1rem;
    }

    /* Back of card styles */
    .back-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
    }

    .back-header .tier-name {
      margin-bottom: 0;
    }

    .faq-list {
      flex-grow: 1;
      overflow-y: auto;
    }

    .faq-item {
      margin-bottom: 14px;
    }

    .faq-question {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--cyan);
      margin-bottom: 4px;
    }

    .card-container.custom .faq-question {
      color: var(--amber);
    }

    .faq-answer {
      font-size: 0.8rem;
      color: var(--text-secondary);
      line-height: 1.5;
    }

    .trigger-list {
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid var(--border);
    }

    .trigger-list-label {
      font-size: 0.75rem;
      color: var(--amber);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 6px;
    }

    .trigger-list ul {
      list-style: none;
    }

    .trigger-list li {
      font-size: 0.8rem;
      color: var(--text-muted);
      padding: 2px 0;
      padding-left: 16px;
      position: relative;
    }

    .trigger-list li::before {
      content: '→';
      position: absolute;
      left: 0;
      color: var(--amber-dim);
    }

    .back-footer {
      margin-top: auto;
      padding-top: 12px;
      border-top: 1px solid var(--border);
    }

    .back-price {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .back-price .price-amount {
      font-size: 1.6rem;
    }

    .back-price .price-monthly {
      margin-top: 0;
      text-align: right;
    }

    .after-launch {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
    }

    .after-launch h3 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--text-primary);
    }

    .after-launch > p {
      color: var(--text-secondary);
      margin-bottom: 16px;
      font-size: 0.9rem;
    }

    .after-launch-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 12px;
    }

    .after-launch-item {
      background: rgba(255, 255, 255, 0.02);
      border-radius: var(--radius-sm);
      padding: 12px;
    }

    .after-launch-item h4 {
      font-size: 0.9rem;
      color: var(--cyan);
      margin-bottom: 4px;
    }

    .after-launch-item p {
      font-size: 0.8rem;
      color: var(--text-muted);
      line-height: 1.4;
    }

/* ================================================
   END PRICING SECTION
   ================================================ */


/* ================================================
   CONTACT SECTION (injected from Contact Section Demo)
   ================================================ */

:root {
      --bg-dark: #0a0e14;
      --bg-card: #0d1117;
      --bg-card-hover: #111921;
      --cyan: #27d4f5;
      --cyan-dim: rgba(39, 212, 245, 0.3);
      --cyan-glow: rgba(39, 212, 245, 0.15);
      --text-primary: #e6edf3;
      --text-secondary: #8b949e;
      --text-muted: #6e7681;
      --border: rgba(255, 255, 255, 0.08);
      --border-highlight: rgba(39, 212, 245, 0.4);
      --radius: 16px;
      --radius-sm: 8px;
    }

/* Contact Section */
.contact-section {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 80px 20px;
      position: relative;
      overflow: hidden;
    }

/* Subtle background effect */
.contact-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(ellipse at 20% 80%, var(--cyan-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(39, 212, 245, 0.05) 0%, transparent 40%);
      pointer-events: none;
    }

.contact-content {
      max-width: 700px;
      text-align: center;
      position: relative;
      z-index: 1;
    }

.section-tag {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.85rem;
      color: var(--cyan);
      letter-spacing: 3px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

.contact-headline {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 700;
      margin-bottom: 16px;
      line-height: 1.2;
    }

.contact-subtext {
      font-size: 1.1rem;
      color: var(--text-secondary);
      margin-bottom: 40px;
      max-width: 550px;
      margin-left: auto;
      margin-right: auto;
    }

/* Testimonial */
.testimonial-block {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px 28px;
      margin-bottom: 32px;
      text-align: left;
      position: relative;
    }

.testimonial-block::before {
      content: '"';
      position: absolute;
      top: 12px;
      left: 20px;
      font-size: 4rem;
      color: var(--cyan-dim);
      font-family: Georgia, serif;
      line-height: 1;
    }

.testimonial-quote {
      font-size: 1.05rem;
      color: var(--text-primary);
      font-style: italic;
      margin-bottom: 16px;
      padding-left: 32px;
      line-height: 1.6;
    }

.testimonial-author {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-left: 32px;
    }

.author-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--cyan-dim);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 0.9rem;
      color: var(--cyan);
    }

.author-info {
      display: flex;
      flex-direction: column;
    }

.author-name {
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--text-primary);
    }

.author-company {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

/* Trust Signals */
.trust-signals {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 36px;
      text-align: left;
      max-width: 400px;
      margin-left: auto;
      margin-right: auto;
    }

.trust-item {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 0.9rem;
      color: var(--text-secondary);
    }

.trust-icon {
      width: 20px;
      height: 20px;
      color: var(--cyan);
      flex-shrink: 0;
    }

.trust-divider {
      width: 100%;
      height: 1px;
      background: var(--border);
      margin: 12px 0;
    }

.trust-note {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

.trust-note strong {
      color: var(--text-secondary);
    }

/* CTA Button */
.cta-button {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--cyan);
      color: var(--bg-dark);
      border: 2px solid var(--cyan);
      padding: 16px 40px;
      font-family: 'Rajdhani', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

.cta-button:hover {
      background: transparent;
      color: var(--cyan);
      transform: translateY(-2px);
      box-shadow: 0 10px 30px var(--cyan-glow);
    }

.cta-button svg {
      width: 20px;
      height: 20px;
      transition: transform 0.3s ease;
    }

.cta-button:hover svg {
      transform: translateX(4px);
    }

/* Modal Overlay */
.modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      padding: 20px;
    }

.modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

.modal-container {
      background: var(--bg-card);
      border: 1px solid var(--border-highlight);
      border-radius: var(--radius);
      width: 100%;
      max-width: 500px;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
      transform: translateY(20px) scale(0.95);
      transition: transform 0.3s ease;
      box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px var(--cyan-glow);
    }

.modal-overlay.active .modal-container {
      transform: translateY(0) scale(1);
    }

.modal-header {
      padding: 24px 28px;
      border-bottom: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

.modal-title {
      font-size: 1.3rem;
      font-weight: 700;
    }

.modal-close {
      background: none;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      padding: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      transition: all 0.2s ease;
    }

.modal-close:hover {
      background: var(--bg-card-hover);
      color: var(--text-primary);
    }

.modal-close svg {
      width: 24px;
      height: 24px;
    }

.modal-body {
      padding: 28px;
    }

/* Form Styles */
.form-group {
      margin-bottom: 20px;
    }

.form-label {
      display: block;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }

.form-input,
.form-textarea {
      width: 100%;
      background: var(--bg-dark);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 14px 16px;
      font-family: 'Rajdhani', sans-serif;
      font-size: 1rem;
      color: var(--text-primary);
      transition: all 0.2s ease;
    }

.form-input:focus,
.form-textarea:focus {
      outline: none;
      border-color: var(--cyan-dim);
      box-shadow: 0 0 0 3px var(--cyan-glow);
    }

.form-input::placeholder,
.form-textarea::placeholder {
      color: var(--text-muted);
    }

.form-textarea {
      min-height: 120px;
      resize: vertical;
    }

.form-submit {
      width: 100%;
      background: var(--cyan);
      color: var(--bg-dark);
      border: 2px solid var(--cyan);
      padding: 16px 24px;
      font-family: 'Rajdhani', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all 0.3s ease;
      margin-top: 8px;
    }

.form-submit:hover {
      background: transparent;
      color: var(--cyan);
    }

.form-note {
      text-align: center;
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 16px;
    }

/* Success State */
.form-success {
      text-align: center;
      padding: 40px 20px;
      display: none;
    }

.form-success.show {
      display: block;
    }

.form-success svg {
      width: 60px;
      height: 60px;
      color: var(--cyan);
      margin-bottom: 20px;
    }

.form-success h3 {
      font-size: 1.4rem;
      margin-bottom: 12px;
    }

.form-success p {
      color: var(--text-secondary);
      font-size: 0.95rem;
    }

.form-content.hide {
      display: none;
    }
/* ================================
   CONTACT (DEMO) + MODAL (DEMO)
   Paste at END of styles.css
   ================================ */

.contact-section {
  position: relative;
  z-index: 20;
  padding: 110px 24px;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.section-tag {
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.12em;
  opacity: 0.8;
  margin-bottom: 14px;
}

.contact-headline {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  margin: 0 0 14px;
}

.contact-subtext {
  max-width: 720px;
  margin: 0 auto 28px;
  opacity: 0.75;
}

.testimonial-block {
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 28px 30px;
  border-radius: 18px;
  background: rgba(8, 14, 24, 0.78);
  border: 1px solid rgba(39, 212, 245, 0.18);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  text-align: left;
}

.testimonial-quote {
  margin: 0 0 18px;
  font-style: italic;
  opacity: 0.9;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(39, 212, 245, 0.18);
  border: 1px solid rgba(39, 212, 245, 0.25);
  font-weight: 700;
}

.author-name {
  display: block;
  font-weight: 700;
}

.author-company {
  display: block;
  opacity: 0.6;
  font-size: 0.9em;
}

.trust-signals {
  max-width: 720px;
  margin: 0 auto 34px;
  display: grid;
  gap: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0.85;
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: #27d4f5;
}

.trust-divider {
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 6px 0 2px;
}

.trust-note {
  margin: 0;
  opacity: 0.7;
}

.cta-button {
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 34px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #27d4f5;
  color: #06111f;
  box-shadow: 0 14px 45px rgba(39, 212, 245, 0.25);
}

.cta-button svg {
  width: 18px;
  height: 18px;
}
/* ============================================================
   CLIENT HUB — LIFE / HOVER TILT + SCAN SWEEP (ENHANCEMENT)
   ============================================================ */

.services-after-tactical .maxw{
  /* widen just this block so it feels less boxed-in */
  max-width: min(1240px, calc(var(--maxw) + 160px));
}

.services-after-tactical{
  /* give the block a bit more breathing room */
  padding: 40px 0;
}

.client-hub-block{
  /* slightly more presence */
  border-radius: 24px;
}

.client-hub-frame{
  position: relative;
  transform-origin: 50% 70%;
  transition: transform 420ms ease, filter 420ms ease;
  will-change: transform, filter;
}

.client-hub-frame-top{
  /* richer top bar so it doesn’t feel flat */
  background: linear-gradient(180deg, rgba(10, 20, 32, 0.92), rgba(7, 14, 22, 0.88));
  border-bottom: 1px solid rgba(39, 212, 245, 0.12);
}

/* mac “traffic lights” */
.client-hub-frame-top .hub-led:nth-child(1){
  background: rgba(255, 95, 86, 0.90);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35), 0 0 18px rgba(255, 95, 86, 0.25);
}
.client-hub-frame-top .hub-led:nth-child(2){
  background: rgba(255, 189, 46, 0.92);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35), 0 0 18px rgba(255, 189, 46, 0.18);
}
.client-hub-frame-top .hub-led:nth-child(3){
  background: rgba(39, 201, 63, 0.92);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35), 0 0 18px rgba(39, 201, 63, 0.18);
}

.client-hub-frame-body{
  position: relative;
  overflow: hidden;
}

/* scan sweep layer */
.client-hub-frame-body::after{
  content: "";
  position: absolute;
  inset: -35% -20%;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-120%) rotate(10deg);
  background: linear-gradient(
    90deg,
    rgba(39, 212, 245, 0) 0%,
    rgba(39, 212, 245, 0.05) 35%,
    rgba(39, 212, 245, 0.18) 50%,
    rgba(39, 212, 245, 0.05) 65%,
    rgba(39, 212, 245, 0) 100%
  );
  filter: blur(1px);
}

@keyframes hubScanSweep{
  0%   { opacity: 0; transform: translateX(-120%) rotate(10deg); }
  12%  { opacity: 0.65; }
  45%  { opacity: 0.35; }
  100% { opacity: 0; transform: translateX(120%) rotate(10deg); }
}

/* hover = jump + tilt + scan */
.client-hub-block:hover .client-hub-frame,
.client-hub-frame:hover{
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
  filter: drop-shadow(0 18px 45px rgba(0,0,0,0.55));
}

.client-hub-block:hover .client-hub-frame-body::after,
.client-hub-frame:hover .client-hub-frame-body::after{
  animation: hubScanSweep 1.15s ease-out 1;
}

.client-hub-img{
  transform: translateZ(0);
  transition: transform 420ms ease;
  will-change: transform;
}

.client-hub-block:hover .client-hub-img,
.client-hub-frame:hover .client-hub-img{
  transform: scale(1.012);
}

@media (prefers-reduced-motion: reduce){
  .client-hub-frame,
  .client-hub-img{
    transition: none !important;
  }
  .client-hub-block:hover .client-hub-frame,
  .client-hub-frame:hover{
    transform: none !important;
  }
  .client-hub-block:hover .client-hub-frame-body::after,
  .client-hub-frame:hover .client-hub-frame-body::after{
    animation: none !important;
  }
}
/* Bigger kicker: [ CLIENT PORTAL INCLUDED ] */
.client-hub-kicker{
  font-size: 0.95rem;          /* was 0.75rem */
  letter-spacing: 0.28em;
  line-height: 1.1;
  margin-bottom: 14px;

  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;

  color: rgba(39, 212, 245, 0.80);
  border: 1px solid rgba(39, 212, 245, 0.22);
  background: rgba(39, 212, 245, 0.06);
  box-shadow: 0 10px 26px rgba(0,0,0,0.30);
}
.timeline-badge.amber{
  background: rgba(245, 166, 35, 0.10);
  border: 1px solid var(--amber-dim);
  color: var(--amber);
}
/* REMOVE the section’s dark wash over the map (only this section) */
.services-after-tactical{
  background: transparent !important;
}

.services-after-tactical::before{
  content: none !important;
}
/* ================================
   VISUAL TUNING: MAP OVERLAY MATCH
   - Make "What I actually do" + Pricing match Contact overlay opacity
   - Remove extra grey wash behind Client Hub section
   - Slightly enlarge the "CLIENT PORTAL INCLUDED" kicker
   Paste at END of styles.css
   ================================ */

/* 1) Match Contact overlay look (map visible, readable) */
.services-section-tactical.section-dark,
#process.section.section-dark{
  background: transparent !important;
  position: relative;
  overflow: hidden;
}

.services-section-tactical.section-dark::before,
#process.section.section-dark::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}

.services-section-tactical.section-dark > *,
#process.section.section-dark > *{
  position: relative;
  z-index: 1;
}

/* Pricing wrapper was still blocking the map */
#process .pricing-scope{
  background: transparent !important;
}

/* 2) Client Hub section: remove the extra grey wash behind the block */
.services-after-tactical{
  background: transparent !important;
}

/* 3) Kicker sizing */
.client-hub-kicker{
  font-size: 0.9rem;
  letter-spacing: 0.26em;
  margin-bottom: 12px;
  color: rgba(39, 212, 245, 0.7);
}

.services-section-spacer{
  height: 50px;
  background: linear-gradient(
    to bottom,
    rgba(5, 10, 18, 0.70),
    rgba(5, 10, 18, 0.70)
  );
  margin-top: -1px;
}
/* PATCH: HERO CTA ("Request a mission brief") — make it blockier */
.section.hero .hero-actions .btn,
.section.hero .hero-actions a.btn,
.section.hero .hero-actions button.btn{
  border-radius: 10px !important;   /* lower = squarer (try 8px or 6px) */
  padding: 12px 18px !important;    /* keep it tidy */
}
/* PATCH: Client Hub buttons — make them blockier (less pill) */
.services-after-tactical .client-hub-actions .btn,
.services-after-tactical .client-hub-actions a.btn,
.services-after-tactical .client-hub-actions button.btn{
  border-radius: 10px !important;   /* try 8px / 6px for even squarer */
  padding: 12px 18px !important;
}
/* ================================
   PATCH: PRICING CTAs = NOT PILLS
   Targets the injected pricing buttons (.tier-cta)
   Paste at END of styles.css
   ================================ */

#process .pricing-scope .tier-cta{
  border-radius: 6px !important;   /* 0 = square, 4-8 = nice blocky */
}

/* if any are anchors instead of buttons */
#process .pricing-scope a.tier-cta{
  border-radius: 6px !important;
}
/* ================================
   PATCH: FINAL "GET A QUOTE" CTA (contact) — NOT A PILL
   Paste at END of styles.css
   ================================ */

.contact-section .cta-button{
  border-radius: 8px !important;   /* 0 = dead square */
  padding: 16px 34px !important;   /* keep height similar */
}
/* ================================
   PATCH: HERO LEFT COPY — raise it slightly
   Paste at END of styles.css
   ================================ */

.section.hero .hero-inner{
  align-items: center; /* keep both columns centered */
}

.section.hero .hero-copy{
  transform: translateY(-26px); /* raise left block */
}

/* optional: keep the button tucked closer to copy */
.section.hero .hero-actions{
  margin-top: 18px;
}
/* ================================
   PATCH: HERO TYPE + CTA scale up ~12%
   Paste at END of styles.css
   ================================ */

.section.hero .hero-copy h1{
  font-size: calc(clamp(2.4rem, 3.8vw, 3.4rem) * 1.12);
  line-height: 1.02;
}

.section.hero .hero-copy p{
  font-size: 1.12em;
  max-width: 36rem; /* slight widen so bigger text breathes */
}

/* button to match the new scale */
.section.hero .hero-actions .btn,
.section.hero .hero-actions a.btn,
.section.hero .hero-actions button.btn{
  font-size: 1.08em;
  padding: 13px 20px;
}
/* ================================
   HERO READABILITY v2
   - No scrim box
   - Orange glow headline (pricing style)
   - Pure white copy
   ================================ */

/* kill the scrim box if it exists */
.section.hero .hero-copy,
.hero-copy{
  padding: 0 !important;
  border-radius: 0 !important;
}
.section.hero .hero-copy::before,
.hero-copy::before{
  content: none !important;
}

/* headline: pricing-style cyan glow */
.section.hero .hero-copy h1,
.hero-copy h1{
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(63, 192, 181, 0.55),
    0 0 44px rgba(61, 173, 201, 0.35),
    0 10px 26px rgba(0, 0, 0, 0.65);
}

/* body copy: pure white, readable */
.section.hero .hero-copy p,
.hero-copy p{
  color: #ffffff;
  text-shadow:
    0 6px 18px rgba(0,0,0,.70),
    0 2px 8px rgba(0,0,0,.55);
}

/* optional: slightly stronger weight if your font renders thin */
.section.hero .hero-copy p,
.hero-copy p{
  font-weight: 500;
}
/* === HERO CTA (demo match) === */
#hero-cta{
  display:inline-flex;
  align-items:center;
  gap:0.75rem;
  padding:1rem 1.75rem;
  background:transparent;
  border:1px solid #38bdcb;
  border-radius:8px;
  color:#38bdcb;
  font-family:'Outfit', sans-serif;
  font-size:1rem;
  font-weight:500;
  cursor:pointer;
  transition:all 0.3s ease;
  position:relative;
  overflow:hidden;
  z-index:0;
  text-decoration:none; /* if it's an <a> */
}

#hero-cta::before{
  content:'';
  position:absolute;
  inset:0;
  background:#38bdcb;
  opacity:0;
  transition:opacity 0.3s ease;
  z-index:-1;
}

#hero-cta:hover{
  color:#0a1419;
  border-color:#38bdcb;
}

#hero-cta:hover::before{
  opacity:1;
}

/* if your hero CTA contains an inline SVG icon */
#hero-cta svg{
  width:18px;
  height:18px;
  transition:transform 0.3s ease;
}

#hero-cta:hover svg{
  transform:translateX(4px);
}
.cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0.85rem;
  padding:1.05rem 1.9rem;

  background: rgba(56, 189, 203, 0.08);              /* <- more confidence */
  border: 1px solid rgba(56, 189, 203, 0.85);        /* <- stronger edge */
  border-radius: 10px;

  color: var(--cyan-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration:none;

  cursor:pointer;
  position:relative;
  overflow:hidden;

  transition: transform .2s ease, color .25s ease, border-color .25s ease,
              box-shadow .25s ease, background .25s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.cta-btn::before{
  content:'';
  position:absolute;
  inset:0;
  background: var(--cyan-primary);
  opacity:0;
  transition: opacity .25s ease;
  z-index:-1;
}

.cta-btn:hover{
  color: var(--bg-deep);
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}

.cta-btn:hover::before{ opacity:1; }

.cta-btn svg{
  width:18px;
  height:18px;
  transition: transform .25s ease;
}

.cta-btn:hover svg{ transform: translateX(5px); }

.cta-btn:active{ transform: translateY(0); }

.cta-btn:focus-visible{
  outline: 2px solid rgba(56, 189, 203, 0.55);
  outline-offset: 3px;
}