:root {
  --ink: #15171a;
  --ink-2: #252b30;
  --muted: #66717c;
  --line: #dfe6e8;
  --paper: #f7f9fa;
  --white: #ffffff;
  --petrol: #0f766e;
  --cyan: #22d3ee;
  --warm: #f59e0b;
  --shadow: 0 24px 80px rgba(21, 23, 26, .12);
  --radius: 8px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(21, 23, 26, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21, 23, 26, .045) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  transform: translate3d(0, var(--bg-shift, 0), 0);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(247, 249, 250, .72), rgba(247, 249, 250, .95) 55%, rgba(247, 249, 250, .98));
}

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

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

.page-shell {
  overflow-x: hidden;
  overflow-y: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-band {
  position: relative;
  padding: 112px 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  min-height: 78px;
  margin: 0 auto;
  transition: min-height .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-elevated {
  top: 12px;
  min-height: 62px;
  padding: 0 14px;
  border: 1px solid rgba(223, 230, 232, .86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 60px rgba(21, 23, 26, .1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 760;
}

.brand img {
  width: 54px;
  height: auto;
}

.brand strong {
  color: var(--petrol);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  content: "";
  background: var(--petrol);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding-top: 126px;
  padding-bottom: 80px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.data-stage {
  position: absolute;
  top: 10%;
  right: max(-80px, calc((100vw - 1180px) / 2 - 130px));
  width: min(52vw, 680px);
  aspect-ratio: 1.15;
  opacity: .9;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.node,
.slot-module,
.connector {
  position: absolute;
  display: block;
}

.node {
  width: 21%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}

.node-a {
  left: 10%;
  top: 10%;
}

.node-b {
  left: 10%;
  top: 48%;
  animation-delay: -.8s;
}

.node-c {
  left: 39%;
  top: 10%;
  animation-delay: -1.4s;
}

.node-d {
  left: 39%;
  top: 48%;
  animation-delay: -2s;
}

.connector {
  border-radius: 999px;
  background: var(--petrol);
  opacity: .82;
}

.connector-a {
  left: 30%;
  top: 24%;
  width: 13%;
  height: 8px;
}

.connector-b {
  left: 49%;
  top: 36%;
  width: 8px;
  height: 22%;
}

.connector-c {
  left: 58%;
  top: 43%;
  width: 18%;
  height: 8px;
}

.slot-module {
  left: 72%;
  top: 35%;
  width: 24%;
  height: 15%;
  border-radius: 8px;
  background:
    radial-gradient(circle at 34% 50%, #ffffff 0 6px, transparent 7px),
    radial-gradient(circle at 66% 50%, #ffffff 0 6px, transparent 7px),
    var(--petrol);
  box-shadow: 0 24px 80px rgba(15, 118, 110, .26);
  animation: dock 4.8s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr);
  gap: 54px;
  align-items: end;
}

.hero-copy {
  max-width: 810px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--petrol);
  font-size: 14px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 870px;
  font-size: clamp(62px, 10vw, 138px);
  line-height: .92;
  font-weight: 820;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.24;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 780;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--ink);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--petrol);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, .62);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: rgba(15, 118, 110, .35);
  color: var(--petrol);
  background: #ffffff;
}

.system-card {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(223, 230, 232, .88);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.system-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  background:
    linear-gradient(90deg, rgba(15, 118, 110, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 118, 110, .08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000, transparent 74%);
}

.card-topline {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.card-topline span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.card-topline span:first-child {
  background: var(--warm);
}

.flow-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 62px);
  gap: 16px;
  justify-content: center;
  padding: 48px 24px 36px;
}

.flow-map::before,
.flow-map::after {
  position: absolute;
  content: "";
  background: var(--petrol);
}

.flow-map::before {
  left: calc(50% - 62px);
  top: 80px;
  width: 140px;
  height: 5px;
}

.flow-map::after {
  left: calc(50% + 2px);
  top: 80px;
  width: 5px;
  height: 78px;
}

.tile {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  border-radius: 8px;
  background: var(--ink);
}

.tile.accent {
  grid-column: 3;
  grid-row: 2;
  width: 86px;
  background:
    radial-gradient(circle at 35% 50%, #ffffff 0 5px, transparent 6px),
    radial-gradient(circle at 65% 50%, #ffffff 0 5px, transparent 6px),
    var(--petrol);
  transform: translateX(-6px);
}

.metric-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 20px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.metric-row div {
  display: grid;
  gap: 2px;
  min-height: 86px;
  align-content: center;
  padding: 14px;
  background: #ffffff;
}

.metric-row strong {
  font-size: 28px;
  line-height: 1;
}

.metric-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.intro-band {
  padding: 88px 0;
  background: var(--ink);
  color: #ffffff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 42px;
  align-items: end;
}

.statement {
  color: #ffffff;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.02;
  font-weight: 780;
}

.mini-proof {
  display: grid;
  gap: 12px;
}

.mini-proof span {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  color: #cfd8dc;
  font-size: 18px;
  font-weight: 680;
}

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

.section-heading.wide {
  max-width: 920px;
}

h2 {
  font-size: clamp(44px, 6.4vw, 94px);
  line-height: .98;
  font-weight: 810;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.08;
  font-weight: 780;
  letter-spacing: 0;
}

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

.service {
  display: grid;
  gap: 20px;
  min-height: 360px;
  align-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .74);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service:hover {
  border-color: rgba(15, 118, 110, .34);
  box-shadow: 0 24px 80px rgba(21, 23, 26, .1);
  transform: translateY(-4px);
}

.service-number {
  color: var(--petrol);
  font-size: 14px;
  font-weight: 820;
}

.service p,
.niche-item p,
.timeline p,
.contact-panel p {
  color: var(--muted);
  font-size: 17px;
}

.niches {
  overflow: visible;
  padding-top: 96px;
  background: var(--paper);
}

.niche-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.sticky-copy {
  position: static;
  top: auto;
  max-width: 760px;
  margin-bottom: 0;
}

.sticky-copy h2 {
  max-width: 760px;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04;
}

.niche-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.niche-item {
  display: grid;
  min-height: 270px;
  align-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(15, 118, 110, .09), transparent 42%),
    var(--paper);
  transform: none;
}

.niche-item span {
  display: block;
  margin-bottom: 26px;
  color: var(--petrol);
  font-size: 15px;
  font-weight: 820;
}

.niche-item p {
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(27px, 3.2vw, 50px);
  line-height: 1.05;
  font-weight: 760;
}

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

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

.timeline article {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 290px;
  align-content: start;
  padding: 24px;
  border-top: 3px solid var(--petrol);
  background: #ffffff;
}

.timeline article::after {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 16px;
  height: 16px;
  content: "";
  border-radius: 4px;
  background: var(--cyan);
}

.timeline span {
  color: var(--petrol);
  font-size: 14px;
  font-weight: 820;
}

.contact {
  padding-bottom: 36px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .6fr) auto;
  gap: 28px;
  align-items: end;
  padding: 34px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--ink);
}

.contact-panel .eyebrow {
  color: var(--cyan);
}

.contact-panel h2 {
  max-width: 760px;
  font-size: clamp(38px, 5.5vw, 78px);
}

.contact-panel p {
  color: #c8d2d8;
}

[data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .7s ease, translate .7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes dock {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-16px);
  }
}

@media (max-width: 980px) {
  .site-header,
  .site-header.is-elevated {
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 70px;
    padding: 0 16px;
    border-radius: 0;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-grid,
  .split,
  .niche-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .data-stage {
    top: 6%;
    right: -32%;
    width: 92vw;
    opacity: .22;
  }

  .system-card {
    min-height: 320px;
  }

  .service-grid,
  .niche-stack,
  .timeline {
    grid-template-columns: 1fr;
  }

  .sticky-copy {
  position: static;
  top: auto;
  max-width: 760px;
  margin-bottom: 0;
}
}

@media (max-width: 640px) {
  .niches {
    padding-top: 72px;
  }

  .sticky-copy h2 {
    font-size: 36px;
  }

  .niche-layout {
    gap: 28px;
  }

  .niche-item {
    min-height: 220px;
  }

  .niche-item p {
    font-size: 32px;
  }

  .section-band {
    padding: 78px 0;
  }

  .hero {
    padding-top: 54px;
  }

  .brand span {
    max-width: 142px;
    line-height: 1.1;
  }

  h1 {
    font-size: clamp(54px, 18vw, 84px);
  }

  .lead {
    font-size: 21px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .flow-map {
    grid-template-columns: repeat(3, 52px);
    gap: 12px;
  }

  .tile {
    width: 52px;
    height: 52px;
  }

  .tile.accent {
    width: 74px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .statement {
    font-size: 38px;
  }

  .service,
  .niche-item,
  .timeline article,
  .contact-panel {
    padding: 20px;
  }

  .contact-panel .button {
    justify-self: stretch;
  }
}
@media (max-width: 760px) {
  :root {
    --container: min(100% - 24px, 1180px);
    --shadow: 0 16px 44px rgba(21, 23, 26, .1);
  }

  .section-band {
    padding: 72px 0;
  }

  .site-header,
  .site-header.is-elevated {
    min-height: 64px;
    padding: 0 12px;
  }

  .brand {
    gap: 10px;
    font-size: 15px;
  }

  .brand img {
    width: 44px;
  }

  .brand span {
    max-width: 132px;
    line-height: 1.1;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 68px;
  }

  .hero-grid {
    gap: 28px;
  }

  h1 {
    font-size: 56px;
    line-height: .98;
  }

  h2 {
    font-size: 44px;
    line-height: 1.02;
  }

  h3 {
    font-size: 26px;
  }

  h1,
  h2,
  h3,
  .statement,
  .niche-item p {
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .lead {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.34;
  }

  .actions {
    margin-top: 26px;
  }

  .button {
    min-height: 50px;
    padding: 0 16px;
  }

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

  .flow-map {
    grid-template-columns: repeat(3, 50px);
    gap: 12px;
    padding: 32px 18px 26px;
  }

  .flow-map::before {
    left: calc(50% - 50px);
    top: 62px;
    width: 112px;
  }

  .flow-map::after {
    left: calc(50% + 1px);
    top: 62px;
    height: 66px;
  }

  .tile {
    width: 50px;
    height: 50px;
  }

  .tile.accent {
    width: 70px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric-row div {
    min-height: 64px;
  }

  .intro-band {
    padding: 64px 0;
  }

  .statement {
    font-size: 34px;
    line-height: 1.08;
  }

  .mini-proof span {
    font-size: 16px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .service,
  .timeline article,
  .contact-panel {
    min-height: auto;
    padding: 22px;
  }

  .service p,
  .timeline p,
  .contact-panel p {
    font-size: 16px;
  }

  .niches {
    padding-top: 70px;
  }

  .niche-layout {
    gap: 28px;
  }

  .sticky-copy {
    max-width: 100%;
  }

  .sticky-copy h2 {
    max-width: 100%;
    font-size: 38px;
    line-height: 1.06;
  }

  .niche-stack {
    grid-template-columns: 1fr;
  }

  .niche-item {
    min-height: auto;
    padding: 22px;
  }

  .niche-item span {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .niche-item p {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.08;
  }

  .contact-panel {
    gap: 22px;
    align-items: start;
  }

  .contact-panel h2 {
    font-size: 36px;
    line-height: 1.04;
  }

  .contact-panel .button {
    width: 100%;
    padding: 0 12px;
    text-align: center;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  :root {
    --container: min(100% - 20px, 1180px);
  }

  .section-band {
    padding: 58px 0;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 24px;
  }

  .lead {
    font-size: 17px;
  }

  .statement {
    font-size: 30px;
  }

  .sticky-copy h2,
  .contact-panel h2 {
    font-size: 32px;
  }

  .niche-item p {
    font-size: 27px;
  }

  .button {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  body::before,
  .data-stage,
  .system-card,
  .niche-item {
    transform: none !important;
  }
}
