:root {
  --bg: #0d1117;
  --paper: #161b22;
  --sand: #1f2630;
  --ink: #e6edf3;
  --muted: #9aa4b2;

  --forest: #3b82f6;
  --olive: #22c55e;
  --terracotta: #f59e0b;

  --line: #2a2f3a;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
}

.section {
  padding: 88px 0
}

.display-font {
  font-family: 'Space Grotesk', sans-serif
}

.navbar {
  background: rgba(13, 17, 23, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(42, 47, 58, .9);
}

.navbar.scrolled {
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22)
}

.navbar-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--ink) !important;
  letter-spacing: -.4px;
}

.navbar-brand span {
  color: var(--terracotta)
}

.nav-link {
  color: var(--muted) !important;
  font-weight: 500
}

.nav-link:hover {
  color: var(--forest) !important
}

.layout-shell {
  padding-top: 92px
}

.asym-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}

.hero-left {
  background: linear-gradient(180deg, #111827 0%, #0f1720 100%);
  padding: 72px 7vw 72px 8vw;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-left::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}

.hero-right {
  background: linear-gradient(180deg, rgba(59, 130, 246, .10), rgba(34, 197, 94, .08));
  padding: 72px 6vw;
  display: flex;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #111827;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.eyebrow .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: .95;
  letter-spacing: -2.4px;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--ink);
}

.hero-title span {
  color: var(--forest)
}

.hero-copy {
  font-size: 1.06rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.btn-main,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: .25s ease;
}

.btn-main{
  background:#155f30;
  color:#fff;
  box-shadow:0 10px 24px rgba(34,197,94,.25);
}

.btn-main:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  background: #111827;
  transform: translateY(-2px);
}

.hero-panel {
  width: 100%;
  display: grid;
  gap: 18px;
}

.panel-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-card.large {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-kicker {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .74rem;
  color: var(--terracotta);
  font-weight: 700;
}

.panel-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin: 12px 0;
  color: var(--ink);
}

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

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-box {
  background: #0f141b;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.metric-box strong {
  display: block;
  font-size: 1.05rem;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 6px;
  color: var(--ink);
}

.metric-box span {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
}

.section-head {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 40px;
}

.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -1.5px;
  margin: 0;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  max-width: 720px;
}

.split-band {
  background: linear-gradient(90deg, transparent 0%, transparent 52%, rgba(34, 197, 94, .04) 52%, rgba(34, 197, 94, .04) 100%);
}

.consulting-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.consult-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
  height: 100%;
}

.consult-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin: 14px 0 10px;
  color: var(--ink);
}

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

.consult-card.tall {
  grid-column: span 4
}

.consult-card.wide {
  grid-column: span 8
}

.icon-tile {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f141b;
  color: var(--forest);
  font-size: 1.2rem;
  border: 1px solid var(--line);
}

.arch-map {
  background: #111827;
  color: #fff;
  border-radius: 30px;
  padding: 34px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}

.arch-map::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 255, 255, .12);
  border-radius: 22px;
  pointer-events: none;
}

.arch-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}

.arch-node {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  padding: 22px 16px;
  position: relative;
}

.arch-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9fb4c8;
  font-size: 1.3rem;
  z-index: 2;
}

.arch-node .mini-kicker {
  color: #f0b24d
}

.arch-node strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.06rem;
  margin: 10px 0 6px;
}

.arch-node small {
  color: #c4ced3;
  line-height: 1.65;
}

.tech-columns {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: start;
}

.tech-sidebar {
  position: sticky;
  top: 110px;
  background: #161b22;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
}

.tech-sidebar h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

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

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tech-stack-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.tech-stack-card h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.tech-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: #0f141b;
  border: 1px solid var(--line);
  color: #dbe4ee;
  font-size: .92rem;
  font-weight: 600;
}

.process-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ribbon-step {
  padding: 28px 24px;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.ribbon-step:last-child {
  border-right: 0
}

.ribbon-step:nth-child(odd) {
  background: #121820
}

.step-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta);
  color: #fff;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}

.ribbon-step h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.ribbon-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 22px;
}

.contact-side,
.contact-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-side h3,
.contact-form-wrap h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--ink);
}

.contact-side p {
  color: var(--muted);
  line-height: 1.85;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-item i {
  color: var(--forest);
  margin-top: 3px;
}

.form-control {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 14px 16px;
  background: #0f141b;
  color: var(--ink);
}

.form-control::placeholder {
  color: #7e8a98
}

.form-control:focus {
  border-color: rgba(59, 130, 246, .45);
  box-shadow: 0 0 0 .2rem rgba(59, 130, 246, .08);
  background: #111827;
  color: var(--ink);
}

.footer {
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  background: rgba(13, 17, 23, .9);
  color: #8c98a6;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition: .75s ease;
}

@media(max-width:1199.98px) {

  .consult-card.tall,
  .consult-card.wide {
    grid-column: span 6
  }

  .tech-columns {
    grid-template-columns: 1fr
  }

  .tech-sidebar {
    position: relative;
    top: auto
  }
}

@media(max-width:991.98px) {
  .asym-hero {
    grid-template-columns: 1fr
  }

  .hero-left::after {
    display: none
  }

  .hero-left,
  .hero-right {
    padding: 56px 24px
  }

  .section-head {
    grid-template-columns: 1fr
  }

  .arch-flow {
    grid-template-columns: repeat(2, 1fr)
  }

  .arch-node:not(:last-child)::after {
    display: none
  }

  .process-ribbon {
    grid-template-columns: repeat(2, 1fr)
  }

  .contact-layout {
    grid-template-columns: 1fr
  }
}

@media(max-width:767.98px) {
  .section {
    padding: 74px 0
  }

  .hero-actions {
    display: grid;
    gap: 14px
  }

  .btn-main,
  .btn-ghost {
    justify-content: center
  }

  .consult-card.tall,
  .consult-card.wide {
    grid-column: span 12
  }

  .arch-flow {
    grid-template-columns: 1fr
  }

  .tech-stack-grid {
    grid-template-columns: 1fr
  }

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