/* ==========================================================================
   CORTEX WEB STUDIOS — Design System
   Architectural Bento-Grid · Luminous Dark-Mode Canvas · Cyber-Emerald Neomorphism
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Core palette */
  --lime: #A9E000;
  --emerald: #4E9C00;
  --pine: #1D5A00;
  --white: #FFFFFF;
  --obsidian: #080B0E;
  --surface-1: #0F171E;
  --surface-2: #1A242E;
  --stroke: rgba(169, 224, 0, 0.18);
  --stroke-soft: rgba(169, 224, 0, 0.10);
  --stroke-neutral: rgba(255, 255, 255, 0.08);
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  /* Gradients & effects */
  --brand-gradient: linear-gradient(135deg, #A9E000 0%, #4E9C00 100%);
  --beam-gradient: linear-gradient(90deg, transparent, #A9E000, transparent);
  --ambient-glow: radial-gradient(circle at 50% 0%, rgba(169, 224, 0, 0.12) 0%, transparent 70%);
  --glass-bg: rgba(15, 23, 30, 0.75);
  --glass-blur: blur(16px);
  --btn-glow: 0 0 25px rgba(169, 224, 0, 0.45);

  /* Type */
  --font-display: 'Plus Jakarta Sans', 'Syne', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: 24px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Offset anchor targets so the sticky header never covers a heading */
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--obsidian);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--lime); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--white); }

button { font: inherit; color: inherit; cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--white);
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; }

::selection { background: rgba(169, 224, 0, 0.28); color: var(--white); }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--lime);
  color: var(--obsidian);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--obsidian); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. TYPE SCALE
   -------------------------------------------------------------------------- */
.h1, h1 {
  font-size: 64px;
  line-height: 72px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.h2, h2 {
  font-size: 44px;
  line-height: 52px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.h3, h3 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.h4, h4 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}

.body-lg { font-size: 18px; line-height: 28px; }
.body-sm { font-size: 13px; line-height: 18px; font-weight: 500; }

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.text-lime { color: var(--lime); }

/* --------------------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 104px; position: relative; }
.section--tight { padding-block: 72px; }
.section--glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ambient-glow);
  pointer-events: none;
  z-index: 0;
}
.section > .container { position: relative; z-index: 1; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: 18px; line-height: 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--lime);
}
.section-head--center .eyebrow::before { display: none; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.divider { height: 1px; background: var(--stroke-neutral); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  text-align: center;
  min-height: 48px;
}

.btn .arrow { transition: transform var(--dur) var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--brand-gradient);
  color: var(--obsidian);
}
.btn-primary:hover {
  color: var(--obsidian);
  box-shadow: var(--btn-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(169, 224, 0, 0.06);
}

.btn-pill { border-radius: 9999px; }
.btn-sm { padding: 11px 20px; font-size: 14px; min-height: 46px; }

/* Magnetic header CTA with pulsing glow */
.btn-magnetic { position: relative; overflow: visible; }
.btn-magnetic::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--brand-gradient);
  filter: blur(12px);
  opacity: 0.4;
  z-index: -1;
  animation: pulse-glow 2.8s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.32; }
  50% { opacity: 0.62; }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* --------------------------------------------------------------------------
   6. BADGES & PILLS
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: rgba(169, 224, 0, 0.1);
  border: 1px solid var(--stroke);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill--glow {
  box-shadow: 0 0 24px rgba(169, 224, 0, 0.16);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--surface-2);
  border: 1px solid var(--stroke-neutral);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--dur) var(--ease);
}
.tag:hover, .tag.is-active {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(169, 224, 0, 0.08);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------------------
   7. CARDS — Luminous Neomorphic
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface-1);
  border: 1px solid rgba(169, 224, 0, 0.15);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  overflow: hidden;
}

/* Ambient lime radial glow behind the card on hover */
.card::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -40%;
  width: 120%;
  height: 120%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(169, 224, 0, 0.14) 0%, transparent 65%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
  z-index: 0;
}

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

.card:hover, .card:focus-within {
  border-color: var(--lime);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.card:hover::after, .card:focus-within::after { opacity: 1; }

.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-secondary); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--lime);
}
.card-link .arrow { transition: transform var(--dur) var(--ease); }
.card:hover .card-link .arrow { transform: translateX(4px); }

.card-static:hover { transform: none; }

/* Card border beam glow */
.card--beam::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--beam-gradient);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  z-index: 2;
}
.card--beam:hover::before { opacity: 1; }

.card-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
  opacity: 0.75;
  letter-spacing: 0.05em;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(169, 224, 0, 0.1);
  border: 1px solid var(--stroke);
  margin-bottom: 20px;
  color: var(--lime);
}
.card-icon svg { width: 22px; height: 22px; }

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

/* Glass panel */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(169, 224, 0, 0.15);
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   8. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 14, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stroke-neutral);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(8, 11, 14, 0.94);
  border-bottom-color: var(--stroke);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

/* Brand */
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(169, 224, 0, 0.5));
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Primary nav */
.nav-primary { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: 0;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link.is-current {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}
.nav-link.is-current { color: var(--lime); }

.chev { width: 11px; height: 11px; transition: transform var(--dur) var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Dropdown panels
   Anchored to the header container rather than to the individual nav item:
   an item-anchored panel this wide overflows the viewport edge. Nav items are
   position:static so these resolve against .header-inner instead. */
.header-inner { position: relative; }
.nav-item[data-dropdown] { position: static; }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  /* .header-inner carries the container padding, so inset by the gutter to
     align the panel edges with the logo and the page content below. */
  left: var(--gutter);
  right: var(--gutter);
  /* Deliberately opaque, and deliberately NOT backdrop-filtered.
     The panel sits inside .site-header, which already has backdrop-filter.
     A nested backdrop-filter re-samples the page behind and composites it
     back over this background, so page text bled through even at 97%
     opacity. The header's own blur supplies the glass character; this
     surface just has to stay readable. */
  background:
    linear-gradient(180deg, rgba(169, 224, 0, 0.05), transparent 220px),
    #0C1218;
  border: 1px solid rgba(169, 224, 0, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.72);
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  z-index: 60;
}
.nav-item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hairline beam along the top edge of every panel */
.dropdown::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: var(--beam-gradient);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 300px;
  gap: 30px;
}

.mega-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--stroke-neutral);
}

.mega-link {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid transparent;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}
.mega-link:hover,
.mega-link:focus-visible {
  background: rgba(169, 224, 0, 0.07);
  border-color: var(--stroke);
}
.mega-link-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(169, 224, 0, 0.08);
  border: 1px solid rgba(169, 224, 0, 0.14);
  color: var(--lime);
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}
.mega-link-icon svg { width: 17px; height: 17px; }
.mega-link:hover .mega-link-icon {
  background: rgba(169, 224, 0, 0.16);
  transform: translateY(-1px);
}
.mega-link-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  line-height: 20px;
}
.mega-link-count {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--lime);
  background: rgba(169, 224, 0, 0.1);
  border: 1px solid rgba(169, 224, 0, 0.16);
  padding: 1px 7px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mega-link-desc {
  font-size: 12.5px;
  line-height: 18px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Featured case study block inside mega menu */
.mega-featured {
  background: linear-gradient(160deg, rgba(29, 90, 0, 0.5), var(--surface-2));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.mega-featured .pill { margin-bottom: 16px; }
.mega-featured h4 { margin-bottom: 8px; }
.mega-featured p { font-size: 13px; line-height: 19px; color: var(--text-secondary); }
.mega-metric {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  margin: 18px 0 4px;
}
.mega-metric-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.mega-featured .btn { margin-top: auto; width: 100%; }

/* Industry tiles — four across the full panel width */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-tile {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke-neutral);
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease),
              transform 0.22s var(--ease);
}
.industry-tile:hover,
.industry-tile:focus-visible {
  background: rgba(169, 224, 0, 0.07);
  border-color: var(--stroke);
  transform: translateY(-3px);
}
.industry-tile .card-icon { margin-bottom: 16px; width: 40px; height: 40px; }
.industry-tile-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
}
.industry-tile-desc {
  font-size: 12.5px;
  line-height: 18px;
  color: var(--text-muted);
  margin-top: 7px;
  flex: 1;
}
.industry-tile-stat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--lime);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--stroke-neutral);
}

/* Locations panel */
.loc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 300px; gap: 30px; }
.loc-region-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--stroke-neutral);
}
.loc-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease),
              color 0.22s var(--ease);
}
.loc-link:hover,
.loc-link:focus-visible {
  background: rgba(169, 224, 0, 0.07);
  border-color: var(--stroke);
  color: var(--white);
}
.loc-flag { font-size: 18px; line-height: 1; flex-shrink: 0; }
.loc-link-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* Live-clock rail inside the locations panel */
.loc-feature {
  background: linear-gradient(160deg, rgba(29, 90, 0, 0.42), var(--surface-2));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px;
}
.loc-feature h4 { margin: 14px 0 8px; }
.loc-feature p { font-size: 12.5px; line-height: 19px; color: var(--text-secondary); }
.loc-clock-row {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}
.loc-clock {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--stroke-neutral);
}
.loc-clock b {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.dropdown-foot {
  margin: 26px -30px -30px;
  padding: 18px 30px;
  border-top: 1px solid var(--stroke-neutral);
  background: rgba(255, 255, 255, 0.018);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dropdown-foot span { font-size: 13px; color: var(--text-muted); }
.dropdown-foot strong { color: var(--white); font-weight: 600; }

/* Header utilities */
.header-utils { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.currency-select { position: relative; }
.currency-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 9999px;
  background: var(--surface-1);
  border: 1px solid var(--stroke-neutral);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--dur) var(--ease);
}
.currency-trigger:hover, .currency-trigger[aria-expanded="true"] {
  border-color: var(--stroke);
  color: var(--white);
}
.currency-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  background: rgba(15, 23, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(169, 224, 0, 0.15);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--dur) var(--ease);
  z-index: 60;
}
.currency-select.is-open .currency-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.currency-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  background: none;
  border: 0;
  text-align: left;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: all var(--dur) var(--ease);
}
.currency-option:hover { background: rgba(169, 224, 0, 0.08); color: var(--white); }
.currency-option[aria-selected="true"] { color: var(--lime); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--surface-1);
  border: 1px solid var(--stroke-neutral);
  border-radius: 10px;
  color: var(--white);
}
.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: all var(--dur) var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
/* Closed state must stay inside the viewport: this panel is position:fixed,
   so translating it off-screen would widen the document and body's
   overflow-x:hidden cannot clip a fixed element. Fade + lift instead. */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--obsidian);
  z-index: 95;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px var(--gutter) 120px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility var(--dur);
}
.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* The drawer has no role above the hamburger breakpoint */
@media (min-width: 1024px) {
  .mobile-drawer { display: none; }
}

.m-acc { border-bottom: 1px solid var(--stroke-neutral); }
.m-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 4px;
  background: none;
  border: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  min-height: 48px;
}
.m-acc-trigger .chev { width: 13px; height: 13px; color: var(--lime); }
.m-acc-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.m-acc-panel { display: none; padding-bottom: 14px; }
.m-acc-panel.is-open { display: block; }
.m-acc-panel a {
  display: block;
  padding: 12px 4px 12px 16px;
  border-left: 1px solid var(--stroke-neutral);
  font-size: 15px;
  color: var(--text-secondary);
  min-height: 48px;
}
.m-acc-panel a:hover { color: var(--lime); border-left-color: var(--lime); }
.m-acc-group-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 4px 6px;
}
.m-link {
  display: block;
  padding: 18px 4px;
  border-bottom: 1px solid var(--stroke-neutral);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  min-height: 48px;
}
.mobile-drawer .btn { width: 100%; margin-top: 28px; }

/* Sticky mobile CTA bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(8, 11, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--stroke);
  gap: 12px;
}
.mobile-cta-bar .btn { flex: 1; }

/* --------------------------------------------------------------------------
   9. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: 120px 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ambient-glow);
  z-index: -1;
}
#particle-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.85;
}

.hero-inner { max-width: 940px; }
.hero-inner--center { margin-inline: auto; text-align: center; }
.hero h1 { margin: 26px 0 0; }
.hero-sub {
  margin-top: 26px;
  font-size: 18px;
  line-height: 28px;
  max-width: 680px;
}
.hero-inner--center .hero-sub { margin-inline: auto; }
.hero .btn-row { margin-top: 40px; }
.hero-inner--center .btn-row { justify-content: center; }

/* KPI counters */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 72px;
}
.kpi {
  padding: 26px;
  background: var(--surface-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease);
}
.kpi:hover { border-color: var(--lime); }
.kpi-value {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.kpi-label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--lime); }
.breadcrumbs .sep { color: var(--text-muted); opacity: 0.6; }
.breadcrumbs [aria-current] { color: var(--lime); }

/* --------------------------------------------------------------------------
   10. MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 40px;
  border-block: 1px solid var(--stroke-neutral);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 68px;
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-muted);
  filter: grayscale(1);
  opacity: 0.65;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.marquee-item:hover { color: var(--lime); filter: none; opacity: 1; }
.marquee-item svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   11. BENTO GRID
   -------------------------------------------------------------------------- */
/* 12-column bento reproducing the spec wireframe:
   row 1 → three 1/3 tiles · row 2 → featured 2/3 + 1/3
   row 3 → four 1/4 tiles  · row 4 → one full-width tile */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.bento .b-3 { grid-column: span 3; }
.bento .b-4 { grid-column: span 4; }
.bento .b-8 { grid-column: span 8; }
.bento .b-12 { grid-column: span 12; }

.bento-card { display: flex; flex-direction: column; }
.bento-card p { font-size: 15px; line-height: 23px; }
.bento-card .card-link { margin-top: auto; padding-top: 20px; }

/* Architecture preview diagram (featured bento tile) */
.arch-preview {
  margin-top: 22px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--stroke-neutral);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 20px;
  color: var(--text-secondary);
  overflow-x: auto;
}
.arch-preview .node { color: var(--lime); }
.arch-preview .wire { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   12. TABS
   -------------------------------------------------------------------------- */
.tabs-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.tab-btn {
  padding: 13px 24px;
  border-radius: 9999px;
  background: var(--surface-1);
  border: 1px solid var(--stroke-neutral);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--dur) var(--ease);
  min-height: 48px;
}
.tab-btn:hover { border-color: var(--stroke); color: var(--white); }
.tab-btn[aria-selected="true"] {
  background: var(--brand-gradient);
  border-color: transparent;
  color: var(--obsidian);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-up 0.45s var(--ease); }

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

/* Horizontal swipe strip on mobile */
.swipe-strip { display: contents; }

/* --------------------------------------------------------------------------
   13. ACCORDION
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--stroke-neutral); }
.acc-item { border-bottom: 1px solid var(--stroke-neutral); }
.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 4px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  transition: color var(--dur) var(--ease);
  min-height: 48px;
}
.acc-trigger:hover { color: var(--lime); }
.acc-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  color: var(--lime);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
  font-size: 15px;
  line-height: 1;
}
.acc-trigger[aria-expanded="true"] .acc-icon {
  transform: rotate(45deg);
  background: rgba(169, 224, 0, 0.12);
}
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel-inner { overflow: hidden; }
.acc-panel-inner > div { padding: 0 4px 28px; max-width: 860px; }
.acc-panel p + p { margin-top: 14px; }

/* Sub-service detail lists inside accordions */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 22px;
}
.detail-block h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 10px;
}
.detail-block p, .detail-block li { font-size: 14px; line-height: 22px; }

/* --------------------------------------------------------------------------
   14. LISTS
   -------------------------------------------------------------------------- */
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  font-size: 15px;
  line-height: 23px;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 9px rgba(169, 224, 0, 0.7);
}

.arrow-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 14px;
  line-height: 22px;
}
.arrow-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   15. PROCESS / LIFECYCLE
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: stage;
}
.stage {
  position: relative;
  padding: 30px;
  background: var(--surface-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
}
.stage:hover { border-color: var(--lime); transform: translateY(-4px); }
.stage-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: 16px;
  display: block;
}
.stage h4 { margin-bottom: 10px; }
.stage p { font-size: 14px; line-height: 22px; }
.stage-duration {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke-neutral);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* Pain point → solution rows */
.pain-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 22px;
  background: var(--surface-1);
  border: 1px solid var(--stroke-neutral);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: border-color var(--dur) var(--ease);
}
.pain-row:hover { border-color: var(--stroke); }
.pain-side { display: flex; flex-direction: column; gap: 6px; }
.pain-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pain-label--problem { color: #F87171; }
.pain-label--solution { color: var(--lime); }
.pain-text { font-size: 15px; line-height: 23px; color: var(--white); font-weight: 500; }
.pain-arrow {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--lime);
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   16. METRICS STRIP
   -------------------------------------------------------------------------- */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stroke-neutral);
  border: 1px solid var(--stroke-neutral);
  border-radius: var(--radius);
  overflow: hidden;
}
.metric-strip--4 { grid-template-columns: repeat(4, 1fr); }
.metric-cell {
  background: var(--surface-1);
  padding: 30px 26px;
  text-align: center;
}
.metric-value {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
}
.metric-label { font-size: 13px; line-height: 19px; color: var(--text-muted); margin-top: 9px; }

/* Compliance seals */
.seal-row { display: flex; flex-wrap: wrap; gap: 14px; }
.seal {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--surface-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--dur) var(--ease);
}
.seal:hover { border-color: var(--lime); color: var(--white); }
.seal svg { width: 17px; height: 17px; color: var(--lime); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   17. GLOBAL MAP
   -------------------------------------------------------------------------- */
.geo-wrap {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 44px;
  align-items: center;
}
.geo-map {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 26px;
  aspect-ratio: 16 / 9;
}
.geo-map svg { width: 100%; height: 100%; }
.geo-dot {
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.geo-dot circle.core { fill: var(--lime); }
.geo-dot circle.halo {
  fill: rgba(169, 224, 0, 0.28);
  transform-origin: center;
  transform-box: fill-box;
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.85; }
  75%, 100% { transform: scale(2.6); opacity: 0; }
}
.geo-dot:hover circle.core, .geo-dot.is-active circle.core { fill: var(--white); }
.geo-dot text {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: var(--text-secondary);
}
.geo-dot:hover text, .geo-dot.is-active text { fill: var(--lime); }

.geo-panel { min-height: 300px; }
.geo-panel .pill { margin-bottom: 18px; }
.geo-clock {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--lime);
  margin-top: 6px;
}
.geo-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 26px 0; }
.geo-stat {
  padding: 16px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke-neutral);
}
.geo-stat-value { font-family: var(--font-mono); font-size: 21px; font-weight: 700; color: var(--white); }
.geo-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 5px; }

/* --------------------------------------------------------------------------
   18. TESTIMONIALS
   -------------------------------------------------------------------------- */
.review-viewport { overflow: hidden; }
.review-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s var(--ease);
}
.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  display: flex;
  flex-direction: column;
}
.stars { display: flex; gap: 3px; color: var(--lime); margin-bottom: 18px; }
.stars svg { width: 17px; height: 17px; }
.review-quote {
  font-size: 16px;
  line-height: 26px;
  color: var(--white);
  font-weight: 400;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--stroke-neutral);
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-gradient);
  color: var(--obsidian);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.review-name { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--white); }
.review-role { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.carousel-controls { display: flex; align-items: center; gap: 12px; }
.carousel-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-1);
  border: 1px solid var(--stroke-neutral);
  color: var(--white);
  transition: all var(--dur) var(--ease);
}
.carousel-btn:hover:not(:disabled) { border-color: var(--lime); color: var(--lime); }
.carousel-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.section-head-row .section-head { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   19. PROJECT ESTIMATOR
   -------------------------------------------------------------------------- */
.estimator { padding: 44px; }

.est-progress { display: flex; align-items: center; gap: 0; margin-bottom: 40px; }
.est-step-dot { display: flex; align-items: center; flex: 1; }
.est-step-dot:last-child { flex: 0 0 auto; }
.est-dot {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--stroke-neutral);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  transition: all var(--dur) var(--ease);
}
.est-step-dot.is-active .est-dot,
.est-step-dot.is-done .est-dot {
  background: var(--brand-gradient);
  border-color: transparent;
  color: var(--obsidian);
}
.est-bar { flex: 1; height: 1px; background: var(--stroke-neutral); margin-inline: 10px; }
.est-step-dot.is-done .est-bar { background: var(--lime); }

.est-step { display: none; }
.est-step.is-active { display: block; animation: fade-up 0.4s var(--ease); }
.est-step h3 { margin-bottom: 8px; }
.est-step > p { margin-bottom: 28px; }

.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.opt {
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid var(--stroke-neutral);
  border-radius: var(--radius-sm);
  text-align: left;
  transition: all var(--dur) var(--ease);
  min-height: 48px;
}
.opt:hover { border-color: var(--stroke); transform: translateY(-2px); }
.opt[aria-pressed="true"] {
  border-color: var(--lime);
  background: rgba(169, 224, 0, 0.08);
  box-shadow: 0 0 22px rgba(169, 224, 0, 0.16);
}
.opt-title { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--white); line-height: 21px; }
.opt-meta { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.opt[aria-pressed="true"] .opt-meta { color: var(--lime); }

.est-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--stroke-neutral);
}

.est-result { text-align: center; padding: 12px 0; }
.est-amount {
  font-family: var(--font-mono);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  margin: 18px 0 6px;
}
.est-range { font-family: var(--font-mono); font-size: 14px; color: var(--text-muted); }
.est-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 34px 0;
  text-align: left;
}
.est-summary-cell {
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--stroke-neutral);
  border-radius: var(--radius-sm);
}
.est-summary-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.est-summary-value { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--white); margin-top: 7px; }
.est-note { font-size: 13px; color: var(--text-muted); margin-top: 22px; }

/* --------------------------------------------------------------------------
   20. FORMS
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.field .req { color: var(--lime); }

.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--stroke-neutral);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 22px;
  transition: all var(--dur) var(--ease);
  min-height: 48px;
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(169, 224, 0, 0.14);
}
.textarea { resize: vertical; min-height: 132px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2394A3B8' stroke-width='1.5'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 13px;
  padding-right: 42px;
  cursor: pointer;
}
.select option { background: var(--surface-2); color: var(--white); }

.form-note { font-size: 13px; color: var(--text-muted); margin-top: 18px; }

.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(169, 224, 0, 0.08);
  border: 1px solid var(--stroke);
  color: var(--lime);
  font-size: 14px;
  line-height: 21px;
}
.form-status.is-visible { display: block; }
.form-status.is-error {
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.3);
  color: #F87171;
}

/* --------------------------------------------------------------------------
   21. CASE STUDIES
   -------------------------------------------------------------------------- */
.case-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.case-visual {
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, rgba(29, 90, 0, 0.65), var(--surface-2));
  border-bottom: 1px solid var(--stroke-neutral);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.case-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(169, 224, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 224, 0, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.case-visual-metric {
  position: relative;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.case-visual-caption {
  position: relative;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 10px;
  text-align: center;
  padding-inline: 16px;
}
.case-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.case-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--surface-2);
  color: var(--text-muted);
}
.case-body h3 { font-size: 19px; line-height: 26px; margin-bottom: 10px; }
.case-body p { font-size: 14px; line-height: 22px; }

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--stroke-neutral);
}
.case-result-value { font-family: var(--font-mono); font-size: 19px; font-weight: 700; color: var(--lime); }
.case-result-label { font-size: 11px; line-height: 15px; color: var(--text-muted); margin-top: 4px; }

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding: 24px;
  background: var(--surface-1);
  border: 1px solid var(--stroke-neutral);
  border-radius: var(--radius);
  margin-bottom: 40px;
}
.filter-group { display: flex; flex-direction: column; gap: 12px; }
.filter-group-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 9999px;
  background: var(--surface-2);
  border: 1px solid var(--stroke-neutral);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--dur) var(--ease);
  min-height: 44px;
}
.chip:hover { border-color: var(--stroke); color: var(--white); }
.chip[aria-pressed="true"] {
  background: rgba(169, 224, 0, 0.1);
  border-color: var(--lime);
  color: var(--lime);
}

.empty-state {
  padding: 60px 24px;
  text-align: center;
  border: 1px dashed var(--stroke-neutral);
  border-radius: var(--radius);
  color: var(--text-muted);
}
.empty-state h3 { margin-bottom: 10px; }

/* Featured case study block */
.case-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 44px;
}
.case-feature-quote {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 32px;
  font-weight: 500;
  color: var(--white);
  padding-left: 22px;
  border-left: 2px solid var(--lime);
  margin: 28px 0;
}
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ba-cell {
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke-neutral);
  background: var(--surface-2);
}
.ba-cell--after { border-color: var(--stroke); background: rgba(169, 224, 0, 0.06); }
.ba-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 9px;
}
.ba-value { font-family: var(--font-mono); font-size: 24px; font-weight: 700; color: var(--white); }
.ba-cell--after .ba-value { color: var(--lime); }

/* --------------------------------------------------------------------------
   22. PRICING TIERS
   -------------------------------------------------------------------------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier { display: flex; flex-direction: column; }
.tier--featured {
  border-color: var(--lime);
  background: linear-gradient(170deg, rgba(29, 90, 0, 0.35), var(--surface-1) 55%);
}
.tier-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--white); }
.tier-price {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  margin: 16px 0 4px;
  line-height: 1.15;
}
.tier-price-note { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.tier-desc { font-size: 14px; line-height: 22px; margin: 18px 0 22px; }
.tier .check-list { flex: 1; }
.tier .btn { margin-top: 26px; width: 100%; }

/* --------------------------------------------------------------------------
   23. CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  padding: 66px 48px;
  text-align: center;
  background: linear-gradient(150deg, rgba(29, 90, 0, 0.4), var(--surface-1));
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ambient-glow);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner p { max-width: 620px; margin: 18px auto 0; font-size: 17px; line-height: 27px; }
.cta-banner .btn-row { justify-content: center; margin-top: 36px; }

/* --------------------------------------------------------------------------
   24. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--stroke-neutral); background: var(--obsidian); }

/* Row 1 — lead trap */
.footer-lead {
  padding-block: 76px;
  border-bottom: 1px solid var(--stroke-neutral);
  position: relative;
}
.footer-lead::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ambient-glow);
  pointer-events: none;
}
.footer-lead > .container { position: relative; }
.footer-lead h2 { max-width: 720px; }
.footer-lead .btn-row { margin-top: 34px; }

.clock-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid var(--stroke-neutral);
}
.clock { text-align: left; }
.clock-city {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.clock-time {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.clock-zone { font-family: var(--font-mono); font-size: 11px; color: var(--lime); margin-top: 4px; }

/* Row 2 — 5 columns */
.footer-main {
  padding-block: 64px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid var(--stroke-neutral);
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--lime); }

.footer-brand-copy { font-size: 14px; line-height: 23px; margin: 20px 0 24px; max-width: 330px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--surface-1);
  border: 1px solid var(--stroke-neutral);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
}
.badge svg { width: 14px; height: 14px; color: var(--lime); }
.badge strong { color: var(--white); font-weight: 700; }

/* Row 3 — bottom bar */
.footer-bottom {
  padding-block: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: blink 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* --------------------------------------------------------------------------
   25. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   26. RESPONSIVE — Tablet 768–1023
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav-link { padding: 10px 10px; font-size: 14px; }
  .currency-trigger { padding: 9px 10px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 44px; }
}

@media (max-width: 1023px) {
  :root { --gutter: 20px; }

  .nav-primary, .header-utils .currency-select, .header-utils .btn { display: none; }
  .nav-toggle { display: flex; }

  h1, .h1 { font-size: 44px; line-height: 52px; }
  h2, .h2 { font-size: 36px; line-height: 44px; }

  .section { padding-block: 76px; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento .b-3, .bento .b-4 { grid-column: span 3; }
  .bento .b-8, .bento .b-12 { grid-column: span 6; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .geo-wrap { grid-template-columns: 1fr; gap: 32px; }
  .case-feature { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .tier-grid { grid-template-columns: 1fr; }
  .review-card { flex: 0 0 calc((100% - 24px) / 2); }
  .clock-row { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .metric-strip, .metric-strip--4 { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .opt-grid { grid-template-columns: repeat(2, 1fr); }
  .estimator { padding: 30px; }
}

/* --------------------------------------------------------------------------
   27. RESPONSIVE — Mobile 320–767
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  h1, .h1 { font-size: 40px; line-height: 48px; }
  h2, .h2 { font-size: 32px; line-height: 38px; }
  h3, .h3 { font-size: 21px; line-height: 28px; }

  body { padding-bottom: 76px; }
  .mobile-cta-bar { display: flex; }

  .section { padding-block: 60px; }
  .section-head { margin-bottom: 36px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 24px; }

  .hero { padding-block: 68px 60px; }
  .hero .btn-row .btn { width: 100%; }

  .kpi-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 46px; }
  .kpi-value { font-size: 32px; }

  /* 1-column stacked cards */
  .grid-2, .grid-3, .grid-4,
  .bento, .process-grid, .tier-grid,
  .form-grid, .est-summary, .geo-stats, .ba-grid {
    grid-template-columns: 1fr;
  }
  .bento .b-3, .bento .b-4, .bento .b-8, .bento .b-12 { grid-column: span 1; }

  .card { padding: 24px; }
  .cta-banner { padding: 44px 24px; }
  .cta-banner .btn-row .btn { width: 100%; }
  .estimator { padding: 22px; }
  .opt-grid { grid-template-columns: 1fr; }
  .est-amount { font-size: 40px; }
  .est-actions { flex-direction: column-reverse; }
  .est-actions .btn { width: 100%; }

  /* Horizontal swipeable tabs & tech-stack strips */
  .tabs-nav, .tag-row.is-swipe {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .tabs-nav::-webkit-scrollbar, .tag-row.is-swipe::-webkit-scrollbar { display: none; }
  .tab-btn, .tag-row.is-swipe .tag { flex: 0 0 auto; scroll-snap-align: start; }

  .review-card { flex: 0 0 100%; }
  .review-track { gap: 16px; }

  .pain-row { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .pain-arrow { transform: rotate(90deg); width: fit-content; }

  .metric-strip, .metric-strip--4 { grid-template-columns: 1fr; }
  .clock-row { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding-block: 48px; }
  .footer-lead { padding-block: 52px; }
  .footer-lead .btn-row .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }

  .case-feature { padding: 24px; }
  .case-feature-quote { font-size: 18px; line-height: 28px; }
  .filter-bar { padding: 20px; gap: 20px; }
  .acc-trigger { font-size: 16px; padding: 22px 4px; }
  .geo-map { aspect-ratio: 4 / 3; padding: 14px; }
}

@media (max-width: 380px) {
  h1, .h1 { font-size: 34px; line-height: 42px; }
  .brand-sub { letter-spacing: 0.18em; font-size: 8px; }
}

/* --------------------------------------------------------------------------
   28. MOTION & PRINT PREFERENCES
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  #particle-mesh { display: none; }
}

@media print {
  .site-header, .site-footer, .mobile-cta-bar, #particle-mesh { display: none; }
  body { background: #fff; color: #000; }
  .card, .kpi { border-color: #ccc; }
}

/* ==========================================================================
   29. HOMEPAGE — ANIMATION SYSTEM
   Scroll-driven reveals with variants. Everything is opt-in via data-anim so
   motion never fires where it would distract, and all of it is switched off
   under prefers-reduced-motion (see section 28).
   ========================================================================== */
[data-anim] {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease),
              clip-path 0.8s var(--ease);
  will-change: opacity, transform;
}
[data-anim="up"]    { transform: translateY(28px); }
[data-anim="down"]  { transform: translateY(-24px); }
[data-anim="left"]  { transform: translateX(34px); }
[data-anim="right"] { transform: translateX(-34px); }
[data-anim="zoom"]  { transform: scale(0.94); }
[data-anim="fade"]  { transform: none; }
[data-anim="clip"]  { clip-path: inset(0 100% 0 0); opacity: 1; }

[data-anim].is-in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* Children animate in sequence — set on the parent */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}
[data-stagger].is-in > * { opacity: 1; transform: none; }

/* Animated hairline that draws itself under section headings */
.rule-draw {
  height: 1px;
  background: var(--beam-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
  margin-top: 22px;
}
.rule-draw.is-in { transform: scaleX(1); }

/* ---------- CTA micro-interactions ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }

.btn-ghost { position: relative; }
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  z-index: -1;
}
.btn-ghost:hover::before { opacity: 0.09; }

/* Cursor-follow nudge applied by JS */
.btn-magnetic { transition: transform 0.25s var(--ease), box-shadow var(--dur) var(--ease); }

/* Pulsing ring behind the highest-intent buttons */
.cta-pulse { position: relative; }
.cta-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid var(--lime);
  opacity: 0;
  animation: cta-ring 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes cta-ring {
  0%   { opacity: 0.55; transform: scale(1); }
  70%  { opacity: 0; transform: scale(1.09); }
  100% { opacity: 0; transform: scale(1.09); }
}

/* ==========================================================================
   30. HOMEPAGE — SECTION BUILDING BLOCKS
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--wide { grid-template-columns: 1.15fr 1fr; }

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--surface-1);
  /* Reserve the aspect box up front so images never shift layout */
  aspect-ratio: 800 / 520;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 11, 14, 0.55));
  pointer-events: none;
}
.media-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
}

/* Problem → solution */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke-neutral);
  background: var(--surface-1);
  height: 100%;
}
.compare--good { border-color: var(--stroke); background: linear-gradient(165deg, rgba(29, 90, 0, 0.28), var(--surface-1)); }
.compare-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.compare-head svg { width: 15px; height: 15px; flex-shrink: 0; }
.compare--bad .compare-head { color: #F87171; }
.compare--good .compare-head { color: var(--lime); }
.compare li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 23px;
}
.compare li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 15px;
}
.compare--bad li::before { content: '\00d7'; color: #F87171; }
.compare--good li::before { content: '\2713'; color: var(--lime); }

/* Value / why-us tiles */
.value-tile {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke-neutral);
  background: var(--surface-1);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.value-tile:hover { border-color: var(--lime); transform: translateY(-4px); }
.value-tile-num {
  font-family: var(--font-mono);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.value-tile h3 { font-size: 19px; line-height: 26px; margin: 14px 0 10px; }
.value-tile p { font-size: 14.5px; line-height: 23px; }

/* ==========================================================================
   31. INDUSTRY CAROUSEL
   ========================================================================== */
.carousel { position: relative; }
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.carousel-track {
  display: flex;
  transition: transform 0.62s var(--ease);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.slide-inner {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 56px;
  align-items: center;
  padding: 52px;
  background:
    radial-gradient(circle at 12% 8%, rgba(169, 224, 0, 0.10), transparent 55%),
    linear-gradient(150deg, rgba(29, 90, 0, 0.22), var(--surface-1) 60%);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  min-height: 540px;
}

.slide-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.slide-index b { color: var(--lime); font-weight: 700; }

.slide-body h3 {
  font-size: 34px;
  line-height: 42px;
  margin: 18px 0 16px;
  letter-spacing: -0.025em;
}
.slide-body > p { font-size: 16.5px; line-height: 28px; }

.slide-points { margin: 26px 0 32px; }
.slide-points li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  font-size: 15px;
  line-height: 24px;
  color: var(--text-secondary);
}
.slide-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 10px rgba(169, 224, 0, 0.75);
}

/* ---------- Editorial photo treatment ---------- */
.slide-media { position: relative; margin: 0; }

/* Offset accent frame sitting behind the photo */
.slide-media::before {
  content: '';
  position: absolute;
  inset: 26px -22px -22px 26px;
  border: 1px solid rgba(169, 224, 0, 0.30);
  border-radius: 20px;
  z-index: 0;
}

.slide-photo {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  aspect-ratio: 4 / 3.15;
  background: var(--surface-2);
}
.slide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Desaturated so the brand tint below can recolour it cleanly */
  filter: grayscale(0.88) contrast(1.05) brightness(0.95);
  transform: scale(1.08);
  opacity: 0;
  transition: transform 1.6s var(--ease), opacity 0.8s var(--ease),
              filter 0.7s var(--ease);
}
.carousel-slide.is-active .slide-photo img { transform: scale(1); opacity: 1; }
.slide-photo:hover img { filter: grayscale(0.12) contrast(1.03) brightness(1.02); }

/* Brand duotone: tints the greyscale photo into the palette */
.slide-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(150deg, #A9E000 0%, #1D5A00 100%);
  mix-blend-mode: color;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.7s var(--ease);
}
.slide-photo:hover::before { opacity: 0.18; }

/* Scrim keeps the floating cards legible over any photo */
.slide-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(to top, rgba(8, 11, 14, 0.92) 0%, rgba(8, 11, 14, 0.18) 52%, transparent 80%),
    linear-gradient(to right, rgba(8, 11, 14, 0.30), transparent 52%);
  pointer-events: none;
}

/* The local SVG fallback is already on-brand, so skip the duotone */
.slide-photo img.is-fallback { filter: none; }
.slide-photo.has-fallback::before { opacity: 0; }
.slide-photo.has-fallback .slide-credit { display: none; }

/* Floating stat cards overlapping the photo */
.slide-floats {
  position: absolute;
  z-index: 4;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.float-stat {
  flex: 1 1 0;
  min-width: 130px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(9, 14, 19, 0.72);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(169, 224, 0, 0.28);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.carousel-slide.is-active .float-stat { transform: none; opacity: 1; }
.carousel-slide.is-active .float-stat:nth-child(2) { transition-delay: 0.12s; }
.float-stat-value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}
.float-stat-label {
  font-size: 11.5px;
  line-height: 16px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.slide-credit {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
}

.carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.carousel-dots { display: flex; gap: 10px; flex-wrap: wrap; }
.dot {
  position: relative;
  height: 46px;
  padding: 0 4px;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.dot-bar {
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.dot[aria-selected="true"] .dot-bar { width: 62px; background: rgba(169, 224, 0, 0.22); }
.dot[aria-selected="true"] .dot-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  background: var(--brand-gradient);
  transform-origin: left;
  animation: dot-fill 7s linear forwards;
}
.carousel.is-paused .dot[aria-selected="true"] .dot-bar::after { animation-play-state: paused; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.dot-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-left: 10px;
  transition: color var(--dur) var(--ease);
}
.dot[aria-selected="true"] .dot-label { color: var(--lime); }

/* ==========================================================================
   32. GLOBAL INFRASTRUCTURE
   ========================================================================== */
.infra-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}
.infra-stat {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke-neutral);
  background: var(--surface-1);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.infra-stat:hover { border-color: var(--lime); transform: translateY(-3px); }
.infra-stat .card-icon { margin-bottom: 16px; }
.infra-stat h3 { font-size: 17px; line-height: 24px; margin-bottom: 8px; }
.infra-stat p { font-size: 13.5px; line-height: 21px; }

.infra-panel {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-1);
}
.infra-map-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 50% 40%, rgba(169, 224, 0, 0.09), transparent 68%),
    var(--surface-1);
  border-right: 1px solid var(--stroke-neutral);
}
.infra-map-wrap svg { width: 100%; height: auto; display: block; }

.infra-region-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.region-tab {
  padding: 9px 16px;
  border-radius: 9999px;
  background: var(--surface-2);
  border: 1px solid var(--stroke-neutral);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 44px;
  transition: all var(--dur) var(--ease);
}
.region-tab:hover { border-color: var(--stroke); color: var(--white); }
.region-tab[aria-pressed="true"] {
  background: rgba(169, 224, 0, 0.1);
  border-color: var(--lime);
  color: var(--lime);
}

/* Connection arcs draw themselves in */
.infra-arc {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  transition: stroke-dashoffset 1.4s var(--ease), opacity 0.5s var(--ease);
  opacity: 0.25;
}
.is-in .infra-arc { stroke-dashoffset: 0; }
.infra-arc.is-lit { opacity: 0.85; }

/* Packet travelling along an arc */
.infra-packet { opacity: 0; }
.is-in .infra-packet { opacity: 1; }

.hub-dot { cursor: pointer; }
.hub-dot .hub-core { fill: var(--lime); transition: r 0.3s var(--ease); }
.hub-dot .hub-ring {
  fill: none;
  stroke: var(--lime);
  stroke-opacity: 0.45;
  transform-origin: center;
  transform-box: fill-box;
}
.hub-dot.is-dim { opacity: 0.22; }
.hub-dot.is-active .hub-core { r: 7; }
.hub-dot text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--text-muted);
  transition: fill var(--dur) var(--ease);
}
.hub-dot.is-active text, .hub-dot:hover text { fill: var(--lime); }

.infra-detail { padding: 32px; display: flex; flex-direction: column; }
.infra-detail-flag { font-size: 34px; line-height: 1; margin-bottom: 14px; }
.infra-detail h3 { font-size: 24px; margin-bottom: 10px; }
.infra-detail > p { font-size: 14.5px; line-height: 23px; }
.infra-meta { display: grid; gap: 12px; margin: 24px 0; }
.infra-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--stroke-neutral);
  font-size: 13.5px;
}
.infra-meta-row span { color: var(--text-muted); }
.infra-meta-row b { color: var(--white); font-family: var(--font-mono); font-size: 13.5px; font-weight: 700; }
.infra-meta-row b.live { color: var(--lime); font-variant-numeric: tabular-nums; }
.infra-detail .btn { margin-top: auto; }

/* ==========================================================================
   33. ESTIMATOR — REDESIGN
   ========================================================================== */
.est-shell {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(169, 224, 0, 0.09), transparent 62%),
    var(--surface-1);
  overflow: hidden;
}
.est-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 44px;
  border-bottom: 1px solid var(--stroke-neutral);
  background: rgba(255, 255, 255, 0.02);
  flex-wrap: wrap;
}
.est-head-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--white); }
.est-head-note { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.est-trust { display: flex; gap: 18px; flex-wrap: wrap; }
.est-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
}
.est-trust svg { width: 14px; height: 14px; color: var(--lime); }

/* Labelled progress rail */
.est-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 40px; }
.est-node { position: relative; text-align: center; padding-top: 46px; }
.est-node::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--stroke-neutral);
}
.est-node:first-child::before { left: 50%; }
.est-node:last-child::before { right: 50%; }
.est-node.is-done::before, .est-node.is-active::before { background: rgba(169, 224, 0, 0.45); }
.est-node-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--stroke-neutral);
  color: var(--text-muted);
  transition: all 0.4s var(--ease);
}
.est-node-dot svg { width: 17px; height: 17px; }
.est-node.is-active .est-node-dot,
.est-node.is-done .est-node-dot {
  background: var(--brand-gradient);
  border-color: transparent;
  color: var(--obsidian);
}
.est-node.is-active .est-node-dot { box-shadow: 0 0 0 6px rgba(169, 224, 0, 0.14); }
.est-node-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}
.est-node.is-active .est-node-label { color: var(--lime); }
.est-node-sub { font-size: 12px; color: var(--text-muted); margin-top: 5px; opacity: 0.75; }

.est-body { padding: 40px 44px 44px; }
.est-step { display: none; }
.est-step.is-active { display: block; animation: est-in 0.45s var(--ease); }
@keyframes est-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.est-step-lead { max-width: 620px; margin-bottom: 28px; }

.opt {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--stroke-neutral);
  border-radius: var(--radius-sm);
  text-align: left;
  transition: all var(--dur) var(--ease);
  min-height: 48px;
}
.opt-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(169, 224, 0, 0.08);
  border: 1px solid rgba(169, 224, 0, 0.14);
  color: var(--lime);
  transition: background var(--dur) var(--ease);
}
.opt-icon svg { width: 17px; height: 17px; }
.opt[aria-pressed="true"] .opt-icon { background: rgba(169, 224, 0, 0.2); }
.opt-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: var(--obsidian);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s var(--ease);
}
.opt-check svg { width: 11px; height: 11px; }
.opt[aria-pressed="true"] .opt-check { opacity: 1; transform: scale(1); }

/* Result */
.est-amount { animation: est-pop 0.6s var(--ease); }
@keyframes est-pop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   34. FAQ (answer-engine friendly)
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }

/* ==========================================================================
   35. FOOTER — polish
   ========================================================================== */
.footer-links a {
  position: relative;
  display: inline-block;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.footer-links a:hover { transform: translateX(4px); }
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.clock { transition: transform var(--dur) var(--ease); }
.clock:hover { transform: translateY(-3px); }
.clock:hover .clock-city { color: var(--lime); }

.badge { transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.badge:hover { border-color: var(--stroke); transform: translateY(-2px); }

.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--surface-1);
  border: 1px solid var(--stroke-neutral);
  color: var(--text-secondary);
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(169, 224, 0, 0.14);
}
.footer-social svg { width: 18px; height: 18px; }

/* Back to top */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-1);
  border: 1px solid var(--stroke);
  color: var(--lime);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--dur) var(--ease);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-gradient); color: var(--obsidian); }
.to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   36. HOMEPAGE RESPONSIVE
   ========================================================================== */
@media (max-width: 1023px) {
  .split, .split--wide, .compare-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-aside { position: static; }
  .infra-stats { grid-template-columns: repeat(2, 1fr); }
  .infra-panel { grid-template-columns: 1fr; }
  .infra-map-wrap { border-right: 0; border-bottom: 1px solid var(--stroke-neutral); }
  .slide-inner { grid-template-columns: 1fr; gap: 34px; padding: 32px; min-height: 0; }
  .slide-body h3 { font-size: 28px; line-height: 36px; }
  .slide-media::before { inset: 18px -14px -14px 18px; }
  .est-head, .est-body { padding-inline: 28px; }
}

@media (max-width: 767px) {
  .infra-stats { grid-template-columns: 1fr; }
  .slide-inner { padding: 20px; gap: 26px; }
  .slide-body h3 { font-size: 24px; line-height: 32px; }
  .slide-media::before { display: none; }
  .slide-photo { aspect-ratio: 4 / 3.4; }
  .slide-floats { left: 14px; right: 14px; bottom: 14px; gap: 10px; }
  .float-stat { padding: 12px 14px; min-width: 0; }
  .float-stat-value { font-size: 20px; }
  .float-stat-label { font-size: 10.5px; }
  .est-head, .est-body { padding-inline: 20px; }
  .est-body { padding-block: 30px 32px; }
  .est-rail { margin-bottom: 30px; }
  .est-node-label { font-size: 9.5px; letter-spacing: 0.04em; }
  .est-node-sub { display: none; }
  .value-tile { padding: 24px; }
  .compare { padding: 22px; }
  .to-top { right: 16px; bottom: 90px; }
  .dot-bar { width: 24px; }
  .dot[aria-selected="true"] .dot-bar { width: 44px; }
  .dot-label { display: none; }
  .carousel-bar { justify-content: center; }
}

/* ==========================================================================
   37. SERVICES GRID — replaces the bento
   A 12-cell grid: ten uniform service cards plus a two-wide CTA tile. Ten
   cards in a masonry-style bento always leaves ragged holes and mismatched
   heights; an even grid reads as deliberate and lets every card carry the
   same amount of information.
   ========================================================================== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  background: var(--surface-1);
  border: 1px solid var(--stroke-neutral);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}

/* Ambient wash that lifts on hover */
.svc-card::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -55%;
  width: 130%;
  height: 130%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(169, 224, 0, 0.13) 0%, transparent 62%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.svc-card > * { position: relative; z-index: 1; }

/* Beam along the top edge */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--beam-gradient);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  z-index: 2;
}

.svc-card:hover,
.svc-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(169, 224, 0, 0.55);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
}
.svc-card:hover::after, .svc-card:focus-within::after { opacity: 1; }
.svc-card:hover::before, .svc-card:focus-within::before { opacity: 1; }

.svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.svc-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(169, 224, 0, 0.09);
  border: 1px solid rgba(169, 224, 0, 0.20);
  color: var(--lime);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.svc-icon svg { width: 23px; height: 23px; }
.svc-card:hover .svc-icon {
  background: rgba(169, 224, 0, 0.18);
  transform: translateY(-2px) scale(1.04);
}
.svc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  transition: color 0.4s var(--ease);
}
.svc-card:hover .svc-num { color: var(--lime); }

.svc-card h3 {
  font-size: 20px;
  line-height: 27px;
  margin-bottom: 11px;
  letter-spacing: -0.015em;
}
.svc-card p {
  font-size: 14.5px;
  line-height: 23px;
  color: var(--text-secondary);
}

/* Tech chips give every card the same visual weight */
.svc-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 24px;
}
.svc-stack span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--stroke-neutral);
  padding: 5px 10px;
  border-radius: 9999px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc-card:hover .svc-stack span {
  color: var(--text-secondary);
  border-color: rgba(169, 224, 0, 0.22);
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--stroke-neutral);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--lime);
  transition: gap 0.3s var(--ease);
}
.svc-card:hover .svc-link { gap: 12px; }
/* Whole card is clickable, link stays the accessible target */
.svc-link::before { content: ''; position: absolute; inset: 0; z-index: 3; }

/* Closing CTA tile, two columns wide, completes the 12-cell grid */
.svc-cta {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background:
    radial-gradient(circle at 88% 12%, rgba(169, 224, 0, 0.16), transparent 58%),
    linear-gradient(140deg, rgba(29, 90, 0, 0.42), var(--surface-1) 68%);
}
.svc-cta h3 { font-size: 24px; line-height: 32px; margin-bottom: 12px; }
.svc-cta p { font-size: 15px; line-height: 24px; max-width: 460px; margin-bottom: 24px; }
.svc-cta .btn-row { gap: 12px; }

@media (max-width: 1023px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card { padding: 28px 24px; }
}
@media (max-width: 767px) {
  .svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-cta { grid-column: span 1; padding: 28px 24px; }
  .svc-cta h3 { font-size: 21px; line-height: 28px; }
  .svc-cta .btn-row .btn { width: 100%; }
}

/* ==========================================================================
   38. TYPOGRAPHY & RHYTHM POLISH (site-wide)
   ========================================================================== */
.section-head p {
  max-width: 640px;
  color: var(--text-secondary);
}
.section-head--center p { margin-inline: auto; }

h2, .h2 { letter-spacing: -0.028em; }
h3, .h3 { letter-spacing: -0.018em; }

/* Consistent vertical rhythm between major sections */
.section { padding-block: 112px; }
.section--tight { padding-block: 76px; }

@media (max-width: 1023px) {
  .section { padding-block: 84px; }
  .section--tight { padding-block: 60px; }
}
@media (max-width: 767px) {
  .section { padding-block: 64px; }
  .section--tight { padding-block: 48px; }
}

/* ==========================================================================
   39. HERO TRUST ROW & KPI POLISH
   ========================================================================== */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: 28px;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.hero-trust svg { width: 14px; height: 14px; color: var(--lime); flex-shrink: 0; }
.hero-trust b { color: var(--text-secondary); font-weight: 500; }

.kpi {
  position: relative;
  padding: 30px 28px;
  overflow: hidden;
}
.kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--beam-gradient);
  opacity: 0.5;
  transition: opacity var(--dur) var(--ease);
}
.kpi:hover::before { opacity: 1; }
.kpi-value { font-size: 42px; }
.kpi-label { font-size: 13.5px; line-height: 20px; color: var(--text-secondary); }

.svc-stack span { font-size: 11.5px; padding: 5px 11px; }

@media (max-width: 767px) {
  .kpi { padding: 24px 22px; }
  .kpi-value { font-size: 34px; }
  .hero-trust { gap: 10px 18px; margin-top: 24px; }
  .hero-trust span { font-size: 11.5px; }
}

/* ==========================================================================
   40. SERVICE CARD ARTWORK & MICRO-INTERACTIONS
   Every card carries its own piece of line-art with its own hover behaviour,
   so the grid reads as ten designed cards rather than one card repeated.
   ========================================================================== */
.svc-card { padding: 0; }

.svc-visual {
  position: relative;
  aspect-ratio: 320 / 150;
  overflow: hidden;
  border-bottom: 1px solid var(--stroke-neutral);
  background:
    radial-gradient(circle at 50% 118%, rgba(169, 224, 0, 0.16), transparent 62%),
    linear-gradient(165deg, #0D151C, #0A1016);
  transition: border-color 0.45s var(--ease);
}
.svc-card:hover .svc-visual { border-color: rgba(169, 224, 0, 0.28); }
.svc-visual .vis { width: 100%; height: 100%; display: block; }

.svc-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 62%, rgba(15, 23, 30, 0.92));
  pointer-events: none;
}

.svc-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 9999px;
  background: rgba(9, 14, 19, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(169, 224, 0, 0.22);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lime);
}

.svc-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { margin-bottom: 10px; }

/* ---- shared animated primitives ------------------------------------- */
.vis .dash {
  stroke-dasharray: 260;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s var(--ease);
}
.svc-card:hover .vis .dash { animation: vis-draw 1.1s var(--ease) forwards; }
@keyframes vis-draw {
  from { stroke-dashoffset: 260; }
  to { stroke-dashoffset: 0; }
}

.vis .draw { stroke-dasharray: 320; transition: stroke-dashoffset 1.1s var(--ease); }
.svc-card:hover .vis .draw { animation: vis-draw 1.2s var(--ease) forwards; }

.vis .float-a, .vis .float-b, .vis .float-c {
  transition: transform 0.6s var(--ease), opacity 0.5s var(--ease);
}
.svc-card:hover .vis .float-a { transform: translate(0, -7px); }
.svc-card:hover .vis .float-b { transform: translate(0, 7px); }
.svc-card:hover .vis .float-c { transform: translate(6px, -4px); }

.vis .pulse { transition: transform 0.5s var(--ease); transform-origin: center; transform-box: fill-box; }
.svc-card:hover .vis .pulse { animation: vis-pulse 1.5s ease-in-out infinite; }
@keyframes vis-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}

/* Bars grow from the baseline, staggered */
.vis .rise {
  transform-origin: bottom;
  transform-box: fill-box;
  transform: scaleY(0.55);
  transition: transform 0.65s var(--ease);
}
.svc-card:hover .vis .rise { transform: scaleY(1); }
.svc-card:hover .vis .rise-1 { transition-delay: 0.06s; }
.svc-card:hover .vis .rise-2 { transition-delay: 0.12s; }
.svc-card:hover .vis .rise-3 { transition-delay: 0.18s; }
.svc-card:hover .vis .rise-4 { transition-delay: 0.24s; }

/* Tenant layers separate on hover */
.vis .layer-0, .vis .layer-1, .vis .layer-2 { transition: transform 0.6s var(--ease); }
.svc-card:hover .vis .layer-1 { transform: translateY(-6px); }
.svc-card:hover .vis .layer-2 { transform: translateY(-13px); }

/* Design cursor drifts to the button it is about to click */
.vis .cursor { transition: transform 0.7s var(--ease); }
.svc-card:hover .vis .cursor { transform: translate(-92px, -14px); }

.vis .spin { transform-origin: 242px 75px; transition: transform 1.1s var(--ease); }
.svc-card:hover .vis .spin { transform: rotate(120deg); }

@media (prefers-reduced-motion: reduce) {
  .vis .dash, .vis .draw, .vis .pulse, .vis .rise, .vis .cursor, .vis .spin,
  .vis .float-a, .vis .float-b, .vis .float-c,
  .vis .layer-1, .vis .layer-2 {
    animation: none !important;
    transform: none !important;
  }
  .vis .rise { transform: scaleY(1) !important; }
}

@media (max-width: 1023px) { .svc-body { padding: 22px 22px 24px; } }

/* ==========================================================================
   41. MEGA MENU — LIVE SERVICE PREVIEW
   Hovering a service swaps the right-hand panel for that service's actual
   sub-services, so the menu answers "what's inside this?" without a click.
   ========================================================================== */
.mega-preview { position: relative; min-height: 330px; }
.mega-pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  display: flex;
  flex-direction: column;
}
.mega-pane.is-shown { opacity: 1; visibility: visible; transform: none; }

.mega-pane-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(160deg, rgba(29, 90, 0, 0.42), var(--surface-2));
}
.mega-pane h4 { font-size: 17px; line-height: 24px; margin: 14px 0 6px; }
.mega-pane > .mega-pane-inner > p {
  font-size: 12.5px;
  line-height: 19px;
  color: var(--text-secondary);
}
.mega-sub-list { margin: 16px 0 18px; }
.mega-sub-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--text-muted);
}
.mega-sub-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.75;
}
.mega-pane .btn { margin-top: auto; width: 100%; }

@media (max-width: 1180px) {
  .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) 260px; gap: 22px; }
}

/* Human sign-off on the services CTA tile */
.svc-signoff {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--stroke-neutral);
}
.svc-signoff .avatar { width: 40px; height: 40px; font-size: 14px; }
.svc-signoff b {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.svc-signoff em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--text-muted);
  margin-top: 3px;
}
.mega-preview { min-height: 382px; }

/* ==========================================================================
   42. BRAND LOCKUP — real logo mark
   ========================================================================== */
.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(169, 224, 0, 0.42));
  transition: filter var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.brand:hover .brand-mark {
  filter: drop-shadow(0 0 18px rgba(169, 224, 0, 0.7));
  transform: translateY(-1px) scale(1.03);
}
/* The E is set in brand green in the logo lockup — mirror that in live text */
.brand-e { color: var(--lime); }
.brand-sub { color: var(--lime); opacity: 0.72; }
.footer-lead .brand-mark, .site-footer .brand-mark { width: 44px; height: 44px; }
