:root {
  color-scheme: dark;
  --bg: #050808;
  --panel: #0c1212;
  --panel-2: #101818;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f7f5;
  --muted: #a9b8b3;
  --soft: #d7e1dd;
  --green: #00d18f;
  --green-2: #47f0bb;
  --blue: #6cb7ff;
  --gold: #d5b26e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 5%, rgba(0, 209, 143, 0.18), transparent 34rem),
    radial-gradient(circle at 10% 30%, rgba(108, 183, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #030505 0%, var(--bg) 42%, #071010 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 8, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: clamp(10rem, 18vw, 15rem);
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  gap: clamp(0.8rem, 2vw, 2rem);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100svh - 5rem);
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem) 3rem;
}

.hero-copy {
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.lead {
  max-width: 38rem;
  color: var(--soft);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: rgba(0, 209, 143, 0.5);
  background: linear-gradient(135deg, var(--green), #72ffd0);
  color: #03100c;
}

.button.ghost {
  color: var(--soft);
  background: rgba(255, 255, 255, 0.05);
}

.device-showcase {
  position: relative;
  min-height: clamp(30rem, 50vw, 44rem);
}

.screen {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-screen {
  position: absolute;
  inset: 8% 0 auto 9%;
  width: 86%;
  aspect-ratio: 1.3;
}

.phone-screen {
  position: absolute;
  bottom: 0;
  width: 28%;
  aspect-ratio: 0.48;
}

.phone-left {
  left: 0;
}

.phone-right {
  right: 5%;
}

.intro,
.section,
.contact,
.footer {
  margin-inline: clamp(1rem, 4vw, 4rem);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.intro div {
  padding: clamp(1.1rem, 2.5vw, 2rem);
  background: rgba(12, 18, 18, 0.88);
}

.intro span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.intro strong {
  display: block;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.split,
.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.text-stack,
.proof ul,
.project-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 0;
}

.capability-grid article,
.project,
.contact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
}

.capability-grid article {
  padding: clamp(1.2rem, 2.4vw, 2rem);
}

.card-number {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--green-2);
  font-weight: 900;
}

.capability-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  max-width: 58rem;
  margin-bottom: 2rem;
}

.project {
  overflow: hidden;
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 2rem;
  min-height: 34rem;
  margin-bottom: 1rem;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 3vw, 3rem);
}

.project-kicker {
  color: var(--gold) !important;
  font-weight: 900;
}

.project-copy a {
  width: fit-content;
  margin-top: 1rem;
  color: var(--green-2);
  font-weight: 800;
  text-decoration: none;
}

.project-media {
  min-height: 24rem;
  background: #070b0b;
}

.media-stack {
  position: relative;
}

.media-web {
  position: absolute;
  inset: 10% 5% auto auto;
  width: 84%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-phone {
  position: absolute;
  left: 5%;
  bottom: 6%;
  width: 26%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.single-media {
  display: grid;
  place-items: center;
  padding: 1rem;
}

.single-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.logo-media {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.logo-media img {
  width: min(18rem, 70%);
  border-radius: 18%;
  box-shadow: 0 20px 80px rgba(16, 146, 99, 0.22);
}

.proof {
  border-top: 1px solid var(--line);
}

.proof ul {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof li {
  padding: 1rem 0 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--green);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 3rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(135deg, rgba(0, 209, 143, 0.13), transparent 42%),
    rgba(255, 255, 255, 0.04);
}

.contact-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

.contact-card a,
.contact-card span {
  color: var(--soft);
  font-weight: 800;
  text-decoration: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .proof,
  .featured-project,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .device-showcase {
    min-height: 33rem;
  }

  .intro,
  .capability-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-media {
    min-height: 22rem;
  }
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .brand {
    width: 10rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .device-showcase {
    min-height: 26rem;
  }

  .web-screen {
    inset: 3% 0 auto 0;
    width: 100%;
  }

  .phone-screen {
    width: 34%;
  }

  .phone-right {
    right: 0;
  }

  .footer {
    flex-direction: column;
  }
}
