:root {
  --ink: #0e1015;
  --paper: #f6f4ef;
  --white: #ffffff;
  --muted: #72747b;
  --line: rgba(14, 16, 21, 0.14);
  --dark: #090b10;
  --blue: #0ea5e9;
  --cyan: #67e8f9;
  --deep-blue: #2563eb;
  --accent: #38bdf8;
  --grad: linear-gradient(100deg, #67e8f9 0%, #0ea5e9 48%, #2563eb 100%);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  color: var(--white);
  transition: background 220ms ease, padding 220ms ease, color 220ms ease;
}

.site-header.is-scrolled {
  padding: 14px 32px;
  background: rgba(246, 244, 239, 0.88);
  color: var(--ink);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--grad);
  display: inline-block;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px 56px 74px;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.hero-media,
.hero-overlay,
.network-motion {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transform: scale(1.08);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 10, 18, 0.9) 0%, rgba(4, 10, 18, 0.66) 42%, rgba(4, 10, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 70% 20%, rgba(87, 194, 255, 0.22), transparent 36%);
}

.network-motion {
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.92;
}

.network-motion::before,
.network-motion::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(24deg, transparent 0 46%, rgba(255, 255, 255, 0.22) 47%, transparent 49%),
    linear-gradient(-12deg, transparent 0 53%, rgba(118, 211, 255, 0.18) 54%, transparent 56%),
    linear-gradient(5deg, transparent 0 62%, rgba(255, 255, 255, 0.14) 63%, transparent 65%);
  transform: translateX(-8%);
  animation: lineSweep 9s linear infinite;
}

.network-motion::after {
  opacity: 0.54;
  transform: translateX(8%) translateY(5%);
  animation-duration: 14s;
  animation-direction: reverse;
}

.beam {
  position: absolute;
  height: 2px;
  width: 48vw;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  box-shadow: 0 0 18px rgba(137, 219, 255, 0.9);
  transform-origin: left center;
  animation: beamPulse 4.8s ease-in-out infinite;
}

.beam-a {
  left: 3%;
  top: 38%;
  transform: rotate(4deg);
}

.beam-b {
  left: 34%;
  top: 33%;
  width: 62vw;
  transform: rotate(-2deg);
  animation-delay: 1.1s;
}

.beam-c {
  left: 18%;
  top: 62%;
  width: 58vw;
  transform: rotate(17deg);
  animation-delay: 2.2s;
}

.beam-d {
  left: 0;
  top: 78%;
  width: 44vw;
  transform: rotate(-18deg);
  animation-delay: 3.2s;
}

.node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 22px rgba(137, 219, 255, 0.98);
  animation: nodeFloat 5s ease-in-out infinite;
}

.node-a { left: 34%; top: 37%; }
.node-b { left: 52%; top: 49%; animation-delay: 0.8s; }
.node-c { left: 70%; top: 35%; animation-delay: 1.6s; }
.node-d { left: 82%; top: 62%; animation-delay: 2.4s; }

.panel {
  position: absolute;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(173, 221, 255, 0.12);
  backdrop-filter: blur(2px);
  animation: panelFloat 8s ease-in-out infinite;
}

.panel-a { left: 10%; top: 26%; }
.panel-b { left: 76%; top: 20%; width: 52px; height: 52px; animation-delay: 1.4s; }
.panel-c { left: 61%; top: 69%; width: 58px; height: 58px; animation-delay: 2.8s; }

@keyframes heroDrift {
  from {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
  to {
    transform: scale(1.14) translate3d(1.4%, 0.8%, 0);
  }
}

@keyframes lineSweep {
  from {
    transform: translate3d(-12%, 0, 0);
  }
  to {
    transform: translate3d(12%, 0, 0);
  }
}

@keyframes beamPulse {
  0%, 100% {
    opacity: 0.26;
    filter: blur(0.2px);
  }
  50% {
    opacity: 0.95;
    filter: blur(0);
  }
}

@keyframes nodeFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(0.82);
    opacity: 0.62;
  }
  50% {
    transform: translate3d(14px, -10px, 0) scale(1.25);
    opacity: 1;
  }
}

@keyframes panelFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.24;
  }
  50% {
    transform: translate3d(18px, -14px, 0);
    opacity: 0.55;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: #bae6fd;
}

.eyebrow.dark {
  color: var(--blue);
}

.hero h1,
.contact h2 {
  margin: 0;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 34px 0 0;
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 800;
  font-size: 14px;
}

.button.primary {
  border: 0;
  background: var(--grad);
  color: var(--white);
}

.button.ghost {
  color: var(--white);
}

.button.large {
  height: 58px;
  min-width: 190px;
}

.scroll-cue {
  position: absolute;
  right: 42px;
  bottom: 42px;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 800;
}

.statement,
.business,
.works,
.flow {
  padding: 112px 56px;
}

.section-label {
  font-size: 12px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 34px;
}

.section-label.light {
  color: #bae6fd;
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 80px;
  align-items: end;
}

.statement h2,
.section-head h2,
.about h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.statement p,
.about p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.section-head {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  margin-bottom: 72px;
}

.business-row {
  display: grid;
  grid-template-columns: 120px 360px minmax(0, 1fr);
  gap: 40px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.business-row:last-child {
  border-bottom: 1px solid var(--line);
}

.business-num {
  font-size: 58px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.business-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.business-row h3 {
  margin: 0;
  font-size: 30px;
}

.business-row p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
}

.about {
  padding: 120px 56px;
}

.about-inner {
  max-width: 1080px;
}

.about p {
  max-width: 760px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.72);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 70px;
  background: rgba(255, 255, 255, 0.16);
}

.metrics div {
  background: var(--dark);
  padding: 28px;
}

.metrics strong {
  display: block;
  font-size: 64px;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

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

.work-card {
  min-height: 330px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.work-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.work-card h3 {
  margin: 18px 0 16px;
  font-size: 28px;
}

.work-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.flow {
  padding-top: 60px;
}

.flow-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  background: var(--line);
}

.flow-list li {
  background: var(--paper);
  padding: 34px;
  min-height: 220px;
}

.flow-list span {
  display: inline-block;
  margin-bottom: 34px;
  font-size: 14px;
  font-weight: 900;
  color: var(--blue);
}

.flow-list h3 {
  margin: 0 0 14px;
  font-size: 25px;
}

.flow-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact {
  padding: 120px 56px;
  min-height: 72svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact p {
  max-width: 760px;
  margin: 34px 0 42px;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .site-header {
    padding: 18px;
  }

  .nav {
    display: none;
  }

  .hero,
  .statement,
  .business,
  .works,
  .flow,
  .about,
  .contact {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    padding-top: 118px;
  }

  .statement-grid,
  .section-head,
  .business-row,
  .work-grid,
  .flow-list,
  .metrics {
    grid-template-columns: 1fr;
  }

  .business-row {
    gap: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
    max-width: 280px;
  }
}
