/* Categorised navigation and subtle IT depth for inner pages. */
html,body { overflow-x: clip; }
.header-inner { gap: 26px; }
.brand { flex-basis: 320px; }
.brand-lockup { width: min(310px,29vw); }
.desktop-nav { gap: 3px; }
.desktop-nav > .nav-main-link,
.desktop-nav .nav-item > .nav-main-link { position: relative; display: flex; align-items: center; padding: 0 10px; color: #363636; font-size: .81rem; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
.desktop-nav > .nav-main-link.is-active,
.desktop-nav .nav-item.is-active > .nav-main-link { font-weight: 700; }
.header-report,
.language-switch { font-weight: 700; }
.desktop-nav .nav-audience-trigger { align-self: stretch; gap: 5px; border: 0; font-family: inherit; background: transparent; cursor: pointer; }
.desktop-nav .nav-audience-trigger > .icon { width: 13px; height: 13px; transition: transform .18s ease; }
.desktop-nav .nav-audience-menu.is-open .nav-audience-trigger > .icon { transform: rotate(180deg); }
.desktop-nav > .nav-main-link::after,
.desktop-nav .nav-item > .nav-main-link::after { position: absolute; right: 9px; bottom: 0; left: 9px; height: 3px; content: ""; background: var(--brand); transform: scaleX(0); transition: transform .18s ease; }
.desktop-nav > .nav-main-link:hover,
.desktop-nav > .nav-main-link.is-active,
.desktop-nav .nav-item:hover > .nav-main-link,
.desktop-nav .nav-item.is-active > .nav-main-link { color: var(--brand); }
.desktop-nav > .nav-main-link:hover::after,
.desktop-nav > .nav-main-link.is-active::after,
.desktop-nav .nav-item:hover > .nav-main-link::after,
.desktop-nav .nav-item.is-active > .nav-main-link::after { transform: scaleX(1); }
.nav-item { position: relative; display: flex; align-self: stretch; align-items: stretch; }
.nav-mega-toggle { width: 22px; height: 34px; display: grid; place-items: center; align-self: center; margin: 0 1px 0 -7px; padding: 0; border: 0; border-radius: 7px; color: #5f6062; background: transparent; cursor: pointer; }
.nav-mega-toggle .icon { width: 14px; height: 14px; transition: transform .18s ease; }
.nav-item:hover .nav-mega-toggle,
.nav-item:focus-within .nav-mega-toggle,
.nav-item.is-open .nav-mega-toggle { color: var(--brand-dark); }
.nav-item.is-open .nav-mega-toggle .icon { transform: rotate(180deg); }
.nav-mega-panel { position: absolute; z-index: 520; width: min(1010px,calc(100vw - 48px)); left: 50%; top: calc(100% - 1px); display: none; padding: 22px 24px 25px; border: 1px solid #cfd3d7; border-top: 4px solid var(--brand); border-radius: 0 0 16px 16px; color: var(--ink); background: #fff; box-shadow: 0 34px 78px rgba(21,25,31,.28),0 0 0 1px rgba(255,255,255,.8); transform: translateX(-50%); }
.nav-item:hover > .nav-mega-panel,
.nav-item:focus-within > .nav-mega-panel,
.nav-item.is-open > .nav-mega-panel { display: block; }
.nav-mega-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 17px; padding-bottom: 14px; border-bottom: 1px solid #e4e6e8; }
.nav-mega-heading span,
.nav-mega-heading strong { display: block; }
.nav-mega-heading span { color: var(--brand-dark); font-size: .61rem; font-weight: 820; letter-spacing: .075em; text-transform: uppercase; }
.nav-mega-heading strong { margin-top: 2px; color: var(--ink-strong); font-size: 1.1rem; font-weight: 650; }
.desktop-nav .nav-mega-heading > a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 7px; color: var(--brand-dark); background: #f5f6f7; font-size: .71rem; font-weight: 800; }
.desktop-nav .nav-mega-heading > a::after { display: none; }
.nav-mega-heading > a .icon { width: 15px; }
.nav-mega-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.nav-mega-grid section { min-width: 0; padding: 15px 14px 12px; border: 1px solid #e0e3e6; border-top: 3px solid #ea234b; border-radius: 11px; background: #fafbfc; }
.nav-mega-grid section.nav-group-employees { border-top-color: #741b36; }
.nav-mega-grid section.nav-group-other { border-top-color: #34383e; }
.nav-mega-grid h2 { display: flex; align-items: center; gap: 8px; min-height: 32px; margin: 0 0 9px; color: #34373b; font-size: .7rem; font-weight: 830; letter-spacing: .025em; line-height: 1.35; text-transform: uppercase; }
.nav-mega-grid h2 .icon { width: 18px; height: 18px; color: var(--brand); }
.nav-group-description { min-height: 34px; margin: -3px 0 9px; color: #71767b; font-size: .66rem; line-height: 1.45; }
.mobile-nav-group-content .nav-group-description { min-height: 0; margin: -1px 0 7px; padding-inline: 2px; font-size: .69rem; }
.nav-mega-grid .nav-group-employees h2 .icon { color: #741b36; }
.nav-mega-grid .nav-group-other h2 .icon { color: #34383e; }
.desktop-nav .nav-mega-grid a { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 8px; align-items: center; min-height: 40px; margin: 2px 0; padding: 5px 6px; border-radius: 8px; color: #313235; font-size: .7rem; font-weight: 680; line-height: 1.3; }
.desktop-nav .nav-mega-grid a::after { display: none; }
.desktop-nav .nav-mega-grid a:hover { color: var(--brand-dark); background: #fff; box-shadow: 0 5px 14px rgba(24,28,34,.07); }
.nav-mega-grid a > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #e2e4e6; border-radius: 8px; color: var(--brand); background: #fafafa; }
.nav-mega-grid a .icon { width: 15px; height: 15px; }
.nav-mega-grid a > .icon:last-child { width: 13px; height: 13px; color: #777b80; }
.nav-mega-grid a strong { min-width: 0; font-weight: inherit; }
.nav-content-menu .nav-mega-panel { width: min(840px,calc(100vw - 48px)); }
.nav-content-menu .nav-mega-grid { grid-template-columns: 1fr; }
.desktop-nav .nav-content-menu .nav-mega-grid section { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px 12px; }
.desktop-nav .nav-content-menu .nav-mega-grid section h2 { grid-column: 1 / -1; }
.nav-content-menu .nav-group-infrastructure { border-top-color: #34383e; }
.nav-content-menu .nav-group-infrastructure h2 .icon { color: #34383e; }

.nav-scrim { position: fixed; z-index: 450; inset: 0; visibility: hidden; opacity: 0; background: rgba(25,28,33,.34); backdrop-filter: blur(2px); transition: opacity .18s ease,visibility .18s ease; pointer-events: none; }
body.mega-menu-open .nav-scrim { visibility: visible; opacity: 1; pointer-events: auto; }
.site-header { z-index: 500; }
.site-header.is-scrolled { border-bottom-color: #d6d9dc; box-shadow: 0 11px 32px rgba(25,28,33,.16); }

.mobile-nav { max-height: calc(100vh - 76px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav-group { border-bottom: 1px solid var(--line); }
.mobile-nav-group > summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 8px; font-weight: 760; cursor: pointer; list-style: none; }
.mobile-nav-group > summary::-webkit-details-marker { display: none; }
.mobile-nav-group > summary.is-active { color: var(--brand); }
.mobile-nav-group > summary .icon { width: 18px; color: var(--brand); transition: transform .18s ease; }
.mobile-nav-group[open] > summary .icon { transform: rotate(180deg); }
.mobile-nav-group-content { padding: 2px 8px 14px; border-top: 1px solid #eceeef; background: #f7f8f9; }
.mobile-nav .mobile-nav-group-content .mobile-nav-overview { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 11px; padding: 10px 11px; border: 1px solid #e2e4e6; border-radius: 8px; color: var(--brand-dark); background: #fff; font-size: .76rem; }
.mobile-nav-overview .icon { width: 16px; }
.mobile-nav-group-content section + section { margin-top: 11px; padding-top: 11px; border-top: 1px solid #e1e3e5; }
.mobile-nav-group-content h2 { display: flex; align-items: center; gap: 7px; margin: 0 0 5px; color: #4a4c50; font-size: .66rem; font-weight: 820; letter-spacing: .035em; text-transform: uppercase; }
.mobile-nav-group-content h2 .icon { width: 17px; color: var(--brand); }
.mobile-nav-group-content .nav-group-employees h2 .icon { color: #741b36; }
.mobile-nav-group-content .nav-group-other h2 .icon { color: #34383e; }
.mobile-nav .mobile-nav-group-content section a { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 9px; align-items: center; min-height: 39px; padding: 6px 3px; border: 0; color: #343537; font-size: .73rem; font-weight: 670; line-height: 1.3; }
.mobile-nav-group-content section a .icon { width: 16px; color: var(--brand); }
.mobile-nav-group-content section a > .icon:last-child { width: 13px; color: #777b80; }

/* Inner pages retain a calm background while gaining a faint, dimensional IT context. */
.page-inner main { background: #f6f7f8; }
.page-inner .page-intro,
.page-inner .detail-hero { background-color: #fff; }
.page-inner .section,
.page-inner .detail-page { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(118deg,#fff 0%,#f7f8f9 100%); }
.page-inner .section::before,
.page-inner .detail-page::before { position: absolute; z-index: 0; width: 470px; height: 330px; right: -145px; bottom: -115px; content: ""; background: url('../img/hero-tech-grid.svg') center/contain no-repeat; opacity: .055; pointer-events: none; }
.page-inner .section::after,
.page-inner .detail-page::after { position: absolute; z-index: 0; inset: 0; content: ""; background: linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.88) 58%,rgba(247,248,249,.48) 100%); pointer-events: none; }
.page-inner .section > .shell,
.page-inner .detail-page > * { position: relative; z-index: 1; }
.page-inner .team-section { position: relative; overflow: hidden; background: #fff; }
.page-inner .team-section::before { position: absolute; width: 420px; height: 300px; left: -180px; bottom: -125px; content: ""; background: url('../img/hero-tech-grid.svg') center/contain no-repeat; opacity: .045; transform: scaleX(-1); pointer-events: none; }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-grid; }
}

@media (max-width: 1120px) {
  .nav-mega-panel { display: none !important; }
}

@media (max-width: 760px) {
  .page-inner .section::before,
  .page-inner .detail-page::before { width: 350px; height: 250px; right: -235px; bottom: -75px; opacity: .035; }
  .page-inner .team-section::before { display: none; }
}
