:root {
  --navy: #112d58;
  --navy-deep: #081a31;
  --blue: #1671c9;
  --yellow: #f4bd32;
  --ink: #18212b;
  --muted: #59636d;
  --concrete: #eef2f1;
  --paper: #f9fbfa;
  --white: #ffffff;
  --line: #d5dcda;
  --font-display: "Arial Black", "Arial Narrow", sans-serif;
  --font-body: "Trebuchet MS", Arial, sans-serif;
  --shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 82px;
  background: var(--paper);
  border-bottom: 4px solid var(--navy);
}

.site-header.is-scrolled {
  border-color: var(--blue);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  width: 78px;
  height: 38px;
  object-fit: cover;
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: uppercase;
}

.brand__text span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:not(.nav__cta):hover,
.primary-nav a:not(.nav__cta):focus-visible {
  color: var(--blue);
}

.nav__cta {
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--navy);
  box-shadow: 4px 4px 0 var(--yellow);
}

.nav__cta:hover,
.nav__cta:focus-visible {
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 560px;
  max-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center 52%;
}

.hero__overlay {
  background: rgba(8, 26, 49, 0.66);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 78px 72px;
  border-left: 8px solid var(--yellow);
  padding-left: 34px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact .eyebrow {
  color: var(--yellow);
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
}

.hero h1 {
  max-width: 820px;
  font-size: 62px;
}

.hero h1 span {
  color: var(--yellow);
}

.hero__summary {
  max-width: 670px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button--primary {
  color: var(--navy-deep);
  background: var(--yellow);
  border: 2px solid var(--navy-deep);
  box-shadow: 6px 6px 0 var(--navy-deep);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--white);
}

.text-link {
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.text-link--light {
  color: var(--white);
}

.credentials {
  color: var(--white);
  background: var(--navy);
}

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

.credentials__grid > div {
  display: grid;
  gap: 2px;
  padding: 22px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.credentials__grid > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.credentials strong {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
}

.credentials span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.section {
  padding-block: 88px;
}

.section-heading h2,
.contact h2 {
  max-width: 760px;
  color: var(--navy-deep);
  font-size: 42px;
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 58px;
}

.section-heading--row > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 100px;
}

.about {
  background-color: var(--paper);
  background-image: linear-gradient(rgba(17, 45, 88, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 45, 88, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.about__copy {
  padding-top: 34px;
}

.about__copy p {
  color: var(--muted);
}

.about__copy .lead {
  margin-top: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
}

.principle {
  display: grid;
  margin-top: 42px;
  padding: 28px 0 0 24px;
  border-top: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
}

.principle span,
.principle small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.principle strong {
  margin: 8px 0 4px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 20px;
}

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

.service-list {
  border-top: 1px solid #c5cecc;
}

.service {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid #c5cecc;
}

.service > span {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
}

.service h3,
.project-card h3,
.process h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--navy-deep);
}

.service h3 {
  font-size: 24px;
}

.service p {
  max-width: 620px;
  margin: 4px 0 0;
  color: var(--muted);
}

.service > svg {
  width: 30px;
  height: 30px;
  color: var(--navy);
  stroke-width: 1.5;
}

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

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 28px 22px;
}

.project-card {
  overflow: hidden;
  background: var(--paper);
  border: 2px solid #bbc5c2;
  box-shadow: 6px 6px 0 #d5dcda;
}

.project-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.project-card:nth-child(3n + 2) {
  transform: translateY(8px);
}

.project-card__body {
  min-height: 150px;
  padding: 20px;
}

.project-card__body p,
.project-card__body span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.project-card__body p {
  margin: 0 0 8px;
  color: var(--blue);
}

.project-card h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.process {
  color: var(--white);
  background: var(--navy-deep);
}

.process .section-heading h2 {
  max-width: 680px;
  color: var(--white);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.process__steps li {
  min-height: 220px;
  padding: 30px 30px 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.process__steps li:not(:first-child) {
  padding-left: 30px;
}

.process__steps li:last-child {
  border-right: 0;
}

.process__steps span {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
}

.process__steps h3 {
  margin-top: 32px;
  color: var(--white);
  font-size: 24px;
}

.process__steps p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.contact {
  padding-block: 96px;
  background: var(--yellow);
}

.contact .eyebrow {
  color: var(--navy);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 80px;
}

.contact__details {
  display: grid;
  gap: 14px;
}

.contact__details a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.contact__details a:hover,
.contact__details a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact__details svg {
  width: 22px;
  height: 22px;
}

.contact__details span {
  display: grid;
}

.contact__details small {
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
}

.contact__details p {
  margin: 14px 0 0;
  padding-top: 18px;
  color: rgba(8, 26, 49, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  border-top: 1px solid rgba(8, 26, 49, 0.22);
}

.site-footer {
  padding-block: 30px;
  color: rgba(255, 255, 255, 0.66);
  background: #05111f;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 44px;
  align-items: center;
  gap: 24px;
}

.footer__inner > div {
  display: grid;
}

.footer__inner strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
}

.footer__inner span,
.footer__inner p {
  font-size: 11px;
}

.footer__inner p {
  margin: 0;
}

.footer__inner a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__inner svg {
  width: 18px;
  height: 18px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .site-header {
    height: 74px;
  }

  .nav-toggle {
    display: grid;
  }

  .primary-nav {
    position: fixed;
    inset: 74px 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 24px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(8, 26, 49, 0.16);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 240ms ease, visibility 240ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .primary-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav .nav__cta {
    margin-top: 16px;
    padding: 14px 18px;
    text-align: center;
    border: 0;
  }

  .hero {
    min-height: 560px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about__copy {
    padding-top: 0;
  }

  .section-heading--row {
    display: grid;
    gap: 24px;
  }

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

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

  .process__steps li:nth-child(2) {
    border-right: 0;
  }

  .process__steps li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 58px;
    height: 30px;
  }

  .brand__text strong {
    font-size: 12px;
  }

  .brand__text span {
    font-size: 8px;
  }

  .hero {
    min-height: calc(100svh - 132px);
    max-height: none;
  }

  .hero__image {
    object-position: 58% center;
  }

  .hero__content {
    padding-block: 64px 56px;
    border-left-width: 5px;
    padding-left: 20px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero__summary {
    font-size: 16px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .text-link {
    text-align: center;
  }

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

  .credentials__grid > div {
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .credentials__grid > div:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .section {
    padding-block: 78px;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 36px;
  }

  .service {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }

  .service > svg {
    display: none;
  }

  .service h3 {
    font-size: 20px;
  }

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

  .project-card:nth-child(3n + 2) {
    transform: none;
  }

  .project-card img {
    height: 240px;
  }

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

  .process__steps li,
  .process__steps li:not(:first-child) {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .process__steps li:nth-child(n + 3) {
    border-top: 0;
  }

  .process__steps h3 {
    margin-top: 16px;
  }

  .contact {
    padding-block: 72px;
  }

  .contact__details a {
    align-items: start;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .footer__inner {
    grid-template-columns: 1fr 44px;
  }

  .footer__inner p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}