/* ==========================================================================
   Elior design system
   Dark charcoal + emerald + cyan + ivory. Themes switch via [data-theme] on <html>.
   ========================================================================== */

/* ---------- 0. Fonts ----------
   Self-hosted variable fonts (latin subset, SIL Open Font License), preloaded by the layout.
   Serving them from the site's own origin avoids a render-blocking third-party request and does not
   share visitor IP addresses with a font CDN. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Wordmark only: Cinzel (SIL OFL) subset to the letters of "ELIOR LLC FZ" (3 KB). */
@font-face {
  font-family: "Elior Wordmark";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/fonts/cinzel-elior.woff2") format("woff2");
}

/* ---------- 1. Tokens ---------- */
:root,
:root[data-theme="emerald"] {
  --charcoal: #101820;
  --navy: #162a3a;
  --emerald: #00a896;
  --mint: #d8f3ee;
  --ivory: #f7f5ef;
  --graphite: #30343b;
  --cyan: #21d4fd;

  --primary: #00a896;
  --primary-ink: #00776b;          /* emerald text on light backgrounds (AA) */
  --primary-on-dark: #3fd6c3;      /* emerald text on dark backgrounds */
  --primary-contrast: #061512;     /* text on primary fills */
  --primary-soft: #d8f3ee;
  --accent: #21d4fd;
  --glow: 0, 168, 150;             /* rgb triplet for glows */
  --glow-2: 33, 212, 253;

  --bg: #f7f5ef;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #efede6;
  --text: #101820;
  --text-muted: #4a525c;
  --border: rgba(16, 24, 32, 0.1);
  --border-strong: rgba(16, 24, 32, 0.18);

  --dark-bg: #101820;
  --dark-bg-2: #162a3a;
  --dark-surface: rgba(255, 255, 255, 0.035);
  --dark-surface-2: rgba(255, 255, 255, 0.06);
  --dark-border: rgba(255, 255, 255, 0.09);
  --on-dark: #f7f5ef;
  --on-dark-muted: #aab5c0;

  --grad: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  --scheme: light;
}

:root[data-theme="midnight"] {
  --primary: #7c5cfc;
  --primary-ink: #a794ff;
  --primary-on-dark: #a794ff;
  --primary-contrast: #ffffff;
  --primary-soft: rgba(124, 92, 252, 0.14);
  --accent: #00d4ff;
  --glow: 124, 92, 252;
  --glow-2: 0, 212, 255;

  --bg: #080b12;
  --bg-alt: #0c1019;
  --surface: #111725;
  --surface-2: #161d2e;
  --text: #e9edf5;
  --text-muted: #9ea9bb;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --dark-bg: #05070c;
  --dark-bg-2: #0d1322;
  --on-dark-muted: #a3adbf;
  --scheme: dark;
}

:root[data-theme="gold"] {
  --primary: #c8a951;
  --primary-ink: #7a6220;
  --primary-on-dark: #dcc27a;
  --primary-contrast: #18212b;
  --primary-soft: #efe6cc;
  --accent: #e8d49a;
  --glow: 200, 169, 81;
  --glow-2: 232, 212, 154;

  --bg: #f5f2ea;
  --bg-alt: #fffdf8;
  --surface: #fffdf8;
  --surface-2: #ece7da;
  --text: #18212b;
  --text-muted: #4f5660;

  --dark-bg: #18212b;
  --dark-bg-2: #222d39;
}

:root {
  --font-head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 32, 0.06), 0 1px 1px rgba(16, 24, 32, 0.04);
  --shadow: 0 10px 30px -12px rgba(16, 24, 32, 0.18), 0 2px 6px rgba(16, 24, 32, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(16, 24, 32, 0.28);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t: 320ms;
  color-scheme: var(--scheme);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }

::selection { background: rgba(var(--glow), 0.28); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--primary);
  color: var(--primary-contrast);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.icon { flex-shrink: 0; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--white { background: var(--bg-alt); }
.section--sunk { background: var(--surface-2); }
.section--dark,
.section--navy {
  background: var(--dark-bg);
  color: var(--on-dark);
  --text: var(--on-dark);
  --text-muted: var(--on-dark-muted);
  --border: var(--dark-border);
  --surface: var(--dark-surface);
  --primary-ink: var(--primary-on-dark);
  isolation: isolate;
}
.section--navy { background: linear-gradient(180deg, var(--dark-bg-2) 0%, var(--dark-bg) 100%); }

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}

.glow {
  position: absolute;
  z-index: -1;
  width: 640px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow), 0.22) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(10px);
}
.glow--cyan { background: radial-gradient(circle, rgba(var(--glow-2), 0.16) 0%, transparent 65%); }

.stack > * + * { margin-top: 1rem; }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-ink);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.lead {
  font-size: clamp(1.06rem, 1.3vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 62ch;
}

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--text-muted); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split {
  max-width: none;
  display: grid;
  gap: 24px;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .section-head--split .lead { margin: 0; }
}
.section-head h2 { margin-bottom: 0.4em; }

/* ---------- 5. Buttons & links ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: inherit;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.btn .icon { transition: transform var(--t) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  --btn-bg: var(--primary);
  --btn-fg: var(--primary-contrast);
  box-shadow: 0 10px 30px -10px rgba(var(--glow), 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(var(--glow), 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); filter: brightness(1.05); }

.btn--ghost { --btn-border: var(--border-strong); --btn-fg: var(--text); }
.btn--ghost:hover { --btn-border: var(--primary); background: rgba(var(--glow), 0.06); }
.section--dark .btn--ghost,
.section--navy .btn--ghost,
.hero .btn--ghost,
.page-hero .btn--ghost { --btn-border: rgba(255, 255, 255, 0.22); --btn-fg: var(--on-dark); }

.btn--dark { --btn-bg: var(--dark-bg); --btn-fg: var(--on-dark); }
.btn--dark:hover { --btn-bg: var(--dark-bg-2); }

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--primary-ink);
}
.link-arrow .icon { transition: transform var(--t) var(--ease); }
.link-arrow:hover .icon,
a:hover .link-arrow .icon { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 6. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled,
.header.menu-open {
  background: rgba(16, 24, 32, 0.82);
  background: color-mix(in srgb, var(--dark-bg) 84%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--dark-border);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__logo { display: inline-flex; flex-shrink: 0; }
.header__cta { margin-left: auto; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.logo__mark { width: 42px; height: 42px; }
.logo__type { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__name { font-family: "Elior Wordmark", "Trajan Pro", Georgia, serif; font-weight: 600; font-size: 1.36rem; letter-spacing: 0.16em; margin-right: -0.16em; }
.logo__sub { font-family: "Elior Wordmark", "Trajan Pro", Georgia, serif; font-weight: 500; font-size: 0.62rem; letter-spacing: 0.34em; margin: 4px -0.34em 0 0; opacity: 0.8; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  background: none;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(247, 245, 239, 0.82);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover,
.nav__item.is-open > .nav__link,
.nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__link .icon { transition: transform var(--t) var(--ease); opacity: 0.7; }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.nav__item { position: relative; }

.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(760px, 90vw);
  translate: -50% 0;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--dark-bg) 94%, transparent);
  border: 1px solid var(--dark-border);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.mega--3 { grid-template-columns: repeat(3, 1fr); width: min(880px, 92vw); }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  transition: background var(--t-fast);
}
.mega__link:hover, .mega__link:focus-visible { background: rgba(255, 255, 255, 0.06); }
.mega__icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  color: var(--primary-on-dark);
  background: rgba(var(--glow), 0.12);
  border: 1px solid rgba(var(--glow), 0.2);
}
.mega__title { display: block; font-weight: 600; font-size: 0.92rem; color: #fff; line-height: 1.3; }
.mega__desc { display: block; font-size: 0.8rem; color: var(--on-dark-muted); line-height: 1.45; margin-top: 3px; }
.mega__footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 12px 4px;
  border-top: 1px solid var(--dark-border);
  font-size: 0.86rem;
  color: var(--on-dark-muted);
}
.mega__footer .link-arrow { color: var(--primary-on-dark); font-size: 0.88rem; }

.header__cta .btn { min-height: 44px; }
.header__cta-desktop { display: none; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: 8px;
  border-radius: 12px;
  border: 1px solid var(--dark-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark);
}

@media (min-width: 1140px) {
  .nav { display: block; margin-inline: auto; }
  .header__cta { margin-left: 0; }
  .header__cta-desktop { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--dark-bg);
  color: var(--on-dark);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px var(--gutter) 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--dark-border); }
.mobile-nav__link,
.mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 2px;
  background: none;
  border: 0;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left;
}
.mobile-nav__toggle .icon { transition: transform var(--t) var(--ease); }
.mobile-nav__toggle[aria-expanded="true"] .icon { transform: rotate(45deg); }
.mobile-nav__sub { list-style: none; margin: 0; padding: 0 0 16px; display: grid; gap: 2px; }
.mobile-nav__sub[hidden] { display: none; }
.mobile-nav__sub a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; color: var(--on-dark-muted); font-size: 1rem; }
.mobile-nav__sub a:hover { color: #fff; }
.mobile-nav__sub .icon { color: var(--primary-on-dark); }
.mobile-nav__cta { margin-top: 28px; display: grid; gap: 12px; }
.mobile-nav.is-open .mobile-nav__list > li { animation: navIn 480ms var(--ease) both; }
.mobile-nav.is-open .mobile-nav__list > li:nth-child(2) { animation-delay: 30ms; }
.mobile-nav.is-open .mobile-nav__list > li:nth-child(3) { animation-delay: 60ms; }
.mobile-nav.is-open .mobile-nav__list > li:nth-child(4) { animation-delay: 90ms; }
.mobile-nav.is-open .mobile-nav__list > li:nth-child(5) { animation-delay: 120ms; }
.mobile-nav.is-open .mobile-nav__list > li:nth-child(6) { animation-delay: 150ms; }
.mobile-nav.is-open .mobile-nav__list > li:nth-child(7) { animation-delay: 180ms; }
.mobile-nav.is-open .mobile-nav__list > li:nth-child(8) { animation-delay: 210ms; }
.mobile-nav.is-open .mobile-nav__list > li:nth-child(9) { animation-delay: 240ms; }
@keyframes navIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.nav-locked { overflow: hidden; }
@media (min-width: 1140px) { .mobile-nav { display: none; } }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  padding-top: calc(var(--header-h) + clamp(40px, 8vh, 96px));
  padding-bottom: clamp(40px, 6vh, 72px);
  background:
    radial-gradient(ellipse 60% 55% at 75% 35%, rgba(var(--glow), 0.16), transparent 70%),
    radial-gradient(ellipse 50% 45% at 15% 85%, rgba(var(--glow-2), 0.08), transparent 70%),
    linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-bg-2) 120%);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.hero__canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: -1;
  width: 100%;
  height: auto;
  opacity: 0.55;
  pointer-events: none;
}
.hero__grid { flex: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: 40px; } }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  margin-bottom: 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--dark-border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.84rem;
  color: var(--on-dark-muted);
}
.hero__badge-dot {
  display: inline-grid;
  place-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(var(--glow), 0.16);
  color: var(--primary-on-dark);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}
.hero h1 { font-size: clamp(2.35rem, 5.4vw, 4.6rem); line-height: 1.04; margin-bottom: 26px; max-width: 16ch; }
.hero h1 .text-grad { display: inline; }
.hero__lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--on-dark-muted); max-width: 58ch; margin-bottom: 36px; }

.hero__trust {
  margin-top: clamp(48px, 7vh, 80px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--dark-border);
}
@media (min-width: 900px) { .hero__trust { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 16px 4px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
}
.trust-item__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--primary-on-dark);
  background: rgba(var(--glow), 0.1);
  border: 1px solid rgba(var(--glow), 0.22);
}
.trust-item small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.8rem; color: var(--on-dark-muted); margin-top: 2px; }

/* Hero system visual */
.system {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
.system__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.system__ring { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.system__ring--dash { stroke-dasharray: 2 6; }
.system__link { fill: none; stroke: rgba(var(--glow), 0.28); stroke-width: 1.2; }
.system__flow {
  fill: none;
  stroke: url(#flowGrad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 10 140;
  animation: flow 4.2s linear infinite;
}
.system__flow:nth-of-type(2n) { animation-duration: 5.2s; animation-delay: -1.3s; }
.system__flow:nth-of-type(3n) { animation-duration: 6s; animation-delay: -2.4s; }
@keyframes flow { to { stroke-dashoffset: -150; } }

.system__core {
  position: absolute;
  left: 50%; top: 50%;
  width: 30%;
  aspect-ratio: 1;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(var(--glow), 0.4), rgba(16, 24, 32, 0.9) 70%);
  border: 1px solid rgba(var(--glow), 0.45);
  box-shadow: 0 0 0 10px rgba(var(--glow), 0.05), 0 0 80px rgba(var(--glow), 0.35);
  text-align: center;
}
.system__core .logo__mark { width: 44%; height: auto; }
.system__core-label { font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--on-dark-muted); margin-top: -18%; }
.system__pulse {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(var(--glow), 0.5);
  animation: pulse 3.6s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }

.node {
  position: absolute;
  translate: -50% -50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border-radius: 14px;
  background: rgba(22, 42, 58, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  animation: bob 7s ease-in-out infinite;
}
.node:nth-child(2n) { animation-delay: -2s; animation-duration: 8s; }
.node:nth-child(3n) { animation-delay: -4s; animation-duration: 9s; }
.node__icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(var(--glow), 0.16);
  color: var(--primary-on-dark);
}
.node--cyan .node__icon { background: rgba(var(--glow-2), 0.14); color: var(--accent); }
.node__label { font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; line-height: 1.2; }
.node__label small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.68rem; color: var(--on-dark-muted); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 520px) {
  .node { padding: 6px 10px 6px 6px; gap: 7px; }
  .node__icon { width: 24px; height: 24px; }
  .node__label { font-size: 0.7rem; }
  .node__label small { display: none; }
}

/* ---------- 8. Inner page hero ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 104px));
  padding-bottom: clamp(56px, 8vw, 104px);
  background:
    radial-gradient(ellipse 55% 70% at 85% 0%, rgba(var(--glow), 0.18), transparent 70%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(var(--glow-2), 0.08), transparent 70%),
    linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-bg-2) 140%);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
  --text-muted: var(--on-dark-muted);
  --primary-ink: var(--primary-on-dark);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); max-width: 20ch; margin-bottom: 22px; }
.page-hero .lead { color: var(--on-dark-muted); }
.page-hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .page-hero__grid--split { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.page-hero__icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: rgba(var(--glow), 0.12);
  border: 1px solid rgba(var(--glow), 0.3);
  color: var(--primary-on-dark);
}

.breadcrumbs { margin-bottom: 28px; font-size: 0.86rem; color: var(--on-dark-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; opacity: 0.4; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: var(--on-dark); }

/* ---------- 9. Cards ---------- */
.card {
  position: relative;
  padding: clamp(24px, 2.5vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(var(--glow), 0.35); }
.section--dark .card,
.section--navy .card { background: var(--dark-surface); box-shadow: none; }
.section--dark .card--hover:hover,
.section--navy .card--hover:hover { background: var(--dark-surface-2); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.7); }
.card h3 { margin-bottom: 0.45em; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card__icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  border: 1px solid rgba(var(--glow), 0.18);
}
.section--dark .card__icon,
.section--navy .card__icon { background: rgba(var(--glow), 0.1); color: var(--primary-on-dark); }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Who we are */
.about-split { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .about-split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.about-split__text p { color: var(--text-muted); font-size: 1.08rem; }
.pillars { display: grid; gap: 16px; }
.pillar { display: flex; gap: 20px; align-items: flex-start; }
.pillar .card__icon { margin: 0; }
.pillar__num { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; color: var(--primary-ink); letter-spacing: 0.1em; }

/* Services */
.service-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-card__num { font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; color: var(--text-muted); opacity: 0.8; }
.service-card p { margin-bottom: 20px; }
.service-card .chips { margin-top: auto; margin-bottom: 22px; }
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  line-height: 1.4;
}
.section--dark .chip,
.section--navy .chip,
.page-hero .chip { background: rgba(255, 255, 255, 0.05); border-color: var(--dark-border); color: var(--on-dark-muted); }
.chip--accent { background: rgba(var(--glow), 0.1); color: var(--primary-ink); border-color: rgba(var(--glow), 0.25); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); }
.check-list .icon { margin-top: 3px; color: var(--primary-ink); padding: 3px; border-radius: 50%; background: rgba(var(--glow), 0.12); width: 20px; height: 20px; }
.check-list--cols { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* Featured solutions (tabs) */
.solutions-tabs { display: grid; gap: 28px; }
@media (min-width: 1024px) { .solutions-tabs { grid-template-columns: 340px 1fr; gap: 40px; align-items: start; } }
.solutions-tabs__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.solutions-tabs__list::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  .solutions-tabs__list { flex-direction: column; overflow: visible; margin: 0; padding: 0; }
}
.sol-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 14px 18px 14px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--dark-border);
  background: transparent;
  color: var(--on-dark-muted);
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.sol-tab .mega__icon { width: 34px; height: 34px; }
.sol-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.03); }
.sol-tab[aria-selected="true"] { color: #fff; background: rgba(var(--glow), 0.1); border-color: rgba(var(--glow), 0.4); }
.sol-tab__arrow { margin-left: auto; opacity: 0; transition: opacity var(--t), transform var(--t) var(--ease); display: none; }
@media (min-width: 1024px) { .sol-tab__arrow { display: block; } }
.sol-tab[aria-selected="true"] .sol-tab__arrow { opacity: 1; transform: translateX(2px); }

.sol-panel { display: grid; gap: 28px; }
.sol-panel[hidden] { display: none; }
.sol-panel.is-entering { animation: panelIn 520ms var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sol-panel__meta { display: grid; gap: 18px; }
@media (min-width: 720px) { .sol-panel__meta { grid-template-columns: 1fr auto; align-items: end; } }
.sol-panel__meta h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.sol-panel__meta p { color: var(--on-dark-muted); margin-bottom: 14px; max-width: 58ch; }

/* Application preview (illustrative UI) */
.app {
  --app-bg: #0d151d;
  --app-panel: #121e29;
  --app-line: rgba(255, 255, 255, 0.07);
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--app-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(var(--glow), 0.08), 0 0 60px -20px rgba(var(--glow), 0.35);
  font-family: var(--font-body);
  color: #dfe6ec;
  font-size: 12px;
  line-height: 1.4;
}
.app--light {
  --app-bg: #f4f6f8;
  --app-panel: #ffffff;
  --app-line: rgba(16, 24, 32, 0.08);
  color: #1d2833;
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.app__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--app-line);
  background: rgba(255, 255, 255, 0.02);
}
.app__dots { display: flex; gap: 5px; }
.app__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.app--light .app__dots i { background: rgba(16, 24, 32, 0.14); }
.app__title { font-weight: 600; font-size: 12px; margin-left: 6px; }
.app__search {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(223, 230, 236, 0.5);
  font-size: 11px;
}
.app--light .app__search { background: rgba(16, 24, 32, 0.05); color: #6b7682; }
.app__body { display: grid; grid-template-columns: 132px 1fr; min-height: 330px; }
.app__nav { padding: 12px 8px; border-right: 1px solid var(--app-line); display: grid; align-content: start; gap: 2px; }
.app__nav span { padding: 7px 10px; border-radius: 6px; color: rgba(223, 230, 236, 0.62); font-size: 11.5px; }
.app--light .app__nav span { color: #5c6772; }
.app__nav span.is-active { background: rgba(var(--glow), 0.14); color: var(--primary-on-dark); font-weight: 600; }
.app--light .app__nav span.is-active { color: var(--primary-ink); }
.app__main { padding: 14px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.app__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.app__kpi { padding: 10px 12px; border-radius: 10px; background: var(--app-panel); border: 1px solid var(--app-line); min-width: 0; }
.app__kpi-label { display: block; font-size: 10.5px; color: rgba(223, 230, 236, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--light .app__kpi-label { color: #6b7682; }
.app__kpi-value { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 17px; margin-top: 3px; letter-spacing: -0.02em; }
.app__kpi-value em { font-style: normal; font-size: 10px; font-weight: 600; color: var(--primary-on-dark); }
.app--light .app__kpi-value em { color: var(--primary-ink); }
.app__row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }
.app__panel { padding: 12px; border-radius: 10px; background: var(--app-panel); border: 1px solid var(--app-line); min-width: 0; }
.app__panel-title { font-weight: 600; font-size: 11.5px; margin-bottom: 10px; display: flex; justify-content: space-between; }
.app__panel-title span { color: rgba(223, 230, 236, 0.45); font-weight: 400; }
.app--light .app__panel-title span { color: #8a949e; }
.app__chart { display: flex; align-items: flex-end; gap: 6px; height: 104px; padding-top: 6px; }
.app__chart i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(var(--glow), 0.25) 100%);
  height: var(--h);
  transform-origin: bottom;
  animation: grow 900ms var(--ease) both;
  animation-delay: calc(var(--i) * 60ms);
}
.app__chart i:last-child { background: linear-gradient(180deg, var(--accent) 0%, rgba(var(--glow-2), 0.25) 100%); }
@keyframes grow { from { transform: scaleY(0.05); } to { transform: none; } }
.app__table { width: 100%; border-collapse: collapse; font-size: 11px; table-layout: fixed; }
.app__table th { text-align: left; font-weight: 500; color: rgba(223, 230, 236, 0.5); padding: 0 6px 7px 0; }
.app--light .app__table th { color: #7a858f; }
.app__table td { padding: 7px 6px 7px 0; border-top: 1px solid var(--app-line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__status { display: inline-block; padding: 2px 7px; border-radius: 999px; font-size: 10px; background: rgba(var(--glow), 0.14); color: var(--primary-on-dark); }
.app--light .app__status { color: var(--primary-ink); }
.app__status--warn { background: rgba(245, 180, 60, 0.16); color: #f2c261; }
.app--light .app__status--warn { color: #9a6a00; }
.app__caption { margin-top: 10px; font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
@media (max-width: 719px) {
  .app__body { grid-template-columns: 1fr; }
  .app__nav { display: flex; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--app-line); padding: 8px; }
  .app__nav span { white-space: nowrap; }
  .app__row { grid-template-columns: 1fr; }
  .app__kpi-value { font-size: 15px; }
}
@media (max-width: 420px) {
  .app__kpis { grid-template-columns: 1fr 1fr; }
  .app__kpis .app__kpi:nth-child(3) { display: none; }
}

/* Industries */
.industry-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 560px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .industry-grid { grid-template-columns: repeat(4, 1fr); } }
.industry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  min-height: 200px;
  background: var(--bg-alt);
  transition: background var(--t) var(--ease);
}
.industry:hover { background: var(--surface-2); }
.industry__icon { color: var(--primary-ink); margin-bottom: 8px; }
.industry h3 { font-size: 1.12rem; margin: 0; }
.industry p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }
.industry .icon-go { position: absolute; top: 24px; right: 22px; color: var(--text-muted); opacity: 0.5; transition: transform var(--t) var(--ease), opacity var(--t), color var(--t); }
.industry:hover .icon-go { opacity: 1; color: var(--primary-ink); transform: translate(2px, -2px); }
.industry--cta { background: var(--dark-bg); color: var(--on-dark); justify-content: space-between; }
.industry--cta:hover { background: var(--dark-bg-2); }
.industry--cta p { color: var(--on-dark-muted); }

/* AI section */
.ai { overflow: hidden; }
.ai__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.9; }
.ai__head { display: grid; gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 1024px) { .ai__head { grid-template-columns: 1.2fr 0.8fr; gap: 64px; } }
.ai__title { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 0; }
.ai__title span { display: block; color: var(--on-dark-muted); font-weight: 600; }
.ai-card { overflow: hidden; }
.ai-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow), 0.18), transparent 70%);
  opacity: 0;
  transition: opacity var(--t);
}
.ai-card:hover::after { opacity: 1; }

/* Transformation */
.transform { display: grid; gap: 24px; }
.transform__toggle {
  display: inline-flex;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}
.transform__toggle button {
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-muted);
  transition: background var(--t), color var(--t), box-shadow var(--t);
}
.transform__toggle button[aria-pressed="true"] { background: var(--dark-bg); color: var(--on-dark); box-shadow: var(--shadow); }
.transform__stage { display: grid; gap: 20px; }
@media (min-width: 900px) { .transform__stage { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.flow-col {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease), filter 500ms var(--ease), box-shadow 500ms;
}
.flow-col__label { font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.flow-col--before .flow-col__label { color: var(--text-muted); }
.flow-col--after { background: var(--dark-bg); color: var(--on-dark); border-color: transparent; --text-muted: var(--on-dark-muted); }
.flow-col--after .flow-col__label { color: var(--primary-on-dark); }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 500;
  background: var(--surface-2);
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
}
.flow-col--after .flow-steps li { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(var(--glow), 0.25); color: var(--on-dark); }
.flow-col--after .flow-steps .icon { color: var(--primary-on-dark); }
.flow-steps li + li::before {
  content: "";
  position: absolute;
  left: 27px;
  top: -11px;
  height: 10px;
  border-left: 2px dotted var(--border-strong);
}
.flow-col--after .flow-steps li + li::before { border-left: 2px solid rgba(var(--glow), 0.5); }
.transform__arrow { display: grid; place-items: center; color: var(--primary-ink); }
.transform__arrow span {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-contrast);
  box-shadow: 0 0 0 8px rgba(var(--glow), 0.12);
}
@media (max-width: 899px) { .transform__arrow span { rotate: 90deg; } }
.transform[data-state="before"] .flow-col--after,
.transform[data-state="after"] .flow-col--before { opacity: 0.38; filter: saturate(0.3); transform: scale(0.98); }
.transform[data-state="after"] .flow-col--after { box-shadow: 0 30px 60px -24px rgba(var(--glow), 0.5); }

/* Technology */
.tech-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tech-grid { grid-template-columns: repeat(5, 1fr); } }
.tech-col h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.tech-col h3 .icon { color: var(--primary-ink); }
.tech-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tech-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.93rem;
  transition: border-color var(--t), transform var(--t) var(--ease);
}
.tech-item:hover { border-color: rgba(var(--glow), 0.4); transform: translateX(3px); }
.tech-mono {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
  color: var(--primary-contrast);
  background: var(--grad);
}

/* Architecture */
.arch { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .arch { grid-template-columns: 1fr 1fr; gap: 80px; } }
.arch__stack { position: relative; display: grid; gap: 12px; padding-left: 36px; }
.arch__line {
  position: absolute;
  left: 11px; top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, rgba(var(--glow), 0.1), rgba(var(--glow), 0.5), rgba(var(--glow-2), 0.3));
  border-radius: 2px;
  overflow: hidden;
}
.arch__line::after {
  content: "";
  position: absolute;
  left: 0; top: -30%;
  width: 100%; height: 30%;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  animation: travel 3.2s linear infinite;
}
@keyframes travel { to { top: 100%; } }
.arch__layer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  transition: border-color var(--t), background var(--t), transform var(--t) var(--ease);
}
.arch__layer:hover { border-color: rgba(var(--glow), 0.45); background: var(--dark-surface-2); transform: translateX(4px); }
.arch__layer::before {
  content: "";
  position: absolute;
  left: -31px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--dark-bg);
  border: 2px solid var(--primary);
  box-shadow: 0 0 12px rgba(var(--glow), 0.6);
}
.arch__layer .icon { color: var(--primary-on-dark); }
.arch__layer strong { font-family: var(--font-head); font-weight: 600; }
.arch__layer small { display: block; color: var(--on-dark-muted); font-size: 0.82rem; }
.arch__tag { margin-left: auto; font-size: 0.72rem; color: var(--on-dark-muted); letter-spacing: 0.08em; text-transform: uppercase; display: none; }
@media (min-width: 560px) { .arch__tag { display: block; } }
.principles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 28px; }
.principle { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--on-dark-muted); }
.principle .icon { color: var(--primary-on-dark); }

/* Case studies */
.case-card { display: flex; flex-direction: column; height: 100%; }
.case-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.case-card dl { display: grid; gap: 14px; margin: 0 0 24px; }
.case-card dt { font-family: var(--font-head); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-ink); }
.case-card dd { margin: 4px 0 0; color: var(--text-muted); font-size: 0.95rem; }
.case-card .link-arrow { margin-top: auto; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--primary-soft);
  color: var(--primary-ink);
}
.section--dark .badge, .section--navy .badge, .page-hero .badge { background: rgba(var(--glow), 0.14); color: var(--primary-on-dark); }
.badge--sample { background: rgba(245, 180, 60, 0.16); color: #8a5a00; }
.section--dark .badge--sample, .section--navy .badge--sample, .page-hero .badge--sample { color: #f2c261; }

/* Why Elior */
.why-grid { display: grid; gap: 1px; background: var(--dark-border); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--dark-border); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why { padding: clamp(28px, 3vw, 40px); background: var(--dark-bg); transition: background var(--t); }
.why:hover { background: color-mix(in srgb, var(--dark-bg) 92%, rgb(var(--glow))); }
.why .card__icon { background: rgba(var(--glow), 0.1); color: var(--primary-on-dark); }
.why p { color: var(--on-dark-muted); margin: 0; }

/* Process timeline */
.process { position: relative; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 720px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
.process__rail { display: none; }
@media (min-width: 1100px) {
  .process__rail {
    display: block;
    position: absolute;
    left: 28px; right: 28px; top: 27px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
  }
  .process__rail span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1600ms var(--ease);
  }
  .process.is-visible .process__rail span { transform: scaleX(1); }
}
.step { position: relative; padding-top: 4px; }
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--bg-alt);
  border: 2px solid var(--border-strong);
  color: var(--text);
  transition: background 500ms var(--ease), border-color 500ms, color 500ms;
  transition-delay: calc(var(--i, 0) * 200ms);
}
.process.is-visible .step__num { background: var(--primary); border-color: var(--primary); color: var(--primary-contrast); }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* Client journey */
.journey { display: grid; gap: 14px; counter-reset: j; }
@media (min-width: 720px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .journey { grid-template-columns: repeat(3, 1fr); } }
.journey__item { display: flex; gap: 18px; align-items: flex-start; }
.journey__item::before {
  counter-increment: j;
  content: counter(j, decimal-leading-zero);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-ink);
  padding-top: 4px;
  min-width: 26px;
}
.journey__item h3 { font-size: 1.06rem; margin-bottom: 4px; }
.journey__item p { font-size: 0.93rem; }

/* Testimonials */
.testimonial-shell { display: grid; gap: 24px; align-items: center; }
@media (min-width: 1024px) { .testimonial-shell { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.testimonial {
  position: relative;
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px dashed var(--border-strong);
}
.testimonial .icon-quote { color: var(--primary-ink); opacity: 0.5; margin-bottom: 18px; }
.testimonial blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 500; line-height: 1.5; letter-spacing: -0.015em; }
.testimonial figcaption { margin-top: 20px; color: var(--text-muted); font-size: 0.92rem; }
.carousel__controls { display: flex; gap: 10px; margin-top: 20px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-alt);
  color: var(--text);
  transition: border-color var(--t), background var(--t);
}
.icon-btn:hover:not(:disabled) { border-color: var(--primary); }
.icon-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: border-color var(--t), box-shadow var(--t);
}
.faq details[open] { border-color: rgba(var(--glow), 0.4); box-shadow: var(--shadow); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  flex-shrink: 0;
  padding: 5px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  transition: transform var(--t) var(--ease), background var(--t), color var(--t);
}
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--primary); color: var(--primary-contrast); }
.faq__answer { padding: 0 22px 22px; color: var(--text-muted); max-width: 72ch; }
.faq__answer p { margin: 0; }
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 0.75fr 1.25fr; gap: 80px; } .faq-layout__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }

/* Dubai / global */
.reach { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .reach { grid-template-columns: 1fr 1fr; gap: 80px; } }
.reach__map { position: relative; aspect-ratio: 1.1; max-width: 560px; width: 100%; margin-inline: auto; }
.reach__map svg { width: 100%; height: 100%; }
.reach__ring { fill: none; stroke: var(--border-strong); stroke-dasharray: 3 7; }
.reach__ring--solid { stroke-dasharray: none; stroke: rgba(var(--glow), 0.35); }
.reach__dot { fill: var(--primary); }
.reach__label { font-family: var(--font-head); font-weight: 700; font-size: 13px; fill: var(--text); letter-spacing: 0.08em; }
.reach__sublabel { font-size: 11px; fill: var(--text-muted); }
.reach__orbit { transform-origin: 280px 280px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.regions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
.region { padding: 18px 20px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); }
.region strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.region span { font-size: 0.86rem; color: var(--text-muted); }

/* Final CTA */
.cta-final { text-align: center; overflow: hidden; }
.cta-final::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: conic-gradient(from 0deg at 50% 50%, rgba(var(--glow), 0.0), rgba(var(--glow), 0.22), rgba(var(--glow-2), 0.14), rgba(var(--glow), 0.0) 60%);
  animation: spin 24s linear infinite;
  filter: blur(60px);
}
.cta-final h2 { font-size: clamp(2.2rem, 5vw, 4.25rem); margin-bottom: 0.2em; }
.cta-final h2 + p.cta-final__sub { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 24px; }
.cta-final .lead { margin: 0 auto 40px; color: var(--on-dark-muted); }
.cta-final .btn-row { justify-content: center; }

.cta-band {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow), 0.35), transparent 70%);
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 8px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- 10. Detail pages ---------- */
.detail { display: grid; gap: 48px; }
@media (min-width: 1024px) { .detail { grid-template-columns: 1fr 340px; gap: 64px; align-items: start; } }
.detail__aside { display: grid; gap: 16px; }
@media (min-width: 1024px) { .detail__aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.aside-card { padding: 26px; border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--border); }
.aside-card h3 { font-size: 1.05rem; }
.aside-card--dark { background: var(--dark-bg); color: var(--on-dark); border-color: transparent; }
.aside-card--dark p { color: var(--on-dark-muted); }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; }
.aside-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--border); font-weight: 500; font-size: 0.95rem; }
.aside-links li:first-child a { border-top: 0; }
.aside-links a:hover { color: var(--primary-ink); }

.block + .block { margin-top: clamp(48px, 6vw, 72px); }
.block > h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.module-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
.module { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); }
.module .card__icon { width: 42px; height: 42px; margin: 0; border-radius: 12px; }
.module h3 { font-size: 1.02rem; margin-bottom: 4px; }
.module p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.challenge-solution { display: grid; gap: 16px; }
@media (min-width: 800px) { .challenge-solution { grid-template-columns: 1fr 1fr; } }

.facts { display: grid; gap: 1px; background: var(--dark-border); border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 18px 20px; background: rgba(255, 255, 255, 0.03); }
.fact dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.fact dd { margin: 6px 0 0; font-family: var(--font-head); font-weight: 600; }

/* Listing index rows */
.index-list { display: grid; gap: 12px; }
.index-row {
  position: relative;
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: border-color var(--t), transform var(--t) var(--ease), box-shadow var(--t);
}
.index-row:hover { border-color: rgba(var(--glow), 0.4); box-shadow: var(--shadow); transform: translateY(-2px); }
@media (min-width: 900px) { .index-row { grid-template-columns: 56px 1.1fr 1.4fr auto; gap: 28px; } }
.index-row .card__icon { margin: 0; }
.index-row h2, .index-row h3 { font-size: 1.25rem; margin: 0 0 4px; }
.index-row p { color: var(--text-muted); margin: 0; }

/* Articles */
.article-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; height: 100%; }
.article-card__art { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--dark-bg); }
.article-card__art svg { width: 100%; height: 100%; transition: transform 800ms var(--ease); }
.article-card:hover .article-card__art svg { transform: scale(1.04); }
.article-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.article-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.article-card h3 { font-size: 1.18rem; }
.article-card p { font-size: 0.95rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--t-fast);
}
.filter:hover { color: var(--text); border-color: var(--primary); }
.filter[aria-current="page"] { background: var(--dark-bg); color: var(--on-dark); border-color: var(--dark-bg); }

.prose { font-size: 1.08rem; line-height: 1.8; color: var(--text); }
.prose h2 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); margin-top: 2em; }
.prose p { color: color-mix(in srgb, var(--text) 86%, transparent); }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); }
.prose blockquote {
  margin: 2em 0;
  padding: 8px 0 8px 26px;
  border-left: 3px solid var(--primary);
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.015em;
}
.prose h2 + p, .prose h3 + p { margin-top: 0; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal .note {
  padding: 16px 20px;
  border-radius: var(--radius);
  background: rgba(245, 180, 60, 0.12);
  border: 1px solid rgba(245, 180, 60, 0.3);
  font-size: 0.95rem;
}

/* ---------- 11. Forms ---------- */
.form-shell { display: grid; gap: 40px; }
@media (min-width: 1024px) { .form-shell { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; } }
.form-card {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; align-content: start; }
.field label, .field .label { font-weight: 600; font-size: 0.9rem; }
.field .req { color: var(--primary-ink); margin-left: 2px; }
.field .hint { font-size: 0.8rem; color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7682' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.input:hover, .select:hover, .textarea:hover { border-color: color-mix(in srgb, var(--primary) 50%, var(--border-strong)); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--glow), 0.16); background: var(--bg-alt); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #d64545; }
.field-error { color: #c23434; font-size: 0.84rem; font-weight: 500; }
.field-error:empty { display: none; }

.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 12px;
  border: 1.5px dashed var(--border-strong);
  background: var(--bg);
  transition: border-color var(--t), background var(--t);
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--primary); background: rgba(var(--glow), 0.05); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop input:focus-visible + .file-drop__icon { outline: 2px solid var(--accent); outline-offset: 3px; }
.file-drop__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-ink); flex-shrink: 0; }
.file-drop__text { font-size: 0.92rem; }
.file-drop__text strong { display: block; }
.file-drop__text span { color: var(--text-muted); font-size: 0.82rem; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); flex-shrink: 0; }
.checkbox a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); margin-bottom: 24px; font-weight: 500; }
.alert--error { background: rgba(214, 69, 69, 0.08); border: 1px solid rgba(214, 69, 69, 0.3); color: #a52a2a; }
.success-panel { text-align: center; padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 40px); }
.success-panel__icon {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-contrast);
  box-shadow: 0 0 0 12px rgba(var(--glow), 0.14);
  animation: pop 600ms var(--ease) both;
}
@keyframes pop { from { transform: scale(0.5); opacity: 0; } to { transform: none; opacity: 1; } }

.contact-points { display: grid; gap: 14px; margin-top: 32px; }
.contact-point { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); }
.contact-point .card__icon { margin: 0; width: 44px; height: 44px; }
.contact-point small { display: block; color: var(--text-muted); font-size: 0.8rem; }
.contact-point strong { font-family: var(--font-head); font-weight: 600; }
.placeholder-note { font-size: 0.82rem; color: var(--text-muted); font-style: italic; }

.btn[data-loading="true"] { pointer-events: none; opacity: 0.75; }
.btn[data-loading="true"] .icon { animation: spin 900ms linear infinite; }

/* ---------- 12. Footer ---------- */
.footer { background: var(--dark-bg); color: var(--on-dark); padding-top: clamp(64px, 8vw, 96px); position: relative; overflow: hidden; isolation: isolate; }
.footer__top { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-border); }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.3fr 2.7fr; gap: 64px; } }
.footer__brand p { color: var(--on-dark-muted); max-width: 34ch; margin-top: 20px; }
.footer__tagline { font-family: var(--font-head); font-weight: 600; color: var(--primary-on-dark); letter-spacing: 0.02em; margin-top: 22px; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
@media (min-width: 720px) { .footer__cols { grid-template-columns: repeat(5, 1fr); } }
.footer h2 { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul span { color: rgba(247, 245, 239, 0.82); font-size: 0.93rem; display: inline-flex; align-items: center; gap: 8px; transition: color var(--t-fast); }
.footer ul a:hover { color: var(--primary-on-dark); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding-block: 28px; font-size: 0.86rem; color: var(--on-dark-muted); }
.footer__social { display: flex; gap: 8px; margin-top: 24px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--dark-border); color: var(--on-dark-muted); transition: all var(--t-fast); }
.footer__social a:hover { color: var(--primary-contrast); background: var(--primary); border-color: var(--primary); }
.footer__word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(5rem, 22vw, 20rem);
  letter-spacing: 0.08em;
  line-height: 0.8;
  text-align: center;
  margin: 0 0 -0.12em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

.theme-switch { display: inline-flex; align-items: center; gap: 10px; }
.theme-switch__label { display: inline-flex; align-items: center; gap: 6px; }
.theme-switch__options { display: inline-flex; gap: 6px; padding: 4px; border-radius: var(--radius-pill); border: 1px solid var(--dark-border); }
.theme-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  background: var(--swatch);
  box-shadow: inset 0 0 0 3px var(--dark-bg);
  transition: border-color var(--t-fast);
}
.theme-dot[aria-pressed="true"] { border-color: var(--on-dark); }

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 90;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--dark-bg) 90%, transparent);
  border: 1px solid var(--dark-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(140%);
  transition: transform var(--t) var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 46px; }
.mobile-cta .icon-btn { background: transparent; border-color: var(--dark-border); color: var(--on-dark); flex-shrink: 0; width: 46px; height: 46px; }
@media (min-width: 900px) { .mobile-cta { display: none; } }
@media (max-width: 899px) { .footer { padding-bottom: 80px; } }

/* ---------- 13. Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.hero-in > * { animation: heroIn 1000ms var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: 90ms; }
.hero-in > *:nth-child(3) { animation-delay: 180ms; }
.hero-in > *:nth-child(4) { animation-delay: 270ms; }
.hero-in > *:nth-child(5) { animation-delay: 360ms; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .system__flow, .arch__line::after, .cta-final::before, .reach__orbit, .node, .system__pulse { animation: none !important; }
}

/* ---------- 14. Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(32px, 4vw, 48px); }
.center { text-align: center; }
.split-2 { display: grid; gap: 24px; }
@media (min-width: 900px) { .split-2 { grid-template-columns: 1fr 1fr; gap: 48px; } }
.divider { height: 1px; background: var(--border); border: 0; margin: 48px 0; }

/* Capability marquee */
.marquee {
  overflow: hidden;
  background: var(--dark-bg-2);
  color: var(--on-dark-muted);
  border-block: 1px solid var(--dark-border);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.marquee__item .icon { color: var(--primary-on-dark); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

.solution-row { align-items: center; }
.solution-row + .solution-row { margin-top: clamp(64px, 9vw, 120px); }
@media (min-width: 900px) { .split-2--flip > :first-child { order: 2; } }

/* Contain decorative glows, marquee and skyline so they never create horizontal scroll.
   overflow: clip does not create a scroll container, so position: sticky keeps working. */
main, .footer { overflow-x: clip; }
.section, .marquee { overflow-x: clip; }

/* Small-screen refinements */
.detail > *, .form-shell > *, .about-split > *, .split-2 > *, .reach > *, .arch > * { min-width: 0; }
@media (max-width: 380px) {
  .trust-item { gap: 10px; padding-right: 8px; font-size: 0.9rem; }
  .trust-item__icon { width: 36px; height: 36px; }
  .hero__trust { grid-template-columns: 1fr; }
  .btn { padding: 0 20px; }
  .btn-row .btn { width: 100%; }
}
@media (max-width: 639px) {
  .hero .btn-row .btn { width: 100%; }
  .check-list--cols { grid-template-columns: 1fr; }
}

/* Review refinements */
.transform__toggle { justify-self: start; }
.principles { list-style: none; padding: 0; margin-bottom: 0; }
.ai__title span { color: inherit; }
.ai__title .text-grad { color: transparent; }
.service-card .chips { margin-top: 0; }
.service-card .link-arrow { margin-top: auto; }

@media (max-width: 559px) {
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero__grid { gap: 28px; }
  .system { max-width: 340px; }
  .node--optional { display: none; } /* keep four nodes on small screens */
  .hero__trust { grid-template-columns: 1fr; margin-top: 36px; }
  .trust-item { padding-top: 16px; }
  .trust-item small { display: inline; margin-left: 6px; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .industry { min-height: 0; padding: 20px 16px; gap: 6px; }
  .industry h3 { font-size: 0.98rem; }
  .industry p { font-size: 0.82rem; }
  .industry .icon-go { top: 16px; right: 14px; }
  .industry__icon { margin-bottom: 4px; }
  .industry--cta { grid-column: 1 / -1; }
  .section-head { margin-bottom: 32px; }
}

/* ---------- 14. SEO headings, company facts and consent ---------- */
/* Pages whose H1 is the short topic (rendered in the eyebrow style) and whose large statement is a paragraph.
   Visual design is unchanged; only the semantic element moves. */
.page-hero h1.eyebrow,
.hero h1.hero__badge {
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: none;
  text-wrap: wrap;
}
.page-hero h1.eyebrow { font-weight: 700; letter-spacing: 0.16em; margin-bottom: 1.1rem; }
.hero h1.hero__badge {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: normal;
  margin-bottom: 26px;
}
.page-hero__title,
.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: inherit;
}
.page-hero__title { font-size: clamp(2.2rem, 4.8vw, 4rem); max-width: 20ch; margin: 0 0 22px; }
.hero__title { font-size: clamp(2.35rem, 5.4vw, 4.6rem); line-height: 1.04; margin: 0 0 26px; max-width: 16ch; }
.hero__title .text-grad { display: inline; }

.company-facts { display: grid; gap: 1px; margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--border); }
@media (min-width: 720px) { .company-facts { grid-template-columns: repeat(2, 1fr); } }
.company-facts > div { background: var(--surface, #fff); padding: 20px 24px; }
.company-facts dt { font-family: var(--font-head); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-ink); }
.company-facts dd { margin: 6px 0 0; color: var(--text); }

.hours-list { list-style: none; padding: 0; margin: 4px 0 0; }
.hours-list li { display: flex; gap: 12px; justify-content: space-between; }

.link-list { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; }

.footer__legal-btn { background: none; border: 0; padding: 4px 0; min-height: 24px; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__legal-btn:hover { color: var(--on-dark); }

.consent {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 95;
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-inline: auto;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--dark-bg);
  color: var(--on-dark);
  border: 1px solid var(--dark-border);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.55);
  font-size: 0.92rem;
  --text-muted: var(--on-dark-muted);
}
.consent[hidden] { display: none; }
.consent p { color: var(--on-dark-muted); margin: 0; }
.consent a { color: var(--primary-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.consent__title { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; letter-spacing: -0.01em; margin: 0 0 8px; color: var(--on-dark); }
.consent__options { display: grid; gap: 10px; margin-top: 14px; }
.consent__options[hidden] { display: none; }
.consent__option { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark-muted); }
.consent__option input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary-on-dark); flex-shrink: 0; }
.consent__option strong { color: var(--on-dark); margin-right: 6px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.consent .btn--ghost { --btn-border: rgba(255, 255, 255, 0.22); --btn-fg: var(--on-dark); }
@media (max-width: 559px) { .consent__actions .btn { flex: 1 1 auto; } }
.consent [hidden] { display: none !important; }
