:root {
  --bg: #07080d;
  --bg-2: #0d1017;
  --ink: #f6f4ef;
  --muted: #b8c1c8;
  --cyan: #20f7ff;
  --pink: #ff2bd6;
  --lime: #c6ff3d;
  --amber: #ffd166;
  --panel: rgba(12, 16, 24, 0.76);
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.city-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 18% 18%, rgba(255, 43, 214, 0.2), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(32, 247, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #07080d 0%, #11101a 48%, #07080d 100%);
}

.scanline {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 5px;
  mix-blend-mode: screen;
  opacity: 0.38;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(7, 8, 13, 0.7);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #071017;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.nav-links {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  align-items: end;
  gap: clamp(28px, 6vw, 88px);
  padding: clamp(72px, 10vw, 128px) clamp(18px, 4vw, 56px) clamp(52px, 8vw, 92px);
}

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

.eyebrow,
.section-kicker,
.signal-label {
  color: var(--lime);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 980px;
  font-size: clamp(46px, 8.4vw, 116px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.16;
}

.hero-text {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.button.primary {
  color: #081014;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-color: transparent;
}

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

.signal-panel {
  display: grid;
  gap: 1px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-panel div {
  padding: 20px;
  background: rgba(8, 10, 16, 0.82);
}

.signal-panel strong {
  display: block;
  margin-top: 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: var(--cyan);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.intro {
  background: linear-gradient(90deg, rgba(255, 43, 214, 0.12), rgba(32, 247, 255, 0.08));
}

.split,
.section-heading,
.stack-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.split p,
.section-heading > p,
.contact-section p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.service-card,
.project-card,
.step-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--lime));
}

.service-card p,
.project-card p,
.step-card p {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.step-number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--pink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 700;
}

.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.stack-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(32, 247, 255, 0.34);
  border-radius: 6px;
  background: rgba(32, 247, 255, 0.08);
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid rgba(198, 255, 61, 0.36);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(198, 255, 61, 0.12), rgba(255, 43, 214, 0.12), rgba(32, 247, 255, 0.1));
  box-shadow: var(--shadow);
}

.contact-section h2 {
  margin-bottom: 16px;
}

.contact-actions {
  justify-content: end;
  margin-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 960px) {
  .hero,
  .split,
  .section-heading,
  .stack-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .signal-panel {
    max-width: 420px;
  }

  .service-grid,
  .project-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-actions {
    justify-content: start;
  }
}

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

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

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

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

  .service-card,
  .project-card,
  .step-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
