:root {
  --ink: #101820;
  --muted: #5a6772;
  --line: #d9e2e8;
  --paper: #f7fafb;
  --white: #ffffff;
  --teal: #0b8f8f;
  --teal-dark: #066969;
  --blue: #1d4c73;
  --amber: #c78d31;
  --shadow: 0 20px 60px rgba(16, 24, 32, 0.12);
  --radius: 8px;
  --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: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  opacity: 0.74;
  font-size: 0.76rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 18, 26, 0.94) 0%, rgba(7, 18, 26, 0.8) 42%, rgba(7, 18, 26, 0.38) 74%, rgba(7, 18, 26, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 18, 26, 0.62) 0%, rgba(7, 18, 26, 0) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 92px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #8fe4df;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.03rem, 2vw, 1.28rem);
}

.hero-actions,
.contact .button {
  margin-top: 34px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.section,
.section-band,
.contact {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-band {
  background: var(--paper);
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.intro-grid,
.why-grid,
.split-section,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.intro-grid p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p:not(.section-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
}

.section-heading.compact {
  margin-bottom: 24px;
}

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

.service-card,
.solutions-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  padding: 28px;
  min-height: 250px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 34px;
  margin-bottom: 26px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: #dff5f2;
  font-weight: 900;
  font-size: 0.82rem;
}

.service-card p,
.solutions-grid p,
.proof-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

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

.proof-grid div {
  padding: 0 0 24px;
  border-bottom: 1px solid var(--line);
}

.proof-grid strong {
  display: block;
  color: var(--blue);
  font-size: 1.05rem;
}

.sticky-heading {
  position: sticky;
  top: 118px;
  margin-bottom: 0;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.industry-list span,
.tech-cloud span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
}

.industry-list span {
  padding: 18px 20px;
}

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

.tech-cloud span {
  padding: 10px 14px;
  color: var(--blue);
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.03);
}

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

.solutions-grid article {
  padding: 26px;
  box-shadow: var(--shadow);
}

.contact {
  color: var(--white);
  background: var(--ink);
}

.contact .section-kicker {
  color: #8fe4df;
}

.contact h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.contact-card {
  display: grid;
  gap: 13px;
  padding: 30px;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-card a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(20px, 4vw, 56px);
  color: var(--muted);
  background: #f1f5f6;
  font-size: 0.9rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 8px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-bottom: 70px;
  }

  .intro-grid,
  .why-grid,
  .split-section,
  .contact-grid,
  .card-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .services-grid,
  .solutions-grid {
    gap: 14px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 18, 26, 0.94) 0%, rgba(7, 18, 26, 0.76) 100%),
      linear-gradient(0deg, rgba(7, 18, 26, 0.64) 0%, rgba(7, 18, 26, 0) 50%);
  }

  .hero-content,
  .section-inner {
    width: min(100% - 32px, var(--max));
  }

  h1 {
    font-size: clamp(2.35rem, 11.5vw, 3rem);
    line-height: 1.02;
  }

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

  .industry-list {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .solutions-grid article,
  .contact-card {
    padding: 22px;
  }
}
