:root {
  --ink: #17202a;
  --muted: #5f6f7c;
  --soft: #edf6f8;
  --panel: #ffffff;
  --navy: #102033;
  --cyan: #18a8d8;
  --cyan-dark: #087ea7;
  --green: #27b57b;
  --amber: #f5a524;
  --coral: #f06f5b;
  --violet: #7c5cff;
  --line: #d9e7ec;
  --shadow: 0 18px 48px rgba(19, 44, 61, 0.14);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fafc;
  font-family:
    "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  font-weight: 400;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(217, 231, 236, 0.8);
  background: rgba(247, 250, 252, 0.84);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #40505d;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-menu a {
  transition: color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--cyan-dark);
}

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
  padding: 10px 15px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 11px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--navy);
}

.section-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 24%, rgba(24, 168, 216, 0.2), transparent 30%),
    linear-gradient(135deg, #f7fafc 0%, #eef8fb 48%, #ffffff 100%);
}

.hero {
  min-height: calc(100svh - 88px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 2px;
  border-radius: 99px;
  background: var(--cyan);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 900px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.15rem, 4.25vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.95rem, 3.7vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.28;
}

.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  color: #425360;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.62;
}

.hero-note {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 36px rgba(16, 32, 51, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #142941;
  box-shadow: 0 22px 44px rgba(16, 32, 51, 0.28);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--navy);
}

.signal-panel {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 18px;
}

.signal-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.signal-topline strong {
  color: var(--cyan-dark);
  font-size: 1.8rem;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.signal-grid div {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.signal-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.signal-grid strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.proof-strip {
  width: min(var(--max), calc(100% - 36px));
  margin: -28px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 42px rgba(31, 58, 73, 0.1);
}

.proof-item {
  background: #fff;
  padding: 20px;
}

.proof-item span,
.engagement-item span,
.timeline span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.proof-item strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.25;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 650px;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.64;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 264px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 14px 32px rgba(31, 58, 73, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 168, 216, 0.4);
  box-shadow: 0 20px 44px rgba(31, 58, 73, 0.12);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  background: #e8f7fc;
  color: var(--cyan-dark);
}

.card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accent-green {
  background: #e9f8f1;
  color: #16895c;
}

.accent-coral {
  background: #fff0ed;
  color: #c54d3b;
}

.accent-amber {
  background: #fff6df;
  color: #a96b00;
}

.accent-violet {
  background: #f1edff;
  color: #5b3bd4;
}

.accent-blue {
  background: #eaf2ff;
  color: #276bc9;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 44px;
  align-items: start;
}

.delivery-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.delivery-board.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.delivery-board article {
  min-height: 220px;
  background: #fff;
  padding: 24px;
}

.delivery-board span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--cyan-dark);
  font-weight: 850;
}

.delivery-board p {
  margin: 12px 0 0;
  color: var(--muted);
}

.engagement-section {
  width: 100%;
  max-width: none;
  margin-top: 92px;
  padding: 84px max(18px, calc((100% - var(--max)) / 2));
  background: var(--navy);
  color: #fff;
}

.engagement-section h2,
.engagement-section h3 {
  color: #fff;
}

.engagement-section .eyebrow {
  color: #8de5ff;
}

.engagement-section .section-heading p:not(.eyebrow) {
  color: #b8c8d4;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.engagement-item {
  min-height: 188px;
  background: rgba(255, 255, 255, 0.06);
  padding: 22px;
}

.engagement-item strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.25;
}

.engagement-item span {
  display: block;
  margin-top: 18px;
  color: #b8c8d4;
  line-height: 1.5;
  text-transform: none;
  font-size: 0.96rem;
  font-weight: 500;
}

.stack-section {
  padding-top: 92px;
}

.stack-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stack-map.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stack-column {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.stack-column ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.stack-column li {
  position: relative;
  padding: 10px 0 10px 20px;
  color: var(--muted);
  border-top: 1px solid #edf3f5;
}

.stack-column li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.stack-column p {
  margin: 14px 0 0;
  color: var(--muted);
}

.case-section {
  padding-top: 86px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(31, 58, 73, 0.06);
  padding: 24px;
}

.case-meta {
  margin: 0 0 14px;
  color: var(--cyan-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.case-intro {
  margin: 14px 0 20px;
  color: var(--muted);
}

.case-detail {
  display: grid;
  gap: 6px;
  border-top: 1px solid #edf3f5;
  padding: 14px 0 0;
  margin-top: 14px;
}

.case-detail strong {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.case-detail span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.case-note {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.technical-section {
  padding-top: 86px;
}

.technical-section .section-heading {
  max-width: 820px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.process-section {
  padding-bottom: 92px;
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.fit-list div {
  min-height: 150px;
  display: flex;
  align-items: flex-start;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.35;
  padding: 22px;
}

.fit-note {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  position: relative;
  min-height: 230px;
  border-top: 3px solid var(--cyan);
  border-radius: 0 0 8px 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 14px 32px rgba(31, 58, 73, 0.06);
}

.timeline h3 {
  margin-top: 16px;
}

.timeline p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  width: 100%;
  max-width: none;
  display: block;
  padding: 88px max(18px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(24, 168, 216, 0.12), transparent 34%),
    #eaf5f8;
}

.contact-section .contact-copy {
  max-width: 760px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.64;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px;
  color: var(--navy);
  font-weight: 700;
}


.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.91rem;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.site-footer small {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero-shell,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    padding-top: 56px;
  }

  .signal-panel {
    max-width: 620px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .stack-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-board.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stack-map.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .engagement-grid,
  .case-grid,
  .timeline,
  .fit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer small {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 42;
  }

  .nav-menu {
    position: fixed;
    inset: 66px 0 auto 0;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 250, 252, 0.98);
    box-shadow: 0 18px 34px rgba(16, 32, 51, 0.1);
    padding: 10px 18px 18px;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
  }

  .nav-menu .nav-cta {
    margin-top: 14px;
    border-bottom: 0;
    text-align: center;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4rem);
  }

  .hero-shell {
    width: min(var(--max), calc(100% - 28px));
    padding: 44px 0 62px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-strip {
    width: min(var(--max), calc(100% - 28px));
    grid-template-columns: 1fr;
    margin-top: -20px;
  }

  .section {
    width: min(var(--max), calc(100% - 28px));
    padding-top: 76px;
  }

  .service-grid,
  .delivery-board,
  .delivery-board.three,
  .engagement-grid,
  .case-grid,
  .stack-map,
  .stack-map.three,
  .fit-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .engagement-section {
    margin-top: 76px;
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .contact-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .fit-list div {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-canvas {
    display: none;
  }
}
