:root {
  --ink: #f5f7fb;
  --muted: #a3acb9;
  --dim: #6f7988;
  --floor: #07090d;
  --floor-soft: #0b0e14;
  --surface: #10151d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.21);
  --accent: #42e2a4;
  --accent-soft: rgba(66, 226, 164, 0.13);
  --max: 1180px;
  --gutter: clamp(22px, 4vw, 58px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--floor);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--floor);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #06100c;
  background: var(--accent);
}

a {
  color: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin-inline: auto;
}

.hero-stage {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 36%, rgba(66, 226, 164, 0.075), transparent 27%),
    radial-gradient(circle at 4% 4%, rgba(88, 90, 210, 0.18), transparent 30%),
    linear-gradient(180deg, #090c12 0%, var(--floor) 80%);
}

.hero-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-sub {
  color: var(--dim);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.languages {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 750;
}

.languages a {
  padding: 9px 7px;
  text-decoration: none;
  transition: color 160ms ease;
}

.languages a:hover,
.languages .active {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-2px);
}

.btn-primary {
  border-color: var(--ink);
  color: #090c10;
  background: var(--ink);
}

.btn-primary:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.btn-arrow {
  font-size: 17px;
  font-weight: 500;
  transition: transform 160ms ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.hero {
  display: grid;
  min-height: calc(100svh - 88px);
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
  padding-block: clamp(72px, 9vh, 118px) clamp(82px, 11vh, 138px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero h1 {
  max-width: 770px;
  margin: 0;
  font-size: clamp(50px, 6.2vw, 88px);
  line-height: 0.97;
  letter-spacing: -0.066em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 21px;
  margin-top: 31px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero-proof span {
  position: relative;
}

.hero-proof span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
  transform: translateY(-50%);
}

.signal-field {
  position: relative;
  min-height: 540px;
  animation: field-in 900ms 260ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.signal-orbit {
  position: absolute;
  inset: 3% -8% -4% -4%;
  width: 112%;
  height: 105%;
  overflow: visible;
}

.signal-orbit path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.signal-orbit .flow {
  stroke: var(--accent);
  stroke-dasharray: 2 17;
  stroke-linecap: round;
  animation: signal-flow 12s linear infinite;
}

.signal-core {
  position: absolute;
  top: 50%;
  left: 52%;
  display: grid;
  width: 156px;
  height: 156px;
  place-items: center;
  border: 1px solid rgba(66, 226, 164, 0.5);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 226, 164, 0.17), rgba(66, 226, 164, 0.035) 58%, transparent 60%);
  box-shadow: 0 0 90px rgba(66, 226, 164, 0.14);
  transform: translate(-50%, -50%);
}

.signal-core::before,
.signal-core::after {
  position: absolute;
  border: 1px solid rgba(66, 226, 164, 0.17);
  border-radius: 50%;
  content: "";
}

.signal-core::before {
  inset: -42px;
}

.signal-core::after {
  inset: -92px;
}

.core-copy {
  display: grid;
  gap: 5px;
  text-align: center;
}

.core-copy strong {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.core-copy span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-node::before {
  width: 8px;
  height: 8px;
  border: 2px solid var(--floor);
  border-radius: 50%;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(66, 226, 164, 0.55), 0 0 20px rgba(66, 226, 164, 0.45);
}

.node-a { top: 13%; left: 7%; }
.node-b { top: 20%; right: 2%; }
.node-c { right: 1%; bottom: 20%; }
.node-d { bottom: 10%; left: 5%; }
.node-e { top: 47%; left: -1%; }

.scroll-cue {
  position: absolute;
  bottom: 27px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--dim);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue::after {
  width: 1px;
  height: 30px;
  content: "";
  background: linear-gradient(var(--accent), transparent);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

.section {
  padding-block: clamp(92px, 12vw, 162px);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(340px, 1.3fr);
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(56px, 7vw, 88px);
}

.kicker {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 780px;
  margin: 12px 0 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-intro {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  padding-block: clamp(32px, 5vw, 62px);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.project-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #10131a;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.38);
}

.project-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}

.project-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 650ms ease;
}

.featured-project:hover .project-media img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.018);
}

.project-index {
  color: var(--dim);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.project-copy h3 {
  margin: 19px 0 0;
  font-size: clamp(40px, 4.6vw, 65px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.project-copy p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.project-meta {
  margin-top: 24px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-copy .text-link,
.project-row .text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 29px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  color: var(--accent);
  font-size: 17px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.project-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 6vw, 86px);
  padding-top: clamp(54px, 7vw, 88px);
}

.project-row {
  min-width: 0;
}

.project-row h3 {
  margin: 19px 0 0;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.project-row p {
  max-width: 490px;
  margin: 19px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.services {
  background: var(--floor-soft);
}

.service-list {
  border-top: 1px solid var(--line-strong);
}

.service-row {
  display: grid;
  grid-template-columns: 80px minmax(240px, 0.8fr) minmax(300px, 1.2fr);
  align-items: start;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, border-color 180ms ease;
}

.service-row:hover {
  padding-left: 12px;
  border-color: rgba(66, 226, 164, 0.43);
}

.service-number {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-row h3 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.service-row p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

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

.process-step {
  position: relative;
  min-height: 330px;
  padding: 34px clamp(24px, 3vw, 42px) 24px 0;
  border-right: 1px solid var(--line);
}

.process-step:not(:first-child) {
  padding-left: clamp(24px, 3vw, 42px);
}

.process-step:last-child {
  border-right: 0;
}

.process-number {
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(82px, 9vw, 126px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.process-step h3 {
  margin: 31px 0 0;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.process-step p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(54px, 8vw, 112px);
}

.faq-copy h2 {
  margin-top: 12px;
}

.faq-copy p {
  max-width: 420px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 27px 46px 27px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 690;
  line-height: 1.4;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 25px;
  right: 3px;
  color: var(--accent);
  content: "+";
  font-size: 24px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  margin: -7px 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #0a0d12;
}

.contact::after {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(10, 13, 18, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 70px rgba(10, 13, 18, 0.035), 0 0 0 140px rgba(10, 13, 18, 0.025);
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  align-items: end;
  gap: 60px;
}

.contact .kicker {
  color: #137a55;
}

.contact h2 {
  max-width: 850px;
  margin: 13px 0 0;
  font-size: clamp(48px, 6vw, 80px);
}

.contact-aside {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.contact-aside p {
  margin: 0;
  color: #4a535e;
  font-size: 14px;
  line-height: 1.65;
}

.contact .btn {
  border-color: #0a0d12;
  color: var(--ink);
  background: #0a0d12;
}

.contact .btn:hover {
  border-color: #137a55;
  background: #137a55;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 116px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 620;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
}

.reveal-1,
.reveal-2,
.reveal-3,
.reveal-4 {
  animation: reveal-up 700ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-2 { animation-delay: 90ms; }
.reveal-3 { animation-delay: 180ms; }
.reveal-4 { animation-delay: 270ms; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes field-in {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes signal-flow {
  to { stroke-dashoffset: -190; }
}

@keyframes scroll-cue {
  0%, 100% { opacity: 0.25; transform: scaleY(0.65); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 82px;
  }

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

  .signal-field {
    min-height: 420px;
    margin-top: -20px;
  }

  .section-head,
  .featured-project,
  .faq-wrap,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 26px;
  }

  .featured-project {
    align-items: start;
  }

  .featured-project .project-copy {
    max-width: 640px;
  }

  .service-row {
    grid-template-columns: 60px minmax(220px, 0.8fr) minmax(260px, 1.2fr);
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 22px;
  }

  .hero-stage {
    min-height: 0;
  }

  .site-header {
    min-height: 76px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-sub,
  .header-actions .btn {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: calc(100svh - 76px);
    gap: 22px;
    padding-top: 58px;
    padding-bottom: 74px;
  }

  .hero h1 {
    font-size: clamp(46px, 14.5vw, 66px);
    line-height: 0.98;
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof {
    gap: 9px 17px;
    font-size: 9px;
  }

  .hero-proof span:not(:last-child)::after {
    right: -10px;
  }

  .signal-field {
    min-height: 270px;
    margin-top: -10px;
  }

  .signal-core {
    left: 51%;
    width: 104px;
    height: 104px;
  }

  .signal-core::before { inset: -28px; }
  .signal-core::after { inset: -60px; }

  .core-copy strong { font-size: 16px; }
  .signal-node { font-size: 8px; }
  .node-b { right: 0; }
  .node-e { display: none; }

  .scroll-cue {
    display: none;
  }

  .section {
    padding-block: 90px;
  }

  .section-head {
    margin-bottom: 52px;
  }

  .section h2,
  .contact h2 {
    font-size: clamp(40px, 12vw, 55px);
  }

  .section-intro {
    font-size: 15px;
  }

  .featured-project {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 30px 48px;
  }

  .project-media {
    width: calc(100% + var(--gutter));
    border-radius: 2px 0 0 2px;
  }

  .project-rows {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .service-row {
    grid-template-columns: 43px 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .service-row p {
    grid-column: 2;
    margin-top: -2px;
  }

  .service-row:hover {
    padding-left: 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:not(:first-child) {
    min-height: 0;
    padding: 30px 0 42px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .process-number {
    font-size: 78px;
  }

  .process-step h3 {
    margin-top: 22px;
  }

  .faq-wrap {
    gap: 52px;
  }

  .faq-list summary {
    font-size: 15px;
  }

  .contact-inner {
    gap: 38px;
  }

  .contact-aside .btn {
    width: 100%;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 35px;
  }
}

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

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