/* ==========================================================================
   Stevicom Computer Services - homepage
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/font-1.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('assets/fonts/font-0.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-0: #ebf3fc;
  --blue-50: #d3e4f8;
  --blue-100: #acccf0;
  --blue-200: #65a1e2;
  --blue-300: #3488db;
  --blue-400: #0273cf;
  --blue-500: #0261af;
  --blue-600: #094f8d;
  --blue-700: #0f3b66;
  --blue-800: #0e2b48;
  --blue-900: #0a1d31;
  --blue-1000: #031529;
  --orange-400: #ff5e00;
  --orange-500: #fa4600;
  --hero-accent: #ff7800;
  --gray-100: #ffffff;
  --gray-200: #f4f4f6;
  --gray-300: #e5e5e5;
  --gray-400: #b2b2b2;
  --gray-500: #8c8c8c;
  --gray-600: #666666;
  --gray-700: #333333;
  --panel: #edf3fb;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --container: 1920px;
  --pad: 16px;
  --section-y: 64px;
  --block: 48px;
  --header-h: 64px;
  --hero-top: 84px;
  --ticker-h: 76px;
  --radius: 8px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

@media (min-width: 768px) {
  :root {
    --pad: 40px;
    --section-y: 72px;
    --block: 52px;
    --header-h: 78px;
    --hero-top: 78px;
    --ticker-h: 84px;
  }
}

@media (min-width: 1240px) {
  :root {
    --pad: 140px;
    --section-y: 80px;
    --block: 60px;
    --header-h: 86px;
    --hero-top: 86px;
    --ticker-h: 104px;
  }
}

@media (min-width: 1920px) {
  :root {
    --pad: 240px;
    --section-y: 88px;
    --block: 64px;
    --hero-top: 90px;
    --ticker-h: 108px;
  }
}

/* ---------- Reset / base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; }

:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.ai :focus-visible,
.contact :focus-visible {
  outline-color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography ---------- */

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--blue-400);
}

.eyebrow.is-inverted { color: #fff; }

.section-heading {
  margin: 0;
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -.03em;
  color: #000;
}

.section-heading.is-inverted { color: #fff; }

@media (min-width: 768px) {
  .section-heading { font-size: 40px; line-height: 48px; }
}

@media (min-width: 1240px) {
  .eyebrow { font-size: 14px; }
  .section-heading { font-size: 48px; line-height: 56px; }
}

@media (min-width: 1920px) {
  .eyebrow { font-size: 16px; }
  .section-heading { font-size: 58px; line-height: 72px; }
}

/* ---------- Buttons / links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.btn-blue { background: var(--blue-400); color: #fff; }
.btn-blue:hover { background: var(--blue-500); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: var(--gray-200); }
.btn-dark {
  background: rgba(3, 21, 41, .4);
  color: #fff;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn-dark:hover { background: rgba(3, 21, 41, .58); }

.circle-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-500);
  color: #fff;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}

.circle-arrow.is-blue { background: var(--blue-400); }

a:hover .circle-arrow,
.card-link:hover .circle-arrow {
  transform: translateX(3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-400);
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}

.text-link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: #fff;
  background: rgba(3, 21, 41, .4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-menu-open { background: rgba(3, 21, 41, .94); }

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: inline-flex; flex: none; }
.brand img { width: 166px; height: auto; }

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.nav-link .icon {
  width: 16px;
  height: 16px;
  transition: transform .2s var(--ease);
}

.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions .btn { color: #000; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  transition: background-color .2s var(--ease);
}

.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn .icon { width: 24px; height: 24px; }

.menu-toggle { display: none; }

/* Search */

.search-panel {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  display: none;
  padding-block: 20px;
  background: #fff;
  color: #000;
  box-shadow: 0 20px 40px rgba(3, 21, 41, .18);
}

.search-panel.is-open { display: block; }

.search-form {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--gray-300);
  border-radius: 0;
  background: transparent;
  font-size: 24px;
  line-height: 32px;
  outline: none;
}

.search-form input:focus { border-color: var(--blue-400); }

/* Mega menu */

.mega-menu {
  position: fixed;
  top: var(--header-h);
  left: 50%;
  z-index: 98;
  width: min(1160px, calc(100vw - 32px));
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 48px rgba(3, 21, 41, .22));
}

.mega-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) 260px;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  background: #fff;
  color: #000;
}

.mega-panel.is-open { display: grid; }

.mega-main { padding: 30px 40px 40px; }

.mega-title {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: -.01em;
}

.mega-overview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--blue-400);
  color: #fff;
  text-decoration: none;
}

.mega-overview:hover { background: var(--blue-500); }
.mega-overview-text { flex: 1; min-width: 0; }
.mega-overview strong {
  display: block;
  margin-bottom: 2px;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -.01em;
}
.mega-overview span span { font-size: 16px; line-height: 24px; }
.mega-overview .circle-arrow { width: 40px; height: 40px; }

.mega-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 28px;
  margin-top: 28px;
}

.mega-group-title {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 17px;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.mega-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-list a {
  display: inline-block;
  padding-block: 3px;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  color: #000;
}

.mega-list a:hover { color: var(--blue-400); }

.mega-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 96px;
  margin-top: 18px;
  padding: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: url('assets/images/footer-ai.webp') center / cover no-repeat;
  color: #fff;
  text-decoration: none;
}

.mega-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 27, 48, .35), rgba(0, 27, 48, 0));
}

.mega-promo span { position: relative; z-index: 1; }
.mega-promo .promo-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.mega-promo .promo-title { font-size: 16px; line-height: 22px; }

.mega-side {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 36px 40px;
  background: var(--gray-200);
}

.mega-side h3 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
}

.mega-side .mega-group-title { margin-bottom: 12px; }

.mega-side .mega-list { gap: 6px; }
.mega-side .mega-list a { padding-block: 2px; }

.mega-side .btn { margin-top: auto; align-self: flex-start; }

.mega-side-card {
  margin-top: 24px;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
}

.mega-side-card p { margin: 0 0 12px; font-size: 16px; line-height: 24px; }
.mega-side-card .text-link { font-size: 14px; }

/* Mobile menu */

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 97;
  display: none;
  color: #000;
}

.mobile-menu.is-open { display: block; }

.mobile-menu::before {
  content: '';
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(3, 21, 41, .4);
}

.mobile-menu-sheet {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: calc(100dvh - var(--header-h));
  padding: 24px 16px;
  overflow-y: auto;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
  overscroll-behavior: contain;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: #000;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -.01em;
  text-align: left;
  cursor: pointer;
}

.mobile-menu-item .icon {
  flex: none;
  width: 20px;
  height: 20px;
  transform: rotate(-90deg);
}

.mobile-menu .mobile-menu-cta {
  width: 100%;
  margin-top: 36px;
}

.mobile-menu-section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  max-height: calc(100dvh - var(--header-h));
  padding: 24px 16px;
  overflow-y: auto;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
  overscroll-behavior: contain;
}

.mobile-menu-section[hidden] { display: none; }

.mobile-menu-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #000;
  font-family: inherit;
  font-size: 15px;
  line-height: 20px;
  cursor: pointer;
}

.mobile-menu-back .icon {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}

.mobile-menu-section h2 {
  margin: 16px 0 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.mobile-menu-links a {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-300);
  color: var(--gray-700);
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}

.mobile-menu-links a:last-child { border-bottom: 0; }
.mobile-menu-links a:hover { color: var(--blue-400); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  background: var(--blue-400);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #0a4a7c url('assets/images/hero-bg.webp') center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100svh;
  padding-block: calc(var(--hero-top) + var(--block)) calc(var(--block) + var(--ticker-h));
}

.hero-inner { width: 100%; }

.hero-eyebrow {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: -.01em;
  color: #fff;
}

.hero h1 {
  margin: 0 0 48px;
  max-width: 1120px;
  font-size: 40px;
  line-height: 44px;
  font-weight: 500;
  letter-spacing: -.03em;
  color: #fff;
}

.hero-accent { color: var(--hero-accent); }

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.br-md { display: inline; }
.br-sm { display: inline; }

@media (min-width: 1240px) {
  .br-md, .br-sm { display: none; }
  .hero-accent { white-space: nowrap; }
}

@media (min-width: 768px) {
  .hero-eyebrow { margin-bottom: 20px; font-size: 16px; line-height: 24px; }
  .hero h1 { margin-bottom: 52px; font-size: 50px; line-height: 58px; }
  .hero-buttons { flex-direction: row; align-items: center; gap: 16px; }
  .br-sm { display: none; }
}

@media (min-width: 1240px) {
  .hero-eyebrow { margin-bottom: 24px; font-size: 18px; line-height: 28px; }
  .hero h1 { margin-bottom: 48px; font-size: 68px; line-height: 80px; }
  .hero-buttons { gap: 20px; }
}

@media (min-width: 1920px) {
  .hero-eyebrow { margin-bottom: 26px; font-size: 20px; line-height: 30px; }
  .hero h1 { margin-bottom: 52px; font-size: 88px; line-height: 96px; }
  .hero-buttons { gap: 22px; }
}

/* Hero ticker */

.hero-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  height: var(--ticker-h);
  overflow: hidden;
  background: rgba(3, 21, 41, .4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.ticker-track {
  display: flex;
  width: max-content;
  margin-left: 12px;
  animation: ticker-scroll 70s linear infinite;
  will-change: transform;
}

.ticker-track.is-paused { animation-play-state: paused; }

.ticker-half {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.ticker-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: none;
  width: 240px;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s var(--ease);
}

.ticker-track:hover .ticker-card:not(:hover) { opacity: .5; }

.ticker-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.ticker-rule {
  align-self: stretch;
  width: 1px;
  background: #fff;
  opacity: .2;
}

.ticker-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  line-height: 24px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ticker-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 190px;
  background: linear-gradient(90deg, transparent, rgba(3, 21, 41, .55));
  pointer-events: none;
}

.ticker-pause {
  position: absolute;
  top: 50%;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color .2s var(--ease);
}

.ticker-pause:hover { background: rgba(255, 255, 255, .3); }
.ticker-pause .icon { width: 16px; height: 16px; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  .ticker-track { margin-left: 16px; }
  .ticker-half { gap: 20px; padding-right: 20px; }
  .ticker-card { width: 300px; }
  .ticker-meta { font-size: 14px; line-height: 20px; }
  .ticker-scrim { width: 461px; }
  .ticker-pause { right: 20px; }
}

@media (min-width: 1240px) {
  .ticker-track { margin-left: 20px; }
  .ticker-half { gap: 24px; padding-right: 24px; }
  .ticker-pause { right: 40px; }
}

@media (min-width: 1920px) {
  .ticker-track { margin-left: 22px; }
  .ticker-half { gap: 26px; padding-right: 26px; }
  .ticker-pause { right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- Solutions ---------- */

.solutions {
  padding-block: var(--section-y);
  background: var(--gray-200);
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.solutions-grid > * { min-width: 0; }

.solutions-left { padding-right: 0; }
.solutions-left .section-heading { max-width: 528px; }

.solutions-tabs {
  display: flex;
  gap: 0;
  margin-top: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.solutions-tabs::-webkit-scrollbar { display: none; }

.solutions-tab {
  flex: none;
  padding: 12px 20px;
  border-bottom: 2px solid transparent;
  color: #4d4d4d;
  font-size: 18px;
  line-height: 28px;
  text-align: left;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.solutions-tab.is-active {
  color: #000;
  border-color: var(--orange-500);
}

.solutions-tab:hover { color: #000; }

.solutions-panels { min-width: 0; }

.solutions-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solutions-panel[hidden] { display: none; }

.solution-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 14px 16px 14px 20px;
  border-radius: var(--radius);
  background: #fff;
  color: #000;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.solution-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(3, 21, 41, .08);
}

.solution-media {
  display: none;
  flex: none;
  width: 210px;
  height: 120px;
  overflow: hidden;
}

.solution-media img { width: 100%; height: 100%; object-fit: cover; }

.solution-text { flex: 1; min-width: 0; }

.solution-text h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: -.01em;
}

.solution-text p {
  margin: 0;
  color: #262626;
  font-size: 14px;
  line-height: 20px;
}

@media (min-width: 768px) {
  .solutions-grid { grid-template-columns: 1fr; gap: 40px; }

  .solutions-tabs {
    margin-top: 32px;
    overflow: visible;
    flex-wrap: wrap;
  }

  .solutions-tab { padding: 12px 24px 12px 0; }
}

@media (min-width: 1240px) {
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: start;
  }

  .solutions-left { padding-right: 0; }
  .solutions-left .eyebrow { margin-bottom: 8px; }

  .solutions-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 40px;
    overflow: visible;
  }

  .solutions-tab {
    width: 100%;
    padding: 12px 16px 12px 24px;
    border-bottom: 0;
    border-left: 2px solid var(--gray-300);
    color: #666;
    font-size: 18px;
    line-height: 28px;
    white-space: normal;
  }

  .solutions-tab.is-active {
    border-left-color: var(--orange-500);
    color: #000;
    font-size: 22px;
    line-height: 32px;
    font-weight: 500;
  }

  .solutions-panels { min-height: 504px; }

  .solution-card {
    min-height: 120px;
    height: 120px;
    gap: 20px;
    padding: 0 20px 0 0;
  }

  .solution-media { display: block; }

  .solution-card .solution-text + .circle-arrow { margin-left: -4px; }

  .solution-text h3 { margin-bottom: 4px; }
}

/* ---------- Who we serve ---------- */

.who {
  padding-block: var(--section-y);
  background: #fff;
}

.who-head { margin-bottom: 32px; }
.who-head .eyebrow { margin-bottom: 8px; }

.who-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--gray-300);
  scrollbar-width: none;
}

.who-tabs::-webkit-scrollbar { display: none; }

.who-tab {
  position: relative;
  flex: none;
  padding: 0 32px 14px 0;
  color: var(--gray-700);
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  white-space: nowrap;
}

.who-tab.is-active { color: #000; }

.who-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: calc(100% - 32px);
  height: 3px;
  background: var(--orange-500);
}

.who-stage { margin-top: 16px; }

.who-slide {
  display: none;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
}

.who-slide.is-active { display: block; }

.who-media { height: 255px; overflow: hidden; }
.who-media img { width: 100%; height: 100%; object-fit: cover; }

.who-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}

.who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 2px;
  background: rgba(3, 21, 41, .28);
  color: #fff;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.who-title {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 34px;
  font-weight: 500;
  letter-spacing: -.02em;
  white-space: pre-line;
}

.who-copy {
  margin: 0;
  max-width: 500px;
  font-size: 16px;
  line-height: 24px;
}

.who-panel .btn { align-self: flex-start; }

.who-peeks { display: none; }

@media (min-width: 768px) {
  .who-head { margin-bottom: 40px; }
  .who-tab { padding-right: 40px; }
  .who-tab.is-active::after { width: calc(100% - 40px); }
  .who-media { height: 360px; }
  .who-panel { padding: 32px; }
}

@media (min-width: 1240px) {
  .who-head { margin-bottom: 48px; }
  .who-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
  .who-tab { padding: 0 0 11px; }
  .who-tab.is-active::after { width: 90%; }
  .who-stage { display: flex; gap: 8px; margin-top: 32px; }
  .who-slide.is-active {
    display: grid;
    grid-template-columns: 480px minmax(0, 1fr);
    flex: 1;
    min-width: 0;
    height: 480px;
  }
  .who-media { height: 100%; }
  .who-panel { padding: 48px; min-width: 0; gap: 32px; }
  .who-tags { margin-bottom: 32px; }
  .who-title { margin-bottom: 8px; font-size: 32px; line-height: 40px; }
  .who-copy { font-size: 14px; line-height: 20px; }
  .who-peeks { display: flex; gap: 8px; width: 76px; flex: none; }
  .who-peek {
    width: 34px;
    height: 480px;
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--panel);
  }
  .who-peek img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
  .who-peek:hover img { transform: scale(1.04); }
}

/* ---------- AI readiness ---------- */

.ai {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
  background: var(--blue-400) url('assets/images/ai-bg.webp') center / cover no-repeat;
  color: #fff;
}

.ai-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.ai-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.ai-text .eyebrow { margin: 0; color: #fff; }

.ai h2 {
  max-width: 965px;
  margin: 0;
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -.03em;
  white-space: pre-line;
}

.ai-sub {
  max-width: 590px;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}

.ai-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.ai-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  border-left: 0;
}

.ai-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: -.01em;
}

.ai-card p { margin: 0; font-size: 16px; line-height: 24px; }

@media (max-width: 767px) {
  .ai { background: var(--blue-400) url('assets/images/ai-bg-mobile.png') 0 0 / 100% 100% no-repeat; }
}

@media (min-width: 768px) {
  .ai h2 { font-size: 40px; line-height: 48px; }
  .ai-sub { font-size: 18px; line-height: 28px; }
  .ai-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
}

@media (min-width: 1240px) {
  .ai-header { gap: 32px; }
  .ai h2 { font-size: 48px; line-height: 56px; }
  .ai-sub {
    max-width: 576px;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
  }
  .ai-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 60px;
  }
  .ai-card {
    gap: 8px;
    min-height: 132px;
    padding-left: 19px;
    padding-right: 16px;
    border-left: 1px solid rgba(255, 255, 255, .3);
  }
  .ai-card h3 { font-size: 20px; line-height: 28px; }
}

@media (min-width: 1920px) {
  .ai h2 { font-size: 58px; line-height: 72px; }
}

/* ---------- Technologies ---------- */

.tech {
  padding-block: var(--section-y);
  background: var(--panel);
}

.tech-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.tech-head h2 { max-width: 820px; }

.tech-head .eyebrow { margin-bottom: 8px; }

.tech-desc {
  max-width: 479px;
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--gray-700);
}

.tech-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 32px;
}

.tech-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 220px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  color: #000;
  text-decoration: none;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}

.tech-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(3, 21, 41, .09);
}

.tech-logo {
  display: flex;
  align-items: center;
  min-height: 48px;
}

.tech-logo img {
  display: block;
  width: auto;
  height: 36px;
  max-width: 100%;
  object-fit: contain;
}

.tech-card .tag { background: rgba(3, 21, 41, .3); }

.tech-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

.tech-body p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--gray-700);
}

.tech-body .text-link { margin-top: 8px; font-size: 14px; line-height: 16px; gap: 4px; }

@media (min-width: 768px) {
  .tech-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
  .tech-desc { font-size: 18px; line-height: 28px; }
  .tech-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
}

@media (min-width: 1240px) {
  .tech-desc { font-size: 16px; line-height: 24px; }
  .tech-body p { min-height: 80px; }
}

@media (min-width: 1000px) {
  .tech-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1240px) {
  .tech-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 48px; }
  .tech-card { min-height: 302px; }
}

/* ---------- Success stories ---------- */

.stories {
  padding: var(--section-y) 0 0;
  background: #fff;
}

.stories-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.stories-head .btn { flex: none; }
.stories-head .eyebrow { margin-bottom: 8px; }

.stories-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--gray-300);
  scrollbar-width: none;
}

.stories-tabs::-webkit-scrollbar { display: none; }

.story-tab {
  flex: none;
  min-width: 150px;
  padding: 0 16px 12px 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--gray-700);
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  white-space: normal;
}

.story-tab.is-active { border-color: var(--orange-500); color: #000; }

.story-panel {
  display: none;
  margin-top: 16px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
}

.story-panel.is-active {
  display: flex;
  flex-direction: column;
}

.story-media { order: -1; height: 260px; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }

.story-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 24px;
}

.story-quote {
  margin: 0;
  max-width: 500px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: -.01em;
}

.story-attribution { margin-top: 20px; font-size: 16px; line-height: 24px; }
.story-attribution span { display: block; }
.story-attribution .role { color: var(--gray-600); }

.story-heading {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.story-summary { margin: 0; font-size: 16px; line-height: 24px; color: var(--gray-700); }

.story-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.story-figure { min-width: 150px; }
.story-figure strong {
  display: block;
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.story-figure span {
  display: block;
  max-width: 200px;
  font-size: 14px;
  line-height: 20px;
  color: var(--gray-600);
}

.story-logo { width: 134px; margin-bottom: 20px; }

.story-action {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  align-self: flex-start;
  color: #000;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}

@media (min-width: 768px) {
  .stories-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
  .stories-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
  .story-tab { min-width: 0; padding-right: 16px; }
  .story-media { height: 340px; }
  .story-content { padding: 32px; }
  .story-quote { font-size: 28px; line-height: 38px; }
}

@media (min-width: 1240px) {
  .stories-head { margin-bottom: 48px; }
  .story-tab { padding-bottom: 14px; }
  .story-panel { margin-top: 32px; }
  .story-panel.is-active { flex-direction: row; min-height: 464px; height: 464px; }
  .story-media { order: 2; flex: 0 0 480px; height: auto; width: 480px; }
  .story-content { order: 1; flex: 1 1 0; width: auto; padding: 48px; gap: 40px; }
  .story-quote { max-width: 100%; font-size: 28px; line-height: 32px; }
  .story-attribution { margin-top: 16px; }
  .story-heading { margin-bottom: 8px; font-size: 28px; line-height: 32px; }
  .story-summary { font-size: 16px; line-height: 24px; }
  .story-figures { margin-top: 48px; gap: 8px; }
  .story-figure strong { font-size: 40px; line-height: 48px; }
  .story-figure span { font-size: 16px; line-height: 24px; }
}

/* ---------- About ---------- */

.about {
  padding-block: var(--section-y);
  background: #fff;
}

.about-head { margin-bottom: 32px; }
.about-head .eyebrow { margin-bottom: 8px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.about-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  outline: 1px solid #e5e5e5;
  outline-offset: -1px;
  background: #fff;
  color: #000;
  text-decoration: none;
  transition: box-shadow .2s var(--ease);
}

.about-card:hover { box-shadow: 0 10px 26px rgba(3, 21, 41, .07); }

.about-media { aspect-ratio: 1.4069; overflow: hidden; background: var(--gray-200); }
.about-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.about-card:hover .about-media img { transform: scale(1.03); }

.about-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 112px;
  padding: 20px;
}

.about-body > div { flex: 1; min-width: 0; }

.about-body h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.about-body p { margin: 0; font-size: 16px; line-height: 24px; color: #262626; }

@media (min-width: 768px) {
  .about-head { margin-bottom: 40px; }
  .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .about-card:first-child { grid-column: span 2; }
}

@media (min-width: 1240px) {
  .about-head { margin-bottom: 48px; }
  .about-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-card:first-child { grid-column: auto; }
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  padding-block: 96px;
  background: var(--blue-400) url('assets/images/contact-bg.webp') center top / cover no-repeat;
  color: #fff;
}

.contact-inner { max-width: 600px; }
.contact .eyebrow { margin-bottom: 8px; color: #fff; }

.contact h2 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -.03em;
  color: #fff;
}

.contact p:not(.eyebrow) {
  max-width: 512px;
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 24px;
}

.contact .btn { color: #000; }

@media (max-width: 767px) {
  .contact {
    padding-block: 72px;
    background: linear-gradient(180deg, #013966 0%, #1181de 50%, #a8d8ff 100%);
    background-size: 100% 640px;
    background-repeat: no-repeat;
  }
  .contact-inner { display: flex; flex-direction: column; gap: 8px; }
  .contact .eyebrow { margin: 0; font-size: 13px; line-height: 16px; }
  .contact h2 { margin: 0; font-size: 32px; line-height: 40px; }
  .contact p:not(.eyebrow) { max-width: none; margin: 0; font-size: 15px; line-height: 20px; }
  .contact .btn { align-self: flex-start; margin-top: 16px; }
}

@media (min-width: 768px) {
  .contact { padding-block: 110px; }
  .contact h2 { font-size: 40px; line-height: 48px; }
  .contact p:not(.eyebrow) { font-size: 18px; line-height: 28px; }
}

@media (min-width: 1240px) {
  .contact { padding-block: 120px; }
  .contact h2 { font-size: 48px; line-height: 56px; }
  .contact p:not(.eyebrow) { font-size: 16px; line-height: 24px; }
}

@media (min-width: 1920px) {
  .contact h2 { font-size: 58px; line-height: 72px; }
}

/* ---------- Footer ---------- */

.footer {
  padding: 48px 0 24px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-brand img { width: 147.5px; height: auto; }

.footer-brand p {
  max-width: 244px;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}

.footer-nav-title {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.footer-group + .footer-group { margin-top: 32px; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}

.footer-links a:hover { color: var(--blue-400); }
.nowrap { white-space: nowrap; }

.footer-cards { min-width: 0; }

.ai-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 156px;
  padding: 20px;
  overflow: hidden;
  border-radius: var(--radius);
  background: url('assets/images/footer-ai.webp') center / cover no-repeat;
  color: #fff;
  text-decoration: none;
}

.ai-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 20, 40, .38), rgba(0, 20, 40, 0));
}

.ai-promo span { position: relative; z-index: 1; }

.ai-promo .promo-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.ai-promo .promo-title { font-size: 16px; line-height: 24px; }

.career-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: 132px;
  margin-top: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--gray-200);
  color: #000;
  text-decoration: none;
}

.career-card .promo-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
  color: var(--gray-600);
}

.career-card p { max-width: 190px; margin: 0; font-size: 16px; line-height: 24px; }
.career-card .circle-arrow { background: var(--orange-500); }

.footer-social {
  display: flex;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--blue-400);
}

.social-link:hover { color: var(--blue-500); }

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
  font-size: 16px;
  line-height: 24px;
}

.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 0;
  list-style: none;
}

@media (max-width: 767px) {
  .footer-grid { gap: 36px; }
  .footer-brand { gap: 12px; padding-right: 40px; }
  .footer-brand p { max-width: 318px; font-size: 13px; line-height: 16px; }
  .footer-nav, .footer-cards { display: contents; }
  .footer-group + .footer-group { margin-top: 0; }
  .footer-nav-title { margin-bottom: 10px; font-size: 13px; line-height: 16px; }
  .footer-group > .footer-nav-title:only-child { margin-bottom: 0; }
  .footer-links { gap: 12px; }
  .footer-links a { font-size: 13px; line-height: 16px; }
  .ai-promo {
    height: 66px;
    padding: 12px;
    gap: 10px;
    justify-content: flex-start;
    border-radius: 8px;
  }
  .ai-promo .promo-eyebrow,
  .ai-promo .promo-title { font-size: 13px; line-height: 16px; }
  .career-card {
    position: relative;
    min-height: 80px;
    height: 80px;
    margin-top: 0;
    padding: 12px;
    border-radius: 8px;
  }
  .career-card > div { display: flex; flex-direction: column; gap: 8px; }
  .career-card .promo-eyebrow { font-size: 13px; line-height: 16px; }
  .career-card p { max-width: 292px; font-size: 13px; line-height: 16px; }
  .career-card .circle-arrow {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 32px;
    height: 32px;
  }
  .footer-social { gap: 8px; margin: 0; }
  .social-link { width: 40px; height: 40px; }
  .social-link .icon { width: 20px; height: 20px; }
  .footer-legal { margin-top: 36px; gap: 12px; font-size: 13px; line-height: 16px; }
  .footer-legal ul { flex-direction: column; flex-wrap: nowrap; gap: 12px; }
}

@media (min-width: 768px) {
  .footer { padding-top: 60px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
  .footer-legal { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; margin-top: 60px; }
}

@media (min-width: 1240px) {
  .footer { padding-bottom: 32px; }
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 8px;
  }
  .footer-nav { margin-top: 20px; padding-right: 48px; }
  .footer-nav-title { font-size: 14px; line-height: 20px; }
  .footer-group + .footer-group { margin-top: 24px; }
  .footer-group > .footer-nav-title:only-child { margin-bottom: 0; }
  .footer-links { gap: 8px; font-size: 14px; line-height: 20px; }
  .footer-links a { font-size: 14px; line-height: 20px; }
  .footer-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }
  .ai-promo { height: 96px; }
  .career-card {
    min-height: 128px;
    height: 128px;
    margin-top: 0;
    gap: 8px;
  }
  .career-card .promo-eyebrow { line-height: 20px; }
  .career-card p { font-size: 14px; line-height: 20px; }
  .footer-social { gap: 8px; margin: 0; }
  .social-link { width: 40px; height: 40px; }
  .social-link .icon { width: 20px; height: 20px; }
  .footer-legal {
    margin-top: 60px;
    font-size: 14px;
    line-height: 20px;
  }
}

/* ---------- Reveal animation ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive header ---------- */

@media (max-width: 1239px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
}

@media (max-width: 767px) {
  :root { --header-h: 84px; }
  .eyebrow { line-height: 16px; }
  .brand img { width: 123px; }
  .header-bar { gap: 12px; }
  .header-actions { gap: 16px; }
  .header-actions .icon-btn { width: 24px; height: 24px; }
  .header-contact { display: none; }
  .hero-bg { background-image: url('assets/images/hero-bg-mobile.webp'); }
}

@media (min-width: 768px) and (max-width: 1239px) {
  .header-contact { display: inline-flex; }
  .header-actions { gap: 16px; }
}

/* Keep mega menu hidden on tablet/mobile */
@media (max-width: 1239px) {
  .mega-menu { display: none !important; }
}

/* ---------- Menu / interactive additions ---------- */

.mega-menu { display: none; }
.mega-menu.is-open { display: block; }

.mega-audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mega-audience {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 176px;
  padding: 20px;
  border-radius: 8px;
  background: var(--blue-0);
  color: #000;
  text-decoration: none;
  transition: background-color .2s var(--ease);
}

.mega-audience:nth-child(even) { background: var(--gray-200); }
.mega-audience:hover { background: var(--blue-50); }

.mega-audience strong {
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.mega-audience > span:not(.circle-arrow) {
  flex: 1;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 20px;
}

.mega-audience .circle-arrow {
  align-self: flex-end;
  width: 32px;
  height: 32px;
}

.mega-audience .circle-arrow .icon { width: 14px; height: 14px; }

.footer-nav-title a { text-decoration: none; }
.footer-nav-title a:hover { color: var(--blue-400); }

#hero-rotator {
  display: inline-block;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}

#hero-rotator.is-changing {
  opacity: 0;
  transform: translateY(10px);
}

@media (prefers-reduced-motion: reduce) {
  #hero-rotator { transition: none; }
}

/* ---------- Mobile polish (390 reference) ---------- */

@media (max-width: 767px) {
  body { font-size: 15px; line-height: 20px; }

  .solutions-grid { gap: 40px; }
  .solutions-tabs {
    margin: 24px -16px 0;
    padding: 8px 16px;
    gap: 8px;
    border-bottom: 0;
  }
  .solutions-tab {
    padding: 0 16px 8px 0;
    border-bottom-width: 1px;
    font-size: 15px;
    line-height: 20px;
  }
  .solutions-tab.is-active {
    border-bottom-width: 3px;
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
  }
  .solutions-panels { min-height: 0; }
  .solution-card {
    min-height: 68px;
    height: 68px;
    padding: 12px 16px;
    gap: 10px;
  }
  .solution-card .circle-arrow { width: 32px; height: 32px; }
  .solution-card .circle-arrow .icon { width: 14px; height: 14px; }
  .solution-media { display: none; }
  .solution-text h3 { margin-bottom: 4px; font-size: 16px; line-height: 24px; }
  .solution-text p { font-size: 13px; line-height: 16px; }

  .who-head { margin-bottom: 28px; }
  .who-tabs {
    margin: -8px -16px 0;
    padding: 8px 16px;
    gap: 8px;
    border-bottom: 0;
  }
  .who-tab { padding: 0 16px 8px 0; font-size: 15px; line-height: 20px; }
  .who-tab.is-active::after { width: calc(100% - 16px); bottom: 0; }
  .who-media { height: 238.7px; }
  .who-panel { height: 496px; min-height: 496px; padding: 36px; gap: 24px; }
  .who-body { display: flex; flex-direction: column; gap: 24px; }
  .who-tags { margin: 0; gap: 8px; }
  .tag { font-size: 13px; line-height: 16px; }
  .who-text { display: flex; flex-direction: column; gap: 8px; }
  .who-title { margin: 0; font-size: 24px; line-height: 32px; }
  .who-copy { max-width: none; font-size: 13px; line-height: 16px; }

  .ai-header { gap: 24px; }
  .ai-sub { margin: 0; font-size: 15px; line-height: 20px; }
  .ai-cards { gap: 36px; }
  .ai-card h3 { font-size: 16px; line-height: 24px; }
  .ai-card p { font-size: 15px; line-height: 20px; }

  .tech-head { gap: 24px; }
  .tech-desc { margin-top: 8px; font-size: 15px; line-height: 20px; }
  .tech-cards { margin-top: 36px; }
  .tech-card { padding: 12px; }
  .tech-body p { font-size: 13px; line-height: 16px; }
  .tech-body .text-link { margin-top: 8px; font-size: 14px; line-height: 16px; }

  .stories-head { margin-bottom: 28px; }
  .stories-tabs {
    margin: -8px -16px 0;
    padding: 8px 16px;
    gap: 4px;
    border-bottom: 0;
  }
  .story-tab {
    min-width: 0;
    margin-bottom: 0;
    padding: 0 16px 8px 0;
    font-size: 15px;
    line-height: 20px;
  }
  .story-media { height: 238.7px; }
  .story-content { padding: 36px; gap: 26px; }
  .story-quote { font-size: 22px; line-height: 28px; }
  .story-attribution { margin-top: 10px; font-size: 15px; line-height: 20px; }
  .story-action { font-size: 14px; line-height: 16px; gap: 8px; }

  .about-head { margin-bottom: 36px; }
  .about-grid { gap: 24px 8px; }
  .about-body { padding: 12px; gap: 10px; }
  .about-body h3 { margin-bottom: 8px; font-size: 20px; line-height: 28px; }
  .about-body p { font-size: 15px; line-height: 20px; }

  .footer-links li,
  .footer-legal li { font-size: 13px; line-height: 16px; }
  .footer-legal a { font-size: 13px; line-height: 16px; }
}

@media (max-width: 767px) {
  .solutions-left .eyebrow { margin-bottom: 8px; }
  .solutions-tab {
    border-bottom: 0;
    box-shadow: inset 0 -1px 0 var(--gray-300);
  }
  .solutions-tab.is-active {
    border-bottom: 0;
    box-shadow: inset 0 -3px 0 var(--orange-500);
  }
  .who-head { margin-bottom: 36px; }
  .ai-card:last-child p { max-width: 250px; }
  .stories-head { margin-bottom: 36px; }
  .story-tab {
    border-bottom: 0;
    box-shadow: inset 0 -1px 0 var(--gray-300);
  }
  .story-tab.is-active { box-shadow: inset 0 -3px 0 var(--orange-500); }
  .about-body { min-height: 0; }
}
