:root {
  --blue: #0057b8;
  --blue-deep: #06366f;
  --ink: #070b12;
  --navy: #07111f;
  --steel: #65707d;
  --line: #d8dde5;
  --soft: #f5f7fa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

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

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

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;
  min-height: 88px;
  padding: 18px 5vw;
  color: var(--white);
  background: rgba(7, 17, 31, 0.96);
  transition: background 180ms ease, border-color 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 84px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 17, 31, 0.98);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}

.header-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 245px;
  object-fit: contain;
  object-position: left center;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  transform: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a {
  opacity: 0.88;
  transition: color 160ms ease, opacity 160ms ease;
}

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

.nav-cta {
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 8, 15, 0.82) 0%, rgba(3, 8, 15, 0.62) 31%, rgba(3, 8, 15, 0.22) 66%, rgba(3, 8, 15, 0.06) 100%),
    linear-gradient(180deg, rgba(3, 8, 15, 0.34) 0%, rgba(3, 8, 15, 0.08) 48%, rgba(3, 8, 15, 0.68) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 90vw);
  padding: clamp(112px, 18vh, 170px) 0 clamp(86px, 10vh, 118px) 5vw;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-eyebrow {
  color: #7fb4ff;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.hero-title {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.3rem, 5.1vw, 5.8rem);
  line-height: 0.95;
  font-weight: 850;
  text-wrap: balance;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button-primary:hover {
  background: #074891;
  border-color: #074891;
}

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

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-strip {
  position: absolute;
  z-index: 2;
  left: 5vw;
  right: 5vw;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 17, 31, 0.4);
}

.hero-strip span {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
  font-weight: 750;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-strip span:last-child {
  border-right: 0;
}

.section {
  scroll-margin-top: 86px;
  padding: 88px 5vw;
}

.section-header {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 44px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 38px;
}

.section-header h2,
.approach-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.45rem, 4.2vw, 3.6rem);
  line-height: 1;
  font-weight: 850;
  text-wrap: balance;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.service-card {
  min-height: 470px;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: border-color 180ms ease, transform 180ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: #b9c3d0;
}

.service-media {
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.service-card:hover .service-media img {
  transform: scale(1.01);
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.service-card span {
  display: block;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 850;
}

.service-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.26rem;
  line-height: 1.12;
}

.service-card p {
  max-width: none;
  margin: 0;
  color: var(--steel);
  line-height: 1.58;
}

.service-card .service-lead {
  margin-bottom: 14px;
  color: var(--navy);
  font-weight: 750;
  line-height: 1.38;
}

.approach {
  scroll-margin-top: 86px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 680px;
  color: var(--white);
  background: var(--navy);
}

.approach-media {
  min-height: 500px;
}

.approach-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.approach-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vw 5.5vw;
}

.approach-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.62;
}

.approach-points {
  display: grid;
  gap: 16px;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-points article {
  padding: 18px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-points h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.2;
}

.approach-points p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

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

.projects-header {
  margin-bottom: 26px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  grid-auto-rows: 310px;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.project-tile {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
}

.project-wide {
  grid-row: span 2;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.project-wide img {
  object-position: center 48%;
}

.project-tile:nth-child(3) img {
  object-position: center 42%;
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 15, 0.05) 34%, rgba(3, 8, 15, 0.88) 100%);
}

.project-tile:hover img {
  transform: scale(1.012);
}

.project-tile figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 22px;
  max-width: min(420px, calc(100% - 48px));
  color: var(--white);
}

.project-tile figcaption strong,
.project-tile figcaption span {
  display: block;
}

.project-tile figcaption strong {
  font-size: 1.12rem;
  font-weight: 850;
  line-height: 1.15;
}

.project-tile figcaption span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.35;
}

.about {
  scroll-margin-top: 86px;
  padding: 86px 5vw;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 34, 54, 0.9), rgba(28, 51, 76, 0.78)),
    #1b3048;
}

.about-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 62px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.about h2 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(2.25rem, 3.5vw, 3.2rem);
  line-height: 1.02;
  font-weight: 850;
  text-wrap: balance;
}

.about-copy {
  display: grid;
  gap: 22px;
  padding-top: 3px;
}

.about-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.62;
}

.contact {
  scroll-margin-top: 86px;
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.contact-media,
.contact-media::after,
.contact-media img {
  position: absolute;
  inset: 0;
}

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

.contact-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 8, 15, 0.72) 0%, rgba(3, 8, 15, 0.46) 46%, rgba(3, 8, 15, 0.14) 100%),
    linear-gradient(180deg, rgba(3, 8, 15, 0.08), rgba(3, 8, 15, 0.42));
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  min-height: 620px;
  margin: 0 auto;
  padding: 82px 5vw;
}

.contact-copy h2 {
  max-width: 790px;
}

.contact-copy .button {
  margin-top: 34px;
}

.contact-details {
  display: grid;
  gap: 18px;
  align-content: center;
}

.contact-logo {
  width: min(280px, 100%);
  height: auto;
  object-fit: contain;
  margin-bottom: 4px;
}

.contact-list {
  display: grid;
  gap: 0;
  max-width: 320px;
}

.contact-list a,
.contact-list div {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 160ms ease;
}

.contact-list a:hover {
  color: var(--white);
}

.contact-list span,
.contact-list strong {
  display: block;
}

.contact-list span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.84rem;
  font-weight: 700;
}

.contact-list strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.25;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: start;
  padding: 30px 5vw;
  color: rgba(255, 255, 255, 0.66);
  background: var(--ink);
  font-size: 0.94rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer div {
  display: grid;
  gap: 8px;
}

.site-footer strong {
  color: var(--white);
  font-weight: 850;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: var(--white);
}

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

@media (max-width: 1100px) {
  .header-logo {
    width: auto;
    height: 44px;
    max-width: 210px;
  }
}

@media (max-width: 1060px) {
  .hero-title {
    max-width: 760px;
  }

  .section-header,
  .approach,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .section-header {
    gap: 12px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .approach {
    min-height: auto;
  }

  .approach-copy {
    padding: 76px 5vw;
  }

  .about-inner {
    gap: 36px;
  }

  .contact-inner {
    gap: 42px;
  }

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

@media (max-width: 820px) {
  .site-header {
    min-height: 76px;
    padding: 14px 20px;
  }

  .site-header.is-scrolled,
  .site-header.is-open {
    min-height: 76px;
  }

  .header-logo {
    width: auto;
    height: 44px;
    max-width: 210px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(7, 17, 31, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 16px 18px;
  }

  .nav-cta {
    margin: 8px 10px 4px;
    text-align: center;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-content {
    width: auto;
    padding: 17vh 20px 154px;
  }

  .hero-title {
    max-width: 620px;
    font-size: clamp(2.55rem, 9vw, 3.5rem);
    line-height: 0.98;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-strip {
    left: 20px;
    right: 20px;
    bottom: 18px;
    grid-template-columns: 1fr;
  }

  .hero-strip span {
    min-height: 44px;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-strip span:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 68px 20px;
  }

  .section-header h2,
  .approach-copy h2,
  .about h2,
  .contact-copy h2 {
    font-size: 2.42rem;
    line-height: 1.04;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 330px;
  }

  .project-wide {
    grid-row: span 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 580px) {
  .header-logo {
    width: auto;
    height: 38px;
    max-width: 180px;
  }

  .hero-content {
    padding-top: 20vh;
  }

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

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

  .approach-media {
    min-height: 360px;
  }

  .approach-copy {
    padding: 62px 20px;
  }

  .about {
    padding: 72px 20px;
  }

  .project-grid {
    grid-auto-rows: 292px;
  }

  .contact-inner {
    min-height: 0;
    padding: 70px 20px;
  }

  .contact-logo {
    width: min(220px, 78vw);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .project-tile:hover img,
  .service-card:hover,
  .button:hover {
    transform: none;
  }
}
