:root {
  --ink: #0a2e5d;
  --ink-soft: #264c77;
  --muted: #516a84;
  --paper: #f8fbfe;
  --paper-2: #eef6fc;
  --cream: #fbf7f2;
  --line: rgba(17, 66, 127, .12);
  --blue: #175dc3;
  --blue-deep: #0e3f87;
  --cyan: #8ee7ff;
  --coral: #ff6c62;
  --shadow-soft: 0 24px 70px rgba(17, 67, 122, .12);
  --shadow-card: 0 24px 56px rgba(15, 58, 110, .10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: min(1320px, calc(100vw - 88px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #f6fbff, #fdfefe 42%, #f7fbff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(255, 108, 98, .9); color: #fff; }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.skip-link:focus { transform: none; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: 3px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--coral), #ff9582 22%, #6fdfff 55%, #3c73d7 100%);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 82px;
  padding: max(18px, env(safe-area-inset-top)) max(40px, env(safe-area-inset-right)) 16px max(40px, env(safe-area-inset-left));
  pointer-events: none;
}
.site-nav {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  pointer-events: auto;
}
.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-shadow: 0 1px 14px rgba(255,255,255,.72);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transition: right .35s var(--ease);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { right: 0; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  background: var(--paper-2);
}
.hero-media,
.hero-overlay,
.hero-grain {
  position: absolute;
  inset: 0;
}
.hero-media { z-index: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  animation: none;
}
.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(241,248,254,.96) 0%, rgba(241,248,254,.92) 22%, rgba(241,248,254,.72) 38%, rgba(241,248,254,.18) 58%, rgba(241,248,254,0) 72%),
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.42), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
}
.hero-grain,
.contact-grain {
  z-index: 2;
  pointer-events: none;
  opacity: .12;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
}
.hero-shell {
  position: relative;
  z-index: 3;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding-block: 138px 88px;
}
.hero-copy {
  width: min(680px, 50vw);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-eyebrow { color: #3c638f; }
.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(54px, 5vw, 88px);
  line-height: .97;
  letter-spacing: -.06em;
  font-weight: 760;
}
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: #124a91; }
.hero h1 span:nth-child(3) { color: var(--coral); }
.hero-intro {
  max-width: 640px;
  margin: 28px 0 0;
  color: #48637d;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.72;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: rgba(12, 52, 102, .72);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scroll-cue span {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, currentColor);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%,100% { transform: scaleY(.45); transform-origin: top; opacity: .45; }
  50% { transform: scaleY(1); opacity: 1; }
}

.approach,
.poc,
.technology {
  position: relative;
  isolation: isolate;
}
.approach::after,
.poc::after,
.technology::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(102, 194, 255, .16), transparent 64%);
}
.approach:hover::after,
.poc:hover::after,
.technology:hover::after { opacity: 1; }

.approach {
  overflow: clip;
  padding: clamp(98px, 10vw, 150px) 0;
  background:
    radial-gradient(circle at 4% 14%, rgba(255, 193, 131, .18), transparent 22%),
    radial-gradient(circle at 94% 86%, rgba(103, 179, 255, .12), transparent 24%),
    linear-gradient(180deg, #f8fbfe 0%, #f1f8fd 100%);
}
.flow-haze {
  position: absolute;
  border-radius: 999px;
  filter: blur(54px);
  pointer-events: none;
}
.flow-haze-one {
  width: 360px;
  height: 130px;
  left: -120px;
  top: 24%;
  background: rgba(255, 122, 98, .14);
  transform: rotate(12deg);
}
.flow-haze-two {
  width: 420px;
  height: 160px;
  right: -160px;
  bottom: 12%;
  background: rgba(79, 169, 255, .16);
  transform: rotate(-14deg);
}
.approach-shell,
.poc-grid,
.technology-grid,
.contact-inner,
.site-footer,
.hero-shell {
  position: relative;
  z-index: 1;
}
.section-intro {
  max-width: 820px;
}
.section-intro h2,
.poc h2,
.technology h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.8vw, 76px);
  line-height: 1.01;
  letter-spacing: -.055em;
}
.section-intro > p:last-child,
.poc-copy > p:last-child,
.technology-copy > p:not(.eyebrow),
.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.74;
}
.section-intro > p:last-child {
  max-width: 690px;
  margin: 24px 0 0;
}
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 28px);
  margin-top: clamp(58px, 7vw, 92px);
}
.journey-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 123, 104, .35), rgba(110, 190, 255, .4), rgba(24, 104, 207, .3));
  overflow: hidden;
}
.journey-line span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.0) 24%, rgba(255,255,255,.75) 48%, rgba(255,255,255,.0) 74%, transparent 100%);
  transform: translateX(-100%);
  animation: travel 5s ease-in-out infinite;
}
@keyframes travel { 55%, 100% { transform: translateX(100%); } }
.journey-step {
  position: relative;
  min-width: 0;
  padding: 0 20px 22px 0;
}
.step-index {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding-right: 12px;
  background: transparent;
}
.step-index span {
  color: #476485;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .14em;
}
.step-index i {
  width: 17px;
  height: 17px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--coral), #ff8e73 44%, #5cbcff 100%);
  box-shadow: 0 0 0 1px rgba(39,92,147,.14), 0 5px 18px rgba(70,103,244,.18);
}
.journey-step h3 {
  margin: 34px 0 14px;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.journey-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}
.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(52px, 6vw, 88px);
}
.capability-list span {
  padding: 11px 16px;
  border: 1px solid rgba(21, 82, 151, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  color: #315a82;
  font-size: 13px;
  font-weight: 680;
}

.poc {
  overflow: clip;
  padding: clamp(96px, 10vw, 150px) 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(77, 167, 255, .11), transparent 24%),
    radial-gradient(circle at 12% 92%, rgba(255, 174, 126, .16), transparent 26%),
    linear-gradient(180deg, #fcfdfd 0%, #f7fbff 100%);
}
.poc-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 118, 95, .08), transparent 18%),
    radial-gradient(circle at 26% 84%, rgba(101, 204, 255, .10), transparent 20%);
}
.poc-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: clamp(44px, 6vw, 100px);
  align-items: center;
}
.poc-copy > p:last-child,
.technology-copy > p:not(.eyebrow),
.contact-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 26px 0 0;
}
.experiment-map {
  position: relative;
  border: 1px solid rgba(24, 88, 157, .08);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,251,255,.92));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.experiment-map::before {
  content: "";
  position: absolute;
  inset: -24%;
  background: conic-gradient(from 220deg, transparent 0 30%, rgba(85,174,255,.12) 42%, transparent 54% 76%, rgba(255,112,97,.10) 88%, transparent 100%);
  animation: orbit 15s linear infinite;
}
@keyframes orbit { to { transform: rotate(1turn); } }
.experiment-map svg { position: relative; width: 100%; height: auto; }
.map-grid path { stroke: rgba(84, 143, 205, .26); stroke-width: 1; }
.map-paths .path { stroke-width: 4; stroke-dasharray: 12 14; animation: dash 13s linear infinite; }
.map-paths .path-b { animation-duration: 10s; animation-direction: reverse; }
.map-paths .path-c { animation-duration: 16s; }
@keyframes dash { to { stroke-dashoffset: -520; } }
.map-nodes circle { fill: #67d6ff; }
.map-nodes circle:nth-child(2), .map-nodes circle:nth-child(5) { fill: #ff806d; }
.map-nodes .node-final { fill: #2c5fde; stroke: rgba(255,255,255,.94); stroke-width: 3; }
.map-labels text { fill: rgba(29, 71, 118, .72); font: 700 16px Inter, system-ui, sans-serif; letter-spacing: .06em; }

.technology {
  padding: clamp(96px, 10vw, 150px) 0;
  background:
    radial-gradient(circle at 8% 42%, rgba(255, 188, 125, .14), transparent 24%),
    radial-gradient(circle at 92% 56%, rgba(103, 179, 255, .12), transparent 24%),
    linear-gradient(180deg, #fffdfa 0%, #fbfdff 100%);
}
.technology-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}
.technology-note {
  padding-left: 18px;
  border-left: 3px solid var(--coral);
  color: #244f7b !important;
  font-weight: 650;
}
.technology-brand {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 44px;
  border: 1px solid rgba(20,73,130,.08);
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(249,252,255,.92));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.technology-brand::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.75);
  background: linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,0));
  pointer-events: none;
}
.technology-brand img {
  position: relative;
  width: auto;
  max-width: 100%;
  height: 150px;
  object-fit: contain;
}

.contact {
  position: relative;
  overflow: clip;
  min-height: 84svh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 194, 132, .18), transparent 18%),
    radial-gradient(circle at 84% 20%, rgba(105, 185, 255, .12), transparent 24%),
    linear-gradient(180deg, #eef7fd 0%, #f7fbff 100%);
}
.contact-art,
.contact-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact-art::before,
.contact-art::after,
.contact-overlay::before,
.contact-overlay::after {
  content: "";
  position: absolute;
}
.contact-art::before {
  width: 520px;
  height: 520px;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 32px solid rgba(255,255,255,.72);
  opacity: .7;
}
.contact-art::after {
  width: 340px;
  height: 340px;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(114, 219, 255, .20), transparent 70%);
  filter: blur(8px);
  opacity: .85;
}
.contact-overlay::before {
  width: 460px;
  height: 460px;
  right: 0;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 111, 98, .14), transparent 66%);
}
.contact-overlay::after {
  left: 44%;
  right: 0;
  top: 0;
  bottom: 0;
  background:
    linear-gradient(110deg, transparent 0 30%, rgba(125, 220, 255, .12) 40%, transparent 52%),
    linear-gradient(110deg, transparent 0 46%, rgba(255, 129, 106, .10) 56%, transparent 64%);
  opacity: .85;
}
.contact-inner {
  display: grid;
  align-items: center;
  min-height: calc(84svh - 90px);
  padding-block: 120px;
}
.contact-copy { width: min(640px, 54vw); }
.contact .eyebrow { color: #275a94; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
  padding: 16px 18px 16px 24px;
  border: 1px solid rgba(17, 88, 170, .16);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #1b55b4 0%, #1d63cb 48%, #0f4ca1 100%);
  box-shadow: 0 18px 44px rgba(20, 80, 166, .25), inset 0 1px 0 rgba(255,255,255,.22);
  font-size: 15px;
  font-weight: 780;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.contact-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  width: 38%;
  left: -48%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transition: left .7s var(--ease);
}
.contact-cta:hover,
.contact-cta:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(20, 80, 166, .34), 0 0 0 6px rgba(105, 185, 255, .12);
}
.contact-cta:hover::before,
.contact-cta:focus-visible::before { left: 115%; }
.contact-cta svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform .35s var(--ease);
}
.contact-cta:hover svg { transform: translateX(3px); }
.site-footer {
  position: absolute;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  transform: translateX(-50%);
  color: rgba(26, 63, 110, .58);
  font-size: 12px;
}
.site-footer a { transition: color .25s ease; }
.site-footer a:hover { color: var(--ink); }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .82s var(--ease), transform .82s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  :root { --shell: min(100% - 52px, 960px); }
  .site-header { padding-inline: 26px; }
  .hero-copy { width: min(620px, 62vw); }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 54px; }
  .journey-line { display: none; }
  .poc-grid { grid-template-columns: 1fr; }
  .technology-grid { grid-template-columns: 1fr; }
  .contact-copy { width: min(620px, 64vw); }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 30px); }
  .site-header {
    min-height: 66px;
    padding: max(12px, env(safe-area-inset-top)) 18px 12px;
  }
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 12px; }

  .hero { min-height: 920px; }
  .hero-media img { object-position: center bottom; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(241,248,254,.98) 0%, rgba(241,248,254,.95) 40%, rgba(241,248,254,.64) 58%, rgba(241,248,254,.08) 78%, rgba(241,248,254,0) 100%);
  }
  .hero-shell {
    min-height: 920px;
    align-items: start;
    padding-top: 110px;
    padding-bottom: 380px;
  }
  .hero-copy { width: 100%; }
  .hero .eyebrow { margin-bottom: 14px; font-size: 10px; }
  .hero h1 { font-size: clamp(42px, 13vw, 60px); line-height: .98; }
  .hero-intro { margin-top: 22px; font-size: 15px; line-height: 1.64; }
  .scroll-cue { bottom: 18px; }

  .approach,
  .poc,
  .technology { padding: 92px 0; }
  .section-intro h2,
  .poc h2,
  .technology h2,
  .contact h2 { font-size: clamp(38px, 11.2vw, 54px); }
  .section-intro > p:last-child,
  .poc-copy > p:last-child,
  .technology-copy > p:not(.eyebrow),
  .contact-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.7; }

  .journey {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 54px;
  }
  .journey-step {
    padding: 0 0 38px 40px;
    border-left: 1px solid rgba(69,125,181,.22);
  }
  .journey-step:last-child { padding-bottom: 0; border-left-color: transparent; }
  .step-index {
    position: absolute;
    left: -9px;
    top: 0;
    display: grid;
  }
  .step-index span { position: absolute; left: 30px; top: 0; }
  .journey-step h3 { margin: 0 0 12px; font-size: 25px; }
  .journey-step p { font-size: 14px; line-height: 1.7; }
  .capability-list { margin-top: 58px; gap: 8px; }
  .capability-list span { padding: 9px 12px; font-size: 11px; }

  .poc-grid,
  .technology-grid { gap: 44px; }
  .experiment-map { border-radius: 24px; }
  .map-labels text { font-size: 18px; }
  .technology-brand {
    min-height: 190px;
    padding: 34px 24px;
    border-radius: 26px;
  }
  .technology-brand img { height: 150px; max-width: 100%; }

  .contact {
    min-height: 760px;
    align-items: start;
  }
  .contact-art::before {
    width: 340px;
    height: 340px;
    right: -100px;
    top: auto;
    bottom: 74px;
    transform: none;
    border-width: 22px;
    opacity: .6;
  }
  .contact-art::after {
    width: 240px;
    height: 240px;
    right: 10px;
    top: auto;
    bottom: 108px;
    transform: none;
    opacity: .7;
  }
  .contact-overlay::before {
    width: 260px;
    height: 260px;
    right: -40px;
    bottom: 20px;
  }
  .contact-overlay::after {
    left: 28%;
    opacity: .48;
  }
  .contact-inner {
    min-height: 720px;
    align-items: start;
    padding-top: 100px;
    padding-bottom: 270px;
  }
  .contact-copy { width: 100%; }
  .contact-cta {
    width: 100%;
    justify-content: space-between;
    margin-top: 30px;
    padding: 14px 16px 14px 18px;
  }
  .site-footer { bottom: 18px; }
}

@media (hover: none), (pointer: coarse) {
  .approach::after,
  .poc::after,
  .technology::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
