:root {
  color-scheme: dark;
  --bg: #0f1115;
  --panel: #151922;
  --panel-soft: rgba(21, 25, 34, 0.68);
  --text: #ffffff;
  --muted: #8c93a1;
  --muted-strong: #b8beca;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --max: 1180px;
  --header: 72px;
  font-family:
    Inter, Geist, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(15, 17, 21, 0.2), #0f1115 86%);
}

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

#network-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  padding: 0 clamp(20px, 5vw, 64px);
  border-bottom: 1px solid transparent;
  background: rgba(15, 17, 21, 0.52);
  backdrop-filter: blur(18px);
  transition: border-color 280ms ease, background 280ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(15, 17, 21, 0.78);
}

.brand {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 13px;
}

.site-nav a {
  transition: color 220ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.section-grid {
  position: relative;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.hero {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: calc(var(--header) + 44px) clamp(20px, 4vw, 64px) 42px;
}

.hero::before,
.not-found::before,
.services::before,
.about::before,
.approach::before,
.contact::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  content: "";
  background: var(--line);
  opacity: 0.7;
}

.hero-content {
  max-width: 820px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

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

h1 {
  margin-bottom: 26px;
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 620;
  line-height: 0.96;
  letter-spacing: 0;
}

.signal {
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-copy {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.75;
}

.hero-footer {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: 34px;
  left: clamp(20px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.services,
.about,
.approach,
.contact {
  padding: clamp(76px, 10vw, 128px) clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
}

.section-heading {
  position: relative;
  max-width: 720px;
  margin-bottom: clamp(38px, 6vw, 72px);
}

.section-heading h2,
.contact-panel h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: 0;
}

.service-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-block {
  min-height: 248px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  background: rgba(21, 25, 34, 0.26);
  transition:
    transform 260ms ease,
    background 260ms ease,
    border-color 260ms ease;
}

.service-block:last-child {
  border-right: 0;
}

.service-block:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: rgba(21, 25, 34, 0.58);
}

.service-block span,
.approach-line span {
  display: block;
  margin-bottom: 58px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-block h3 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 560;
  line-height: 1.2;
}

.service-block p,
.about-copy p,
.approach-line p,
.contact-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: start;
}

.about .section-heading {
  margin-bottom: 0;
}

.about-copy {
  position: relative;
  align-self: start;
  max-width: 620px;
  padding-top: 48px;
}

.about-copy p {
  margin-bottom: 22px;
  color: var(--muted-strong);
  font-size: clamp(17px, 2vw, 21px);
}

.approach-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.approach-line div {
  min-height: 176px;
  padding: 28px 28px 20px 0;
  border-right: 1px solid var(--line);
}

.approach-line div + div {
  padding-left: 28px;
}

.approach-line div:last-child {
  border-right: 0;
}

.approach-line span {
  margin-bottom: 28px;
  color: var(--text);
  font-size: 13px;
}

.contact {
  min-height: auto;
  display: grid;
  align-items: center;
  padding-bottom: clamp(44px, 6vw, 78px);
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 8vw, 104px);
  width: 100%;
  padding-top: clamp(8px, 2vw, 22px);
}

.contact-panel p {
  margin: 0 0 20px;
}

.contact-link {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--text);
  font-size: clamp(24px, 3.8vw, 40px);
  font-weight: 520;
  word-break: break-word;
}

.contact-action {
  position: relative;
  align-self: end;
  padding-top: 10px;
}

.contact-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(34px, 6vw, 68px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
}

.contact-meta span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-right: 1px solid var(--line);
}

.contact-meta span:first-child {
  padding-left: 0;
}

.contact-meta span:last-child {
  border-right: 0;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.button-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.not-found {
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: calc(var(--header) + 44px) clamp(20px, 4vw, 64px) 42px;
}

.not-found-content {
  position: relative;
  max-width: 720px;
}

.not-found-content h1 {
  margin-bottom: 24px;
  font-size: clamp(52px, 9vw, 104px);
}

.not-found-content p {
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
}

.not-found-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.quiet-link {
  color: var(--muted);
  font-size: 13px;
  transition: color 220ms ease;
}

.quiet-link:hover {
  color: var(--text);
}

.not-found-meta {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: 34px;
  left: clamp(20px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms ease, transform 900ms ease;
}

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

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

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

@media (max-width: 900px) {
  .service-grid,
  .approach-line,
  .about,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-block,
  .service-block:last-child,
  .approach-line div,
  .approach-line div:last-child {
    border-right: 0;
  }

  .service-block,
  .approach-line div {
    border-bottom: 1px solid var(--line);
  }

  .service-block:last-child,
  .approach-line div:last-child {
    border-bottom: 0;
  }

  .service-block {
    min-height: 220px;
  }

  .about-copy {
    padding-top: 0;
  }

  .approach-line div,
  .approach-line div + div {
    padding-left: 0;
  }

  .contact-action {
    align-self: start;
    padding-top: 0;
  }

  .contact-meta {
    grid-template-columns: 1fr;
  }

  .contact-meta span,
  .contact-meta span:first-child {
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-meta span:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --header: 64px;
  }

  .site-header {
    padding: 0 18px;
  }

  .site-nav {
    gap: 14px;
    font-size: 12px;
  }

  .site-nav a:nth-child(2) {
    display: none;
  }

  .section-grid {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .hero-footer {
    position: static;
    align-self: end;
    width: 100%;
    margin-top: 62px;
    flex-direction: column;
  }

  .not-found {
    padding-right: 18px;
    padding-left: 18px;
  }

  .not-found-meta {
    position: static;
    align-self: end;
    width: 100%;
    margin-top: 62px;
    flex-direction: column;
  }

  .services,
  .about,
  .approach,
  .contact {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 430px) {
  .site-nav {
    gap: 12px;
  }

  .site-nav a:nth-child(3) {
    display: none;
  }
}
