:root {
  --night: #334364;
  --cyan: #72BBD9;
  --paper: #FFFFFF;
  --paper-soft: #F7F7F4;
  --ink: #1D2639;
  --muted: rgba(29, 38, 57, .68);
  --line: rgba(51, 67, 100, .12);
  --shadow: 0 20px 60px rgba(24, 32, 48, .08);
  --display-font: "Montserrat", Inter, system-ui, sans-serif;
  --title-size: clamp(41px, 5.05vw, 80px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--cyan); color: var(--night); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 4vw, 64px);
  color: #fff;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .9);
  color: var(--night);
  border-bottom: 1px solid rgba(51, 67, 100, .08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a { opacity: .88; }
.main-nav a:hover { opacity: 1; }

.nav-contact {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

section {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 10vw, 132px) clamp(20px, 5.4vw, 88px);
}

.section-soft { background: var(--paper-soft); }

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(114,187,217,.18), transparent 28%),
    linear-gradient(135deg, #334364 0%, #263654 58%, #334364 100%);
  color: #fff;
  padding: 0 20px;
  isolation: isolate;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 20, 40, .02), rgba(10, 20, 40, .12));
  background-size: 72px 72px, 72px 72px, auto;
  opacity: .72;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1300px, 100%);
  padding-top: 40px;
}

.hero-lockup {
  width: min(1040px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  width: min(1000px, 82vw);
  margin: 0 auto 20px;
  filter: drop-shadow(0 18px 45px rgba(0, 0, 0, .16));
}

.hero-baseline {
  margin: 0;
  min-height: 1.8em;
  color: rgba(255, 255, 255, .92);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
  font-size: clamp(12px, 1.35vw, 19px);
  letter-spacing: .08em;
  white-space: nowrap;
  will-change: transform;
}



.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 30px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 9px;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  animation: cue 1.45s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50% { transform: translateY(15px); opacity: 1; }
}

.section-heading {
  width: min(1050px, 100%);
  margin-bottom: clamp(34px, 6vw, 72px);
}

.simple-heading {
  margin-left: 0;
}

.section-small {
  margin: 8px 0 0;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 900;
}

h1, h2 { font-size: var(--title-size); }

h1 { font-size: var(--title-size); }
h2 { font-size: var(--title-size); }

.intro {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(320px, 1.05fr);
  gap: clamp(34px, 6vw, 94px);
  background: var(--paper);
}

.flow-copy {
  display: grid;
  gap: 22px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: rgba(29, 38, 57, .76);
}

.flow-copy p { margin: 0; }

.human-line {
  padding-top: 10px;
  color: var(--night) !important;
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 38px);
  letter-spacing: -.045em;
}

.workflow-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(230px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 26px;
  scroll-snap-type: x mandatory;
}

.workflow-track::-webkit-scrollbar { height: 10px; }
.workflow-track::-webkit-scrollbar-thumb { background: rgba(51, 67, 100, .16); border-radius: 999px; }

.workflow-card {
  scroll-snap-align: start;
  min-height: 390px;
  padding: 26px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(57, 67, 88, .06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.workflow-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 22px 70px rgba(24, 32, 48, .13);
  border-color: var(--cyan);
}

.workflow-card img { width: 48px; height: 48px; margin-bottom: 28px; }
.workflow-card span { margin-top: 0; color: var(--cyan); font-weight: 900; letter-spacing: .08em; font-size: 12px; }
.workflow-card h3 { margin: 10px 0 12px; color: var(--night); font-size: 24px; letter-spacing: -.045em; }
.workflow-card p { margin: 0; color: var(--muted); }

.clients { background: var(--paper); }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 5vw, 72px) clamp(34px, 6vw, 88px);
  align-items: center;
}

.client-logo {
  min-height: 122px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.client-logo img {
  width: 250px;
  height: 90px;
  max-width: 100%;
  object-fit: contain;
}


.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  padding: 30px 24px 28px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(24, 32, 48, .05);
  text-align: center;
}

.portrait-wrap { display: grid; place-items: center; width: 190px; height: 190px; margin: 0 auto 24px; }
.portrait { width: 190px; height: 190px; object-fit: cover; border-radius: 50%; }

.team-card h3 {
  margin: 0 0 6px;
  color: var(--night);
  font-size: 24px;
  letter-spacing: -.045em;
}

.team-card p {
  margin: 0;
  color: rgba(29, 38, 57, .62);
}

.cta {
  background: #334364;
  color: #fff;
  text-align: left;
}

.cta-inner {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.cta h2 {
  color: var(--cyan);
  margin-bottom: 28px;
  max-width: 980px;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 76px rgba(0, 0, 0, .16);
  background: #263553;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5.5vw, 88px);
  background: var(--night);
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
}

.site-footer p { margin: 0; }

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  [data-parallax],
  .baseline-segment {
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .intro,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 5vw, 72px) clamp(34px, 6vw, 88px);
  align-items: center;
}

@media (max-width: 700px) {
  .brand-name { display: none; }

  .main-nav {
    gap: 14px;
    font-size: 13px;
  }

  section { padding-inline: 18px; }

  .hero-logo {
    width: min(1000px, 94vw);
    margin-bottom: 18px;
  }

  .hero-baseline {
  margin: 0;
  min-height: 1.8em;
  color: rgba(255, 255, 255, .92);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
  font-size: clamp(12px, 1.35vw, 19px);
  letter-spacing: .08em;
  white-space: nowrap;
  will-change: transform;
}





.cta p {
  max-width: 860px;
  margin: 0 0 42px;
  color: rgba(255,255,255,.88);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.18;
}

.cta .button {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  background: #fff;
  color: var(--night);
}

.cta .button:hover {
  background: #F7F7F4;
}
