:root {
  --ink: #101828;
  --muted: #5f6b7a;
  --line: #d8dee8;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --navy: #17294a;
  --blue: #1f5fbf;
  --steel: #7d8fa8;
  --accent: #f2b441;
  --shadow: 0 18px 50px rgba(16, 40, 72, 0.16);
  --radius: 8px;
}

* {
  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(--paper);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: #fff;
  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.96);
  box-shadow: 0 8px 28px rgba(16, 40, 72, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 145px;
  min-width: 145px;
  border-radius: 4px;
}

.brand img {
  width: 100%;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a,
.header-call {
  text-decoration: none;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 150px clamp(20px, 6vw, 84px) 72px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 12, 24, 0.84), rgba(5, 12, 24, 0.48) 48%, rgba(5, 12, 24, 0.18)),
    linear-gradient(0deg, rgba(5, 12, 24, 0.72), transparent 44%);
}

.hero-content {
  width: min(850px, 100%);
  color: #fff;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.section-heading h2,
.feature-split h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(2.75rem, 7vw, 5.9rem);
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
}

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

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

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.signal-band div {
  min-height: 134px;
  padding: 28px clamp(20px, 4vw, 42px);
  background: #fff;
}

.signal-band strong,
.signal-band span {
  display: block;
}

.signal-band strong {
  font-size: 1.05rem;
}

.signal-band span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.section,
.feature-split,
.contact-section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 84px);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.feature-split h2,
.contact-section h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.intro p,
.feature-split p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.services,
.process {
  background: var(--soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
  margin-bottom: 34px;
}

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

.service-grid article,
.timeline article {
  min-height: 258px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-grid span,
.timeline span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--blue);
  font-weight: 900;
}

.service-grid h3,
.timeline h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.service-grid p,
.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.feature-split img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-split p {
  margin-top: 22px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #2b3747;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 2px;
  background: var(--blue);
}

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

.work-grid figure {
  position: relative;
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
}

.work-grid figure.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.work-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.work-grid figure:hover img {
  transform: scale(1.035);
}

.work-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 56px 18px 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(0deg, rgba(5, 12, 24, 0.82), transparent);
}

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

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.55fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  color: #fff;
  background: var(--navy);
}

.contact-section .section-label {
  color: var(--accent);
}

.contact-section p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.contact-panel a {
  display: grid;
  gap: 8px;
  padding: 24px;
  text-decoration: none;
}

.contact-panel a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-panel span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel strong {
  overflow-wrap: anywhere;
  font-size: 1.12rem;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 46px 20px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  background: #07111f;
}

.site-footer img {
  width: 160px;
}

.site-footer p {
  max-width: 650px;
  margin: 0;
  line-height: 1.6;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.52);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    color: currentColor;
  }

  .site-nav,
  .header-call {
    display: none;
  }

  .site-header.is-open .site-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 0;
    padding: 12px 0 6px;
  }

  .site-header.is-open .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--line);
  }

  .signal-band,
  .intro-grid,
  .section-heading,
  .feature-split,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 72px;
    padding: 12px 20px;
  }

  .brand {
    width: 128px;
    min-width: 128px;
  }

  .hero {
    min-height: 86vh;
    padding: 126px 20px 42px;
  }

  .eyebrow {
    max-width: 22rem;
    line-height: 1.45;
  }

  .hero h1 {
    max-width: 22rem;
    font-size: 2.25rem;
    line-height: 1.08;
  }

  .hero-copy {
    max-width: 22rem;
    font-size: 1rem;
    line-height: 1.58;
  }

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

  .signal-band,
  .service-grid,
  .timeline,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-grid figure,
  .work-grid figure.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

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

  .service-grid span,
  .timeline span {
    margin-bottom: 28px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }
}
