:root {
  --blue: #2490ce;
  --blue-dark: #1478b2;
  --blue-light: #66c4f4;
  --ink: #071728;
  --ink-soft: #0a223a;
  --text: #142235;
  --muted: #627084;
  --line: #dfe6ec;
  --paper: #f6f8fa;
  --white: #fff;
  --max-width: 1240px;
}

/* Reset and shared elements */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0 0 20px;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 18px;
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 700px;
  color: #d3deea;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.section {
  padding: 110px 0;
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-soft {
  background: var(--paper);
}

.section-heading {
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
}

.btn-primary:hover {
  color: var(--white);
  background: var(--blue-dark);
}

.btn-secondary {
  color: var(--white);
  border-color: #8ca0b4;
}

.btn-secondary:hover {
  color: var(--ink);
  background: var(--white);
}

.btn-light {
  border-color: #cad5df;
}

.btn-light:hover {
  color: var(--white);
  background: var(--ink);
}

/* Header and navigation */
.header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  margin: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(2, 14, 27, 0.82), transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 38px;
}

.brand-link {
  flex: 0 0 auto;
  margin-right: auto;
}

.logo {
  width: 190px;
  height: auto;
}

.nav-links {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.94rem;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--blue-light);
}

.nav-links > .btn {
  margin-left: 10px;
}

.nav-item {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 86px;
}

.nav-parent {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 30px 0;
}

.chevron {
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.has-submenu:hover .chevron,
.has-submenu:focus-within .chevron {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: 72px;
  left: 0;
  width: 270px;
  padding: 12px;
  color: var(--text);
  background: var(--white);
  border: 1px solid rgba(7, 23, 40, 0.08);
  border-radius: 12px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.submenu a {
  display: block;
  padding: 11px 13px;
  border-radius: 7px;
}

.submenu a:hover {
  color: var(--blue-dark);
  background: #edf7fc;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.menu-btn {
  display: none;
  color: var(--white);
  background: none;
  border: 0;
  font-size: 1.5rem;
}

/* Hero areas */
.hero,
.inner-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: #061626;
}

.hero {
  display: flex;
  align-items: center;
  min-height: 760px;
  margin: 0;
}

.inner-hero {
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 160px 0 90px;
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after,
.inner-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(2, 14, 27, 0.97) 0%, rgba(4, 23, 42, 0.88) 48%, rgba(5, 27, 48, 0.32) 78%);
}

.home-page .hero::after {
  background: linear-gradient(90deg, rgba(2, 14, 27, 0.92) 0%, rgba(4, 23, 42, 0.78) 38%, rgba(5, 27, 48, 0.34) 66%, rgba(5, 27, 48, 0) 100%);
}

.hero-content,
.inner-hero > .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-top: 100px;
}

.hero h1 span {
  color: var(--blue);
}

.inner-hero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}

/* Homepage */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: 180px repeat(6, 1fr);
  align-items: center;
  min-height: 120px;
  gap: 24px;
}

.trust-grid .brand {
  color: #536174;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
}

.metric-intro {
  padding-right: 70px;
}

.metric {
  padding: 25px 34px;
  border-left: 1px solid var(--line);
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: 2.4rem;
  letter-spacing: -0.04em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  min-height: 230px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(7, 23, 40, 0.12);
}

.card .icon,
.solution-capability-grid .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

.card p {
  color: var(--muted);
}

.card-link {
  color: var(--blue);
  font-weight: 800;
}

.solutions-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 50px;
}

.solution-mini {
  min-height: 260px;
  padding: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.solution-mini:first-child {
  border-left: 0;
}

.solution-mini p {
  color: #aebdca;
}

.solution-mini .icon {
  margin-bottom: 30px;
  color: var(--blue-light);
  font-size: 2rem;
}

.approach {
  display: grid;
  grid-template-columns: 1.1fr 2.2fr;
  align-items: start;
  gap: 80px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step-num {
  color: #c7d0d9;
  font-size: 2.6rem;
}

.step-dot {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 18px 0;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 50%;
  font-size: 1.4rem;
}

/* Shared content */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 90px;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature {
  padding: 24px;
  background: var(--paper);
  border-left: 3px solid var(--blue);
}

.quote {
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat {
  padding: 30px;
  background: var(--paper);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 2.5rem;
}

.form {
  display: grid;
  gap: 16px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 15px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  font: inherit;
}

.form textarea {
  min-height: 160px;
}

/* Insights */
.article-list {
  display: grid;
}

.article {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.article-thumb {
  min-height: 100px;
  background: linear-gradient(135deg, #061626, var(--blue));
  border-radius: 8px;
}

.tag {
  display: inline-block;
  padding: 5px 9px;
  color: var(--blue-dark);
  background: #eaf6fc;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Industries */
.split-heading {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 80px;
}

.split-heading > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.industries-showcase {
  padding-top: 90px;
}

.industry-list {
  border-top: 1px solid var(--line);
}

.industry-row {
  display: grid;
  grid-template-columns: 70px 1.15fr 1.2fr auto;
  align-items: center;
  gap: 34px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.industry-number {
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 800;
}

.industry-row h3 {
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.industry-row p {
  color: var(--muted);
}

.industry-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 120px;
  padding: 20px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #14517a);
  border-radius: 12px;
}

.industry-visual::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -30px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(36, 144, 206, 0.7);
  border-radius: 50%;
}

.industry-visual span {
  font-weight: 800;
}

.industry-visual small {
  color: #9ed7f5;
}

.industry-detail-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  align-items: center;
  gap: 80px;
}

.industry-callout {
  padding: 50px;
  color: var(--white);
  background: var(--ink);
  border-radius: 18px;
}

.industry-callout strong {
  display: block;
  margin-bottom: 16px;
  color: var(--blue-light);
  font-size: 1.5rem;
}

.editorial-panels {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.editorial-panels article {
  min-height: 260px;
  padding: 35px;
  background: var(--paper);
  border-top: 3px solid var(--blue);
}

.editorial-panels span {
  color: #aab7c3;
  font-size: 2rem;
}

/* Solution detail pages */
.solution-detail-band {
  background: var(--white);
}

.solution-detail-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 80px;
}

.solution-detail-panel {
  padding: 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.solution-detail-panel > span {
  display: block;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.solution-detail-panel > span:first-child {
  margin-top: 0;
}

.solution-detail-panel p:last-child {
  margin-bottom: 0;
}

.solution-capability-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 48px;
}

.solution-capability-heading > p,
.solution-capability-grid p {
  color: #aebdca;
}

.solution-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.solution-capability-grid article {
  min-height: 260px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
}

.solution-capability-grid .icon {
  color: var(--blue-light);
  border-color: var(--blue);
}

.solution-outcome-section {
  background: var(--paper);
}

.solution-outcome-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.solution-outcome-quote {
  padding: 38px;
  color: var(--white);
  background: var(--ink);
  border-radius: 18px;
}

.solution-outcome-quote blockquote {
  margin: 20px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

/* Our Work */
.case-study-list {
  border-top: 1px solid var(--line);
}

.case-study {
  border-bottom: 1px solid var(--line);
}

.case-study summary {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 32px 0;
  cursor: pointer;
  list-style: none;
}

.case-study summary::-webkit-details-marker {
  display: none;
}

.case-no {
  color: var(--blue);
  font-weight: 800;
}

.case-study summary small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.case-study summary strong {
  font-size: 1.45rem;
}

.expand-label {
  color: var(--blue);
  font-weight: 800;
}

.case-study[open] .expand-label::after {
  content: " Close";
}

.case-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  padding: 0 0 42px 100px;
}

.case-body p {
  color: var(--muted);
}

/* About Us */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.team-card {
  overflow: hidden;
  background: #0a2035;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
}

.team-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: #0b2338;
}

.team-copy {
  padding: 25px;
}

.team-copy p {
  color: #b8c5d0;
}

.team-role {
  color: var(--blue-light) !important;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.expertise-grid article {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.expertise-grid article:nth-child(2),
.expertise-grid article:nth-child(3) {
  background: var(--paper);
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.technology-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(7, 23, 40, 0.06);
}

.technology-card-large {
  grid-column: span 6;
}

.technology-card-small {
  grid-column: span 3;
}

.technology-card h3 {
  min-height: 2.25em;
  margin-bottom: 24px;
  font-size: 1.28rem;
}

.technology-image {
  width: 100%;
  height: auto;
  margin-top: auto;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.technology-image-large {
  aspect-ratio: 3 / 2;
}

.technology-image-small {
  aspect-ratio: 7 / 4;
}

/* Calls to action and footer */
.cta {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  color: var(--white);
  background: linear-gradient(90deg, #061626, #0b3152);
}

.cta::after {
  content: "";
  position: absolute;
  top: -90%;
  right: -10%;
  width: 55%;
  aspect-ratio: 1;
  border: 1px solid rgba(36, 144, 206, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(36, 144, 206, 0.08), 0 0 0 80px rgba(36, 144, 206, 0.04);
}

.cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  align-items: center;
  gap: 50px;
}

.footer {
  padding: 70px 0 26px;
  color: #c1ccd6;
  background: #041321;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1.15fr 1fr 1fr 0.7fr;
  gap: 36px;
}

.footer h4 {
  margin-top: 0;
  color: var(--white);
}

.footer a {
  display: block;
  margin: 9px 0;
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--blue-light);
}

.footer-logo {
  width: 180px;
  margin-bottom: 18px;
}

.legal {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

/* Tablet */
@media (max-width: 1120px) and (min-width: 981px) {
  .nav-links {
    gap: 14px;
    font-size: 0.88rem;
  }

  .nav-links > .btn {
    padding-inline: 16px;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: 80vh;
    padding: 18px;
    overflow: auto;
    background: #061626;
    border-radius: 12px;
  }

  .nav-links > .btn {
    margin-left: 0;
  }

  .nav-item {
    display: block;
    height: auto;
  }

  .nav-parent {
    padding: 12px;
  }

  .submenu {
    position: static;
    display: none;
    width: auto;
    margin: 0 8px;
    color: var(--white);
    background: var(--ink-soft);
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    display: block;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    min-height: 680px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 30px 0;
  }

  .trust-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric:first-child {
    grid-column: 1 / -1;
  }

  .cards,
  .editorial-panels,
  .case-body,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solutions-row,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .approach,
  .content-grid,
  .cta-grid,
  .split-heading,
  .industry-detail-grid,
  .solution-detail-split,
  .solution-capability-heading,
  .solution-outcome-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article {
    grid-template-columns: 100px 1fr;
  }

  .article > a:last-child {
    display: none;
  }

  .industry-row {
    grid-template-columns: 50px 1fr;
  }

  .industry-visual,
  .industry-row > a {
    grid-column: 2;
  }

  .case-body {
    padding-left: 0;
  }

  .solution-capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .technology-card-large,
  .technology-card-small {
    grid-column: span 6;
  }
}

/* Mobile */
@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .section {
    padding: 72px 0;
  }

  .nav {
    height: 72px;
  }

  .logo {
    width: 160px;
  }

  .hero {
    min-height: 720px;
  }

  .home-page .hero::after {
    background: linear-gradient(90deg, rgba(2, 14, 27, 0.94) 0%, rgba(4, 23, 42, 0.82) 55%, rgba(5, 27, 48, 0.35) 100%);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-grid,
  .cards,
  .solutions-row,
  .steps,
  .footer-grid,
  .stats,
  .editorial-panels,
  .case-body,
  .team-grid,
  .expertise-grid,
  .solution-capability-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-intro {
    padding-right: 0;
  }

  .metric {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .article {
    grid-template-columns: 1fr;
  }

  .article-thumb {
    height: 150px;
  }

  .industry-row {
    grid-template-columns: 1fr;
  }

  .industry-visual,
  .industry-row > a {
    grid-column: auto;
  }

  .case-study summary {
    grid-template-columns: 42px 1fr;
  }

  .expand-label {
    grid-column: 2;
  }

  .technology-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 52px;
    padding-top: 52px;
  }

  .technology-card-large,
  .technology-card-small {
    grid-column: 1;
  }

  .technology-card {
    padding: 22px;
  }

  .technology-card h3 {
    min-height: 0;
  }

  .legal {
    flex-direction: column;
    gap: 15px;
  }
}


/* Remove unwanted space above the homepage */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    border-top: 0 !important;
}

.header {
    top: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
}

main,
.hero,
.hero-home {
    margin-top: 0 !important;
}