/* ============================================================
   ZAKANOVA — AI & Data Solutions
   Brand: Navy #002348 + Gold #c29448 / #e2bf79
   Typography: Myriad Pro (Latin) / Tajawal (Arabic)
   Supports: light/dark theme, RTL, shrink-on-scroll header,
             3D hero, full responsive grid.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Myriad Pro';
  src: url('../assets/fonts/MyriadPro-Light.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Myriad Pro';
  src: url('../assets/fonts/MYRIADPRO-REGULAR.OTF') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Myriad Pro';
  src: url('../assets/fonts/MYRIADPRO-SEMIBOLD.OTF') format('opentype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Myriad Pro';
  src: url('../assets/fonts/MYRIADPRO-BOLD.OTF') format('opentype');
  font-weight: 700;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand identity — vibrant, refined (no neon) */
  --navy: #002348;
  --navy-2: #003a70;
  --navy-mid: #002e58;
  --navy-deep: #001528;
  --obsidian: #000c18;
  --gold: #c29448;
  --gold-dark: #9a7538;
  --gold-light: #e2bf79;
  --gold-shine: #eed49a;
  --gold-pale: #faf5eb;
  --white: #ffffff;

  /* Professional gradients */
  --gradient-brand: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 52%, var(--navy-2) 100%);
  --gradient-brand-soft: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 55%, var(--navy-2) 100%);
  --gradient-gold: linear-gradient(145deg, var(--gold-shine) 0%, var(--gold-light) 26%, var(--gold) 58%, var(--gold-dark) 100%);
  --gradient-gold-soft: linear-gradient(120deg, var(--gold-dark) 0%, var(--gold) 52%, var(--gold-light) 100%);
  --gradient-gold-text: linear-gradient(100deg, var(--gold-dark) 0%, var(--gold) 42%, var(--gold-light) 78%, var(--gold-shine) 100%);
  --gradient-surface: linear-gradient(180deg, var(--surface-alt) 0%, var(--bg) 100%);
  --gradient-card: linear-gradient(165deg, var(--surface) 0%, var(--surface-alt) 100%);
  --gradient-hero:
    radial-gradient(58% 80% at 82% 8%, rgba(194, 148, 72, 0.26), transparent 62%),
    radial-gradient(55% 68% at 8% 88%, rgba(0, 58, 112, 0.3), transparent 64%),
    linear-gradient(165deg, #000810 0%, var(--navy-deep) 44%, var(--navy) 100%);
  --gradient-cta-gloss: linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.14) 38%, transparent 54%);
  --gradient-header-hairline: linear-gradient(90deg, transparent, var(--gold-light) 35%, var(--gold) 50%, var(--gold-light) 65%, transparent);

  /* High-gloss CTA */
  --cta-shadow:
    0 14px 34px -12px rgba(194, 148, 72, 0.52),
    0 1px 0 rgba(255, 255, 255, 0.38) inset,
    0 -1px 0 rgba(0, 0, 0, 0.1) inset;
  --cta-shadow-hover:
    0 20px 44px -12px rgba(194, 148, 72, 0.62),
    0 1px 0 rgba(255, 255, 255, 0.48) inset,
    0 -1px 0 rgba(0, 0, 0, 0.12) inset;

  /* Semantic surfaces — light theme (WCAG AA tuned) */
  --bg: #f9f6f0;
  --surface: #ffffff;
  --surface-alt: #f2ece1;
  --surface-pale: #ebe3d4;
  --surface-elevated: #ffffff;
  --heading: #002348;
  --text: #1a334d;
  --text-muted: #4a5568;
  --text-inverse: #ffffff;
  --text-inverse-muted: #dce4f0;
  --border: #ddd5c8;
  --border-strong: #c8bfb0;
  --accent-text: #8a6828;
  --accent-strong: #c29448;
  --link: #003d78;
  --link-hover: #002348;
  --on-accent: #002348;
  --focus-ring: rgba(194, 148, 72, 0.45);
  --shadow: 0 20px 54px -20px rgba(0, 35, 72, 0.18);

  /* Header & footer chrome */
  --header-bg: linear-gradient(180deg, rgba(0, 35, 72, 0.94) 0%, rgba(0, 21, 40, 0.9) 100%);
  --header-bg-scrolled: linear-gradient(180deg, rgba(0, 30, 62, 0.98) 0%, rgba(0, 16, 32, 0.96) 100%);
  --header-text: #f4f7fc;
  --header-text-muted: #c8d2e4;
  --header-border: rgba(255, 255, 255, 0.16);
  --footer-text: #e8edf6;
  --footer-text-muted: #b8c4d8;
  --hero-text-muted: #d8e2f0;
  --hero-surface: rgba(255, 255, 255, 0.1);

  /* Status colors — accessible, not neon */
  --success-bg: #e6f4ec;
  --success-border: #6fb88a;
  --success-text: #145c32;
  --error-bg: #fceaea;
  --error-border: #d98888;
  --error-text: #8a2222;

  /* Glassmorphism — light theme */
  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-bg-strong: rgba(255, 255, 255, 0.86);
  --glass-border: rgba(0, 35, 72, 0.11);
  --glass-hairline: rgba(0, 35, 72, 0.08);
  --glass-blur: 18px;
  --glass-shadow: 0 22px 54px -24px rgba(0, 35, 72, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  --glass-shadow-hover: 0 36px 72px -28px rgba(0, 35, 72, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.85);

  --font-latin: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
  --font-ar: 'Tajawal', 'Segoe UI', Arial, sans-serif;
  --header-top-h: 38px;
  --header-primary-h: 68px;
  --header-primary-h-sm: 54px;
  --header-secondary-h: 46px;
  --header-secondary-h-sm: 40px;
  --header-h: calc(var(--header-top-h) + var(--header-primary-h) + var(--header-secondary-h));
  --header-h-sm: calc(var(--header-primary-h-sm) + var(--header-secondary-h-sm));
  --radius: 14px;
  --radius-lg: 22px;
  --site-gutter-x: clamp(1rem, 2.5vw, 2.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #000c18;
  --surface: #001a35;
  --surface-alt: #001528;
  --surface-pale: #002348;
  --surface-elevated: #002952;
  --heading: #f0f4fa;
  --text: #d4dce8;
  --text-muted: #a3b0c4;
  --text-inverse: #ffffff;
  --text-inverse-muted: #d8e2f0;
  --border: rgba(255, 255, 255, 0.13);
  --border-strong: rgba(255, 255, 255, 0.2);
  --accent-text: #e2bf79;
  --accent-strong: #eed49a;
  --link: #9ec4ef;
  --link-hover: #c0daf7;
  --on-accent: #002348;
  --focus-ring: rgba(226, 191, 121, 0.42);
  --shadow: 0 20px 54px -20px rgba(0, 0, 0, 0.55);

  --header-bg: linear-gradient(180deg, rgba(0, 35, 72, 0.92) 0%, rgba(0, 16, 32, 0.88) 100%);
  --header-bg-scrolled: linear-gradient(180deg, rgba(0, 30, 62, 0.97) 0%, rgba(0, 12, 24, 0.95) 100%);
  --header-text: #f2f6fc;
  --header-text-muted: #c4cfe2;
  --header-border: rgba(255, 255, 255, 0.14);
  --footer-text: #e8edf6;
  --footer-text-muted: #b4c0d4;
  --hero-text-muted: #d0daea;

  --success-bg: rgba(36, 120, 72, 0.2);
  --success-border: rgba(72, 160, 108, 0.5);
  --success-text: #8ae4ad;
  --error-bg: rgba(168, 52, 52, 0.2);
  --error-border: rgba(210, 96, 96, 0.48);
  --error-text: #f5b4b4;

  /* Glassmorphism — dark theme */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-bg-strong: rgba(255, 255, 255, 0.11);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-hairline: rgba(255, 255, 255, 0.1);
  --glass-blur: 20px;
  --glass-shadow: 0 26px 64px -28px rgba(0, 0, 0, 0.74), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --glass-shadow-hover: 0 42px 84px -30px rgba(0, 0, 0, 0.84), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

#services {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

@media (max-width: 760px) {
  #services {
    scroll-margin-top: calc(var(--header-h-sm) + 16px);
  }
}

body {
  font-family: var(--font-latin);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
}

/* Ambient glass backdrop — soft colour fields so frosted surfaces read */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42% 52% at 10% 6%, rgba(194, 148, 72, 0.14), transparent 72%),
    radial-gradient(48% 58% at 90% 14%, rgba(0, 46, 90, 0.1), transparent 72%),
    radial-gradient(52% 52% at 78% 92%, rgba(194, 148, 72, 0.1), transparent 72%),
    var(--gradient-surface);
  animation: mesh-drift 28s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.04) translate(1.5%, -1%); }
}
[data-theme="dark"] body::before {
  background:
    radial-gradient(42% 52% at 10% 6%, rgba(194, 148, 72, 0.16), transparent 72%),
    radial-gradient(48% 58% at 90% 14%, rgba(0, 58, 112, 0.24), transparent 72%),
    radial-gradient(55% 55% at 78% 92%, rgba(154, 117, 56, 0.12), transparent 72%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
  animation: mesh-drift 28s ease-in-out infinite alternate;
}

html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea {
  font-family: var(--font-ar);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--site-gutter-x);
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { inset-inline-start: 0; }

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Inline links in content areas */
.section-text a,
.about-points a,
.contact-list a:not(.contact-icon) {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: rgba(0, 61, 120, 0.32);
  text-underline-offset: 0.15em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.section-text a:hover,
.about-points a:hover,
.contact-list a:not(.contact-icon):hover {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}
[data-theme="dark"] .section-text a,
[data-theme="dark"] .about-points a,
[data-theme="dark"] .contact-list a:not(.contact-icon) {
  text-decoration-color: rgba(168, 200, 240, 0.35);
}

.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;
}

[data-theme="dark"] .section-text a,
[data-theme="dark"] .about-points a,
[data-theme="dark"] .contact-list a:not(.contact-icon) {
  text-decoration-color: rgba(158, 196, 239, 0.35);
}

/* ---------- Buttons — high-gloss primary CTAs ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--gradient-gold);
  color: var(--on-accent);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: var(--cta-shadow);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
}
.btn-primary::before,
.btn-primary::after {
  z-index: -1;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-cta-gloss);
  pointer-events: none;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 2px 14% auto;
  height: 40%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
  pointer-events: none;
  opacity: 0.65;
}
.btn-primary:hover {
  filter: brightness(1.04);
  box-shadow: var(--cta-shadow-hover);
}
.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.98);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-inverse);
  background: var(--hero-surface);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--white); }
.btn-ghost--light,
.industries-explore {
  border-color: rgba(194, 148, 72, 0.45);
  color: var(--accent-text);
  background: var(--surface);
  backdrop-filter: none;
}
.btn-ghost--light:hover,
.industries-explore:hover {
  background: rgba(194, 148, 72, 0.1);
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}
[data-theme="dark"] .btn-ghost--light,
[data-theme="dark"] .industries-explore {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(194, 148, 72, 0.55);
  color: var(--gold-light);
}
[data-theme="dark"] .btn-ghost--light:hover,
[data-theme="dark"] .industries-explore:hover {
  background: rgba(194, 148, 72, 0.14);
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.35); }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.92rem; white-space: nowrap; }
.btn-block { width: 100%; }

/* ---------- Header (3-tier: top · primary · secondary) ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: stretch;
  padding: 0;
  pointer-events: none; /* let the shell capture clicks, not the gaps */
}
/* The visible, contained bar */
.header-shell {
  position: relative;
  width: 100%;
  pointer-events: auto;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border: none;
  border-bottom: 1px solid var(--header-border);
  border-radius: 0;
  overflow: visible;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
/* Gold gradient hairline along the bottom edge */
.header-shell::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--gradient-header-hairline);
}
.site-header.scrolled .header-shell {
  background: var(--header-bg-scrolled);
  border-color: var(--header-border);
  box-shadow: 0 14px 36px -14px rgba(0, 0, 0, 0.55);
}

/* Tier 1 — top utility bar (collapses on scroll) */
.header-top {
  height: var(--header-top-h);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  transition: height 0.35s var(--ease), opacity 0.35s ease, border-color 0.3s ease;
}
.site-header.scrolled .header-top {
  height: 0;
  opacity: 0;
  border-color: transparent;
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-top-h);
  padding-inline: var(--site-gutter-x);
  font-size: 0.78rem;
  color: var(--header-text-muted);
}
.header-contact { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.header-top-right { display: flex; align-items: center; gap: 1.2rem; margin-inline-start: auto; }
.ht-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--header-text-muted);
  transition: color 0.2s;
}
.ht-item:hover { color: var(--header-text); }
.ht-item svg { width: 14px; height: 14px; opacity: 0.85; }

/* Tier 2 — primary bar: logo + theme + CTA */
.header-primary {
  height: var(--header-primary-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: height 0.35s var(--ease);
}
.site-header.scrolled .header-primary { height: var(--header-primary-h-sm); }

.header-primary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding-inline: var(--site-gutter-x);
}

.header-primary-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Tier 3 — secondary bar: navigation */
.header-secondary {
  height: var(--header-secondary-h);
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.14);
  transition: height 0.35s var(--ease);
  overflow: visible;
}
.site-header.scrolled .header-secondary { height: var(--header-secondary-h-sm); }

.header-secondary-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-inline: var(--site-gutter-x);
  height: 100%;
}

/* Scroll-progress accent line, overlaid on the gradient hairline */
.header-progress {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--gradient-gold-soft);
  transform: scaleX(var(--scroll, 0));
  transform-origin: 0 50%;
  z-index: 1;
}
html[dir="rtl"] .header-progress { transform-origin: 100% 50%; }

.brand { display: flex; align-items: center; min-width: 0; flex-shrink: 1; }
.brand-logo--wide {
  height: 40px;
  width: auto;
  max-width: min(248px, 46vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 12px rgba(194, 148, 72, 0.28));
  transition: height 0.35s var(--ease), filter 0.35s var(--ease);
}
.site-header.scrolled .brand-logo--wide { height: 32px; }
.brand-logo--compact { display: none; align-items: center; gap: 0.65rem; min-width: 0; }
html[dir="rtl"] .brand-logo--wide { object-position: right center; }
.brand-mark { height: 40px; width: auto; flex-shrink: 0; transition: height 0.35s var(--ease); }
.site-header .brand-mark {
  filter: drop-shadow(0 2px 12px rgba(194, 148, 72, 0.28));
}
.site-header.scrolled .brand-mark { height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.16em;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-tag {
  color: var(--gold-light);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  width: 100%;
  overflow: visible;
}
.nav-link {
  color: var(--header-text-muted);
  font-weight: 600;
  font-size: 0.97rem;
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.2s, background 0.25s ease;
  white-space: nowrap;
}
.nav-link:not(.nav-link--trigger)::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold-light);
  transition: width 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--header-text); }

/* Services dropdown */
.nav-item--dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-link-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-link--trigger { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-link--trigger::after {
  content: '';
  position: static;
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-top: -0.12em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}
.nav-item--dropdown:hover .nav-link--trigger::after,
.nav-item--dropdown:focus-within .nav-link--trigger::after,
.nav-item--dropdown.open .nav-link--trigger::after {
  transform: rotate(225deg);
  opacity: 0.85;
}
.nav-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-inline-start: -0.35rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--header-text-muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.25s ease, transform 0.25s var(--ease);
}
@media (min-width: 1021px) {
  .nav-submenu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
.nav-submenu-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.nav-item--dropdown.open .nav-submenu-toggle svg,
.nav-item--dropdown:focus-within .nav-submenu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.2rem);
  inset-inline-start: 50%;
  z-index: 200;
  min-width: 15.5rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border-radius: 12px;
  border: 1px solid var(--header-border);
  background: var(--header-bg-scrolled);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: -0.45rem;
  height: 0.45rem;
}
html[dir="rtl"] .nav-dropdown {
  transform: translateX(50%) translateY(8px);
}
.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown,
.nav-item--dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
html[dir="rtl"] .nav-item--dropdown:hover .nav-dropdown,
html[dir="rtl"] .nav-item--dropdown:focus-within .nav-dropdown,
html[dir="rtl"] .nav-item--dropdown.open .nav-dropdown {
  transform: translateX(50%) translateY(0);
}
.nav-dropdown-link {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: var(--header-text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.25s var(--ease);
}
.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  color: var(--header-text);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}
.nav-item--dropdown.is-active > .nav-link-row > .nav-link--trigger {
  color: var(--header-text);
}

.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.lang-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--white);
  padding: 0.45rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.lang-toggle:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.lang-option { opacity: 0.55; font-weight: 600; }
.lang-option.current { opacity: 1; color: var(--gold-light); }
.lang-divider { opacity: 0.35; }

/* Slimmer language toggle inside the utility strip */
.header-top .lang-toggle {
  border: none;
  border-radius: 6px;
  padding: 0.15rem 0.3rem;
  font-size: 0.8rem;
}
.header-top .lang-toggle:hover { background: rgba(255, 255, 255, 0.08); }

/* Icon button (theme toggle) */
.icon-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.icon-btn:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  color: var(--white);
  overflow: hidden;
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-slider-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-motion {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.hero-mesh {
  position: absolute;
  inset: -15%;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(194, 148, 72, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 148, 72, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 88% 78% at 52% 42%, #000 18%, transparent 74%);
  mask-image: radial-gradient(ellipse 88% 78% at 52% 42%, #000 18%, transparent 74%);
  animation: hero-mesh-drift 55s linear infinite;
}
@keyframes hero-mesh-drift {
  to { transform: translate(44px, 44px); }
}
.hero-aurora {
  position: absolute;
  inset: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  mix-blend-mode: screen;
  will-change: transform;
  animation: hero-orb-float 24s ease-in-out infinite;
}
.hero-orb--a {
  width: clamp(220px, 32vw, 380px);
  height: clamp(220px, 32vw, 380px);
  background: radial-gradient(circle, rgba(196, 165, 116, 0.5) 0%, transparent 68%);
  top: 8%;
  inset-inline-end: 12%;
  animation-duration: 21s;
}
.hero-orb--b {
  width: clamp(180px, 28vw, 320px);
  height: clamp(180px, 28vw, 320px);
  background: radial-gradient(circle, rgba(94, 234, 212, 0.28) 0%, transparent 68%);
  bottom: 12%;
  inset-inline-start: 8%;
  animation-duration: 27s;
  animation-delay: -9s;
}
.hero-orb--c {
  width: clamp(140px, 22vw, 260px);
  height: clamp(140px, 22vw, 260px);
  background: radial-gradient(circle, rgba(194, 148, 72, 0.38) 0%, transparent 68%);
  top: 42%;
  inset-inline-start: 48%;
  animation-duration: 19s;
  animation-delay: -5s;
}
@keyframes hero-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-28px, 22px) scale(1.07); }
  50% { transform: translate(18px, -16px) scale(0.96); }
  75% { transform: translate(24px, 12px) scale(1.04); }
}
.hero-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 38%,
    rgba(255, 255, 255, 0.025) 46%,
    rgba(196, 165, 116, 0.1) 50%,
    rgba(255, 255, 255, 0.025) 54%,
    transparent 62%
  );
  background-size: 220% 100%;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 58% 38%, #000 8%, transparent 68%);
  mask-image: radial-gradient(ellipse 75% 65% at 58% 38%, #000 8%, transparent 68%);
  animation: hero-shimmer-sweep 14s ease-in-out infinite;
}
@keyframes hero-shimmer-sweep {
  0%, 100% { background-position: 130% 0; opacity: 0.35; }
  50% { background-position: -30% 0; opacity: 0.75; }
}
.hero-slider-bg__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  background: var(--gradient-hero);
}
.hero-slider-bg__slide.is-active { opacity: 1; }
.hero-slider-bg__slide.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 45%, rgba(196, 165, 116, 0.14), transparent 52%);
  animation: hero-slide-glow 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-slide-glow {
  0%, 100% { opacity: 0.55; transform: scale(1) translate(0, 0); }
  50% { opacity: 1; transform: scale(1.08) translate(2%, -2%); }
}
.hero-slider-bg__slide--intro {
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(194, 148, 72, 0.22), transparent 55%),
    var(--gradient-hero);
}
.hero-slider-bg__slide--baseer {
  background:
    radial-gradient(ellipse 65% 50% at 85% 25%, rgba(194, 148, 72, 0.32), transparent 58%),
    radial-gradient(ellipse 45% 40% at 10% 80%, rgba(196, 165, 116, 0.18), transparent 50%),
    var(--gradient-hero);
}
.hero-slider-bg__slide--simulation {
  background:
    radial-gradient(ellipse 60% 55% at 75% 70%, rgba(94, 234, 212, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 45% at 20% 30%, rgba(194, 148, 72, 0.2), transparent 52%),
    var(--gradient-hero);
}
.hero-carousel {
  position: relative;
  min-height: clamp(320px, 42vh, 420px);
}
.hero-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease), visibility 0.65s;
  pointer-events: none;
}
.hero-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.hero-slider-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  margin-top: 2rem;
}
.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.hero-slider-dot.is-active {
  background: var(--gold-light);
  transform: scale(1.15);
}
.hero-slider-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.hero-slider-arrow svg { width: 18px; height: 18px; }
.hero-slider-arrow:hover {
  border-color: rgba(196, 165, 116, 0.55);
  background: rgba(255, 255, 255, 0.1);
}
html[dir="rtl"] .hero-slider-arrow svg { transform: scaleX(-1); }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(194, 148, 72, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 148, 72, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  z-index: 2;
}
.hero .hero-glow-1 { animation: glow-drift-a 14s ease-in-out infinite alternate; }
.hero .hero-glow-2 { animation: glow-drift-b 18s ease-in-out infinite alternate; }
.hero .hero-glow-3 { animation: glow-drift-c 16s ease-in-out infinite alternate -4s; }
.hero-glow-1 { width: 480px; height: 480px; background: var(--gold-dark); top: -120px; inset-inline-end: -100px; opacity: 0.28; }
.hero-glow-2 { width: 380px; height: 380px; background: var(--gold); bottom: -140px; inset-inline-start: -120px; opacity: 0.16; }

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  overflow: hidden;
}
.hero-inner-signal {
  position: absolute;
  inset: 10% -4% 8%;
  z-index: 50;
  opacity: 0.01;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero-inner-signal-layer {
  position: absolute;
  inset-inline: 0;
  height: 42%;
  overflow: hidden;
  border-radius: 14px;
}
.hero-inner-signal-layer--gold {
  inset-block-end: 6%;
}
.hero-inner-signal-layer--cyan {
  inset-block-start: 8%;
  height: 34%;
}
.hero-inner-signal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 18px, 28px 100%;
}
.hero-inner-signal-scroll {
  display: flex;
  width: 200%;
  height: 100%;
  animation: panelSignalScroll 6s linear infinite;
}
.hero-inner-signal-scroll--alt {
  animation-duration: 4.8s;
  animation-direction: reverse;
}
.hero-inner-signal-wave {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: block;
}
.hero-inner-signal-path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-inner-signal-path--ghost {
  stroke-width: 1.5;
}
.hero-inner-signal-layer--gold .hero-inner-signal-path {
  stroke: var(--gold-light);
}
.hero-inner-signal-layer--gold .hero-inner-signal-path--ghost {
  stroke: rgba(226, 191, 121, 0.4);
}
.hero-inner-signal-layer--cyan .hero-inner-signal-path {
  stroke: #5eead4;
}
.hero-inner-signal-layer--cyan .hero-inner-signal-path--ghost {
  stroke: rgba(94, 234, 212, 0.35);
}
.hero-inner-signal-scan {
  position: absolute;
  inset-block: 0;
  width: 2px;
  inset-inline-start: 62%;
  background: linear-gradient(to bottom, transparent, rgba(74, 222, 128, 0.85), transparent);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.45);
  animation: panelSignalScan 3.5s ease-in-out infinite;
  pointer-events: none;
}
.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 640px; text-align: start; margin-inline: 0; }
body[data-page="home"] .hero .hero-content {
  padding-inline-start: clamp(1.5rem, 4vw, 3rem);
}

/* Hero neural network (homepage right visual) */
.hero-neural {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(380px, 50vw, 580px);
  padding-inline-end: 0;
}
.hero-neural-wrap {
  position: relative;
  width: min(100%, 640px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
.hero-neural-canvas {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 84% 84% at 50% 54%, #000 54%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 84% at 50% 54%, #000 54%, transparent 100%);
}
.hero-neural-glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(194, 148, 72, 0.22), transparent 62%),
    radial-gradient(circle at 62% 58%, rgba(94, 234, 212, 0.08), transparent 55%);
  pointer-events: none;
  z-index: -1;
  animation: hero-neural-glow 9s ease-in-out infinite alternate;
}
@keyframes hero-neural-glow {
  from { transform: scale(0.94); opacity: 0.75; }
  to { transform: scale(1.06); opacity: 1; }
}
.hero-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 1.6rem;
  background: none;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}
.hero-title .accent {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--hero-text-muted);
  max-width: 600px;
  margin: 0 0 2.2rem;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; align-items: flex-start; }
.hero-cta--end {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  margin-bottom: 0;
}
.hero-pillars { display: none; }
.pillar-chip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  background: none;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
}
.chip-num { color: var(--gold-light); font-weight: 700; font-size: 0.85rem; }

/* ---------- Hero 3D stage ---------- */
.hero-stage {
  perspective: 1100px;
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}
.stage-inner {
  position: relative;
  width: min(420px, 92%);
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s ease-out;
}
.stage-plane,
.stage-card,
.stage-ring,
.stage-core,
.chip-3d { position: absolute; transform-style: preserve-3d; }
.stage-plane {
  inset: 4%;
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(194, 148, 72, 0.14), rgba(0, 35, 72, 0)),
    linear-gradient(rgba(194, 148, 72, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 148, 72, 0.10) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  border: 1px solid rgba(194, 148, 72, 0.22);
  transform: translateZ(-90px);
}
.stage-card {
  inset: 15%;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(26, 49, 88, 0.92), rgba(10, 23, 48, 0.92));
  border: 1px solid rgba(220, 189, 146, 0.32);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.65);
  display: grid;
  place-items: center;
  overflow: hidden;
  transform: translateZ(20px);
}
.stage-ring {
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(220, 189, 146, 0.40);
  transform: translateZ(45px);
  animation: spin 22s linear infinite;
}
.stage-ring.r2 {
  width: 96%;
  border-style: solid;
  border-color: rgba(220, 189, 146, 0.16);
  animation-duration: 34s;
  animation-direction: reverse;
}
.stage-core {
  width: 44%;
  transform: translateZ(70px);
  filter: drop-shadow(0 12px 30px rgba(194, 148, 72, 0.45));
  animation: floaty 6s ease-in-out infinite;
}
.chip-3d {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  background: rgba(8, 20, 40, 0.85);
  border: 1px solid rgba(220, 189, 146, 0.35);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
}
.chip-3d .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); }
.chip-a { top: 4%; inset-inline-start: -8%; transform: translateZ(115px); }
.chip-b { bottom: 12%; inset-inline-end: -10%; transform: translateZ(135px); }
.chip-c { bottom: -3%; inset-inline-start: 20%; transform: translateZ(95px); }

@keyframes spin { to { transform: rotate(360deg) translateZ(45px); } }
@keyframes floaty {
  0%, 100% { transform: translateZ(70px) translateY(0); }
  50% { transform: translateZ(70px) translateY(-10px); }
}

/* ---------- Marquee ---------- */
.marquee {
  background: linear-gradient(100deg, var(--gold-dark), var(--gold-light));
  color: var(--navy-deep);
  overflow: hidden;
  padding: 0.9rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.marquee-track i { font-style: normal; opacity: 0.45; font-size: 0.7rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ---------- Sections (shared) ---------- */
.section { padding: 4.5rem 0; }
.section-divider {
  margin: 0;
  padding: 0;
  line-height: 0;
}
.section-divider--contained {
  background: var(--surface-alt);
}
.section-divider__line {
  border-top: 1px solid var(--border);
}
[data-theme="dark"] .section-divider__line {
  border-top-color: rgba(255, 255, 255, 0.12);
}
body[data-page="home"] #services { padding-bottom: 2.75rem; }
body[data-page="home"] #industries { padding-top: 2.75rem; }
body[data-page="home"] .home-pair--services-industries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  background: var(--surface-alt);
}
body[data-page="home"] .home-pair--services-industries > .section {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2.75rem 0;
  background: transparent;
}

/* Equal-height columns with bottom-aligned CTAs */
body[data-page="home"] .home-pair--services-industries > .section > .container {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
}
body[data-page="home"] .home-pair--services-industries .services-home-grid,
body[data-page="home"] .home-pair--services-industries .process-home-grid,
body[data-page="home"] .home-pair--services-industries .industries-showcase {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
}
body[data-page="home"] .home-pair--services-industries .services-home-content,
body[data-page="home"] .home-pair--services-industries .process-home-content,
body[data-page="home"] .home-pair--services-industries .industries-intro,
body[data-page="home"] .home-pair--services-industries .home-service-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
}
body[data-page="home"] .home-pair--services-industries .home-service-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}
body[data-page="home"] .home-pair--services-industries .services-home-list,
body[data-page="home"] .home-pair--services-industries .process-home-list,
body[data-page="home"] .home-pair--services-industries .industries-intro .section-text,
body[data-page="home"] .home-pair--services-industries .home-service-card__body > .about-points,
body[data-page="home"] .home-pair--services-industries .home-service-card__body > .section-text {
  flex: 1 1 auto;
}
body[data-page="home"] .home-pair--services-industries .services-home-content > .btn,
body[data-page="home"] .home-pair--services-industries .process-home-content > .btn,
body[data-page="home"] .home-pair--services-industries .industries-intro > .btn,
body[data-page="home"] .home-pair--services-industries .home-service-card__body > .btn {
  margin-top: auto;
  align-self: flex-start;
}
body[data-page="home"] .home-pair--services-industries #process .home-service-card__body > .btn {
  margin-top: 35px;
}
body[data-page="home"] .home-pair--services-industries .home-service-card .section-title {
  font-size: clamp(1.2rem, 1.65vw, 1.55rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
body[data-page="home"] .home-pair--services-industries .home-service-card .section-kicker {
  font-size: 0.72rem;
  margin-bottom: 0.55rem;
}
body[data-page="home"] .home-pair--services-industries .home-service-card .section-text {
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 0;
}
body[data-page="home"] .home-pair--services-industries .home-service-card__media {
  position: relative;
  margin-bottom: 1.25rem;
  padding-inline-end: 0.65rem;
  padding-bottom: 0.65rem;
}
body[data-page="home"] .home-pair--services-industries .home-service-card__media-border {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 58%;
  height: 58%;
  border-inline-end: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  pointer-events: none;
  z-index: 2;
}
body[data-page="home"] .home-pair--services-industries .home-service-card__photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  aspect-ratio: 16 / 11;
  background: var(--surface);
  box-shadow: var(--shadow);
}
body[data-page="home"] .home-pair--services-industries .home-service-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body[data-page="home"] .home-pair--services-industries .home-service-card__body .about-points {
  margin-top: 0.75rem;
}

body[data-page="home"] .home-pair--services-industries > #services,
body[data-page="home"] .home-pair--services-industries > #industries {
  border-inline-end: 1px solid var(--border);
}
[data-theme="dark"] body[data-page="home"] .home-pair--services-industries > #services,
[data-theme="dark"] body[data-page="home"] .home-pair--services-industries > #industries {
  border-inline-end-color: rgba(255, 255, 255, 0.12);
}

body[data-page="home"] .home-pair--process-simulation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--bg);
}
body[data-page="home"] .home-pair--process-simulation > .section {
  padding: 2.75rem 0;
  background: transparent;
}
body[data-page="home"] .home-pair--process-simulation > #simulation {
  grid-column: 1 / -1;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

body[data-page="home"] #baseer { padding-top: 2.75rem; padding-bottom: 2.75rem; }
.section-kicker {
  color: var(--accent-text);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 1.1rem;
}
.section-text { color: var(--text-muted); font-size: 1.06rem; margin-bottom: 1rem; }
.section-head { max-width: none; margin: 0 0 2.25rem; text-align: start; }
.section-head > .btn { margin-top: 1.6rem; }
.section-kicker.light { color: var(--gold-light); }
.section-title.light, .section-text.light { color: var(--text-inverse); }
.section-text.light { color: var(--text-inverse-muted); }

/* ---------- About ---------- */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}
.about-grid:not(:has(.about-visual)) {
  grid-template-columns: 1fr;
  max-width: none;
  margin-inline: 0;
  text-align: start;
}
.about-points { margin-top: 1.6rem; display: grid; gap: 0.9rem; }
.about-content > .btn,
.services-home-content > .btn,
.industries-intro > .btn,
.vision-head > .btn {
  margin-inline: 0;
}
.about-content > .btn { margin-top: 1.6rem; }
.about-points li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  font-weight: 600;
  color: var(--text);
}
.point-icon { color: var(--gold); font-size: 0.75rem; }

/* ---------- Image placeholders ---------- */
.img-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.55rem;
  width: 100%;
  overflow: hidden;
  text-align: center;
  color: var(--accent-text);
  background:
    linear-gradient(135deg, rgba(194, 148, 72, 0.18), rgba(194, 148, 72, 0.04)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(194, 148, 72, 0.04) 8px,
      rgba(194, 148, 72, 0.04) 9px
    );
  border: 1px dashed rgba(194, 148, 72, 0.45);
  border-radius: calc(var(--radius) - 4px);
}
.img-placeholder::before {
  content: '';
  display: block;
  width: clamp(36px, 8vw, 52px);
  height: clamp(36px, 8vw, 52px);
  opacity: 0.55;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='10' r='1.5'/%3E%3Cpath d='M3 16l5-5 4 4 3-3 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='10' r='1.5'/%3E%3Cpath d='M3 16l5-5 4 4 3-3 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.img-placeholder-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}
.img-placeholder--landscape { aspect-ratio: 16 / 10; min-height: 200px; }
.img-placeholder--portrait { aspect-ratio: 4 / 5; min-height: 280px; }
.img-placeholder--wide { aspect-ratio: 16 / 9; min-height: 160px; }
.img-placeholder--thumb { aspect-ratio: 16 / 9; min-height: 110px; }
.img-placeholder--compact { aspect-ratio: 16 / 6; min-height: 72px; margin-bottom: 1.1rem; }
.img-placeholder--on-dark {
  color: var(--gold-light);
  background: linear-gradient(135deg, rgba(194, 148, 72, 0.22), rgba(255, 255, 255, 0.03));
  border-color: rgba(226, 191, 121, 0.45);
}
.img-placeholder:has(img) {
  border: none;
  background: transparent;
  display: block;
  padding: 0;
}
.img-placeholder:has(img)::before,
.img-placeholder:has(img) .img-placeholder-label { display: none; }
.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.content-split-stack { display: flex; flex-direction: column; gap: 1.25rem; }

/* Services — pillar layout: narrower intro, wider card column */
body[data-page="services"] .content-split,
body[data-page="services-consulting"] .content-split,
body[data-page="services-custom-solutions"] .content-split,
body[data-page="services-training"] .content-split {
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 3.5rem);
  max-width: none;
}

/* Services — development pillar: sticky intro while card scrolls */
body[data-page="services"] #development .content-split--pillar,
body[data-page="services-custom-solutions"] #development .content-split--pillar {
  align-items: start;
}
body[data-page="services"] #development .content-split-lead,
body[data-page="services-custom-solutions"] #development .content-split-lead {
  position: sticky;
  top: calc(var(--header-h, 88px) + 1.5rem);
  align-self: start;
  z-index: 2;
}
body[data-page="services"] #development .content-split-lead .section-title,
body[data-page="services-custom-solutions"] #development .content-split-lead .section-title {
  text-align: start;
  margin-bottom: 0;
}
body[data-page="services"] #development .service-card-featured,
body[data-page="services-custom-solutions"] #development .service-card-featured {
  align-self: start;
}
body[data-page="services"] #simulation,
body[data-page="services-custom-solutions"] #simulation {
  scroll-margin-top: calc(var(--header-h, 88px) + 1.5rem);
}

.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.services-hub-grid .service-card {
  display: flex;
  flex-direction: column;
}
.services-hub-grid .service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.services-hub-grid .section-title {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: 0.75rem;
}
.process-timeline--page {
  max-width: 52rem;
  margin-inline: 0;
}
.service-card > .btn {
  margin-top: 1.5rem;
}

/* Service offering — split list + CTA panel */
.service-card--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.service-card--split:hover {
  transform: translateY(-4px);
}
.service-card__list {
  padding: 1.7rem 1.8rem;
}
.service-card__list .service-list {
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.35rem;
}
@media (max-width: 560px) {
  .service-card__list .service-list {
    grid-template-columns: 1fr;
  }
}
.service-card__cta {
  padding: 1.9rem 1.7rem;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(194, 148, 72, 0.24), transparent 60%),
    var(--gradient-brand-soft);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}
.service-card__cta h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  margin: 0;
  color: var(--white);
  line-height: 1.25;
}
.service-card__cta p {
  margin: 0;
  color: var(--text-inverse-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}
.service-card__cta .btn {
  margin-top: 0.35rem;
  align-self: flex-start;
}

/* Custom Solutions — 2×3 domain tiles inside split card */
.service-domains--tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.service-domains--tiles .service-domain {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.05rem;
}
.service-domains--tiles .service-domain + .service-domain {
  margin-top: 0;
  padding-top: 1.1rem;
  /* Keep uniform tile borders; cancel stacked-list separators */
  border: 1px solid var(--border);
}
.service-card--domains .service-card__list {
  padding: 1.4rem;
}
@media (max-width: 900px) {
  .service-domains--tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .service-domains--tiles {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  .service-card--split {
    grid-template-columns: 1fr;
  }
}

.about-visual {
  position: relative;
  max-width: 320px;
  margin-inline: 0;
}
body[data-page="home"] #about .about-visual {
  max-width: none;
  width: 75%;
  justify-self: end;
}
body[data-page="home"] #about .about-visual .img-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  box-shadow: var(--shadow);
}
.visual-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3.4rem 2.6rem;
  box-shadow: var(--shadow);
}
.visual-card:has(.img-placeholder) {
  padding: 1rem;
  overflow: hidden;
}
.visual-card .img-placeholder {
  border-radius: calc(var(--radius-lg) - 10px);
}
.visual-card--chat {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 320px;
  margin-inline: 0;
}

/* Agentic chatbot (About visual) */
.agent-chat {
  aspect-ratio: 5 / 6;
  min-height: 248px;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(194, 148, 72, 0.14), transparent 55%),
    linear-gradient(165deg, #001a36 0%, #002348 48%, #001528 100%);
  border: 1px solid rgba(194, 148, 72, 0.28);
  box-shadow: 0 16px 40px -18px rgba(0, 35, 72, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}
.agent-chat-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}
.agent-chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  flex-shrink: 0;
}
.agent-chat-avatar img { width: 18px; height: 18px; }
.agent-chat-meta { min-width: 0; }
.agent-chat-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.agent-chat-status {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 0.08rem;
}
.agent-chat-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
  animation: agent-chat-pulse 2s ease-in-out infinite;
}
.agent-chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.7rem 0.65rem;
  overflow: hidden;
}
.agent-chat-msg {
  max-width: 92%;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  font-size: 0.68rem;
  line-height: 1.45;
  animation: agent-chat-in 0.55s var(--ease) both;
}
.agent-chat-msg--user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  border-end-end-radius: 4px;
  animation-delay: 0.1s;
}
.agent-chat-msg--agent {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(194, 148, 72, 0.22);
  color: rgba(255, 255, 255, 0.88);
  border-end-start-radius: 4px;
}
.agent-chat-msg--thinking { animation-delay: 0.45s; }
.agent-chat-msg--result { animation-delay: 1.15s; }
.agent-chat-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  align-self: flex-start;
  max-width: 95%;
  animation: agent-chat-in 0.5s var(--ease) 0.75s both;
}
.agent-chat-tool {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(194, 148, 72, 0.12);
  border: 1px solid rgba(194, 148, 72, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}
.agent-chat-tool svg { width: 9px; height: 9px; opacity: 0.9; }
.agent-chat-tool--active {
  color: #002348;
  background: var(--gradient-gold);
  border-color: transparent;
  animation: agent-chat-tool-pulse 1.8s ease-in-out infinite;
}
.agent-chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 0.22rem;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: agent-chat-in 0.45s var(--ease) 1.5s both;
}
.agent-chat-typing span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: agent-chat-dot 1.2s ease-in-out infinite;
}
.agent-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.agent-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
.agent-chat-footer {
  padding: 0.5rem 0.65rem 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}
.agent-chat-input {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
}
.agent-chat-input svg { width: 12px; height: 12px; color: var(--gold-light); flex-shrink: 0; }
@keyframes agent-chat-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes agent-chat-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@keyframes agent-chat-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-3px); opacity: 1; }
}
@keyframes agent-chat-tool-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(194, 148, 72, 0.35); }
  50% { box-shadow: 0 0 0 4px rgba(194, 148, 72, 0.12); }
}
@media (prefers-reduced-motion: reduce) {
  .agent-chat-live,
  .agent-chat-tool--active,
  .agent-chat-typing span,
  .agent-chat-msg,
  .agent-chat-tools { animation: none !important; opacity: 1 !important; transform: none !important; }
}

.vision-badge {
  position: absolute;
  bottom: -1.6rem;
  inset-inline-start: -1.2rem;
  background: var(--gradient-gold);
  color: var(--on-accent);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--cta-shadow);
}
.vision-num { font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.vision-label { font-size: 0.8rem; opacity: 0.85; }

.about-statements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.about-statement {
  padding: 1.85rem 1.75rem;
  border-radius: var(--radius);
  background: var(--gradient-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-statement .section-kicker { margin-bottom: 0.75rem; }
.about-statement .section-text { margin-bottom: 0; font-size: 1.02rem; line-height: 1.75; }

.about-values-full {
  width: 100%;
  margin-bottom: 3.5rem;
  padding: 0.25rem 0 0;
}
.about-values-full .section-kicker { margin-bottom: 0.25rem; }
.values-strip--full {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  margin-top: 1.35rem;
  list-style: none;
  padding: 0;
}
.values-strip--full .value-chip {
  justify-content: flex-start;
  text-align: start;
  border-radius: var(--radius);
  padding: 1rem 0.85rem;
  min-height: 3.5rem;
  line-height: 1.35;
}
@media (max-width: 1024px) {
  .values-strip--full { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .values-strip--full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .values-strip--full { grid-template-columns: 1fr; }
}

.vmv-block--values { max-width: none; width: 100%; }
.vmv-values-grid--full {
  grid-template-columns: repeat(6, 1fr);
  max-width: none;
  width: 100%;
  margin-top: 1.75rem;
  gap: 1rem;
}
.vmv-values-grid--full .vision-card {
  background: none !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 0;
  transform: none !important;
  cursor: default;
  transition: none !important;
  text-align: start;
}
.vmv-values-grid--full .vision-card:hover {
  transform: none !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}
.vmv-values-grid--full .vision-card h3 {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: default;
  color: rgba(255, 255, 255, 0.88);
  transition: none;
}
@media (max-width: 1024px) {
  .vmv-values-grid--full { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .vmv-values-grid--full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .vmv-values-grid--full { grid-template-columns: 1fr; }
}

.industries-outcomes-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}
.industries-outcomes-grid .vision-card {
  background: none !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 0;
  transform: none !important;
  cursor: default;
  transition: none !important;
  text-align: start;
}
.industries-outcomes-grid .vision-card:hover {
  transform: none !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}
.industries-outcomes-grid .vision-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
  cursor: default;
  color: rgba(255, 255, 255, 0.92);
  transition: none;
}
.industries-outcomes-grid .vision-card p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}
@media (max-width: 1024px) {
  .industries-outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .industries-outcomes-grid { grid-template-columns: 1fr; }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
.stat { text-align: start; }
.stat-num, .stat-suffix {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--accent-strong);
}
.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.4rem;
}

/* Values strip */
.values-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-start;
  margin-top: 3rem;
}
.value-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
  transition: transform 0.2s, border-color 0.2s;
}
.value-chip:hover { transform: translateY(-3px); border-color: rgba(196, 165, 116, 0.48); }

/* Light theme: softer elevated cards on warm background */
[data-theme="light"] .service-card,
[data-theme="light"] .industry-card,
[data-theme="light"] .leader-card,
[data-theme="light"] .process-step-body,
[data-theme="light"] .sim-card,
[data-theme="light"] .contact-form {
  background: var(--gradient-card);
  box-shadow: 0 12px 32px -18px rgba(0, 35, 72, 0.1);
}
[data-theme="light"] .trust-chip,
[data-theme="light"] .value-chip {
  color: var(--text);
  background: var(--surface-elevated);
}

/* ---------- Services ---------- */
.services { background: var(--gradient-surface); }
.baseer { background: var(--surface-alt); }
.services-home-grid,
.process-home-grid,
.sim-home-grid {
  max-width: none;
  margin: 0;
  text-align: start;
}
body[data-page="home"] #simulation .sim-home-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.sim-visual {
  position: relative;
  max-width: 320px;
  margin-inline: 0;
}
body[data-page="home"] #simulation .sim-visual {
  max-width: none;
  width: 75%;
  justify-self: end;
}
body[data-page="home"] #simulation .sim-visual__media {
  position: relative;
  padding-inline-end: 0.65rem;
  padding-bottom: 0.65rem;
}
body[data-page="home"] #simulation .sim-visual__media-border {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 58%;
  height: 58%;
  border-inline-end: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  pointer-events: none;
  z-index: 2;
}
body[data-page="home"] #simulation .sim-visual__photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  aspect-ratio: 4 / 3;
  min-height: 260px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
body[data-page="home"] #simulation .sim-visual__photo .img-placeholder {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: auto;
  min-height: 0;
  box-shadow: none;
  height: 100%;
}
body[data-page="home"] #simulation .sim-visual .img-placeholder img,
body[data-page="home"] #simulation .sim-visual__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.services-home-content > .btn,
.process-home-content > .btn,
.sim-home-content > .btn { margin-top: 1.6rem; }
.services-home-list,
.process-home-list,
.sim-home-list {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: clamp(0.85rem, 2.5vw, 2.25rem);
}
.services-home-list li,
.process-home-list li,
.sim-home-list li {
  flex: 0 1 auto;
  white-space: nowrap;
  font-weight: 400;
}
@media (max-width: 760px) {
  .services-home-list li,
  .process-home-list li,
  .sim-home-list li {
    white-space: normal;
  }
}

/* Homepage paired sections — vertical list grids beat horizontal flex in narrow columns */
body[data-page="home"] .home-pair--services-industries .services-home-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  align-items: start;
  justify-content: start;
}
body[data-page="home"] .home-pair--services-industries .process-home-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  align-items: start;
  justify-content: start;
}
body[data-page="home"] .home-pair--services-industries .process-home-list li,
body[data-page="home"] .home-pair--services-industries .services-home-list li {
  white-space: normal;
  flex: unset;
  width: 100%;
}

.services-home-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card.service-card--split {
  padding: 0;
  gap: 0;
}
.service-card--split .service-card__cta {
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(196, 165, 116, 0.42);
}
.service-card-featured {
  background: var(--gradient-brand-soft);
  border-color: transparent;
  color: var(--white);
}
.service-card.service-card-featured p,
.service-card.service-card-featured .service-list li { color: var(--text-inverse-muted); }
.service-card.service-card-featured h3 { color: var(--white); }
.service-num {
  position: absolute;
  top: 1.1rem;
  inset-inline-end: 1.4rem;
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(160, 124, 74, 0.16);
}
.service-card-featured .service-num { color: rgba(255, 255, 255, 0.12); }
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-pale);
  color: var(--gold-dark);
  margin-bottom: 1.3rem;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card-featured .service-icon { background: rgba(255, 255, 255, 0.12); color: var(--gold-light); }
.service-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--heading); margin-bottom: 0.7rem; }
.service-card p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 1.2rem; }
.service-card--split .service-card__cta h3,
.service-card--split .service-card__cta p {
  color: #ffffff;
  margin-bottom: 0;
}
.service-list { display: grid; gap: 0.55rem; }
.service-list li {
  position: relative;
  padding-inline-start: 1.3rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}
.service-list li::before {
  content: '◆';
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 0.35em;
}
.service-domains {
  display: grid;
  gap: 1rem;
}
.service-domain h4 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.35rem;
}
.service-domain p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}
.service-card-featured .service-domain h4 { color: var(--gold-light); }
.service-card-featured .service-domain p { color: var(--text-inverse-muted); }
.service-card-featured .service-domain + .service-domain {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Domain mosaic (What We Do — layout 7) ---------- */
.services-mosaic {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.services-mosaic-head {
  position: relative;
  padding: 2rem 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--gradient-brand-soft);
  color: var(--white);
  overflow: hidden;
}
.services-mosaic-head::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(194, 148, 72, 0.22), transparent 55%);
  pointer-events: none;
}
.services-mosaic-head-inner { position: relative; z-index: 1; max-width: 760px; }
.services-mosaic-head .service-num {
  position: static;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 0.65rem;
}
.services-mosaic-head h3 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.65rem;
}
.services-mosaic-head p {
  color: var(--text-inverse-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}
.services-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.domain-tile {
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 1.45rem 1.35rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.domain-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(194, 148, 72, 0.45);
  box-shadow: var(--shadow);
}
.domain-tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.domain-tile-icon svg { width: 20px; height: 20px; }
.domain-tile-icon--violet { background: #8b5cf6; }
.domain-tile-icon--cyan { background: #06b6d4; }
.domain-tile-icon--green { background: #10b981; }
.domain-tile-icon--pink { background: #ec4899; }
.domain-tile-icon--amber { background: #f59e0b; }
.domain-tile-icon--blue { background: #3b82f6; }
.domain-tile h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}
.domain-tile p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.services-mosaic-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.pillar-banner {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 1rem 1.15rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pillar-banner:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 148, 72, 0.4);
}
.pillar-banner-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(194, 148, 72, 0.35);
  line-height: 1;
  min-width: 2rem;
}
.pillar-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--surface-pale);
  color: var(--gold-dark);
  flex-shrink: 0;
}
.pillar-banner-icon svg { width: 22px; height: 22px; }
.pillar-banner-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}
.pillar-banner-body p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 900px) {
  .services-mosaic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-mosaic-grid { grid-template-columns: 1fr; }
  .services-mosaic-pillars { grid-template-columns: 1fr; }
  .services-mosaic-head { padding: 1.45rem 1.25rem; }
  .pillar-banner { grid-template-columns: auto 1fr; }
  .pillar-banner-num { grid-row: 1; grid-column: 1; }
  .pillar-banner-icon { grid-row: 1; grid-column: 2; justify-self: end; }
  .pillar-banner-body { grid-column: 1 / -1; }
}

/* Homepage services teaser — markers only */
.services-mosaic--summary .services-mosaic-head {
  padding: 1.35rem 1.5rem;
}
.services-mosaic--summary .services-mosaic-head .service-num {
  margin-bottom: 0;
}
.services-mosaic--summary .pillar-banner {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 1.1rem 1.25rem;
}

/* ---------- AI orchestration (Development pillar) ---------- */
.services-bento--dev-first {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}
.services-bento--dev-first .service-card-orchestration {
  grid-column: 1 / -1;
  grid-row: 1;
  padding: 2rem 1.75rem 1.75rem;
}
.services-bento--dev-first .service-card:nth-child(2) { grid-column: 1; grid-row: 2; }
.services-bento--dev-first .service-card:nth-child(3) { grid-column: 2; grid-row: 2; }

.service-orchestration-intro {
  max-width: 720px;
  margin-bottom: 1.5rem;
}
.service-orchestration-intro p { margin-bottom: 0; }

.ai-orchestration {
  position: relative;
  width: 100%;
  min-height: 420px;
  height: clamp(420px, 52vw, 620px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 255, 0.88) 45%, rgba(248, 244, 236, 0.92));
  border: 1px solid rgba(194, 148, 72, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 24px 60px -28px rgba(0, 35, 72, 0.35);
}
.ai-orchestration-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
}
.ai-orchestration-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 148, 72, 0.45), rgba(0, 35, 72, 0.08) 68%, transparent 72%);
  animation: orch-glow-pulse 4s ease-in-out infinite;
}
.ai-orchestration-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ai-orchestration-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
}
.ai-orchestration-hub-rings {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 148, 72, 0.28), transparent 68%);
  animation: orch-glow-pulse 3.5s ease-in-out infinite;
}
.ai-orchestration-hub-rings::before,
.ai-orchestration-hub-rings::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(194, 148, 72, 0.22);
  animation: orch-glow-pulse 3.5s ease-in-out infinite;
}
.ai-orchestration-hub-rings::after { inset: -28px; opacity: 0.55; animation-delay: 0.6s; }
.ai-orchestration-hub-core {
  position: relative;
  width: clamp(108px, 16vw, 148px);
  height: clamp(108px, 16vw, 148px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  color: #fff;
  background: linear-gradient(145deg, var(--gold-light), var(--gold) 42%, var(--navy) 115%);
  box-shadow: 0 18px 44px -12px rgba(0, 35, 72, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.ai-orchestration-hub-core::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  animation: orch-spin 10s linear infinite;
}
.ai-orchestration-hub-logo {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  margin-bottom: 0.35rem;
}
.ai-orchestration-hub-title {
  position: relative;
  z-index: 1;
  font-size: clamp(0.82rem, 1.4vw, 0.98rem);
  font-weight: 800;
  line-height: 1.15;
}
.ai-orchestration-hub-sub {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.92;
  margin-top: 0.15rem;
}
.ai-orchestration-node {
  position: absolute;
  left: var(--nx);
  top: var(--ny);
  transform: translate(-50%, -50%);
  z-index: 3;
  width: clamp(108px, 12vw, 168px);
  padding: 0.65rem 0.55rem 0.7rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 35, 72, 0.1);
  box-shadow: 0 8px 24px -10px rgba(0, 35, 72, 0.22);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.ai-orchestration-node:hover {
  transform: translate(-50%, -50%) translateY(-4px);
  box-shadow: 0 16px 36px -12px rgba(0, 35, 72, 0.28);
  border-color: rgba(194, 148, 72, 0.45);
}
.ai-orchestration-node.is-active {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18), 0 12px 32px -10px rgba(0, 35, 72, 0.25);
}
.ai-orchestration-node-bot {
  position: absolute;
  top: -8px;
  inset-inline-end: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  box-shadow: 0 4px 12px rgba(154, 117, 56, 0.35);
}
.ai-orchestration-node-bot svg { width: 12px; height: 12px; }
.ai-orchestration-node-icon {
  position: relative;
  width: 34px;
  height: 34px;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.ai-orchestration-node-icon svg { width: 16px; height: 16px; }
.ai-orchestration-node-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: orch-node-ping 2.4s ease-out infinite;
  opacity: 0.35;
}
.ai-orchestration-node-icon--violet { background: #8b5cf6; }
.ai-orchestration-node-icon--violet::after { background: rgba(139, 92, 246, 0.35); }
.ai-orchestration-node-icon--cyan { background: #06b6d4; }
.ai-orchestration-node-icon--cyan::after { background: rgba(6, 182, 212, 0.35); }
.ai-orchestration-node-icon--green { background: #10b981; }
.ai-orchestration-node-icon--green::after { background: rgba(16, 185, 129, 0.35); }
.ai-orchestration-node-icon--pink { background: #ec4899; }
.ai-orchestration-node-icon--pink::after { background: rgba(236, 72, 153, 0.35); }
.ai-orchestration-node-icon--amber { background: #f59e0b; }
.ai-orchestration-node-icon--amber::after { background: rgba(245, 158, 11, 0.35); }
.ai-orchestration-node-icon--blue { background: #3b82f6; }
.ai-orchestration-node-icon--blue::after { background: rgba(59, 130, 246, 0.35); }
.ai-orchestration-node-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.ai-orchestration-node-sub {
  display: block;
  font-size: 0.62rem;
  color: #64748b;
  margin-top: 0.12rem;
  line-height: 1.3;
}
.ai-orchestration-node-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #10b981;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  animation: orch-glow-pulse 2s ease-in-out infinite;
  white-space: nowrap;
}
.ai-orchestration-status {
  position: absolute;
  bottom: 1rem;
  inset-inline-start: 1rem;
  z-index: 5;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 35, 72, 0.08);
  box-shadow: 0 8px 24px -12px rgba(0, 35, 72, 0.2);
  backdrop-filter: blur(8px);
}
.ai-orchestration-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  margin-inline-end: 0.45rem;
  animation: orch-glow-pulse 2s ease-in-out infinite;
}
.ai-orchestration-status-title {
  display: inline;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
}
.ai-orchestration-status-sub {
  display: block;
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 0.2rem;
  padding-inline-start: 1.1rem;
}
@keyframes orch-glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes orch-spin {
  to { transform: rotate(360deg); }
}
@keyframes orch-node-ping {
  0% { transform: scale(1); opacity: 0.35; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

@media (max-width: 1020px) {
  .services-bento--dev-first {
    grid-template-columns: 1fr;
  }
  .services-bento--dev-first .service-card-orchestration,
  .services-bento--dev-first .service-card:nth-child(2),
  .services-bento--dev-first .service-card:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }
  .ai-orchestration { min-height: 520px; height: auto; }
  .ai-orchestration-node-sub { display: none; }
}
@media (max-width: 640px) {
  .ai-orchestration { min-height: 680px; }
  .ai-orchestration-node { width: 104px; padding: 0.55rem 0.4rem; }
  .ai-orchestration-node-title { font-size: 0.64rem; }
  .ai-orchestration-status { inset-inline-end: 1rem; max-width: calc(100% - 2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .ai-orchestration-glow::before,
  .ai-orchestration-hub-rings,
  .ai-orchestration-hub-rings::before,
  .ai-orchestration-hub-rings::after,
  .ai-orchestration-hub-core::before,
  .ai-orchestration-node-icon::after,
  .ai-orchestration-node-badge,
  .ai-orchestration-status-dot,
  .ai-orchestration-lines animate { animation: none !important; }
}

/* ---------- Industries ---------- */
.industries { background: var(--bg); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.industry-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  background: var(--surface);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(194, 148, 72, 0.45);
}
.industry-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-gold);
  color: var(--on-accent);
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 22px -10px rgba(154, 117, 56, 0.45);
}
.industry-icon svg { width: 22px; height: 22px; }
.industry-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--heading); margin-bottom: 0.55rem; }
.industry-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Leadership ---------- */
.leadership { background: var(--surface-alt); }
.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}
.leader-card {
  width: 100%;
  max-width: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.4rem;
  text-align: start;
  transition: transform 0.25s, box-shadow 0.25s;
}
.leader-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.leader-photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  margin: 0 0 1.1rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(194, 148, 72, 0.22), rgba(194, 148, 72, 0.06));
  border: 1px dashed rgba(194, 148, 72, 0.5);
  color: var(--accent-text);
  box-shadow: 0 8px 22px -10px rgba(154, 117, 56, 0.25);
}
.leader-photo svg {
  width: 40%;
  height: 40%;
  max-width: 54px;
  opacity: 0.55;
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.leader-photo:has(img) {
  border: none;
  background: transparent;
}
.leader-name { font-weight: 700; color: var(--heading); font-size: 1.05rem; }
.leader-role { color: var(--accent-text); font-size: 0.85rem; font-weight: 600; margin-top: 0.3rem; }

/* ---------- Vision ---------- */
.vision {
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(194, 148, 72, 0.2), transparent),
    var(--gradient-brand-soft);
  color: var(--white);
}
body[data-page="home"] .vision {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 58% 80% at 88% 12%, rgba(226, 191, 121, 0.42), transparent 62%),
    radial-gradient(ellipse 48% 70% at 10% 88%, rgba(0, 58, 112, 0.07), transparent 58%),
    linear-gradient(128deg, var(--gold-pale) 0%, #fffdf9 42%, var(--surface-alt) 100%);
  color: var(--text);
}
body[data-page="home"] .vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 110%, rgba(194, 148, 72, 0.14), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, transparent 38%, transparent 72%, rgba(255, 255, 255, 0.28) 100%);
  pointer-events: none;
  z-index: 0;
}
body[data-page="home"] .vision::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: var(--gradient-header-hairline);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
body[data-page="home"] .vision > .container {
  position: relative;
  z-index: 1;
}
body[data-page="home"] .vision .section-kicker.light { color: var(--accent-text); }
body[data-page="home"] .vision .section-title.light {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--heading);
}
body[data-page="home"] .vision .section-text.light { color: var(--text-muted); }
body[data-page="about"] #vision {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 58% 80% at 88% 12%, rgba(226, 191, 121, 0.42), transparent 62%),
    radial-gradient(ellipse 48% 70% at 10% 88%, rgba(0, 58, 112, 0.07), transparent 58%),
    linear-gradient(128deg, var(--gold-pale) 0%, #fffdf9 42%, var(--surface-alt) 100%);
  color: var(--text);
}
body[data-page="about"] #vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 110%, rgba(194, 148, 72, 0.14), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, transparent 38%, transparent 72%, rgba(255, 255, 255, 0.28) 100%);
  pointer-events: none;
  z-index: 0;
}
body[data-page="about"] #vision::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: var(--gradient-header-hairline);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
body[data-page="about"] #vision > .container {
  position: relative;
  z-index: 1;
}
body[data-page="about"] #vision .section-kicker.light { color: var(--accent-text); }
body[data-page="about"] #vision .section-title.light {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--heading);
}
body[data-page="about"] #vision .section-text.light { color: var(--text-muted); }
[data-theme="dark"] body[data-page="home"] .vision {
  background:
    radial-gradient(ellipse 58% 80% at 88% 12%, rgba(194, 148, 72, 0.22), transparent 62%),
    radial-gradient(ellipse 48% 70% at 10% 88%, rgba(0, 90, 175, 0.16), transparent 58%),
    linear-gradient(128deg, var(--navy-deep) 0%, var(--navy-mid) 52%, var(--surface-alt) 100%);
}
[data-theme="dark"] body[data-page="home"] .vision::before {
  background:
    radial-gradient(ellipse 75% 55% at 50% 110%, rgba(194, 148, 72, 0.12), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%, transparent 72%, rgba(255, 255, 255, 0.04) 100%);
}
[data-theme="dark"] body[data-page="home"] .vision .section-kicker.light { color: var(--gold-light); }
[data-theme="dark"] body[data-page="home"] .vision .section-title.light {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--heading);
}
[data-theme="dark"] body[data-page="home"] .vision .section-text.light { color: var(--text-inverse-muted); }
[data-theme="dark"] body[data-page="about"] #vision {
  background:
    radial-gradient(ellipse 58% 80% at 88% 12%, rgba(194, 148, 72, 0.22), transparent 62%),
    radial-gradient(ellipse 48% 70% at 10% 88%, rgba(0, 90, 175, 0.16), transparent 58%),
    linear-gradient(128deg, var(--navy-deep) 0%, var(--navy-mid) 52%, var(--surface-alt) 100%);
}
[data-theme="dark"] body[data-page="about"] #vision::before {
  background:
    radial-gradient(ellipse 75% 55% at 50% 110%, rgba(194, 148, 72, 0.12), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%, transparent 72%, rgba(255, 255, 255, 0.04) 100%);
}
[data-theme="dark"] body[data-page="about"] #vision .section-kicker.light { color: var(--gold-light); }
[data-theme="dark"] body[data-page="about"] #vision .section-title.light {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--heading);
}
[data-theme="dark"] body[data-page="about"] #vision .section-text.light { color: var(--text-inverse-muted); }
.vision-grid {
  max-width: none;
  margin: 0;
  text-align: start;
}
.vision-head > .btn { margin-top: 1.6rem; }
.vision-page-visual {
  max-width: 920px;
  margin: 0 0 2.5rem;
}
.vision-cards--page {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  margin-inline: 0;
}
.vision-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.vision-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  backdrop-filter: blur(6px);
  transition: background 0.25s, transform 0.25s;
}
.vision-card:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-4px); }
.vision-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--gold-light); }
.vision-card p { font-size: 0.92rem; color: var(--text-inverse-muted); }
.vmv-stack { display: flex; flex-direction: column; gap: 3.25rem; max-width: none; width: 100%; margin: 0; }
.vmv-block { text-align: start; }
.vmv-statement { font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: none; margin: 0.85rem 0 0; line-height: 1.75; }
.vmv-values-grid { grid-template-columns: repeat(3, 1fr); margin-top: 1.75rem; text-align: start; }

/* About — align values section gutters with story section */
body[data-page="about"] #story .content-split,
body[data-page="about"] #values .content-split {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
body[data-page="about"] #values .vmv-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  row-gap: 3.25rem;
  width: 100%;
}
body[data-page="about"] #values .vmv-block--values {
  grid-column: 1 / -1;
}
body[data-page="about"] #values .vmv-values-grid--full {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* ---------- Process ---------- */
.process { background: var(--surface-alt); }
.process-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) 1.18fr;
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: start;
}
.process-intro {
  position: sticky;
  top: calc(var(--header-h, 88px) + 1.5rem);
}
.process-intro .section-kicker { margin-bottom: 0.75rem; }
.process-intro .section-title {
  text-align: start;
  margin-bottom: 0;
}
.process-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 23px;
  bottom: 23px;
  inset-inline-start: 22px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(198, 158, 107, 0.22) 100%);
  border-radius: 2px;
  pointer-events: none;
}
.process-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 0 0 1.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: none;
}
.process-step:last-child { padding-bottom: 0; }
.process-step-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.45rem 1.35rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.process-step:hover .process-step-body {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(198, 158, 107, 0.45);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--on-accent);
  font-weight: 700;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 18px -8px rgba(154, 117, 56, 0.45);
}
.process-step h3 { font-size: 1.06rem; font-weight: 700; color: var(--heading); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Simulation / Digital Twin ---------- */
.sim { background: var(--bg); }
.sim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.sim-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(194, 148, 72, 0.10), transparent 60%),
    var(--surface);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.sim-card .img-placeholder--compact {
  margin: -2rem -1.7rem 1.1rem;
  width: calc(100% + 3.4rem);
  border-radius: 0;
  border-top: none;
  border-inline: none;
}
.sim-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(194, 148, 72, 0.45); }
.sim-step { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; color: var(--accent-text); }
.sim-card h3 { font-size: 1.12rem; font-weight: 700; color: var(--heading); margin: 0.5rem 0 0.6rem; }
.sim-card p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--gradient-gold-soft);
  color: var(--on-accent);
  padding: 3rem 0;
  text-align: start;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 50% -20%, rgba(255, 255, 255, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 42%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; margin-bottom: 0.7rem; }
.cta-inner p { color: rgba(10, 22, 40, 0.78); margin-bottom: 1.8rem; font-size: 1.08rem; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: start; }
.contact-info { padding-inline-start: clamp(1.5rem, 4vw, 3rem); }
.contact-list { margin-top: 2rem; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-pale);
  color: var(--gold-dark);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--heading); font-size: 0.95rem; }
.contact-list span:not(.contact-icon) { color: var(--text-muted); font-size: 0.95rem; }

.contact--home {
  padding-block: 3rem;
}
.contact--home .contact-grid {
  gap: 2.5rem;
  max-width: none;
  margin-inline: 0;
}
.contact--home .section-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 0.75rem;
}
.contact--home .section-text {
  font-size: 0.98rem;
  margin-bottom: 0;
}
.contact--home .contact-form {
  padding: 1.75rem 1.5rem;
}
.contact--home .contact-form h3 {
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
}

.contact-form {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.4rem; font-weight: 700; color: var(--heading); margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--heading);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.78rem 1rem;
  font-size: 0.97rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.form-note { text-align: start; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.9rem; }

/* Honeypot (hidden from humans) */
.hp-field {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form status banner */
.form-status {
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: var(--success-bg); border: 1px solid var(--success-border); color: var(--success-text); }
.form-status.err { background: var(--error-bg); border: 1px solid var(--error-border); color: var(--error-text); }
[data-theme="dark"] .form-status.ok { background: var(--success-bg); border-color: var(--success-border); color: var(--success-text); }
[data-theme="dark"] .form-status.err { background: var(--error-bg); border-color: var(--error-border); color: var(--error-text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--footer-text); position: relative; overflow: hidden; }
.footer-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--gold-dark);
  filter: blur(150px);
  opacity: 0.18;
  top: -240px;
  inset-inline-end: -120px;
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.6rem;
  padding: 4rem 0 3rem;
}
.footer-brand-link {
  display: inline-block;
  margin-bottom: 1.2rem;
}
.footer-brand-link .brand-logo--wide {
  display: block;
  height: 56px;
  max-width: min(320px, 80vw);
}
.footer-brand p { font-size: 0.93rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.footer-col a { font-size: 0.93rem; color: var(--footer-text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--footer-text); }
.footer-col span { font-size: 0.93rem; color: var(--footer-text-muted); }
.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.4rem 0;
  text-align: start;
  font-size: 0.88rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-36px); }
.reveal-left.visible { transform: translateX(0); }
.reveal-right { transform: translateX(36px); }
html[dir="rtl"] .reveal-left { transform: translateX(36px); }
html[dir="rtl"] .reveal-right { transform: translateX(-36px); }
html[dir="rtl"] .reveal-left.visible,
html[dir="rtl"] .reveal-right.visible { transform: translateX(0); }
.reveal-scale {
  transform: translateY(24px) scale(0.96);
}
.reveal-scale.visible {
  transform: translateY(0) scale(1);
}
.section-head.reveal-scale.visible { transform: translateY(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track,
  .stage-core,
  .stage-ring { animation: none; }
  .stage-inner { transform: none !important; }
  body::before { animation: none !important; }
  .site-header.scrolled .header-shell { transform: none; }
  .stats-glass .stat:hover, .fab:hover, .btn-primary:hover { transform: none; filter: none; }
  .btn-primary:active { transform: none; filter: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .header-secondary {
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .header-secondary.open {
    max-height: min(85vh, 640px);
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.55);
  }
  .site-header.scrolled .header-secondary { height: auto; }
  .header-secondary-inner { padding-block: 0; }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0 0.75rem;
  }
  .main-nav .nav-link {
    padding: 0.85rem 1.25rem;
    width: 100%;
    text-align: center;
    border-radius: 0;
  }
  .nav-item--dropdown {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-item--dropdown .nav-link-row {
    width: 100%;
  }
  .nav-item--dropdown .nav-link--trigger {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  .nav-submenu-toggle {
    display: inline-flex;
    position: static;
    width: 2rem;
    height: 2rem;
    margin-inline-end: 0.65rem;
    margin-inline-start: -0.15rem;
    overflow: visible;
    clip: auto;
    color: var(--header-text-muted);
  }
  .nav-link--trigger::after {
    display: none;
  }
  .nav-submenu-toggle:hover,
  .nav-submenu-toggle:focus-visible {
    color: var(--header-text);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
  }
  .nav-dropdown {
    position: static;
    inset-inline-start: auto;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.14);
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .nav-item--dropdown:hover .nav-dropdown,
  .nav-item--dropdown:focus-within .nav-dropdown {
    transform: none;
    pointer-events: none;
  }
  .nav-item--dropdown.open .nav-dropdown {
    pointer-events: auto;
    max-height: 12rem;
  }
  .nav-dropdown-link {
    padding: 0.72rem 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    border-radius: 0;
    white-space: normal;
  }
  .nav-dropdown-link:hover,
  .nav-dropdown-link:focus-visible {
    background: rgba(255, 255, 255, 0.06);
  }
  .nav-burger { display: flex; }
  .services-grid { grid-template-columns: 1fr; max-width: none; width: 100%; margin-inline: 0; gap: 1.15rem; }
  .industries-grid, .sim-grid { grid-template-columns: 1fr 1fr; }
  .process-layout { grid-template-columns: 1fr; gap: 2.25rem; }
  .process-intro { position: static; text-align: start; }
  .process-intro .section-title { text-align: start; }
  body[data-page="services"] .content-split,
  body[data-page="services-consulting"] .content-split,
  body[data-page="services-custom-solutions"] .content-split,
  body[data-page="services-training"] .content-split { grid-template-columns: 1fr; gap: 2.25rem; }
  body[data-page="services"] #development .content-split-lead,
  body[data-page="services-custom-solutions"] #development .content-split-lead { position: static; }
  .services-hub-grid { grid-template-columns: 1fr; }
  body[data-page="home"] .home-pair--services-industries {
    grid-template-columns: 1fr;
  }
  body[data-page="home"] .home-pair--services-industries > #services,
  body[data-page="home"] .home-pair--services-industries > #industries {
    border-inline-end: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2.25rem;
  }
  body[data-page="home"] .home-pair--services-industries > #industries,
  body[data-page="home"] .home-pair--services-industries > #process {
    padding-top: 2.25rem;
  }
  body[data-page="home"] .home-pair--services-industries > #process {
    padding-bottom: 2.25rem;
  }
  [data-theme="dark"] body[data-page="home"] .home-pair--services-industries > #services,
  [data-theme="dark"] body[data-page="home"] .home-pair--services-industries > #industries {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }
  body[data-page="home"] .home-pair--services-industries .services-home-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body[data-page="home"] .home-pair--services-industries .process-home-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="home"] .home-pair--process-simulation {
    grid-template-columns: 1fr;
  }
  body[data-page="home"] .home-pair--process-simulation > #simulation {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
  .vision-cards--page { grid-template-columns: 1fr; }
  .vmv-values-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  body[data-page="home"] #simulation .sim-home-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  body[data-page="home"] #simulation .sim-visual {
    width: 100%;
    max-width: 420px;
    justify-self: center;
  }
  body[data-page="home"] #simulation .sim-visual__media {
    /* Remove extra end padding that shifts the photo off-center on mobile */
    padding-inline-end: 0;
    padding-bottom: 0;
  }
  .about-statements { grid-template-columns: 1fr; }
  body[data-page="about"] #values .vmv-stack { grid-template-columns: 1fr; }
  .about-visual { max-width: min(100%, 340px); }
  body[data-page="home"] #about .about-visual {
    width: 75%;
    justify-self: center;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info { padding-inline-start: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual,
  .hero-stage { display: none; }
}

@media (max-width: 900px) {
  .ht-locations { display: none; }
}

@media (max-width: 760px) {
  .header-contact { display: none; }
  .header-primary-actions .header-cta { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .industries-grid, .sim-grid, .vision-cards, .vmv-values-grid, .form-row { grid-template-columns: 1fr; }
  .leader-grid { grid-template-columns: 1fr; gap: 1.15rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 3rem 0; }
  .vision-badge { inset-inline-start: 0.6rem; }
}

/* ============================================================
   MULTI-PAGE COMPONENTS
   ============================================================ */

/* ---------- Footer: 4-column + legal bar ---------- */
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.15fr; }
.footer-col--contact .footer-contact-label {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.footer-col--contact .footer-contact-offices {
  display: block;
  line-height: 1.55;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { text-align: start; }
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.footer-legal a,
.footer-legal-btn { font-size: 0.85rem; color: var(--footer-text-muted); transition: color 0.2s; }
.footer-legal a:hover,
.footer-legal-btn:hover { color: var(--footer-text); }
.footer-legal-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

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

/* ---------- Inner-page hero ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 90% at 85% 0%, rgba(194, 148, 72, 0.22), transparent 60%),
    var(--gradient-brand);
  color: var(--white);
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(194, 148, 72, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 148, 72, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, black 20%, transparent 75%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0.8rem 0 1rem;
  max-width: 18ch;
}
.page-hero .page-hero-sub {
  font-size: 1.1rem;
  color: var(--hero-text-muted);
  max-width: 60ch;
  font-weight: 300;
}
.page-hero .hero-kicker { margin-bottom: 0; }
.page-hero .hero-kicker--title {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0.5rem 0 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-transform: none;
  color: var(--white);
}
.page-hero .hero-kicker--title + h1 {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 28ch;
  margin: 0.35rem 0 1rem;
  color: var(--hero-text-muted);
}

.page-hero--with-logo .page-hero-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.page-hero--with-logo .page-hero-content:has(.page-hero-mark) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  width: 100%;
  grid-column: 1 / -1;
}
.page-hero-copy {
  min-width: 0;
}
.page-hero-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page-hero-mark::before {
  content: '';
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.32), transparent 68%);
  filter: blur(14px);
  animation: page-hero-logo-glow 6s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.55;
}
.page-hero-logo {
  position: relative;
  z-index: 1;
  width: clamp(96px, 14vw, 168px);
  height: auto;
  opacity: 0.28;
  mix-blend-mode: soft-light;
  filter: drop-shadow(0 8px 24px rgba(194, 148, 72, 0.22)) saturate(0.95);
  animation: page-hero-logo-float 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes page-hero-logo-float {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-12px) scale(1.04); }
  70% { transform: translateY(8px) scale(0.98); }
}
@keyframes page-hero-logo-glow {
  0%, 100% { opacity: 0.4; transform: scale(0.92); }
  50% { opacity: 0.9; transform: scale(1.1); }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.4rem;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.7); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb [aria-current="page"] { color: var(--gold-light); }
/* Light-on-light breadcrumb variant (inside body sections) */
.breadcrumb.dark { color: var(--text-muted); margin-bottom: 1.4rem; }
.breadcrumb.dark a { color: var(--text-muted); }
.breadcrumb.dark a:hover { color: var(--accent-text); }

/* ---------- Generic content helpers ---------- */
.lead { font-size: 1.12rem; color: var(--text-muted); max-width: 65ch; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; color: var(--heading); margin: 2.2rem 0 0.8rem; font-weight: 700; }
.prose h3 { font-size: 1.15rem; color: var(--heading); margin: 1.6rem 0 0.5rem; font-weight: 700; }
.prose p { color: var(--text-muted); margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem; padding-inline-start: 1.2rem; }
.prose ul li { color: var(--text-muted); margin-bottom: 0.4rem; list-style: disc; }
.prose a { color: var(--accent-text); text-decoration: underline; }

/* ---------- Pricing ---------- */
.pricing { background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(194, 148, 72, 0.45); }
.price-card.featured {
  background: var(--gradient-brand-soft);
  border-color: transparent;
  color: var(--white);
}
.price-card.featured h3,
.price-card.featured .price-amount { color: var(--white); }
.price-card.featured p,
.price-card.featured .price-features li { color: rgba(255, 255, 255, 0.85); }
.price-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gradient-gold);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  margin-bottom: 1rem;
}
.price-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--heading); margin-bottom: 0.4rem; }
.price-tagline { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.price-amount { font-size: 1.6rem; font-weight: 700; color: var(--heading); margin-bottom: 0.2rem; }
.price-amount span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.price-features { display: grid; gap: 0.6rem; margin: 1.4rem 0 1.8rem; }
.price-features li {
  position: relative;
  padding-inline-start: 1.4rem;
  font-size: 0.94rem;
  color: var(--text);
}
.price-features li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold-dark);
  font-weight: 700;
}
.price-card.featured .price-features li::before { color: var(--gold-light); }
.price-card .btn { margin-top: auto; }

/* ---------- FAQ accordion ---------- */
.faq { background: var(--surface-alt); }
.faq-wrap { max-width: none; margin-inline: 0; display: grid; gap: 0.9rem; }
.faq-group-title { font-size: 1.15rem; font-weight: 700; color: var(--heading); margin: 1.4rem 0 0.2rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold-dark);
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.3rem 1.2rem; color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.case-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem 1.8rem;
}
.case-card .img-placeholder--wide {
  border-radius: 0;
  border-top: none;
  border-inline: none;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(194, 148, 72, 0.45); }
.case-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.case-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--surface-pale);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
}
.case-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--heading); margin-bottom: 0.6rem; }
.case-card p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 1.2rem; }
.case-metrics { display: flex; gap: 1.6rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.case-metric .m-num { font-size: 1.5rem; font-weight: 700; color: var(--accent-strong); }
.case-metric .m-label { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.blog-grid--two {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  max-width: none;
  margin-inline: 0;
}
.blog-grid--two .img-placeholder--thumb {
  aspect-ratio: 16 / 10;
  min-height: 88px;
}
.blog-grid--two .post-body { padding: 1rem 1.1rem 1.15rem; }
.blog-grid--two .post-meta { font-size: 0.7rem; margin-bottom: 0.4rem; }
.blog-grid--two .post-card h3 {
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}
.blog-grid--two .post-card p {
  font-size: 0.84rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.blog-grid--two .post-link { font-size: 0.82rem; }
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(194, 148, 72, 0.45); }
.post-thumb {
  height: auto;
  min-height: 110px;
  border-radius: 0;
  border-top: none;
  border-inline: none;
  background: transparent;
}
.post-thumb::after { display: none; }
.post-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.06em; }
.post-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--heading); margin-bottom: 0.5rem; }
.post-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1rem; }
.post-link { margin-top: auto; color: var(--accent-text); font-weight: 700; font-size: 0.9rem; }

/* ---------- Blog articles ---------- */
.page-hero--compact { padding-bottom: 2rem; }
.blog-article-meta { margin-top: 0.75rem; }
.blog-article-section { padding-top: 0; }
.blog-article-layout { max-width: none; margin-inline: 0; }
.blog-article-hero { margin-bottom: 2rem; }
.blog-deck {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--heading);
  font-weight: 500;
  margin-bottom: 1.6rem;
}
.blog-companion {
  margin-top: 2.5rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.blog-companion-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.blog-companion-link {
  color: var(--accent-text);
  font-weight: 700;
  font-size: 1rem;
}
.blog-article-back { margin-top: 2rem; text-align: start; }

/* ---------- News ---------- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: none;
  margin-inline: 0;
}
.news-item {
  display: grid;
  grid-template-columns: minmax(5.5rem, auto) 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.4rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.news-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(194, 148, 72, 0.45);
}
.news-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.news-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-text);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.news-category {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.news-body h2,
.news-body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.45rem;
}
.news-body p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin: 0;
}
.news-list--page .news-item {
  grid-template-columns: minmax(7rem, auto) 1fr;
  padding: 1.6rem 1.8rem;
}
.news-list--page .news-body h2 { font-size: 1.25rem; }
.news-home { background: var(--surface-alt, var(--bg)); }
.section-foot { margin-top: 2rem; text-align: start; }
.blog-home .section-foot .btn-ghost,
.news-home .section-foot .btn-ghost,
.blog-article-back .btn-ghost {
  border-color: rgba(194, 148, 72, 0.45);
  color: var(--accent-text);
  background: var(--surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.blog-home .section-foot .btn-ghost:hover,
.news-home .section-foot .btn-ghost:hover,
.blog-article-back .btn-ghost:hover {
  background: rgba(194, 148, 72, 0.1);
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}
[data-theme="dark"] .blog-home .section-foot .btn-ghost,
[data-theme="dark"] .news-home .section-foot .btn-ghost,
[data-theme="dark"] .blog-article-back .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(194, 148, 72, 0.55);
  color: var(--gold-light);
}
[data-theme="dark"] .blog-home .section-foot .btn-ghost:hover,
[data-theme="dark"] .news-home .section-foot .btn-ghost:hover,
[data-theme="dark"] .blog-article-back .btn-ghost:hover {
  background: rgba(194, 148, 72, 0.14);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ---------- Two-column content ---------- */
.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.content-split:not(:has(.visual-card--chat)) {
  grid-template-columns: 1fr;
  max-width: none;
}

/* ---------- Newsletter / lead magnet ---------- */
.newsletter {
  background: var(--gradient-brand-soft);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.6rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  text-align: start;
}
.newsletter h3 { font-size: 1.5rem; font-weight: 700; }
.newsletter p { color: rgba(255, 255, 255, 0.8); max-width: 50ch; }
.newsletter form { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: flex-start; width: 100%; max-width: none; }
.newsletter input {
  flex: 1;
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-family: inherit;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.5); }

@media (max-width: 1200px) {
  .blog-grid--two { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: none; margin-inline: 0; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .content-split { grid-template-columns: 1fr; gap: 2.4rem; }
}

@media (max-width: 760px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid--two { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 0.6rem; }
  .footer-bottom-inner { justify-content: flex-start; text-align: start; }
  .footer-bottom-inner .footer-legal {
    width: 100%;
    justify-content: flex-start;
    text-align: start;
  }
}

/* ============================================================
   GLASSMORPHISM DESIGN LAYER  (premium refactor)
   Overrides above; preserves all classes/IDs & JS hooks.
   ============================================================ */

/* ---------- Typography polish (Inter) ---------- */
.section-title { font-weight: 800; letter-spacing: -0.025em; }
.section-kicker { letter-spacing: 0.24em; }
.brand-name { font-weight: 800; letter-spacing: 0.14em; }
h1, h2, h3, .price-amount, .stat-num, .case-metric .m-num { letter-spacing: -0.02em; }

/* ---------- Breathable spacing ---------- */
.section { padding: 4.5rem 0; }
.section-head { margin-bottom: 2.25rem; }
.services-grid, .industries-grid, .sim-grid, .leader-grid,
.process-timeline, .pricing-grid, .portfolio-grid, .blog-grid,
.vision-cards { gap: 1.9rem; }
.about-grid { gap: 3rem; }
.service-card, .price-card { padding: 2.6rem 2.2rem; }
.service-card.service-card--split { padding: 0; }
.case-card { padding: 0; }
.sim-card, .industry-card, .leader-card { padding: 2.2rem 2rem; }

/* Let the ambient mesh show through so frosted surfaces read as glass */
.about, .services, .industries, .leadership,
.process, .sim, .contact, .pricing, .faq { background: transparent; }
#services.services { background: var(--surface-alt); }
#industries.industries { background: var(--surface-alt); }

/* ---------- Frosted glass: light-surface cards ---------- */
.service-card,
.industry-card,
.industry-tile,
.leader-card,
.process-step-body,
.sim-card,
.price-card,
.case-card,
.post-card,
.visual-card,
.contact-form,
.value-chip,
.faq-item {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}

/* ---------- White-glass card on an already-dark section ---------- */
.vision-card {
  background: rgba(255, 255, 255, 0.07) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
}

/* ---------- Dark-glass cards sitting on light sections (white text) ---------- */
.service-card-featured,
.price-card.featured,
.newsletter {
  background: rgba(13, 27, 56, 0.62) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 34px 74px -30px rgba(8, 16, 36, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}

/* ---------- Fluid hover transitions ---------- */
.service-card, .industry-card, .leader-card, .sim-card,
.price-card, .case-card, .post-card, .value-chip, .vision-card, .faq-item {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
              border-color 0.3s ease, background 0.3s ease;
  will-change: transform;
}
.service-card:hover, .industry-card:hover, .industry-tile:hover, .leader-card:hover, .sim-card:hover,
.price-card:hover, .case-card:hover, .post-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(194, 148, 72, 0.55);
}
.value-chip:hover { transform: translateY(-4px); border-color: rgba(194, 148, 72, 0.55); }
.vision-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.12) !important; }

/* Buttons — smooth, premium motion */
.btn {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn:hover { transform: translateY(-3px) scale(1.015); }
.btn:active { transform: translateY(-1px) scale(0.99); }
.btn-ghost:not(.btn-ghost--light) { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* Icon / link micro-interactions */
.icon-btn, .footer-social a, .nav-burger span { transition: transform 0.3s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.icon-btn:hover { transform: translateY(-2px) rotate(-8deg); }
.footer-social a:hover { transform: translateY(-3px); }
.post-link, .breadcrumb a { transition: color 0.25s ease, letter-spacing 0.25s ease; }
.post-link:hover { letter-spacing: 0.02em; }

/* ---------- Header: stronger frosted glass ---------- */
.header-shell {
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border-radius: 0;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}

/* ---------- Glass form fields ---------- */
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* ---------- Marquee as a glass strip ---------- */
.marquee {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--accent-text);
  border-block: 1px solid var(--glass-hairline);
}
.marquee-track i { color: var(--gold); }

/* ============================================================
   HERO — completely redesigned, high-contrast glass
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
}
.hero-glow-3 {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: var(--gold-light);
  filter: blur(130px);
  opacity: 0.12;
  top: 38%; inset-inline-start: 42%;
}
.hero-inner { grid-template-columns: 1.12fr 0.88fr; gap: 4rem; }
.hero-content { max-width: 680px; }

/* High-contrast headline */
.hero-title {
  font-size: clamp(2.9rem, 6.6vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.6rem;
}
.hero-title .accent {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 1.22rem; max-width: 560px; color: var(--hero-text-muted); margin-bottom: 2.6rem; }
.hero-cta { margin-bottom: 3.4rem; gap: 1.1rem; }
.hero-cta--end { margin-bottom: 0; margin-top: 0.5rem; }

/* Hero kicker — plain label (no pill) */
.hero-kicker {
  background: none;
  border: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--gold-light);
}

/* Hero pillar list — frameless chips */
.hero-pillars { gap: 1rem; }
.pillar-chip {
  transition: transform 0.4s var(--ease), color 0.3s ease;
}
.pillar-chip:hover { transform: translateY(-2px); color: var(--gold-light); }

/* Hero glass panel cluster (parallax via #heroStage) */
.hero-visual {
  position: relative;
  /* Room for panel-a (inset-inline-end: -7%) inside overflow-hidden .hero-inner */
  padding-inline-end: clamp(2rem, 5vw, 3.5rem);
}
.hero-stage { perspective: 1300px; min-height: 480px; }
.stage-inner { width: min(440px, 100%); }
.glass-panel {
  position: absolute;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 36px 80px -34px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform-style: preserve-3d;
}
.panel-main {
  inset: 10% 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.9rem;
  transform: translateZ(40px);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.panel-logo { width: 60px; height: auto; filter: drop-shadow(0 10px 26px rgba(194, 148, 72, 0.5)); }
.panel-grid-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.panel-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.85);
  animation: panelLivePulse 1.6s ease-in-out infinite;
}
.panel-signals { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; min-height: 0; }
.panel-signal { display: flex; flex-direction: column; gap: 0.4rem; min-height: 0; }
.panel-signal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.panel-signal-lbl { color: rgba(255, 255, 255, 0.65); text-transform: uppercase; }
.panel-signal-hz {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.7rem;
}
.panel-signal-track {
  position: relative;
  flex: 1;
  min-height: 58px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.panel-signal--gold .panel-signal-path {
  stroke: var(--gold-light);
  filter: drop-shadow(0 0 6px rgba(226, 191, 121, 0.55));
}
.panel-signal--gold .panel-signal-path--ghost { stroke: rgba(226, 191, 121, 0.35); }
.panel-signal--gold .panel-signal-hz { color: var(--gold-light); }
.panel-signal--gold .panel-signal-scan {
  background: linear-gradient(to bottom, transparent, rgba(74, 222, 128, 0.9), transparent);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
}
.panel-signal--cyan .panel-signal-path {
  stroke: #5eead4;
  filter: drop-shadow(0 0 6px rgba(94, 234, 212, 0.55));
}
.panel-signal--cyan .panel-signal-path--ghost { stroke: rgba(94, 234, 212, 0.32); }
.panel-signal--cyan .panel-signal-hz { color: #5eead4; }
.panel-signal--cyan .panel-signal-scan {
  background: linear-gradient(to bottom, transparent, rgba(56, 189, 248, 0.95), transparent);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.65);
}
.panel-signal-scroll--alt { animation-duration: 4.2s; animation-direction: reverse; }
.panel-signal-scan--alt { animation-duration: 2.6s; animation-delay: 0.8s; }
.panel-signal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 16px, 24px 100%;
  pointer-events: none;
}
.panel-signal-scroll {
  display: flex;
  width: 200%;
  height: 100%;
  animation: panelSignalScroll 5s linear infinite;
}
.panel-signal-wave {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: block;
}
.panel-signal-path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.panel-signal-path--ghost {
  stroke-width: 1.5;
  filter: none;
}
.panel-signal-scan {
  position: absolute;
  inset-block: 0;
  width: 2px;
  inset-inline-start: 62%;
  animation: panelSignalScan 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes panelSignalScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes panelSignalScan {
  0%, 100% { inset-inline-start: 8%; opacity: 0.4; }
  50% { inset-inline-start: 88%; opacity: 1; }
}
@keyframes panelLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.panel-metric .m-val { display: block; font-size: 2.7rem; font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1; }
.panel-metric .m-lbl { color: var(--gold-light); font-size: 0.85rem; font-weight: 600; }

/* Hero panel — Metric-first layout */
.panel-layout--metric {
  justify-content: flex-start;
  gap: 1rem;
}
.panel-layout--metric .panel-head--compact .panel-logo { width: 44px; }
.panel-layout--metric .panel-metric--hero {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}
.panel-layout--metric .panel-metric--hero .m-val { font-size: 3.2rem; }
.panel-layout--metric .panel-signals--combined { flex: 1; gap: 0.65rem; }
.panel-layout--metric .panel-signal-track--combined {
  min-height: 110px;
  position: relative;
}
.panel-layout--metric .panel-signal-layer {
  position: absolute;
  inset: 0;
}
.panel-layout--metric .panel-signal-layer--cyan { opacity: 0.72; mix-blend-mode: screen; }
.panel-layout--metric .panel-signal-meta--dual {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.panel-float {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.panel-float .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 12px var(--gold-light); }
.panel-a { top: 1%; inset-inline-end: -7%; transform: translateZ(95px); animation: floaty 7s ease-in-out infinite; }
.panel-b { bottom: 5%; inset-inline-start: -9%; transform: translateZ(125px); animation: floaty 6s ease-in-out infinite 0.6s; }

@media (max-width: 860px) {
  .hero-visual { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .service-card:hover, .industry-card:hover, .leader-card:hover,
  .sim-card:hover, .price-card:hover, .case-card:hover, .post-card:hover,
  .value-chip:hover, .vision-card:hover, .pillar-chip:hover,
  .icon-btn:hover, .footer-social a:hover { transform: none; }
  .panel-a, .panel-b { animation: none; }
  .panel-live-dot, .panel-signal-scroll, .panel-signal-scan,
  .hero-inner-signal-scroll, .hero-inner-signal-scan { animation: none; }
  .hero-neural-glow { animation: none; }
  .hero-slider-bg__slide,
  .hero-panel { transition: none; }
  .hero-mesh,
  .hero-orb,
  .hero-shimmer,
  .hero-slider-bg__slide.is-active::after,
  .hero[data-hero-slider] .hero-glow-1,
  .hero[data-hero-slider] .hero-glow-2,
  .hero[data-hero-slider] .hero-glow-3,
  .hero .hero-glow-1,
  .hero .hero-glow-2,
  .hero .hero-glow-3 { animation: none; }
  .page-hero-logo,
  .page-hero-mark::before { animation: none !important; }
}

/* ============================================================
   OBSIDIAN PRISM — Design System Implementation
   Glassmorphism · Dark high-contrast · Enterprise SaaS
   ============================================================ */

/* Mono numerals for metrics, stats, pricing */
.stat-num, .stat-suffix, .panel-metric .m-val, .price-amount,
.step-num, .service-num, .chip-num, .vision-num, .case-metric .m-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Header: intensify blur + subtle scale on scroll */
.header-shell {
  transform: scale(1);
  transform-origin: top center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.3s ease, transform 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
}
.site-header.scrolled .header-shell {
  transform: none;
  -webkit-backdrop-filter: blur(28px) saturate(185%);
  backdrop-filter: blur(28px) saturate(185%);
}

/* Nav links: glass hover fill */
.nav-link {
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  transition: color 0.25s ease, background 0.3s var(--ease);
}
.nav-link:not(.nav-link--trigger)::after { display: none; }
.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--header-text);
}
.nav-item--dropdown.is-active > .nav-link-row > .nav-link--trigger.active {
  background: rgba(255, 255, 255, 0.12);
}

/* Hero: 55 / 45 split, vibrant gold accent */
.hero-inner { grid-template-columns: 1.1fr 0.9fr; }
.hero-title .accent {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Bento services grid — featured card spans 2 rows */
.services-bento {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  grid-template-rows: auto auto;
  align-items: stretch;
}
.services-bento:not(.services-bento--dev-first) .service-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.services-bento:not(.services-bento--dev-first) .service-card-featured {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
}
.services-bento:not(.services-bento--dev-first) .service-card:nth-child(3) { grid-column: 1; grid-row: 2; }

@media (max-width: 1020px) {
  .services-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-width: none;
    width: 100%;
    margin-inline: 0;
    gap: 1.15rem;
  }
  .services-bento .service-card,
  .services-bento .service-card-featured,
  .services-bento--dev-first .service-card-orchestration {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Glass stat cards */
.stats-glass {
  border-top: none;
  padding-top: 0;
  gap: 1.6rem;
}
.stats-glass .stat {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}
.stats-glass .stat:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(194, 148, 72, 0.45);
}
.stats-glass .stat-num,
.stats-glass .stat-suffix { color: var(--accent-strong); }

/* Sticky section nav (long inner pages) */
.section-nav {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 50;
  padding: 0.75rem 0;
  margin-bottom: 1rem;
}
.section-nav-inner {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.75rem;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: var(--glass-shadow);
}
.section-nav a {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.25s ease;
}
.section-nav a:hover { color: var(--heading); background: rgba(196, 165, 116, 0.14); }
.section-nav a.active {
  background: rgba(196, 165, 116, 0.22);
  color: var(--accent-text);
}
[data-theme="dark"] .section-nav a { color: var(--text-muted); }
[data-theme="dark"] .section-nav a.active { color: var(--gold-light); }

@media (max-width: 760px) {
  .section-nav { top: calc(var(--header-h-sm) + 14px); }
  .section-nav-inner { border-radius: var(--radius-lg); justify-content: flex-start; }
}

/* Footer: dark glass slab */
.site-footer {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(194, 148, 72, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(8, 21, 40, 0.96) 0%, rgba(6, 14, 28, 0.98) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border-top: 1px solid var(--header-border);
}
.footer-newsletter {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 0;
}
.newsletter-glass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 2.2rem;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.newsletter-glass h4 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.newsletter-glass p {
  font-size: 0.92rem;
  color: var(--footer-text-muted);
  max-width: 42ch;
}
.newsletter-form {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.newsletter-form input {
  min-width: 220px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.52); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.footer-badges {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--footer-text-muted);
}

/* Footer — compact mobile (logo, social, contact, legal) */
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 2rem 0 1.25rem;
    text-align: start;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-brand-link {
    margin-bottom: 0;
  }
  .footer-brand p,
  .footer-grid > .footer-col:not(.footer-col--contact) {
    display: none;
  }
  .footer-social {
    justify-content: flex-start;
    margin-top: 1rem;
  }
  .footer-col--contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer-col--contact h4 {
    margin-bottom: 0.15rem;
  }
  .footer-col--contact a,
  .footer-col--contact span {
    font-size: 0.88rem;
  }
  .footer-newsletter {
    display: none;
  }
  .footer-bottom {
    padding: 1rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .footer-bottom p {
    text-align: start;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--footer-text-muted);
  }
  .footer-legal {
    width: 100%;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    text-align: start;
    margin-inline: 0;
    gap: 0.45rem 0.85rem;
  }
  .footer-legal a,
  .footer-legal-btn {
    font-size: 0.78rem;
    text-align: start;
  }
}

/* Floating action button — contact shortcut on mobile */
.fab {
  position: fixed;
  bottom: 1.5rem;
  left: calc(var(--site-gutter-x) + env(safe-area-inset-left, 0px));
  right: auto;
  inset-inline-end: auto;
  inset-inline-start: auto;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-gold);
  color: var(--on-accent);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: var(--cta-shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.25s ease;
  overflow: hidden;
  isolation: isolate;
}
.fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-cta-gloss);
  pointer-events: none;
  z-index: -1;
}
.fab svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.fab:hover {
  transform: translateY(-4px) scale(1.05);
  filter: brightness(1.05);
  box-shadow: var(--cta-shadow-hover);
}
@media (min-width: 761px) {
  .fab { display: none; }
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: max(1.5rem, env(safe-area-inset-right, 0px));
  left: auto;
  inset-inline-start: auto;
  inset-inline-end: auto;
  z-index: 94;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(194, 148, 72, 0.45);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  color: var(--gold-light);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s ease;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 148, 72, 0.65);
  box-shadow: var(--glass-shadow-hover);
}
.scroll-top svg { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .scroll-top {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: max(1rem, env(safe-area-inset-right, 0px));
    width: 44px;
    height: 44px;
  }
  .scroll-top svg { width: 20px; height: 20px; }
}

/* ---------- Site agentic chatbot widget ---------- */
.site-chatbot {
  position: fixed;
  bottom: 1.5rem;
  left: calc(var(--site-gutter-x) + env(safe-area-inset-left, 0px));
  right: auto;
  inset-inline-end: auto;
  inset-inline-start: auto;
  z-index: 96;
  font-family: inherit;
}
.site-chatbot-toggle {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(194, 148, 72, 0.45);
  background:
    radial-gradient(circle at 30% 25%, rgba(194, 148, 72, 0.22), transparent 55%),
    linear-gradient(165deg, rgba(10, 24, 48, 0.98) 0%, rgba(6, 14, 28, 0.98) 100%);
  color: var(--gold-light);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-chatbot.is-open .site-chatbot-panel {
  display: flex;
  pointer-events: auto;
}
.site-chatbot-toggle:hover {
  transform: translateY(-3px);
  box-shadow: var(--cta-shadow-hover);
}
.site-chatbot-toggle svg { width: 24px; height: 24px; }
.site-chatbot-toggle-close { display: none; }
.site-chatbot.is-open .site-chatbot-toggle-open { display: none; }
.site-chatbot.is-open .site-chatbot-toggle-close { display: block; }

/* Mobile float stack — contact FAB above chatbot, pinned to physical left */
@media (max-width: 760px) {
  :root {
    --float-action-size: 52px;
    --float-action-gap: 0.5rem;
    --float-action-inset-x: calc(var(--site-gutter-x) + env(safe-area-inset-left, 0px));
    --float-action-base-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
  .fab {
    bottom: calc(var(--float-action-base-bottom) + var(--float-action-size) + var(--float-action-gap));
    left: var(--float-action-inset-x);
    right: auto;
    inset-inline-end: auto;
    inset-inline-start: auto;
    width: var(--float-action-size);
    height: var(--float-action-size);
  }
  .fab svg { width: 22px; height: 22px; }
  .site-chatbot {
    bottom: var(--float-action-base-bottom);
    left: var(--float-action-inset-x);
    right: auto;
    inset-inline-end: auto;
    inset-inline-start: auto;
  }
  .site-chatbot-toggle {
    width: var(--float-action-size);
    height: var(--float-action-size);
  }
  .site-chatbot-toggle svg { width: 22px; height: 22px; }
}

.site-chatbot-panel {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: auto;
  bottom: calc(100% + 0.75rem);
  width: min(380px, calc(100vw - 2rem));
  max-height: min(560px, calc(100vh - 6rem));
  display: none;
  flex-direction: column;
  z-index: 2;
  pointer-events: none;
  border-radius: calc(var(--radius-lg) - 2px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(194, 148, 72, 0.12), transparent 55%),
    linear-gradient(165deg, #001a36 0%, #002348 48%, #001528 100%);
  border: 1px solid rgba(194, 148, 72, 0.28);
  box-shadow: 0 24px 60px -20px rgba(0, 20, 45, 0.65);
  color: #fff;
}
.site-chatbot-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}
.site-chatbot-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  flex-shrink: 0;
}
.site-chatbot-meta { min-width: 0; flex: 1; }
.site-chatbot-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.site-chatbot-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 0.1rem;
}
.site-chatbot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
}
.site-chatbot-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.site-chatbot-close svg { width: 16px; height: 16px; }
.site-chatbot-close:hover { background: rgba(255, 255, 255, 0.14); }
.site-chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 200px;
}
.site-chatbot-msg { display: flex; flex-direction: column; gap: 0.45rem; max-width: 92%; }
.site-chatbot-msg--user { align-self: flex-end; align-items: flex-end; }
.site-chatbot-msg--agent { align-self: flex-start; }
.site-chatbot-bubble {
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.5;
}
.site-chatbot-msg--user .site-chatbot-bubble {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-end-end-radius: 4px;
}
.site-chatbot-msg--agent .site-chatbot-bubble {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-end-start-radius: 4px;
}
.site-chatbot-bubble strong { color: var(--gold-light); font-weight: 700; }
.site-chatbot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.site-chatbot-action {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--gold-light);
  border: 1px solid rgba(194, 148, 72, 0.45);
  background: rgba(194, 148, 72, 0.12);
  transition: background 0.2s, border-color 0.2s;
}
.site-chatbot-action:hover {
  background: rgba(194, 148, 72, 0.22);
  border-color: rgba(194, 148, 72, 0.65);
}
.site-chatbot-typing .site-chatbot-bubble {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
}
.site-chatbot-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  animation: agent-chat-dot 1.2s ease-in-out infinite;
}
.site-chatbot-typing span:nth-child(2) { animation-delay: 0.15s; }
.site-chatbot-typing span:nth-child(3) { animation-delay: 0.3s; }
.site-chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0 0.85rem 0.55rem;
  flex-shrink: 0;
}
.site-chatbot-quick button {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.66rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.site-chatbot-quick button:hover { border-color: rgba(194, 148, 72, 0.5); color: var(--gold-light); }
.site-chatbot-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}
.site-chatbot-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  font-family: inherit;
}
.site-chatbot-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.site-chatbot-form input:focus {
  outline: none;
  border-color: rgba(194, 148, 72, 0.55);
}
.site-chatbot-send {
  border: none;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--gradient-gold);
  color: var(--on-accent);
  font-family: inherit;
  white-space: nowrap;
}
.site-chatbot-open .fab { opacity: 0; pointer-events: none; }
@media (max-width: 480px) {
  .site-chatbot-panel {
    width: calc(100vw - 1.5rem);
    max-height: min(70vh, 520px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-chatbot-typing span { animation: none !important; opacity: 0.7; }
}

/* Glass pricing tab strip (pricing page) */
.pricing-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 2.5rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: var(--glass-shadow);
}
.pricing-tab {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.25s ease;
}
.pricing-tab.active,
.pricing-tab:hover {
  background: rgba(194, 148, 72, 0.18);
  color: var(--accent-text);
}
[data-theme="dark"] .pricing-tab.active { color: var(--gold-light); }

/* ---------- Hero kinetic lines (Pulse-inspired, i18n-safe) ---------- */
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: hero-line-in 0.95s var(--ease) forwards;
}
.hero-line-1,
.hero-line-2 { white-space: nowrap; }
.hero-title .hero-line-2.accent {
  line-height: 1.12;
  padding-block-end: 0.12em;
  margin-block-end: 0.04em;
}
@media (max-width: 520px) {
  .hero-line-1,
  .hero-line-2 { white-space: normal; }
}
@keyframes hero-line-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Trust bar / homepage values ---------- */
.trust-bar {
  background: transparent;
  padding: 0 0 2.75rem;
}
.trust-bar-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(9rem, 0.32fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 1.15rem 0;
  border: none;
  border-block: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  overflow: visible;
}
.trust-bar-col--label {
  align-self: start;
  padding-top: 0.15rem;
}
.trust-bar-col--values {
  min-width: 0;
}
.trust-bar-inner::before { display: none; }
.trust-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  border: none;
  white-space: nowrap;
}
.trust-bar .value-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  justify-items: start;
  gap: 0.55rem clamp(1rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: none;
}
.trust-bar .value-item {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.trust-bar .value-item::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.48rem;
  opacity: 0.75;
  flex-shrink: 0;
  line-height: 1.6;
}
.trust-bar .value-item span {
  white-space: normal;
}
[data-theme="dark"] .trust-bar .value-item {
  color: rgba(255, 255, 255, 0.78);
}
[data-theme="dark"] .trust-bar-inner { border-block-color: rgba(255, 255, 255, 0.12); }
[data-theme="dark"] .trust-label { color: var(--gold-light); }

@media (max-width: 900px) {
  .trust-bar-inner {
    grid-template-columns: minmax(7rem, 0.38fr) minmax(0, 1fr);
    gap: 1.15rem;
    padding: 0.95rem 0;
  }
  .trust-label {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    white-space: normal;
    line-height: 1.45;
  }
}
@media (max-width: 760px) {
  .trust-bar .value-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .trust-bar-inner {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .trust-bar-col--values .value-list {
    max-width: none;
    grid-template-columns: 1fr;
  }
}

/* ---------- Industries bento (legacy) ---------- */
.industries-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 1.9rem;
}
.industries-bento .industry-featured {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  padding: 2.4rem 2rem;
  background: rgba(0, 35, 72, 0.72) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--header-border) !important;
  color: var(--text-inverse);
}
.industries-bento .industry-featured h3 { color: var(--text-inverse); font-size: 1.35rem; }
.industries-bento .industry-featured p { color: var(--text-inverse-muted); }
.industries-bento .industry-featured .industry-icon {
  width: 56px; height: 56px;
  margin-bottom: 1.25rem;
}
.industries-bento .industry-card:nth-child(2) { grid-column: 3; grid-row: 1; }
.industries-bento .industry-card:nth-child(3) { grid-column: 4; grid-row: 1; }
.industries-bento .industry-card:nth-child(4) { grid-column: 3; grid-row: 2; }
.industries-bento .industry-card:nth-child(5) { grid-column: 4; grid-row: 2; }
.industries-bento .industry-card:nth-child(6) {
  grid-column: 1 / span 2;
  grid-row: 3;
}

/* ---------- Industries showcase (split + tiles) ---------- */
.industries-showcase {
  max-width: none;
  margin: 0;
  text-align: start;
}
.industries-intro {
  position: static;
}
.industries-intro .section-title { margin-bottom: 1rem; }
.industries-intro .section-text {
  margin-bottom: 1.75rem;
  max-width: none;
  color: var(--text-muted);
}
.industries-visual { width: 100%; }
.industries-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.industries-tiles--page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.industry-tile {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}
.industry-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(194, 148, 72, 0.45);
}
.industry-tile .industry-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  flex-shrink: 0;
}
.industry-tile .industry-icon svg { width: 20px; height: 20px; }
.industry-tile-body { min-width: 0; flex: 1; }
.industry-tile-body h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.industry-tile-body p {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}
.industries-tiles:not(.industries-tiles--page) .industry-tile {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.industries-tiles:not(.industries-tiles--page) .industry-tile .img-placeholder--thumb {
  min-height: 96px;
  margin-bottom: 0;
  border-radius: 0;
  border-inline: none;
  border-top: none;
}
.industries-tiles:not(.industries-tiles--page) .industry-tile-body {
  padding: 1rem 1.1rem 1.15rem;
}
.industries-tiles--page .industry-tile {
  flex-direction: column;
  padding: 1.5rem 1.35rem;
}
.industries-tiles--page .industry-tile .industry-icon {
  width: 48px;
  height: 48px;
}
.industries-tiles--page .industry-tile-body h3 { font-size: 1.05rem; }
.industries-tiles--page .industry-tile-body p { font-size: 0.9rem; }

@media (max-width: 1020px) {
  .industries-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .industries-bento .industry-card,
  .industries-bento .industry-featured {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .industries-showcase {
    text-align: start;
  }
  .industries-tiles--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .industries-bento { grid-template-columns: 1fr; }
  .industries-tiles,
  .industries-tiles--page { grid-template-columns: 1fr; }
  .industries-tiles--page .industry-tile { flex-direction: row; }
}
@media (max-width: 480px) {
  .industries-tiles--page .industry-tile { flex-direction: column; }
}

/* ---------- Pricing tab highlight ---------- */
.pricing-grid .price-card { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), opacity 0.35s ease, border-color 0.3s ease; }
.pricing-grid .price-card.pricing-dim { opacity: 0.55; transform: scale(0.98); }
.pricing-grid .price-card.pricing-focus {
  opacity: 1;
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(194, 148, 72, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .pricing-grid .price-card.pricing-dim,
  .pricing-grid .price-card.pricing-focus { transform: none; opacity: 1; }
}

/* ============================================================
   MOTION SYSTEM — richer movement (respects reduced-motion)
   ============================================================ */

/* Hero load cascade */
.hero-fade {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-fade-up 0.8s var(--ease) forwards;
  animation-delay: calc(0.08s + var(--hero-i, 0) * 0.1s);
}
@keyframes hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

.hero-line {
  animation-duration: 0.95s;
}
.hero-line-1 { animation-delay: 0.14s; }
.hero-line-2 { animation-delay: 0.36s; }

/* Hero scroll parallax layers (transform set by JS) */
.hero-content,
.hero-visual {
  transition: transform 0.12s linear;
  will-change: transform;
}

/* Ambient hero motion */
.hero-glow-1 { animation: glow-drift-a 14s ease-in-out infinite alternate; }
.hero-glow-2 { animation: glow-drift-b 18s ease-in-out infinite alternate; }
.hero-glow-3 { animation: glow-drift-c 16s ease-in-out infinite alternate -4s; }
@keyframes glow-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-24px, 18px) scale(1.06); }
}
@keyframes glow-drift-b {
  from { transform: translate(0, 0); }
  to { transform: translate(20px, -14px); }
}
@keyframes glow-drift-c {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-12px, -20px) scale(1.05); }
}

.hero-grid {
  animation: grid-drift 48s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 52px 52px, 52px 52px; }
}

.glass-panel.panel-main {
  animation: panel-float 9s ease-in-out infinite;
}
@keyframes panel-float {
  0%, 100% { transform: translateZ(40px) translateY(0); }
  50% { transform: translateZ(48px) translateY(-12px); }
}

.panel-grid-tag {
  position: relative;
  padding-inline-start: 0.9rem;
}
.panel-grid-tag::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

.panel-float .dot {
  animation: live-pulse-gold 2.4s ease-in-out infinite;
}
@keyframes live-pulse-gold {
  0%, 100% { box-shadow: 0 0 8px var(--gold-light); transform: scale(1); }
  50% { box-shadow: 0 0 16px var(--gold-light); transform: scale(1.15); }
}

/* Staggered motion groups */
.motion-group .reveal {
  transition-duration: 0.75s;
}

/* Card hover — slight 3D tilt */
.service-card:hover,
.industry-card:hover,
.case-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-1deg);
}
.stats-glass .stat:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Section titles breathe in */
.section-head.reveal {
  transform: translateY(36px) scale(0.98);
}
.section-head.reveal.visible {
  transform: translateY(0) scale(1);
}

/* Nav active pill transition */
.nav-link {
  transition: color 0.25s ease, background 0.35s var(--ease), transform 0.35s var(--ease);
}
.nav-link.active {
  transform: translateY(-1px);
}

/* Pricing tab sliding feel */
.pricing-tab {
  transition: background 0.35s var(--ease), color 0.25s ease, transform 0.35s var(--ease);
}
.pricing-tab.active {
  transform: scale(1.04);
}

/* ---------- Hero — mobile & tablet ---------- */
@media (max-width: 860px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: calc(var(--header-h) + 1.25rem) 0 2.75rem;
  }
  .hero-content {
    max-width: none;
    width: 100%;
  }
  body[data-page="home"] .hero .hero-content {
    padding-inline-start: 0;
  }
  .hero-title {
    font-size: clamp(2rem, 8.2vw, 2.85rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
  }
  .hero-sub {
    font-size: 1.02rem;
    line-height: 1.62;
    max-width: none;
    margin-bottom: 1.6rem;
  }
  .hero-kicker {
    display: block;
    width: fit-content;
    max-width: 100%;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    line-height: 1.45;
    padding: 0;
    margin: 0 0 1rem;
    overflow-wrap: anywhere;
  }
  .page-hero .hero-kicker--title {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
    letter-spacing: 0.01em;
    line-height: 1.12;
    padding: 0;
    margin: 0.35rem 0 0.25rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }
  .hero-cta--end { margin-bottom: 0; margin-top: 1.25rem; }
  .hero-cta .btn {
    width: auto;
    text-align: start;
    padding-inline: 1.25rem;
  }
  .hero-pillars {
    flex-direction: column;
    gap: 0.65rem;
  }
  .pillar-chip {
    width: 100%;
    padding: 0.35rem 0;
    font-size: 0.88rem;
  }
  .hero-glow-1,
  .hero-glow-2,
  .hero-glow-3 {
    opacity: 0.1;
    filter: blur(80px);
  }
  .hero-content,
  .hero-visual {
    transform: none !important;
  }
  .page-hero {
    padding: calc(var(--header-h) + 1.5rem) 0 2.5rem;
  }
  .page-hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
    max-width: none;
  }
  .page-hero .page-hero-sub {
    font-size: 1rem;
    line-height: 1.6;
  }
  .page-hero--with-logo .page-hero-inner {
    grid-template-columns: 1fr;
  }
  .page-hero--with-logo .page-hero-content:has(.page-hero-mark) {
    grid-template-columns: 1fr;
  }
  .page-hero-mark { display: none; }
}

@media (max-width: 480px) {
  .hero {
    padding: calc(var(--header-h) + 0.85rem) 0 2.25rem;
  }
  .hero-title {
    font-size: clamp(1.75rem, 9vw, 2.2rem);
  }
  .hero-sub { font-size: 0.96rem; }
  .hero-kicker {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }
  .page-hero .hero-kicker--title {
    font-size: clamp(1.7rem, 9vw, 2.1rem);
    letter-spacing: 0.01em;
  }
}

/* ---------- What We Do (services) — mobile ---------- */
@media (max-width: 760px) {
  .services.section {
    padding: 2.75rem 0;
  }
  .services .section-head {
    margin-bottom: 1.5rem;
    text-align: start;
    max-width: none;
  }
  .services-home-content {
    text-align: start;
    max-width: none;
  }
  .services .section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }
  .services .section-title {
    font-size: clamp(1.65rem, 6.2vw, 2.05rem);
    line-height: 1.15;
  }
  .services .section-text {
    font-size: 0.96rem;
    line-height: 1.62;
  }
  .services-bento {
    display: grid;
    gap: 1rem;
  }
  /* Development pillar first on mobile */
  .services-bento--dev-first .service-card-orchestration { order: 1; }
  .services-bento--dev-first .service-card:nth-child(2) { order: 2; }
  .services-bento--dev-first .service-card:nth-child(3) { order: 3; }
  .services-bento:not(.services-bento--dev-first) .service-card:nth-child(1) { order: 2; }
  .services-bento:not(.services-bento--dev-first) .service-card-featured { order: 1; }
  .services-bento:not(.services-bento--dev-first) .service-card:nth-child(3) { order: 3; }
  .services .service-card {
    padding: 1.45rem 1.2rem;
    border-radius: var(--radius-lg);
  }
  .services .service-card.service-card--split {
    padding: 0;
  }
  .services .service-num {
    font-size: 1.65rem;
    top: 0.75rem;
    inset-inline-end: 0.85rem;
  }
  .services .service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.9rem;
  }
  .services .service-icon svg {
    width: 21px;
    height: 21px;
  }
  .services .service-card h3 {
    font-size: 1.1rem;
    line-height: 1.25;
    padding-inline-end: 2.2rem;
    margin-bottom: 0.55rem;
  }
  .services .service-card p {
    font-size: 0.9rem;
    line-height: 1.58;
    margin-bottom: 0.9rem;
  }
  .services .service-card--split .service-card__cta h3,
  .services .service-card--split .service-card__cta p {
    color: #ffffff;
    padding-inline-end: 0;
    margin-bottom: 0;
  }
  .services .service-list {
    gap: 0.45rem;
  }
  .services .service-list li {
    font-size: 0.86rem;
    line-height: 1.45;
    padding-inline-start: 1.1rem;
  }
  .services .service-card-featured {
    min-height: 0;
  }
}

@media (max-width: 760px) and (hover: none) {
  .services .service-card:hover {
    transform: none;
    box-shadow: var(--glass-shadow);
  }
}

@media (max-width: 480px) {
  .services.section {
    padding: 2.75rem 0;
  }
  .services .service-card {
    padding: 1.25rem 1rem;
  }
  .services .service-card.service-card--split {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .hero-glow-1, .hero-glow-2, .hero-glow-3,
  .hero-grid,
  .glass-panel.panel-main,
  .panel-float .dot,
  .panel-grid-tag::before { animation: none !important; }
  .hero-fade,
  .hero-line { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-content, .hero-visual { transform: none !important; transition: none; }
  .service-card:hover, .industry-card:hover, .case-card:hover,
  .stats-glass .stat:hover { transform: none; }
  .nav-link.active, .pricing-tab.active { transform: none; }
  .nav-item--dropdown:hover .nav-dropdown,
  .nav-item--dropdown:focus-within .nav-dropdown {
    transition: none;
  }
  .nav-dropdown { transition: none; }
}

/* ---------- Cookie consent banner ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 120;
  padding: 0.85rem var(--site-gutter-x) calc(0.85rem + env(safe-area-inset-bottom));
  pointer-events: none;
}

.cookie-banner.is-open { pointer-events: auto; }

.cookie-banner__inner,
.cookie-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--surface-elevated);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow-hover);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 1.35rem;
}

.cookie-banner__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-banner__title {
  font-weight: 700;
  color: var(--heading);
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.cookie-banner__text {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: none;
}

.cookie-banner__text a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner__text a:hover { color: var(--accent-strong); }

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.cookie-banner__actions .btn-ghost {
  border-color: rgba(194, 148, 72, 0.45);
  color: var(--heading);
  background: var(--surface);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.cookie-banner__actions .btn-ghost:hover {
  background: rgba(194, 148, 72, 0.1);
  border-color: var(--accent-strong);
  color: var(--accent-text);
}

[data-theme="dark"] .cookie-banner__inner,
[data-theme="dark"] .cookie-panel {
  background: rgba(0, 26, 53, 0.94);
  border-color: var(--glass-border);
}

[data-theme="dark"] .cookie-banner__actions .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(194, 148, 72, 0.5);
  color: var(--gold-light);
}

[data-theme="dark"] .cookie-banner__actions .btn-ghost:hover {
  background: rgba(194, 148, 72, 0.14);
  border-color: var(--gold-light);
  color: var(--white);
}

@media (min-width: 761px) {
  .cookie-banner__actions {
    flex-wrap: nowrap;
  }
}

.cookie-panel {
  margin-top: 0.65rem;
  padding: 1rem 1.25rem 1.15rem;
}

.cookie-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.cookie-panel__row:last-of-type { border-bottom: none; }

.cookie-panel__name {
  font-weight: 700;
  color: var(--heading);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.cookie-panel__desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 48ch;
}

.cookie-panel__always {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-text);
  white-space: nowrap;
}

.cookie-panel__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.85rem;
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__ui {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--border);
  position: relative;
  transition: background 0.2s;
}

.cookie-toggle__ui::after {
  content: '';
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s;
}

.cookie-toggle input:checked + .cookie-toggle__ui {
  background: var(--gold);
}

.cookie-toggle input:checked + .cookie-toggle__ui::after {
  transform: translateX(20px);
}

html[dir="rtl"] .cookie-toggle input:checked + .cookie-toggle__ui::after {
  transform: translateX(-20px);
}

@media (max-width: 760px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cookie-banner__actions {
    justify-content: stretch;
    width: 100%;
  }
  .cookie-banner__actions .btn {
    flex: 1 1 calc(50% - 0.3rem);
    min-width: 0;
    text-align: center;
  }
  .cookie-banner__actions .cookie-banner__accept {
    flex: 1 1 100%;
  }
  .cookie-panel__row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Baseer product page ---------- */
.page-hero--baseer.hero {
  min-height: auto;
  align-items: stretch;
  padding: calc(var(--header-h) + 2.5rem) 0 3rem;
}
.page-hero--baseer.hero::after {
  display: none;
}
.page-hero--baseer .hero-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.page-hero--baseer .baseer-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero--baseer .baseer-hero-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 0.5rem;
}
.baseer-ar {
  font-weight: 700;
  color: var(--accent-text);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.page-hero-sub--lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
}
.page-hero--baseer .page-hero-sub--lead {
  color: rgba(255, 255, 255, 0.92);
}
.page-hero--baseer .page-hero-sub {
  color: var(--hero-text-muted);
}
.page-hero--baseer .hero-stage {
  min-height: clamp(380px, 42vw, 480px);
}
.page-hero--baseer .hero-visual {
  padding-inline-end: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 860px) {
  .page-hero--baseer .hero-inner { grid-template-columns: 1fr; }
}
.baseer-section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.baseer-section--alt { background: var(--surface-alt); }
.baseer-list { max-width: 52rem; }
.baseer-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.baseer-solution-grid .sim-card .section-kicker {
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
}
.baseer-solution-grid .sim-card p { margin: 0; }
.baseer-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.baseer-metric {
  padding: 1.35rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  text-align: start;
  transition: transform 0.2s, border-color 0.2s;
}
.baseer-metric:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 165, 116, 0.45);
}
.baseer-metric-num {
  display: block;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--accent-strong);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.55rem;
}
.baseer-metric-label {
  display: block;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.baseer-section--metrics .section-text { margin-bottom: 0; }
@media (max-width: 1100px) {
  .baseer-metrics { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .baseer-solution-grid { grid-template-columns: 1fr; }
  .baseer-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .baseer-metrics { grid-template-columns: 1fr; }
}
html[dir="rtl"] .baseer-hero-title { flex-direction: row-reverse; justify-content: flex-end; }
