/* ==================================================
   INTEGRALIS WEBSITE — SHARED STYLESHEET
   ==================================================
   TABLE OF CONTENTS
   1.  Variables & Reset
   2.  Typography
   3.  Layout Utilities
   4.  Announcement Banner
   5.  Navigation (Desktop & Mobile)
   6.  Buttons
   7.  Homepage Hero (Editorial Split)
   8.  Inner Page Hero
   9.  Sections — Shared
   10. Homepage Sections
       — Bento Grid
       — Scrub Text Section
       — Pinned Features
       — Stats Bar
       — CTA Section
   11. Solution / Service Cards
   12. Partner Carousel
   13. Two-Column Feature Rows
   14. Contact Page
   15. About Page
   16. Partners Page
   17. Footer
   18. Responsive — Tablet (<=1024px)
   19. Responsive — Mobile (<=640px)
================================================== */


/* ── 1. VARIABLES & RESET ───────────────────────── */
:root {
  /* Brand — cyan kept to match logo; supporting tints calibrated */
  --primary:        #0191cd;
  --primary-dark:   #0175a8;
  --primary-bright: #1aa7dd;
  --primary-light:  #eef5f9;
  --primary-tint:   rgba(1,145,205,0.10);

  /* Empathy & tension — used in the emotional bridge sections */
  --empathy-surface: #070e17;
  --tension:         #c9570a;
  --tension-tint:    rgba(201,87,10,0.08);

  /* Ink & dark surfaces — cool slate, deepened off-black (never pure) */
  --ink:            #08101a;
  --dark:           #08101a;
  --dark-mid:       #0e1d2a;
  --dark-2:         #0d1c29;
  --dark-surface:   #10202d;
  --dark-elevated:  #152434;

  /* Neutrals — slate scale */
  --text:           #2f3a47;
  --text-light:     #69757f;
  --text-dim:       rgba(255,255,255,0.55);
  --white:          #ffffff;
  --light:          #f4f7f9;
  --light-2:        #eef2f5;
  --border:         #e2e9ee;
  --border-strong:  #d3dde4;
  --border-dark:    rgba(255,255,255,0.08);

  --gold:           #f59e0b;
  --gold-dark:      #d97706;

  --nav-h:          72px;
  --banner-h:       46px;

  /* Radii — generous, premium */
  --radius:         12px;
  --radius-lg:      22px;
  --radius-xl:      34px;

  /* Shadows — tinted to ink, wide diffusion, no neon */
  --shadow-sm:      0 2px 10px -2px rgba(8,16,26,.08);
  --shadow-md:      0 14px 34px -12px rgba(8,16,26,.16);
  --shadow-lg:      0 36px 70px -28px rgba(8,16,26,.28);
  --shadow-diffuse: 0 24px 60px -28px rgba(8,16,26,.20);
  --shadow-brand:   0 16px 34px -14px rgba(1,117,168,.34);

  --transition:     0.28s cubic-bezier(0.4,0,0.2,1);
  --ease:           cubic-bezier(0.16,1,0.3,1);
  --sans:           'Cabinet Grotesk', 'Outfit', system-ui, -apple-system, sans-serif;
  --mono:           ui-monospace, 'SF Mono', 'JetBrains Mono', 'Geist Mono', 'Cascadia Code', Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }


/* ── 2. TYPOGRAPHY ──────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem,   4.5vw, 3.4rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.9rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 2vw,   1.5rem); letter-spacing: -0.02em; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}


/* ── 3. LAYOUT UTILITIES ────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section     { padding: 120px 0; }
.section-sm  { padding: 72px 0; }
.section-bg  {
  background: var(--light);
  position: relative;
}
.section-bg::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  opacity: 0.35;
  pointer-events: none;
}
.section-dark      { background: var(--dark); }
.section-dark-mid  { background: var(--dark-mid); }

.section-header          { margin-bottom: 64px; }
.section-header.center   { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

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

.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-muted  { color: var(--text-light); }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0 !important; }


/* ── 3b. SCROLL REVEAL ──────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity  0.6s cubic-bezier(0.16,1,0.3,1) calc(var(--reveal-i, 0) * 90ms),
    transform 0.6s cubic-bezier(0.16,1,0.3,1) calc(var(--reveal-i, 0) * 90ms);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ── 4. ANNOUNCEMENT BANNER ─────────────────────── */
#announcement-banner {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 200;
  padding: 0 52px;
}
#announcement-banner.hidden { display: none; }

.banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.banner-tag {
  background: var(--dark);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 40px;
  white-space: nowrap;
}

.banner-text {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
}

.banner-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: underline;
  white-space: nowrap;
}
.banner-link:hover { color: #7c2d12; }

.banner-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dark);
  opacity: 0.6;
  transition: opacity var(--transition);
  font-size: 1.1rem;
  line-height: 1;
}
.banner-close:hover { opacity: 1; }


/* ── 5. NAVIGATION ──────────────────────────────── */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(6,13,20,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: var(--nav-h);
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--transition), box-shadow var(--transition);
}
#site-nav.scrolled {
  background: rgba(6,13,20,0.96);
  box-shadow: 0 4px 32px rgba(0,0,0,.35);
}

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img { height: 44px; width: auto; }

.nav-logo-text {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.nav-logo-text span { color: var(--primary); }

/* Desktop menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,.75);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.08); }

.nav-link .chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}
.nav-item:hover .chevron { transform: rotate(-135deg) translateY(-2px); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 8px 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(2px);
  transition: all 0.22s ease;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 11px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  border-radius: 10px;
  transition: all var(--transition);
}
.nav-dropdown a:hover { background: rgba(1,145,205,.15); color: var(--primary); }

/* Mega dropdown (Technologies) */
.nav-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(2px);
  display: flex;
  gap: 0;
  min-width: 660px;
  background: var(--dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s ease;
  z-index: 200;
}
.nav-mega-dropdown {
  padding-top: 8px;
}
.nav-item:hover .nav-mega-dropdown,
.nav-item:focus-within .nav-mega-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-col {
  flex: 1;
  padding: 4px 16px;
}
.mega-col:not(:last-child) {
  border-right: 1px solid var(--border-dark);
  margin-right: 4px;
}

.mega-col-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-dark);
  white-space: nowrap;
}

.mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-col ul li a {
  display: block;
  padding: 9px 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  border-radius: 8px;
  transition: all var(--transition);
}
.mega-col ul li a:hover { background: rgba(1,145,205,.15); color: var(--primary); }

/* Mobile subgroup (nested accordion inside Technologies) */
.mobile-nav-subgroup { border-top: 1px solid var(--border-dark); }
.mobile-nav-subgroup:first-child { border-top: none; margin-top: 4px; }

.mobile-subgroup-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: none;
  padding: 9px 8px;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  cursor: pointer;
}
.mobile-subgroup-toggle .chevron {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.mobile-nav-subgroup.open .mobile-subgroup-toggle .chevron { transform: rotate(-135deg); }
.mobile-nav-subgroup.open .mobile-subgroup-toggle { color: var(--primary); }

.mobile-subgroup-menu { display: none; padding: 0 0 6px 12px; }
.mobile-nav-subgroup.open .mobile-subgroup-menu { display: block; }
.mobile-subgroup-menu a {
  display: block;
  padding: 8px 8px;
  font-size: 0.86rem;
  color: rgba(255,255,255,.55);
  border-radius: 6px;
}
.mobile-subgroup-menu a:hover { color: var(--primary); background: rgba(1,145,205,.1); }

/* Nav CTA button */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: var(--primary);
  color: var(--white) !important;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  margin-left: 10px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.nav-cta-btn:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-brand);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer — sits inside #site-nav (position:sticky),
   so position:absolute + top:100% lands it flush under the nav bar
   regardless of whether the announcement banner is visible */
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 100svh;           /* fills the visible viewport below the nav */
  background: var(--dark);
  z-index: 140;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 0 40px;
  border-top: 1px solid var(--border-dark);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.nav-mobile.open { transform: translateX(0); }

.mobile-menu-list { padding: 0 16px; }
.mobile-nav-item { border-bottom: 1px solid var(--border-dark); }

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.2px;
  width: 100%;
}
.mobile-nav-link .chevron {
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.mobile-nav-item.open .mobile-nav-link .chevron { transform: rotate(-135deg); }

.mobile-submenu { display: none; padding: 0 0 8px 16px; }
.mobile-nav-item.open .mobile-submenu { display: block; }
.mobile-submenu a {
  display: block;
  padding: 9px 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  border-radius: 6px;
}
.mobile-submenu a:hover { color: var(--primary); background: rgba(1,145,205,.1); }

.mobile-cta { margin: 20px 24px 0; }
.mobile-cta .btn-primary { width: 100%; justify-content: center; }


/* ── 6. BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn:active {
  transform: scale(0.98) !important;
  transition: transform 0.08s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}
.btn-primary[style*="width:100%"]:hover,
.btn-primary.btn-full:hover,
#form-submit-btn:hover { transform: none !important; box-shadow: var(--shadow-brand); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.25);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  font-weight: 800;
}
.btn-white:hover {
  background: var(--light);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.btn-lg { padding: 17px 38px; font-size: 0.9rem; }
.btn-sm { padding: 9px 20px; font-size: 0.75rem; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary);
}
.arrow-link::after {
  content: '\2192';
  transition: transform var(--transition);
  display: inline-block;
}
.arrow-link:hover::after { transform: translateX(5px); }
.arrow-link:hover { color: var(--primary-dark); }

.arrow-link-light { color: rgba(255,255,255,.85); }
.arrow-link-light::after { color: rgba(255,255,255,.85); }
.arrow-link-light:hover { color: var(--white); }


/* ── 7. HOMEPAGE HERO (EDITORIAL SPLIT) ─────────── */
@keyframes hero-gradient-drift {
  0%   { transform: scale(1)    translate(0,    0);    opacity: 1; }
  50%  { transform: scale(1.12) translate(2.5%, -3%);  opacity: 0.82; }
  100% { transform: scale(1)    translate(0,    0);    opacity: 1; }
}

@keyframes scroll-line-drop {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  80%  { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0   rgba(1,145,205,.4); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 6px rgba(1,145,205,0);  }
}

.hero-editorial {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 70% 50%, rgba(1,117,168,.22) 0%, transparent 65%),
              radial-gradient(ellipse 60% 50% at 10% 80%, rgba(1,145,205,.12) 0%, transparent 60%);
  animation: hero-gradient-drift 16s ease-in-out infinite;
  will-change: transform;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
  min-height: 100dvh;
}

/* Hero left */
.hero-left { max-width: 660px; }

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-bright);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--primary);
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--sans);
  font-size: clamp(3.2rem, 5.2vw, 5.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 32px;
}

/* Inline pill image inside the H1 */
.h1-pill-img {
  display: inline-block;
  width: 148px;
  height: 54px;
  border-radius: 100px;
  vertical-align: middle;
  background-size: cover;
  background-position: center;
  margin: 0 10px;
  overflow: hidden;
  opacity: 0.7;
  filter: grayscale(30%) contrast(1.1);
  position: relative;
  top: -5px;
}

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.56);
  line-height: 1.76;
  max-width: 520px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero right */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 28px 6px 28px 6px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(1,145,205,.1);
}

.hero-img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(30%) contrast(1.12);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,13,20,.15) 0%, transparent 40%, rgba(6,13,20,.72) 100%),
              linear-gradient(270deg, transparent 40%, rgba(6,13,20,.2) 100%);
}

/* Top badge on hero image */
.hero-float-card-top {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(1,145,205,.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(1,145,205,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 24px -10px rgba(8,16,26,.5);
  border-radius: 40px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  animation: badge-pulse 2.4s ease-in-out infinite;
}

.hero-float-card-top span {
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255,255,255,.82);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Bottom stat card on hero image */
.hero-float-card {
  position: absolute;
  bottom: 28px;
  left: 24px;
  background: rgba(8,16,26,.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(1,145,205,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 40px -16px rgba(8,16,26,.7);
  border-radius: 18px;
  padding: 18px 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  z-index: 2;
}

.hero-float-num {
  font-family: var(--sans);
  font-size: 2.7rem;
  font-weight: 900;
  color: var(--primary-bright);
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.hero-float-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.55);
  line-height: 1.42;
  max-width: 110px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  pointer-events: none;
}

.hero-scroll-indicator span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
}

.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(1,145,205,.6), transparent);
  animation: scroll-line-drop 2.2s cubic-bezier(0.4,0,0.6,1) infinite;
}


/* ── 8. INNER PAGE HERO ──────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(1,145,205,.1) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-content { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,.45);
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { font-size: 0.7rem; }

.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 600px; }


/* ── 9. SECTIONS — SHARED ───────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-diffuse);
  transform: translateY(-5px);
  border-color: var(--border-strong);
}

/* Cursor spotlight — driven by --mx/--my from JS */
.spotlight { position: relative; overflow: hidden; }
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), var(--primary-tint), transparent 64%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  z-index: 1;
}
.spotlight:hover::after { opacity: 1; }

.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--primary-light), #ffffff);
  box-shadow: inset 0 0 0 1px rgba(1,145,205,.16), inset 0 1px 0 rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}
.icon-box svg { width: 25px; height: 25px; fill: var(--primary); }
.icon-box.dark {
  background: linear-gradient(150deg, rgba(1,145,205,.18), rgba(1,145,205,.04));
  box-shadow: inset 0 0 0 1px rgba(1,145,205,.22), inset 0 1px 0 rgba(255,255,255,.08);
}

.quote-block {
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  background: var(--primary-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.quote-block p { font-size: 1rem; font-style: italic; color: var(--dark); margin: 0; }


/* ── 10. HOMEPAGE SECTIONS ──────────────────────── */

/* -- BENTO GRID -- */
.bento-section {
  background: var(--light);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(236px, auto);
  gap: 16px;
}

.bento-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Asymmetric bento placement — IAS hero, tall accent, two medium, wide USP band */
.bento-ias   { grid-column: 1 / span 2; grid-row: 1; border-radius: var(--radius-xl); }
.bento-stats { grid-column: 3;          grid-row: 1 / span 2; }
.bento-iga   { grid-column: 1;          grid-row: 2; }
.bento-itam  { grid-column: 2;          grid-row: 2; }
.bento-usp   { grid-column: 1 / span 3; grid-row: 3; }

/* legacy spans (other pages) */
.bento-card-lg { grid-column: span 2; }
.bento-card-sm { grid-column: span 1; }

/* Dark card (IGA — with bg image) */
.bento-card-dark {
  background: var(--dark-2);
}
.bento-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: grayscale(40%) contrast(1.1);
  transition: opacity 0.5s ease;
}
.bento-card-dark:hover .bento-card-bg { opacity: 0.45; }
.bento-card-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6,13,20,.8) 100%);
}
.bento-card-dark .bento-card-content { z-index: 2; }
.bento-card-dark h3 { color: var(--white); }
.bento-card-dark p { color: rgba(255,255,255,.62); }

/* Light card (ITAM) */
.bento-card-light {
  background: var(--white);
  border: 1px solid var(--border);
}
.bento-card-light h3 { color: var(--dark); }
.bento-card-light p { color: var(--text-light); }

/* Accent card (Stats) */
.bento-card-accent {
  background: linear-gradient(158deg, var(--primary-bright) 0%, var(--primary-dark) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.bento-card-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 12%, rgba(255,255,255,.18), transparent 55%);
  pointer-events: none;
}
.bento-stat-num {
  font-family: var(--sans);
  font-size: 5.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
  position: relative;
}
.bento-stat-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  position: relative;
}

/* Mid card (Approach) */
.bento-card-mid {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(1,145,205,.16), transparent 55%),
    var(--dark-surface);
}
.bento-card-mid .eyebrow { color: var(--primary-bright); }
.bento-card-mid h3 { color: var(--white); }
.bento-card-mid p { color: rgba(255,255,255,.62); }

/* USP band — heading + 3-part equation from the deck */
.bento-usp .bento-card-content { padding: 40px 44px; }
.bento-usp-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
  height: 100%;
}
.bento-equation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-eq-item {
  padding-left: 16px;
  border-left: 2px solid rgba(1,145,205,.4);
}
.bento-eq-key {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary-bright);
  text-transform: uppercase;
  display: block;
  margin-bottom: 7px;
}
.bento-eq-val {
  font-size: 0.88rem;
  color: rgba(255,255,255,.66);
  line-height: 1.4;
}

/* Card content wrapper */
.bento-card-content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento-icon {
  width: 52px;
  height: auto;
  margin-bottom: 20px;
}
.bento-card-dark .bento-icon { filter: brightness(0) invert(1); }
.bento-card-mid .bento-icon  { filter: brightness(0) invert(1); }

.bento-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.bento-card p  { font-size: 0.95rem; line-height: 1.65; flex: 1; margin-bottom: 20px; }

.bento-cta-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: auto;
}


/* -- SCRUB TEXT SECTION -- */
.scrub-section {
  background: var(--dark);
  padding: 140px 0;
  text-align: center;
}

.scrub-text {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.65);
  max-width: 900px;
  margin: 0 auto;
}

/* GSAP will add .word spans and animate opacity — initial state */
.scrub-text .word {
  display: inline;
  transition: opacity 0.1s;
}


/* -- PINNED FEATURES SECTION -- */
.pinned-section {
  background: var(--light);
  padding-bottom: 100px;
}

.pinned-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.pin-title {
  position: sticky;
  top: 120px;
}

.pin-title h2 { margin-bottom: 16px; }
.pin-sub {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}

.pin-gallery {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pin-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: all var(--transition);
}
.pin-item:hover {
  border-color: rgba(1,145,205,.3);
  box-shadow: var(--shadow-sm);
}

.pin-num {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
}

.pin-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pin-item p  { font-size: 0.95rem; color: var(--text-light); margin: 0; line-height: 1.65; }


/* -- STATS BAR -- */
.stats-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 0 24px;
  border-right: 1px solid var(--border-dark);
}
.stat-item:last-child { border-right: none; }
.stat-item .number {
  font-family: var(--sans);
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat-item .label {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: rgba(255,255,255,.5);
  margin-top: 12px;
  letter-spacing: 0.3px;
  line-height: 1.5;
}


/* ── 11. SERVICE / SOLUTION CARDS ───────────────── */
.solutions-overview { background: var(--white); }

.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.solution-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(1,145,205,.25);
}
.solution-card:hover::before { transform: scaleX(1); }
.solution-card img.sol-icon { width: 64px; height: auto; margin-bottom: 20px; }
.solution-card h3 { margin-bottom: 12px; }
.solution-card p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 24px; flex: 1; }

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  background: var(--white);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--primary-tint), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.service-card > * { position: relative; z-index: 2; }
.service-card:hover {
  box-shadow: var(--shadow-diffuse);
  transform: translateY(-5px);
  border-color: var(--border-strong);
}
.service-card:hover::after { opacity: 1; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 11px; letter-spacing: -0.01em; }
.service-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.65; }

.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}
.check-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}


/* ── 11b. EDITORIAL PILLAR ROWS (anti-card spec layout) ── */
.pillars {
  border-top: 1px solid var(--border-strong);
}
.pillar-row {
  display: grid;
  grid-template-columns: 0.55fr 1.35fr 1.2fr;
  gap: 44px;
  padding: 46px 8px;
  border-bottom: 1px solid var(--border);
  align-items: start;
  position: relative;
  transition: background 0.45s var(--ease);
}
.pillar-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: -1px;
  width: 2px;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}
.pillar-row:hover { background: linear-gradient(90deg, var(--primary-tint), transparent 70%); }
.pillar-row:hover::before { transform: scaleY(1); }

.pillar-index { display: flex; flex-direction: column; gap: 10px; }
.pillar-num {
  font-family: var(--mono);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pillar-tag {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
}
.pillar-head h3 { font-size: 1.4rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.pillar-head p { color: var(--text-light); font-size: 0.96rem; line-height: 1.7; margin: 0; }
.pillar-list .check-list { gap: 12px; }
.pillar-list .check-list li { font-size: 0.92rem; }

@media (max-width: 1024px) {
  .pillar-row { grid-template-columns: 1fr; gap: 22px; padding: 38px 4px; }
  .pillar-num { font-size: 2.1rem; }
}


/* ── 12. PARTNER CAROUSEL ───────────────────────── */
.partner-section {
  background: var(--dark);
  padding: 80px 0;
  overflow: hidden;
}

.partner-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.34);
  text-align: center;
}

.partner-track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.partner-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: scroll-partners 30s linear infinite;
  width: max-content;
}
.partner-track:hover { animation-play-state: paused; }

@keyframes scroll-partners {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo {
  height: 34px;
  width: auto;
  opacity: 0.45;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition), filter var(--transition);
  flex-shrink: 0;
}
.partner-logo:hover { opacity: 1; filter: none; }


/* ── 13. TWO-COLUMN FEATURE ROWS ────────────────── */
.feature-row { padding: 120px 0; }
.feature-row.alt { background: var(--light); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col.reverse .two-col-img { order: -1; }
.two-col-img {
  border-radius: 20px 4px 20px 4px;
  overflow: hidden;
}
.two-col.reverse .two-col-img {
  border-radius: 4px 20px 4px 20px;
}
.two-col-img img { width: 100%; height: auto; }

.feature-row .feature-text h2 { margin-bottom: 20px; }
.feature-row .feature-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.75; }


/* ── 14. CTA SECTION ────────────────────────────── */
.cta-section {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
  background: var(--dark);
}

.cta-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(60%) contrast(1.1);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 0%, rgba(6,13,20,.55) 100%),
    linear-gradient(180deg, rgba(6,13,20,.88) 0%, rgba(6,13,20,.94) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.cta-section p {
  color: rgba(255,255,255,.65);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.72;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ── 15. CONTACT PAGE ───────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }

.office-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: all var(--transition);
}
.office-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.office-flag { font-size: 2rem; flex-shrink: 0; }
.office-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.office-info p, .office-info a { font-size: 0.88rem; color: var(--text-light); margin: 0; }
.office-info a:hover { color: var(--primary); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-diffuse);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(1,145,205,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }


/* ── 16. ABOUT PAGE ─────────────────────────────── */
.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.leader-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(1,145,205,.25);
}
.leader-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.leader-card h3 { font-size: 1rem; margin-bottom: 4px; }
.leader-card .role { font-size: 0.8rem; color: var(--primary); font-weight: 600; margin-bottom: 14px; }
.leader-card .bio { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.leader-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0a66c2;
  border: 1px solid rgba(10,102,194,.25);
  border-radius: 40px;
  padding: 6px 14px;
  transition: all var(--transition);
  margin-top: auto;
  text-decoration: none;
}
.leader-linkedin:hover {
  background: rgba(10,102,194,.08);
  border-color: rgba(10,102,194,.5);
  color: #0a66c2;
  transform: translateY(-1px);
}

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-item h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 4px; }
.timeline-item p  { font-size: 0.92rem; color: var(--text-light); margin: 0; }


/* ── 17. PARTNERS PAGE ──────────────────────────── */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.partner-card {
  position: relative;
  overflow: hidden;
  background: var(--dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.partner-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(1,145,205,.12), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.partner-card > * { position: relative; z-index: 2; }
.partner-card:hover::after { opacity: 1; }
.partner-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: rgba(1,145,205,.3); }

.partner-card-logo {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 20px;
  mix-blend-mode: screen;
  opacity: 0.82;
  transition: opacity var(--transition);
}
.partner-card:hover .partner-card-logo { opacity: 1; }
.partner-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--white); }
.partner-card p  { font-size: 0.88rem; color: rgba(255,255,255,.55); }


/* ── 18. FOOTER ─────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 88px 0 0;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand-logo {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
  opacity: 0.9;
}

.footer-brand-name {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.footer-brand-name span { color: var(--primary); }

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 28px;
  max-width: 240px;
  line-height: 1.65;
}

.footer-offices { display: flex; flex-direction: column; gap: 12px; }
.footer-office { display: flex; gap: 10px; align-items: flex-start; }
.footer-office .flag { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-office a {
  font-size: 0.82rem;
  color: rgba(255,255,255,.45);
  line-height: 1.55;
}
.footer-office a:hover { color: var(--primary); }

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.34);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,.28); }
.footer-copy a { color: rgba(255,255,255,.38); }
.footer-copy a:hover { color: var(--primary); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,.32); }
.footer-legal a:hover { color: var(--primary); }


/* ── 19. PROID PAGE ─────────────────────────────── */
.proid-product-card {
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
}

.proid-card-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 40px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.proid-product-card h3 { margin-bottom: 12px; }
.proid-product-card p  { font-size: 0.95rem; color: var(--text-light); line-height: 1.68; margin-bottom: 12px; }

.proid-card-detail {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}
.proid-card-detail p { font-size: 0.88rem; margin: 0; }

.proid-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.proid-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,.7);
  background: rgba(1,145,205,.12);
  border: 1px solid rgba(1,145,205,.25);
  padding: 7px 16px;
  border-radius: 40px;
  transition: all var(--transition);
}
.proid-badge:hover {
  background: rgba(1,145,205,.22);
  color: var(--white);
  border-color: rgba(1,145,205,.5);
}


/* ── EMPATHY BRIDGE SECTION ─────────────────────── */
.empathy-section {
  background: var(--empathy-surface);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.empathy-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(1,145,205,.06), transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 100%, rgba(201,87,10,.04), transparent 50%);
  pointer-events: none;
}
.empathy-section .container { position: relative; z-index: 2; }

.empathy-central-quote {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--primary-bright);
  text-align: center;
  max-width: 820px;
  margin: 0 auto 72px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.tension-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 64px;
}

.tension-tile {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition);
}
.tension-tile:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(201,87,10,.22);
}
.tension-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tension), transparent);
  opacity: 0.55;
}

.tension-label {
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tension);
  margin-bottom: 14px;
  display: block;
}

.tension-tile p {
  font-size: 1rem;
  color: rgba(255,255,255,.68);
  line-height: 1.72;
  font-style: italic;
  margin: 0;
}

.empathy-close {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.empathy-close p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.48);
  line-height: 1.75;
  margin: 0;
}
.empathy-close strong {
  color: rgba(255,255,255,.8);
  font-weight: 600;
}

/* Ownership voice line inside pin items */
.pin-insight {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem !important;
  font-style: italic;
  color: var(--primary) !important;
  line-height: 1.55 !important;
}


/* ── 20. RESPONSIVE — TABLET (<=1024px) ────────── */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: block; }

  .hero-split { grid-template-columns: 1fr; gap: 48px; min-height: auto; padding-top: 100px; padding-bottom: 80px; }
  .hero-right { display: none; }
  .hero-h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }

  .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(220px, auto); }
  .bento-ias, .bento-itam, .bento-usp { grid-column: 1 / span 2; grid-row: auto; }
  .bento-stats { grid-column: 1; grid-row: auto; }
  .bento-iga { grid-column: 2; grid-row: auto; }
  .bento-usp-inner { grid-template-columns: 1fr; gap: 28px; }
  .bento-card-lg { grid-column: span 2; }
  .bento-card-sm { grid-column: span 1; }

  .pinned-section { padding-bottom: 88px; }
  .pinned-inner { grid-template-columns: 1fr; }
  .pin-title { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .two-col.reverse .two-col-img { order: 0; }

  .section { padding: 88px 0; }
  .feature-row { padding: 88px 0; }
  .scrub-section { padding: 100px 0; }
  .cta-section { padding: 100px 0; }
  .empathy-section { padding: 88px 0; }
  .tension-tiles { grid-template-columns: 1fr; gap: 10px; }
}


/* ── 20. RESPONSIVE — MOBILE (<=640px) ─────────── */
@media (max-width: 640px) {
  :root {
    --nav-h: 64px;
    --banner-h: auto;
  }

  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
  .feature-row { padding: 64px 0; }
  .scrub-section { padding: 80px 0; }
  .cta-section { padding: 80px 0; }

  #announcement-banner {
    height: auto;
    padding: 10px 48px 10px 16px;
    text-align: center;
  }
  .banner-inner { flex-direction: column; gap: 4px; }
  .banner-text { font-size: 0.78rem; }

  .hero-split {
    grid-template-columns: 1fr;
    padding-top: 80px;
    padding-bottom: 64px;
  }
  .hero-right { display: none; }
  .hero-h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; max-width: 320px; }

  .bento-grid { grid-template-columns: 1fr; gap: 12px; grid-auto-rows: minmax(200px, auto); }
  .bento-ias, .bento-stats, .bento-iga, .bento-itam, .bento-usp {
    grid-column: 1; grid-row: auto;
  }
  .bento-equation { grid-template-columns: 1fr; gap: 16px; }
  .bento-card-lg, .bento-card-sm { grid-column: span 1; }
  .bento-card-content { padding: 28px; }
  .bento-usp .bento-card-content { padding: 28px; }
  .bento-stat-num { font-size: 3.8rem; }

  .scrub-text { font-size: clamp(1.2rem, 5vw, 1.8rem); }
  .empathy-section { padding: 64px 0; }
  .empathy-central-quote { font-size: clamp(1.3rem, 5vw, 1.8rem); margin-bottom: 40px; }

  .pinned-section { padding-bottom: 64px; }
  .pinned-inner { grid-template-columns: 1fr; gap: 40px; }
  .pin-gallery { gap: 12px; }
  .pin-item { padding: 24px; }

  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .solutions-overview .grid-2 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item .number { font-size: 2.4rem; }

  .form-row { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }

  .page-hero { padding: 56px 0 48px; }
  .contact-form { padding: 28px; }
}


/* ═══════════════════════════════════════════════════════
   INTEGRALIS LIGHT THEME
   Integralis = light, open, trustworthy blue
   Govern-IS  = dark, editorial, dramatic navy
═══════════════════════════════════════════════════════ */

/* ── HERO AWARD STRIP ── */
.hero-award-strip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 12px 18px 12px 14px;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.30);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
  max-width: 420px;
}
.hero-award-strip:hover {
  background: rgba(245,158,11,0.16);
  border-color: rgba(245,158,11,0.55);
}
.hero-award-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245,158,11,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  flex-shrink: 0;
}
.hero-award-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-award-title {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 0.1px;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245,158,11,0.4);
}
.hero-award-strip:hover .hero-award-title {
  text-decoration-color: rgba(245,158,11,0.9);
}
.hero-award-sub {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-award-arrow {
  font-size: 0.9rem;
  color: rgba(245,158,11,0.6);
  margin-left: auto;
  transition: transform var(--transition);
}
.hero-award-strip:hover .hero-award-arrow { transform: translateX(3px); }

/* ── NAV: white header with dark text ── */
#site-nav {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
}
#site-nav.scrolled {
  background: rgba(255,255,255,0.99);
  box-shadow: 0 4px 24px rgba(8,16,26,.10);
}
.nav-link { color: var(--text); }
.nav-link:hover { color: var(--dark); background: var(--light); }
.nav-dropdown {
  background: var(--white);
  border-color: var(--border);
}
.nav-dropdown a { color: var(--text); }
.nav-dropdown a:hover { background: var(--primary-tint); color: var(--primary-dark); }
.nav-hamburger span { background: rgba(8,16,26,.75); }
.nav-mobile {
  background: var(--white);
  border-top-color: var(--border);
}
.mobile-nav-item { border-bottom-color: var(--border); }
.mobile-nav-link { color: var(--text); }
.mobile-submenu a { color: var(--text-light); }
.mobile-submenu a:hover { color: var(--primary); background: var(--primary-tint); }

/* ── HERO: deep Integralis blue (matches section-dark contrast) ── */
.hero-editorial { background: #093959; }
.hero-bg-layer {
  background:
    radial-gradient(ellipse 80% 70% at 70% 50%, rgba(1,175,230,.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(1,145,205,.12) 0%, transparent 60%);
}
.hero-grid-overlay {
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
}
.hero-h1 { color: var(--white); }
.hero-eyebrow { color: rgba(1,175,230,.85); }
.hero-sub { color: rgba(255,255,255,.65); }
.hero-scroll-indicator span { color: rgba(255,255,255,.25); }
.hero-scroll-line { background: linear-gradient(to bottom, rgba(1,175,230,.55), transparent); }
.btn-ghost {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.28);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
  color: var(--white);
}

/* ── EMPATHY SECTION: soft light-blue ── */
.empathy-section {
  background: #e8f5fb;
  border-top: 1px solid rgba(1,145,205,.18);
  border-bottom: 1px solid rgba(1,145,205,.18);
}
.empathy-section::before {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(1,145,205,.08), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 100%, rgba(1,145,205,.05), transparent 50%);
}
.empathy-central-quote { color: var(--primary-dark); }
.tension-tile {
  background: rgba(255,255,255,.88);
  border-color: rgba(1,145,205,.18);
}
.tension-tile:hover {
  background: rgba(255,255,255,1);
  border-color: rgba(1,145,205,.4);
}
.tension-tile::before {
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.tension-label { color: var(--primary); }
.tension-tile p { color: var(--text); }
.empathy-close {
  border-top-color: rgba(1,145,205,.18);
}
.empathy-close p { color: var(--text); }
.empathy-close strong { color: var(--dark); }

/* ── SCRUB SECTION: light background ── */
.scrub-section { background: var(--light); }
.scrub-text { color: rgba(8,16,26,.55); }

/* ── STATS BAR: vibrant primary blue ── */
.stats-bar {
  background: var(--primary);
  border-top: none;
  border-bottom: none;
}
.stat-item { border-right-color: rgba(255,255,255,.22); }
.stat-item .label { color: rgba(255,255,255,.78); }

/* ── PARTNER CAROUSEL: clean light ── */
.partner-section { background: var(--light-2); }
.partner-label { color: var(--text-light); }
.partner-logo {
  opacity: 0.5;
  filter: brightness(0);
}
.partner-logo:hover { opacity: 0.85; filter: brightness(0); }

/* ── PAGE HEROES (inner pages): deep Integralis blue ── */
.page-hero {
  background: #093959;
}
.page-hero::before {
  background-image: radial-gradient(circle, rgba(1,175,230,.12) 1px, transparent 1px);
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.65); }
.breadcrumb   { color: rgba(255,255,255,.45); }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--primary-bright); }

/* ── PARTNER CARDS: dark Integralis blue ── */
.partner-card {
  background: #093959;
  border-color: rgba(1,175,230,.15);
}
.partner-card:hover { border-color: rgba(1,175,230,.4); }
.partner-card h3 { color: var(--white); }
.partner-card p  { color: rgba(255,255,255,.58); }
.partner-card-logo {
  mix-blend-mode: screen;
  opacity: 0.82;
  filter: none;
}
.partner-card:hover .partner-card-logo { opacity: 1; }

/* ── SECTION-DARK: deep Integralis blue (contrast sections) ── */
.section-dark     { background: #093959; }
.section-dark-mid { background: #0b4568; }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4  { color: var(--white); }
.section-dark .eyebrow  { color: rgba(1,175,230,.85); }
.section-dark p         { color: rgba(255,255,255,.65); }
.section-dark .text-white { color: var(--white) !important; }
.section-dark .section-sub { color: rgba(255,255,255,.55); }

/* ── CTA SECTION: rich primary gradient instead of jet black ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #005f8e 100%);
}
.cta-bg-img { filter: grayscale(80%) contrast(1.05); opacity: 0.15; }
.cta-overlay {
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 0%, rgba(0,80,120,.3) 100%),
    linear-gradient(180deg, rgba(1,117,168,.6) 0%, rgba(0,75,115,.7) 100%);
}

/* ── FOOTER: deep-but-branded navy (not pure black) ── */
.site-footer {
  background: #05131f;
  border-top: 1px solid rgba(1,145,205,.2);
}

/* ── PROID BADGE: adjust for light context ── */
.proid-badge {
  color: var(--primary-dark);
  background: rgba(1,145,205,.08);
  border-color: rgba(1,145,205,.2);
}
.proid-badge:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
