@font-face {
  font-family: "Urbanist";
  src: url("/assets/fonts/Urbanist-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Urbanist";
  src: url("/assets/fonts/Urbanist-SemiBold.ttf") format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Urbanist";
  src: url("/assets/fonts/Urbanist-ExtraBold.ttf") format("truetype");
  font-weight: 800;
}

:root {
  --ink: #000000;
  --bone: #f4f3f3;
  --teal: #345b63;
  --deep: #3c2f56;
  --green: #85e984;
  --purple: #7457c1;
  --fuchsia: #791f5f;
  --muted: rgba(0, 0, 0, 0.62);
  --line: rgba(52, 91, 99, 0.18);
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(0deg, rgba(116, 87, 193, 0.12) 1px, transparent 1px) 0 0 / 96px 96px,
    var(--bone);
  color: var(--ink);
  font-family: "Urbanist", Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(244, 243, 243, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.contact-section {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-word {
  font-size: 1.14rem;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links {
  gap: clamp(14px, 2.2vw, 34px);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-cta {
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 6px;
}

.hero {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(28px, 5.2vh, 58px) clamp(20px, 5vw, 72px);
}

.hero-copy,
.section-heading,
.contact-section > div {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--fuchsia);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 6.2vw, 6.35rem);
  line-height: 0.88;
  max-width: 760px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: var(--bone);
}

.button.secondary {
  background: transparent;
}

.hero-visual {
  position: relative;
  min-height: min(42vh, 390px);
  border-left: 1px solid rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(48px, 1fr));
  gap: 10px;
  width: min(100%, 410px);
  margin-left: auto;
}

.tech-grid span {
  aspect-ratio: 1;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(244, 243, 243, 0.6);
}

.tech-grid span:nth-child(2),
.tech-grid span:nth-child(7),
.tech-grid span:nth-child(12) {
  background: var(--green);
}

.tech-grid span:nth-child(5),
.tech-grid span:nth-child(10) {
  background: var(--purple);
}

.tech-grid span:nth-child(8) {
  background: var(--teal);
}

.signal {
  position: absolute;
  right: 8%;
  width: 56%;
  height: 64px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background:
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(60, 47, 86, 0.4) 11px 13px),
    linear-gradient(120deg, transparent 0 36%, rgba(133, 233, 132, 0.6) 36% 52%, transparent 52%);
}

.signal-one {
  bottom: 96px;
}

.signal-two {
  bottom: 18px;
  right: 22%;
  background:
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(121, 31, 95, 0.38) 10px 12px),
    linear-gradient(65deg, transparent 0 44%, rgba(116, 87, 193, 0.46) 44% 58%, transparent 58%);
}

.visual-label {
  position: absolute;
  left: 28px;
  bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section {
  padding: clamp(70px, 10vw, 140px) clamp(20px, 5vw, 72px);
}

.section-heading {
  margin-bottom: clamp(36px, 6vw, 72px);
}

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

.service-grid article {
  min-height: 290px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--bone);
}

.index {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--purple);
  font-weight: 800;
}

.service-grid p,
.dark-band p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.dark-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: clamp(30px, 8vw, 120px);
  align-items: end;
  padding: clamp(70px, 11vw, 150px) clamp(20px, 5vw, 72px);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 44px),
    var(--ink);
  color: var(--bone);
}

.dark-band .eyebrow {
  color: var(--green);
}

.dark-band p {
  color: rgba(244, 243, 243, 0.72);
}

.contact-section {
  justify-content: space-between;
  gap: 28px;
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

@media (max-width: 820px) {
  :root {
    --header-height: 62px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    padding: 12px 14px;
  }

  .nav-links {
    width: auto;
    justify-content: flex-end;
    gap: 10px;
    font-size: 0.86rem;
  }

  .hero,
  .dark-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
    align-content: center;
    gap: 22px;
    padding: 24px 14px;
  }

  .hero-visual {
    min-height: clamp(220px, 31svh, 275px);
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.16);
    padding-top: 16px;
  }

  h1 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 10vw, 3.05rem);
    line-height: 0.92;
    max-width: 15ch;
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.7rem;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .button {
    min-height: 42px;
    padding: 11px 16px;
  }

  .tech-grid {
    width: min(100%, 340px);
    gap: 8px;
  }

  .signal {
    height: 50px;
  }

  .signal-one {
    bottom: 72px;
  }

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

  .service-grid article {
    min-height: 0;
  }

  .index {
    margin-bottom: 28px;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .brand-word {
    font-size: 1rem;
  }

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

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
    width: min(100%, 300px);
  }

  .visual-label {
    left: 12px;
    bottom: 14px;
    font-size: 0.64rem;
  }
}

@media (max-height: 760px) and (min-width: 821px) {
  h1 {
    font-size: clamp(2.6rem, 5.5vw, 5.55rem);
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero-visual {
    min-height: 335px;
  }
}

@media (max-height: 720px) and (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 210px;
  }

  h1 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .lead {
    font-size: 0.92rem;
  }
}
