:root {
  --ink: #102130;
  --ink-2: #1f3446;
  --blue: #1b4f91;
  --sky: #dcecf5;
  --gold: #f2bd22;
  --gold-2: #ffe08a;
  --paper: #f6f8fa;
  --white: #ffffff;
  --muted: #647484;
  --line: rgba(16, 33, 48, 0.12);
  --shadow: 0 24px 70px rgba(16, 33, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(16, 33, 48, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 162px;
}

.brand img {
  width: 145px;
  height: auto;
  background: var(--white);
  border-radius: 6px;
  padding: 5px 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.site-nav .nav-cta {
  color: var(--ink);
  background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(16, 33, 48, 0.28);
  color: var(--white);
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 23, 36, 0.9) 0%, rgba(9, 23, 36, 0.64) 42%, rgba(9, 23, 36, 0.2) 100%),
    linear-gradient(0deg, rgba(9, 23, 36, 0.52), transparent 42%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: 60px;
}

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

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

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.55vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

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

.section {
  padding: clamp(64px, 8vw, 116px) clamp(18px, 6vw, 84px);
}

.two-column,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4.1vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.stack p,
.section-heading p,
.service-card p,
.value-grid p,
.process p,
.contact p {
  color: var(--muted);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.mission-grid article,
.service-card,
.value-grid article,
.process article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.mission-grid article {
  padding: clamp(24px, 4vw, 38px);
}

.mission-grid span,
.icon {
  color: var(--blue);
  font-weight: 800;
}

.services {
  background: var(--white);
}

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

.service-card {
  min-height: 300px;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card.featured {
  color: var(--white);
  background: var(--ink);
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 38px;
  border-radius: 6px;
  background: var(--sky);
}

.featured .icon {
  color: var(--ink);
  background: var(--gold);
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px clamp(18px, 6vw, 84px);
  color: var(--white);
  background: var(--ink);
}

.banner span,
.banner strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.banner strong {
  color: var(--gold);
}

.values {
  background: linear-gradient(180deg, var(--paper), #ffffff);
}

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

.value-grid article {
  padding: 24px;
}

.value-grid article:nth-child(even) {
  background: var(--ink);
  color: var(--white);
}

.value-grid article:nth-child(even) p {
  color: rgba(255, 255, 255, 0.72);
}

.projects {
  background: var(--white);
}

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

.process article {
  padding: 24px;
}

.process span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 800;
}

.contact {
  padding: clamp(64px, 8vw, 110px) clamp(18px, 6vw, 84px);
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(27, 79, 145, 0.32), transparent 32%),
    linear-gradient(135deg, #102130 0%, #1f3446 52%, #243d5a 100%);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

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

.contact p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 180ms ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 189, 34, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card strong,
.contact-card a {
  display: inline-flex;
  color: var(--white);
  font-size: clamp(1rem, 1.65vw, 1.18rem);
  font-weight: 800;
  line-height: 1.35;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--gold-2);
  outline: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 84px);
  background: #0b1721;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer img {
  width: 136px;
  border-radius: 6px;
  background: var(--white);
  padding: 4px 7px;
}

.site-footer p {
  margin: 0;
}

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

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 8px;
    background: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    border-radius: 6px;
  }

  .two-column,
  .section-heading,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 148px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-inline: 14px;
  }

  .hero-actions,
  .banner,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .mission-grid,
  .service-grid,
  .value-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer {
    text-align: center;
  }
}
