:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #667085;
  --line: #d8dee6;
  --paper: #ffffff;
  --soft: #f5f7f8;
  --teal: #0f766e;
  --coral: #ef5b4c;
  --gold: #c99738;
  --graphite: #20242b;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 6px clamp(20px, 5vw, 72px);
  background: rgba(13, 10, 40, 0.94);
  border-bottom: 1px solid rgba(64, 180, 255, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
}

.brand-logo {
  width: clamp(160px, 18vw, 230px);
  height: auto;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a:hover {
  color: #40b4ff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 126px clamp(20px, 5vw, 72px) 64px;
  overflow: hidden;
  color: #fff;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 24, 40, 0.88) 0%, rgba(16, 24, 40, 0.7) 44%, rgba(16, 24, 40, 0.3) 100%),
    linear-gradient(0deg, rgba(16, 24, 40, 0.65), rgba(16, 24, 40, 0.08) 50%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

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

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--coral);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(560px, 100%);
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-metrics div {
  min-height: 86px;
  padding: 16px;
  background: rgba(17, 24, 39, 0.4);
}

.hero-metrics strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section,
.process,
.contact {
  padding: 88px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  color: var(--graphite);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: clamp(32px, 8vw, 110px);
  align-items: end;
  background: var(--soft);
}

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

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

.service-card {
  min-height: 285px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-icon {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  color: #fff;
  background: var(--graphite);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

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

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

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

.service-card:nth-child(5) .service-icon {
  background: #6d7280;
}

.service-card:nth-child(6) .service-icon {
  background: #b45309;
}

.service-card:nth-child(7) .service-icon {
  background: #2563eb;
}

.service-card:nth-child(8) .service-icon {
  background: #7c3aed;
}

.service-card h3,
.timeline-item h3 {
  margin: 22px 0 8px;
  font-size: 1.18rem;
}

.service-card p,
.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.process {
  color: #fff;
  background: var(--graphite);
}

.process .section-heading h2 {
  color: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.timeline-item {
  min-height: 230px;
  padding: 26px;
  background: #2b313b;
}

.timeline-item span {
  color: var(--coral);
  font-weight: 900;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.72);
}

.portfolio {
  background: var(--soft);
}

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

figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f8fafc;
}

figcaption {
  padding: 15px 16px;
  color: var(--graphite);
  font-weight: 800;
}

.partners {
  overflow: hidden;
  background: #fff;
}

.partner-marquee {
  position: relative;
  margin-top: 38px;
  overflow: hidden;
}

.partner-marquee::before,
.partner-marquee::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(120px, 20vw);
  content: "";
  pointer-events: none;
}

.partner-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.partner-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.partner-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: partner-scroll 28s linear infinite;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

.partner-logo {
  display: inline-flex;
  width: clamp(170px, 18vw, 250px);
  height: 92px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #49515c;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(239, 91, 76, 0.08)),
    #fff;
  box-shadow: 0 18px 45px rgba(23, 32, 42, 0.06);
  font-weight: 850;
}

@keyframes partner-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-track {
    animation: none;
  }
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fdfaf2;
}

.contact h2 {
  max-width: 740px;
}

.site-footer {
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #15191f;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 20px 10px;
  }

  .site-nav {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 820px;
    padding-top: 96px;
  }

  .intro,
  .service-grid,
  .timeline,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline-item {
    min-height: auto;
  }

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

@media (max-width: 560px) {
  .brand {
    font-size: 0.96rem;
  }

  .hero {
    min-height: 760px;
  }

  h1 {
    max-width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .section,
  .process,
  .contact {
    padding-top: 62px;
    padding-bottom: 62px;
  }
}
