:root {
  --ink: #17212b;
  --muted: #637082;
  --line: #dce3eb;
  --paper: #f7fafc;
  --white: #ffffff;
  --teal: #0e8f8f;
  --teal-dark: #096a6e;
  --blue: #245bd6;
  --coral: #f05d4f;
  --gold: #d99a25;
  --shadow: 0 24px 70px rgba(23, 33, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(220, 227, 235, 0.8);
  background: rgba(247, 250, 252, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue) 58%, var(--coral));
  box-shadow: 0 12px 28px rgba(36, 91, 214, 0.22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #334253;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 76px);
  padding: clamp(54px, 8vw, 106px) 5vw 56px;
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(14, 143, 143, 0.1), transparent 34%),
    linear-gradient(23deg, rgba(240, 93, 79, 0.12), transparent 31%),
    var(--paper);
}

.hero-copy {
  align-self: center;
  max-width: 650px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--coral);
}

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

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(4.25rem, 13vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4.35rem);
  line-height: 1.01;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.hero-lede,
.intro-grid p,
.work-copy p,
.contact-section p {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 16px 36px rgba(23, 33, 43, 0.18);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 42px;
}

.hero-metrics div {
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 7px;
  font-size: 1.02rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

.hero-media {
  align-self: center;
  border-radius: 8px;
  transform: rotate(1deg);
}

.hero-media img {
  width: 100%;
  min-height: 430px;
  max-height: 690px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(74px, 9vw, 130px) 5vw;
}

.intro-section {
  background: var(--white);
}

.intro-grid,
.work-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(310px, 0.75fr);
  gap: clamp(26px, 6vw, 92px);
  align-items: start;
}

.intro-grid h2,
.work-copy h2 {
  max-width: 850px;
}

.intro-grid p {
  margin-bottom: 0;
}

.services-section {
  background: #edf4f6;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 286px;
  padding: 26px;
  border: 1px solid rgba(220, 227, 235, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(23, 33, 43, 0.06);
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 44px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card:nth-child(2) .service-icon {
  background: var(--blue);
}

.service-card:nth-child(3) .service-icon {
  background: var(--coral);
}

.service-card:nth-child(4) .service-icon {
  background: var(--gold);
}

.service-card p,
.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

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

.work-section .section-kicker {
  color: #8de1dd;
}

.work-copy p {
  color: #bdcad8;
}

.capability-panel {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.capability-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.capability-row:last-child {
  border-bottom: 0;
}

.capability-row span {
  color: #8de1dd;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.capability-row strong {
  line-height: 1.5;
}

.process-section {
  background: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: steps;
}

.process-step {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--line);
}

.process-step::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 44px;
  height: 2px;
  content: "";
  background: var(--coral);
}

.process-step span {
  display: block;
  margin-bottom: 26px;
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 0 5vw clamp(42px, 7vw, 84px);
  padding: clamp(36px, 6vw, 68px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(14, 143, 143, 0.94), rgba(36, 91, 214, 0.92)),
    var(--teal);
}

.contact-section .section-kicker,
.contact-section p {
  color: #e5fbfb;
}

.contact-section .section-kicker::before {
  background: #ffd166;
}

.contact-section h2 {
  max-width: 780px;
  margin-bottom: 18px;
}

.contact-section p {
  max-width: 760px;
  margin-bottom: 0;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

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

@media (max-width: 1080px) {
  .hero,
  .intro-grid,
  .work-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    min-height: 360px;
    max-height: 520px;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 5vw;
    left: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 48px rgba(23, 33, 43, 0.12);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(3.45rem, 18vw, 5.5rem);
  }

  .hero-metrics,
  .service-grid,
  .process-list,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    transform: none;
  }

  .hero-media img {
    min-height: 310px;
  }

  .service-card {
    min-height: auto;
  }

  .service-icon {
    margin-bottom: 26px;
  }

  .capability-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-section {
    margin-right: 4vw;
    margin-left: 4vw;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand {
    gap: 9px;
    font-size: 0.94rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

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