/* ============================================================
   STRAPT SECURITY — Design System v2
   Strategic Threat Response And Protection Team
   ============================================================ */

:root {
  /* Brand palette — premium, AZ-influenced */
  --ink-900: #0b1220;        /* primary dark / authority */
  --ink-800: #111a2c;
  --ink-700: #1a2438;
  --ink-600: #2a3754;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;
  --ink-200: #cbd5e1;
  --ink-100: #e2e8f0;
  --ink-50:  #f1f5f9;

  --paper:   #fafaf7;        /* warm off-white */
  --paper-2: #f4f1eb;
  --white:   #ffffff;

  --amber-700: #b45309;
  --amber-600: #d97706;       /* desert gold accent */
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-100: #fef3c7;

  --crimson-600: #dc2626;     /* alert / urgency */
  --crimson-500: #ef4444;
  --emerald-600: #059669;     /* success / safe */
  --sky-500:    #0ea5e9;

  /* Tokens */
  --primary: var(--ink-900);
  --accent:  var(--amber-600);
  --accent-bright: var(--amber-500);
  --bg:      var(--paper);
  --text:    var(--ink-900);
  --muted:   var(--ink-500);

  --shadow-sm: 0 1px 2px rgba(11,18,32,.08);
  --shadow:    0 4px 16px rgba(11,18,32,.10);
  --shadow-lg: 0 16px 48px rgba(11,18,32,.16);
  --shadow-xl: 0 24px 80px rgba(11,18,32,.22);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container-max: 1200px;
  --container-px:  24px;

  --ease: cubic-bezier(.22,.61,.36,1);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p  { margin: 0 0 1em; }
strong { font-weight: 700; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 48px 0; }
.section-dark { background: var(--ink-900); color: var(--white); }
.section-paper { background: var(--paper-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--accent);
}
.section-dark .eyebrow { color: var(--amber-500); }
.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 60ch;
}
.section-dark .lead { color: var(--ink-200); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  letter-spacing: .01em;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--ink-900);
  box-shadow: 0 6px 20px rgba(217,119,6,.25);
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(217,119,6,.35);
}
.btn-dark {
  background: var(--ink-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--ink-800); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--ink-200);
}
.btn-ghost:hover { border-color: var(--ink-900); background: var(--white); }
.section-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.25); }
.section-dark .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,247,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(11,18,32,.06);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  /* Phoenix-only icon (cropped from real logo). Black background frames the
     cream phoenix the same way the original brand asset does. */
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: #000;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nav-row { height: 80px; }
.brand { gap: 14px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .03em;
  line-height: 1;
  display: block;
  color: var(--ink-900);
}
.brand-tag {
  display: block;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  max-width: 28ch;
  line-height: 1.4;
  margin-top: 4px;
}
.brand-text { line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
}
.brand-tag {
  display: block;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: 8px;
  transition: all .2s var(--ease);
}
.main-nav a:hover { color: var(--ink-900); background: rgba(11,18,32,.05); }
.main-nav a.active {
  color: var(--ink-900);
  background: rgba(217,119,6,.10);
}
.nav-cta {
  display: flex; align-items: center; gap: 12px;
}
.phone-link {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px;
  color: var(--ink-900);
}
.phone-link:hover { color: var(--accent); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink-900);
  margin: 4px auto;
  transition: all .25s var(--ease);
}
.menu-toggle.open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity: 0; }
.menu-toggle.open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(217,119,6,.18), transparent 70%),
    radial-gradient(600px 380px at 100% 100%, rgba(14,165,233,.10), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 60%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .04em;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald-600);
  box-shadow: 0 0 0 4px rgba(5,150,105,.25);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(5,150,105,.25); }
  50%     { box-shadow: 0 0 0 8px rgba(5,150,105,.05); }
}
.hero h1 {
  max-width: 18ch;
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--amber-500), var(--amber-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: 1.25rem;
  color: var(--ink-200);
  max-width: 60ch;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.02em;
}
.hero-stat .label {
  font-size: 13px;
  color: var(--ink-300);
  margin-top: 4px;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--white);
  padding: 28px 0;
  border-bottom: 1px solid var(--ink-100);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 64px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.trust-row .pip {
  display: flex; align-items: center; gap: 10px;
}
.trust-row svg { color: var(--accent); }

/* ============================================================
   STRAPT METHODOLOGY
   ============================================================ */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.method-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.method-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.method-card:hover::before { transform: scaleX(1); }

.method-letter {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}
.method-letter .small {
  font-size: 0.65em;
  color: var(--accent);
  vertical-align: text-top;
}
.method-card h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.method-card .tag {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.method-card p { color: var(--muted); margin-bottom: 20px; }
.method-features {
  list-style: none; padding: 0; margin: 0 0 24px;
}
.method-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14px;
}
.method-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.proof-stamp {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--paper-2);
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.5;
}
.proof-stamp strong { color: var(--accent); display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.service-card .ic {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--accent);
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); margin-bottom: 18px; flex: 1; font-size: 15px; }
.service-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; color: var(--accent);
}
.service-card .more:hover { color: var(--ink-900); }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare {
  margin-top: 48px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; }
.compare thead { background: var(--ink-900); color: var(--white); }
.compare th { text-align: left; padding: 18px 24px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.compare th:last-child { background: var(--accent); color: var(--ink-900); }
.compare td { padding: 18px 24px; border-top: 1px solid var(--ink-100); font-size: 15px; }
.compare td:last-child { font-weight: 600; background: rgba(217,119,6,.04); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--ink-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 90% 50%, rgba(217,119,6,.2), transparent 70%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-form {
  background: var(--white);
  color: var(--ink-900);
  padding: 36px;
  border-radius: var(--radius-lg);
}
.cta-form h3 { font-size: 1.25rem; margin-bottom: 6px; }
.cta-form .sub { color: var(--muted); margin-bottom: 24px; font-size: 14.5px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,119,6,.15);
}
.disclaimer { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: 80px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 6px 0; }
.footer a { color: var(--ink-200); transition: color .2s var(--ease); }
.footer a:hover { color: var(--accent); }
.footer-brand p { margin-bottom: 16px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink-400);
  font-size: 13px;
}
.footer-legal { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   FLOATING ACTIONS
   ============================================================ */
.fab {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 56px; height: 56px;
  background: var(--accent);
  color: var(--ink-900);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(217,119,6,.4);
  z-index: 90;
  transition: all .25s var(--ease);
}
.fab:hover { transform: scale(1.06); }

/* ============================================================
   PAGE-SPECIFIC: ABOUT
   ============================================================ */
.about-hero {
  background: var(--ink-900);
  color: var(--white);
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 50% 0%, rgba(217,119,6,.15), transparent 70%);
}
.about-hero h1 { max-width: 22ch; margin: 0 auto 16px; text-align: center; }
.about-hero p { max-width: 62ch; margin: 0 auto; text-align: center; color: var(--ink-200); font-size: 1.15rem; }

.acronym-row {
  margin: 56px 0;
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--ink-100);
}
.acronym-row .letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
}
.acronym-row .word {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.breakdown {
  display: grid;
  gap: 64px;
  margin-top: 32px;
}
.breakdown-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.breakdown-letter-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9rem;
  line-height: .85;
  color: var(--ink-900);
  letter-spacing: -.06em;
  position: relative;
}
.breakdown-letter-big::after {
  content: "";
  display: block;
  width: 60px; height: 4px;
  background: var(--accent);
  margin-top: 24px;
}
.breakdown-content h2 { margin-bottom: 8px; text-transform: uppercase; letter-spacing: .02em; }
.breakdown-content .tag { color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.breakdown-content p { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }

.team-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.tstat {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  text-align: center;
}
.tstat .n {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.02em;
}
.tstat .l { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ============================================================
   PAGE-SPECIFIC: SERVICES
   ============================================================ */
.svc-section { padding: 80px 0; border-top: 1px solid var(--ink-100); scroll-margin-top: 88px; }
.svc-section:first-of-type { border-top: 0; }
.svc-section.alt { background: var(--paper-2); }
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.svc-row.reverse > .svc-text { order: 2; }
.svc-text h2 { margin-bottom: 16px; }
.svc-text .lead { margin-bottom: 24px; }
.svc-features {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.svc-features li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--ink-700);
}
.svc-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='black' d='M7.5 13.5l-3-3 1.4-1.4 1.6 1.6 4.6-4.6L13.5 7.5z'/></svg>");
  mask-size: contain;
}
.svc-visual {
  background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.svc-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px 240px at 100% 0%, rgba(217,119,6,.25), transparent 70%);
}
.svc-visual > * { position: relative; z-index: 1; }
.svc-visual .num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.04em;
}
.svc-visual h4 {
  font-size: 1.1rem;
  margin: 8px 0 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.svc-visual p { color: var(--ink-200); margin: 0; }

/* Service jump nav */
.svc-jumps {
  position: sticky;
  top: 76px;
  z-index: 50;
  background: rgba(250,250,247,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-100);
  padding: 14px 0;
}
.svc-jumps-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.svc-jumps-row::-webkit-scrollbar { display: none; }
.svc-jumps a {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--white);
  border: 1px solid var(--ink-100);
  white-space: nowrap;
  transition: all .2s var(--ease);
}
.svc-jumps a:hover, .svc-jumps a.is-active {
  background: var(--ink-900);
  color: var(--white);
  border-color: var(--ink-900);
}

/* ============================================================
   PAGE-SPECIFIC: THREAT MATRIX
   ============================================================ */
.tm-hero {
  background: var(--ink-900);
  color: var(--white);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}
.tm-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 0% 0%, rgba(220,38,38,.16), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(217,119,6,.16), transparent 70%);
}
.tm-hero .container { position: relative; }
.tm-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 22ch; margin-bottom: 12px; }
.tm-hero p  { font-size: 1.125rem; color: var(--ink-200); max-width: 64ch; }
.tm-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 18px;
}
.tm-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(5,150,105,.25);
  animation: pulse 2.4s infinite;
}

.tm-controls {
  background: var(--white);
  border-bottom: 1px solid var(--ink-100);
  padding: 16px 0;
  position: sticky;
  top: 76px;
  z-index: 50;
}
.tm-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.tm-pill-group { display: flex; gap: 6px; flex-wrap: wrap; }
.tm-pill {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--paper-2);
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tm-pill:hover { background: var(--ink-100); }
.tm-pill.is-active {
  background: var(--ink-900);
  color: var(--white);
}
.tm-pill .count { font-size: 11px; opacity: .7; }
.tm-spacer { flex: 1; }
.tm-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-2);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  width: 240px;
  max-width: 100%;
}
.tm-search:focus-within { border-color: var(--accent); background: var(--white); }
.tm-search input {
  border: 0; outline: 0; background: transparent;
  font-size: 14px; flex: 1; font-family: inherit;
}
.tm-toggle {
  display: inline-flex;
  background: var(--paper-2);
  border-radius: 999px;
  padding: 4px;
}
.tm-toggle button {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
}
.tm-toggle button.is-active {
  background: var(--white);
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}

.tm-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  height: calc(100vh - 220px);
  min-height: 600px;
  border-top: 1px solid var(--ink-100);
}
#tm-map { width: 100%; height: 100%; background: var(--ink-100); }
.tm-list {
  border-left: 1px solid var(--ink-100);
  background: var(--white);
  overflow-y: auto;
  padding: 0;
}
.tm-list-header {
  position: sticky;
  top: 0;
  background: var(--white);
  padding: 16px 24px;
  border-bottom: 1px solid var(--ink-100);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tm-event {
  padding: 18px 24px;
  border-bottom: 1px solid var(--ink-100);
  cursor: pointer;
  transition: background .15s var(--ease);
}
.tm-event:hover { background: var(--paper-2); }
.tm-event.active { background: rgba(217,119,6,.06); border-left: 3px solid var(--accent); padding-left: 21px; }
.tm-event-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}
.tm-event-cat {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.tm-event-title { font-weight: 600; font-size: 15px; line-height: 1.35; margin-bottom: 4px; }
.tm-event-meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.tm-event-meta .src { color: var(--accent); font-weight: 600; }

/* Severity / category colors */
.cat-crime    { background: #fee2e2; color: #991b1b; }
.cat-weather  { background: #dbeafe; color: #1e40af; }
.cat-quake    { background: #fef3c7; color: #92400e; }
.cat-cyber    { background: #ede9fe; color: #5b21b6; }
.cat-protest  { background: #fce7f3; color: #9d174d; }
.cat-travel   { background: #d1fae5; color: #065f46; }
.cat-disaster { background: #ffedd5; color: #9a3412; }

.sev-high   { color: var(--crimson-600); }
.sev-med    { color: var(--amber-600); }
.sev-low    { color: var(--emerald-600); }

/* Stat row for threat matrix */
.tm-stats-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--ink-100);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.tm-stat-cell {
  padding: 18px 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tm-stat-cell .label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.tm-stat-cell .value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.tm-stat-cell.danger .value { color: var(--crimson-600); }
.tm-stat-cell.warn   .value { color: var(--amber-600); }
.tm-stat-cell.info   .value { color: var(--ink-900); }

.tm-empty {
  padding: 64px 32px;
  text-align: center;
  color: var(--muted);
}
.tm-empty .ic {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  background: var(--paper-2);
  border-radius: 50%;
  color: var(--muted);
}

/* Threat matrix sources block */
.tm-sources {
  background: var(--paper-2);
  padding: 64px 0;
  border-top: 1px solid var(--ink-100);
}
.tm-source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.tm-source {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
}
.tm-source h4 {
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--ink-900);
}
.tm-source p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.5; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .25s var(--ease);
}
.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.testimonial::before {
  content: """;
  position: absolute;
  top: 8px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--accent);
  opacity: .15;
  font-weight: 700;
}
.t-stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 4px;
}
.t-quote {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
  flex: 1;
}
.t-author { padding-top: 14px; border-top: 1px solid var(--ink-100); }
.t-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.t-role {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
}
.t-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: .02em;
}

/* Long-form testimonials page */
.testimonial-letter {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-letter .t-letter-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--ink-100);
}
.testimonial-letter .t-letter-meta .t-stars { font-size: 18px; }
.testimonial-letter .t-letter-meta .t-org {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.testimonial-letter .t-letter-meta .t-date {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
}
.testimonial-letter p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  margin: 0 0 1.1em;
}
.testimonial-letter .t-letter-author {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-100);
}
.testimonial-letter .t-letter-author .name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}
.testimonial-letter .t-letter-author .title {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
}

/* ============================================================
   EMERGENCY CALLOUT (contact page)
   ============================================================ */
.emergency-callout {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  border-left: 4px solid var(--crimson-600);
}
.emergency-label {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--crimson-600);
  font-weight: 700;
  margin-bottom: 6px;
}
.emergency-callout p { margin: 0; color: var(--text); }
.emergency-callout a { color: var(--accent); }
.emergency-callout a:hover { color: var(--accent-bright); }

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: transparent;
  border: 1.5px solid rgba(11,18,32,.12);
  color: var(--ink-700);
  transition: all .2s var(--ease);
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(11,18,32,.05); border-color: var(--ink-900); }
.theme-toggle .ic-sun  { display: none; }
.theme-toggle .ic-moon { display: block; }
body.theme-dark .theme-toggle {
  border-color: rgba(255,255,255,.16);
  color: var(--ink-200);
}
body.theme-dark .theme-toggle:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--accent);
  color: var(--accent);
}
body.theme-dark .theme-toggle .ic-sun  { display: block; }
body.theme-dark .theme-toggle .ic-moon { display: none; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
}
.contact-info-list { list-style: none; padding: 0; margin: 32px 0; }
.contact-info-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-100);
}
.contact-info-list .ic {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--paper-2);
  border-radius: 8px;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info-list .label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-info-list .val { font-weight: 600; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 80px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .method-grid, .services-grid { grid-template-columns: 1fr; }
  .cta-band-row, .svc-row, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-row.reverse > .svc-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .breakdown-item { grid-template-columns: 1fr; gap: 16px; }
  .breakdown-letter-big { font-size: 6rem; }
  .acronym-row { grid-template-columns: repeat(3, 1fr); }
  .tm-main { grid-template-columns: 1fr; height: auto; }
  #tm-map { height: 420px; }
  .tm-list { border-left: 0; border-top: 1px solid var(--ink-100); max-height: 600px; }
  .tm-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .tm-source-grid { grid-template-columns: 1fr; }
  .team-stats { grid-template-columns: repeat(2, 1fr); }
  .compare th, .compare td { padding: 12px 14px; font-size: 14px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-letter { padding: 28px 24px; }

  .menu-toggle { display: block; }
  .main-nav, .nav-cta .phone-link, .nav-cta .btn { display: none; }
  .nav-cta .btn-primary { display: inline-flex; }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 16px;
    border-bottom: 1px solid var(--ink-100);
    box-shadow: var(--shadow);
    align-items: stretch;
  }
  .main-nav.is-open a { padding: 14px; border-radius: 8px; }
}
@media (max-width: 560px) {
  .acronym-row { grid-template-columns: repeat(2, 1fr); padding: 24px; }
  .acronym-row .letter { font-size: 36px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .svc-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .compare table { font-size: 13px; }
  .nav-cta .btn { padding: 10px 16px; font-size: 14px; }
  .brand-tag { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
