/* ============================================
   THEME — LTTS-inspired corporate look
   Loaded LAST by RootLayoutClient (main site only, not /lp or tool pages).
   Pattern: white utility-style header, deep navy + bright blue palette,
   square-edged buttons with arrow, flat cards with thin borders, full-bleed
   hero with dark overlay, generous whitespace, dark navy multi-column footer.
   To revert: copy theme-refresh.pre-ltts.bak.css over this file.
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --tr-navy: #17479e;
  --tr-navy-deep: #17479e;
  --tr-blue: #17479e;
  --tr-blue-dark: #17479e;
  --tr-red: #e11b22;
  --tr-ink: #17479e;
  --tr-body: #4a4a4a;
  --tr-line: #e3e6eb;
  --tr-surface: #f4f5f7;
  --tr-radius: 2px;
  --tr-radius-lg: 4px;
  --tr-shadow-sm: 0 1px 3px rgba(23, 71, 158, 0.06);
  --tr-shadow-md: 0 8px 24px rgba(23, 71, 158, 0.12);
  --tr-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Typography ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: var(--tr-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: var(--tr-navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 { font-weight: 700; }
h2, h3 { font-weight: 600; }

::selection { background: var(--tr-blue); color: #fff; }

a { transition: color 0.2s var(--tr-ease); }

:focus-visible {
  outline: 2px solid var(--tr-blue);
  outline-offset: 3px;
}

/* ---------- Header: clean white bar, thin rule ---------- */
#header, header {
  background: #fff !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 var(--tr-line) !important;
  border-bottom: 0;
}

.nav-links > li > .nav-link {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--tr-navy);
}

.nav-links > li > .nav-link:hover { color: var(--tr-blue); }

/* LTTS-style underline-on-hover bar in brand blue */
.nav-links > li > .nav-link::after { background: var(--tr-blue) !important; height: 3px; }

.nav-icon { display: none; }

.megamenu-container {
  border-radius: 0 !important;
  border: 0;
  border-top: 3px solid var(--tr-blue);
  box-shadow: var(--tr-shadow-md) !important;
}

/* ---------- Hero: full-bleed, dark navy overlay, large white heading ---------- */
.hero-section,
[class*='hero-banner'],
.th-hero-wrapper { position: relative; }

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 71, 158, 0.82) 0%, rgba(23, 71, 158, 0.45) 55%, rgba(23, 71, 158, 0.1) 100%);
  pointer-events: none;
  z-index: 0;
}

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

.hero-section h1,
.hero-title { color: #fff; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Buttons: rectangular, solid blue, arrow on hover ---------- */
.btn,
.btn.primary,
.btn.ghost,
.btn-primary,
.btn-secondary,
.submit-btn,
.zi-cta-button,
.light-cta-btn,
.theme-btn {
  border-radius: var(--tr-radius);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background-color 0.25s var(--tr-ease), color 0.25s var(--tr-ease),
    border-color 0.25s var(--tr-ease), box-shadow 0.25s var(--tr-ease);
}

.btn.primary,
.btn-primary,
.submit-btn,
.zi-cta-button,
.theme-btn {
  background: var(--tr-blue);
  border-color: var(--tr-blue);
  color: #fff;
}

.btn.primary:hover,
.btn-primary:hover,
.submit-btn:hover,
.zi-cta-button:hover,
.theme-btn:hover {
  background: var(--tr-navy);
  border-color: var(--tr-navy);
  color: #fff;
  box-shadow: none;
}

.btn.ghost,
.btn-secondary,
.light-cta-btn {
  background: transparent;
  border: 1.5px solid var(--tr-blue);
  color: var(--tr-blue);
}

.btn.ghost:hover,
.btn-secondary:hover,
.light-cta-btn:hover {
  background: var(--tr-blue);
  color: #fff;
}

.btn:hover,
.btn:active,
.submit-btn:active,
.zi-cta-button:active { transform: none; }

/* ---------- Section headings: small blue eyebrow + bold navy title ---------- */
.sec-title .sub-title,
.section-subtitle,
.eyebrow {
  color: var(--tr-blue);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sec-title h2,
.section-title { font-weight: 700; color: var(--tr-navy); }

/* ---------- Cards: flat, thin border, blue top accent on hover ---------- */
.card,
.case-card,
.insight-card,
.service-card,
.blog-card,
.feature-card {
  border-radius: var(--tr-radius-lg);
  border: 1px solid var(--tr-line);
  border-top: 3px solid transparent;
  box-shadow: none;
  background: #fff;
  transition: border-top-color 0.25s var(--tr-ease), box-shadow 0.25s var(--tr-ease);
}

.card:hover,
.case-card:hover,
.insight-card:hover,
.service-card:hover,
.blog-card:hover,
.feature-card:hover {
  transform: none;
  border-top-color: var(--tr-blue);
  box-shadow: var(--tr-shadow-md);
}

main img,
section img { border-radius: 0; }

/* Alternate section tint like LTTS content bands */
.bg-light,
.section-light { background: var(--tr-surface) !important; }

/* ---------- Forms ---------- */
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='number'],
select,
textarea {
  border: 1px solid #cfd3d9;
  border-radius: var(--tr-radius);
  transition: border-color 0.2s var(--tr-ease), box-shadow 0.2s var(--tr-ease);
}

input[type='text']:focus,
input[type='email']:focus,
input[type='tel']:focus,
input[type='url']:focus,
input[type='number']:focus,
select:focus,
textarea:focus {
  border-color: var(--tr-blue);
  box-shadow: 0 0 0 3px rgba(23, 71, 158, 0.15);
  outline: none;
}

/* ---------- Footer: deep navy, multi-column, uppercase column titles ---------- */
.ltts-footer {
  background: var(--tr-navy-deep);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
}

.ltts-footer__top { padding: 72px 0 44px; }

.ltts-title {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ltts-row-toggle,
.ltts-row-link { transition: color 0.2s var(--tr-ease), padding-left 0.2s var(--tr-ease); }

.ltts-row-toggle:hover,
.ltts-row-link:hover { opacity: 1; color: #fff; padding-left: 4px; }

.ltts-footer__bottom { background: #17479e; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- AOS disabled: never hide or animate content ---------- */
[data-aos],
[data-aos].aos-init,
[data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  visibility: visible !important;
}
.aos-3d, .aos-3d.aos-active { opacity: 1 !important; transform: none !important; transition: none !important; }

/* =====================================================
   MENU LAYOUT — LTTS pattern
   utility strip on top, main nav below, full-width flush mega panel
===================================================== */
.top-utility-bar { display: none; }

@media (min-width: 992px) {
  /* Top bar: tech-gradient strip — glass pills, glowing CTA, animated accent line */
  .top-utility-bar {
    display: block;
    position: relative;
    background: linear-gradient(100deg, #17479e 0%, #17479e 45%, #e11b22 100%);
    font-size: 0.8rem;
    line-height: 1;
  }
  .top-utility-bar::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #e11b22, #17479e, #e11b22, #e11b22);
    background-size: 200% 100%;
    animation: topBarFlow 6s linear infinite;
  }
  @keyframes topBarFlow { to { background-position: 200% 0; } }
  .top-utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 8px;
    padding-bottom: 10px;
  }
  .top-tagline { margin: 0; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-weight: 500; letter-spacing: 0.02em; }
  .top-dot { width: 8px; height: 8px; border-radius: 50%; background: #e11b22; box-shadow: 0 0 0 0 rgba(225, 27, 34,0.6); animation: topPulse 2s ease-out infinite; }
  @keyframes topPulse { 70% { box-shadow: 0 0 0 8px rgba(225, 27, 34,0); } 100% { box-shadow: 0 0 0 0 rgba(225, 27, 34,0); } }
  .top-links { display: flex; align-items: center; gap: 10px; }
  .top-links > a:not(.top-utility-cta) {
    display: flex; align-items: center;
    padding: 7px 14px;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.25s var(--tr-ease), border-color 0.25s var(--tr-ease), transform 0.25s var(--tr-ease);
  }
  .top-links > a:not(.top-utility-cta):hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); transform: translateY(-1px); }
  .top-links i { margin-right: 8px; font-size: 0.75rem; color: #ffffff; }
  .top-social { display: flex; align-items: center; gap: 6px; }
  .top-social a {
    display: grid; place-items: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    transition: background 0.25s var(--tr-ease), transform 0.25s var(--tr-ease);
  }
  .top-social a:hover { background: linear-gradient(135deg, #e11b22, #e11b22); transform: translateY(-2px); }
  .top-social i { margin: 0; font-size: 0.78rem; color: #fff; }
  .top-links .top-utility-cta {
    display: flex; align-items: center;
    padding: 8px 18px;
    margin-left: 4px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #17479e 0%, #e11b22 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset, 0 6px 18px rgba(225, 27, 34,0.45);
    transition: transform 0.25s var(--tr-ease), box-shadow 0.25s var(--tr-ease);
  }
  .top-links .top-utility-cta i { color: #fff; margin: 0 0 0 8px; font-size: 0.7rem; transition: transform 0.2s var(--tr-ease); }
  .top-links .top-utility-cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,0.3) inset, 0 8px 24px rgba(225, 27, 34,0.5); }
  .top-links .top-utility-cta:hover i { transform: translateX(3px); }

  /* utilities moved to the top strip */
  #header .nav-utilities { display: none; }

  #header .navbar { padding: 6px 0; }
  .nav-links { gap: 4px; margin-left: auto; }
  .nav-links > li > .nav-link { padding: 24px 14px; text-transform: none; }

  /* Mega panel: full width, square, flush under the header */
  .mega-menu {
    padding: 0 !important;
    border-radius: 0 !important;
    border-top: 3px solid var(--tr-blue);
    box-shadow: 0 18px 32px rgba(23, 71, 158, 0.14) !important;
    transform: none !important;
    transition: opacity 0.2s var(--tr-ease), visibility 0.2s var(--tr-ease) !important;
    background: #fff !important;
    max-height: none !important;
  }

  .mm-panel {
    display: grid;
    grid-template-columns: 300px 1fr;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 340px;
  }

  /* Navy lead-in column */
  .mm-intro {
    background: var(--tr-navy);
    color: #fff;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .mm-eyebrow {
    font: 700 0.72rem 'Hanken Grotesk', system-ui, sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
  }
  .mm-intro h3 { color: #fff; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 2.2rem; letter-spacing: 0; margin: 10px 0 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.25); }
  .mm-intro p { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; line-height: 1.6; margin: 0 0 auto; }
  #header .mega-menu .mm-cta {
    margin-top: 28px;
    color: #fff !important;
    background: var(--tr-blue);
    padding: 12px 20px;
    font: 600 0.85rem 'Hanken Grotesk', system-ui, sans-serif;
    text-decoration: none;
    transition: background 0.2s var(--tr-ease);
  }
  #header .mega-menu .mm-cta:hover { background: #fff; color: var(--tr-navy) !important; }
  .mm-cta i { margin-left: 8px; font-size: 0.75rem; }

  .mm-body { padding: 36px 40px; background: #fff; }

  /* columns: heading + links per category */
  .mm-columns .mm-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; align-content: start; }
  .mm-col-title {
    display: block;
    font: 700 0.95rem 'Hanken Grotesk', system-ui, sans-serif;
    color: var(--tr-navy) !important;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--tr-blue);
    text-decoration: none;
  }
  .mm-col ul { list-style: none; margin: 0; padding: 0; }
  .mm-col li a {
    display: block;
    padding: 5px 0;
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--tr-body) !important;
    text-decoration: none;
    transition: color 0.2s var(--tr-ease), padding-left 0.2s var(--tr-ease);
  }
  .mm-col li a:hover, .mm-col-title:hover { color: var(--tr-blue) !important; }
  .mm-col li a:hover { padding-left: 6px; }

  /* tiles: image per category */
  .mm-tiles .mm-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .mm-tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 130px;
    padding: 14px 16px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    overflow: hidden;
  }
  .mm-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 71, 158, 0.1) 0%, rgba(23, 71, 158, 0.85) 100%);
    transition: background 0.25s var(--tr-ease);
  }
  .mm-tile:hover::before { background: linear-gradient(180deg, rgba(23, 71, 158, 0.35) 0%, rgba(23, 71, 158, 0.9) 100%); }
  .mm-tile-name, .mm-tile-go { position: relative; color: #fff; }
  .mm-tile-name { font: 600 0.88rem/1.3 'Hanken Grotesk', system-ui, sans-serif; max-width: 85%; }
  .mm-tile-go { font-size: 0.8rem; opacity: 0; transform: translateX(-6px); transition: all 0.25s var(--tr-ease); }
  .mm-tile:hover .mm-tile-go { opacity: 1; transform: none; }

  /* list: simple grid of links */
  .mm-list .mm-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; align-content: start; }
  .mm-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--tr-line);
    font: 500 0.95rem 'Hanken Grotesk', system-ui, sans-serif;
    color: var(--tr-navy) !important;
    text-decoration: none;
  }
  .mm-link i { color: var(--tr-blue); font-size: 0.8rem; opacity: 0; transform: translateX(-6px); transition: all 0.2s var(--tr-ease); }
  .mm-link:hover { color: var(--tr-blue) !important; }
  .mm-link:hover i { opacity: 1; transform: none; }

  /* ---- showcase (Services): numbered categories + detail pane ---- */
  .mm-showcase { grid-template-columns: 260px 1fr; }
  .mm-showcase .mm-body { display: grid; grid-template-columns: 320px 1fr; padding: 0; }
  .mm-cats { list-style: none; margin: 0; padding: 20px 0; border-right: 1px solid var(--tr-line); background: var(--tr-surface); }
  .mm-cat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 24px;
    text-decoration: none;
    color: var(--tr-navy) !important;
    border-left: 3px solid transparent;
    transition: background 0.2s var(--tr-ease), border-color 0.2s var(--tr-ease);
  }
  .mm-num { font: 500 1.05rem 'Playfair Display', Georgia, serif; color: #9a9a9a; min-width: 26px; transition: color 0.2s; }
  .mm-cat-name { flex: 1; font: 600 0.88rem/1.35 'Hanken Grotesk', system-ui, sans-serif; }
  .mm-cat i { font-size: 0.75rem; color: var(--tr-blue); opacity: 0; transform: translateX(-6px); transition: all 0.2s var(--tr-ease); }
  .mm-cat.is-active { background: #fff; border-left-color: var(--tr-blue); }
  .mm-cat.is-active .mm-num { color: var(--tr-blue); }
  .mm-cat.is-active i { opacity: 1; transform: none; }

  .mm-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 28px 36px; align-items: start; animation: mmFade 0.3s var(--tr-ease); }
  @keyframes mmFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .mm-photo {
    position: relative;
    min-height: 240px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
  }
  .mm-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 71, 158,0) 35%, rgba(23, 71, 158,0.9) 100%); }
  .mm-photo p { position: relative; margin: 0; padding: 18px; color: #fff; font: italic 500 1rem/1.5 'Playfair Display', Georgia, serif; }
  .mm-detail ul { list-style: none; margin: 0; padding: 0; }
  .mm-detail li a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--tr-line);
    font-size: 0.9rem;
    color: var(--tr-navy) !important;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s var(--tr-ease);
  }
  .mm-detail li a:hover { color: var(--tr-blue) !important; padding-left: 8px; }
  .mm-detail:only-child { grid-template-columns: 1fr; }

  /* classic touches shared by every menu */
  .mm-col-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; font-weight: 600; }
  .mm-tile { transition: transform 0.3s var(--tr-ease); }
  .mm-tile-name { font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; font-weight: 600; }
}

/* Inner mega-menu items: no underlines or divider rules */
.mm-panel a,
.mm-panel a:hover,
.mm-panel a:focus { text-decoration: none !important; }
.mm-link,
.mm-detail li a,
.mm-col li a,
.mm-col-title,
.mm-cat,
.mm-intro h3 { border-bottom: 0 !important; }
.mm-intro h3 { padding-bottom: 0 !important; }

/* Main nav: no underline bars under any top-level item */
#header .nav-links > li > .nav-link::after,
#header .nav-links > li > .nav-link:hover::after,
#header .nav-links > li > a::after,
.nav-links > li > .nav-link::after,
.nav-links > li > .nav-link:hover::after,
.nav-links > li.has-megamenu:hover > .nav-link::after,
.nav-links > li > .nav-link.active::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}
#header .nav-links > li > .nav-link,
#header .nav-links > li > .nav-link:hover { text-decoration: none !important; border-bottom: 0 !important; }

/* The wrapper under each mega item is only a positioning shell — the visible panel is .mega-menu.
   Without this its border drew a blue bar under Industries / Services / Solutions / About Us. */
#header .megamenu-container,
.megamenu-container {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body, button, input, select, textarea { font-family: 'Hanken Grotesk', system-ui, sans-serif; }

/* =====================================================
   NAV: corporate — white bar, hairline rule, square edges, navy only
===================================================== */
.top-utility-bar { display: none !important; }
.nav-cta { display: none; }

@media (min-width: 992px) {
  #header, header { background: #fff !important; box-shadow: none !important; border-bottom: 1px solid #d9dce1; }
  #header .navbar { padding: 0; min-height: 84px; flex-wrap: nowrap; }
  #header .logo { flex-shrink: 0; }
  #header .nav-links { gap: 0; align-items: stretch; align-self: stretch; margin-left: auto; flex-wrap: nowrap; }
  #header .nav-links > li { display: flex; align-items: stretch; }
  #header .nav-icon { display: none !important; }

  #header .nav-links > li:not(.nav-cta):not(.nav-utilities) > .nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--tr-navy);
    background: transparent;
    box-shadow: none;
    transition: background 0.2s var(--tr-ease), color 0.2s var(--tr-ease);
  }
  #header .nav-links > li > .nav-link .dropdown-icon { font-size: 0.62rem; margin-left: 7px; color: #8a8a8a; }

  #header .nav-links > li:not(.nav-cta) > .nav-link:hover,
  #header .nav-links > li.has-megamenu:hover > .nav-link { background: #f1f2f4; color: var(--tr-blue); }

  /* current section: solid navy block */
  #header .nav-links > li > .nav-link.is-current,
  #header .nav-links > li > .nav-link.is-current:hover { background: var(--tr-navy); color: #fff; box-shadow: none; }
  #header .nav-links > li > .nav-link.is-current .dropdown-icon { color: rgba(255,255,255,0.7); }

  /* Contact: square primary button, set apart by a hairline */
  #header .nav-links > li.nav-cta { display: flex; align-items: center; margin-left: 20px; padding-left: 20px; border-left: 1px solid #d9dce1; }
  #header .nav-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 2px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff !important;
    text-decoration: none;
    background: var(--tr-blue);
    box-shadow: none;
    transition: background 0.2s var(--tr-ease);
  }
  #header .nav-cta a:hover { background: var(--tr-navy); transform: none; }
  #header .nav-cta a i { font-size: 0.78rem; }

  /* mega panels hang flush under the 1px rule */
  #header .mega-menu { top: 100%; }
}

@media (min-width: 992px) {
  #header .nav-links > li.nav-utilities { display: none !important; }
  #header .nav-links a, #header .nav-cta a { white-space: nowrap; }
}

/* =====================================================
   LAYOUT: centered logo, split nav
   Home · Industries · Services · Solutions   [LOGO]   Insights · Careers · About Us · Contact
===================================================== */
@media (min-width: 992px) {
  #header .navbar { position: relative; justify-content: flex-start; min-height: 88px; }

  #header .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    margin: 0;
    padding: 0 28px;
    background: #fff;
  }
  #header .logo:hover { transform: translate(-50%, -50%); }
  #header .logo img { height: 46px; width: auto; }

  #header .nav-links { width: 100%; margin-left: 0; justify-content: flex-start; }
  /* 5th item (Insights) starts the right-hand group */
  #header .nav-links > li:nth-child(5) { margin-left: auto; }
  #header .nav-links > li.nav-cta { margin-left: 18px; padding-left: 18px; }
  #header .nav-links > li > .nav-link { padding-left: 16px !important; padding-right: 16px !important; }
}

@media (min-width: 992px) {
  #header .logo { padding: 0 14px; }
  #header .logo img { height: 32px !important; width: auto !important; max-width: 132px; }
  #header .nav-links > li > .nav-link { padding-left: 13px !important; padding-right: 13px !important; font-size: 0.98rem; }
  #header .nav-links > li.nav-cta { margin-left: 12px; padding-left: 14px; }
  #header .nav-cta a { padding: 11px 18px; font-size: 0.92rem; }
}

@media (min-width: 992px) {
  .mm-panel a { white-space: normal !important; }
}

/* =====================================================
   LAYOUT: dark navy bar — logo left, white nav right, bright highlight
   (supersedes the centered-logo layout above)
===================================================== */
@media (min-width: 992px) {
  #header, header {
    background: linear-gradient(90deg, #17479e 0%, #17479e 60%, #17479e 100%) !important;
    border-bottom: 0;
    box-shadow: 0 6px 24px rgba(23, 71, 158, 0.35) !important;
  }
  #header .navbar { min-height: 84px; }

  /* logo back to the left, shown in white */
  #header .logo {
    position: static;
    transform: none;
    padding: 0;
    background: transparent;
    margin-right: 24px;
  }
  #header .logo:hover { transform: none; }
  #header .logo img { height: 44px !important; max-width: none; filter: brightness(0) invert(1); }

  #header .nav-links { width: auto; margin-left: auto; justify-content: flex-end; }
  #header .nav-links > li:nth-child(5) { margin-left: 0; }

  #header .nav-links > li:not(.nav-cta):not(.nav-utilities) > .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    padding-left: 17px !important;
    padding-right: 17px !important;
  }
  #header .nav-links > li > .nav-link .dropdown-icon { color: rgba(255, 255, 255, 0.55); }

  #header .nav-links > li:not(.nav-cta) > .nav-link:hover,
  #header .nav-links > li.has-megamenu:hover > .nav-link { background: rgba(255, 255, 255, 0.1); color: #fff; }

  /* the one highlighted item */
  #header .nav-links > li > .nav-link.is-current,
  #header .nav-links > li > .nav-link.is-current:hover { background: var(--tr-blue); color: #fff; }

  #header .nav-links > li.nav-cta { margin-left: 16px; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
  #header .nav-cta a { background: #fff; color: var(--tr-navy) !important; }
  #header .nav-cta a:hover { background: var(--tr-blue); color: #fff !important; }
}

/* Menu panels: one font only — Hanken Grotesk (icons keep their icon font) */
.mm-panel,
.mm-panel *:not(i):not(.fas):not(.fab):not(.far),
.mm-intro h3,
.mm-col-title,
.mm-num,
.mm-tile-name,
.mm-photo p {
  font-family: 'Hanken Grotesk', system-ui, sans-serif !important;
}
.mm-photo p { font-style: normal !important; }

/* Solutions list: icon tile before each solution */
@media (min-width: 992px) {
  .mm-link { gap: 14px; justify-content: flex-start; padding: 10px 0 !important; }
  .mm-link .mm-link-text { flex: 1; }
  .mm-link .mm-link-go { margin-left: auto; }
  .mm-link-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(23, 71, 158, 0.1);
    color: var(--tr-blue);
    transition: background 0.2s var(--tr-ease), color 0.2s var(--tr-ease);
  }
  .mm-link-icon i { font-size: 1rem; opacity: 1; transform: none; color: inherit; }
  .mm-link:hover .mm-link-icon { background: var(--tr-blue); color: #fff; }
}

/* Services detail list: icon tile before each sub-service */
@media (min-width: 992px) {
  .mm-detail li a { display: flex !important; align-items: center; gap: 12px; padding: 7px 0 !important; }
  .mm-detail li a .mm-link-icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 8px; }
  .mm-detail li a .mm-link-icon i { font-size: 0.9rem; }
  .mm-detail li a:hover { padding-left: 0 !important; }
  .mm-detail li a:hover .mm-link-icon { background: var(--tr-blue); color: #fff; }
  .mm-detail li a span:not(.mm-link-icon) { line-height: 1.3; }
}

/* =====================================================
   HOME BANNER — full-bleed, square, left-aligned headline
   (keeps the expanding-panel behaviour)
===================================================== */
@media (min-width: 768px) {
  .slider-home-heading .parallax-slider-wrap { min-height: 82vh; height: 82vh; max-height: none; }
  .slider-home-heading .parallax-slider { width: 100% !important; margin: 0 !important; min-height: 82vh; }

  .slider-home-heading .parallax-slider .panel {
    margin: 0 !important;
    height: 82vh;
    min-height: 82vh;
    border-radius: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    align-items: flex-end !important;
    justify-content: flex-start !important;
    text-align: left !important;
    background-position: center;
  }
  .slider-home-heading .parallax-slider .panel:last-child { border-right: 0; }

  /* overlay: deep navy from the left, lighter on the right */
  .slider-home-heading .parallax-slider .panel::before {
    background: linear-gradient(90deg, rgba(23, 71, 158, 0.88) 0%, rgba(23, 71, 158, 0.55) 45%, rgba(23, 71, 158, 0.12) 100%) !important;
    z-index: 2;
  }
  /* collapsed side panels: muted + navy tint, brighten on hover */
  .slider-home-heading .parallax-slider .panel:not(.active)::before {
    background: rgba(23, 71, 158, 0.72) !important;
    transition: background 0.3s ease;
  }
  .slider-home-heading .parallax-slider .panel:not(.active):hover::before { background: rgba(23, 71, 158, 0.45) !important; }

  .slider-home-heading .panel-content {
    max-width: 640px;
    padding: 0 0 72px 56px !important;
    transition: opacity 0.4s ease 0.3s, transform 0.5s ease 0.3s;
  }
  .slider-home-heading .panel:not(.active) .panel-content { opacity: 0; transform: translateY(14px); transition-delay: 0s; pointer-events: none; }
  .slider-home-heading .panel.active .panel-content { opacity: 1; transform: none; }

  .slider-home-heading .panel-content::before {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: var(--tr-blue);
    margin-bottom: 22px;
  }
  .slider-home-heading .panel-content h3 {
    font-size: clamp(2.2rem, 3.6vw, 3.6rem) !important;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 14px !important;
    color: #fff !important;
  }
  .slider-home-heading .panel-content p {
    font-size: 1.2rem !important;
    line-height: 1.55;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 28px !important;
    max-width: 520px;
  }
  .slider-home-heading .slider-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    border-radius: 2px !important;
    background: var(--tr-blue) !important;
    padding: 14px 28px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    transition: background 0.25s var(--tr-ease), gap 0.25s var(--tr-ease) !important;
  }
  .slider-home-heading .slider-btn:hover { background: #fff !important; color: var(--tr-navy) !important; gap: 18px; }
}

/* =====================================================
   HOME BANNER v2 — single cinematic slide + numbered progress tabs
   (replaces the expanding panels on desktop)
===================================================== */
@media (min-width: 768px) {
  .hx { position: relative; width: 100%; height: 86vh; min-height: 560px; max-height: 900px; overflow: hidden; background: var(--tr-navy-deep); color: #fff; }

  .hx-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 7s ease-out; }
  .hx-slide.is-active { opacity: 1; transform: scale(1); }

  .hx-shade { position: absolute; inset: 0; background:
      linear-gradient(90deg, rgba(23, 71, 158, 0.9) 0%, rgba(23, 71, 158, 0.62) 42%, rgba(23, 71, 158, 0.1) 100%),
      linear-gradient(0deg, rgba(23, 71, 158, 0.85) 0%, rgba(23, 71, 158, 0) 38%); }

  .hx-inner {
    position: absolute;
    left: max(56px, calc((100% - 1200px) / 2 + 20px));
    bottom: 150px;
    max-width: 680px;
    animation: hxIn 0.8s var(--tr-ease) both;
  }
  @keyframes hxIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

  .hx-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.18em; color: #ffffff; margin-bottom: 20px; }
  .hx-kicker i { width: 44px; height: 2px; background: rgba(255, 255, 255, 0.5); }

  .hx-inner h3 { color: #fff !important; font-size: clamp(2.4rem, 4.4vw, 4.2rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.025em; margin: 0 0 18px; }
  .hx-inner p { color: rgba(255, 255, 255, 0.88); font-size: 1.25rem; line-height: 1.55; max-width: 540px; margin: 0 0 32px; }

  .hx-actions { display: flex; align-items: center; gap: 28px; }
  .hx-arrows { display: flex; gap: 8px; }
  .hx-arrows button {
    width: 48px; height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
    color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer;
    transition: background 0.2s var(--tr-ease), color 0.2s var(--tr-ease), border-color 0.2s var(--tr-ease);
  }
  .hx-arrows button:hover { background: #fff; color: var(--tr-navy); border-color: #fff; }

  /* bottom tab strip with progress fill on the active tab */
  .hx-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; border-top: 1px solid rgba(255, 255, 255, 0.2); background: rgba(23, 71, 158, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .hx-tab {
    position: relative; flex: 1; display: flex; align-items: center; gap: 14px;
    padding: 22px 26px; text-align: left; cursor: pointer;
    color: rgba(255, 255, 255, 0.62); background: transparent; border: 0; border-right: 1px solid rgba(255, 255, 255, 0.14);
    font: 600 0.95rem/1.3 'Hanken Grotesk', system-ui, sans-serif;
    transition: color 0.25s var(--tr-ease), background 0.25s var(--tr-ease);
  }
  .hx-tab:last-child { border-right: 0; }
  .hx-tab b { font-size: 1.05rem; color: rgba(255, 255, 255, 0.4); }
  .hx-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
  .hx-tab.is-active { color: #fff; }
  .hx-tab.is-active b { color: #ffffff; }
  .hx-fill { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--tr-blue); }
  .hx-tab.is-active .hx-fill { animation: hxFill 5s linear forwards; }
  @keyframes hxFill { to { width: 100%; } }
}
@media (min-width: 768px) and (max-width: 1100px) { .hx-tab span:not(.hx-fill) { display: none; } .hx-tab { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .hx-slide { transition: opacity 0.3s; transform: none !important; } .hx-inner { animation: none; } }

/* =====================================================
   WELCOME TO SOLIDPRO (About.js) — modern split section
===================================================== */
.about-modern { background: #fff !important; padding: 96px 0 !important; }
.about-modern .sec-title .sub-title { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.about-modern .sec-title .sub-title h4 {
  margin: 0;
  color: var(--tr-blue) !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.about-modern .sec-title .sub-title .border-line { width: 36px; height: 3px; background: var(--tr-blue) !important; border-radius: 0; }
.about-modern .sec-title .sub-title .border-line::before,
.about-modern .sec-title .sub-title .border-line::after { display: none !important; }

.about-modern .sec-title h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--tr-navy);
  margin-bottom: 24px;
}
.about-modern .about-accent { color: var(--tr-blue); }

.about-modern .about-lead { font-size: 1.1rem; line-height: 1.75; color: var(--tr-body); margin: 0 0 30px; max-width: 560px; }

.about-benefits { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--tr-surface);
  border: 1px solid var(--tr-line);
  border-left: 4px solid var(--tr-blue);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.35;
  color: var(--tr-navy);
  transition: background 0.2s var(--tr-ease), box-shadow 0.2s var(--tr-ease);
  margin: 0 !important;
}
.about-benefits li:hover { background: #fff; box-shadow: var(--tr-shadow-md); }
.about-benefits__check {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--tr-blue);
  color: #fff;
  font-size: 0.8rem;
}

.about-modern .about-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px !important;
  border-radius: 2px !important;
  background: var(--tr-blue) !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none !important;
  transition: background 0.25s var(--tr-ease), gap 0.25s var(--tr-ease);
}
.about-modern .about-cta::before, .about-modern .about-cta::after { display: none !important; }
.about-modern .about-cta:hover { background: var(--tr-navy) !important; gap: 18px; }

/* photo: offset frame + caption badge */
.about-photo { position: relative; padding: 0 22px 22px 0; }
.about-photo::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 78%;
  height: 78%;
  background: var(--tr-blue);
  z-index: 0;
}
.about-photo img { position: relative; z-index: 1; display: block; border-radius: 0 !important; box-shadow: var(--tr-shadow-md); }
.about-photo__badge {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  transform: translate(-18px, 8px);
  display: flex;
  background: var(--tr-navy);
  color: #fff;
  box-shadow: var(--tr-shadow-md);
}
.about-photo__badge span { padding: 14px 20px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.about-photo__badge span + span { border-left: 1px solid rgba(255, 255, 255, 0.2); }

@media (max-width: 767px) {
  .about-modern { padding: 56px 0 !important; }
  .about-benefits { grid-template-columns: 1fr; }
  .about-photo__badge { transform: none; }
}

/* beat the legacy .about-style1__content-text-box ul/li rules */
.about-modern .about-style1__content-text-box ul.about-benefits { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 14px !important; margin: 0 0 36px !important; padding: 0 !important; }
.about-modern .about-style1__content-text-box ul.about-benefits li {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 16px 18px !important;
  margin: 0 !important;
  position: static !important;
  min-height: 0;
  font-size: 0.97rem !important;
  color: var(--tr-navy) !important;
}
.about-modern .about-style1__content-text-box ul.about-benefits li + li { margin-top: 0 !important; }
.about-modern .about-style1__content-text-box ul.about-benefits li .about-benefits__check { position: static !important; flex: 0 0 30px; }
.about-modern .about-style1__content-text-box ul.about-benefits li::before,
.about-modern .about-style1__content-text-box ul.about-benefits li::after { display: none !important; }
.about-modern .sec-title { padding-bottom: 0 !important; margin-bottom: 20px !important; }
.about-modern .about-lead { margin-top: 0 !important; }
@media (max-width: 991px) { .about-modern .about-style1__content-text-box ul.about-benefits { grid-template-columns: 1fr !important; } }

/* =====================================================
   WELCOME TO SOLIDPRO v2 (About.js) — photo + overlapping card + benefit strip
===================================================== */
.wl { background: #fff; padding: 96px 0 88px; }
.wl-stage { position: relative; display: flex; align-items: center; }

.wl-photo { width: 62%; height: 520px; overflow: hidden; background: var(--tr-navy); }
.wl-photo img { display: block; }

.wl-card {
  position: relative;
  z-index: 2;
  width: 48%;
  margin-left: -10%;
  padding: 52px 52px 48px;
  background: #fff;
  border-top: 5px solid var(--tr-blue);
  box-shadow: 0 24px 60px rgba(23, 71, 158, 0.18);
}
.wl-eyebrow { display: block; margin-bottom: 14px; color: var(--tr-blue); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.wl-card h2 { margin: 0 0 20px; font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--tr-navy); }
.wl-card h2 em { font-style: normal; color: var(--tr-blue); }
.wl-card p { margin: 0 0 30px; font-size: 1.05rem; line-height: 1.75; color: var(--tr-body); }

.wl-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  background: var(--tr-blue);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s var(--tr-ease), gap 0.25s var(--tr-ease);
}
.wl-cta:hover { background: var(--tr-navy); gap: 18px; }

/* four-up strip */
.wl-strip { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--tr-line); }
.wl-strip li {
  position: relative;
  padding: 30px 28px 8px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wl-strip li + li { padding-left: 28px; border-left: 1px solid var(--tr-line); }
.wl-num { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; color: #9a9a9a; }
.wl-strip li > i { font-size: 1.6rem; color: var(--tr-blue); }
.wl-text { font-size: 1.08rem; font-weight: 600; line-height: 1.4; color: var(--tr-navy); }
.wl-strip li::before { content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 3px; background: var(--tr-blue); transition: width 0.35s var(--tr-ease); }
.wl-strip li + li::before { left: 0; }
.wl-strip li:hover::before { width: 100%; }

@media (max-width: 991px) {
  .wl { padding: 56px 0; }
  .wl-stage { flex-direction: column; align-items: stretch; }
  .wl-photo { width: 100%; height: 300px; }
  .wl-card { width: auto; margin: -48px 16px 0; padding: 32px 26px; }
  .wl-strip { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .wl-strip li, .wl-strip li + li { padding: 22px 16px 8px 0; border-left: 0; }
}
@media (max-width: 575px) { .wl-strip { grid-template-columns: 1fr; } }

/* =====================================================
   WELCOME TO SOLIDPRO v3 (About.js) — centred intro, photo in the middle, benefits either side
===================================================== */
.wc { background: var(--tr-surface); padding: 96px 0 88px; }
.wc-intro { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.wc-eyebrow { display: inline-block; margin-bottom: 16px; padding: 7px 16px; background: rgba(23, 71, 158, 0.1); color: var(--tr-blue); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.wc-intro h2 { margin: 0 0 22px; font-size: clamp(2rem, 3.4vw, 3.1rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--tr-navy); }
.wc-intro h2 em { font-style: normal; color: var(--tr-blue); }
.wc-intro p { margin: 0; font-size: 1.12rem; line-height: 1.75; color: var(--tr-body); }

.wc-grid { display: grid; grid-template-columns: 1fr 380px 1fr; gap: 40px; align-items: center; }
.wc-col { display: flex; flex-direction: column; gap: 44px; }

.wc-photo {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 0 0 3px var(--tr-blue), 0 24px 50px rgba(23, 71, 158, 0.2);
  background: #fff;
}
.wc-photo img { display: block; }

.wc-benefit { display: flex; align-items: flex-start; gap: 18px; }
.wc-benefit--left { flex-direction: row-reverse; text-align: right; }
.wc-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--tr-navy);
  color: #fff;
  font-size: 1.3rem;
  transition: background 0.25s var(--tr-ease), transform 0.25s var(--tr-ease);
}
.wc-benefit:hover .wc-icon { background: var(--tr-blue); transform: translateY(-3px); }
.wc-benefit h3 { margin: 0 0 6px; font-size: 1.12rem; font-weight: 700; line-height: 1.3; color: var(--tr-navy); }
.wc-benefit p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--tr-body); }

.wc-foot { margin-top: 56px; text-align: center; }
.wc-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  background: var(--tr-blue);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s var(--tr-ease), gap 0.25s var(--tr-ease);
}
.wc-cta:hover { background: var(--tr-navy); gap: 18px; }

@media (max-width: 1100px) { .wc-grid { grid-template-columns: 1fr 300px 1fr; gap: 28px; } .wc-photo { width: 300px; height: 300px; } }
@media (max-width: 991px) {
  .wc { padding: 56px 0; }
  .wc-intro { margin-bottom: 36px; }
  .wc-grid { grid-template-columns: 1fr; }
  .wc-photo { order: -1; margin: 0 auto; width: 260px; height: 260px; }
  .wc-col { gap: 28px; }
  .wc-benefit--left { flex-direction: row; text-align: left; }
}

/* =====================================================
   Welcome section: photo framed by the SolidPro logo's last "O" (blue ring + red arrow)
   viewBox 578 40 104 110 → O centre ≈ (49.7%, 42.1%), opening radius ≈ 27 units
===================================================== */
.wc-grid { grid-template-columns: 1fr 460px 1fr; gap: 32px; }
.wc-ring { position: relative; width: 460px; aspect-ratio: 104 / 110; }
.wc-ring__logo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: drop-shadow(0 18px 28px rgba(23, 71, 158, 0.22)); pointer-events: none; }
.wc-ring__photo {
  position: absolute;
  left: 49.7%;
  top: 42.1%;
  width: 61%;           /* a hair wider than the O's opening so the ring overlaps the photo edge */
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}
.wc-ring__photo img { display: block; }

@media (max-width: 1250px) { .wc-grid { grid-template-columns: 1fr 380px 1fr; } .wc-ring { width: 380px; } }
@media (max-width: 991px) {
  .wc-grid { grid-template-columns: 1fr; }
  .wc-ring { order: -1; margin: 0 auto; width: min(340px, 86vw); }
}

/* =====================================================
   BRAND PALETTE — only two colours (plus white / black / neutral greys)
   primary   #17479e  (surfaces, headings, buttons, header)
   secondary #e11b22  (highlights, current item, hover, progress)
   Where primary sits on primary, the secondary is used for contrast.
===================================================== */
:root { --brand-primary: #17479e; --brand-secondary: #e11b22; }

/* header: current item + CTA hover + mega panel rule use the secondary */
@media (min-width: 992px) {
  #header, header { background: var(--brand-primary) !important; }
  #header .nav-links > li > .nav-link.is-current,
  #header .nav-links > li > .nav-link.is-current:hover { background: var(--brand-secondary) !important; color: #fff !important; }
  #header .nav-cta a { background: #fff; color: var(--brand-primary) !important; }
  #header .nav-cta a:hover { background: var(--brand-secondary); color: #fff !important; }
  .mega-menu { border-top-color: var(--brand-secondary) !important; }
  #header .mega-menu .mm-cta { background: var(--brand-secondary); color: #fff !important; }
  #header .mega-menu .mm-cta:hover { background: #fff; color: var(--brand-primary) !important; }
  .mm-eyebrow { color: #fff; opacity: 0.8; }
  .mm-tile::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%); }
  .mm-tile:hover::before { background: linear-gradient(180deg, rgba(23, 71, 158, 0.35) 0%, rgba(0, 0, 0, 0.85) 100%); }
  .mm-photo::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.85) 100%); }
}

/* buttons: primary, hover to secondary */
.btn.primary:hover, .btn-primary:hover, .submit-btn:hover, .zi-cta-button:hover, .theme-btn:hover {
  background: var(--brand-secondary); border-color: var(--brand-secondary); color: #fff;
}
.btn.ghost:hover, .btn-secondary:hover, .light-cta-btn:hover { background: var(--brand-primary); color: #fff; }

/* home banner */
.hx-shade { background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 38%) !important; }
.hx-kicker { color: #fff; }
.hx-fill { background: var(--brand-secondary); }
.hx-tab.is-active b { color: var(--brand-secondary); }
.hx-tabs { background: rgba(0, 0, 0, 0.55); }
.slider-home-heading .slider-btn, .hx .slider-btn { background: var(--brand-secondary) !important; color: #fff !important; }
.slider-home-heading .slider-btn:hover, .hx .slider-btn:hover { background: #fff !important; color: var(--brand-primary) !important; }
.hx-arrows button:hover { background: #fff; color: var(--brand-primary); border-color: #fff; }

/* welcome section */
.wc-cta { background: var(--brand-primary); }
.wc-cta:hover { background: var(--brand-secondary); }
.wc-benefit:hover .wc-icon { background: var(--brand-secondary); }
.wc-icon { background: var(--brand-primary); }
.wc-eyebrow { background: rgba(23, 71, 158, 0.1); color: var(--brand-primary); }
.wc-intro h2 em, .wc-card h2 em { color: var(--brand-secondary); }

/* footer */
.ltts-footer { background: var(--brand-primary) !important; }
.ltts-footer__bottom { background: rgba(0, 0, 0, 0.25) !important; }

/* =====================================================
   INDUSTRIES WE SERVE (IndustriesSection.jsx) — photo card grid
   description + link slide up on hover
===================================================== */
.ind { background: #fff; padding: 96px 0; }
.ind-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.ind-eyebrow { display: inline-block; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--brand-secondary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-primary); }
.ind-head h2 { margin: 0; max-width: 760px; font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--brand-primary); }
.ind-head h2 em { font-style: normal; color: var(--brand-secondary); }
.ind-all { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; background: var(--brand-primary); color: #fff !important; font-weight: 700; text-decoration: none; border-radius: 2px; transition: background 0.25s var(--tr-ease), gap 0.25s var(--tr-ease); }
.ind-all:hover { background: var(--brand-secondary); gap: 16px; }

.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.ind-card {
  position: relative;
  display: block;
  min-height: 380px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff !important;
  text-decoration: none;
  isolation: isolate;
}
.ind-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.82) 100%);
  transition: background 0.4s var(--tr-ease);
}
.ind-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--brand-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--tr-ease);
}
.ind-card:hover::before { background: linear-gradient(180deg, rgba(23, 71, 158, 0.45) 0%, rgba(23, 71, 158, 0.95) 100%); }
.ind-card:hover::after { transform: scaleX(1); }

.ind-num { position: absolute; top: 22px; right: 24px; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.75); }
.ind-icon { position: absolute; top: 18px; left: 22px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--brand-primary); font-size: 1.25rem; transition: background 0.3s var(--tr-ease); }
.ind-card:hover .ind-icon { background: var(--brand-secondary); }

.ind-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 26px 26px; }
.ind-body h3 { margin: 0; color: #fff; font-size: 1.35rem; font-weight: 700; line-height: 1.25; transition: transform 0.4s var(--tr-ease); }
.ind-body p, .ind-more { opacity: 0; max-height: 0; overflow: hidden; transform: translateY(14px); transition: opacity 0.35s var(--tr-ease), max-height 0.45s var(--tr-ease), transform 0.4s var(--tr-ease), margin 0.4s var(--tr-ease); }
.ind-body p { margin: 0; font-size: 0.97rem; line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.ind-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.92rem; }
.ind-card:hover .ind-body p, .ind-card:focus-visible .ind-body p { opacity: 1; max-height: 140px; transform: none; margin-top: 12px; }
.ind-card:hover .ind-more, .ind-card:focus-visible .ind-more { opacity: 1; max-height: 40px; transform: none; margin-top: 16px; }

@media (max-width: 991px) {
  .ind { padding: 56px 0; }
  .ind-head { flex-direction: column; align-items: flex-start; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  /* touch devices: no hover, so keep text visible */
  .ind-body p, .ind-more { opacity: 1; max-height: none; transform: none; }
  .ind-body p { margin-top: 10px; }
  .ind-more { margin-top: 12px; }
}
@media (max-width: 575px) { .ind-grid { grid-template-columns: 1fr; } .ind-card { min-height: 340px; } }

/* =====================================================
   INDUSTRIES WE SERVE v2 — dark section, big numbered list + live photo preview
===================================================== */
.ind2 { background: var(--brand-primary); color: #fff; padding: 96px 0; }
.ind2-head { max-width: 860px; margin-bottom: 52px; }
.ind2-eyebrow { display: inline-block; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--brand-secondary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.ind2-head h2 { margin: 0; color: #fff; font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.ind2-head h2 em { font-style: normal; color: #fff; box-shadow: inset 0 -0.18em 0 var(--brand-secondary); }

.ind2-stage { display: grid; grid-template-columns: 5fr 7fr; gap: 0; align-items: stretch; background: rgba(0, 0, 0, 0.18); }

.ind2-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ind2-list li { margin: 0; flex: 1; display: flex; }
.ind2-row {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid transparent;
  transition: background 0.25s var(--tr-ease), color 0.25s var(--tr-ease), border-color 0.25s var(--tr-ease), padding-left 0.25s var(--tr-ease);
}
.ind2-list li:last-child .ind2-row { border-bottom: 0; }
.ind2-num { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.5); min-width: 28px; transition: color 0.25s; }
.ind2-name { flex: 1; font-size: clamp(1.1rem, 1.6vw, 1.5rem); font-weight: 600; line-height: 1.25; }
.ind2-row i { font-size: 0.9rem; opacity: 0; transform: translateX(-8px); transition: opacity 0.25s, transform 0.25s var(--tr-ease); }
.ind2-row.is-active { background: #fff; color: var(--brand-primary) !important; border-left-color: var(--brand-secondary); padding-left: 36px; }
.ind2-row.is-active .ind2-num { color: var(--brand-secondary); }
.ind2-row.is-active i { opacity: 1; transform: none; color: var(--brand-secondary); }

.ind2-preview { position: relative; min-height: 520px; overflow: hidden; background: #000; }
.ind2-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.05); transition: opacity 0.6s ease, transform 5s ease-out; }
.ind2-img.is-active { opacity: 1; transform: scale(1); }
.ind2-preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.88) 100%); pointer-events: none; }

.ind2-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 36px 40px; animation: ind2In 0.5s var(--tr-ease) both; }
@keyframes ind2In { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ind2-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; background: var(--brand-secondary); font-size: 1.3rem; color: #fff; }
.ind2-info h3 { margin: 0 0 10px; color: #fff; font-size: 1.9rem; font-weight: 700; line-height: 1.2; }
.ind2-info p { margin: 0 0 22px; max-width: 520px; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.ind2-btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; background: var(--brand-secondary); color: #fff !important; font-weight: 700; text-decoration: none; border-radius: 2px; transition: background 0.25s var(--tr-ease), color 0.25s var(--tr-ease), gap 0.25s var(--tr-ease); }
.ind2-btn:hover { background: #fff; color: var(--brand-primary) !important; gap: 18px; }

@media (max-width: 991px) {
  .ind2 { padding: 56px 0; }
  .ind2-stage { grid-template-columns: 1fr; }
  .ind2-preview { min-height: 420px; order: -1; }
  .ind2-row { padding: 16px 20px; }
  .ind2-info { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .ind2-img { transition: opacity 0.2s; transform: none !important; } .ind2-info { animation: none; } }

/* =====================================================
   INDUSTRIES WE SERVE v3 — full-width expanding photo panels
   one panel open at a time; the others collapse to a numbered vertical label
===================================================== */
.ind3 { background: #fff; padding: 88px 0 0; }
.ind3-head { max-width: 860px; margin-bottom: 44px; }
.ind3-eyebrow { display: inline-block; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--brand-secondary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-primary); }
.ind3-head h2 { margin: 0; color: var(--brand-primary); font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.ind3-head h2 em { font-style: normal; color: var(--brand-secondary); }

.ind3-strip { display: flex; width: 100%; height: 600px; }
.ind3-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  isolation: isolate;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  transition: flex-grow 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ind3-panel:last-child { border-right: 0; }
.ind3-panel.is-open { flex-grow: 6; cursor: default; }

/* tint: collapsed panels get the primary colour; the open one is mostly clear */
.ind3-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(23, 71, 158, 0.78); transition: background 0.6s ease; }
.ind3-panel:not(.is-open):hover::before { background: rgba(23, 71, 158, 0.55); }
.ind3-panel.is-open::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.85) 100%); }
.ind3-panel::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--brand-secondary); transform: scaleX(0); transform-origin: left; transition: transform 0.6s ease; }
.ind3-panel.is-open::after { transform: scaleX(1); }

.ind3-num { position: absolute; top: 26px; left: 0; right: 0; text-align: center; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.14em; color: #fff; }
.ind3-panel.is-open .ind3-num { text-align: left; left: 36px; color: rgba(255, 255, 255, 0.8); }

/* collapsed: title runs vertically along the panel */
.ind3-vert {
  position: absolute;
  left: 50%;
  bottom: 30px;
  white-space: nowrap;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transform-origin: left bottom;
  transform: translateX(-50%) rotate(-90deg) translateX(0);
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  transition: opacity 0.3s ease;
}
.ind3-panel.is-open .ind3-vert { opacity: 0; pointer-events: none; }

/* open content */
.ind3-open { position: absolute; left: 0; bottom: 0; width: min(560px, 100%); padding: 0 36px 40px; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity 0.4s ease, transform 0.5s var(--tr-ease); }
.ind3-panel.is-open .ind3-open { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.25s; }
.ind3-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; background: var(--brand-secondary); color: #fff; font-size: 1.35rem; }
.ind3-open h3 { margin: 0 0 12px; color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 700; line-height: 1.15; }
.ind3-open p { margin: 0 0 24px; color: rgba(255, 255, 255, 0.92); font-size: 1.08rem; line-height: 1.6; }
.ind3-btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px; background: var(--brand-secondary); color: #fff !important; font-weight: 700; text-decoration: none; border-radius: 2px; transition: background 0.25s var(--tr-ease), color 0.25s var(--tr-ease), gap 0.25s var(--tr-ease); }
.ind3-btn:hover { background: #fff; color: var(--brand-primary) !important; gap: 18px; }

@media (max-width: 991px) {
  .ind3 { padding-top: 56px; }
  .ind3-strip { flex-direction: column; height: auto; }
  .ind3-panel { flex: none; height: 76px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.35); transition: height 0.5s var(--tr-ease); }
  .ind3-panel.is-open { height: 420px; }
  .ind3-num { top: 50%; transform: translateY(-50%); left: 22px; right: auto; text-align: left; }
  .ind3-panel.is-open .ind3-num { top: 22px; transform: none; left: 24px; }
  .ind3-vert { writing-mode: horizontal-tb; transform: translateY(-50%); left: 64px; top: 50%; bottom: auto; font-size: 1.05rem; }
  .ind3-open { padding: 0 24px 28px; }
}
@media (prefers-reduced-motion: reduce) { .ind3-panel, .ind3-open { transition: none; } }

/* vertical labels: rotate around their own centre so they stay inside the panel */
@media (min-width: 992px) {
  .ind3-vert { transform-origin: center center !important; transform: translateX(-50%) rotate(180deg) !important; writing-mode: vertical-rl; }
}

/* =====================================================
   INDUSTRIES WE SERVE v4 — tab bar on top, split text + photo panel below
===================================================== */
.ind4 { background: var(--tr-surface); padding: 96px 0; }
.ind4-head { max-width: 860px; margin: 0 auto 44px; text-align: center; }
.ind4-eyebrow { display: inline-block; margin-bottom: 14px; padding: 7px 16px; background: var(--brand-primary); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.ind4-head h2 { margin: 0; color: var(--brand-primary); font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.ind4-head h2 em { font-style: normal; color: var(--brand-secondary); }

/* tab bar */
.ind4-tabs { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); }
.ind4-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 12px;
  border: 0;
  border-right: 1px solid var(--tr-line);
  background: #fff;
  color: var(--brand-primary);
  font: 600 0.92rem/1.3 'Hanken Grotesk', system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s var(--tr-ease), color 0.25s var(--tr-ease);
}
.ind4-tab:last-child { border-right: 0; }
.ind4-tab i { font-size: 1.5rem; color: var(--brand-secondary); transition: color 0.25s var(--tr-ease); }
.ind4-tab:hover { background: var(--tr-surface); }
.ind4-tab.is-active { background: var(--brand-primary); color: #fff; }
.ind4-tab.is-active i { color: #fff; }

/* content panel */
.ind4-panel { display: grid; grid-template-columns: 5fr 7fr; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1); animation: ind4In 0.45s var(--tr-ease) both; }
@keyframes ind4In { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ind4-text { display: flex; flex-direction: column; justify-content: center; padding: 56px 52px; }
.ind4-count { font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--brand-secondary); letter-spacing: -0.03em; }
.ind4-count small { font-size: 1.1rem; font-weight: 600; color: #9a9a9a; letter-spacing: 0; }
.ind4-text h3 { margin: 18px 0 14px; color: var(--brand-primary); font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 700; line-height: 1.15; }
.ind4-text p { margin: 0 0 30px; color: var(--tr-body); font-size: 1.1rem; line-height: 1.7; }
.ind4-actions { display: flex; align-items: center; gap: 24px; }
.ind4-btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 30px; background: var(--brand-primary); color: #fff !important; font-weight: 700; text-decoration: none; border-radius: 2px; transition: background 0.25s var(--tr-ease), gap 0.25s var(--tr-ease); }
.ind4-btn:hover { background: var(--brand-secondary); gap: 18px; }
.ind4-step { display: flex; gap: 8px; }
.ind4-step button { width: 46px; height: 46px; border: 1px solid #cfd3d9; background: #fff; color: var(--brand-primary); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: all 0.2s var(--tr-ease); }
.ind4-step button:hover { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }

.ind4-photo { position: relative; min-height: 440px; background: var(--brand-secondary); }
.ind4-photo__img { position: absolute; inset: 0 0 0 28px; background-size: cover; background-position: center; }
.ind4-photo::after { content: ''; position: absolute; inset: 0 0 0 28px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0)); pointer-events: none; }

@media (max-width: 991px) {
  .ind4 { padding: 56px 0; }
  .ind4-tabs { grid-template-columns: repeat(3, 1fr); }
  .ind4-tab { border-bottom: 1px solid var(--tr-line); }
  .ind4-panel { grid-template-columns: 1fr; }
  .ind4-photo { order: -1; min-height: 280px; }
  .ind4-photo__img, .ind4-photo::after { inset: 0 0 24px 0; }
  .ind4-text { padding: 32px 24px; }
}
@media (max-width: 575px) { .ind4-tabs { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ind4-panel { animation: none; } }

/* =====================================================
   INDUSTRIES WE SERVE v5 — bento mosaic (mixed tile sizes)
   4 columns x 3 rows: big · small · tall · small · wide · wide
===================================================== */
.ind5 { background: #fff; padding: 96px 0; }
.ind5-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.ind5-eyebrow { display: inline-block; margin-bottom: 14px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-secondary); }
.ind5-head h2 { margin: 0; max-width: 760px; color: var(--brand-primary); font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.ind5-head h2 em { font-style: normal; color: var(--brand-secondary); }
.ind5-all { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--brand-primary) !important; font-weight: 700; text-decoration: none; padding-bottom: 6px; transition: color 0.2s, gap 0.25s var(--tr-ease); }
.ind5-all:hover { color: var(--brand-secondary) !important; gap: 16px; }

.ind5-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 210px); gap: 14px; }
.ind5-tile--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.ind5-tile--2 { grid-column: 3; grid-row: 1; }
.ind5-tile--3 { grid-column: 4; grid-row: 1 / 3; }
.ind5-tile--4 { grid-column: 3; grid-row: 2; }
.ind5-tile--5 { grid-column: 1 / 3; grid-row: 3; }
.ind5-tile--6 { grid-column: 3 / 5; grid-row: 3; }

.ind5-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 22px 24px;
  color: #fff !important;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  transition: transform 0.4s var(--tr-ease);
}
.ind5-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.82) 100%); transition: background 0.4s var(--tr-ease); }
.ind5-tile:hover::before { background: linear-gradient(180deg, rgba(23, 71, 158, 0.55) 0%, rgba(23, 71, 158, 0.94) 100%); }

.ind5-icon { position: absolute; top: 18px; left: 20px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--brand-secondary); font-size: 1.1rem; }
.ind5-go { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.6); font-size: 0.85rem; transition: background 0.25s var(--tr-ease), color 0.25s var(--tr-ease), transform 0.25s var(--tr-ease); }
.ind5-tile:hover .ind5-go { background: #fff; color: var(--brand-primary); transform: translate(2px, -2px); }

.ind5-copy h3 { margin: 0; color: #fff; font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.ind5-tile--1 .ind5-copy h3, .ind5-tile--3 .ind5-copy h3 { font-size: 1.55rem; }
.ind5-copy p { margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: 0.95rem; line-height: 1.5; color: rgba(255, 255, 255, 0.94); transition: max-height 0.45s var(--tr-ease), opacity 0.35s var(--tr-ease), margin 0.4s var(--tr-ease); }
.ind5-tile:hover .ind5-copy p { max-height: 120px; opacity: 1; margin-top: 10px; }
/* the large tile always shows its description */
.ind5-tile--1 .ind5-copy p { max-height: 120px; opacity: 1; margin-top: 10px; max-width: 460px; }

@media (max-width: 991px) {
  .ind5 { padding: 56px 0; }
  .ind5-head { flex-direction: column; align-items: flex-start; }
  .ind5-bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .ind5-tile--1, .ind5-tile--2, .ind5-tile--3, .ind5-tile--4, .ind5-tile--5, .ind5-tile--6 { grid-column: auto; grid-row: auto; }
  .ind5-tile--1 { grid-column: 1 / 3; }
  .ind5-tile--6 { grid-column: 1 / 3; }
  .ind5-copy p { max-height: 120px; opacity: 1; margin-top: 8px; }
}
@media (max-width: 575px) {
  .ind5-bento { grid-template-columns: 1fr; }
  .ind5-tile--1, .ind5-tile--6 { grid-column: auto; }
}

/* small tiles: clamp the hover description so title + text never run under the icon */
.ind5-tile:not(.ind5-tile--1) .ind5-copy p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ind5-tile:not(.ind5-tile--1):hover .ind5-copy p { max-height: 3.1em; }
.ind5-tile--3:hover .ind5-copy p { -webkit-line-clamp: 4; max-height: 6.2em; }
.ind5-tile--5 .ind5-copy p, .ind5-tile--6 .ind5-copy p { max-width: 70%; }

/* =====================================================
   IMAGE CLARITY — lighter overlays so photos stay crisp
   (dark/tinted gradients only where text sits; top of every image stays clear)
===================================================== */
.ind5-tile::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.72) 100%); }
.ind5-tile:hover::before { background: linear-gradient(180deg, rgba(23, 71, 158, 0) 25%, rgba(23, 71, 158, 0.92) 100%); }

.hx-shade { background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.28) 38%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 32%) !important; }
.hx-tabs { background: rgba(0, 0, 0, 0.5); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hx-slide { background-size: cover; transform: none; }
.hx-slide.is-active { transform: none; }

.mm-tile::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.75) 100%) !important; }
.mm-photo::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.8) 100%) !important; }

/* never soften or blur photos */
img, .ind5-tile, .hx-slide, .ind3-panel, .ind4-photo__img { image-rendering: auto; filter: none; }
.wc-ring__photo img { transform: none; }

/* =====================================================
   OUR CAPABILITIES (CapabilitiesSection.js) — editorial accordion
   intro on the left (sticky), seven numbered rows on the right; one open at a time
===================================================== */
.cap2 { background: var(--tr-surface); padding: 96px 0; }
.cap2-layout { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }

.cap2-intro { position: sticky; top: 110px; }
.cap2-eyebrow { display: inline-block; margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--brand-secondary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-primary); }
.cap2-intro h2 { margin: 0 0 20px; color: var(--brand-primary); font-size: clamp(1.9rem, 2.8vw, 2.7rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.cap2-intro h2 em { font-style: normal; color: var(--brand-secondary); }
.cap2-intro p { margin: 0 0 28px; color: var(--tr-body); font-size: 1.08rem; line-height: 1.7; }
.cap2-count { font-size: 1rem; font-weight: 600; color: #9a9a9a; letter-spacing: 0.06em; }
.cap2-count b { font-size: 2.6rem; font-weight: 800; color: var(--brand-secondary); letter-spacing: -0.03em; }

.cap2-list { background: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08); }
.cap2-row { border-bottom: 1px solid var(--tr-line); border-left: 5px solid transparent; transition: border-color 0.3s var(--tr-ease), background 0.3s var(--tr-ease); }
.cap2-row:last-child { border-bottom: 0; }
.cap2-row.is-open { border-left-color: var(--brand-secondary); }

.cap2-head { width: 100%; display: flex; align-items: center; gap: 22px; padding: 24px 28px; background: transparent; border: 0; text-align: left; cursor: pointer; font-family: 'Hanken Grotesk', system-ui, sans-serif; }
.cap2-num { min-width: 36px; font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; color: #9a9a9a; transition: color 0.25s; }
.cap2-title { flex: 1; font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 600; line-height: 1.25; color: var(--brand-primary); transition: color 0.25s; }
.cap2-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--tr-surface); color: var(--brand-primary); font-size: 1.15rem; transition: background 0.25s, color 0.25s; }
.cap2-toggle { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.cap2-toggle::before, .cap2-toggle::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--brand-primary); transition: transform 0.3s var(--tr-ease), opacity 0.3s; }
.cap2-toggle::before { width: 18px; height: 2px; transform: translate(-50%, -50%); }
.cap2-toggle::after { width: 2px; height: 18px; transform: translate(-50%, -50%); }
.cap2-head:hover .cap2-title { color: var(--brand-secondary); }

.cap2-row.is-open .cap2-num { color: var(--brand-secondary); }
.cap2-row.is-open .cap2-icon { background: var(--brand-primary); color: #fff; }
.cap2-row.is-open .cap2-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

/* body: grid-rows trick animates height without measuring */
.cap2-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--tr-ease); }
.cap2-row.is-open .cap2-body { grid-template-rows: 1fr; }
.cap2-body__inner { overflow: hidden; min-height: 0; display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 0 28px 0 86px; }
.cap2-row.is-open .cap2-body__inner { padding-bottom: 32px; }
.cap2-body__text p { margin: 0 0 18px; color: var(--tr-body); font-size: 1rem; line-height: 1.7; }
.cap2-body__text ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cap2-body__text li { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-weight: 600; color: var(--brand-primary); line-height: 1.4; }
.cap2-body__text li i { flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; margin-top: 1px; background: var(--brand-secondary); color: #fff; font-size: 0.65rem; }
.cap2-body__img { min-height: 220px; background-size: cover; background-position: center; }

@media (max-width: 991px) {
  .cap2 { padding: 56px 0; }
  .cap2-layout { grid-template-columns: 1fr; gap: 32px; }
  .cap2-intro { position: static; }
  .cap2-count { display: none; }
  .cap2-head { padding: 18px 16px; gap: 14px; }
  .cap2-icon { display: none; }
  .cap2-body__inner { grid-template-columns: 1fr; padding: 0 16px; }
  .cap2-row.is-open .cap2-body__inner { padding-bottom: 20px; }
  .cap2-body__img { order: -1; min-height: 190px; }
}
@media (prefers-reduced-motion: reduce) { .cap2-body { transition: none; } }

/* =====================================================
   KEY METRICS (VisionSection.js) — clearer numbers + labels, solid brand blue
===================================================== */
.vision-style1__bg-2 { background-color: var(--brand-primary) !important; background-image: none !important; }
.vision-style1__bg-2::before { background: none !important; opacity: 0 !important; }
.vision-style1__bg { background-position: center !important; }

.vision-style1__main-content .sec-title .sub-title { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.vision-style1__main-content .sec-title .sub-title h4 { margin: 0; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #fff !important; }
.vision-style1__main-content .sec-title .sub-title .border-line { width: 40px; height: 4px; background: var(--brand-secondary) !important; }
.vision-style1__main-content .sec-title h2 { font-size: clamp(2rem, 3vw, 2.9rem) !important; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: #fff !important; }

.vision-style1.desktop-view .vision-style1__content-inner { align-items: stretch; }
.vision-style1.desktop-view .fact-counter-box-style2 {
  flex: 1 1 0;
  width: auto;
  padding: 0 26px !important;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}
.vision-style1.desktop-view .fact-counter-box-style2:first-child { padding-left: 0 !important; }
.vision-style1.desktop-view .fact-counter-box-style2:last-child { border-right: 0; }
.vision-style1.desktop-view .fact-counter-box-style2 ul { margin: 0; padding: 0; list-style: none; }
.vision-style1.desktop-view .fact-counter-box-style2 ul li {
  align-items: flex-start;
  min-height: 0;
  padding: 26px 0;
  margin: 0 !important;
}
.vision-style1.desktop-view .fact-counter-box-style2 ul li + li { border-top: 1px solid rgba(255, 255, 255, 0.28); }

.fact-counter-box-style2 ul li .counting { align-items: baseline; }
.fact-counter-box-style2 ul li .counting h2,
.fact-counter-box-style2 ul li .counting h2.odometer { font-size: 3.6rem !important; line-height: 1.05; font-weight: 800 !important; letter-spacing: -0.03em; color: #fff; }
.fact-counter-box-style2 ul li .counting span.k { font-size: 2.4rem !important; line-height: 1; font-weight: 800; margin-left: 4px; color: #fff; }

.fact-counter-box-style2 ul li h3 {
  position: relative;
  margin: 14px 0 0;
  padding-top: 12px;
  max-width: 200px;
  font-size: 0.86rem !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: left !important;
  color: rgba(255, 255, 255, 0.95) !important;
}
.fact-counter-box-style2 ul li h3::before { content: ''; position: absolute; left: 0; top: 0; width: 30px; height: 3px; background: var(--brand-secondary); }

/* mobile tiles */
.metric-item { background: rgba(255, 255, 255, 0.08) !important; border-radius: 0 !important; backdrop-filter: none !important; border-top: 3px solid var(--brand-secondary); }
.metric-item h3 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }

/* align the two metric rows across all four columns */
.vision-style1.desktop-view .fact-counter-box-style2 ul li { min-height: 220px; box-sizing: border-box; }
.vision-style1.desktop-view .fact-counter-box-style2 ul li h3 { max-width: 230px; }

/* count-up numbers: fixed-width digits so the figure doesn't jitter while it counts */
.count-up { font-variant-numeric: tabular-nums; min-width: 1ch; }

/* =====================================================
   KEY METRICS v2 — eight identical tiles in an even 4 x 2 grid, centred content
   (the markup has 4 boxes of 2 items; display:contents lets every item become its own grid cell)
===================================================== */
.vision-style1.desktop-view .vision-style1__main-content { padding-left: 440px !important; margin-right: 0 !important; }

.vision-style1.desktop-view .vision-style1__content-inner {
  display: grid !important;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-left: 440px;
  width: calc(100% - 440px);
  align-items: stretch;
}
.vision-style1.desktop-view .fact-counter-box-style2,
.vision-style1.desktop-view .fact-counter-box-style2 ul { display: contents !important; }

.vision-style1.desktop-view .fact-counter-box-style2 ul li,
.vision-style1.desktop-view .fact-counter-box-style2 ul li + li {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  text-align: center;
  min-height: 190px !important;
  margin: 0 !important;
  padding: 22px 14px !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-top: 3px solid var(--brand-secondary) !important;
  transition: background 0.3s var(--tr-ease), transform 0.3s var(--tr-ease), opacity 0.6s var(--tr-ease);
}
.vision-style1.desktop-view .fact-counter-box-style2 ul li:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-4px); }

.vision-style1.desktop-view .fact-counter-box-style2 ul li .counting { justify-content: center; align-items: baseline; }
.vision-style1.desktop-view .fact-counter-box-style2 ul li .counting h2,
.vision-style1.desktop-view .fact-counter-box-style2 ul li .counting h2.counter { font-size: 3.1rem !important; min-width: 0; }
.vision-style1.desktop-view .fact-counter-box-style2 ul li .counting span.k { font-size: 2rem !important; }

.vision-style1.desktop-view .fact-counter-box-style2 ul li h3 {
  margin: 12px 0 0;
  padding-top: 0;
  max-width: none;
  font-size: 0.8rem !important;
  line-height: 1.4 !important;
  text-align: center !important;
  min-height: 2.8em;           /* every label reserves two lines so all numbers sit at the same height */
  display: flex; align-items: flex-start; justify-content: center;
}
.vision-style1.desktop-view .fact-counter-box-style2 ul li h3::before { display: none; }

/* count-up reveal */
.metric-pre { opacity: 0.0; transform: translateY(18px); }
.metric-pre.metric-in { opacity: 1; transform: none; }
.vision-style1.desktop-view .fact-counter-box-style2 ul li.metric-pre.metric-in:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .metric-pre { opacity: 1; transform: none; } }

/* mobile tiles: identical too */
.mobile-metrics-grid .metric-item { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 150px; text-align: center; }
.mobile-metrics-grid .metric-item.metric-pre { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--tr-ease), transform 0.6s var(--tr-ease); }
.mobile-metrics-grid .metric-item.metric-pre.metric-in { opacity: 1; transform: none; }

/* offsets corrected: the content container already starts ~540px in; pull it left so tiles + heading start 40px inside the blue panel */
.vision-style1.desktop-view .vision-style1__main-content { padding-left: 0 !important; margin-left: -100px !important; margin-right: 0 !important; }
.vision-style1.desktop-view .vision-style1__content-inner { margin-left: -100px !important; width: calc(100% + 100px) !important; }

/* heading sits on the same left edge as the tiles */
.vision-style1.desktop-view .vision-style1__main-content { margin-left: 0 !important; padding-left: 0 !important; }
.vision-style1.desktop-view .vision-style1__content-title { margin-top: 56px; }
.vision-style1.desktop-view .vision-style1__main-content .sec-title { padding-bottom: 24px; }

/* the heading's wrapper shares the class of the counters wrapper — keep it a plain block */
.vision-style1.desktop-view .vision-style1__content-title .vision-style1__content-inner {
  display: block !important;
  width: auto !important;
  margin-left: 0 !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}
.vision-style1.desktop-view .vision-style1__content-title { margin-top: 56px; margin-left: 0 !important; }
.vision-style1.desktop-view .vision-style1__main-content .sec-title h2 { max-width: none; white-space: normal; }

/* identical tiles: number always at the same height, labels reserve three lines */
.vision-style1.desktop-view .fact-counter-box-style2 ul li,
.vision-style1.desktop-view .fact-counter-box-style2 ul li + li { justify-content: flex-start !important; padding-top: 34px !important; min-height: 214px !important; }
.vision-style1.desktop-view .fact-counter-box-style2 ul li h3 { min-height: 4.2em; }
.vision-style1.desktop-view .vision-style1__main-content { margin-left: -100px !important; }

/* =====================================================
   KEY METRICS v3 (VisionSection.js) — blue band, eight self-drawing rings
===================================================== */
.km { background: var(--brand-primary); color: #fff; padding: 96px 0; position: relative; z-index: 10; }
.km-head { text-align: center; max-width: 820px; margin: 0 auto 60px; }
.km-eyebrow { display: inline-block; margin-bottom: 16px; padding: 7px 16px; background: var(--brand-secondary); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.km-head h2 { margin: 0; color: #fff; font-size: clamp(1.9rem, 3.2vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.km-head h2 em { font-style: normal; display: block; }

.km-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 24px; }
.km-item { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--tr-ease), transform 0.6s var(--tr-ease); }
.km-item.km-in { opacity: 1; transform: none; }

.km-ring { position: relative; width: 190px; height: 190px; }
.km-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.km-track { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.28); stroke-width: 4; }
.km-arc { fill: none; stroke: var(--brand-secondary); stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 2s cubic-bezier(0.22, 0.61, 0.36, 1); }
.km-item.km-in .km-arc { stroke-dashoffset: 0 !important; transition-delay: inherit; }

.km-value { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 62px; color: #fff; }
.km-num { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.km-plus { font-size: 1.7rem; font-weight: 800; margin-left: 3px; color: #fff; }

.km-item h3 { margin: 22px 0 0; max-width: 220px; min-height: 3em; font-size: 0.9rem; font-weight: 700; line-height: 1.45; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }

@media (max-width: 991px) {
  .km { padding: 56px 0; }
  .km-head { margin-bottom: 40px; }
  .km-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .km-ring { width: 150px; height: 150px; }
  .km-value { padding-top: 48px; }
  .km-num { font-size: 2.3rem; }
  .km-plus { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .km-item { opacity: 1; transform: none; } .km-arc { transition: none; } }
.km-arc { stroke-width: 4; }
.km-track { stroke-width: 3; stroke: rgba(255, 255, 255, 0.22); }
.km-value { padding-top: 0 !important; align-items: center; }
.km-num { margin-top: 0; }
.km-plus { align-self: center; margin-top: -0.35em; }

/* =====================================================
   KEY METRICS v4 (VisionSection.js) — "ledger": heading + photo left, eight metric rows right
===================================================== */
.kl { background: #fff; padding: 96px 0; position: relative; z-index: 10; }
.kl-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: stretch; }

.kl-side { display: flex; flex-direction: column; }
.kl-eyebrow { align-self: flex-start; margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--brand-secondary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-primary); }
.kl-side h2 { margin: 0 0 32px; color: var(--brand-primary); font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.kl-side h2 em { font-style: normal; display: block; color: var(--brand-secondary); }
.kl-photo { flex: 1; min-height: 320px; background-size: cover; background-position: center; border-bottom: 6px solid var(--brand-primary); }

.kl-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--brand-primary); }
.kl-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px 190px 1fr;
  align-items: center;
  column-gap: 18px;
  padding: 20px 0 24px;
  margin: 0;
  border-bottom: 1px solid #d9dce1;
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.6s var(--tr-ease), transform 0.6s var(--tr-ease);
}
.kl-row.km-in { opacity: 1; transform: none; }
.kl-idx { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; color: #9a9a9a; }
.kl-value { display: flex; align-items: baseline; color: var(--brand-primary); }
.kl-value .km-num { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kl-plus { margin-left: 3px; font-size: 1.8rem; font-weight: 800; color: var(--brand-secondary); }
.kl-row h3 { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.07em; text-transform: uppercase; color: #222; }

/* bar fills across the bottom of the row while the number counts */
.kl-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; overflow: hidden; }
.kl-bar i { display: block; height: 100%; width: 0; background: var(--brand-secondary); transition: width 2s cubic-bezier(0.22, 0.61, 0.36, 1); transition-delay: inherit; }
.kl-row.km-in .kl-bar i { width: 100%; }
.kl-row:hover .kl-value, .kl-row:hover h3 { color: var(--brand-secondary); }

@media (max-width: 991px) {
  .kl { padding: 56px 0; }
  .kl-layout { grid-template-columns: 1fr; gap: 36px; }
  .kl-photo { min-height: 220px; flex: none; }
  .kl-row { grid-template-columns: 32px 130px 1fr; column-gap: 12px; padding: 16px 0 20px; }
  .kl-value .km-num { font-size: 2.2rem; }
  .kl-plus { font-size: 1.3rem; }
  .kl-row h3 { font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) { .kl-row { opacity: 1; transform: none; } .kl-bar i { transition: none; width: 100%; } }
.kl-row { display: grid !important; flex-direction: initial; text-align: left !important; }
.kl-row h3 { text-align: left !important; align-self: center; min-height: 0 !important; max-width: none !important; margin: 0 !important; }
.kl-value { align-self: center; }

/* =====================================================
   KEY METRICS v5 (VisionSection.js) — hero stat + equal row of seven
===================================================== */
.kh { background: var(--brand-primary); color: #fff; padding: 96px 0 0; position: relative; z-index: 10; overflow: hidden; }
.kh-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-bottom: 72px; }
.kh-eyebrow { display: inline-block; margin-bottom: 16px; padding: 7px 16px; background: var(--brand-secondary); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.kh-head h2 { margin: 0; color: #fff; font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.kh-head h2 em { font-style: normal; display: block; }

.kh-hero { position: relative; text-align: left; align-items: flex-start; padding-left: 40px; border-left: 6px solid var(--brand-secondary); }
.kh-hero__value { display: flex; align-items: baseline; line-height: 0.9; color: #fff; }
.kh-hero__value .km-num { font-size: clamp(6rem, 11vw, 10rem); font-weight: 800; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.kh-hero__plus { margin-left: 6px; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; color: #fff; }
.kh-hero h3 { margin: 18px 0 0; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.kh-hero__bar { display: block; width: 100%; max-width: 340px; height: 4px; margin-top: 20px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.kh-hero__bar::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform 2s cubic-bezier(0.22, 0.61, 0.36, 1); transition-delay: inherit; }
.kh-hero.km-in .kh-hero__bar::after { transform: scaleX(1); }

/* white strip of seven equal cells, flush to the section bottom */
.kh-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); background: #fff; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12); }
.kh-cell { margin: 0; padding: 34px 14px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid #e3e6eb; border-top: 4px solid var(--brand-secondary); }
.kh-cell:last-child { border-right: 0; }
.kh-cell__value { display: flex; align-items: baseline; justify-content: center; color: var(--brand-primary); }
.kh-cell__value .km-num { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kh-cell__plus { margin-left: 2px; font-size: 1.5rem; font-weight: 800; color: var(--brand-secondary); }
.kh-cell h3 { margin: 14px 0 0; min-height: 4.2em; max-width: 150px; font-size: 0.74rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.07em; text-transform: uppercase; color: #222; }

.kh .km-item { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--tr-ease), transform 0.6s var(--tr-ease); }
.kh .km-item.km-in { opacity: 1; transform: none; }

@media (max-width: 1100px) { .kh-row { grid-template-columns: repeat(4, 1fr); } .kh-cell { border-bottom: 1px solid #e3e6eb; } }
@media (max-width: 991px) {
  .kh { padding-top: 56px; }
  .kh-top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 44px; }
  .kh-hero { padding-left: 24px; }
}
@media (max-width: 575px) { .kh-row { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .kh .km-item { opacity: 1; transform: none; } .kh-hero__bar::after { transition: none; transform: scaleX(1); } }

/* Key Metrics: icon tile above each of the seven metrics */
.kh-cell__icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(23, 71, 158, 0.08); color: var(--brand-primary); font-size: 1.4rem; transition: background 0.3s var(--tr-ease), color 0.3s var(--tr-ease), transform 0.3s var(--tr-ease); }
.kh-cell:hover .kh-cell__icon { background: var(--brand-secondary); color: #fff; transform: translateY(-3px); }

/* Key Metrics icons: no background tile — icon only */
.kh-cell__icon { background: transparent !important; width: auto; height: auto; margin-bottom: 14px; font-size: 1.9rem; color: var(--brand-primary); }
.kh-cell:hover .kh-cell__icon { background: transparent !important; color: var(--brand-secondary); transform: translateY(-3px); }

/* =====================================================
   OUR LATEST INSIGHTS (InsightsSection.jsx) — magazine layout: 1 featured + 3 compact
===================================================== */
.ins { background: var(--tr-surface); padding: 96px 0; }
.ins-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.ins-eyebrow { display: inline-block; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--brand-secondary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-primary); }
.ins-head h2 { margin: 0; color: var(--brand-primary); font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.ins-head h2 em { font-style: normal; color: var(--brand-secondary); }
.ins-all { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; background: var(--brand-primary); color: #fff !important; font-weight: 700; text-decoration: none; border-radius: 2px; transition: background 0.25s var(--tr-ease), gap 0.25s var(--tr-ease); }
.ins-all:hover { background: var(--brand-secondary); gap: 16px; }

.ins-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; align-items: stretch; }

.ins-tag { display: inline-block; align-self: flex-start; padding: 5px 12px; background: var(--brand-secondary); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ins-tag--plain { padding: 0; background: none; color: var(--brand-secondary); }
.ins-meta { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #6b6b6b; }
.ins-meta span { opacity: 0.5; }

/* featured card */
.ins-lead { display: flex; flex-direction: column; background: #fff; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); transition: box-shadow 0.3s var(--tr-ease), transform 0.3s var(--tr-ease); overflow: hidden; }
.ins-lead:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14); transform: translateY(-4px); }
.ins-lead__img { flex: 1; min-height: 300px; background: var(--brand-primary) center / cover no-repeat; transition: transform 0.6s var(--tr-ease); }
.ins-lead:hover .ins-lead__img { transform: scale(1.03); }
.ins-lead { position: relative; }
.ins-lead__img { position: relative; }
.ins-lead__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; padding: 28px 30px 26px; background: #fff; border-top: 5px solid var(--brand-secondary); }
.ins-lead__body h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 700; line-height: 1.25; color: var(--brand-primary); }
.ins-lead__body p { margin: 0; color: var(--tr-body); line-height: 1.65; }
.ins-lead__body .ins-meta b { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--brand-primary); font-weight: 700; transition: gap 0.25s var(--tr-ease), color 0.25s; }
.ins-lead:hover .ins-meta b { gap: 14px; color: var(--brand-secondary); }

/* compact list */
.ins-side { display: flex; flex-direction: column; gap: 20px; }
.ins-item { flex: 1; display: grid; grid-template-columns: 150px 1fr; background: #fff; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); overflow: hidden; border-left: 4px solid transparent; transition: border-color 0.25s var(--tr-ease), box-shadow 0.25s var(--tr-ease), transform 0.25s var(--tr-ease); }
.ins-item:hover { border-left-color: var(--brand-secondary); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12); transform: translateX(4px); }
.ins-item__img { background: var(--brand-primary) center / cover no-repeat; min-height: 110px; }
.ins-item__body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px 20px; }
.ins-item__body h3 { margin: 0; font-size: 1.02rem; font-weight: 700; line-height: 1.35; color: var(--brand-primary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ins-item:hover h3 { color: var(--brand-secondary); }

/* loading skeleton */
.ins-skel { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; }
.ins-skel__big, .ins-skel__col i { display: block; background: linear-gradient(110deg, #ececec 8%, #f6f6f6 18%, #ececec 33%); background-size: 200% 100%; animation: insShimmer 1.4s linear infinite; }
.ins-skel__big { min-height: 440px; }
.ins-skel__col { display: flex; flex-direction: column; gap: 20px; }
.ins-skel__col i { flex: 1; min-height: 120px; }
@keyframes insShimmer { to { background-position: -200% 0; } }

@media (max-width: 991px) {
  .ins { padding: 56px 0; }
  .ins-head { flex-direction: column; align-items: flex-start; }
  .ins-grid, .ins-skel { grid-template-columns: 1fr; }
  .ins-lead__img { min-height: 240px; }
}
@media (max-width: 575px) { .ins-item { grid-template-columns: 110px 1fr; } }

/* =====================================================
   OUR WORK / CASE STUDIES (CaseStudiesSection.js) — photo-first cards on a blue band
===================================================== */
.work { background: var(--brand-primary); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.work-eyebrow { display: inline-block; margin-bottom: 14px; padding: 6px 14px; background: var(--brand-secondary); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.work-head h2 { margin: 0 0 14px; color: #fff; font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.work-head h2 em { font-style: normal; box-shadow: inset 0 -0.16em 0 var(--brand-secondary); }
.work-head p { margin: 0; max-width: 520px; color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; line-height: 1.6; }

.work-nav { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.work-count { margin-right: 10px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.work .cs-prev, .work .cs-next { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.5); background: transparent; color: #fff; cursor: pointer; transition: background 0.25s var(--tr-ease), color 0.25s var(--tr-ease), border-color 0.25s; }
.work .cs-prev:hover, .work .cs-next:hover { background: var(--brand-secondary); border-color: var(--brand-secondary); }

.work-slider { overflow: visible !important; }
.work-card { position: relative; display: block; height: 470px; overflow: hidden; background: #0f2f6b; cursor: pointer; outline: none; isolation: isolate; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform 0.7s var(--tr-ease); z-index: -2; }
.work-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.82) 100%); }
.work-card:hover img, .work-card:focus-visible img { transform: scale(1.06); }
.work-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--brand-secondary); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--tr-ease); }
.work-card:hover::after, .work-card:focus-visible::after { transform: scaleX(1); }

.work-card__num { position: absolute; top: 20px; right: 22px; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.85); }
.work-card__tag { position: absolute; top: 18px; left: 18px; padding: 6px 12px; background: #fff; color: var(--brand-primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.work-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 28px; }
.work-card__body h3 { margin: 0 0 14px; color: #fff; font-size: 1.35rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.work-card__cta { display: inline-flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.03em; color: #fff; transition: gap 0.25s var(--tr-ease); }
.work-card:hover .work-card__cta { gap: 16px; }

@media (max-width: 991px) {
  .work { padding: 56px 0; }
  .work-head { flex-direction: column; align-items: flex-start; }
  .work-card { height: 400px; }
}

/* =====================================================
   WHY SOLIDPRO (WhySolidProSection.js) — pitch + stat on the left, numbered process on the right
===================================================== */
.why { background: #fff; padding: 96px 0; position: relative; z-index: 2; }
.why-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }

.why-pitch { position: sticky; top: 110px; }
.why-eyebrow { display: inline-block; margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--brand-secondary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-primary); }
.why-pitch h2 { margin: 0 0 22px; color: var(--brand-primary); font-size: clamp(2rem, 3.2vw, 3.1rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.why-pitch h2 em { font-style: normal; color: var(--brand-secondary); }
.why-lead { margin: 0 0 30px; color: var(--tr-body); font-size: 1.1rem; line-height: 1.75; }

.why-stat { display: inline-flex; align-items: center; gap: 18px; margin-bottom: 32px; padding: 18px 26px; background: var(--brand-primary); color: #fff; border-left: 6px solid var(--brand-secondary); }
.why-stat__num { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.why-stat__num small { font-size: 1.8rem; font-weight: 800; margin-left: 2px; }
.why-stat__label { max-width: 110px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; }

.why-btn { display: flex; align-items: center; gap: 12px; padding: 15px 30px; background: var(--brand-secondary); color: #fff; border: 0; border-radius: 2px; font: 700 1rem 'Hanken Grotesk', system-ui, sans-serif; letter-spacing: 0.03em; cursor: pointer; transition: background 0.25s var(--tr-ease), gap 0.25s var(--tr-ease); }
.why-btn:hover { background: var(--brand-primary); gap: 18px; }

.why-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.why-steps::before { content: ''; position: absolute; left: 33px; top: 20px; bottom: 20px; width: 2px; background: #d9dce1; }
.why-step { position: relative; display: grid; grid-template-columns: 68px 1fr; gap: 28px; margin: 0 0 28px; padding: 0; }
.why-step:last-child { margin-bottom: 0; }
.why-step__num { position: relative; z-index: 1; width: 68px; height: 68px; display: grid; place-items: center; background: #fff; border: 2px solid var(--brand-primary); color: var(--brand-primary); font-size: 1.15rem; font-weight: 800; letter-spacing: 0.04em; transition: background 0.3s var(--tr-ease), color 0.3s var(--tr-ease), border-color 0.3s; }
.why-step__body { padding: 28px 32px; background: var(--tr-surface); border-top: 4px solid transparent; transition: background 0.3s var(--tr-ease), box-shadow 0.3s var(--tr-ease), border-color 0.3s var(--tr-ease); }
.why-step:hover .why-step__body { background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1); border-top-color: var(--brand-secondary); }
.why-step:hover .why-step__num { background: var(--brand-secondary); border-color: var(--brand-secondary); color: #fff; }
.why-step__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.why-step__icon { font-size: 1.5rem; color: var(--brand-secondary); }
.why-step__head h3 { margin: 0; font-size: 1.35rem; font-weight: 700; color: var(--brand-primary); }
.why-step__body p { margin: 0 0 12px; color: var(--tr-body); line-height: 1.7; }
.why-step__body p:last-of-type { margin-bottom: 0; }
.why-step__tags { display: flex; gap: 8px; margin-top: 16px; }
.why-step__tags span { padding: 5px 12px; background: var(--brand-primary); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

@media (max-width: 991px) {
  .why { padding: 56px 0; }
  .why-layout { grid-template-columns: 1fr; gap: 40px; }
  .why-pitch { position: static; }
  .why-steps::before { left: 25px; }
  .why-step { grid-template-columns: 52px 1fr; gap: 18px; }
  .why-step__num { width: 52px; height: 52px; font-size: 1rem; }
  .why-step__body { padding: 20px; }
}

/* =====================================================
   WHAT CAN OUR ENGINEERS PROVIDE? (ContactSection.js) — blue info panel + white form card
===================================================== */
.cx { background: var(--tr-surface) !important; padding: 96px 0 !important; }
.cx-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 0; align-items: stretch; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14); }

.cx-info { background: var(--brand-primary); color: #fff; padding: 56px 48px; display: flex; flex-direction: column; }
.cx-eyebrow { align-self: flex-start; margin-bottom: 18px; padding: 6px 14px; background: var(--brand-secondary); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.cx-info h2 { margin: 0 0 18px; color: #fff; font-size: clamp(2rem, 3vw, 2.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.cx-info h2 em { font-style: normal; box-shadow: inset 0 -0.16em 0 var(--brand-secondary); }
.cx-info > p { margin: 0 0 36px; color: rgba(255, 255, 255, 0.88); font-size: 1.08rem; line-height: 1.7; }

.cx-points { list-style: none; margin: auto 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.28); display: grid; gap: 22px; }
.cx-points li { display: flex; align-items: flex-start; gap: 16px; margin: 0; }
.cx-points__icon { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 1.05rem; }
.cx-points li div { display: flex; flex-direction: column; gap: 3px; }
.cx-points b { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.cx-points span:not(.cx-points__icon), .cx-points a { color: #fff !important; font-size: 1.02rem; font-weight: 600; text-decoration: none; }
.cx-points a:hover { text-decoration: underline; }

.cx-form.sp-contact-formWrap { margin: 0 !important; max-width: none !important; width: auto !important; padding: 48px 48px 40px !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: #fff !important; }
.cx-form.sp-contact-formWrap::before { display: none !important; }
.cx-form .sp-field label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-primary); }
.cx-form .sp-field input, .cx-form .sp-field select, .cx-form .sp-field textarea { border: 1px solid #cfd3d9 !important; border-radius: 2px !important; background: #fff !important; padding: 12px 14px !important; font-size: 0.98rem; }
.cx-form .sp-field input:focus, .cx-form .sp-field select:focus, .cx-form .sp-field textarea:focus { border-color: var(--brand-primary) !important; box-shadow: 0 0 0 3px rgba(23, 71, 158, 0.15) !important; }
.cx-form .sp-contact-btn { border-radius: 2px !important; background: var(--brand-secondary) !important; color: #fff !important; font-weight: 700; letter-spacing: 0.03em; padding: 14px 32px !important; }
.cx-form .sp-contact-btn:hover:not(:disabled) { background: var(--brand-primary) !important; }

@media (max-width: 991px) {
  .cx { padding: 56px 0 !important; }
  .cx-layout { grid-template-columns: 1fr; }
  .cx-info { padding: 36px 24px; }
  .cx-form.sp-contact-formWrap { padding: 28px 20px !important; }
}
.cx-form .sp-consent-row, .cx-form .sp-consent-row * { text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; font-size: 0.92rem !important; color: #333 !important; }
.cx-form .sp-consent-row input { width: auto !important; margin-right: 8px; accent-color: var(--brand-primary); }
.cx-form .sp-contact-note { display: block; text-align: center; font-style: normal !important; color: #6b6b6b; }

/* two-column field grid: rows dissolve so each field becomes a grid cell; full-width rows span both */
@media (min-width: 768px) {
  .cx-form .sp-contact-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; row-gap: 4px; }
  .cx-form .sp-form-row { display: contents !important; }
  .cx-form .sp-form-row.sp-full-width > .sp-field { grid-column: 1 / -1; }
  .cx-form .sp-field { margin-bottom: 14px !important; min-width: 0; }
  .cx-form .sp-consent { margin-bottom: 4px !important; }
}

/* =====================================================
   WHY SOLIDPRO v2 (WhySolidProSection.js) — blue band, three columns, stat + brochure strip
===================================================== */
.wy { background: var(--brand-primary); color: #fff; padding: 96px 0 0; position: relative; z-index: 2; overflow: hidden; }
.wy-head { max-width: 860px; margin: 0 auto 60px; text-align: center; }
.wy-eyebrow { display: inline-block; margin-bottom: 16px; padding: 7px 16px; background: var(--brand-secondary); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.wy-head h2 { margin: 0 0 20px; color: #fff; font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.wy-head h2 em { font-style: normal; box-shadow: inset 0 -0.16em 0 var(--brand-secondary); }
.wy-head p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 1.12rem; line-height: 1.75; }

.wy-cols { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 0; border: 1px solid rgba(255, 255, 255, 0.28); }
.wy-col { position: relative; padding: 44px 36px 40px; border-right: 1px solid rgba(255, 255, 255, 0.28); overflow: hidden; transition: background 0.3s var(--tr-ease); }
.wy-col:last-child { border-right: 0; }
.wy-col:hover { background: rgba(255, 255, 255, 0.07); }
.wy-col::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--brand-secondary); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--tr-ease); }
.wy-col:hover::before { transform: scaleX(1); }
.wy-col__num { position: absolute; right: 20px; top: 8px; font-size: 6.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.08); pointer-events: none; }
.wy-col__icon { position: relative; width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 22px; background: #fff; color: var(--brand-primary); font-size: 1.6rem; transition: background 0.3s var(--tr-ease), color 0.3s var(--tr-ease); }
.wy-col:hover .wy-col__icon { background: var(--brand-secondary); color: #fff; }
.wy-col h3 { position: relative; margin: 0 0 14px; color: #fff; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.wy-col p { position: relative; margin: 0 0 12px; color: rgba(255, 255, 255, 0.88); line-height: 1.7; }
.wy-col__tags { position: relative; display: flex; gap: 8px; margin-top: 18px; }
.wy-col__tags span { padding: 5px 12px; background: #fff; color: var(--brand-primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.wy-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding: 26px 40px; background: #fff; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12); border-top: 5px solid var(--brand-secondary); }
.wy-strip__stat { display: flex; align-items: center; gap: 20px; }
.wy-strip__num { font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--brand-primary); }
.wy-strip__num small { font-size: 1.9rem; margin-left: 2px; color: var(--brand-secondary); }
.wy-strip__label { max-width: 140px; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; color: #222; }
.wy-strip__btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 34px; background: var(--brand-secondary); color: #fff; border: 0; border-radius: 2px; font: 700 1rem 'Hanken Grotesk', system-ui, sans-serif; letter-spacing: 0.03em; cursor: pointer; transition: background 0.25s var(--tr-ease), gap 0.25s var(--tr-ease); }
.wy-strip__btn:hover { background: var(--brand-primary); gap: 18px; }

@media (max-width: 991px) {
  .wy { padding-top: 56px; }
  .wy-head { margin-bottom: 36px; }
  .wy-cols { grid-template-columns: 1fr; }
  .wy-col { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); padding: 32px 24px; }
  .wy-col:last-child { border-bottom: 0; }
  .wy-strip { flex-direction: column; align-items: flex-start; padding: 22px 24px; margin-top: 36px; }
}

/* =====================================================
   WHY SOLIDPRO v3 (WhySolidProSection.js) — blue pitch panel + tabbed approach card
===================================================== */
.wz { background: var(--tr-surface); padding: 96px 0; position: relative; z-index: 2; }
.wz-layout { display: grid; grid-template-columns: 5fr 7fr; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14); }

.wz-pitch { background: var(--brand-primary); color: #fff; padding: 56px 48px; display: flex; flex-direction: column; align-items: flex-start; }
.wz-eyebrow { margin-bottom: 18px; padding: 6px 14px; background: var(--brand-secondary); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.wz-pitch h2 { margin: 0 0 20px; color: #fff; font-size: clamp(2rem, 3vw, 2.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.wz-pitch h2 em { font-style: normal; box-shadow: inset 0 -0.16em 0 var(--brand-secondary); }
.wz-pitch > p { margin: 0 0 32px; color: rgba(255, 255, 255, 0.88); font-size: 1.08rem; line-height: 1.75; }
.wz-stat { display: flex; align-items: center; gap: 18px; margin: auto 0 28px; padding-top: 28px; width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.wz-stat__num { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.wz-stat__num small { font-size: 2rem; margin-left: 2px; color: #fff; }
.wz-stat__label { max-width: 120px; font-size: 0.84rem; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; }
.wz-btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 30px; background: var(--brand-secondary); color: #fff; border: 0; border-radius: 2px; font: 700 1rem 'Hanken Grotesk', system-ui, sans-serif; letter-spacing: 0.03em; cursor: pointer; transition: background 0.25s var(--tr-ease), color 0.25s var(--tr-ease), gap 0.25s var(--tr-ease); }
.wz-btn:hover { background: #fff; color: var(--brand-primary); gap: 18px; }

.wz-card { background: #fff; display: flex; flex-direction: column; }
.wz-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #d9dce1; }
.wz-tab { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px 14px; border: 0; border-right: 1px solid #e3e6eb; background: #fff; font: 600 0.95rem/1.3 'Hanken Grotesk', system-ui, sans-serif; color: #555; text-align: left; cursor: pointer; position: relative; transition: background 0.25s var(--tr-ease), color 0.25s var(--tr-ease); }
.wz-tab:last-child { border-right: 0; }
.wz-tab b { font-size: 1.15rem; font-weight: 800; color: #b5b9c0; transition: color 0.25s; }
.wz-tab:hover { background: var(--tr-surface); color: var(--brand-primary); }
.wz-tab.is-active { color: var(--brand-primary); }
.wz-tab.is-active b { color: var(--brand-secondary); }
.wz-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--brand-secondary); transform: scaleX(0); transition: transform 0.35s var(--tr-ease); }
.wz-tab.is-active::after { transform: scaleX(1); }

.wz-panel { position: relative; flex: 1; padding: 48px 48px 40px; animation: wzIn 0.4s var(--tr-ease) both; }
@keyframes wzIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.wz-panel__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 22px; background: var(--brand-primary); color: #fff; font-size: 1.9rem; }
.wz-panel h3 { margin: 0 0 16px; color: var(--brand-primary); font-size: clamp(1.6rem, 2.3vw, 2.2rem); font-weight: 700; line-height: 1.15; }
.wz-panel p { margin: 0 0 14px; color: var(--tr-body); font-size: 1.05rem; line-height: 1.75; }
.wz-panel__tags { display: flex; gap: 8px; margin-top: 20px; }
.wz-panel__tags span { padding: 6px 14px; background: var(--brand-secondary); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.wz-panel__nav { position: absolute; right: 36px; bottom: 32px; display: flex; gap: 8px; }
.wz-panel__nav button { width: 46px; height: 46px; border: 1px solid #cfd3d9; background: #fff; color: var(--brand-primary); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: all 0.2s var(--tr-ease); }
.wz-panel__nav button:hover { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }

@media (max-width: 991px) {
  .wz { padding: 56px 0; }
  .wz-layout { grid-template-columns: 1fr; }
  .wz-pitch { padding: 36px 24px; }
  .wz-tab span { display: none; }
  .wz-panel { padding: 32px 22px 80px; }
}
@media (prefers-reduced-motion: reduce) { .wz-panel { animation: none; } }

/* Welcome section: heading above the logo, paragraph below it */
.wc-intro { margin-bottom: 40px; }
.wc-center { display: flex; flex-direction: column; align-items: center; }
.wc-center__text { margin: 18px 0 0; max-width: 460px; text-align: center; color: var(--tr-body); font-size: 1.02rem; line-height: 1.75; }
.wc-grid { align-items: center; }
@media (max-width: 1250px) { .wc-center__text { max-width: 380px; } }
@media (max-width: 991px) { .wc-center { order: -1; } .wc-center__text { max-width: 560px; } }

/* paragraph under the logo spans the full content width */
.wc-fullwidth { width: 100%; max-width: none; margin: 36px 0 0; text-align: center; color: var(--tr-body); font-size: 1.15rem; line-height: 1.8; }
.wc-foot { margin-top: 32px; }
@media (max-width: 991px) { .wc-fullwidth { font-size: 1.02rem; margin-top: 24px; } }

/* Welcome paragraph: centred, balanced lines, a little larger */
.wc-fullwidth { width: 100%; max-width: 1040px; margin: 40px auto 0 !important; text-align: center !important; text-wrap: balance; font-size: 1.4rem !important; line-height: 1.75 !important; font-weight: 500; color: #333 !important; }
@media (max-width: 991px) { .wc-fullwidth { font-size: 1.12rem !important; margin-top: 28px !important; } }


/* Welcome section: less space above and below */
.wc { padding: 36px 0 40px !important; }
.wc-foot { margin-top: 24px; }
@media (max-width: 991px) { .wc { padding: 28px 0 32px !important; } }

/* =====================================================
   OUR SERVICES (ServicesSlider.js) — editorial index: big numbered rows, active row opens
===================================================== */
.sx { background: #fff; padding: 96px 0; }
.sx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.sx-eyebrow { display: inline-block; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--brand-secondary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-primary); }
.sx-head h2 { margin: 0; color: var(--brand-primary); font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.sx-head h2 em { font-style: normal; color: var(--brand-secondary); }
.sx-head > p { margin: 0; max-width: 380px; color: var(--tr-body); font-size: 1.05rem; line-height: 1.65; }

.sx-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--brand-primary); }
.sx-row { margin: 0; border-bottom: 1px solid #d9dce1; border-left: 5px solid transparent; transition: border-color 0.3s var(--tr-ease), background 0.3s var(--tr-ease); }
.sx-row.is-open { border-left-color: var(--brand-secondary); background: var(--tr-surface); }

.sx-row__head { width: 100%; display: flex; align-items: center; gap: 28px; padding: 28px 28px; background: transparent; border: 0; text-align: left; cursor: pointer; font-family: 'Hanken Grotesk', system-ui, sans-serif; }
.sx-row__num { min-width: 44px; font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; color: #9a9a9a; transition: color 0.25s; }
.sx-row__title { flex: 1; font-size: clamp(1.4rem, 2.6vw, 2.3rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--brand-primary); transition: color 0.25s; }
.sx-row__title b { font-weight: 700; }
.sx-row:not(.is-open) .sx-row__head:hover .sx-row__title { color: var(--brand-secondary); }
.sx-row.is-open .sx-row__num { color: var(--brand-secondary); }

.sx-row__plus { position: relative; width: 24px; height: 24px; flex-shrink: 0; }
.sx-row__plus::before, .sx-row__plus::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--brand-primary); transition: transform 0.3s var(--tr-ease), opacity 0.3s; }
.sx-row__plus::before { width: 20px; height: 2px; transform: translate(-50%, -50%); }
.sx-row__plus::after { width: 2px; height: 20px; transform: translate(-50%, -50%); }
.sx-row.is-open .sx-row__plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.sx-row__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--tr-ease); }
.sx-row.is-open .sx-row__body { grid-template-rows: 1fr; }
.sx-row__inner { overflow: hidden; min-height: 0; display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: 0 28px 0 100px; }
.sx-row.is-open .sx-row__inner { padding-bottom: 32px; }
.sx-row__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
.sx-row__text p { margin: 0; max-width: 560px; color: var(--tr-body); font-size: 1.1rem; line-height: 1.75; }
.sx-row__cta { display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px; background: var(--brand-primary); color: #fff !important; font-weight: 700; text-decoration: none; border-radius: 2px; transition: background 0.25s var(--tr-ease), gap 0.25s var(--tr-ease); }
.sx-row__cta:hover { background: var(--brand-secondary); gap: 18px; }
.sx-row__img { min-height: 220px; background: var(--brand-primary) center / cover no-repeat; }

@media (max-width: 991px) {
  .sx { padding: 56px 0; }
  .sx-head { flex-direction: column; align-items: flex-start; }
  .sx-row__head { padding: 20px 16px; gap: 14px; }
  .sx-row__inner { grid-template-columns: 1fr; padding: 0 16px; gap: 20px; }
  .sx-row.is-open .sx-row__inner { padding-bottom: 22px; }
  .sx-row__img { order: -1; min-height: 190px; }
}
@media (prefers-reduced-motion: reduce) { .sx-row__body { transition: none; } }

/* =====================================================
   OUR SERVICES v2 (ServicesSlider.js) — 3 x 2 card grid with a call-to-action tile
===================================================== */
.sg { background: var(--tr-surface); padding: 96px 0; }
.sg-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sg-eyebrow { display: inline-block; margin-bottom: 16px; padding: 6px 14px; background: var(--brand-primary); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.sg-head h2 { margin: 0 0 14px; color: var(--brand-primary); font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.sg-head h2 em { font-style: normal; color: var(--brand-secondary); }
.sg-head p { margin: 0; color: var(--tr-body); font-size: 1.1rem; line-height: 1.65; }

.sg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.sg-card { position: relative; display: flex; flex-direction: column; background: #fff; text-decoration: none; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.07); overflow: hidden; border-bottom: 5px solid transparent; transition: transform 0.35s var(--tr-ease), box-shadow 0.35s var(--tr-ease), border-color 0.35s var(--tr-ease); }
.sg-card:hover { transform: translateY(-8px); box-shadow: 0 22px 46px rgba(0, 0, 0, 0.16); border-bottom-color: var(--brand-secondary); }

.sg-card__img { height: 210px; background: var(--brand-primary) center / cover no-repeat; transition: transform 0.7s var(--tr-ease); }
.sg-card:hover .sg-card__img { transform: scale(1.05); }
.sg-card__num { position: absolute; top: 186px; left: 24px; width: 54px; height: 54px; display: grid; place-items: center; background: var(--brand-secondary); color: #fff; font-size: 1.15rem; font-weight: 800; letter-spacing: 0.04em; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2); z-index: 1; }
.sg-card__body { display: flex; flex-direction: column; flex: 1; padding: 48px 26px 26px; background: #fff; position: relative; z-index: 0; }
.sg-card__body h3 { margin: 0 0 12px; color: var(--brand-primary); font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
.sg-card__body h3 b { display: block; font-weight: 700; }
.sg-card__body p { margin: 0 0 20px; color: var(--tr-body); font-size: 0.98rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sg-card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 700; color: var(--brand-primary); transition: gap 0.25s var(--tr-ease), color 0.25s; }
.sg-card:hover .sg-card__cta { gap: 16px; color: var(--brand-secondary); }

.sg-card--cta { background: var(--brand-primary); justify-content: center; padding: 40px 34px; border-bottom-color: var(--brand-secondary); }
.sg-card--cta:hover { background: #123a85; }
.sg-cta__icon { font-size: 2.2rem; color: #fff; margin-bottom: 22px; }
.sg-card--cta h3 { margin: 0 0 12px; color: #fff; font-size: 1.7rem; font-weight: 700; line-height: 1.2; }
.sg-card--cta p { margin: 0 0 26px; color: rgba(255, 255, 255, 0.88); font-size: 1.02rem; line-height: 1.65; }
.sg-card--cta .sg-card__cta, .sg-card--cta:hover .sg-card__cta { color: #fff; margin-top: 0; }

@media (max-width: 991px) {
  .sg { padding: 56px 0; }
  .sg-head { margin-bottom: 34px; }
  .sg-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 575px) { .sg-grid { grid-template-columns: 1fr; } }
.sg-card__body p { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* =====================================================================
   ONE SECTION-HEADER STYLE  (applies to every home-page section)
   eyebrow : small red uppercase label with red bar(s)
   title   : Hanken Grotesk 700, primary blue, last word in red
   subtitle: 1.1rem grey
   headers above their content are centred; headers inside a side panel stay left (same look)
===================================================================== */
:root { --sec-title-size: clamp(2rem, 3.2vw, 3rem); }

/* ---- eyebrow ---- */
.wc-eyebrow, .ind5-eyebrow, .sg-eyebrow, .ins-eyebrow, .work-eyebrow, .cap2-eyebrow, .wz-eyebrow, .kh-eyebrow, .cx-eyebrow {
  display: inline-flex !important; align-items: center; gap: 12px;
  margin: 0 0 14px !important; padding: 0 !important;
  background: none !important; border: 0 !important; border-radius: 0 !important;
  font: 700 0.82rem/1 'Hanken Grotesk', system-ui, sans-serif !important;
  letter-spacing: 0.2em !important; text-transform: uppercase !important;
  color: var(--brand-secondary) !important; box-shadow: none !important;
}
.wc-eyebrow::before, .ind5-eyebrow::before, .sg-eyebrow::before, .ins-eyebrow::before, .work-eyebrow::before,
.cap2-eyebrow::before, .wz-eyebrow::before, .kh-eyebrow::before, .cx-eyebrow::before { content: ''; width: 36px; height: 3px; background: var(--brand-secondary); }
/* centred headers get a bar on both sides */
.wc-eyebrow::after, .ind5-eyebrow::after, .sg-eyebrow::after, .ins-eyebrow::after, .work-eyebrow::after { content: ''; width: 36px; height: 3px; background: var(--brand-secondary); }
/* eyebrows on blue backgrounds are white text */
.work-eyebrow, .wz-eyebrow, .kh-eyebrow, .cx-eyebrow { color: #fff !important; }

/* ---- title ---- */
.wc-intro h2, .ind5-head h2, .sg-head h2, .ins-head h2, .work-head h2, .cap2-intro h2, .wz-pitch h2, .kh-head h2, .cx-info h2 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif !important;
  font-size: var(--sec-title-size) !important; font-weight: 700 !important;
  line-height: 1.12 !important; letter-spacing: -0.02em !important; margin: 0 0 16px !important;
}
.wc-intro h2, .ind5-head h2, .sg-head h2, .ins-head h2, .cap2-intro h2 { color: var(--brand-primary) !important; }
.work-head h2, .wz-pitch h2, .kh-head h2, .cx-info h2 { color: #fff !important; }
/* accent word: red on light backgrounds, white + red underline on blue */
.wc-intro h2 em, .ind5-head h2 em, .sg-head h2 em, .ins-head h2 em, .cap2-intro h2 em { color: var(--brand-secondary) !important; font-style: normal; box-shadow: none !important; }
.work-head h2 em, .wz-pitch h2 em, .kh-head h2 em, .cx-info h2 em { color: #fff !important; font-style: normal; box-shadow: inset 0 -0.16em 0 var(--brand-secondary) !important; }

/* ---- subtitle ---- */
.sg-head p, .work-head p, .cap2-intro p, .wz-pitch > p, .cx-info > p {
  font-size: 1.1rem !important; line-height: 1.7 !important; font-weight: 400;
}
.sg-head p, .cap2-intro p { color: var(--tr-body) !important; }
.work-head p, .wz-pitch > p, .cx-info > p { color: rgba(255, 255, 255, 0.88) !important; }

/* ---- centred headers above content ---- */
.wc-intro, .ind5-head, .sg-head, .ins-head, .work-head { display: block !important; position: relative; text-align: center !important; max-width: none; margin-left: auto; margin-right: auto; }
.wc-intro, .sg-head { max-width: 860px; }
.ind5-head > div, .ins-head > div, .work-head > div { display: block; max-width: 860px; margin: 0 auto; }
.ind5-head h2, .ins-head h2 { max-width: none !important; margin-left: auto !important; margin-right: auto !important; }
.ind5-head, .ins-head, .work-head { margin-bottom: 44px !important; }
.work-head p { margin: 0 auto !important; max-width: 600px; }

/* action links/controls that used to sit beside the title: pinned to the right of the header */
.ind5-all, .ins-all { position: absolute; right: 0; bottom: 4px; }
.work-nav { position: absolute; right: 0; bottom: 0; }
@media (max-width: 991px) {
  .ind5-all, .ins-all { position: static; display: inline-flex; margin-top: 20px; }
  .work-nav { position: static; justify-content: center; margin-top: 20px; }
}
.work-nav { flex-direction: row !important; flex-wrap: nowrap !important; width: max-content; align-items: center; }
.work-nav .work-count { white-space: nowrap; margin-right: 10px; }
.work-head > .work-nav { display: flex !important; max-width: none; margin: 0; }
@media (max-width: 991px) { .work-head > .work-nav { justify-content: center; margin-top: 20px; } }

/* =====================================================
   Back-to-top button = the SolidPro logo's last "O" (blue ring + red arrow)
===================================================== */
.circular-scroll-progress { width: 56px !important; height: 59px !important; right: 18px !important; bottom: 96px !important; background: transparent !important; border-radius: 0 !important; }
.circular-scroll-progress::before { display: none !important; }
.circular-scroll-progress .logo-o { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 10px rgba(23, 71, 158, 0.35)); transition: transform 0.3s var(--tr-ease), filter 0.3s var(--tr-ease); }
.circular-scroll-progress:hover .logo-o { transform: translateY(-5px) scale(1.06); filter: drop-shadow(0 12px 16px rgba(23, 71, 158, 0.45)); }
.circular-scroll-progress:active .logo-o { transform: scale(0.96); }
.circular-scroll-progress .ripple { display: none; }

/* =====================================================
   SOLIDPRO AI ASSISTANT (AIAssistant.jsx) — floating launcher + chat panel, bottom-left
===================================================== */
.ai-launch { position: fixed; left: 18px; bottom: 24px; z-index: 9998; display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; background: #fff; border: 1px solid #d9dce1; border-radius: 999px; box-shadow: 0 10px 28px rgba(23, 71, 158, 0.25); cursor: pointer; font-family: 'Hanken Grotesk', system-ui, sans-serif; transition: transform 0.25s var(--tr-ease), box-shadow 0.25s var(--tr-ease); }
.ai-launch:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(23, 71, 158, 0.34); }
.ai-launch__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-primary); color: #fff; font-size: 1.15rem; }
.ai-launch__text { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.ai-launch__text b { font-size: 0.98rem; font-weight: 700; color: var(--brand-primary); }
.ai-launch__text small { font-size: 0.74rem; color: #6b6b6b; }
.ai-launch__dot { position: absolute; top: 2px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-secondary); box-shadow: 0 0 0 0 rgba(225, 27, 34, 0.55); animation: aiPulse 2s ease-out infinite; }
@keyframes aiPulse { 70% { box-shadow: 0 0 0 10px rgba(225, 27, 34, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 27, 34, 0); } }

.ai-panel { position: fixed; left: 18px; bottom: 24px; z-index: 10000; width: 400px; max-width: calc(100vw - 24px); height: min(640px, calc(100vh - 48px)); display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); border: 1px solid #d9dce1; font-family: 'Hanken Grotesk', system-ui, sans-serif; animation: aiIn 0.3s var(--tr-ease) both; }
@keyframes aiIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

.ai-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--brand-primary); color: #fff; border-bottom: 4px solid var(--brand-secondary); }
.ai-head__logo { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; background: #fff; border-radius: 50%; }
.ai-head__title { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ai-head__title b { font-size: 1.02rem; font-weight: 700; }
.ai-head__title small { font-size: 0.76rem; opacity: 0.85; }
.ai-head__btn { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; transition: background 0.2s; }
.ai-head__btn:hover { background: rgba(255, 255, 255, 0.28); }

.ai-list { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 14px; background: #f4f5f7; scroll-behavior: smooth; }
.ai-msg { display: flex; flex-direction: column; gap: 10px; max-width: 100%; }
.ai-msg--user { align-items: flex-end; }
.ai-bubble { max-width: 88%; padding: 12px 15px; border-radius: 14px; font-size: 0.95rem; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.ai-msg--assistant .ai-bubble { background: #fff; color: #222; border-top-left-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }
.ai-msg--user .ai-bubble { background: var(--brand-primary); color: #fff; border-top-right-radius: 4px; }
.ai-bubble strong { color: var(--brand-primary); }
.ai-msg--user .ai-bubble strong { color: #fff; }

.ai-cards { display: flex; flex-direction: column; gap: 8px; max-width: 94%; }
.ai-card { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid #dfe2e7; border-left: 4px solid var(--brand-secondary); border-radius: 6px; text-decoration: none; transition: box-shadow 0.2s var(--tr-ease), transform 0.2s var(--tr-ease); }
.ai-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); transform: translateX(3px); }
.ai-card__kind { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-secondary); }
.ai-card__title { font-size: 0.98rem; font-weight: 700; line-height: 1.3; color: var(--brand-primary); }
.ai-card__snip { font-size: 0.82rem; line-height: 1.45; color: #555; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ai-card__go { margin-top: 2px; font-size: 0.8rem; font-weight: 700; color: var(--brand-primary); }
.ai-card__go i { margin-left: 4px; font-size: 0.7rem; }

.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-chip { padding: 8px 13px; background: #fff; border: 1px solid var(--brand-primary); border-radius: 999px; color: var(--brand-primary); font: 600 0.84rem/1.2 'Hanken Grotesk', system-ui, sans-serif; cursor: pointer; text-align: left; transition: background 0.2s, color 0.2s; }
.ai-chip:hover { background: var(--brand-primary); color: #fff; }

.ai-typing { display: inline-flex; gap: 5px; align-items: center; padding: 14px 16px; }
.ai-typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-primary); opacity: 0.35; animation: aiDot 1.2s ease-in-out infinite; }
.ai-typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiDot { 40% { opacity: 1; transform: translateY(-3px); } }

.ai-form { display: flex; gap: 8px; padding: 12px 14px; background: #fff; border-top: 1px solid #e3e6eb; }
.ai-form input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid #cfd3d9; border-radius: 999px; font: 400 0.95rem 'Hanken Grotesk', system-ui, sans-serif; outline: none; }
.ai-form input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(23, 71, 158, 0.15); }
.ai-form button { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--brand-secondary); color: #fff; cursor: pointer; transition: background 0.2s, opacity 0.2s; }
.ai-form button:hover:not(:disabled) { background: var(--brand-primary); }
.ai-form button:disabled { opacity: 0.45; cursor: not-allowed; }
.ai-note { margin: 0; padding: 0 16px 12px; background: #fff; font-size: 0.72rem; line-height: 1.4; color: #777; text-align: center; }
.ai-note a { color: var(--brand-primary); font-weight: 700; }

@media (max-width: 575px) {
  .ai-launch__text { display: none; }
  .ai-launch { padding: 8px; }
  .ai-panel { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; height: calc(100vh - 16px); border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ai-panel, .ai-launch__dot { animation: none; } }

.ai-panel { z-index: 2147483000 !important; }
.ai-launch { z-index: 9999; }

/* =====================================================
   AI assistant: robot face from the SolidPro logo
===================================================== */
.ai-launch { padding: 6px 22px 6px 6px !important; }
.ai-launch__icon { width: 58px !important; height: 58px !important; background: #eef2fb !important; border: 2px solid var(--brand-primary); overflow: visible; }
.ai-launch__icon .ai-robot { width: 46px; height: auto; display: block; overflow: visible; transition: transform 0.3s var(--tr-ease); }
.ai-launch:hover .ai-robot { transform: translateY(-2px) rotate(-4deg); }
.ai-head__logo { width: 50px !important; height: 50px !important; }
.ai-head__logo .ai-robot { width: 38px; height: auto; display: block; overflow: visible; }

/* life: the eyes blink, the antenna light pulses */
.ai-robot__eyes { transform-box: fill-box; transform-origin: center; animation: aiBlink 4.5s infinite; }
@keyframes aiBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
.ai-robot__bulb { animation: aiBulb 1.8s ease-in-out infinite; }
@keyframes aiBulb { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .ai-robot__eyes, .ai-robot__bulb { animation: none; } }
@media (max-width: 575px) { .ai-launch { padding: 5px !important; } }

/* =====================================================
   AI assistant launcher = a full, animated robot (no text, no pill)
===================================================== */
.ai-launch.ai-launch--robot { left: 14px; bottom: 14px; width: 96px; height: 132px; padding: 0 !important; gap: 0; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; display: block; cursor: pointer; }
.ai-launch--robot:hover { transform: none; box-shadow: none !important; }
.ai-launch--robot .rb { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 10px rgba(23, 71, 158, 0.22)); }

/* gentle hover (float up/down) */
.rb-float { animation: rbFloat 3.2s ease-in-out infinite; }
@keyframes rbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.rb-shadow { transform-box: fill-box; transform-origin: center; animation: rbShadow 3.2s ease-in-out infinite; }
@keyframes rbShadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.8); opacity: 0.6; } }

/* waving arm, pivoting at the shoulder */
.rb-wave { transform-box: view-box; transform-origin: 98px 92px; animation: rbWave 2.4s ease-in-out infinite; }
@keyframes rbWave { 0%, 55%, 100% { transform: rotate(0deg); } 62% { transform: rotate(-38deg); } 70% { transform: rotate(8deg); } 78% { transform: rotate(-38deg); } 86% { transform: rotate(8deg); } 94% { transform: rotate(-12deg); } }

/* head tilts a little, eyes blink, antenna light + heartbeat pulse */
.rb-eyes { transform-box: fill-box; transform-origin: center; animation: aiBlink 4.2s infinite; }
.rb-bulb { animation: aiBulb 1.4s ease-in-out infinite; }
.rb-pulse { stroke-dasharray: 60; animation: rbBeat 1.8s linear infinite; }
@keyframes rbBeat { from { stroke-dashoffset: 60; } to { stroke-dashoffset: -60; } }

/* on hover: bounce and wave faster to invite a click */
.ai-launch--robot:hover .rb-float { animation: rbJump 0.6s ease-in-out infinite; }
.ai-launch--robot:hover .rb-wave { animation-duration: 1s; }
@keyframes rbJump { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 575px) { .ai-launch.ai-launch--robot { width: 76px; height: 104px; left: 8px; bottom: 8px; } }
@media (prefers-reduced-motion: reduce) { .rb-float, .rb-shadow, .rb-wave, .rb-head, .rb-eyes, .rb-bulb, .rb-pulse { animation: none !important; } }

/* robot v3: boxy head tilts, arm pivots at the new shoulder, chest lights blink */
.rb-wave { transform-origin: 100px 88px !important; }
.rb-head { transform-box: view-box; transform-origin: 60px 68px; animation: rbTilt 5s ease-in-out infinite; }
@keyframes rbTilt { 0%, 38%, 100% { transform: rotate(0deg); } 46% { transform: rotate(-5deg); } 56% { transform: rotate(4deg); } 66% { transform: rotate(0deg); } }
.rb-chest { animation: aiBulb 1.2s ease-in-out infinite; }
.rb-chest:nth-of-type(2) { animation-delay: 0.6s; }
.ai-head__logo .ai-robot { width: 40px; }
@media (prefers-reduced-motion: reduce) { .rb-head, .rb-chest { animation: none !important; } }

/* =====================================================
   Robot from the supplied illustration (public/assistant/robot.png): head, both arms and legs move
===================================================== */
.ai-launch.ai-launch--robot { width: 112px; height: 137px; left: 12px; bottom: 10px; }
.ai-launch--robot .rb { filter: drop-shadow(0 8px 12px rgba(23, 71, 158, 0.3)); }
.rb-legL, .rb-legR, .rb-armL, .rb-armR, .rb-head { transform-box: view-box; }

.rb-float { animation: rbFloat2 3.4s ease-in-out infinite !important; }
@keyframes rbFloat2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
.rb-shadow { animation: rbShadow 3.4s ease-in-out infinite; }

/* head: looks left, right, and nods */
.rb-head { animation: rbHead 5s ease-in-out infinite !important; }
@keyframes rbHead { 0%, 100% { transform: rotate(0deg); } 18% { transform: rotate(-9deg); } 38% { transform: rotate(7deg); } 55% { transform: rotate(-3deg) translateY(6px); } 70% { transform: rotate(5deg); } 85% { transform: rotate(0deg); } }

/* waving hand: swings at the shoulder */
.rb-armR { animation: rbArmR 2.2s ease-in-out infinite !important; }
@keyframes rbArmR { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-16deg); } 50% { transform: rotate(9deg); } 75% { transform: rotate(-16deg); } }

/* other arm swings a little against the walk */
.rb-armL { animation: rbArmL 2.2s ease-in-out infinite; }
@keyframes rbArmL { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(7deg); } }

/* legs: gentle alternating step */
.rb-legL { animation: rbLegL 1.7s ease-in-out infinite; }
.rb-legR { animation: rbLegR 1.7s ease-in-out infinite; }
@keyframes rbLegL { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-6deg); } }
@keyframes rbLegR { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(6deg); } }

.ai-launch--robot:hover .rb-armR { animation-duration: 0.9s !important; }
.ai-launch--robot:hover .rb-float { animation-duration: 1.2s !important; }
.ai-robot { overflow: visible; }
.ai-head__logo .ai-robot { width: 40px; height: auto; }
@media (max-width: 575px) { .ai-launch.ai-launch--robot { width: 84px; height: 103px; left: 6px; bottom: 6px; } }
@media (prefers-reduced-motion: reduce) { .rb-float, .rb-shadow, .rb-head, .rb-armR, .rb-armL, .rb-legL, .rb-legR { animation: none !important; } }

/* =====================================================
   Robot: entrance, always-on dance, and a "Hello! How can I help you?" greeting on touch / hover
===================================================== */
/* 1) appears: drops in from the left corner with a bounce, then settles */
.ai-launch.ai-launch--robot { animation: rbEnter 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both; }
@keyframes rbEnter { 0% { opacity: 0; transform: translate(-140px, 40px) scale(0.3) rotate(-25deg); } 60% { opacity: 1; transform: translate(6px, -14px) scale(1.08) rotate(6deg); } 100% { opacity: 1; transform: none; } }

/* 2) dance: body hops and sways, arms pump alternately, legs step, head bobs — never stops */
.rb-float { animation: rbDance 1.6s ease-in-out infinite !important; transform-box: view-box; transform-origin: 330px 800px; }
@keyframes rbDance {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  25% { transform: translateY(-26px) rotate(0deg); }
  50% { transform: translateY(0) rotate(3deg); }
  75% { transform: translateY(-26px) rotate(0deg); }
}
.rb-shadow { animation: rbShadow2 0.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes rbShadow2 { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.72); opacity: 0.55; } }
.rb-head { animation: rbHeadDance 1.6s ease-in-out infinite !important; }
@keyframes rbHeadDance { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
.rb-armR { animation: rbArmRD 0.8s ease-in-out infinite !important; }
@keyframes rbArmRD { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(12deg); } }
.rb-armL { animation: rbArmLD 0.8s ease-in-out infinite; }
@keyframes rbArmLD { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(-18deg); } }
.rb-legL { animation: rbLegLD 0.8s ease-in-out infinite; }
.rb-legR { animation: rbLegRD 0.8s ease-in-out infinite; }
@keyframes rbLegLD { 0%, 100% { transform: rotate(7deg); } 50% { transform: rotate(-9deg); } }
@keyframes rbLegRD { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(7deg); } }

/* 3) touched / hovered: the robot turns to wave faster and a speech bubble says hello */
.ai-launch--robot.is-hello .rb-armR { animation-duration: 0.45s !important; }
.ai-launch--robot.is-hello .rb-head { animation-duration: 0.9s !important; }
.ai-hello { position: absolute; left: 100%; bottom: 62%; width: max-content; max-width: 190px; margin-left: 4px; padding: 10px 14px; background: #fff; color: var(--brand-primary); border: 2px solid var(--brand-primary); border-radius: 16px 16px 16px 4px; box-shadow: 0 10px 24px rgba(23, 71, 158, 0.28); font: 600 0.9rem/1.3 'Hanken Grotesk', system-ui, sans-serif; text-align: left; opacity: 0; transform: translateX(-8px) scale(0.85); transform-origin: left bottom; pointer-events: none; transition: opacity 0.25s var(--tr-ease), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ai-hello b { display: block; margin-bottom: 2px; font-size: 1.05rem; font-weight: 800; color: var(--brand-secondary); }
.ai-launch--robot.is-hello .ai-hello { opacity: 1; transform: none; }
@media (max-width: 575px) { .ai-hello { max-width: 150px; font-size: 0.82rem; } }
@media (prefers-reduced-motion: reduce) { .ai-launch.ai-launch--robot { animation: none; } .rb-float, .rb-shadow, .rb-head, .rb-armR, .rb-armL, .rb-legL, .rb-legR { animation: none !important; } }

/* =====================================================
   DEPTH REVEAL — back -> front. Uses the individual `scale` / `translate` / `filter` properties so it
   never fights the cards' own hover transforms.
===================================================== */
.rv-init { opacity: 0; }
.rv-init.rv-in { animation: rvDepth 0.95s cubic-bezier(0.2, 0.75, 0.2, 1) var(--rv-delay, 0ms) both; }
@keyframes rvDepth {
  0%   { opacity: 0; scale: 0.82; translate: 0 46px; filter: blur(7px); }
  60%  { opacity: 1; filter: blur(0.6px); }
  100% { opacity: 1; scale: 1; translate: 0 0; filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) { .rv-init { opacity: 1; } .rv-init.rv-in { animation: none; } }

/* =====================================================
   Robot behaviour: appears at the Welcome section, then performs different activities with rests in between
   (wait · wave · dance · look around · jump · think · stretch). One action at a time, never the same twice in a row.
===================================================== */
.ai-launch--robot .rb-float, .ai-launch--robot .rb-head, .ai-launch--robot .rb-armR, .ai-launch--robot .rb-armL,
.ai-launch--robot .rb-legL, .ai-launch--robot .rb-legR, .ai-launch--robot .rb-shadow { animation: none !important; }

/* waiting: quiet breathing, a slow blink-like head settle */
.act-wait .rb-float { animation: rbBreath 3.2s ease-in-out infinite !important; }
@keyframes rbBreath { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.act-wait .rb-head { animation: rbWaitHead 3.2s ease-in-out infinite !important; }
@keyframes rbWaitHead { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-2.5deg); } }

/* wave: hand up and waving, head tilts */
.act-wave .rb-armR { animation: rbW 0.55s ease-in-out infinite !important; }
@keyframes rbW { 0%, 100% { transform: rotate(-26deg); } 50% { transform: rotate(10deg); } }
.act-wave .rb-head { animation: rbWH 1.4s ease-in-out infinite !important; }
@keyframes rbWH { 0%, 100% { transform: rotate(5deg); } 50% { transform: rotate(-4deg); } }
.act-wave .rb-float { animation: rbBreath 2s ease-in-out infinite !important; }

/* dance: hop, sway, arms pump, legs step */
.act-dance .rb-float { animation: rbDance 1.1s ease-in-out infinite !important; }
.act-dance .rb-head { animation: rbHeadDance 1.1s ease-in-out infinite !important; }
.act-dance .rb-armR { animation: rbArmRD 0.55s ease-in-out infinite !important; }
.act-dance .rb-armL { animation: rbArmLD 0.55s ease-in-out infinite !important; }
.act-dance .rb-legL { animation: rbLegLD 0.55s ease-in-out infinite !important; }
.act-dance .rb-legR { animation: rbLegRD 0.55s ease-in-out infinite !important; }
.act-dance .rb-shadow { animation: rbShadow2 0.55s ease-in-out infinite !important; }

/* look around: only the head turns, slowly */
.act-look .rb-head { animation: rbLook 3s ease-in-out infinite !important; }
@keyframes rbLook { 0%, 100% { transform: rotate(0deg); } 22% { transform: rotate(-13deg); } 50% { transform: rotate(0deg); } 72% { transform: rotate(13deg); } }
.act-look .rb-float { animation: rbBreath 3s ease-in-out infinite !important; }

/* jump: crouch, leap with both arms up, land */
.act-jump .rb-float { animation: rbJump2 1.05s cubic-bezier(0.3, 0.7, 0.4, 1) infinite !important; }
@keyframes rbJump2 { 0%, 100% { transform: translateY(0) scaleY(1); } 18% { transform: translateY(6px) scaleY(0.96); } 50% { transform: translateY(-46px) scaleY(1.03); } 82% { transform: translateY(0) scaleY(0.97); } }
.act-jump .rb-armR { animation: rbArmsUp 1.05s ease-in-out infinite !important; }
.act-jump .rb-armL { animation: rbArmsUpL 1.05s ease-in-out infinite !important; }
@keyframes rbArmsUp { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-24deg); } }
@keyframes rbArmsUpL { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(24deg); } }
.act-jump .rb-shadow { animation: rbShadow2 1.05s ease-in-out infinite !important; }

/* think: slow nods, one arm raised to the chin */
.act-think .rb-head { animation: rbNod 1.6s ease-in-out infinite !important; }
@keyframes rbNod { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(9px); } }
.act-think .rb-armR { animation: rbChin 3.2s ease-in-out infinite !important; }
@keyframes rbChin { 0%, 100% { transform: rotate(0deg); } 30%, 80% { transform: rotate(-30deg); } }
.act-think .rb-float { animation: rbBreath 3.2s ease-in-out infinite !important; }

/* stretch: both arms swing wide, body leans */
.act-stretch .rb-armR { animation: rbArmsUp 2.4s ease-in-out infinite !important; }
.act-stretch .rb-armL { animation: rbArmsUpL 2.4s ease-in-out infinite !important; }
.act-stretch .rb-float { animation: rbLean 2.4s ease-in-out infinite !important; }
@keyframes rbLean { 0%, 100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }

@media (prefers-reduced-motion: reduce) { .ai-launch--robot * { animation: none !important; } }

/* =====================================================
   Robot thought bubble: shows which section the visitor is looking at ("Looking at our case studies?")
===================================================== */
.ai-think { position: absolute; left: 100%; bottom: 82%; margin-left: 10px; pointer-events: none; animation: aiThinkIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.ai-think__text { display: block; width: max-content; max-width: 210px; padding: 9px 14px; background: #fff; color: #333; border: 2px solid #d9dce1; border-radius: 18px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16); font: 500 0.84rem/1.3 'Hanken Grotesk', system-ui, sans-serif; text-align: left; animation: aiThinkFloat 3.2s ease-in-out infinite; }
.ai-think__text b { color: var(--brand-primary); font-weight: 700; }
.ai-think__dot { position: absolute; display: block; background: #fff; border: 2px solid #d9dce1; border-radius: 50%; }
.ai-think__dot--1 { left: -9px; bottom: -10px; width: 11px; height: 11px; }
.ai-think__dot--2 { left: -20px; bottom: -22px; width: 7px; height: 7px; }
@keyframes aiThinkIn { from { opacity: 0; transform: translate(-10px, 8px) scale(0.7); } to { opacity: 1; transform: none; } }
@keyframes aiThinkFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (max-width: 575px) { .ai-think__text { max-width: 150px; font-size: 0.76rem; } }
@media (prefers-reduced-motion: reduce) { .ai-think, .ai-think__text { animation: none; } }
.ai-launch--robot.is-hello .ai-think { display: none; }

/* robot bubbles sit ABOVE the robot (not over the page content on its right) */
.ai-think { left: 4px !important; bottom: 100% !important; margin: 0 0 20px 0 !important; }
.ai-think__text { max-width: 250px; padding: 10px 14px; font-size: 0.9rem; border-color: var(--brand-primary); }
.ai-think__dot--1 { left: 34px !important; bottom: -12px !important; width: 12px; height: 12px; border-color: var(--brand-primary); }
.ai-think__dot--2 { left: 24px !important; bottom: -24px !important; width: 8px; height: 8px; border-color: var(--brand-primary); }
.ai-hello { left: 0 !important; bottom: 100% !important; margin: 0 0 16px 0 !important; max-width: 240px; }
@media (max-width: 575px) { .ai-think__text { max-width: 190px; font-size: 0.8rem; } .ai-hello { max-width: 180px; } }

/* close (x) on the thought bubble */
.ai-think__close { position: absolute; top: -10px; right: -10px; width: 24px; height: 24px; display: grid; place-items: center; background: var(--brand-secondary); color: #fff; border: 2px solid #fff; border-radius: 50%; font: 700 15px/1 Arial, sans-serif; cursor: pointer; pointer-events: auto; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3); transition: transform 0.2s var(--tr-ease), background 0.2s; z-index: 2; }
.ai-think__close:hover, .ai-think__close:focus-visible { background: var(--brand-primary); transform: scale(1.12); }

/* =====================================================
   Back-to-top logo "O": the red shape below and the ring above are apart; on hover they connect, click -> top
===================================================== */
.circular-scroll-progress .logo-o { overflow: visible; }
.circular-scroll-progress .logo-ring, .circular-scroll-progress .logo-arrow { transform-box: view-box; transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.circular-scroll-progress .logo-arrow { transform: translateY(26px); }          /* resting: separated below the ring */
.circular-scroll-progress .logo-ring { transform: translateY(-4px); }
.circular-scroll-progress:hover .logo-arrow, .circular-scroll-progress:focus-visible .logo-arrow { transform: translateY(0); }   /* connects into the ring */
.circular-scroll-progress:hover .logo-ring, .circular-scroll-progress:focus-visible .logo-ring { transform: translateY(0); }
.circular-scroll-progress:hover .logo-o { transform: translateY(-4px); }
/* clicked: the whole mark shoots upward */
.circular-scroll-progress:active .logo-o { transform: translateY(-14px) scale(0.96); }
@media (prefers-reduced-motion: reduce) { .circular-scroll-progress .logo-ring, .circular-scroll-progress .logo-arrow { transition: none; } }

/* back-to-top logo: rests as the normal joined logo "O"; on hover the ring lifts up and the arrow drops down, then they snap back together (loops) */
.circular-scroll-progress .logo-arrow, .circular-scroll-progress .logo-ring { transform: none; transition: none; }
.circular-scroll-progress:hover .logo-o, .circular-scroll-progress:focus-visible .logo-o { transform: none; }
.circular-scroll-progress:hover .logo-ring, .circular-scroll-progress:focus-visible .logo-ring { animation: logoRingUp 1.1s cubic-bezier(0.3, 0.7, 0.3, 1) infinite; }
.circular-scroll-progress:hover .logo-arrow, .circular-scroll-progress:focus-visible .logo-arrow { animation: logoArrowDown 1.1s cubic-bezier(0.3, 0.7, 0.3, 1) infinite; }
@keyframes logoRingUp { 0%, 100% { transform: translateY(0); } 38% { transform: translateY(-12px); } 62% { transform: translateY(1.5px); } 80% { transform: translateY(0); } }
@keyframes logoArrowDown { 0%, 100% { transform: translateY(0); } 38% { transform: translateY(18px); } 62% { transform: translateY(-1.5px); } 80% { transform: translateY(0); } }
.circular-scroll-progress:active .logo-o { transform: translateY(-14px) scale(0.96); }
@media (prefers-reduced-motion: reduce) { .circular-scroll-progress:hover .logo-ring, .circular-scroll-progress:hover .logo-arrow { animation: none; } }

/* =====================================================================
   INDUSTRY PAGE REFRESH  (body.pg-industry — /industries/energy-utilities)
   same look as the home page: one header style, square buttons, flat cards, no dotted-wave decoration
===================================================================== */
.pg-industry .background-image-container { display: none !important; }

/* ---- one section-header style ---- */
.pg-industry .title-area { text-align: center; margin-bottom: 44px !important; }
.pg-industry .title-area .sub-title, .pg-industry .section-subtitle, .pg-industry .featured-tag {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
  font: 700 0.82rem/1 'Hanken Grotesk', system-ui, sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-secondary);
}
.pg-industry .title-area .sub-title::before, .pg-industry .title-area .sub-title::after,
.pg-industry .section-subtitle::before, .pg-industry .section-subtitle::after { content: ''; width: 36px; height: 3px; background: var(--brand-secondary); }
.pg-industry .sec-title, .pg-industry .title-area h2, .pg-industry .light-cta-section h2 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif !important; font-size: var(--sec-title-size) !important; font-weight: 700 !important;
  line-height: 1.12 !important; letter-spacing: -0.02em !important; color: var(--brand-primary) !important; margin: 0 0 16px !important;
}
.pg-industry .title-decoration { display: none !important; }

/* ---- hero ---- */
.pg-industry #hero.hero-3 { width: 100%; overflow: hidden; }
.pg-industry .hero-title { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
.pg-industry .th-hero-bg::after, .pg-industry .hero-inner::before { background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0) 85%) !important; }
.pg-industry .hero-style3 .th-btn, .pg-industry .hero-style3 .btn-group a { border-radius: 2px !important; background: var(--brand-secondary) !important; color: #fff !important; font-weight: 700; border: 0 !important; box-shadow: none !important; }
.pg-industry .hero-style3 .th-btn:hover { background: #fff !important; color: var(--brand-primary) !important; }
.pg-industry .hero-featured { border-radius: 0 !important; border-top: 4px solid var(--brand-secondary); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.14); background: #fff !important; }
.pg-industry .hero-featured-icon { border-radius: 0 !important; background: var(--brand-primary) !important; }
.pg-industry .hero-featured-title { color: var(--brand-primary); font-weight: 800; }
.pg-industry .hero3-card, .pg-industry .hero3-card .hero-img, .pg-industry .hero3-card img { border-radius: 0 !important; }
.pg-industry .hero3-swiper-custom { border-radius: 0 !important; background: var(--brand-primary) !important; }

/* ---- about ---- */
.pg-industry .geometric-approach { background: #fff !important; padding: 80px 0 !important; }
.pg-industry .geometric-approach::before, .pg-industry .geometric-approach::after { display: none !important; }
.pg-industry .img-box3 .img1, .pg-industry .img-box3 img { border-radius: 0 !important; box-shadow: 18px 18px 0 var(--brand-primary); }
.pg-industry .geometric-approach .container { border-radius: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; }
.pg-industry .about-us .sub-title { color: var(--brand-secondary); }

/* ---- pass 2 ---- */
.pg-industry .geometric-approach { border-radius: 0 !important; border: 0 !important; box-shadow: none !important; }
.pg-industry .geometric-approach .title-area, .pg-industry .about-us { text-align: left !important; }
.pg-industry .about-us .sub-title::after { display: none; }
.pg-industry .hero3-card, .pg-industry .hero3-card *, .pg-industry .hero3Thumbs .swiper-slide, .pg-industry .hero3Thumbs .hero-img, .pg-industry .hero3Thumbs img { border-radius: 0 !important; }
.pg-industry .geometric-approach .featured-tag, .pg-industry .geometric-approach [class*="focus"] { border-radius: 2px !important; }
.pg-industry .geometric-approach .featured-tag { background: var(--brand-primary) !important; color: #fff !important; padding: 8px 16px !important; letter-spacing: 0.14em; }
.pg-industry .geometric-approach .featured-tag::before, .pg-industry .geometric-approach .featured-tag::after { display: none; }
.pg-industry .geometric-approach li, .pg-industry .geometric-approach .focus-item, .pg-industry .geometric-approach ul > div { border-radius: 0 !important; background: var(--tr-surface) !important; border-left: 4px solid var(--brand-secondary) !important; box-shadow: none !important; }

/* core solution tabs (wwd-*) */
.pg-industry .wwd-compact-section { background: var(--tr-surface) !important; padding: 80px 0 !important; }
.pg-industry .wwd-ctab, .pg-industry [class*="wwd-ctab"], .pg-industry .wwd-tab-btn { border-radius: 2px !important; font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 600; box-shadow: none !important; }
.pg-industry .wwd-ctab-active { background: var(--brand-primary) !important; color: #fff !important; }
.pg-industry .wwd-compact-section img, .pg-industry .wwd-compact-section [class*="card"], .pg-industry .wwd-compact-section [class*="panel"] { border-radius: 0 !important; }
.pg-industry .wwd-ctitle { color: var(--brand-primary); font-weight: 700; }

/* structure types */
.pg-industry .structure-types-section { background: #fff !important; padding: 90px 0 !important; }
.pg-industry .structure-card { border-radius: 0 !important; border: 1px solid #d9dce1 !important; border-top: 4px solid var(--brand-secondary) !important; box-shadow: none !important; background: #fff !important; transition: transform 0.3s var(--tr-ease), box-shadow 0.3s var(--tr-ease); }
.pg-industry .structure-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12) !important; }
.pg-industry .structure-icon, .pg-industry .icon-wrapper { border-radius: 0 !important; background: var(--brand-primary) !important; color: #fff !important; }

/* how to start: fix the step badge overlapping the title, square cards */
.pg-industry .how-to-start-section { background: var(--tr-surface) !important; padding: 90px 0 !important; }
.pg-industry .journey-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.pg-industry .step-connector, .pg-industry .connector-line { display: none !important; }
.pg-industry .step-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 54px 26px 28px !important; background: #fff !important; border-radius: 0 !important; border-top: 4px solid var(--brand-secondary); box-shadow: 0 8px 26px rgba(0, 0, 0, 0.07) !important; margin: 0 !important; width: auto !important; }
.pg-industry .step-number { position: absolute !important; top: -4px; left: 26px; width: 44px !important; height: 52px !important; display: grid; place-items: center; border-radius: 0 !important; background: var(--brand-secondary) !important; color: #fff !important; font-weight: 800; font-size: 1.2rem; transform: none !important; }
.pg-industry .step-icon-large { color: var(--brand-primary) !important; margin-bottom: 14px; }
.pg-industry .step-title { color: var(--brand-primary) !important; font-weight: 700; margin: 0 0 8px !important; }
.pg-industry .step-description { color: var(--tr-body); }
@media (max-width: 991px) { .pg-industry .journey-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .pg-industry .journey-steps { grid-template-columns: 1fr; } }

/* ---- pass 3 ---- */
.pg-industry .structure-types-section .row.justify-content-center, .pg-industry .structure-types-section .row { justify-content: center; }
.pg-industry .step-description, .pg-industry .step-title { text-align: left !important; width: 100%; }

/* "Build Reliable ... with Confidence" CTA band */
.pg-industry .zi-industries-showcase { background: #fff !important; padding: 56px 0 !important; }
.pg-industry .zi-bg-grid, .pg-industry .zi-bg-orb, .pg-industry .zi-particle { display: none !important; }
.pg-industry .zi-cta-banner { border-radius: 0 !important; background: var(--brand-primary) !important; box-shadow: none !important; border-left: 8px solid var(--brand-secondary); }
.pg-industry .zi-cta-banner::before, .pg-industry .zi-cta-banner::after { display: none !important; }
.pg-industry .zi-cta-banner h2, .pg-industry .zi-cta-banner h3 { color: #fff !important; font-family: 'Hanken Grotesk', system-ui, sans-serif !important; font-weight: 700 !important; }
.pg-industry .zi-cta-button { border-radius: 2px !important; background: var(--brand-secondary) !important; color: #fff !important; font-weight: 700; border: 0 !important; box-shadow: none !important; }
.pg-industry .zi-cta-button:hover { background: #fff !important; color: var(--brand-primary) !important; }

/* tools & platforms: centred header, tidy tiles */
.pg-industry .tools-slider-root .section-container, .pg-industry .tools-slider-root .section-wrapper { background: #fff; }
.pg-industry .tools-slider-root .title { text-align: center; }
.pg-industry .tools-slider-root .title h2, .pg-industry .tools-slider-root .title h3 { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 700; color: var(--brand-primary); }
.pg-industry .tools-slider-root .item { border-radius: 0 !important; }
.pg-industry .tools-slider-root .row.collapse-1050 { display: block; }
.pg-industry .tools-slider-root .cell { width: 100% !important; max-width: none !important; flex: none !important; }

/* case studies */
.pg-industry .ltts-success-stories { background: var(--tr-surface) !important; padding: 90px 0 !important; }
.pg-industry .ltts-success-stories .section-header { text-align: center; margin-bottom: 40px; }
.pg-industry .ltts-success-stories .section-title { font-family: 'Hanken Grotesk', system-ui, sans-serif !important; font-size: var(--sec-title-size) !important; font-weight: 700 !important; color: var(--brand-primary) !important; }
.pg-industry .story-image, .pg-industry .story-content, .pg-industry .image-wrapper, .pg-industry .stories-slider-wrapper > *, .pg-industry .story-card, .pg-industry [class*="story-"] { border-radius: 0 !important; }
.pg-industry .image-tag { border-radius: 2px !important; background: var(--brand-secondary) !important; color: #fff !important; }
.pg-industry .story-number { color: var(--brand-secondary) !important; font-weight: 800; }
.pg-industry .story-title { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 700; color: var(--brand-primary) !important; }
.pg-industry .know-more-link { color: var(--brand-primary); font-weight: 700; }
.pg-industry .slider-nav { border-radius: 0 !important; background: #fff !important; border: 1px solid #cfd3d9 !important; color: var(--brand-primary) !important; }
.pg-industry .slider-nav:hover { background: var(--brand-primary) !important; color: #fff !important; }

/* "Let's talk" contact band */
.pg-industry .light-cta-section { background: #fff !important; padding: 90px 0 !important; border-top: 1px solid #e3e6eb; }
.pg-industry .light-cta-section h2 { max-width: 640px; }
.pg-industry .light-cta-btn { border-radius: 2px !important; background: var(--brand-primary) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; font-weight: 700; }
.pg-industry .light-cta-btn:hover { background: var(--brand-secondary) !important; }
.pg-industry .light-cta-btn.outline-light { background: #fff !important; color: var(--brand-primary) !important; border: 2px solid var(--brand-primary) !important; }
.pg-industry .light-cta-btn.outline-light:hover { background: var(--brand-primary) !important; color: #fff !important; }
.pg-industry .light-profile-card { border-radius: 0 !important; border-top: 5px solid var(--brand-secondary); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12) !important; background: #fff !important; }
.pg-industry .light-profile-image, .pg-industry .light-profile-image img { border-radius: 0 !important; }

/* tools & platforms: header on top, centred; tool tiles below */
.pg-industry .tools-slider-root .cell { float: none !important; display: block !important; position: static !important; }
.pg-industry .tools-slider-root .cell.span-8 .inner { text-align: center; margin-bottom: 28px; }
.pg-industry .tools-slider-root .decoration-line, .pg-industry .tools-slider-root .decoration-diamond { display: none !important; }
.pg-industry .tools-slider-root .title, .pg-industry .tools-slider-root .title * { position: static !important; transform: none !important; }
.pg-industry .tools-slider-root .title > *:not(h2):not(h3):not(:first-child) { display: block; margin-top: 10px; font: 700 0.82rem/1.5 'Hanken Grotesk', system-ui, sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-secondary) !important; }
.pg-industry .tools-slider-root { padding: 70px 0; background: #fff; }
.pg-industry .image-tag, .pg-industry .image-tags span { border-radius: 2px !important; }
.pg-industry .tools-slider-root .title, .pg-industry .tools-slider-root .title * { font-family: 'Hanken Grotesk', system-ui, sans-serif !important; }
.pg-industry .tools-slider-root .title { font-size: var(--sec-title-size) !important; font-weight: 700 !important; line-height: 1.12; letter-spacing: -0.02em; }
.pg-industry .accelerators-scroll-root h2, .pg-industry .accelerators-scroll-root [class*="title"] { font-family: 'Hanken Grotesk', system-ui, sans-serif !important; font-weight: 700 !important; }

/* =====================================================
   INDUSTRY HERO (components/industry/HeroSection.jsx) — blue message panel + diagonal photo + figures strip
===================================================== */
.ih { position: relative; background: var(--brand-primary); }
.ih-stage { position: relative; display: grid; grid-template-columns: minmax(420px, 46%) 1fr; min-height: min(calc(100vh - 84px - 118px), 640px); overflow: hidden; }

.ih-panel { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 70px 70px 70px max(32px, calc((100vw - 1200px) / 2 + 20px)); background: var(--brand-primary); }
.ih-panel::after { content: ''; position: absolute; top: 0; right: -90px; bottom: 0; width: 180px; background: var(--brand-primary); transform: skewX(-9deg); transform-origin: top; z-index: -1; }
.ih-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font: 700 0.82rem/1 'Hanken Grotesk', system-ui, sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.ih-eyebrow::before { content: ''; width: 36px; height: 3px; background: var(--brand-secondary); }
.ih-title { margin: 0 0 22px; max-width: 560px; color: #fff; font-family: 'Hanken Grotesk', system-ui, sans-serif; font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; animation: ihIn 0.7s var(--tr-ease) both; }
.ih-text { margin: 0 0 28px; max-width: 480px; color: rgba(255, 255, 255, 0.88); font-size: 1.1rem; line-height: 1.7; animation: ihIn 0.7s var(--tr-ease) 0.1s both; }
.ih-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 30px; background: var(--brand-secondary); color: #fff !important; font: 700 1rem 'Hanken Grotesk', system-ui, sans-serif; text-decoration: none; border-radius: 2px; animation: ihIn 0.7s var(--tr-ease) 0.2s both; transition: background 0.25s var(--tr-ease), color 0.25s var(--tr-ease), gap 0.25s var(--tr-ease); }
.ih-btn:hover { background: #fff; color: var(--brand-primary) !important; gap: 18px; }
@keyframes ihIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.ih-controls { display: flex; align-items: center; gap: 14px; margin-top: 44px; }
.ih-count { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.08em; }
.ih-count b { color: #fff; font-size: 1.4rem; font-weight: 800; }
.ih-progress { position: relative; width: 120px; height: 3px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.ih-progress i { position: absolute; inset: 0; background: var(--brand-secondary); transform: scaleX(0); transform-origin: left; animation: ihFill linear forwards; }
@keyframes ihFill { to { transform: scaleX(1); } }
.ih-controls button { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.55); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.ih-controls button:hover { background: var(--brand-secondary); border-color: var(--brand-secondary); }

.ih-photo { position: relative; margin-left: -90px; clip-path: polygon(90px 0, 100% 0, 100% 100%, 0 100%); }
.ih-photo__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.04); transition: opacity 1s ease, transform 6s ease-out; }
.ih-photo__img.is-active { opacity: 1; transform: scale(1); }

.ih-stats { position: relative; z-index: 3; background: #fff; border-top: 5px solid var(--brand-secondary); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12); }
.ih-stats__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.ih-stat { display: flex; align-items: center; gap: 18px; padding: 28px 24px; border-right: 1px solid #e3e6eb; }
.ih-stat:first-child { padding-left: 0; }
.ih-stat:last-child { border-right: 0; }
.ih-stat__icon { flex: 0 0 56px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--brand-primary); color: #fff; font-size: 1.3rem; }
.ih-stat h3 { margin: 0; font-family: 'Hanken Grotesk', system-ui, sans-serif; font-size: 1.7rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--brand-primary); }
.ih-stat p { margin: 4px 0 0; font-size: 0.9rem; font-weight: 600; color: #444; letter-spacing: 0.02em; }

@media (max-width: 991px) {
  .ih-stage { grid-template-columns: 1fr; min-height: 0; }
  .ih-photo { order: -1; margin-left: 0; height: 260px; clip-path: none; }
  .ih-panel { padding: 36px 24px 40px; }
  .ih-panel::after { display: none; }
  .ih-stats__row { grid-template-columns: 1fr; }
  .ih-stat, .ih-stat:first-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid #e3e6eb; }
}
@media (prefers-reduced-motion: reduce) { .ih-title, .ih-text, .ih-btn { animation: none; } .ih-photo__img { transition: opacity 0.2s; transform: none !important; } }


/* =====================================================
   Hero animated background: drifting dot grid + dotted lines that flow like current, with pulsing nodes
===================================================== */
.ih-panel { overflow: hidden; }
.ih-panel > :not(.ih-flow) { position: relative; z-index: 1; }
.ih-panel::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.4px, transparent 1.7px); background-size: 30px 30px;
  animation: ihGridDrift 14s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%); }
@keyframes ihGridDrift { from { background-position: 0 0; } to { background-position: 30px 30px; } }

.ih-flow { position: absolute; top: 0; left: 0; width: calc(100% + 60px); height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 60%, rgba(0, 0, 0, 0.1) 100%); mask-image: linear-gradient(90deg, #000 0%, #000 60%, rgba(0, 0, 0, 0.1) 100%); }
.ih-flow .fl { stroke: rgba(255, 255, 255, 0.55); stroke-width: 2.4; stroke-dasharray: 1 13; }
.ih-flow .fl--a { animation: ihFlow 2.6s linear infinite; }
.ih-flow .fl--b { animation: ihFlowRev 3.4s linear infinite; stroke: rgba(255, 255, 255, 0.4); }
.ih-flow .fl--c { animation: ihFlow 4.2s linear infinite; }
.ih-flow .fl--d { animation: ihFlowRev 2.9s linear infinite; stroke: rgba(255, 255, 255, 0.45); }
@keyframes ihFlow { to { stroke-dashoffset: -140; } }
@keyframes ihFlowRev { to { stroke-dashoffset: 140; } }
.ih-flow__nodes circle { fill: #fff; opacity: 0.55; transform-box: fill-box; transform-origin: center; animation: ihNode 2.8s ease-in-out infinite; }
@keyframes ihNode { 0%, 100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 0.95; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .ih-panel::before, .ih-flow .fl, .ih-flow__nodes circle { animation: none; } }
@media (max-width: 991px) { .ih-flow { opacity: 0.7; } }
.ih-flow__nodes circle { opacity: 0.4; }
@keyframes ihNode { 0%, 100% { opacity: 0.2; transform: scale(0.8); } 50% { opacity: 0.7; transform: scale(1.4); } }

/* softer background: lower opacity so the headline stays the focus */
.ih-flow .fl, .ih-flow .fl--a, .ih-flow .fl--b, .ih-flow .fl--c, .ih-flow .fl--d { stroke: rgba(255, 255, 255, 0.2); stroke-width: 2; }
.ih-flow__nodes circle { opacity: 0.18; }
@keyframes ihNode { 0%, 100% { opacity: 0.08; transform: scale(0.8); } 50% { opacity: 0.3; transform: scale(1.3); } }
.ih-panel::before { background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.3px, transparent 1.6px); }

/* =====================================================
   INNER PAGES: transparent header floating over a compact title band (breadcrumb + page title + flowing dotted lines)
===================================================== */
.ib { position: relative; overflow: hidden; background: var(--brand-primary); margin-top: 0; padding: 84px 0 0; min-height: 290px; display: flex; align-items: flex-end; }
.ib::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.3px, transparent 1.6px); background-size: 30px 30px; animation: ihGridDrift 14s linear infinite; }
.ib::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--brand-secondary); }
.ib-flow { width: 100%; z-index: 0; -webkit-mask-image: none; mask-image: none; }
.ib-flow .fl { stroke: rgba(255, 255, 255, 0.22); }
.ib-inner { position: relative; z-index: 1; padding-top: 34px; padding-bottom: 46px; }
.ib-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; font: 500 0.9rem/1.2 'Hanken Grotesk', system-ui, sans-serif; color: rgba(255, 255, 255, 0.78); }
.ib-crumbs span { display: inline-flex; align-items: center; gap: 10px; }
.ib-crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; transition: color 0.2s; }
.ib-crumbs a:hover { color: #fff; text-decoration: underline; }
.ib-crumbs i { font-size: 0.62rem; opacity: 0.6; }
.ib-crumbs b { color: #fff; font-weight: 700; }
.ib-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px; font: 700 0.82rem/1 'Hanken Grotesk', system-ui, sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.ib-eyebrow::before { content: ''; width: 36px; height: 3px; background: var(--brand-secondary); }
.ib-title { margin: 0; max-width: 900px; font-family: 'Hanken Grotesk', system-ui, sans-serif; font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: #fff; animation: ihIn 0.6s var(--tr-ease) both; }

/* header: transparent over the band, solid blue once scrolled */
body.pg-inner #header { position: absolute !important; top: 0; left: 0; right: 0; background: transparent !important; box-shadow: none !important; border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important; z-index: 1000; }
body.pg-inner.inner-scrolled #header { position: fixed !important; background: var(--brand-primary) !important; border-bottom: 0 !important; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important; animation: slideDown 0.35s ease; }
@media (max-width: 991px) { .ib { min-height: 220px; } .ib-inner { padding-bottom: 34px; } }
@media (prefers-reduced-motion: reduce) { .ib::before { animation: none; } }

/* the hello bubble can be clicked (so its close button works) and keeps a bridge to the robot so the pointer can reach it */
.ai-hello { pointer-events: none; }
.ai-launch--robot.is-hello .ai-hello { pointer-events: auto; }
.ai-hello::after { content: ''; position: absolute; left: 0; right: 0; bottom: -22px; height: 22px; }   /* invisible bridge: bubble <-> robot */
.ai-hello .ai-think__close { top: -10px; right: -10px; }

/* ===== Industry hero — "cover" layout: full-width photo, headline overlaid, stats as floating cards ===== */
.ih--cover { background: #0b2a5e; }
.ih--cover .ih-stage { display: block; min-height: min(calc(100vh - 84px), 680px); }
.ih--cover .ih-photo { position: absolute; inset: 0; margin: 0; clip-path: none; }
.ih--cover .ih-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 36, 84, 0.92) 0%, rgba(10, 36, 84, 0.72) 42%, rgba(10, 36, 84, 0.15) 100%); }
.ih--cover .ih-panel { position: relative; z-index: 2; min-height: inherit; max-width: 1280px; margin: 0 auto; padding: 90px 32px 150px; background: transparent; align-items: flex-start; }
.ih--cover .ih-panel::after, .ih--cover .ih-panel::before, .ih--cover .ih-flow { display: none; }
.ih--cover .ih-title { max-width: 680px; font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.ih--cover .ih-text { max-width: 560px; }
.ih--cover .ih-controls { position: absolute; right: 32px; bottom: 150px; margin: 0; }
.ih--cover .ih-stats { position: absolute; left: 0; right: 0; bottom: 0; background: transparent; border: 0; box-shadow: none; }
.ih--cover .ih-stats__row { gap: 18px; }
.ih--cover .ih-stat, .ih--cover .ih-stat:first-child { padding: 20px 22px; background: rgba(255, 255, 255, 0.96); border: 0; border-top: 4px solid var(--brand-secondary); border-radius: 4px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
@media (max-width: 991px) {
  .ih--cover .ih-stage { min-height: 0; }
  .ih--cover .ih-panel { padding: 56px 24px 40px; }
  .ih--cover .ih-photo::after { background: rgba(10, 36, 84, 0.8); }
  .ih--cover .ih-controls { position: static; margin-top: 28px; }
  .ih--cover .ih-stats { position: relative; padding: 0 16px 20px; background: #0b2a5e; }
}

/* ===== Industry hero — "stacked" layout: headline + CTA on a blue band, wide photo strip below with stat cards overlapping ===== */
.ih--stacked .ih-stage { display: block; min-height: 0; overflow: visible; }
.ih--stacked .ih-panel { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "eyebrow eyebrow" "title text" "title btn" "ctrl ctrl"; column-gap: 64px; align-items: start; padding: 64px max(32px, calc((100vw - 1200px) / 2 + 20px)) 140px; }
.ih--stacked .ih-panel::after { display: none; }
.ih--stacked .ih-eyebrow { grid-area: eyebrow; }
.ih--stacked .ih-title { grid-area: title; max-width: none; margin: 0; font-size: clamp(2rem, 3.4vw, 3.2rem); }
.ih--stacked .ih-text { grid-area: text; max-width: none; margin: 0 0 24px; align-self: end; }
.ih--stacked .ih-btn { grid-area: btn; justify-self: start; }
.ih--stacked .ih-controls { grid-area: ctrl; margin-top: 32px; }
.ih--stacked .ih-photo { height: 360px; margin: -90px max(32px, calc((100vw - 1200px) / 2 + 20px)) 0; clip-path: none; border-radius: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); z-index: 2; }
.ih--stacked .ih-stats { margin-top: -62px; background: transparent; border: 0; box-shadow: none; padding-bottom: 36px; }
.ih--stacked .ih-stats__row { gap: 18px; }
.ih--stacked .ih-stat, .ih--stacked .ih-stat:first-child { padding: 20px 22px; background: #fff; border: 0; border-top: 4px solid var(--brand-secondary); border-radius: 4px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }
.ih--stacked { background: linear-gradient(var(--brand-primary) 0, var(--brand-primary) 62%, #fff 62%); }
@media (max-width: 991px) {
  .ih--stacked .ih-panel { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "text" "btn" "ctrl"; row-gap: 16px; padding: 44px 24px 110px; }
  .ih--stacked .ih-photo { height: 240px; margin: -70px 16px 0; }
  .ih--stacked .ih-stats { padding: 0 16px 24px; }
  .ih--stacked .ih-stats__row { grid-template-columns: 1fr; }
}

/* ===== Inner title band — centered layout (energy-utilities) ===== */
.ib--center { text-align: center; min-height: 250px; }
.ib--center .ib-inner { display: flex; flex-direction: column; align-items: center; }
.ib--center .ib-crumbs { order: 2; justify-content: center; margin: 16px 0 0; padding: 8px 18px; background: rgba(255, 255, 255, 0.12); border-radius: 999px; }
.ib--center .ib-eyebrow { order: 0; }
.ib--center .ib-eyebrow::after { content: ''; width: 36px; height: 3px; background: var(--brand-secondary); }
.ib--center .ib-title { order: 1; max-width: 900px; }

/* ===== Industry hero — "gallery" layout: big photo, headline bottom-left, clickable slide thumbnails on the right ===== */
.ih--gallery .ih-stage { display: grid; grid-template-columns: 1fr 300px; min-height: min(calc(100vh - 84px - 118px), 620px); }
.ih--gallery .ih-photo { grid-column: 1; grid-row: 1; margin: 0; clip-path: none; }
.ih--gallery .ih-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 36, 84, 0.95) 0%, rgba(10, 36, 84, 0.45) 45%, rgba(10, 36, 84, 0) 75%); }
.ih--gallery .ih-panel { grid-column: 1; grid-row: 1; background: transparent; justify-content: flex-end; padding: 60px 48px 48px max(32px, calc((100vw - 1200px) / 2 + 20px)); }
.ih--gallery .ih-panel::after, .ih--gallery .ih-panel::before, .ih--gallery .ih-flow { display: none; }
.ih--gallery .ih-title { max-width: 720px; }
.ih--gallery .ih-controls { margin-top: 28px; }
.ih--gallery .ih-thumbs { grid-column: 2; grid-row: 1; z-index: 3; display: flex; flex-direction: column; background: #0b2a5e; }
.ih--gallery .ih-thumb { flex: 1; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); border-left: 4px solid transparent; color: rgba(255, 255, 255, 0.75); text-align: left; cursor: pointer; transition: background 0.2s, color 0.2s; }
.ih--gallery .ih-thumb:hover, .ih--gallery .ih-thumb.is-active { background: rgba(255, 255, 255, 0.08); color: #fff; }
.ih--gallery .ih-thumb.is-active { border-left-color: var(--brand-secondary); }
.ih--gallery .ih-thumb__img { flex: 0 0 64px; height: 48px; background-size: cover; background-position: center; border-radius: 3px; }
.ih--gallery .ih-thumb__txt { font: 600 0.82rem/1.3 'Hanken Grotesk', system-ui, sans-serif; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ih--gallery .ih-thumb__txt b { display: block; color: var(--brand-secondary); font-size: 0.75rem; letter-spacing: 0.1em; }
@media (max-width: 991px) {
  .ih--gallery .ih-stage { grid-template-columns: 1fr; min-height: 0; }
  .ih--gallery .ih-photo { min-height: 420px; }
  .ih--gallery .ih-panel { padding: 40px 24px; min-height: 420px; }
  .ih--gallery .ih-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; }
  .ih--gallery .ih-thumb { flex: 0 0 220px; border-left: 0; }
}

/* ===== Equal-height inner hero banners (all industry pages) ===== */
:root { --inner-hero-h: 600px; }
@media (min-width: 992px) {
  .ih .ih-stage, .eh.eh { height: var(--inner-hero-h); min-height: var(--inner-hero-h); max-height: var(--inner-hero-h); }
  .ih .ih-panel { overflow: hidden; }
}
@media (min-width: 992px) {
  .ih .ih-panel { padding-top: 40px; padding-bottom: 40px; }
  .ih .ih-controls { margin-top: 26px; }
}


/* =====================================================================
   HEADER MENU — "aurora" restyle (desktop). Loaded last; overrides the
   flat blue bar + square panels above. Revert: delete from this marker
   to end of file, or restore theme-refresh.pre-aurora.bak.css.
===================================================================== */
@media (min-width: 992px) {
  /* ---- bar ---- */
  #header, header#header {
    background:
      radial-gradient(600px 160px at 85% -40%, rgba(70, 140, 255, 0.55), transparent 70%),
      radial-gradient(500px 140px at 10% 140%, rgba(225, 27, 34, 0.22), transparent 70%),
      linear-gradient(100deg, #0b2a6b 0%, #17479e 55%, #1c58c4 100%) !important;
    box-shadow: 0 10px 30px rgba(11, 42, 107, 0.35) !important;
    position: relative;
  }
  #header::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #e11b22, #ff7a45 25%, #4aa8ff 60%, #7be0ff 85%, #e11b22);
    background-size: 200% 100%;
    animation: mmAurora 8s linear infinite;
    opacity: 0.95;
    pointer-events: none;
  }
  @keyframes mmAurora { to { background-position: 200% 0; } }

  /* ---- top-level pills ---- */
  #header .nav-links { gap: 4px; }
  #header .nav-links > li:not(.nav-cta):not(.nav-utilities) > .nav-link {
    align-self: center;
    height: 42px;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    transition: background 0.25s var(--tr-ease), color 0.25s var(--tr-ease), transform 0.25s var(--tr-ease), box-shadow 0.25s var(--tr-ease);
  }
  #header .nav-links > li:not(.nav-cta) > .nav-link:hover,
  #header .nav-links > li.has-megamenu:hover > .nav-link {
    background: #fff !important;
    color: #0b2a6b !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(5, 20, 60, 0.3);
  }
  #header .nav-links > li > .nav-link:hover .dropdown-icon,
  #header .nav-links > li.has-megamenu:hover > .nav-link .dropdown-icon { color: #e11b22; transform: rotate(180deg); }
  #header .nav-links > li > .nav-link .dropdown-icon { transition: transform 0.25s var(--tr-ease), color 0.25s; margin-left: 8px; }

  /* current section: glass chip with a glowing dot */
  #header .nav-links > li > .nav-link.is-current,
  #header .nav-links > li > .nav-link.is-current:hover {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  }
  #header .nav-links > li > .nav-link.is-current:not(:hover)::before {
    content: '';
    position: absolute;
    left: 50%; bottom: 3px;
    width: 5px; height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: #ff5a5f;
    box-shadow: 0 0 8px 2px rgba(255, 90, 95, 0.8);
  }

  /* ---- Contact: gradient pill with glow ---- */
  #header .nav-links > li.nav-cta { display: flex !important; border-left: 0; margin-left: 10px; padding-left: 0; align-items: center; }
  #header .nav-cta a {
    background: linear-gradient(135deg, #ff3b41 0%, #e11b22 55%, #b8121a 100%) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 11px 14px 11px 22px !important;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(225, 27, 34, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.25s var(--tr-ease), box-shadow 0.25s var(--tr-ease);
  }
  #header .nav-cta a i {
    display: inline-grid; place-items: center;
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    transition: transform 0.25s var(--tr-ease), background 0.25s;
  }
  #header .nav-cta a:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(225, 27, 34, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4); background: linear-gradient(135deg, #ff5258, #e11b22 60%, #c4151d) !important; color: #fff !important; }
  #header .nav-cta a:hover i { transform: translateX(3px); background: rgba(255, 255, 255, 0.35); }

  /* ---- floating panel ---- */
  #header .mega-menu {
    margin-top: 12px;
    border: 0 !important;
    border-radius: 22px !important;
    overflow: visible;
    background: #fff !important;
    box-shadow: 0 40px 90px rgba(8, 25, 70, 0.38), 0 0 0 1px rgba(23, 71, 158, 0.08) !important;
  }
  /* invisible bridge so hover survives the gap */
  #header .mega-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  /* little pointer notch */
  #header .mega-menu::after {
    content: ''; position: absolute; top: -7px; left: 52px;
    width: 14px; height: 14px; background: #0b2a6b; transform: rotate(45deg); border-radius: 3px 0 0 0;
  }
  .mm-panel { border-radius: 22px; overflow: hidden; animation: mmPop 0.35s var(--tr-ease) both; min-height: 360px; }
  @keyframes mmPop { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }

  /* ---- intro column ---- */
  .mm-intro {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(260px 220px at 100% 0%, rgba(80, 160, 255, 0.55), transparent 70%),
      radial-gradient(220px 200px at 0% 100%, rgba(225, 27, 34, 0.4), transparent 70%),
      linear-gradient(165deg, #0b2a6b 0%, #17479e 70%, #2263d1 100%);
    padding: 40px 32px;
  }
  .mm-intro::after {
    content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.04), 0 0 0 56px rgba(255, 255, 255, 0.03);
    pointer-events: none;
  }
  .mm-intro > * { position: relative; z-index: 1; }
  .mm-eyebrow {
    display: inline-block; padding: 5px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.68rem !important;
  }
  .mm-intro h3 { font-size: 2.3rem !important; font-weight: 800 !important; letter-spacing: -0.02em; margin: 16px 0 12px !important; }
  #header .mega-menu .mm-cta {
    border-radius: 999px; padding: 12px 20px 12px 22px;
    background: linear-gradient(135deg, #ff3b41, #e11b22);
    box-shadow: 0 10px 24px rgba(225, 27, 34, 0.45);
    transition: transform 0.25s var(--tr-ease), box-shadow 0.25s var(--tr-ease);
  }
  #header .mega-menu .mm-cta:hover { background: #fff; color: #0b2a6b !important; transform: translateY(-2px); }

  /* ---- body ---- */
  .mm-body { background: linear-gradient(180deg, #ffffff 0%, #f5f8fe 100%); }

  /* tiles (Industries) */
  .mm-tiles .mm-body { gap: 14px; }
  .mm-tile {
    border-radius: 16px; overflow: hidden; background-size: 100% !important; background-position: center;
    box-shadow: 0 6px 18px rgba(11, 42, 107, 0.18);
    transition: transform 0.35s var(--tr-ease), box-shadow 0.35s var(--tr-ease), background-size 0.6s var(--tr-ease) !important;
  }
  .mm-tile::before { background: linear-gradient(180deg, rgba(11, 42, 107, 0) 30%, rgba(11, 42, 107, 0.92) 100%) !important; }
  .mm-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11, 42, 107, 0.35); background-size: 114% !important; }
  .mm-tile:hover::before { background: linear-gradient(180deg, rgba(23, 71, 158, 0.25) 0%, rgba(11, 42, 107, 0.95) 100%) !important; }
  .mm-tile-name { font-weight: 700 !important; font-size: 0.95rem !important; }
  .mm-tile-go { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e11b22; opacity: 0; }
  .mm-tile:hover .mm-tile-go { opacity: 1; }
  .mm-also { color: #4a5a78; }
  .mm-also a { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #e8eefb; color: #17479e !important; font-weight: 600; transition: background 0.2s, color 0.2s; }
  .mm-also a:hover { background: #17479e; color: #fff !important; }

  /* showcase (Services) */
  .mm-cats { background: linear-gradient(180deg, #f1f5fd, #e9effb); padding: 18px 14px; }
  .mm-cat { border-radius: 14px; border-left: 0 !important; margin-bottom: 4px; transition: background 0.25s var(--tr-ease), transform 0.25s var(--tr-ease), box-shadow 0.25s var(--tr-ease); }
  .mm-cat:hover { background: rgba(255, 255, 255, 0.7); }
  .mm-cat.is-active { background: #fff !important; box-shadow: 0 8px 20px rgba(23, 71, 158, 0.14); transform: translateX(4px); }
  .mm-num { display: inline-grid; place-items: center; width: 30px; height: 30px; min-width: 30px; border-radius: 50%; background: #dfe8fa; font-size: 0.8rem !important; font-weight: 700; color: #17479e !important; }
  .mm-cat.is-active .mm-num { background: linear-gradient(135deg, #17479e, #2a6fe0); color: #fff !important; }
  .mm-photo { border-radius: 18px; box-shadow: 0 14px 30px rgba(11, 42, 107, 0.25); }
  .mm-photo::before { background: linear-gradient(180deg, rgba(11, 42, 107, 0) 25%, rgba(11, 42, 107, 0.92) 100%) !important; }
  .mm-detail li a { border-radius: 12px; padding: 8px 10px !important; transition: background 0.2s, transform 0.2s var(--tr-ease), padding 0.2s; }
  .mm-detail li a:hover { background: #eaf0fc; transform: translateX(4px); padding-left: 10px !important; }

  /* list rows (About / Insights / Careers) as cards */
  #header .mm-list .mm-body { gap: 12px 14px; }
  #header .mm-link {
    padding: 12px 14px !important; border-radius: 14px; background: #fff;
    border: 1px solid #e4eaf6 !important; box-shadow: 0 2px 8px rgba(11, 42, 107, 0.05);
    transition: transform 0.25s var(--tr-ease), box-shadow 0.25s var(--tr-ease), border-color 0.25s;
  }
  #header .mm-link:hover { transform: translateY(-3px); border-color: #17479e !important; box-shadow: 0 14px 28px rgba(23, 71, 158, 0.18); }
  #header .mm-link .mm-link-icon { border-radius: 12px; background: linear-gradient(135deg, #e8efff, #d6e3ff); }
  #header .mm-link:hover .mm-link-icon { background: linear-gradient(135deg, #17479e, #2a6fe0); color: #fff; }
  #header .mm-link .mm-link-go { color: #e11b22; }

  /* columns (Solutions) as cards */
  .mm-columns .mm-body { gap: 18px; }
  .mm-col { background: #fff; border: 1px solid #e4eaf6; border-radius: 18px; padding: 20px 20px 14px; box-shadow: 0 6px 18px rgba(11, 42, 107, 0.06); }
  .mm-col-title {
    display: flex !important; align-items: center; gap: 10px; margin-bottom: 12px !important; padding-bottom: 12px !important;
    border-bottom: 1px solid #e4eaf6 !important; font-weight: 800 !important; font-size: 1rem !important; color: #0b2a6b !important;
  }
  .mm-col-title::before { content: ''; width: 8px; height: 22px; border-radius: 4px; background: linear-gradient(180deg, #e11b22, #17479e); }
  .mm-col:nth-child(2) .mm-col-title::before { background: linear-gradient(180deg, #17479e, #4aa8ff); }
  .mm-col:nth-child(3) .mm-col-title::before { background: linear-gradient(180deg, #ff7a45, #e11b22); }
  .mm-col li a { position: relative; border-radius: 8px; padding: 6px 8px 6px 20px !important; transition: background 0.2s, padding 0.2s var(--tr-ease), color 0.2s; }
  .mm-col li a::before { content: ''; position: absolute; left: 6px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #b9c7e6; transition: background 0.2s, transform 0.2s; }
  .mm-col li a:hover { background: #eef3fd; padding-left: 24px !important; }
  .mm-col li a:hover::before { background: #e11b22; transform: scale(1.5); }
}


/* =====================================================================
   AURORA v2 — wide panels, every item visible at once (desktop)
===================================================================== */
@media (min-width: 992px) {
  #header .mega-menu {
    width: min(1340px, 97vw) !important;
    left: 50% !important;
    right: auto !important;
    margin-left: calc(min(1340px, 97vw) / -2) !important;
  }
  .mm-panel { max-width: none !important; grid-template-columns: 240px 1fr !important; min-height: 0 !important; }
  .mm-body { padding: 28px 30px !important; }
  .mm-intro { padding: 32px 26px !important; }
  .mm-intro h3 { font-size: 2rem !important; }
  #header .mega-menu::after { display: none; }

  /* ---- columns: Services + Solutions ---- */
  .mm-columns .mm-body { gap: 16px !important; align-items: start; }
  #servicesMegaMenu .mm-body { grid-template-columns: 0.95fr 1fr 1.3fr 1.25fr !important; }
  #solutionsMegaMenu .mm-body { grid-template-columns: 1fr 1.1fr 0.9fr !important; }

  .mm-col { position: relative; overflow: hidden; padding: 0 0 10px !important; border-radius: 18px !important; background: #fff; }
  .mm-col::before { content: ''; display: block; height: 5px; background: linear-gradient(90deg, #17479e, #4aa8ff); }
  .mm-col-2::before { background: linear-gradient(90deg, #e11b22, #ff7a45); }
  .mm-col-3::before { background: linear-gradient(90deg, #0fa3b1, #7be0ff); }
  .mm-col-4::before { background: linear-gradient(90deg, #12a150, #8be28b); }
  #solutionsMegaMenu .mm-col-2::before { background: linear-gradient(90deg, #17479e, #4aa8ff); }
  #solutionsMegaMenu .mm-col-3::before { background: linear-gradient(90deg, #e11b22, #ff7a45); }

  .mm-col-title {
    display: flex !important; align-items: center; gap: 10px;
    margin: 0 0 6px !important; padding: 14px 16px 12px !important;
    border-bottom: 1px solid #e9eef8 !important; background: linear-gradient(180deg, #f8faff, #fff);
    font-size: 1rem !important; font-weight: 800 !important; color: #0b2a6b !important;
  }
  .mm-col-title::before { display: none !important; }
  .mm-col-ico {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; flex: 0 0 34px;
    background: linear-gradient(135deg, #17479e, #2a6fe0); color: #fff; font-size: 0.9rem;
    box-shadow: 0 6px 14px rgba(23, 71, 158, 0.35);
  }
  .mm-col-2 .mm-col-ico { background: linear-gradient(135deg, #e11b22, #ff7a45); box-shadow: 0 6px 14px rgba(225, 27, 34, 0.35); }
  .mm-col-3 .mm-col-ico { background: linear-gradient(135deg, #0fa3b1, #4cc9d6); box-shadow: 0 6px 14px rgba(15, 163, 177, 0.35); }
  .mm-col-4 .mm-col-ico { background: linear-gradient(135deg, #12a150, #5cd38a); box-shadow: 0 6px 14px rgba(18, 161, 80, 0.35); }
  .mm-col-name { flex: 1; line-height: 1.2; }
  .mm-col-count { min-width: 24px; height: 24px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; background: #e8eefb; color: #17479e; font-size: 0.72rem; font-weight: 800; }

  .mm-col ul { padding: 4px 10px 0 !important; }
  .mm-col li a {
    display: flex !important; align-items: center; gap: 10px;
    padding: 7px 8px !important; font-size: 0.85rem !important; line-height: 1.3; font-weight: 500; color: #24324f !important;
    border-radius: 10px !important;
  }
  .mm-col li a::before { display: none !important; }
  .mm-col li a > span { flex: 1; }
  .mm-col li a .mm-col-li {
    flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px;
    background: #eaf0fd; color: #17479e; font-size: 0.78rem; transition: background 0.2s, color 0.2s, transform 0.2s;
  }
  .mm-col li a:hover { background: #f0f5ff !important; color: #0b2a6b !important; padding-left: 8px !important; transform: translateX(3px); }
  .mm-col li a:hover .mm-col-li { background: linear-gradient(135deg, #17479e, #2a6fe0); color: #fff; transform: scale(1.08); }
  /* solutions has no icons: keep dot bullets */
  #solutionsMegaMenu .mm-col li a { padding-left: 22px !important; position: relative; }
  #solutionsMegaMenu .mm-col li a::before { display: block !important; left: 8px; }

  /* ---- Industries: all 8 in ONE row ---- */
  #industriesMegaMenu .mm-body { grid-template-columns: repeat(8, 1fr) !important; gap: 10px !important; }
  #industriesMegaMenu .mm-tile { aspect-ratio: 3 / 4.3; min-height: 0 !important; height: auto !important; padding: 12px !important; align-items: flex-end; }
  #industriesMegaMenu .mm-tile-name { font-size: 0.82rem !important; max-width: 100% !important; line-height: 1.25; }
  #industriesMegaMenu .mm-tile-go { position: absolute; top: 10px; right: 10px; }
  #industriesMegaMenu .mm-also { margin-top: 4px !important; }

  /* ---- About / Insights / Careers: one row of cards ---- */
  #aboutMegaMenu .mm-body { grid-template-columns: repeat(4, 1fr) !important; }
  #insightsMegaMenu .mm-body { grid-template-columns: repeat(4, 1fr) !important; }
  #careersMegaMenu .mm-body { grid-template-columns: repeat(2, 1fr) !important; }
  #insightsMegaMenu .mm-link, #careersMegaMenu .mm-link { padding: 22px 18px !important; }
  #insightsMegaMenu .mm-link .mm-link-icon, #careersMegaMenu .mm-link .mm-link-icon { flex-basis: 46px; width: 46px; height: 46px; }
}

@media (min-width: 992px) { .mm-columns .mm-body { align-items: stretch !important; } }

@media (min-width: 992px) { #industriesMegaMenu .mm-tile { height: 210px !important; aspect-ratio: auto !important; background-size: cover !important; } #industriesMegaMenu .mm-tile:hover { background-size: cover !important; } #industriesMegaMenu .mm-tile:hover::before { opacity: 1; } }


/* =====================================================================
   SERVICES MENU — compact, single-line items, equal cards
===================================================================== */
@media (min-width: 992px) {
  #servicesMegaMenu .mm-panel { grid-template-columns: 220px 1fr !important; }
  #servicesMegaMenu .mm-body { grid-template-columns: repeat(4, 1fr) !important; gap: 14px !important; padding: 24px 26px !important; }
  #servicesMegaMenu .mm-col { border: 1px solid #e4eaf6; box-shadow: 0 8px 22px rgba(11, 42, 107, 0.07); display: flex; flex-direction: column; }
  #servicesMegaMenu .mm-col:hover { box-shadow: 0 16px 34px rgba(11, 42, 107, 0.16); transform: translateY(-2px); }
  #servicesMegaMenu .mm-col { transition: box-shadow 0.3s var(--tr-ease), transform 0.3s var(--tr-ease); }
  #servicesMegaMenu .mm-col-title { padding: 14px 14px 12px !important; font-size: 0.98rem !important; }
  #servicesMegaMenu .mm-col-name { white-space: nowrap; }
  #servicesMegaMenu .mm-col-count { display: none; }
  #servicesMegaMenu .mm-col ul { padding: 4px 8px 6px !important; flex: 1; }
  #servicesMegaMenu .mm-col li a {
    padding: 5px 6px !important; gap: 9px; font-size: 0.84rem !important; font-weight: 500;
    white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis;
  }
  #servicesMegaMenu .mm-col li a > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #servicesMegaMenu .mm-col li a .mm-col-li { flex-basis: 26px; width: 26px; height: 26px; border-radius: 8px; font-size: 0.72rem; }
}


/* =====================================================================
   SERVICES MENU v3 — photo-header cards, full service list beneath
===================================================================== */
@media (min-width: 992px) {
  #servicesMegaMenu .mm-col { padding: 0 0 8px !important; border: 0 !important; background: #fff; border-radius: 20px !important; box-shadow: 0 10px 26px rgba(11, 42, 107, 0.12); }
  #servicesMegaMenu .mm-col::before { display: none; }

  #servicesMegaMenu .mm-col-photo {
    position: relative; display: flex; flex-direction: column; justify-content: space-between;
    height: 168px; padding: 12px 14px 14px; color: #fff !important;
    background-size: cover; background-position: center; overflow: hidden;
    transition: background-size 0.6s var(--tr-ease);
  }
  #servicesMegaMenu .mm-col-photo::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11, 42, 107, 0.15) 0%, rgba(11, 42, 107, 0.55) 45%, rgba(8, 25, 70, 0.95) 100%);
    transition: opacity 0.3s;
  }
  #servicesMegaMenu .mm-col-1 .mm-col-photo::before { background: linear-gradient(180deg, rgba(23, 71, 158, 0.1), rgba(11, 42, 107, 0.6) 45%, rgba(8, 25, 70, 0.96)); }
  #servicesMegaMenu .mm-col-2 .mm-col-photo::before { background: linear-gradient(180deg, rgba(225, 27, 34, 0.1), rgba(120, 15, 25, 0.6) 45%, rgba(60, 8, 15, 0.96)); }
  #servicesMegaMenu .mm-col-3 .mm-col-photo::before { background: linear-gradient(180deg, rgba(15, 163, 177, 0.1), rgba(10, 80, 100, 0.6) 45%, rgba(5, 40, 60, 0.96)); }
  #servicesMegaMenu .mm-col-4 .mm-col-photo::before { background: linear-gradient(180deg, rgba(18, 161, 80, 0.1), rgba(10, 90, 50, 0.6) 45%, rgba(5, 45, 30, 0.96)); }
  #servicesMegaMenu .mm-col-photo > * { position: relative; z-index: 1; }
  #servicesMegaMenu .mm-col-photo:hover { background-size: 112%; }

  #servicesMegaMenu .mm-col-photo-top { display: flex; align-items: center; justify-content: space-between; }
  #servicesMegaMenu .mm-col-photo .mm-col-ico { width: 36px; height: 36px; flex-basis: 36px; background: rgba(255, 255, 255, 0.2) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35) !important; backdrop-filter: blur(6px); }
  #servicesMegaMenu .mm-col-photo .mm-col-count {
    display: inline-block !important; min-width: 0; height: auto; padding: 4px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.2); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  }
  #servicesMegaMenu .mm-col-photo-text { display: flex; flex-direction: column; gap: 3px; padding-right: 34px; }
  #servicesMegaMenu .mm-col-photo .mm-col-name { font-size: 1.08rem; font-weight: 800; line-height: 1.2; color: #fff; white-space: normal; }
  #servicesMegaMenu .mm-col-desc {
    font-size: 0.72rem; line-height: 1.35; color: rgba(255, 255, 255, 0.82);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  #servicesMegaMenu .mm-col-go {
    position: absolute !important; right: 12px; bottom: 12px; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; background: #e11b22; color: #fff; font-size: 0.7rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35); transition: transform 0.25s var(--tr-ease);
  }
  #servicesMegaMenu .mm-col-photo:hover .mm-col-go { transform: translateX(3px) scale(1.08); }

  #servicesMegaMenu .mm-col ul { padding: 8px 10px 2px !important; }
  #servicesMegaMenu .mm-col li a { padding: 5px 6px !important; }
}


/* =====================================================================
   MENU v4 — FULL-PAGE-WIDTH panels, larger readable type
===================================================================== */
@media (min-width: 992px) {
  /* anchor the panel to the full-width header, not the 1200px container */
  #header .container, #header .navbar { position: static !important; }
  #header .mega-menu {
    left: 0 !important; right: 0 !important; width: 100% !important; margin: 0 !important;
    border-radius: 0 0 28px 28px !important;
    max-height: calc(100vh - 100px) !important; overflow-y: auto !important; overflow-x: hidden;
    box-shadow: 0 40px 80px rgba(8, 25, 70, 0.4) !important;
  }
  #header .mega-menu::before { top: -4px; height: 4px; }
  .mm-panel {
    --mm-gutter: max(40px, calc((100vw - 1560px) / 2));
    max-width: none !important; width: 100%; margin: 0 !important; border-radius: 0 0 28px 28px;
    grid-template-columns: calc(var(--mm-gutter) + 330px) 1fr !important;
  }
  .mm-intro { padding: 44px 36px 44px var(--mm-gutter) !important; }
  .mm-intro h3 { font-size: 2.6rem !important; }
  .mm-intro p { font-size: 1.02rem !important; line-height: 1.65; }
  .mm-eyebrow { font-size: 0.74rem !important; }
  #header .mega-menu .mm-cta { font-size: 0.98rem; padding: 14px 24px; }
  .mm-body { padding: 40px var(--mm-gutter) 40px 44px !important; }

  /* ---- Services ---- */
  #servicesMegaMenu .mm-panel { grid-template-columns: calc(var(--mm-gutter) + 330px) 1fr !important; }
  #servicesMegaMenu .mm-body { gap: 24px !important; padding: 40px var(--mm-gutter) 40px 44px !important; }
  #servicesMegaMenu .mm-col-photo { height: 230px; padding: 16px 18px 18px; }
  #servicesMegaMenu .mm-col-photo .mm-col-name { font-size: 1.35rem; }
  #servicesMegaMenu .mm-col-desc { font-size: 0.88rem; line-height: 1.45; }
  #servicesMegaMenu .mm-col-photo .mm-col-count { font-size: 0.76rem; padding: 5px 12px; }
  #servicesMegaMenu .mm-col-photo .mm-col-ico { width: 44px; height: 44px; flex-basis: 44px; font-size: 1.05rem; }
  #servicesMegaMenu .mm-col-go { width: 34px; height: 34px; font-size: 0.82rem; }
  #servicesMegaMenu .mm-col ul { padding: 14px 14px 6px !important; }
  #servicesMegaMenu .mm-col li a { font-size: 1rem !important; padding: 8px 8px !important; gap: 12px; white-space: normal !important; }
  #servicesMegaMenu .mm-col li a > span { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
  #servicesMegaMenu .mm-col li a .mm-col-li { flex-basis: 32px; width: 32px; height: 32px; font-size: 0.85rem; border-radius: 10px; }

  /* ---- Industries ---- */
  #industriesMegaMenu .mm-body { gap: 16px !important; }
  #industriesMegaMenu .mm-tile { height: 300px !important; padding: 16px !important; }
  #industriesMegaMenu .mm-tile-name { font-size: 1.02rem !important; line-height: 1.3; }
  #industriesMegaMenu .mm-also { font-size: 1rem !important; margin-top: 8px !important; }
  #industriesMegaMenu .mm-also a { padding: 6px 16px; font-size: 0.95rem; }

  /* ---- Solutions ---- */
  #solutionsMegaMenu .mm-body { gap: 24px !important; }
  #solutionsMegaMenu .mm-col-title { padding: 18px 20px 14px !important; font-size: 1.2rem !important; }
  #solutionsMegaMenu .mm-col-ico { width: 42px; height: 42px; flex-basis: 42px; font-size: 1.05rem; }
  #solutionsMegaMenu .mm-col ul { padding: 8px 14px 8px !important; }
  #solutionsMegaMenu .mm-col li a { font-size: 1.02rem !important; padding: 9px 8px 9px 24px !important; }

  /* ---- About / Insights / Careers ---- */
  #aboutMegaMenu .mm-body, #insightsMegaMenu .mm-body, #careersMegaMenu .mm-body { gap: 18px !important; align-content: start; }
  #header .mm-link { padding: 20px 20px !important; gap: 16px; }
  #header .mm-link .mm-link-text { font-size: 1.05rem; font-weight: 600; }
  #header .mm-link .mm-link-icon { flex-basis: 48px !important; width: 48px !important; height: 48px !important; border-radius: 14px; }
  #header .mm-link .mm-link-icon i { font-size: 1.15rem; }
  #insightsMegaMenu .mm-link, #careersMegaMenu .mm-link { padding: 30px 24px !important; }
}

/* v4.1 — fit the tallest card on screen, use more of the page width */
@media (min-width: 992px) {
  .mm-panel { --mm-gutter: max(32px, calc((100vw - 1780px) / 2)); }
  .mm-intro { padding-top: 36px !important; padding-bottom: 36px !important; }
  .mm-body, #servicesMegaMenu .mm-body { padding-top: 28px !important; padding-bottom: 28px !important; }
  #servicesMegaMenu .mm-col-photo { height: 180px; }
  #servicesMegaMenu .mm-col ul { padding: 10px 12px 4px !important; }
  #servicesMegaMenu .mm-col li a { padding: 5px 8px !important; font-size: 0.98rem !important; }
  #servicesMegaMenu .mm-col li a .mm-col-li { flex-basis: 30px; width: 30px; height: 30px; }
  #industriesMegaMenu .mm-tile { height: 280px !important; }
}


/* =====================================================================
   INDUSTRIES MENU v5 — 4 x 2 card grid: photo banner, number, text, Explore
===================================================================== */
@media (min-width: 992px) {
  #industriesMegaMenu .mm-body { grid-template-columns: repeat(4, 1fr) !important; gap: 20px !important; align-content: start; }

  #industriesMegaMenu .mm-tile.mm-tile-card {
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    height: auto !important; padding: 0 !important; aspect-ratio: auto !important;
    background: #fff !important; background-image: none !important;
    border-radius: 20px; overflow: hidden; border: 1px solid #e4eaf6;
    box-shadow: 0 8px 22px rgba(11, 42, 107, 0.10);
    transition: transform 0.3s var(--tr-ease), box-shadow 0.3s var(--tr-ease), border-color 0.3s;
  }
  #industriesMegaMenu .mm-tile.mm-tile-card::before { display: none !important; }
  #industriesMegaMenu .mm-tile.mm-tile-card:hover { transform: translateY(-5px); border-color: #17479e; box-shadow: 0 20px 40px rgba(23, 71, 158, 0.25); background-size: auto !important; }

  .mm-tile-img {
    position: relative; display: block; height: 118px; background-size: cover; background-position: center;
    transition: background-size 0.6s var(--tr-ease), filter 0.3s;
  }
  .mm-tile-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 42, 107, 0) 40%, rgba(11, 42, 107, 0.55) 100%); }
  .mm-tile-card:hover .mm-tile-img { filter: saturate(1.15); }
  .mm-tile-num {
    position: absolute; z-index: 1; left: 14px; top: 12px; display: grid; place-items: center;
    min-width: 36px; height: 30px; padding: 0 10px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.92); color: #17479e; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em;
  }
  .mm-tile-badge {
    position: absolute; z-index: 1; right: 12px; top: 12px; padding: 5px 12px; border-radius: 999px;
    background: linear-gradient(135deg, #e11b22, #ff7a45); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em;
    box-shadow: 0 6px 14px rgba(225, 27, 34, 0.4);
  }
  .mm-tile-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 16px; flex: 1; }
  #industriesMegaMenu .mm-tile-card .mm-tile-name {
    position: static; max-width: none !important; color: #0b2a6b !important; font-size: 1.12rem !important; font-weight: 800 !important; line-height: 1.25;
  }
  .mm-tile-desc { color: #55627d; font-size: 0.9rem; line-height: 1.45; }
  .mm-tile-more {
    margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px;
    color: #e11b22; font-size: 0.84rem; font-weight: 800; letter-spacing: 0.04em;
  }
  .mm-tile-more i { transition: transform 0.25s var(--tr-ease); font-size: 0.75rem; }
  .mm-tile-card:hover .mm-tile-more i { transform: translateX(5px); }
}


/* =====================================================================
   SERVICES MENU v6 — three-level (practice > service > detail), LTTS style
===================================================================== */
@media (min-width: 992px) {
  #servicesMegaMenu .mm-panel.mm-tri {
    display: block !important; grid-template-columns: none !important; background: #fff; border-radius: 0 0 28px 28px;
    --mm-gutter: max(32px, calc((100vw - 1500px) / 2));
  }
  .mm-tri-grid {
    display: grid; grid-template-columns: 330px 380px 1fr; min-height: 470px;
    padding: 0 var(--mm-gutter);
  }

  /* level 1 */
  .mm-tri-l1 { list-style: none; margin: 0; padding: 30px 26px 24px 0 !important; border-right: 1px solid #e6ecf7; }
  .mm-tri-eyebrow { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #e11b22; margin: 0 0 14px 6px; }
  .mm-tri-cat {
    display: flex; align-items: center; gap: 14px; padding: 15px 16px; margin-bottom: 8px; border-radius: 16px;
    color: #0b2a6b !important; font-weight: 700; font-size: 1.08rem; border: 1px solid transparent;
    transition: background 0.25s var(--tr-ease), box-shadow 0.25s var(--tr-ease), transform 0.25s var(--tr-ease), color 0.25s;
  }
  .mm-tri-ico {
    display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px;
    background: #e8eefb; color: #17479e; font-size: 1.05rem; transition: all 0.25s var(--tr-ease);
  }
  .mm-tri-cat-name { flex: 1; }
  .mm-tri-count { min-width: 26px; height: 26px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; background: #eef2fb; color: #17479e; font-size: 0.76rem; font-weight: 800; }
  .mm-tri-chev { font-size: 0.72rem; color: #a3b1cf; transition: transform 0.25s var(--tr-ease), color 0.25s; }
  .mm-tri-cat:hover, .mm-tri-cat.is-active {
    background: linear-gradient(135deg, #0b2a6b, #17479e 70%, #2a6fe0); color: #fff !important;
    box-shadow: 0 14px 28px rgba(23, 71, 158, 0.35); transform: translateX(4px);
  }
  .mm-tri-cat:hover .mm-tri-ico, .mm-tri-cat.is-active .mm-tri-ico { background: rgba(255, 255, 255, 0.2); color: #fff; }
  .mm-tri-cat:hover .mm-tri-count, .mm-tri-cat.is-active .mm-tri-count { background: rgba(255, 255, 255, 0.2); color: #fff; }
  .mm-tri-cat:hover .mm-tri-chev, .mm-tri-cat.is-active .mm-tri-chev { color: #fff; transform: translateX(3px); }

  /* level 2 */
  .mm-tri-l2 { padding: 30px 26px 24px 26px; border-right: 1px solid #e6ecf7; background: linear-gradient(180deg, #f8faff, #fff); animation: mmFade 0.3s var(--tr-ease); }
  .mm-tri-l2-head {
    display: flex; align-items: center; justify-content: space-between; padding: 0 6px 14px; margin-bottom: 8px;
    border-bottom: 2px solid #e6ecf7; color: #0b2a6b !important; font-size: 1.2rem; font-weight: 800;
  }
  .mm-tri-all { font-size: 0.8rem; font-weight: 800; color: #e11b22; letter-spacing: 0.03em; }
  .mm-tri-all i { font-size: 0.7rem; margin-left: 4px; transition: transform 0.2s; }
  .mm-tri-l2-head:hover .mm-tri-all i { transform: translateX(4px); }
  .mm-tri-l2 ul { list-style: none; margin: 0; padding: 0; max-height: 400px; overflow: auto; }
  .mm-tri-link {
    display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: #24324f !important;
    font-size: 1rem; font-weight: 600; transition: background 0.2s, color 0.2s, transform 0.2s var(--tr-ease);
  }
  .mm-tri-link-ico {
    display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px;
    background: #eaf0fd; color: #17479e; font-size: 0.82rem; transition: all 0.2s;
  }
  .mm-tri-link-text { flex: 1; line-height: 1.3; }
  .mm-tri-link .mm-tri-chev { opacity: 0; transform: translateX(-6px); }
  .mm-tri-link:hover, .mm-tri-link.is-active { background: #fff; color: #17479e !important; box-shadow: 0 8px 20px rgba(23, 71, 158, 0.14); transform: translateX(3px); }
  .mm-tri-link:hover .mm-tri-link-ico, .mm-tri-link.is-active .mm-tri-link-ico { background: linear-gradient(135deg, #17479e, #2a6fe0); color: #fff; }
  .mm-tri-link:hover .mm-tri-chev, .mm-tri-link.is-active .mm-tri-chev { opacity: 1; transform: none; color: #e11b22; }

  /* level 3 */
  .mm-tri-l3 { padding: 30px 0 24px 34px; animation: mmFade 0.3s var(--tr-ease); display: flex; flex-direction: column; align-items: flex-start; }
  .mm-tri-photo {
    position: relative; width: 100%; height: 170px; border-radius: 20px; background-size: cover; background-position: center;
    box-shadow: 0 14px 30px rgba(11, 42, 107, 0.25); overflow: hidden; margin-bottom: 20px;
  }
  .mm-tri-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 42, 107, 0.05), rgba(11, 42, 107, 0.75)); }
  .mm-tri-photo-tag {
    position: absolute; z-index: 1; left: 16px; bottom: 14px; padding: 5px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); backdrop-filter: blur(6px);
    color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em;
  }
  .mm-tri-l3 h4 { margin: 0 0 8px; font-size: 1.5rem; font-weight: 800; color: #0b2a6b; letter-spacing: -0.01em; }
  .mm-tri-l3 p { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.6; color: #55627d; max-width: 520px; }
  .mm-tri-points { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
  .mm-tri-points li { display: flex; align-items: center; gap: 10px; font-size: 0.98rem; font-weight: 600; color: #24324f; }
  .mm-tri-points i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e3f6ea; color: #12a150; font-size: 0.62rem; }
  .mm-tri-cta {
    margin-top: auto; display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px;
    background: linear-gradient(135deg, #ff3b41, #e11b22); color: #fff !important; font-weight: 700; font-size: 0.95rem;
    box-shadow: 0 10px 24px rgba(225, 27, 34, 0.4); transition: transform 0.25s var(--tr-ease), box-shadow 0.25s;
  }
  .mm-tri-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(225, 27, 34, 0.5); }
  .mm-tri-cta i { font-size: 0.8rem; transition: transform 0.25s; }
  .mm-tri-cta:hover i { transform: translateX(4px); }

  /* footer strip */
  .mm-tri-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--mm-gutter);
    background: linear-gradient(90deg, #0b2a6b, #17479e); color: rgba(255, 255, 255, 0.9); font-size: 1rem; border-radius: 0 0 28px 28px;
  }
  #header .mm-tri-foot-cta {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px; border-radius: 999px; background: #fff;
    color: #0b2a6b !important; font-weight: 800; font-size: 0.92rem; transition: transform 0.25s, background 0.25s, color 0.25s;
  }
  #header .mm-tri-foot-cta:hover { background: #e11b22; color: #fff !important; transform: translateY(-2px); }
  @keyframes mmFade { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
}

/* v6.1 — tri menu fixes */
@media (min-width: 992px) {
  #header .mm-tri-cat:hover, #header .mm-tri-cat.is-active,
  #header .mm-tri-cat:hover .mm-tri-cat-name, #header .mm-tri-cat.is-active .mm-tri-cat-name { color: #fff !important; }
  #header .mm-tri-cat { color: #0b2a6b !important; }
  .mm-tri-l2 ul { overflow-x: hidden !important; overflow-y: auto; padding: 0 6px 0 0 !important; max-height: 430px; }
  .mm-tri-link:hover, .mm-tri-link.is-active { transform: none; }
}

@media (min-width: 992px) { .mm-tri-l2 ul { max-height: 500px !important; } .mm-tri-grid { min-height: 500px; } .mm-tri-link { padding: 8px 10px; } }


/* =====================================================================
   MENU v7 — CORPORATE: flat navy/white, hairlines, square edges, no glow
   (overrides the aurora layers above; revert by deleting this block)
===================================================================== */
@media (min-width: 992px) {
  /* ---------- header bar ---------- */
  #header, header#header {
    background: #0b2a6b !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  }
  #header::after { height: 3px; background: linear-gradient(90deg, #e11b22 0 120px, #17479e 120px 100%); animation: none; opacity: 1; }

  #header .nav-links { gap: 0; }
  #header .nav-links > li:not(.nav-cta):not(.nav-utilities) > .nav-link {
    align-self: stretch; height: auto; border-radius: 0 !important; padding: 0 20px !important;
    font-size: 0.98rem; font-weight: 600; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.9);
    background: transparent; box-shadow: inset 0 -3px 0 transparent; transform: none;
  }
  #header .nav-links > li:not(.nav-cta) > .nav-link:hover,
  #header .nav-links > li.has-megamenu:hover > .nav-link {
    background: rgba(255, 255, 255, 0.07) !important; color: #fff !important;
    box-shadow: inset 0 -3px 0 #fff !important; transform: none;
  }
  #header .nav-links > li > .nav-link:hover .dropdown-icon,
  #header .nav-links > li.has-megamenu:hover > .nav-link .dropdown-icon { color: #fff; transform: rotate(180deg); }
  #header .nav-links > li > .nav-link.is-current,
  #header .nav-links > li > .nav-link.is-current:hover { background: transparent; box-shadow: inset 0 -3px 0 #4a90e8 !important; }
  #header .nav-links > li > .nav-link.is-current::before { display: none !important; }

  #header .nav-links > li.nav-cta { margin-left: 18px; }
  #header .nav-cta a {
    background: #e11b22 !important; border-radius: 2px !important; padding: 12px 20px !important;
    box-shadow: none !important; font-weight: 700; letter-spacing: 0.02em;
  }
  #header .nav-cta a i { width: auto; height: auto; background: none !important; border-radius: 0; }
  #header .nav-cta a:hover { background: #c4151d !important; transform: none; box-shadow: none !important; }

  /* ---------- panels ---------- */
  #header .mega-menu {
    border-radius: 0 !important; border-top: 1px solid #d9e0ee !important;
    box-shadow: 0 24px 40px -12px rgba(11, 42, 107, 0.25) !important;
  }
  .mm-panel, #servicesMegaMenu .mm-panel.mm-tri { border-radius: 0 !important; animation-duration: 0.2s; }

  /* intro column (all non-tri menus): flat navy */
  .mm-intro { background: #0b2a6b !important; background-image: none !important; }
  .mm-intro::after { display: none !important; }
  .mm-eyebrow { background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0; color: #8fb4f0 !important; letter-spacing: 0.18em; }
  .mm-intro h3 { font-weight: 700 !important; letter-spacing: -0.01em; position: relative; padding-bottom: 16px !important; }
  .mm-intro h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: #e11b22; }
  #header .mega-menu .mm-cta { background: #e11b22 !important; border-radius: 2px !important; box-shadow: none !important; transform: none !important; }
  #header .mega-menu .mm-cta:hover { background: #fff !important; color: #0b2a6b !important; }
  .mm-body { background: #fff !important; }

  /* ---------- cards: Industries ---------- */
  #industriesMegaMenu .mm-tile.mm-tile-card {
    border-radius: 2px !important; border: 1px solid #d9e0ee; box-shadow: none !important; transition: border-color 0.2s, box-shadow 0.2s;
  }
  #industriesMegaMenu .mm-tile.mm-tile-card:hover { transform: none !important; border-color: #17479e; box-shadow: 0 10px 24px rgba(11, 42, 107, 0.14) !important; }
  .mm-tile-img::after { background: linear-gradient(180deg, rgba(11, 42, 107, 0) 55%, rgba(11, 42, 107, 0.5)); }
  .mm-tile-num { border-radius: 2px !important; background: #0b2a6b !important; color: #fff !important; min-width: 0; height: 26px; font-size: 0.75rem; }
  .mm-tile-badge { border-radius: 2px !important; background: #e11b22 !important; box-shadow: none !important; }
  #industriesMegaMenu .mm-tile-card .mm-tile-name { font-weight: 700 !important; }
  .mm-tile-more { color: #17479e !important; }
  .mm-also a { border-radius: 2px !important; background: #eef2fa !important; }

  /* ---------- cards: Solutions columns ---------- */
  .mm-col { border-radius: 2px !important; box-shadow: none !important; border: 1px solid #d9e0ee !important; }
  .mm-col::before, .mm-col-2::before, .mm-col-3::before, .mm-col-4::before,
  #solutionsMegaMenu .mm-col-2::before, #solutionsMegaMenu .mm-col-3::before { background: #17479e !important; height: 3px !important; }
  .mm-col-title { background: #f5f7fb !important; }
  .mm-col-ico, .mm-col-2 .mm-col-ico, .mm-col-3 .mm-col-ico, .mm-col-4 .mm-col-ico {
    border-radius: 2px !important; background: #17479e !important; box-shadow: none !important;
  }
  .mm-col-count { border-radius: 2px !important; }
  .mm-col li a { border-radius: 0 !important; }
  .mm-col li a:hover { transform: none !important; }

  /* ---------- link cards: About / Insights / Careers ---------- */
  #header .mm-link { border-radius: 2px !important; box-shadow: none !important; border: 1px solid #d9e0ee !important; }
  #header .mm-link:hover { transform: none !important; border-color: #17479e !important; box-shadow: 0 8px 20px rgba(11, 42, 107, 0.12) !important; }
  #header .mm-link .mm-link-icon { border-radius: 2px !important; background: #eef2fa !important; }
  #header .mm-link:hover .mm-link-icon { background: #17479e !important; }
  #header .mm-link .mm-link-go { color: #17479e; }

  /* ---------- Services: three-level ---------- */
  .mm-tri-grid { min-height: 480px; }
  .mm-tri-l1 { background: #f5f7fb; margin-left: calc(var(--mm-gutter) * -1); padding-left: var(--mm-gutter) !important; border-right: 1px solid #d9e0ee; }
  .mm-tri-eyebrow { color: #17479e; }
  #header .mm-tri-cat {
    border-radius: 0 !important; margin-bottom: 0; padding: 16px 16px; border: 0; border-bottom: 1px solid #e1e7f2;
    border-left: 4px solid transparent; background: transparent; box-shadow: none !important; transform: none !important; color: #0b2a6b !important;
  }
  #header .mm-tri-cat:hover, #header .mm-tri-cat.is-active {
    background: #fff !important; color: #0b2a6b !important; border-left-color: #e11b22; box-shadow: none !important; transform: none !important;
  }
  #header .mm-tri-cat:hover .mm-tri-cat-name, #header .mm-tri-cat.is-active .mm-tri-cat-name { color: #0b2a6b !important; }
  .mm-tri-ico { border-radius: 2px !important; background: #dfe7f5 !important; color: #17479e !important; }
  .mm-tri-cat:hover .mm-tri-ico, .mm-tri-cat.is-active .mm-tri-ico { background: #17479e !important; color: #fff !important; }
  .mm-tri-count { border-radius: 2px !important; background: #dfe7f5 !important; color: #17479e !important; }
  .mm-tri-cat:hover .mm-tri-count, .mm-tri-cat.is-active .mm-tri-count { background: #17479e !important; color: #fff !important; }
  .mm-tri-cat:hover .mm-tri-chev, .mm-tri-cat.is-active .mm-tri-chev { color: #e11b22 !important; }

  .mm-tri-l2 { background: #fff !important; }
  .mm-tri-l2-head { border-bottom: 2px solid #0b2a6b; }
  .mm-tri-all { color: #17479e; }
  #header .mm-tri-link { border-radius: 0 !important; padding: 11px 8px; border-bottom: 1px solid #edf1f8; border-left: 3px solid transparent; box-shadow: none !important; }
  #header .mm-tri-link:hover, #header .mm-tri-link.is-active { background: #f5f8fe !important; color: #17479e !important; border-left-color: #17479e; box-shadow: none !important; }
  .mm-tri-link-ico { border-radius: 2px !important; background: #eef2fa !important; }
  .mm-tri-link:hover .mm-tri-link-ico, .mm-tri-link.is-active .mm-tri-link-ico { background: #17479e !important; }
  .mm-tri-link:hover .mm-tri-chev, .mm-tri-link.is-active .mm-tri-chev { color: #17479e !important; }

  .mm-tri-photo { border-radius: 2px !important; box-shadow: none !important; height: 150px; }
  .mm-tri-photo::after { background: linear-gradient(180deg, rgba(11, 42, 107, 0) 40%, rgba(11, 42, 107, 0.7)); }
  .mm-tri-photo-tag { border-radius: 2px !important; background: #0b2a6b !important; box-shadow: none !important; backdrop-filter: none; left: 0; bottom: 0; padding: 7px 16px; }
  .mm-tri-l3 h4 { font-weight: 700; }
  .mm-tri-points li i { border-radius: 2px !important; background: #17479e !important; color: #fff !important; width: 18px; height: 18px; }
  #header .mm-tri-cta {
    border-radius: 2px !important; background: #17479e !important; box-shadow: none !important; padding: 13px 22px;
  }
  #header .mm-tri-cta:hover { background: #0b2a6b !important; transform: none !important; box-shadow: none !important; }

  .mm-tri-foot { background: #f5f7fb !important; color: #0b2a6b !important; border-top: 1px solid #d9e0ee; border-radius: 0 !important; font-weight: 500; }
  #header .mm-tri-foot-cta { background: #0b2a6b !important; color: #fff !important; border-radius: 2px !important; }
  #header .mm-tri-foot-cta:hover { background: #e11b22 !important; transform: none !important; }
}

@media (min-width: 992px) { #header .mega-menu .mm-tri-foot-cta, #header .mega-menu a.mm-tri-cta { color: #fff !important; } #header .mega-menu .mm-tri-foot-cta:hover { color: #fff !important; } }

/* v8 — Services: two levels only (practice > services), services in columns */
@media (min-width: 992px) {
  .mm-tri-grid { grid-template-columns: 330px 1fr !important; min-height: 420px; }
  .mm-tri-l2 { border-right: 0 !important; padding: 30px 0 24px 40px !important; background: #fff !important; }
  .mm-tri-l2-head { font-size: 1.35rem; }
  .mm-tri-l2 ul { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 36px; max-height: none !important; overflow: visible !important; padding: 0 !important; margin-top: 4px; }
  .mm-tri-link { font-size: 1.02rem; }
}

/* v9 — Services: same navy intro banner as Industries on the left */
@media (min-width: 992px) {
  #servicesMegaMenu .mm-panel.mm-tri {
    display: grid !important;
    --mm-gutter: max(32px, calc((100vw - 1780px) / 2));
    grid-template-columns: calc(var(--mm-gutter) + 330px) 1fr !important;
  }
  #servicesMegaMenu .mm-tri-main { min-width: 0; }
  #servicesMegaMenu .mm-tri-grid { grid-template-columns: 300px 1fr !important; padding: 0 var(--mm-gutter) 0 0 !important; min-height: 100% !important; }
  #servicesMegaMenu .mm-tri-l1 { margin-left: 0 !important; padding-left: 28px !important; padding-top: 36px !important; }
  #servicesMegaMenu .mm-tri-l2 { padding-top: 36px !important; }
}

@media (min-width: 992px) { #servicesMegaMenu .mm-panel.mm-tri { min-height: 360px !important; } #servicesMegaMenu .mm-tri-l1 { min-height: 360px; } }

/* v10 — container-width panels (about 1200px, centred) instead of full page width */
@media (min-width: 992px) {
  #header .mega-menu {
    width: min(1200px, 96vw) !important;
    left: 50% !important; right: auto !important;
    margin-left: calc(min(1200px, 96vw) / -2) !important;
    border-radius: 0 0 4px 4px !important;
    border: 1px solid #d9e0ee !important; border-top: 3px solid #17479e !important;
    box-shadow: 0 24px 48px -12px rgba(11, 42, 107, 0.3) !important;
  }
  .mm-panel, #servicesMegaMenu .mm-panel.mm-tri, #servicesMegaMenu .mm-panel {
    --mm-gutter: 0px;
    grid-template-columns: 270px 1fr !important;
    border-radius: 0 0 4px 4px !important;
  }
  .mm-intro { padding: 32px 26px 32px 30px !important; }
  .mm-intro h3 { font-size: 2.1rem !important; }
  .mm-intro p { font-size: 0.98rem !important; }
  .mm-body, #servicesMegaMenu .mm-body { padding: 28px 30px !important; }

  /* Services */
  #servicesMegaMenu .mm-tri-grid { grid-template-columns: 260px 1fr !important; padding: 0 !important; }
  #servicesMegaMenu .mm-tri-l1 { padding: 24px 18px 20px 0 !important; margin: 0 !important; background: #f5f7fb; }
  #servicesMegaMenu .mm-tri-l1 > li:first-child { margin-top: 0; }
  #servicesMegaMenu .mm-tri-l2 { padding: 26px 30px 22px 30px !important; }
  #servicesMegaMenu .mm-tri-l2 ul { grid-template-columns: repeat(2, 1fr) !important; column-gap: 28px !important; }
  #servicesMegaMenu .mm-tri-cat { padding: 14px 14px; font-size: 1.02rem; }

  /* Industries: 4 x 2 inside the narrower body */
  #industriesMegaMenu .mm-body { gap: 14px !important; }
  #industriesMegaMenu .mm-tile-img { height: 96px; }
  #industriesMegaMenu .mm-tile-body { padding: 12px 14px 12px; }
  #industriesMegaMenu .mm-tile-card .mm-tile-name { font-size: 1rem !important; }
  #industriesMegaMenu .mm-tile-desc { font-size: 0.84rem; }

  /* Solutions / About / Insights / Careers */
  #solutionsMegaMenu .mm-body { gap: 16px !important; padding: 24px 26px !important; }
  #solutionsMegaMenu .mm-col li a { font-size: 0.95rem !important; }
  #aboutMegaMenu .mm-body, #insightsMegaMenu .mm-body { grid-template-columns: repeat(2, 1fr) !important; }
  #header .mm-link { padding: 16px 16px !important; }
}

/* v10.1 — Services level 2: single column, one service per row */
@media (min-width: 992px) {
  #servicesMegaMenu .mm-tri-l2 ul { grid-template-columns: 1fr !important; column-gap: 0 !important; }
  #servicesMegaMenu .mm-tri-link { padding: 9px 8px; }
}


/* INDUSTRIES WE SERVE v6 — 8 industries from the menu, uniform 4 x 2 grid */
.ind5-bento { grid-template-columns: repeat(4, 1fr) !important; grid-template-rows: none !important; grid-auto-rows: 300px !important; }
.ind5-tile--1, .ind5-tile--2, .ind5-tile--3, .ind5-tile--4, .ind5-tile--5, .ind5-tile--6, .ind5-tile--7, .ind5-tile--8 { grid-column: auto !important; grid-row: auto !important; }
.ind5-tile .ind5-copy h3, .ind5-tile--1 .ind5-copy h3, .ind5-tile--3 .ind5-copy h3 { font-size: 1.2rem; }
.ind5-tile .ind5-copy p, .ind5-tile--1 .ind5-copy p, .ind5-tile--5 .ind5-copy p, .ind5-tile--6 .ind5-copy p {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  max-height: none !important; max-width: none !important; opacity: 1 !important; margin-top: 8px !important; font-size: 0.9rem;
}
.ind5-also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 0; color: #4a5a78; font-size: 0.98rem; }
.ind5-also a { padding: 6px 16px; background: #eef2fa; color: var(--brand-primary) !important; font-weight: 600; text-decoration: none; transition: background 0.2s, color 0.2s; }
.ind5-also a:hover { background: var(--brand-primary); color: #fff !important; }
@media (max-width: 1100px) { .ind5-bento { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 575px) { .ind5-bento { grid-template-columns: 1fr !important; } }


/* SERVICES v6 — four practices from the menu, with their services listed */
.sg-grid.sg-grid--practices { grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.sg-card--practice { cursor: default; }
.sg-card--practice:hover { transform: translateY(-6px); }
.sg-card__imglink { display: block; overflow: hidden; }
.sg-card--practice .sg-card__img { height: 170px; }
.sg-card--practice .sg-card__num { top: 146px; width: 48px; height: 48px; font-size: 1.05rem; }
.sg-card--practice .sg-card__body { padding: 40px 22px 22px; }
.sg-card--practice .sg-card__body h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; }
.sg-card--practice .sg-card__body h3 a { color: var(--brand-primary) !important; text-decoration: none; }
.sg-card--practice .sg-card__body h3 a:hover { color: var(--brand-secondary) !important; }
.sg-card--practice .sg-card__body p { font-size: 0.92rem; line-height: 1.55; margin-bottom: 16px; }
.sg-list { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid #e3e6eb; }
.sg-list li { border-bottom: 1px solid #eef0f4; }
.sg-list a { display: flex; align-items: flex-start; gap: 10px; padding: 8px 2px; color: #24324f !important; font-size: 0.92rem; font-weight: 500; line-height: 1.35; text-decoration: none; transition: color 0.2s, padding-left 0.2s var(--tr-ease); }
.sg-list a i { flex: 0 0 18px; margin-top: 2px; color: var(--brand-primary); font-size: 0.8rem; text-align: center; }
.sg-list a:hover { color: var(--brand-secondary) !important; padding-left: 6px; }
.sg-list a:hover i { color: var(--brand-secondary); }

.sg-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; padding: 26px 34px; background: var(--brand-primary); color: #fff; border-bottom: 5px solid var(--brand-secondary); }
.sg-strip h3 { margin: 0 0 4px; color: #fff; font-size: 1.5rem; font-weight: 700; }
.sg-strip p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 1.02rem; }
.sg-strip__btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px; background: #fff; color: var(--brand-primary) !important; font-weight: 700; text-decoration: none; transition: background 0.2s, color 0.2s, gap 0.25s; }
.sg-strip__btn:hover { background: var(--brand-secondary); color: #fff !important; gap: 18px; }

@media (max-width: 1100px) { .sg-grid.sg-grid--practices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .sg-grid.sg-grid--practices { grid-template-columns: 1fr; } .sg-strip { flex-direction: column; align-items: flex-start; } }

.sg-card--practice .sg-card__cta { justify-content: flex-start; flex-wrap: wrap; row-gap: 2px; }
.sg-card--practice .sg-card__cta i { flex: none; }

/* =====================================================================
   v11 — WHITE HEADER with colour logo
===================================================================== */
@media (min-width: 992px) {
  #header, header#header {
    background: #fff !important;
    box-shadow: 0 2px 14px rgba(11, 42, 107, 0.10) !important;
    border-bottom: 1px solid #e3e8f2 !important;
  }
  #header::after { height: 3px; background: linear-gradient(90deg, #e11b22 0 120px, #17479e 120px 100%); }
  #header .logo img { filter: none !important; height: 46px !important; }

  #header .nav-links > li:not(.nav-cta):not(.nav-utilities) > .nav-link { color: #0b2a6b; }
  #header .nav-links > li > .nav-link .dropdown-icon { color: #8a99b8; }
  #header .nav-links > li:not(.nav-cta) > .nav-link:hover,
  #header .nav-links > li.has-megamenu:hover > .nav-link {
    background: #f1f5fc !important; color: #17479e !important; box-shadow: inset 0 -3px 0 #17479e !important;
  }
  #header .nav-links > li > .nav-link:hover .dropdown-icon,
  #header .nav-links > li.has-megamenu:hover > .nav-link .dropdown-icon { color: #e11b22; }
  #header .nav-links > li > .nav-link.is-current,
  #header .nav-links > li > .nav-link.is-current:hover { color: #17479e !important; box-shadow: inset 0 -3px 0 #e11b22 !important; }
  #header .nav-cta a { color: #fff !important; }
}

/* =====================================================================
   INDUSTRIES WE SERVE v7 — collage mosaic (mixed tile shapes)
===================================================================== */
@media (min-width: 1101px) {
  .ind5 .ind5-bento { grid-template-columns: repeat(4, 1fr) !important; grid-template-rows: repeat(4, 168px) !important; grid-auto-rows: 168px !important; gap: 14px !important; }
  .ind5 .ind5-bento .ind5-tile--1 { grid-column: 1 / 3 !important; grid-row: 1 / 3 !important; }
  .ind5 .ind5-bento .ind5-tile--2 { grid-column: 3 !important; grid-row: 1 !important; }
  .ind5 .ind5-bento .ind5-tile--3 { grid-column: 4 !important; grid-row: 1 / 3 !important; }
  .ind5 .ind5-bento .ind5-tile--4 { grid-column: 3 !important; grid-row: 2 !important; }
  .ind5 .ind5-bento .ind5-tile--5 { grid-column: 1 !important; grid-row: 3 / 5 !important; }
  .ind5 .ind5-bento .ind5-tile--6 { grid-column: 2 / 4 !important; grid-row: 3 !important; }
  .ind5 .ind5-bento .ind5-tile--7 { grid-column: 4 !important; grid-row: 3 / 5 !important; }
  .ind5 .ind5-bento .ind5-tile--8 { grid-column: 2 / 4 !important; grid-row: 4 !important; }

  /* feature tile: bigger type; small square tiles: description appears on hover */
  .ind5 .ind5-tile--1 .ind5-copy h3 { font-size: 1.9rem; }
  .ind5 .ind5-tile--1 .ind5-copy p { font-size: 1.05rem; max-width: 420px; }
  .ind5 .ind5-tile--2 .ind5-copy p, .ind5 .ind5-tile--4 .ind5-copy p { max-height: 0 !important; opacity: 0 !important; margin-top: 0 !important; transition: max-height 0.4s, opacity 0.3s, margin 0.3s; }
  .ind5 .ind5-tile--2:hover .ind5-copy p, .ind5 .ind5-tile--4:hover .ind5-copy p { max-height: 3.2em !important; opacity: 1 !important; margin-top: 8px !important; }
  .ind5 .ind5-tile--5 .ind5-copy p, .ind5 .ind5-tile--7 .ind5-copy p, .ind5 .ind5-tile--3 .ind5-copy p { -webkit-line-clamp: 4; }
  .ind5-tile--2 .ind5-icon, .ind5-tile--4 .ind5-icon { width: 38px; height: 38px; font-size: 0.95rem; }
}

/* =====================================================================
   v12 — ELEGANT HEADER: airy white bar, fine hover underline, soft pill CTA
===================================================================== */
@media (min-width: 992px) {
  #header, header#header {
    background: #fff !important;
    border-bottom: 0 !important;
    box-shadow: 0 1px 0 #e8ecf4, 0 14px 34px -18px rgba(11, 42, 107, 0.22) !important;
  }
  /* hairline gradient along the very top, replaces the heavy bottom accent */
  #header::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3; pointer-events: none;
    background: linear-gradient(90deg, #0b2a6b 0%, #17479e 55%, #4aa0f0 80%, #e11b22 100%);
  }
  #header::after { display: none !important; }
  #header .navbar { min-height: 92px !important; padding-top: 3px; }
  #header .logo img { height: 50px !important; }
  #header .logo { margin-right: 40px; }

  /* menu text */
  #header .nav-links { gap: 2px; }
  #header .nav-links > li:not(.nav-cta):not(.nav-utilities) > .nav-link {
    padding: 0 18px !important; font-size: 0.95rem !important; font-weight: 500 !important; letter-spacing: 0.025em;
    color: #1b2b4f !important; text-transform: none;
    background: linear-gradient(#17479e, #17479e) no-repeat center calc(100% - 0px) / 0 3px !important;
    box-shadow: none !important; transform: none !important;
    transition: color 0.25s ease, background-size 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  #header .nav-links > li:not(.nav-cta) > .nav-link:hover,
  #header .nav-links > li.has-megamenu:hover > .nav-link {
    color: #17479e !important; font-weight: 600 !important;
    background: linear-gradient(#17479e, #17479e) no-repeat center calc(100% - 0px) / calc(100% - 36px) 3px !important;
    box-shadow: none !important;
  }
  #header .nav-links > li > .nav-link.is-current,
  #header .nav-links > li > .nav-link.is-current:hover {
    color: #17479e !important; font-weight: 600 !important;
    background: linear-gradient(#e11b22, #e11b22) no-repeat center calc(100% - 0px) / calc(100% - 36px) 3px !important;
    box-shadow: none !important;
  }
  #header .nav-links > li > .nav-link .dropdown-icon { font-size: 0.55rem; margin-left: 7px; color: #9aa7c4; transition: transform 0.25s, color 0.25s; }
  #header .nav-links > li > .nav-link:hover .dropdown-icon,
  #header .nav-links > li.has-megamenu:hover > .nav-link .dropdown-icon { color: #17479e; transform: rotate(180deg); }

  /* Contact: soft navy pill, turns red on hover */
  #header .nav-links > li.nav-cta { margin-left: 22px; }
  #header .nav-cta a {
    background: #0b2a6b !important; color: #fff !important; border-radius: 999px !important;
    padding: 13px 26px !important; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em;
    box-shadow: 0 8px 20px -8px rgba(11, 42, 107, 0.6) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
  }
  #header .nav-cta a i { font-size: 0.72rem; transition: transform 0.3s ease; }
  #header .nav-cta a:hover { background: #e11b22 !important; transform: translateY(-1px) !important; box-shadow: 0 12px 24px -8px rgba(225, 27, 34, 0.6) !important; }
  #header .nav-cta a:hover i { transform: translateX(4px); }

  /* dropdown panels: softer corners and shadow */
  #header .mega-menu {
    border: 0 !important; border-top: 3px solid #17479e !important; border-radius: 0 0 10px 10px !important;
    box-shadow: 0 30px 60px -20px rgba(11, 42, 107, 0.35) !important;
  }
  .mm-panel, #servicesMegaMenu .mm-panel.mm-tri, #servicesMegaMenu .mm-panel { border-radius: 0 0 10px 10px !important; }
}

/* v12.1 — menu labels: BOLD + CAPS */
@media (min-width: 992px) {
  #header .nav-links > li:not(.nav-cta):not(.nav-utilities) > .nav-link,
  #header .nav-links > li:not(.nav-cta) > .nav-link:hover,
  #header .nav-links > li.has-megamenu:hover > .nav-link,
  #header .nav-links > li > .nav-link.is-current,
  #header .nav-links > li > .nav-link.is-current:hover {
    text-transform: uppercase !important; font-weight: 700 !important; font-size: 0.84rem !important; letter-spacing: 0.07em !important;
    padding-left: 15px !important; padding-right: 15px !important;
  }
  #header .nav-links > li:not(.nav-cta) > .nav-link:hover,
  #header .nav-links > li.has-megamenu:hover > .nav-link { background-size: calc(100% - 30px) 3px !important; }
  #header .nav-links > li > .nav-link.is-current,
  #header .nav-links > li > .nav-link.is-current:hover { background-size: calc(100% - 30px) 3px !important; }
  #header .nav-cta a { text-transform: uppercase; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; }
}


/* =====================================================================
   INDUSTRIES WE SERVE v8 — expanding panels with animated reveal
===================================================================== */
.ind6-row { display: flex; gap: 10px; height: 540px; }
.ind6-panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; display: block; color: #fff !important; text-decoration: none; isolation: isolate;
  background: #0b2a6b; cursor: pointer; opacity: 0; transform: translateY(46px);
  transition: flex-grow 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s;
}
.ind6-row.is-in .ind6-panel { animation: ind6In 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i) * 90ms); }
.ind6-panel.is-active { flex-grow: 6.2; box-shadow: 0 24px 50px -18px rgba(11, 42, 107, 0.55); }

/* photo: zoomed out when collapsed, slow pan when open */
.ind6-bg { position: absolute; inset: -4%; z-index: -2; background-size: cover; background-position: center; transform: scale(1.18); filter: saturate(0.55) brightness(0.8); transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s; }
.ind6-panel.is-active .ind6-bg { transform: scale(1); filter: none; animation: ind6Pan 14s ease-in-out infinite alternate 1.4s; }
.ind6-panel:hover .ind6-bg { filter: saturate(0.9) brightness(0.95); }
.ind6-panel.is-active:hover .ind6-bg { filter: none; }

.ind6-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 42, 107, 0.35) 0%, rgba(11, 42, 107, 0.78) 100%); transition: background 0.7s; }
.ind6-panel.is-active .ind6-shade { background: linear-gradient(0deg, rgba(8, 25, 70, 0.92) 0%, rgba(11, 42, 107, 0.45) 45%, rgba(11, 42, 107, 0.05) 100%); }
/* light sweep each time a panel opens */
.ind6-panel::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 0; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent); transform: skewX(-18deg); pointer-events: none; opacity: 0; }
.ind6-panel.is-active::after { animation: ind6Sweep 1.1s ease 0.15s 1; }

.ind6-num { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.85); transition: left 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), font-size 0.5s, color 0.5s; }
.ind6-panel.is-active .ind6-num { left: 32px; transform: none; font-size: 1.5rem; color: #ff5a5f; }

/* collapsed: vertical label */
.ind6-vtitle { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; white-space: nowrap; font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; transition: opacity 0.35s, transform 0.5s; }
.ind6-panel.is-active .ind6-vtitle { opacity: 0; transform: translateX(-50%) rotate(180deg) translateY(-24px); pointer-events: none; }

/* expanded: staggered reveal */
.ind6-body { position: absolute; left: 32px; right: 32px; bottom: 34px; display: flex; flex-direction: column; align-items: flex-start; pointer-events: none; }
.ind6-body > * { opacity: 0; transform: translateY(26px); transition: opacity 0.2s, transform 0.2s; }
.ind6-panel.is-active .ind6-body > * { opacity: 1; transform: none; transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ind6-panel.is-active .ind6-icon { transition-delay: 0.30s; }
.ind6-panel.is-active .ind6-title { transition-delay: 0.40s; }
.ind6-panel.is-active .ind6-desc { transition-delay: 0.50s; }
.ind6-panel.is-active .ind6-more { transition-delay: 0.60s; }

.ind6-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-secondary, #e11b22); color: #fff; font-size: 1.3rem; }
.ind6-panel.is-active .ind6-icon { animation: ind6Pulse 2.6s ease-in-out 1.2s infinite; }
.ind6-title { font-size: clamp(1.5rem, 2.2vw, 2.15rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; max-width: 460px; }
.ind6-desc { font-size: 1.08rem; line-height: 1.6; color: rgba(255, 255, 255, 0.92); max-width: 440px; margin-bottom: 22px; }
.ind6-more { display: inline-flex; align-items: center; gap: 12px; padding: 13px 24px; background: #fff; color: var(--brand-primary, #17479e); font-weight: 700; font-size: 0.95rem; }
.ind6-more i { transition: transform 0.3s; }
.ind6-panel:hover .ind6-more i { transform: translateX(5px); }

/* auto-play progress */
.ind6-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; z-index: 2; background: var(--brand-secondary, #e11b22); animation: ind6Fill 4.5s linear forwards; }

@keyframes ind6In { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
@keyframes ind6Pan { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
@keyframes ind6Sweep { from { left: -60%; opacity: 1; } to { left: 130%; opacity: 1; } }
@keyframes ind6Pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(225, 27, 34, 0.55); } 60% { box-shadow: 0 0 0 16px rgba(225, 27, 34, 0); } }
@keyframes ind6Fill { from { width: 0; } to { width: 100%; } }

/* tablet / phone: stacked accordion */
@media (max-width: 900px) {
  .ind6-row { flex-direction: column; height: auto; gap: 8px; }
  .ind6-panel { flex: none; height: 78px; transition: height 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .ind6-panel.is-active { height: 320px; }
  .ind6-num { top: 50%; left: 20px; transform: translateY(-50%); }
  .ind6-panel.is-active .ind6-num { top: 18px; left: 20px; transform: none; }
  .ind6-vtitle { writing-mode: horizontal-tb; transform: translateY(-50%); left: 64px; top: 50%; bottom: auto; }
  .ind6-panel.is-active .ind6-vtitle { transform: translateY(-50%); }
  .ind6-body { left: 20px; right: 20px; bottom: 22px; }
  .ind6-desc { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ind6-panel, .ind6-bg, .ind6-body > * { transition: none !important; animation: none !important; opacity: 1; transform: none; }
  .ind6-bar, .ind6-panel::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ind6-panel:not(.is-active) .ind6-body > * { opacity: 0 !important; } .ind6-panel { opacity: 1 !important; } }


/* =====================================================================
   INDUSTRIES WE SERVE v9 — showcase: numbered list + animated stage
===================================================================== */
.ind7-wrap { display: grid; grid-template-columns: 370px 1fr; gap: 30px; height: 580px; }

/* ---------- list ---------- */
.ind7-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 3; }
.ind7-list li { flex: 1 1 0; min-height: 0; opacity: 0; transform: translateX(-34px); }
.ind7-wrap.is-in .ind7-list li { animation: ind7ListIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i) * 70ms); }
.ind7-item {
  position: relative; display: flex; align-items: center; gap: 16px; width: 100%; height: 100%; padding: 0 22px; text-align: left; cursor: pointer;
  background: #fff; color: #0b2a6b; border: 1px solid #e3e8f2; border-left: 4px solid #d5dcec; font-family: inherit;
  transition: background 0.35s ease, color 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}
.ind7-item__n { font-size: 0.95rem; font-weight: 800; letter-spacing: 0.08em; color: #9aa8c6; min-width: 26px; transition: color 0.3s; }
.ind7-item__t { flex: 1; font-size: 1rem; font-weight: 700; line-height: 1.25; }
.ind7-item__i { font-size: 1.05rem; color: #b6c1da; transition: color 0.3s, transform 0.4s; }
.ind7-item:hover { border-left-color: #17479e; transform: translateX(6px); }
.ind7-item:hover .ind7-item__i { color: #17479e; }
.ind7-item.is-active {
  background: linear-gradient(100deg, #0b2a6b, #17479e); color: #fff; border-color: #0b2a6b; border-left-color: #e11b22;
  transform: translateX(16px); box-shadow: 0 18px 36px -14px rgba(11, 42, 107, 0.6); z-index: 2;
}
.ind7-item.is-active .ind7-item__n { color: #ff6a6f; }
.ind7-item.is-active .ind7-item__i { color: #fff; transform: scale(1.2) rotate(-8deg); }
.ind7-item.is-active::after { content: ''; position: absolute; right: -9px; top: 50%; margin-top: -9px; width: 18px; height: 18px; background: #17479e; transform: rotate(45deg); }
.ind7-item__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #e11b22; animation: ind7Fill 5.2s linear forwards; }

/* ---------- stage ---------- */
.ind7-stage { position: relative; overflow: hidden; background: #0b2a6b; opacity: 0; transform: scale(0.96); box-shadow: 0 30px 60px -24px rgba(11, 42, 107, 0.55); }
.ind7-wrap.is-in .ind7-stage { animation: ind7StageIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both; }

.ind7-slide { position: absolute; inset: 0; z-index: 1; clip-path: inset(0 0 0 100%); }
.ind7-slide.is-leaving { clip-path: inset(0); z-index: 1; }
.ind7-slide.is-active { clip-path: inset(0); z-index: 2; transition: clip-path 1.05s cubic-bezier(0.77, 0, 0.18, 1); }
.ind7-photo { position: absolute; inset: -3%; background-size: cover; background-position: center; transform: scale(1.22); }
.ind7-slide.is-active .ind7-photo { transform: scale(1); transition: transform 2.6s cubic-bezier(0.2, 0.8, 0.2, 1); animation: ind7Pan 16s ease-in-out 2.6s infinite alternate; }
.ind7-slide.is-leaving .ind7-photo { transform: scale(1.04); }
.ind7-tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 25, 70, 0.78) 0%, rgba(11, 42, 107, 0.35) 55%, rgba(11, 42, 107, 0.05) 100%), linear-gradient(0deg, rgba(8, 25, 70, 0.7) 0%, rgba(8, 25, 70, 0) 45%); }

/* giant outlined number */
.ind7-bignum {
  position: absolute; z-index: 4; top: 8px; right: 34px; font-size: clamp(7rem, 13vw, 12rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55); pointer-events: none; animation: ind7Num 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both;
}

/* drawn corner brackets */
.ind7-corner { position: absolute; z-index: 4; width: 0; height: 0; border: 0 solid rgba(255, 255, 255, 0.85); pointer-events: none; }
.ind7-corner--tl { top: 22px; left: 22px; border-top-width: 3px; border-left-width: 3px; }
.ind7-corner--br { right: 22px; bottom: 22px; border-bottom-width: 3px; border-right-width: 3px; }
.ind7-wrap.is-in .ind7-corner { animation: ind7Corner 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s forwards; }

/* info card */
.ind7-card {
  position: absolute; z-index: 5; left: 40px; bottom: 44px; width: min(500px, calc(100% - 80px)); padding: 30px 34px 32px;
  background: rgba(8, 25, 70, 0.74); backdrop-filter: blur(10px); border-left: 4px solid #e11b22; color: #fff;
  animation: ind7Card 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s both;
}
.ind7-card > * { animation: ind7Up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.ind7-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; background: #e11b22; color: #fff; font-size: 1.25rem; animation-delay: 0.7s; }
.ind7-card__icon { animation: ind7Up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s both, ind7Pulse 2.8s ease-in-out 1.6s infinite; }
.ind7-card h3 { margin: 0 0 10px; color: #fff !important; font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; animation-delay: 0.8s; }
.ind7-card p { margin: 0 0 22px; color: rgba(255, 255, 255, 0.92); font-size: 1.08rem; line-height: 1.6; animation-delay: 0.9s; }
.ind7-card__btn { display: inline-flex; align-items: center; gap: 12px; padding: 13px 26px; background: #fff; color: #0b2a6b !important; font-weight: 700; font-size: 0.95rem; text-decoration: none; animation-delay: 1s; transition: background 0.25s, color 0.25s, gap 0.25s; }
.ind7-card__btn:hover { background: #e11b22; color: #fff !important; gap: 18px; }

.ind7-dots { position: absolute; z-index: 5; right: 40px; bottom: 36px; display: flex; gap: 7px; }
.ind7-dots span { width: 8px; height: 8px; background: rgba(255, 255, 255, 0.45); transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s; }
.ind7-dots span.is-active { width: 30px; background: #e11b22; }

@keyframes ind7ListIn { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
@keyframes ind7StageIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes ind7Fill { from { width: 0; } to { width: 100%; } }
@keyframes ind7Pan { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.09) translate(-1.6%, -1%); } }
@keyframes ind7Num { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes ind7Corner { to { width: 74px; height: 74px; } }
@keyframes ind7Card { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes ind7Up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ind7Pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(225, 27, 34, 0.6); } 60% { box-shadow: 0 0 0 16px rgba(225, 27, 34, 0); } }

/* tablet / phone: stage on top, list below as a 2-column grid */
@media (max-width: 991px) {
  .ind7-wrap { grid-template-columns: 1fr; height: auto; gap: 18px; }
  .ind7-stage { order: -1; height: 460px; }
  .ind7-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ind7-list li { flex: none; height: 62px; }
  .ind7-item { padding: 0 14px; gap: 10px; }
  .ind7-item__t { font-size: 0.88rem; }
  .ind7-item.is-active { transform: none; }
  .ind7-item.is-active::after { display: none; }
  .ind7-bignum { font-size: 6rem; right: 16px; }
  .ind7-card { left: 16px; bottom: 18px; width: calc(100% - 32px); padding: 20px 22px; }
  .ind7-card p { font-size: 0.98rem; margin-bottom: 14px; }
  .ind7-dots { display: none; }
}
@media (max-width: 575px) { .ind7-list { grid-template-columns: 1fr; } .ind7-stage { height: 420px; } }
@media (prefers-reduced-motion: reduce) {
  .ind7-list li, .ind7-stage { opacity: 1 !important; transform: none !important; animation: none !important; }
  .ind7-slide.is-active { transition: none; }
  .ind7-photo, .ind7-card, .ind7-card > *, .ind7-bignum, .ind7-corner { animation: none !important; }
  .ind7-corner { width: 74px; height: 74px; }
  .ind7-item__bar { display: none; }
}


/* =====================================================================
   OUR SERVICES v7 — interactive practice rows, photo wipes in on hover
===================================================================== */
.sv-list { border-top: 1px solid #d9e0ee; }
.sv-row {
  position: relative; isolation: isolate; overflow: hidden; background: #fff; border-bottom: 1px solid #d9e0ee;
  opacity: 0; transform: translateY(50px); transition: box-shadow 0.5s ease;
}
.sv-list.is-in .sv-row { animation: svIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i) * 140ms); }

/* photo + navy veil revealed left to right */
.sv-row::before, .sv-row::after { content: ''; position: absolute; inset: 0; z-index: -2; clip-path: inset(0 100% 0 0); transition: clip-path 0.85s cubic-bezier(0.77, 0, 0.18, 1); }
.sv-row::before { background: var(--img) center / cover no-repeat; transform: scale(1.06); }
.sv-row::after { z-index: -1; background: linear-gradient(95deg, rgba(8, 25, 70, 0.96) 0%, rgba(11, 42, 107, 0.9) 45%, rgba(11, 42, 107, 0.7) 100%); }
.sv-row:hover::before, .sv-row:hover::after, .sv-row:focus-within::before, .sv-row:focus-within::after { clip-path: inset(0); }
.sv-row:hover { box-shadow: 0 26px 50px -24px rgba(11, 42, 107, 0.6); z-index: 2; }

/* accent bar grows from the top on hover */
.sv-bar { position: absolute; left: 0; top: 0; width: 6px; height: 100%; background: var(--acc); transform: scaleY(0.22); transform-origin: top; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sv-row:hover .sv-bar, .sv-row:focus-within .sv-bar { transform: scaleY(1); }

.sv-grid { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.3fr); gap: 34px; align-items: start; padding: 40px 40px 40px 34px; }

/* big outlined number */
.sv-n { font-size: 4.6rem; font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 2px var(--acc); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), -webkit-text-stroke-color 0.4s; }
.sv-row:hover .sv-n { -webkit-text-stroke-color: #fff; transform: translateX(8px) scale(1.04); }

.sv-title h3 { margin: 0 0 12px; font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.sv-title h3 a { color: var(--brand-primary, #17479e) !important; text-decoration: none; transition: color 0.35s; }
.sv-row:hover .sv-title h3 a { color: #fff !important; }
.sv-title p { margin: 0 0 20px; max-width: 440px; font-size: 1.02rem; line-height: 1.65; color: var(--tr-body, #4a4a4a); transition: color 0.35s; }
.sv-row:hover .sv-title p { color: rgba(255, 255, 255, 0.9); }
.sv-more { display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 700; color: var(--brand-secondary, #e11b22) !important; text-decoration: none; transition: color 0.35s, gap 0.3s; }
.sv-more i { font-size: 0.8rem; }
.sv-row:hover .sv-more { color: #fff !important; gap: 16px; }

/* service chips */
.sv-chips { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sv-chips li { opacity: 1; }
.sv-chips a {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; font-size: 0.92rem; font-weight: 600; line-height: 1.25; text-decoration: none;
  color: #1b2b4f !important; background: #f2f5fb; border: 1px solid #dde4f1;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sv-chips a i { color: var(--acc); font-size: 0.82rem; transition: color 0.3s; }
.sv-chips a:hover { background: var(--acc) !important; border-color: var(--acc); color: #fff !important; transform: translateY(-3px); }
.sv-chips a:hover i { color: #fff; }
.sv-row:hover .sv-chips a { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.35); color: #fff !important; }
.sv-row:hover .sv-chips a i { color: #fff; }
.sv-row:hover .sv-chips a:hover { background: #fff !important; border-color: #fff; color: #0b2a6b !important; }
.sv-row:hover .sv-chips a:hover i { color: var(--acc); }
/* chips cascade in when a row is hovered */
.sv-row:hover .sv-chips li { animation: svChip 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.sv-row:hover .sv-chips li:nth-child(1) { animation-delay: 0.05s; } .sv-row:hover .sv-chips li:nth-child(2) { animation-delay: 0.09s; }
.sv-row:hover .sv-chips li:nth-child(3) { animation-delay: 0.13s; } .sv-row:hover .sv-chips li:nth-child(4) { animation-delay: 0.17s; }
.sv-row:hover .sv-chips li:nth-child(5) { animation-delay: 0.21s; } .sv-row:hover .sv-chips li:nth-child(6) { animation-delay: 0.25s; }
.sv-row:hover .sv-chips li:nth-child(7) { animation-delay: 0.29s; } .sv-row:hover .sv-chips li:nth-child(8) { animation-delay: 0.33s; }
.sv-row:hover .sv-chips li:nth-child(n+9) { animation-delay: 0.37s; }

@keyframes svIn { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: none; } }
@keyframes svChip { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

.sg2 .sg-strip { margin-top: 34px; }

@media (max-width: 991px) {
  .sv-grid { grid-template-columns: 70px minmax(0, 1fr); gap: 18px 20px; padding: 28px 20px 28px 22px; }
  .sv-n { font-size: 3rem; }
  .sv-chips { grid-column: 1 / -1; }
  .sv-title h3 { font-size: 1.6rem; }
}
@media (max-width: 575px) {
  .sv-grid { grid-template-columns: 1fr; }
  .sv-n { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-row { opacity: 1 !important; transform: none !important; animation: none !important; }
  .sv-row::before, .sv-row::after, .sv-bar, .sv-n, .sv-chips li { transition: none !important; animation: none !important; }
}


/* =====================================================================
   OUR SERVICES v8 — tabbed showcase: practice tabs, photo panel, service cards
===================================================================== */
.st-wrap { background: #fff; box-shadow: 0 30px 60px -30px rgba(11, 42, 107, 0.35); opacity: 0; transform: translateY(40px); }
.st-wrap.is-in { animation: stIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* tabs */
.st-tabs { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); border-bottom: 1px solid #dde4f1; background: #f5f7fb; }
.st-tab {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; cursor: pointer;
  padding: 22px 24px; background: transparent; border: 0; border-right: 1px solid #e6ebf5; font-family: inherit; color: #7a88a8;
  transition: background 0.35s ease, color 0.35s ease;
}
.st-tab:last-of-type { border-right: 0; }
.st-tab__n { grid-row: 1 / 3; font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px #b6c2dc; transition: -webkit-text-stroke-color 0.35s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.st-tab__t { font-size: 1.12rem; font-weight: 800; line-height: 1.2; color: inherit; }
.st-tab__c { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: #9aa7c4; transition: color 0.35s; }
.st-tab:hover { background: #fff; color: #17479e; }
.st-tab.is-active { background: #fff; color: #0b2a6b; }
.st-tab.is-active .st-tab__n { -webkit-text-stroke-color: var(--acc); transform: scale(1.08); }
.st-tab.is-active .st-tab__c { color: var(--acc); }

/* sliding underline / timer */
.st-ind { position: absolute; left: 0; bottom: -1px; height: 4px; width: calc(100% / var(--n)); background: #d6deee; transform: translateX(calc(var(--a) * 100%)); transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1); overflow: hidden; }
.st-ind__fill { display: block; height: 100%; width: 100%; background: var(--acc); transform-origin: left; transform: scaleX(1); transition: background 0.4s; }
.st-ind__fill.is-run { animation: stFill 7s linear forwards; }

/* panel */
.st-panel { display: grid; grid-template-columns: 460px 1fr; min-height: 470px; animation: stPanel 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

.st-photo { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; color: #fff; background-size: cover; background-position: center; isolation: isolate; }
.st-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 25, 70, 0.94) 0%, rgba(11, 42, 107, 0.55) 55%, rgba(11, 42, 107, 0.15) 100%); }
.st-photo { animation: stZoom 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.st-photo::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--acc); transform-origin: top; animation: stBar 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }
.st-photo__num { position: absolute; top: 14px; right: 24px; font-size: 7.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.5); animation: stNum 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both; }
.st-photo__txt > * { animation: stUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.st-photo__txt h3 { margin: 0 0 10px; color: #fff !important; font-size: 2.1rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; animation-delay: 0.3s; }
.st-photo__txt p { margin: 0 0 22px; max-width: 380px; color: rgba(255, 255, 255, 0.92); font-size: 1.02rem; line-height: 1.6; animation-delay: 0.4s; }
.st-photo__btn { display: inline-flex; align-items: center; gap: 12px; padding: 13px 24px; background: #fff; color: #0b2a6b !important; font-weight: 700; font-size: 0.94rem; text-decoration: none; animation-delay: 0.5s; transition: background 0.25s, color 0.25s, gap 0.25s; }
.st-photo__btn:hover { background: var(--acc); color: #fff !important; gap: 18px; }

/* service cards */
.st-cards { list-style: none; margin: 0; padding: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: center; }
.st-cards li { animation: stCard 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.25s + var(--d) * 70ms); }
.st-card {
  position: relative; display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; overflow: hidden; text-decoration: none;
  background: #f7f9fd; border: 1px solid #e0e6f2; color: #1b2b4f !important; font-size: 0.98rem; font-weight: 700; line-height: 1.3;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s, border-color 0.35s, color 0.35s;
}
.st-card::before { content: ''; position: absolute; inset: 0; z-index: 0; background: var(--acc); transform: translateX(-101%); transition: transform 0.45s cubic-bezier(0.77, 0, 0.18, 1); }
.st-card > * { position: relative; z-index: 1; }
.st-card__i { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; background: #fff; color: var(--acc); font-size: 1rem; box-shadow: 0 4px 12px -6px rgba(11, 42, 107, 0.4); transition: background 0.3s, color 0.3s, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.st-card__t { flex: 1; }
.st-card__go { font-size: 0.8rem; opacity: 0; transform: translateX(-8px); transition: opacity 0.3s, transform 0.3s; }
.st-card:hover { transform: translateY(-4px); border-color: var(--acc); box-shadow: 0 16px 30px -14px rgba(11, 42, 107, 0.5); color: #fff !important; }
.st-card:hover::before { transform: none; }
.st-card:hover .st-card__i { background: rgba(255, 255, 255, 0.2); color: #fff; transform: rotate(-8deg) scale(1.08); }
.st-card:hover .st-card__go { opacity: 1; transform: none; }

@keyframes stIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes stPanel { from { opacity: 0; } to { opacity: 1; } }
@keyframes stFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes stZoom { from { background-size: 125%; } to { background-size: 100%; } }
@keyframes stBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes stNum { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: none; } }
@keyframes stUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes stCard { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }

@media (max-width: 991px) {
  .st-tabs { grid-template-columns: 1fr 1fr; }
  .st-tab { padding: 16px 16px; }
  .st-tab__n { font-size: 1.7rem; }
  .st-ind { display: none; }
  .st-tab.is-active { box-shadow: inset 0 -4px 0 var(--acc); }
  .st-panel { grid-template-columns: 1fr; }
  .st-photo { min-height: 320px; }
  .st-photo__num { font-size: 5rem; }
  .st-cards { padding: 20px; }
}
@media (max-width: 575px) { .st-cards { grid-template-columns: 1fr; } .st-tab__c { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .st-wrap, .st-panel, .st-photo, .st-photo::after, .st-photo__num, .st-photo__txt > *, .st-cards li { opacity: 1 !important; transform: none !important; animation: none !important; }
  .st-ind__fill { animation: none !important; }
}

/* v8.1 — photo on its own layer so the zoom never tiles the image */
.st-photo { animation: none !important; background: none !important; }
.st-photo__img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; background-repeat: no-repeat; animation: stImgZoom 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes stImgZoom { from { transform: scale(1.25); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .st-photo__img { animation: none !important; } }


/* =====================================================================
   KEY METRICS v9 — dark glass bento with ring, spotlight and counters
===================================================================== */
.kh.kh2 {
  padding: 100px 0 110px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(160deg, #061a4d 0%, #0b2a6b 55%, #123a85 100%);
}
.kh2-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.kh2-orb--a { width: 460px; height: 460px; left: -120px; top: -120px; background: rgba(74, 160, 240, 0.35); animation: kh2Float 14s ease-in-out infinite alternate; }
.kh2-orb--b { width: 420px; height: 420px; right: -100px; bottom: -140px; background: rgba(225, 27, 34, 0.28); animation: kh2Float 17s ease-in-out infinite alternate-reverse; }
.kh2 .container { position: relative; z-index: 1; }

.kh2 .kh-head { text-align: center; max-width: 820px; margin: 0 auto 58px; }
.kh2 .kh-head h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); }
.kh2 .kh-head h2 em { display: block; }

/* bento grid: hero 2x2, four tiles beside it, three on the last row */
.km2-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; }
.km2-hero { grid-column: 1 / 3; grid-row: 1 / 3; }
.km2-t7 { grid-column: 3 / 5; }

.km2-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 26px 26px; margin: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px); color: #fff; isolation: isolate;
}
.kh2 .km-item { opacity: 0; transform: translateY(34px) scale(0.94); transition: opacity 0.8s var(--tr-ease), transform 0.8s var(--tr-ease), border-color 0.4s, box-shadow 0.4s; }
.kh2 .km-item.km-in { opacity: 1; transform: none; }
.kh2 .km2-tile.km-in:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.5); box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.6); transition-delay: 0s !important; }

/* cursor spotlight */
.km2-glow { position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(120, 190, 255, 0.28), transparent 65%); transition: opacity 0.4s; }
.km2-tile:hover .km2-glow { opacity: 1; }

.km2-icon { position: absolute; top: 22px; left: 24px; width: 46px; height: 46px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; font-size: 1.15rem; transition: background 0.35s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.km2-tile:hover .km2-icon { background: var(--brand-secondary, #e11b22); border-color: var(--brand-secondary, #e11b22); transform: rotate(-10deg) scale(1.1); }

.km2-value { display: flex; align-items: baseline; line-height: 0.95; }
.km2-value .km-num { font-size: 3.6rem; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: #fff; }
.km2-plus { margin-left: 4px; font-size: 2rem; font-weight: 800; color: #ff5a5f; }
.km2-tile h3 { margin: 10px 0 0; max-width: 230px; font-size: 0.82rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.88) !important; }

/* underline sweeps in with the tile, grows on hover */
.km2-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #e11b22, #4aa0f0); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s; }
.km2-tile.km-in .km2-bar { transform: scaleX(0.35); }
.km2-tile.km-in:hover .km2-bar { transform: scaleX(1); transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* hero tile */
.km2-hero { padding: 34px 38px 38px; background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)); border-color: rgba(255, 255, 255, 0.28); }
.km2-hero .km2-icon { top: 32px; left: 36px; width: 56px; height: 56px; font-size: 1.4rem; background: var(--brand-secondary, #e11b22); border-color: var(--brand-secondary, #e11b22); }
.km2-hero .km2-value .km-num { font-size: clamp(7rem, 11vw, 10.5rem); letter-spacing: -0.06em; }
.km2-hero .km2-plus { font-size: clamp(3rem, 5vw, 4.8rem); margin-left: 6px; }
.km2-hero h3 { font-size: 1.05rem; letter-spacing: 0.16em; max-width: none; margin-top: 14px; }
.km2-ring { position: absolute; z-index: -1; right: -90px; top: -90px; width: 380px; height: 380px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, 0.28); animation: kh2Spin 40s linear infinite; }
.km2-ring--b { right: -30px; top: -30px; width: 260px; height: 260px; border: 2px solid rgba(255, 90, 95, 0.55); border-right-color: transparent; border-bottom-color: transparent; animation: kh2Spin 14s linear infinite reverse; }

@keyframes kh2Spin { to { transform: rotate(360deg); } }
@keyframes kh2Float { from { transform: translate(0, 0); } to { transform: translate(60px, 40px); } }

@media (max-width: 1100px) {
  .km2-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 176px; }
  .km2-hero { grid-column: 1 / 3; grid-row: auto; min-height: 280px; }
  .km2-t7 { grid-column: 1 / 3; }
}
@media (max-width: 575px) {
  .km2-grid { grid-template-columns: 1fr 1fr; gap: 10px; grid-auto-rows: 160px; }
  .km2-value .km-num { font-size: 2.6rem; }
  .km2-tile h3 { font-size: 0.72rem; }
  .km2-tile { padding: 18px 16px; }
  .km2-icon { top: 14px; left: 14px; width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .kh2 .km-item { opacity: 1; transform: none; transition: none; }
  .km2-ring, .kh2-orb { animation: none; }
  .km2-bar { transform: scaleX(0.35) !important; transition: none; }
}

/* v9.1 — Key Metrics: left-aligned tiles, heading underline fits the text */
.kh2 .km2-tile { align-items: flex-start; text-align: left; }
.kh2 .km2-value { justify-content: flex-start; }
.kh2 .kh-head h2 em { display: inline-block; }

.kh2 .km2-tile:not(.km2-hero) .km2-icon { left: auto; right: 20px; top: 20px; }


/* =====================================================================
   KEY METRICS v10 — light corporate gauges: ring draws around an icon, number counts up
===================================================================== */
.kh.kh3 {
  padding: 100px 0 110px; color: #1b2b4f;
  background:
    radial-gradient(circle at 1px 1px, rgba(23, 71, 158, 0.12) 1px, transparent 0) 0 0 / 26px 26px,
    linear-gradient(180deg, #ffffff 0%, #eef2fa 100%);
}
.kh3 .kh-head { text-align: center; max-width: 820px; margin: 0 auto 58px; }
.kh3 .kh-eyebrow { background: transparent !important; color: var(--brand-secondary, #e11b22) !important; padding: 0; }
.kh3 .kh-head h2 { color: var(--brand-primary, #17479e) !important; font-size: clamp(2rem, 3.4vw, 3.1rem); }
.kh3 .kh-head h2 em { display: inline-block; color: var(--brand-secondary, #e11b22) !important; box-shadow: none !important; }

.km3-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.km3-card {
  position: relative; overflow: hidden; margin: 0; padding: 38px 20px 30px; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid #e0e6f2; box-shadow: 0 14px 30px -22px rgba(11, 42, 107, 0.45);
}
.kh3 .km-item { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--tr-ease), transform 0.8s var(--tr-ease), box-shadow 0.4s, border-color 0.4s; }
.kh3 .km-item.km-in { opacity: 1; transform: none; }
.kh3 .km3-card.km-in:hover { transform: translateY(-8px); border-color: var(--acc); box-shadow: 0 28px 44px -22px rgba(11, 42, 107, 0.55); transition-delay: 0s !important; }

/* coloured top edge wipes in */
.km3-top { position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s; }
.km3-card.km-in .km3-top { transform: scaleX(1); }
.km3-idx { position: absolute; top: 16px; left: 18px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; color: #b7c2dc; }

/* gauge */
.km3-gauge { position: relative; width: 138px; height: 138px; margin-bottom: 20px; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.km3-gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.km3-track { fill: none; stroke: #e6ebf5; stroke-width: 8; }
.km3-prog { fill: none; stroke: var(--acc); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset 2.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s; }
.km3-card.km-in .km3-prog { stroke-dashoffset: calc(326.73 * (1 - var(--p))); }
.km3-card:hover .km3-gauge { transform: rotate(360deg) scale(1.04); }
.km3-card:hover .km3-icon { transform: rotate(-360deg); }
.km3-icon {
  position: absolute; inset: 22px; display: grid; place-items: center; border-radius: 50%;
  background: color-mix(in srgb, var(--acc) 10%, #fff); color: var(--acc); font-size: 2rem; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s, color 0.35s;
}
.km3-card:hover .km3-icon { background: var(--acc); color: #fff; }

.km3-value { display: flex; align-items: baseline; justify-content: center; line-height: 1; color: var(--brand-primary, #17479e); }
.km3-value .km-num { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.km3-plus { margin-left: 3px; font-size: 1.9rem; font-weight: 800; color: var(--acc); }
.km3-card h3 { margin: 14px 0 0; min-height: 2.9em; max-width: 210px; font-size: 0.8rem; font-weight: 700; line-height: 1.45; letter-spacing: 0.09em; text-transform: uppercase; color: #4a5a78 !important; }

@media (max-width: 1100px) { .km3-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) {
  .km3-grid { gap: 12px; }
  .km3-card { padding: 30px 10px 22px; }
  .km3-gauge { width: 104px; height: 104px; }
  .km3-icon { inset: 16px; font-size: 1.5rem; }
  .km3-value .km-num { font-size: 2.4rem; }
  .km3-card h3 { font-size: 0.7rem; letter-spacing: 0.05em; }
}
@media (prefers-reduced-motion: reduce) {
  .kh3 .km-item { opacity: 1; transform: none; transition: none; }
  .km3-prog { transition: none; stroke-dashoffset: calc(326.73 * (1 - var(--p))); }
  .km3-top { transition: none; transform: scaleX(1); }
  .km3-card:hover .km3-gauge, .km3-card:hover .km3-icon { transform: none; }
}


/* =====================================================================
   KEY METRICS v11 — cinematic: photo backdrop, ruled grid, odometer digits that roll
===================================================================== */
.kh.kh4 { position: relative; padding: 110px 0 120px; overflow: hidden; background: #061a4d; color: #fff; }
.kh4-bg {
  position: absolute; inset: -6%; z-index: 0;
  background: url('/assets/images/solidpro/banner/home/vision-style1-bg-1.jpg') center / cover no-repeat;
  filter: blur(2px) saturate(1.1); transform: scale(1.1); animation: kh4Drift 30s ease-in-out infinite alternate;
}
.kh4-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 26, 77, 0.9) 0%, rgba(11, 42, 107, 0.86) 55%, rgba(6, 26, 77, 0.94) 100%); }
.kh4 .container { position: relative; z-index: 1; }

/* heading + rule */
.kh4-head { margin-bottom: 64px; }
.kh4-head .kh-head, .kh4-head > div { max-width: 780px; }
.kh4 .kh-eyebrow { margin-bottom: 18px; }
.kh4 h2 { margin: 0; color: #fff !important; font-size: clamp(2.1rem, 3.8vw, 3.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
.kh4 h2 em { display: inline-block; font-style: normal; color: #fff !important; box-shadow: inset 0 -0.16em 0 var(--brand-secondary, #e11b22) !important; }
.kh4-rule { display: block; height: 1px; margin-top: 40px; background: rgba(255, 255, 255, 0.22); position: relative; overflow: hidden; }
.kh4-rule::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--brand-secondary, #e11b22); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(0.77, 0, 0.18, 1); }
.kh4.is-in .kh4-rule::after { transform: scaleX(0.18); }

/* ruled grid: no cards, only hairlines */
.kh4-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.2); border-left: 1px solid rgba(255, 255, 255, 0.2); }
.kh4-cell {
  position: relative; margin: 0; padding: 46px 30px 42px; overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--tr-ease), transform 0.8s var(--tr-ease), background 0.4s;
  transition-delay: calc(var(--i) * 90ms), calc(var(--i) * 90ms), 0s;
}
.kh4.is-in .kh4-cell { opacity: 1; transform: none; }
.kh4-cell:hover { background: rgba(255, 255, 255, 0.07); }

/* line that draws across the top of each cell */
.kh4-line { position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--brand-secondary, #e11b22); transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1); transition-delay: calc(0.4s + var(--i) * 90ms); }
.kh4.is-in .kh4-line { transform: scaleX(0.28); }
.kh4-cell:hover .kh4-line { transform: scaleX(1); transition-delay: 0s; transition-duration: 0.6s; }

.kh4-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 26px; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; font-size: 1.05rem; transition: background 0.35s, border-color 0.35s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.kh4-cell:hover .kh4-icon { background: var(--brand-secondary, #e11b22); border-color: var(--brand-secondary, #e11b22); transform: rotate(-8deg) scale(1.08); }

/* odometer */
.kh4-num { display: flex; align-items: baseline; font-size: clamp(3.8rem, 6vw, 5.8rem); line-height: 1; font-weight: 800; letter-spacing: -0.05em; color: #fff; }
.od { display: inline-flex; height: 1em; overflow: hidden; }
.od-col { display: block; height: 1em; width: 0.62em; overflow: hidden; text-align: center; }
.od-strip { display: block; transform: translateY(0); transition: transform 2.4s cubic-bezier(0.16, 0.84, 0.24, 1); transition-delay: var(--dl, 0ms); will-change: transform; }
.od-strip > span { display: block; height: 1em; line-height: 1; }
.kh4.is-in .od-strip { transform: translateY(calc(var(--t) * -1em)); }
.kh4-plus { margin-left: 4px; font-size: 0.5em; font-weight: 800; color: #ff5a5f; transform: translateY(-0.2em); }
.kh4-cell h3 { margin: 18px 0 0; max-width: 230px; font-size: 0.82rem; font-weight: 700; line-height: 1.45; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82) !important; }

@keyframes kh4Drift { from { transform: scale(1.1) translate(0, 0); } to { transform: scale(1.18) translate(-2%, -1.5%); } }

@media (min-width: 992px) { .kh4-bg { background-attachment: scroll; } }
@media (max-width: 1100px) { .kh4-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) {
  .kh4-cell { padding: 30px 18px 28px; }
  .kh4-num { font-size: 3.2rem; }
  .kh4-cell h3 { font-size: 0.7rem; letter-spacing: 0.07em; }
}
@media (prefers-reduced-motion: reduce) {
  .kh4-bg { animation: none; }
  .kh4-cell { opacity: 1; transform: none; transition: none; }
  .od-strip { transition: none; }
  .kh4-line, .kh4-rule::after { transition: none; }
}

/* inner banner: smoke video layer (blends into the blue band; sits under the title/breadcrumb) */
.ib-smoke {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; z-index: 0;
  mix-blend-mode: screen; opacity: 0.55;
}
@media (prefers-reduced-motion: reduce) { .ib-smoke { display: none; } }

/* inner banner — photo variant (e.g. /product-engineering): engineering photo, navy overlay, tagline */
.ib--photo {
  min-height: 400px;
  background: var(--ib-photo) center / cover no-repeat;
}
.ib--photo::before {
  background:
    linear-gradient(90deg, rgba(8, 26, 61, 0.92) 0%, rgba(13, 47, 110, 0.78) 45%, rgba(23, 71, 158, 0.35) 100%);
  background-image: none;
  animation: none;
  z-index: 0;
}
.ib--photo .ib-flow { opacity: 0.35; }
.ib--photo .ib-smoke { opacity: 0.35; }
.ib--photo .ib-inner { padding-top: 70px; padding-bottom: 64px; }
.ib--photo .ib-title { font-size: clamp(2.4rem, 4.6vw, 4rem); max-width: 760px; }
.ib-tagline {
  margin: 18px 0 0; max-width: 620px; color: rgba(255, 255, 255, 0.88);
  font: 400 clamp(1rem, 1.3vw, 1.2rem)/1.6 'Hanken Grotesk', system-ui, sans-serif;
  padding-left: 18px; border-left: 4px solid #e11b22;
}
