:root {
  --bg: #071011;
  --panel: #0d1a1c;
  --panel-2: #102326;
  --ink: #f4fbf8;
  --muted: #a8b9b6;
  --line: rgba(255, 255, 255, 0.12);
  --teal: #43d6ca;
  --cyan: #8debf4;
  --amber: #f6bd5a;
  --coral: #ff7d61;
  --green: #8bd17c;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 22% 18%, rgba(67, 214, 202, 0.12), transparent 28rem),
    linear-gradient(180deg, #071011 0%, #0a1516 42%, #091112 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: rgba(7, 16, 17, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.proof-row,
.section-heading,
.contact-inner,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #061212;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  border-radius: 8px;
  font-weight: 900;
}

.nav {
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

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

.header-cta {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 116px clamp(18px, 5vw, 64px) 74px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 16, 17, 0.96) 0%, rgba(7, 16, 17, 0.84) 38%, rgba(7, 16, 17, 0.28) 78%),
    linear-gradient(180deg, rgba(7, 16, 17, 0.08), rgba(7, 16, 17, 0.88));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-inner {
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker,
.tag {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: #d6e4e1;
  font-size: 19px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button-primary {
  color: #061212;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  box-shadow: 0 18px 44px rgba(67, 214, 202, 0.24);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
}

.proof-row {
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-row div {
  min-width: 164px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-row strong,
.proof-row span {
  display: block;
}

.proof-row strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 22px;
}

.proof-row span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px clamp(18px, 4vw, 28px);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 7vw, 82px);
  margin-top: 18px;
}

.intro-grid p {
  margin-bottom: 0;
  font-size: 18px;
}

.section-heading {
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.section-heading p {
  width: min(420px, 100%);
  margin-bottom: 0;
}

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

.service-card,
.work-item,
.process-step,
.stack-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.service-card {
  min-height: 252px;
  padding: 26px;
}

.service-index,
.process-step span {
  display: block;
  margin-bottom: 38px;
  color: var(--cyan);
  font-weight: 900;
}

.service-card p,
.work-item p,
.process-step p {
  margin-bottom: 0;
}

.work-list {
  display: grid;
  gap: 12px;
}

.work-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
  padding: 24px 28px;
}

.work-item h3 {
  margin: 8px 0 0;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.process-step {
  min-height: 244px;
  padding: 24px;
}

.stack-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 5vw, 46px);
  background:
    linear-gradient(135deg, rgba(67, 214, 202, 0.16), rgba(255, 125, 97, 0.08)),
    var(--panel);
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-list li {
  padding: 10px 13px;
  color: #dff6f3;
  background: rgba(7, 16, 17, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-weight: 700;
}

.contact {
  padding: 96px clamp(18px, 5vw, 64px);
  background:
    linear-gradient(180deg, rgba(9, 17, 18, 0), rgba(67, 214, 202, 0.08)),
    #081112;
}

.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
  justify-content: space-between;
  gap: clamp(34px, 7vw, 92px);
}

.contact-copy {
  flex: 1;
  max-width: 520px;
}

.contact-copy p {
  margin-top: 20px;
  font-size: 18px;
}

.contact-form {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 560px;
  padding: 22px;
}

.contact-form label,
.contact-form span {
  display: block;
}

.contact-form span {
  margin-bottom: 8px;
  color: #d8e7e4;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: rgba(2, 9, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(67, 214, 202, 0.55);
  outline-offset: 2px;
}

.full {
  grid-column: 1 / -1;
}

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

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

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(7, 16, 17, 0.98), rgba(7, 16, 17, 0.62)),
      linear-gradient(180deg, rgba(7, 16, 17, 0.08), rgba(7, 16, 17, 0.92));
  }

  .intro-grid,
  .section-heading,
  .stack-panel,
  .contact-inner {
    display: block;
  }

  .section-heading p {
    margin-top: 18px;
  }

  .service-grid,
  .process-track,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stack-list {
    margin-top: 26px;
  }

  .contact-form {
    margin-top: 28px;
  }
}

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

  .header-cta {
    display: none;
  }

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

  .hero {
    padding-top: 104px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy,
  .intro-grid p,
  .contact-copy p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .proof-row div {
    width: 100%;
  }

  .section,
  .contact {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .site-footer {
    display: block;
  }

  .site-footer span {
    display: block;
    margin-bottom: 8px;
  }
}
