:root {
  --ink: #10202d;
  --muted: #5b6b78;
  --paper: #f7f9fb;
  --white: #ffffff;
  --line: #dfe7ee;
  --blue: #2a68a8;
  --blue-dark: #123d6a;
  --cyan: #2fd5e8;
  --orange: #f46b1c;
  --shadow: 0 22px 70px rgba(16, 32, 45, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 92px 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 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(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(16, 32, 45, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(260px, 28vw, 430px);
  height: 110px;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(47, 213, 232, 0.16);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

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

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 20, 36, 0.88), rgba(6, 20, 36, 0.53) 48%, rgba(6, 20, 36, 0.28)),
    linear-gradient(0deg, rgba(6, 20, 36, 0.78), rgba(6, 20, 36, 0.1) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 170px 0 190px;
  justify-self: start;
  margin-left: max(20px, calc((100vw - 1160px) / 2));
}

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

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

h1 {
  margin-bottom: 24px;
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 5.85rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

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

.button.primary {
  background: var(--orange);
  color: var(--white);
}

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

.hero-proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 28, 49, 0.72);
  backdrop-filter: blur(14px);
}

.hero-proof div {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  margin-bottom: 4px;
  color: var(--cyan);
  font-size: 2rem;
  line-height: 1;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.two-column,
.capability-layout,
.contact-layout,
.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.lead-copy {
  color: var(--muted);
  font-size: 1.14rem;
}

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

.section-heading.narrow {
  max-width: 820px;
}

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

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

.service-grid article,
.project-grid article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
}

.service-grid article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-grid p,
.project-grid p,
.capability-copy p,
.team p,
.contact p {
  color: var(--muted);
}

.service-mark {
  width: 42px;
  height: 4px;
  margin-bottom: 36px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.work-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 14px;
  min-height: 330px;
  padding: 14px;
  background: var(--ink);
}

.work-strip img {
  width: 100%;
  height: 330px;
  padding: 8px;
  object-fit: contain;
  background: #071421;
  border-radius: var(--radius);
}

.capability {
  background: #eef4f8;
}

.capability-panel {
  border-radius: var(--radius);
  padding: 32px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.capability-panel h3 {
  font-size: 1.35rem;
}

.capability-panel dl {
  margin: 0;
}

.capability-panel div {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.capability-panel dt {
  margin-bottom: 8px;
  color: var(--cyan);
  font-weight: 900;
}

.capability-panel dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.project-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-grid article {
  min-height: 225px;
}

.team {
  background: var(--paper);
}

.team-layout {
  align-items: center;
}

.team-layout img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: 48% 54%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact {
  background: var(--blue-dark);
  color: var(--white);
}

.contact .section-kicker {
  color: var(--cyan);
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  border-radius: var(--radius);
  padding: 32px;
  background: var(--white);
  color: var(--ink);
}

.contact-card address {
  margin-bottom: 18px;
  color: var(--muted);
  font-style: normal;
}

.contact-card a {
  display: block;
  margin-top: 10px;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration-color: rgba(42, 104, 168, 0.35);
  text-underline-offset: 4px;
}

.site-footer {
  padding: 26px 0;
  background: #071421;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid,
  .hero-proof,
  .two-column,
  .capability-layout,
  .contact-layout,
  .team-layout {
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 760px) {
  .site-header {
    padding: 12px 20px;
  }

  .brand {
    width: clamp(210px, 62vw, 280px);
    height: 78px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    border-radius: var(--radius);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: min(100% - 40px, 720px);
    padding: 148px 0 64px;
    margin-left: auto;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .hero-proof {
    margin-bottom: 20px;
  }

  .section-pad {
    padding: 68px 0;
  }

  .service-grid,
  .project-grid,
  .work-strip {
    grid-template-columns: 1fr;
  }

  .work-strip img {
    height: 260px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
