:root {
  --ink: #172026;
  --ink-soft: #35424a;
  --muted: #5f6b73;
  --paper: #f6faf8;
  --white: #ffffff;
  --line: #d8e4e1;
  --teal: #0f766e;
  --teal-dark: #0a4f4b;
  --blue: #255f85;
  --amber: #b9832f;
  --green: #47795f;
  --shadow: 0 24px 70px rgba(23, 32, 38, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 36px;
  color: var(--white);
  background: rgba(10, 18, 22, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
}

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

.language-toggle,
.nav-toggle {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.language-toggle {
  min-width: 42px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: min(800px, 94vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0b1114;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 12, 15, 0.88), rgba(7, 12, 15, 0.62) 43%, rgba(7, 12, 15, 0.12) 74%),
    linear-gradient(180deg, rgba(7, 12, 15, 0.2), rgba(7, 12, 15, 0.76));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 148px 0 92px;
  color: var(--white);
}

.hero-content h1 {
  width: min(800px, 100%);
  margin: 0 0 22px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

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

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

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

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 48px));
  margin: -38px auto 0;
  position: relative;
  z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.proof-strip div {
  min-height: 126px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip span,
.metrics-band span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-strip strong,
.metrics-band strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.3;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 108px 0;
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 42px;
}

.section-heading.wide,
.section-heading.compact {
  width: min(720px, 100%);
}

.section-heading h2,
.split h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.work-list p,
.service-grid p,
.contact p {
  color: var(--muted);
  font-size: 17px;
}

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

.platform-grid article,
.service-grid article {
  min-height: 250px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.platform-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.platform-grid h3,
.service-grid h3,
.work-list h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
}

.platform-grid p,
.service-grid p {
  margin: 0;
}

.work {
  width: 100%;
  padding-right: max(24px, calc((100% - 1180px) / 2));
  padding-left: max(24px, calc((100% - 1180px) / 2));
  background: #102226;
}

.work .split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 70px;
  color: var(--white);
}

.work .eyebrow.dark {
  color: #73d0c6;
}

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

.work-list article {
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.work-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: var(--white);
  background: linear-gradient(100deg, var(--teal-dark), var(--blue));
}

.metrics-band div {
  min-height: 190px;
  padding: 38px max(24px, calc((100vw - 1180px) / 2));
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.metrics-band div:first-child {
  padding-left: max(24px, calc((100vw - 1180px) / 2));
}

.metrics-band div:not(:first-child) {
  padding-left: 38px;
}

.metrics-band strong {
  margin: 0 0 16px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.9;
}

.metrics-band span {
  color: rgba(255, 255, 255, 0.74);
}

.services {
  padding-bottom: 118px;
}

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

.service-grid article {
  min-height: 230px;
}

.service-grid article:nth-child(1) {
  border-top: 5px solid var(--teal);
}

.service-grid article:nth-child(2) {
  border-top: 5px solid var(--blue);
}

.service-grid article:nth-child(3) {
  border-top: 5px solid var(--amber);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding: 82px max(24px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: #0f2524;
}

.contact p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(24px, calc((100% - 1180px) / 2));
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-toggle {
    position: absolute;
    top: 15px;
    right: 24px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.08);
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: rgba(10, 18, 22, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
  }

  .site-nav.open {
    display: flex;
  }

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

  .language-toggle {
    align-self: flex-start;
    margin: 10px 8px;
  }

  .proof-strip,
  .platform-grid,
  .service-grid,
  .metrics-band,
  .work .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics-band div,
  .metrics-band div:not(:first-child) {
    min-height: auto;
    padding: 32px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .contact {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 780px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    padding-bottom: 64px;
  }

  .eyebrow {
    max-width: 320px;
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }

  .hero-content h1 {
    max-width: 330px;
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1.03;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 17px;
  }

  .hero-actions {
    width: min(100%, 300px);
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 78px 0;
  }

  .proof-strip {
    width: min(100% - 32px, 1180px);
  }

  .site-footer {
    flex-direction: column;
  }
}
