:root {
  --ink: #172022;
  --muted: #5d6a68;
  --line: #d9e1dc;
  --paper: #f7f8f3;
  --mist: #e8eee9;
  --teal: #126c67;
  --teal-dark: #0b4642;
  --gold: #c7973c;
  --clay: #b5674c;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(21, 38, 38, 0.16);
}

* {
  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.5;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 18px clamp(18px, 5vw, 72px);
  color: var(--white);
  transition: padding 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.brand,
.nav-links,
.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  margin-left: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  transition: color 180ms ease;
}

.nav-links a {
  transition: color 180ms ease;
}

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

.nav-cta {
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(247, 248, 243, 0.96);
  box-shadow: 0 10px 28px rgba(21, 38, 38, 0.1);
  color: var(--ink);
}

.site-header.is-scrolled .brand-mark {
  border-color: rgba(18, 108, 103, 0.28);
  background: var(--teal);
  color: var(--white);
}

.site-header.is-scrolled .nav-links {
  color: var(--muted);
}

.site-header.is-scrolled .nav-links a:hover {
  color: var(--teal-dark);
}

.site-header.is-scrolled .nav-cta {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: var(--white);
  background: #132221;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 21, 22, 0.92) 0%, rgba(8, 21, 22, 0.74) 34%, rgba(8, 21, 22, 0.3) 68%, rgba(8, 21, 22, 0.5) 100%),
    linear-gradient(180deg, rgba(8, 21, 22, 0.35) 0%, rgba(8, 21, 22, 0.08) 48%, rgba(8, 21, 22, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  padding: clamp(132px, 18vh, 190px) 0 178px clamp(18px, 5vw, 72px);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.hero-actions,
.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

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

.button.primary {
  background: var(--gold);
  color: #172022;
}

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

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

.hero-stats {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 0;
  left: clamp(18px, 5vw, 72px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 21, 22, 0.82);
}

.hero-stats article {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats article:last-child {
  border-right: 0;
}

.hero-stats span,
.card-icon,
.timeline span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-stats strong {
  display: block;
  margin: 6px 0 8px;
  font-size: 1rem;
}

.hero-stats p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.intro,
.services,
.platform,
.work,
.contact {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 96px);
  background: var(--white);
}

.intro h2,
.section-heading h2,
.platform h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro > p,
.platform-copy p,
.contact p {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 760px;
}

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

.service-card,
.focus-grid article {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(21, 38, 38, 0.06);
}

.service-card h3,
.focus-grid h3 {
  margin: 22px 0 12px;
  font-size: 1.25rem;
}

.service-card p,
.focus-grid p {
  color: var(--muted);
}

.platform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(36px, 8vw, 118px);
  background: var(--mist);
}

.platform-copy {
  max-width: 760px;
}

.platform-copy h2 {
  margin-bottom: 24px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  padding: 24px;
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.timeline p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.focus-grid article {
  min-height: 210px;
  border-top: 5px solid var(--clay);
}

.contact {
  justify-content: space-between;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact > div {
  max-width: 760px;
}

.contact h2 {
  margin-bottom: 22px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 94vh;
  }

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

  .hero-stats,
  .intro,
  .platform {
    grid-template-columns: 1fr;
  }

  .hero-stats article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-stats article:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 14px 16px;
  }

  .brand span:last-child {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    margin-left: auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 102vh;
  }

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

  .hero-content {
    width: 100%;
    padding: 114px 16px 356px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    right: 16px;
    left: 16px;
  }

  .hero-stats article {
    padding: 16px;
  }

  .intro,
  .services,
  .platform,
  .work,
  .contact {
    padding: 58px 16px;
  }

  .section-heading {
    display: block;
  }

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

  .service-card,
  .focus-grid article {
    min-height: auto;
  }
}
