/* Advisor AML — global styles
   Palette derived from logo (royal-blue mark + word mark). */
:root {
  --primary:        #1e54e6;
  --primary-dark:   #1640b8;
  --primary-darker: #0f2a8a;
  --primary-light:  #5b7eed;
  --primary-50:     #eef3ff;
  --primary-100:    #dbe5ff;
  --primary-200:    #b6c8ff;
  --ink:            #0a0f1e;
  --ink-2:          #1e293b;
  --muted:          #64748b;
  --line:           #e2e8f0;
  --bg:             #ffffff;
  --bg-soft:        #f8fafc;
  --bg-deep:        #0a1331;
  --shadow-sm:      0 1px 2px rgba(15,42,138,.05);
  --shadow-md:      0 6px 18px -8px rgba(15,42,138,.18);
  --shadow-lg:      0 24px 60px -20px rgba(15,42,138,.30);
  --radius:         12px;
  --radius-lg:      18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}
h1, h2, h3, h4, h5 {
  font-family: 'Manrope', Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.2;
}
h1 { font-size: clamp(34px, 4.8vw, 54px); font-weight: 900; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p  { margin: 0 0 14px; color: var(--ink-2); }
.lead { font-size: 17px; color: var(--ink-2); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul { padding-left: 18px; }

.cnt { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section.tight { padding: 60px 0; }
.section.dark { background: var(--bg-deep); color: #cbd5e1; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p, .section.dark .lead { color: rgba(255,255,255,.78); }
.section.soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(30,84,230,.55);
  animation: dot-pulse 2.2s ease-out infinite;
}
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(30,84,230,.55); }
  100% { box-shadow: 0 0 0 12px rgba(30,84,230,0); }
}
.section.dark .eyebrow { color: var(--primary-200); }

.section-head { max-width: 780px; margin: 0 auto 50px; text-align: center; }
.section-head h2 em { font-style: italic; font-weight: 900; color: var(--primary); }
.section-head .lead { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(30,84,230,.55);
  color: #fff;
}
.btn.outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn.outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn.ghost-light {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
}
.btn.ghost-light:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.btn.lg { padding: 14px 28px; font-size: 15px; }

/* =========================
   Top nav
   ========================= */
.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease;
}
.top-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 63px; width: auto; display: block; }
.top-nav { margin-left: auto; display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; align-items: center; }
.top-nav > a, .top-nav .nav-item > a {
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  display: inline-flex; align-items: center; gap: 4px;
}
.top-nav > a:hover, .top-nav > a.active,
.top-nav .nav-item > a:hover, .top-nav .nav-item > a.active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}
.nav-caret {
  font-size: 10px;
  transition: transform .25s ease;
  color: var(--muted);
}
.nav-item { position: relative; }
.nav-item:hover .nav-caret { transform: rotate(180deg); color: var(--primary); }

/* Dropdown sub-menu — strong contrast, icon + label + caption layout */
.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 30px 60px -16px rgba(15,42,138,.30), 0 10px 20px -8px rgba(0,0,0,.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  z-index: 110;
  min-width: 280px;
  display: grid;
  gap: 4px;
}
.submenu.submenu-narrow { min-width: 280px; }
.submenu:not(.submenu-narrow) {
  grid-template-columns: 1fr 1fr;
  min-width: 600px;
  gap: 18px;
}
.submenu-col {
  display: flex; flex-direction: column;
  gap: 2px;
}
.submenu-head {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-dark);
  padding: 4px 12px 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.submenu a {
  display: grid !important;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink) !important;
  background: transparent;
  border: none !important;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.submenu a > i:first-child {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary-dark) !important;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background .2s ease, color .2s ease;
}
.submenu a .sm-body {
  display: flex; flex-direction: column;
  line-height: 1.2;
}
.submenu a .sm-body b {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--ink);
}
.submenu a .sm-body em {
  font-style: normal;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.submenu a:hover {
  background: var(--primary-50);
  transform: translateX(2px);
}
.submenu a:hover > i:first-child {
  background: var(--primary);
  color: #fff !important;
}
.submenu a:hover .sm-body b { color: var(--primary-dark); }
.submenu a:hover .sm-body em { color: var(--primary); }
/* show on hover with proper transitions */
.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear 0s;
}
/* keep dropdown anchored on the right edge for the last menu items */
.nav-item:nth-last-of-type(1) .submenu,
.nav-item:nth-last-of-type(2) .submenu { left: auto; right: 0; }

/* On floating-over-hero state, recolour the dropdown caret & menu link colour */
body:has(.hero) .top:not(.scrolled) .top-nav .nav-item > a { color: rgba(255,255,255,.88); }
body:has(.hero) .top:not(.scrolled) .top-nav .nav-item > a:hover { color: #fff; }
body:has(.hero) .top:not(.scrolled) .nav-caret { color: rgba(255,255,255,.6); }
.top-cta { margin-left: 6px; }
@media (max-width: 920px) {
  .top-nav { display: none; }
}

/* =========================
   Hero with video background
   ========================= */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: -92px;                 /* fully tuck under the (now taller) sticky nav */
  padding: 0;
  background: var(--bg-deep);
  color: #fff;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;            /* H1 sits at the bottom */
}
.hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(1.18) saturate(1.05) contrast(1.02);   /* brighter */
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,19,49,.10) 0%, rgba(10,19,49,.45) 100%);
}
.hero .cnt { position: relative; z-index: 3; width: 100%; }
.hero-cnt { padding-bottom: 56px; padding-top: 0; }
.hero h1 {
  color: #000;
  font-size: clamp(33px, 3.9vw, 45px);
  max-width: 760px;
  margin: 0;
  font-weight: 900;
  line-height: 1.15;
  text-shadow: none;
  background: #fff;
  padding: 18px 26px;
  border-radius: 14px;
  display: inline-block;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.45);
}
.hero h1 em { font-style: normal; color: #000; font-weight: 900; }
@media (max-width: 540px) {
  .hero { min-height: 70vh; }
  .hero-cnt { padding-bottom: 28px; }
}

/* Float the nav transparent over the hero on pages that have one */
body:has(.hero) .top:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body:has(.hero) .top:not(.scrolled) .top-nav a { color: rgba(255,255,255,.88); }
body:has(.hero) .top:not(.scrolled) .top-nav a:hover,
body:has(.hero) .top:not(.scrolled) .top-nav a.active {
  color: #fff; border-bottom-color: #88a4ff;
}
body:has(.hero) .top:not(.scrolled) .top-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 1.5px solid #fff;
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.55);
}
body:has(.hero) .top:not(.scrolled) .top-cta:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
  border-color: #fff;
}

/* Page hero (non-video pages) */
.page-hero {
  background: linear-gradient(135deg, var(--bg-deep) 0%, #14215a 100%);
  color: #fff;
  padding: 150px 0 70px;
  margin-top: -92px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,126,237,.28) 0%, transparent 70%);
}
.page-hero .cnt { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero .lead { color: rgba(255,255,255,.78); max-width: 720px; font-size: 17.5px; }

/* =========================
   Cards, lists, etc.
   ========================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}
.feature:hover::before { transform: scaleX(1); }
.feature .fi {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  color: var(--primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature h3 { margin: 0 0 10px; }
.feature p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* Numbered objective cards */
.obj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 820px) { .obj-grid { grid-template-columns: 1fr; } }
.obj {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex; gap: 18px;
  transition: background .25s ease, border-color .25s ease;
}
.obj:hover {
  background: rgba(91,126,237,.08);
  border-color: rgba(91,126,237,.35);
}
.obj .n {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 8px 18px -8px rgba(30,84,230,.5);
}
.obj p { margin: 0; color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.55; }

/* Service detail row */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 70px;
}
.svc-row:nth-child(even) > div:first-child { order: 2; }
@media (max-width: 920px) {
  .svc-row { grid-template-columns: 1fr; gap: 24px; }
  .svc-row:nth-child(even) > div:first-child { order: 0; }
}
.svc-visual {
  background: linear-gradient(135deg, var(--primary-50), #ffffff);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 240px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 96px;
  box-shadow: var(--shadow-md);
}
.svc-body h3 { font-size: 26px; margin-bottom: 14px; }
.svc-body .badge {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'Share Tech Mono', monospace;
}
.svc-body p { color: var(--ink-2); }

/* Approach steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step .step-n {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .14em;
  margin-bottom: 14px;
}
.step h4 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: 0 30px 60px -20px rgba(15,42,138,.45);
}
@media (max-width: 820px) { .cta-strip { grid-template-columns: 1fr; padding: 36px 28px; } }
.cta-strip h2 { color: #fff; margin: 0 0 10px; }
.cta-strip p { color: rgba(255,255,255,.85); margin: 0; max-width: 540px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info h3 { margin-bottom: 14px; }
.contact-info ul { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-info ul li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.contact-info ul li:first-child { border-top: 0; padding-top: 0; }
.contact-info ul li i {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; flex: 0 0 auto;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 540px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30,84,230,.12);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

/* ============================================================
   ABOUT page — merged comprehensive design
   ============================================================ */

/* Quick stat strip inside the page hero */
.about-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
  max-width: 760px;
}
@media (max-width: 720px) { .about-quick-stats { grid-template-columns: repeat(2, 1fr); } }
.about-quick-stats > div {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; flex-direction: column;
  text-align: left;
  backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, transform .2s;
}
.about-quick-stats > div:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(91,126,237,.55);
  transform: translateY(-2px);
}
.about-quick-stats > div span {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.about-quick-stats > div span sup {
  font-size: 13px;
  color: #88a4ff;
  vertical-align: super;
}
.about-quick-stats > div i {
  font-style: normal;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}
.about-quick-stats .ab-q-maroon { border-color: rgba(239,68,68,.45); background: rgba(127,29,29,.18); }
.about-quick-stats .ab-q-maroon span { color: #fecaca; animation: ab-maroon-blink 1.6s ease-in-out infinite; }
.about-quick-stats .ab-q-maroon span sup { color: #ef4444; }
@keyframes ab-maroon-blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* Sticky jump-nav under the hero */
.about-jump {
  position: sticky; top: 80px;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.about-jump .cnt {
  display: flex; flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: center;
}
.about-jump a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.about-jump a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ===== Our story — editorial 2-column layout ===== */
.story-shell {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 920px) { .story-shell { grid-template-columns: 1fr; gap: 32px; } }

/* Left rail */
.story-aside { position: relative; }
.story-aside .eyebrow { margin-bottom: 18px; }
.story-aside .story-h {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -.015em;
  color: var(--ink);
}
.story-aside .story-h em { color: var(--primary); font-style: italic; }
.story-aside .story-lead {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 26px;
  line-height: 1.65;
}

/* Founder-style quote */
.story-quote {
  position: relative;
  margin: 0 0 26px;
  padding: 22px 24px 22px 50px;
  background: linear-gradient(135deg, #ffffff, var(--bg-soft));
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.story-quote i {
  position: absolute;
  top: 18px; left: 18px;
  color: var(--primary);
  font-size: 18px;
  opacity: .65;
}
.story-quote p {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 10px;
  font-style: italic;
}
.story-quote cite {
  display: block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}
.story-quote cite strong { color: var(--primary-dark); }

/* Mini stat strip under the quote */
.story-mini-stats {
  display: flex; flex-wrap: wrap;
  gap: 10px;
}
.story-mini-stats span {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--primary-100);
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
}
.story-mini-stats span b {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: var(--primary-dark);
  letter-spacing: -.01em;
}

/* Right rail — chapter pillars stacked vertically with a connecting spine */
.story-chapters {
  position: relative;
  display: flex; flex-direction: column;
  gap: 22px;
  padding-left: 28px;            /* room for the spine + markers */
}
.story-chapters::before {
  /* vertical spine connecting all chapters */
  content: '';
  position: absolute;
  top: 8px; bottom: 8px;
  left: 32px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-100), var(--primary), var(--primary-100));
  border-radius: 2px;
}
.story-chapter {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 22px;
  align-items: start;
}
.sch-marker {
  position: relative;
  z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 0 0 6px #ffffff, 0 6px 14px -4px rgba(30,84,230,.45);
  transition: transform .25s ease, background .25s ease;
}
.story-chapter:hover .sch-marker { transform: scale(1.08); background: var(--primary-dark); }
/* The soft-section background shows through the ring; ensure the ring matches */
.section.soft .sch-marker { box-shadow: 0 0 0 6px var(--bg-soft), 0 6px 14px -4px rgba(30,84,230,.45); }
.sch-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.sch-body::before {
  /* small triangle pointing back to the spine */
  content: '';
  position: absolute;
  top: 16px; left: -7px;
  width: 14px; height: 14px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
  transition: border-color .25s ease;
}
.story-chapter:hover .sch-body {
  transform: translateX(4px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-md);
}
.story-chapter:hover .sch-body::before { border-color: var(--primary-100); }
.sch-body i {
  display: inline-flex;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary-dark);
  align-items: center; justify-content: center;
  font-size: 14px;
  margin-bottom: 10px;
}
.sch-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  color: var(--ink);
}
.sch-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

@media (max-width: 540px) {
  .story-chapters { padding-left: 0; }
  .story-chapters::before { display: none; }
  .story-chapter { grid-template-columns: 1fr; gap: 8px; }
  .sch-marker { width: 30px; height: 30px; font-size: 12px; box-shadow: 0 4px 10px -2px rgba(30,84,230,.4); }
  .sch-body::before { display: none; }
}

/* Scroll-margin so jump links don't land beneath the sticky nav strip */
#story, #leadership, #what-sets-us-apart, #how, #mission, #objectives {
  scroll-margin-top: 130px;
}

/* ============================================================
   INDEX — Leadership block (CEO + Partner)
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;                       /* wider gap between columns */
  margin-top: 20px;
}
@media (max-width: 880px) { .team-grid { grid-template-columns: 1fr; gap: 28px; } }

.team-card {
  display: grid;
  grid-template-columns: 150px 1fr; /* photo column smaller */
  gap: 22px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
@media (max-width: 520px) {
  .team-card { grid-template-columns: 1fr; padding: 22px; gap: 16px; }
  .team-card .team-photo-wrap { margin: 0 auto; }
}
.team-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  border-top-left-radius: 22px; border-bottom-left-radius: 22px;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -18px rgba(15,42,138,.30), var(--shadow-md);
  border-color: var(--primary-100);
}

.team-photo-wrap {
  width: 130px; height: 130px;
  position: relative;
  border-radius: 50%;
}
.team-photo {
  width: 130px; height: 130px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--primary-50);
  border: 3px solid #fff;
  box-shadow: 0 12px 26px -10px rgba(15,42,138,.40);
  position: relative; z-index: 1;
}
.team-photo-ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px dashed var(--primary-200);
  animation: team-ring-spin 22s linear infinite;
  pointer-events: none;
}
.team-photo-wrap::before {
  /* breathing brand glow behind the portrait */
  content: '';
  position: absolute; inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,84,230,.18) 0%, rgba(30,84,230,0) 70%);
  animation: team-glow 4s ease-in-out infinite;
}
@keyframes team-ring-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes team-glow {
  0%, 100% { transform: scale(.94); opacity: .55; }
  50%      { transform: scale(1.06); opacity: .9; }
}

.team-body { padding-top: 4px; }
.team-role {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-50);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.team-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -.015em;
  margin: 0 0 12px;
  color: var(--ink);
}
.team-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 10px;
}
.team-body p:last-of-type { margin-bottom: 16px; }
.team-tags {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.team-tags li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--primary-100);
  transition: background .2s, color .2s, border-color .2s;
}
.team-tags li:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.team-tags li i { color: var(--primary); transition: color .2s; }
.team-tags li:hover i { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .team-photo-ring, .team-photo-wrap::before { animation: none; }
}

/* ============================================================
   INDEX — "Four core services" split-card grid
   ============================================================ */
.core-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 16px;
}
@media (max-width: 820px) { .core-grid { grid-template-columns: 1fr; } }

.core-card {
  --ca: var(--primary);
  --cb: var(--primary-dark);
  display: grid;
  grid-template-columns: 180px 1fr;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease, border-color .25s ease;
  position: relative;
}
.core-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--ca), var(--cb));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
  z-index: 2;
}
.core-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -16px rgba(15,42,138,.30), var(--shadow-md);
  border-color: var(--ca);
  color: inherit;
}
.core-card:hover::before { transform: scaleX(1); }

/* Left "illustration well" - colored panel hosting the animated SVG */
.core-illust {
  background: linear-gradient(135deg, var(--ca), var(--cb));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 22px;
}
.core-illust::before {
  /* radial gloss highlight */
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 30% 0%, rgba(255,255,255,.22), transparent 70%);
  pointer-events: none;
}
.core-illust::after {
  /* travelling sheen */
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.30) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: core-sheen 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes core-sheen {
  0%        { left: -120%; }
  35%, 100% { left: 130%; }
}
.core-illust svg {
  width: 100%; height: auto;
  max-width: 130px;
  position: relative; z-index: 1;
}
.core-card:hover .core-illust svg { transform: scale(1.06); transition: transform .4s ease; }

.core-body { padding: 24px 26px 22px; display: flex; flex-direction: column; }
.core-num {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; color: var(--ca);
  background: color-mix(in srgb, var(--ca) 10%, transparent);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
}
.core-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 19px; font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
}
.core-body p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.core-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 800;
  color: var(--ca);
  margin-top: auto;
  transition: gap .25s ease;
}
.core-card:hover .core-link { gap: 10px; }

@media (max-width: 540px) {
  .core-card { grid-template-columns: 110px 1fr; }
  .core-body { padding: 20px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .core-illust::after, .core-card:hover .core-illust svg { animation: none; transform: none; }
}

/* ============================================================
   INDEX PAGE — colored regulator strip, UAE regs, roadmap, stats
   ============================================================ */

/* "Aligned with" regulator strip — solid brand-tile style */
.reg-color-strip {
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 50%, #fdf9f2 100%);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 42px 0 44px;
  position: relative;
  overflow: hidden;
}
.reg-color-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(45% 65% at 12% 0%, rgba(30,84,230,.06), transparent 60%),
    radial-gradient(45% 65% at 88% 100%, rgba(212,160,74,.07), transparent 60%);
  pointer-events: none;
}
/* faint scan line that sweeps horizontally across the strip */
.reg-scanline {
  position: absolute;
  top: 0; left: 0;
  width: 25%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(30,84,230,.10) 50%, transparent 100%);
  filter: blur(14px);
  animation: reg-scan-sweep 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes reg-scan-sweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(420%); }
}

.reg-color-strip > .cnt { position: relative; z-index: 2; }
.reg-color-head {
  display: flex; align-items: baseline; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.reg-color-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary-dark);
}
.reg-color-label i { color: var(--primary); }
.reg-pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.55);
  animation: reg-dot-pulse 2s ease-out infinite;
}
@keyframes reg-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  100% { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
}
.reg-color-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px; font-weight: 600;
  color: var(--muted);
}
/* Marquee — single horizontal scrolling line */
.reg-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 0;
  /* fade out the chips as they enter/leave the edges */
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.reg-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: reg-marquee-scroll 35s linear infinite;
}
.reg-marquee:hover .reg-track { animation-play-state: paused; }
@keyframes reg-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }   /* track is duplicated, so -50% loops seamlessly */
}

/* Compact solid-colour chip */
.reg-chip {
  --bc: #5b7eed;
  --bc-dark: #1640b8;
  flex: 0 0 auto;
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bc), var(--bc-dark));
  color: #fff;
  overflow: hidden;
  cursor: default;
  box-shadow: 0 4px 10px -4px rgba(15,42,138,.35), inset 0 -1px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.reg-chip::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.18), transparent);
  pointer-events: none;
}
.reg-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px -6px rgba(15,42,138,.55), inset 0 -1px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.25);
}
.reg-chip b {
  position: relative; z-index: 1;
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing: -.01em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.reg-chip i {
  position: relative; z-index: 1;
  display: inline-block;
  font-style: normal;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-top: 0;
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,.30);
}

/* Per-regulator brand-colour pairs (light → dark gradient) */
.rc-cbuae    { --bc: #16a34a; --bc-dark: #15803d; }   /* UAE green */
.rc-dfsa     { --bc: #5b7eed; --bc-dark: #1640b8; }   /* DIFC blue */
.rc-difc     { --bc: #475569; --bc-dark: #1e293b; }   /* DIFC graphite */
.rc-adgm     { --bc: #1f6b3a; --bc-dark: #0e3a1d; }   /* ADGM forest green */
.rc-fsra     { --bc: #3b8d5d; --bc-dark: #1f6b3a; }   /* ADGM lighter green */
.rc-sca      { --bc: #d4a04a; --bc-dark: #a37424; }   /* SCA gold */
.rc-moe      { --bc: #e54a64; --bc-dark: #b41a36; }   /* UAE red */
.rc-eocn     { --bc: #4682c3; --bc-dark: #1f5a98; }   /* deep blue */
.rc-goaml    { --bc: #5b92e5; --bc-dark: #1761c9; }   /* UN light blue */
.rc-fatf     { --bc: #5e8edf; --bc-dark: #1e54a8; }   /* FATF navy */
.rc-menafatf { --bc: #2eb070; --bc-dark: #117a4a; }   /* MENAFATF green */

@media (prefers-reduced-motion: reduce) {
  .reg-track, .reg-scanline, .reg-pulse-dot { animation: none; }
}

/* UAE Regulations grid */
.uae-regs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}
@media (max-width: 1020px) { .uae-regs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .uae-regs-grid { grid-template-columns: 1fr; } }
.uae-reg {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px 20px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.uae-reg:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}
.uae-reg-ribbon {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-50);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.uae-reg-code {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.2;
}
.uae-reg-year {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 12px;
}
.uae-reg p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* Roadmap pipeline */
.roadmap-head {
  text-align: center;
  margin: 30px 0 26px;
}
.roadmap-head h3 {
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 800;
  margin: 0;
}
.roadmap-pipeline {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  position: relative;
  padding: 22px 0 10px;
}
@media (max-width: 1100px) { .roadmap-pipeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px)  { .roadmap-pipeline { grid-template-columns: repeat(2, 1fr); } }
.roadmap-pipeline::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(30,84,230,0) 0%, rgba(30,84,230,.35) 8%, rgba(30,84,230,.35) 92%, rgba(30,84,230,0) 100%);
  transform: translateY(-50%);
  z-index: 0;
}
@media (max-width: 1100px) { .roadmap-pipeline::before { display: none; } }
.rmp-step {
  background: #fff;
  border: 1.5px solid var(--primary-100);
  border-radius: 14px;
  padding: 14px 10px 12px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
  animation: rmp-glow 8s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.rmp-step:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.rmp-step .rmp-n {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: .08em;
}
.rmp-step .rmp-icon {
  width: 44px; height: 44px;
  margin: 8px auto 8px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  color: var(--primary-dark);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.rmp-step h5 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  margin: 0 0 4px;
  color: var(--ink);
  line-height: 1.2;
}
.rmp-step p {
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
}
.rmp-step-out {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 28px -10px rgba(30,84,230,.55);
}
.rmp-step-out h5 { color: #fff; }
.rmp-step-out p { color: rgba(255,255,255,.85); }
.rmp-step-out .rmp-icon { background: rgba(255,255,255,.18); color: #fff; }
.rmp-step-out .rmp-n { background: #fff; color: var(--primary-dark); }
@keyframes rmp-glow {
  0%, 80%, 100% { box-shadow: var(--shadow-sm); }
  10%, 22%      { box-shadow: 0 0 0 6px rgba(30,84,230,.15), var(--shadow-md); border-color: var(--primary); }
}
@media (prefers-reduced-motion: reduce) {
  .rmp-step { animation: none; }
}

/* ===== Second pipeline: 3-row flow with animated down arrows ===== */
.flow-grid {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.flow-row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
/* Step pill */
.flow-step {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid var(--primary-100);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  min-width: 150px;
  justify-content: center;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  animation: flow-glow 7.2s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}
.flow-step i {
  color: var(--primary);
  font-size: 16px;
  transition: color .25s ease;
}
.flow-step b { color: var(--ink); }
.flow-step:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.flow-step-out {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(30,84,230,.55);
}
.flow-step-out b { color: #fff; }
.flow-step-out i { color: #fff; }

/* Horizontal connector arrows */
.flow-arr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  color: rgba(30,84,230,.25);
  font-size: 18px;
  animation: flow-arr-pulse 7.2s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}

/* Reverse row visual: same horizontal arrows but flipped right-to-left visually */
.flow-row-rev { flex-direction: row-reverse; }
.flow-row-rev .flow-arr { transform: rotate(180deg); }

/* Down arrow between rows */
.flow-down {
  display: flex; justify-content: center;
  margin: -4px 0;
}
.flow-down-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 18px;
  position: relative;
  animation: flow-down-pulse 7.2s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}
.flow-down-icon::before {
  /* travelling glow ring */
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: flow-down-ring 7.2s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}

/* Keyframes — each element lights up briefly when the flow reaches it */
@keyframes flow-glow {
  0%, 92%, 100% {
    border-color: var(--primary-100);
    box-shadow: none;
    transform: translateY(0);
  }
  3%, 10% {
    border-color: var(--primary);
    box-shadow: 0 0 0 6px rgba(30,84,230,.18);
    transform: translateY(-2px);
  }
}
@keyframes flow-arr-pulse {
  0%, 90%, 100% {
    color: rgba(30,84,230,.25);
    transform: scale(1);
  }
  4%, 9% {
    color: var(--primary);
    transform: scale(1.25);
  }
}
/* keep reverse-row arrows rotated even during the pulse */
.flow-row-rev .flow-arr { animation-name: flow-arr-pulse-rev; }
@keyframes flow-arr-pulse-rev {
  0%, 90%, 100% {
    color: rgba(30,84,230,.25);
    transform: rotate(180deg) scale(1);
  }
  4%, 9% {
    color: var(--primary);
    transform: rotate(180deg) scale(1.25);
  }
}
@keyframes flow-down-pulse {
  0%, 88%, 100% {
    background: var(--primary-50);
    color: var(--primary);
    transform: translateY(0);
  }
  4%, 14% {
    background: var(--primary);
    color: #fff;
    transform: translateY(3px);
  }
}
@keyframes flow-down-ring {
  0%, 88%, 100% { opacity: 0; transform: scale(1); }
  4%           { opacity: .8; transform: scale(1); }
  14%          { opacity: 0;  transform: scale(1.7); }
}
@media (prefers-reduced-motion: reduce) {
  .flow-step, .flow-arr, .flow-down-icon, .flow-down-icon::before { animation: none; }
}
@media (max-width: 540px) {
  .flow-step { min-width: 100px; padding: 10px 14px; font-size: 13px; }
  .flow-arr { width: 28px; height: 28px; font-size: 14px; }
}

/* Success story stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
@media (max-width: 820px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.02em;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.stat-num sup {
  font-size: 22px;
  color: var(--primary-light);
  vertical-align: super;
}
.stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
  margin: 8px 0 12px;
}
.stat-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Maroon variant — FIU Audit Appearances card, blinking */
.stat-card-maroon {
  background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
  border-color: #7f1d1d;
  position: relative;
}
.stat-card-maroon::before {
  background: linear-gradient(90deg, #7f1d1d, #b91c1c, #7f1d1d);
  animation: maroon-bar-blink 1.6s ease-in-out infinite;
}
.stat-card-maroon .stat-num {
  color: #7f1d1d;
  animation: maroon-blink 1.6s ease-in-out infinite;
}
.stat-card-maroon .stat-num sup { color: #b91c1c; }
.stat-card-maroon .stat-label { color: #7f1d1d; }
.stat-card-maroon p { color: #6b1414; }
.stat-card-maroon .stat-live {
  position: absolute;
  top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fee2e2;
  color: #7f1d1d;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.stat-card-maroon .stat-live .ld {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7f1d1d;
  animation: maroon-blink 1.4s ease-in-out infinite;
}
@keyframes maroon-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .4; }
}
@keyframes maroon-bar-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* ===== Hero FIU bar chart — bottom-right, ~50% of previous size, title on top ===== */
.fiu-bars {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 3;
  width: 100%;
  max-width: 220px;
  background: linear-gradient(180deg, rgba(10,19,49,.82), rgba(15,29,54,.88));
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  padding: 10px 12px 8px;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,.55);
}

/* Big prominent title — top of the panel */
.fiu-bars-title {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fiu-bars-title h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -.01em;
  line-height: 1.1;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
}
.fiu-bars-title .fbt-live {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #7f1d1d;
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 7.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  flex: 0 0 auto;
}
.fiu-bars-title .fbt-live .ld {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #fff;
  animation: fbt-blink 1.1s ease-in-out infinite;
}
@keyframes fbt-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .25; }
}

.fiu-bars-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.fiu-bars-total .fbt-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
  text-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.fiu-bars-total .fbt-num sup {
  font-size: 10px;
  color: #fca5a5;
  vertical-align: super;
}
.fiu-bars-sub {
  display: inline-flex; align-items: baseline; gap: 4px;
  text-align: right;
}
.fiu-bars-sub .fbs-year {
  font-family: 'Manrope', sans-serif;
  font-weight: 900; font-size: 10px;
  color: #88a4ff;
}
.fiu-bars-sub .fbs-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 7px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* Quarterly stacked horizontal-bar chart — very compact */
.fiu-chart-h {
  display: flex; flex-direction: column;
  gap: 5px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.fbq-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 6px;
  --c: #5b7eed;
}
.fbq-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 9.5px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.fbq-sub { display: none; }
.fbq-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  overflow: visible;
}
.fbq-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: var(--w, 50%);
  border-radius: 999px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--c) 65%, white) 0%,
    var(--c) 50%,
    color-mix(in srgb, var(--c) 70%, black) 100%);
  box-shadow:
    0 4px 14px -4px color-mix(in srgb, var(--c) 80%, transparent),
    inset 0 1px 0 rgba(255,255,255,.30);
  transform-origin: left center;
  transform: scaleX(0);
  animation: fbq-grow 5s cubic-bezier(.65,.02,.25,1) infinite;
  animation-delay: var(--d, 0s);
}
.fbq-bar::after {
  /* travelling shine on top of each bar */
  content: '';
  position: absolute;
  top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.30) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: fbq-shine 5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.fbq-val {
  position: absolute;
  top: 50%;
  left: calc(var(--w, 50%) + 4px);
  transform: translateY(-50%);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 9px;
  color: #fff;
  opacity: 0;
  animation: fbq-val-show 5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.fbq-row:hover .fbq-bar { filter: brightness(1.15); }
@keyframes fbq-grow {
  0%   { transform: scaleX(0); }
  30%, 80% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}
@keyframes fbq-shine {
  0%        { left: -40%; }
  25%, 100% { left: 105%; }
}
@keyframes fbq-val-show {
  0%, 18%, 90%, 100% { opacity: 0; transform: translateY(-50%) translateX(-4px); }
  35%, 78%           { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@media (max-width: 720px) {
  .fiu-bars {
    right: 12px; bottom: 14px;
    max-width: 70vw;
    padding: 10px 12px 8px;
  }
  .fiu-bars-head { flex-wrap: wrap; gap: 6px; }
  .fiu-bars-total .fbt-num { font-size: 18px; }
  .fiu-bars-sub { text-align: left; }
  .fbq-track { height: 10px; }
}
@media (max-width: 540px) {
  .fiu-bars { position: static; max-width: 100%; margin: 18px auto 0; right: auto; bottom: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .fbq-bar, .fbq-bar::after, .fbq-val { animation: none; transform: scaleX(1); opacity: 1; }
  .fbq-val { transform: translateY(-50%); }
  .fiu-bars-total .fbt-live .ld,
  .stat-card-maroon .stat-num, .stat-card-maroon::before, .stat-card-maroon .stat-live .ld { animation: none; }
}

/* Success service tags */
.success-tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.success-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--primary-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  transition: transform .2s, border-color .2s, color .2s;
}
.success-tag:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--primary-dark); }
.success-tag i { color: var(--primary); font-size: 13px; }

/* ============================================================
   SERVICES PAGE — animated illustrations + service grid
   ============================================================ */

/* Services catalogue — compact 6-per-row clickable list (12 items in 2 rows) */
.svc-cat {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 36px;
}
@media (max-width: 1100px) { .svc-cat { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px)  { .svc-cat { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .svc-cat { grid-template-columns: repeat(2, 1fr); } }

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 12px 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  background: var(--primary-50);
  box-shadow: 0 14px 28px -10px rgba(30,84,230,.30);
  color: inherit;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card .svc-mini {
  width: 56px; height: 56px;
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: 14px;
  transition: transform .25s ease;
}
.svc-card:hover .svc-mini { transform: scale(1.08); }
.svc-card .svc-mini svg { width: 36px; height: 36px; }
.svc-card .pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-50);
  margin-bottom: 6px;
}
.svc-card h4 {
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
  min-height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.svc-card p { display: none; }   /* compact list — descriptions hidden */

/* Replace original .svc-visual with a richer animated SVG container */
.svc-visual {
  background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 60%);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
  font-size: initial;
  color: initial;
}
.svc-visual svg { width: 100%; height: auto; max-width: 360px; display: block; }

/* ===== Specialised offerings — bento-grid (services.html) ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
  margin-top: 28px;
}
@media (max-width: 920px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento-grid { grid-template-columns: 1fr; } }

.bento-card {
  --bc: #1e54e6;
  --bd: #1640b8;
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease, border-color .3s ease;
  scroll-margin-top: 100px;
  padding: 22px 22px 20px;
}
.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--bc);
  box-shadow: 0 22px 40px -14px color-mix(in srgb, var(--bc) 35%, transparent), var(--shadow-md);
}
.bento-card:target {
  border-color: var(--bc);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bc) 18%, transparent), var(--shadow-md);
}
.bento-card::before {
  /* coloured corner accent that grows on hover */
  content: '';
  position: absolute; top: 0; left: 0;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--bc), var(--bd));
  border-radius: 18px 0 64px 0;
  opacity: .85;
  z-index: 0;
  transition: width .35s ease, height .35s ease, opacity .25s ease;
}
.bento-card:hover::before { width: 92px; height: 92px; opacity: 1; }
.bento-card .bento-num {
  position: absolute; top: 8px; left: 14px;
  z-index: 2;
  font-family: 'Share Tech Mono', monospace;
  font-weight: 700; font-size: 11px;
  letter-spacing: .14em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.bento-card .bento-mini {
  position: relative;
  z-index: 1;
  width: 48px; height: 48px;
  margin: 8px 0 18px auto;     /* push icon to top-right so it doesn't clash with the corner accent */
  background: transparent;
}
.bento-card .bento-mini svg { width: 48px; height: 48px; }
.bento-card h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800; font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.25;
}
.bento-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ----- Featured (spans 2 columns) ----- */
.bento-card.bento-featured {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
}
@media (max-width: 920px) {
  .bento-card.bento-featured { grid-column: span 2; flex-direction: column; padding: 0; }
}
@media (max-width: 560px) {
  .bento-card.bento-featured { grid-column: span 1; }
}
.bento-card.bento-featured::before { display: none; }
.bento-card.bento-featured .bento-num { display: none; }
.bento-card.bento-featured .bento-illust {
  position: relative;
  flex: 0 0 240px;
  background: linear-gradient(135deg, var(--bc), var(--bd));
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  overflow: hidden;
}
@media (max-width: 920px) {
  .bento-card.bento-featured .bento-illust { flex: 0 0 200px; padding: 22px; }
}
.bento-card.bento-featured .bento-illust::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 25% 0%, rgba(255,255,255,.22), transparent 70%);
  pointer-events: none;
}
.bento-card.bento-featured .bento-illust::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.25) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: core-sheen 4s ease-in-out infinite;
}
.bento-card.bento-featured .bento-illust svg {
  width: 100%; max-width: 160px; height: auto;
  position: relative; z-index: 1;
}
.bento-card.bento-featured .bento-tag {
  position: absolute; top: 16px; left: 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,.30);
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}
.bento-card.bento-featured .bento-body {
  padding: 26px 28px 24px;
  display: flex; flex-direction: column;
}
.bento-card.bento-featured h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.2;
}
.bento-card.bento-featured p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.bento-card.bento-featured ul {
  list-style: none;
  padding: 0; margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.bento-card.bento-featured ul li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
}
.bento-card.bento-featured ul li i {
  color: var(--bc);
  background: color-mix(in srgb, var(--bc) 12%, transparent);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px;
  flex: 0 0 auto;
}
.bento-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 800;
  color: var(--bc);
  margin-top: auto;
  transition: gap .25s ease;
}
.bento-cta:hover { gap: 12px; color: var(--bd); }

/* Regulators strip */
.reg-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.reg-strip .reg-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; flex-wrap: wrap;
  justify-content: center;
  gap: 14px 26px;
}
.reg-strip .reg-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.reg-strip .reg-pill {
  display: inline-flex; align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: 'Manrope', sans-serif;
  font-size: 12.5px; font-weight: 700;
  color: var(--ink-2);
  transition: transform .2s, border-color .2s, color .2s;
}
.reg-strip .reg-pill:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Animation helpers used by the SVG illustrations */
@keyframes svc-tick { 0%, 100% { stroke-dashoffset: 30; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes svc-fill-arc { 0% { stroke-dashoffset: 360; } 60%, 100% { stroke-dashoffset: 90; } }
@keyframes svc-scan {
  0%   { transform: translateY(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(70px); opacity: 0; }
}
@keyframes svc-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.1); opacity: .7; }
}
@keyframes svc-bar-rise {
  0%, 100% { transform: scaleY(.2); }
  50%      { transform: scaleY(1); }
}
@keyframes svc-ring-ripple {
  0%   { r: 8;  opacity: .55; }
  100% { r: 36; opacity: 0; }
}
@keyframes svc-dot-flow {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes svc-row-fade {
  0%, 100% { opacity: 0; }
  20%, 80% { opacity: 1; }
}
@keyframes svc-stamp {
  0%, 60%  { transform: scale(0); opacity: 0; }
  70%      { transform: scale(1.2); opacity: 1; }
  85%, 100%{ transform: scale(1); opacity: 1; }
}
@keyframes svc-bell {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(4deg); }
}
@keyframes svc-shake-x {
  0%,100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}
@keyframes svc-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes svc-grow-line { 0% { stroke-dashoffset: 100; } 60%, 100% { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .svc-card::before, .svc-visual svg * { animation: none !important; transition: none !important; }
}

/* Contact-page map panels */
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 10px;
}
@media (max-width: 820px) { .map-grid { grid-template-columns: 1fr; } }
.map-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.map-panel-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-50);
  border-bottom: 1px solid var(--primary-100);
}
.map-panel iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
.map-panel-caption {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--ink-2);
  border-top: 1px dashed var(--line);
}
.map-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 26px;
}

/* Certified strip — white panel sitting just above the footer */
.cert-strip {
  background: #ffffff;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cert-strip .cert-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: center;
}
.cert-strip .lx-cert-row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 22px; justify-content: center;
}
.cert-strip .lx-cert-label {
  color: #475569;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-right: 4px;
}
.cert-strip .lx-cert {
  display: inline-block; vertical-align: middle;
  background: transparent;
  transition: transform .25s ease;
}
.cert-strip .lx-cert:hover { transform: translateY(-2px); }

/* =========================
   Footer
   ========================= */
.foot {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0a1a3f 100%);
  color: #cbd5e1;
  padding: 60px 0 26px;
  margin-top: 0;
}
.foot-grid {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img { height: 81px; width: auto; margin-bottom: 14px; display: block; filter: brightness(1.2); }
.foot-brand p { color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.foot-col h6 {
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 14px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col ul li { padding: 5px 0; }
.foot-col ul li a { color: rgba(255,255,255,.72); font-size: 14px; }
.foot-col ul li a:hover { color: var(--primary-light); }
.foot-bot {
  max-width: 1180px; margin: 36px auto 0; padding: 22px 24px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11.5px;
  color: rgba(255,255,255,.55);
  letter-spacing: .08em; text-transform: uppercase;
}
.foot-bot a { color: rgba(255,255,255,.5); }
.foot-bot a:hover { color: var(--primary-light); }

@media (prefers-reduced-motion: reduce) {
  .eyebrow .dot, .feature::before, .step, .obj { animation: none; transition: none; }
}
