:root {
  --navy: #071e40;
  --blue: #122e57;
  --red: #c62228;
  --cream: #f4f3ee;
  --ink: #152238;
  --muted: #657081;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    16px/1.65 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #388bed;
  outline-offset: 4px;
}
.wrap {
  max-width: 1240px;
  margin: auto;
  padding: 0 48px;
}
.top {
  background: var(--navy);
  color: #cbd5e3;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 9px 0;
}
.top .wrap {
  display: flex;
  justify-content: space-between;
}
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e7e9ed;
}
nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.logo {
  width: 188px;
  height: 62px;
  object-fit: contain;
}
.links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}
.links a:hover {
  color: var(--red);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 15px 24px;
  background: var(--red);
  color: white !important;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--red);
}
.btn:hover {
  background: #a51a20;
}
.btn.light {
  background: transparent;
  border-color: #8090a6;
}
.btn.light:hover {
  background: #ffffff18;
}
.menu {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--navy);
}
.hero {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 625px;
}
.hero-copy {
  padding: 85px 48px 75px 0;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 23px;
}
.eyebrow:before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 12px;
}
h1 {
  font-size: clamp(45px, 5.2vw, 72px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin: 0 0 27px;
}
h1 em {
  font-style: normal;
  color: #a7c0dc;
}
.hero-copy p {
  max-width: 430px;
  font-size: 15px;
  color: #c4cddd;
  line-height: 1.8;
  margin-bottom: 32px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  margin-right: calc((min(1240px, 100vw) - 100vw) / 2 - 48px);
  background: #263a50;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy), transparent 28%),
    linear-gradient(0deg, #071e4070, transparent 50%);
}
.image-caption {
  position: absolute;
  bottom: 35px;
  left: 38px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #fff;
}
.stats {
  border-bottom: 1px solid #e0e3e8;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 27px;
  padding-bottom: 27px;
}
.stat {
  padding: 0 25px;
  border-right: 1px solid #e0e3e8;
}
.stat:first-child {
  padding-left: 0;
}
.stat:last-child {
  border: 0;
}
.stat strong {
  display: block;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.stat span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
section {
  padding: 95px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 45px;
  margin-bottom: 40px;
}
h2 {
  font-size: clamp(32px, 3.5vw, 47px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.045em;
  margin: 0;
}
h3 {
  line-height: 1.3;
}
p {
  color: var(--muted);
}
.section-head p {
  max-width: 400px;
  font-size: 14px;
  margin: 0;
}
.services {
  background: var(--cream);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #cfd2d5;
  border-left: 1px solid #cfd2d5;
}
.service {
  padding: 30px;
  border-right: 1px solid #cfd2d5;
  border-bottom: 1px solid #cfd2d5;
  transition: background 0.2s;
}
.service:hover {
  background: white;
}
.service .num {
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.1em;
}
.service h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 22px 0 12px;
}
.service p {
  font-size: 13px;
  margin: 0;
}
.projects-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 27px;
}
.filter {
  background: white;
  border: 1px solid #d6dbe2;
  padding: 9px 19px;
  font-size: 12px;
  color: var(--muted);
}
.filter.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 28px;
}
.project {
  margin: 0;
}
.project[hidden] {
  display: none;
}
.project button {
  border: 0;
  background: none;
  padding: 0;
  width: 100%;
  display: block;
  text-align: left;
}
.project img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s;
}
.project .photo {
  overflow: hidden;
  background: #eee;
}
.project button:hover img {
  transform: scale(1.035);
}
.project .meta {
  font-size: 10px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 17px;
}
.project h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 5px 0;
}
.project p {
  font-size: 12px;
  margin: 0;
}
.project small {
  float: right;
  font-size: 20px;
}
.clients {
  padding: 43px 0;
  border-top: 1px solid #e3e5e9;
  border-bottom: 1px solid #e3e5e9;
}
.client-names {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
  color: #627083;
  font-size: 18px;
  font-weight: bold;
}
.clients .eyebrow {
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 26px;
}
.about {
  background: var(--navy);
  color: white;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.about p {
  color: #bfcbda;
  font-size: 14px;
}
.about .values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 30px;
}
.value {
  border-top: 1px solid #46566f;
  padding-top: 15px;
}
.value strong {
  font-size: 14px;
}
.value p {
  font-size: 12px;
  margin-top: 6px;
}
.process {
  margin-top: 70px;
  padding-top: 35px;
  border-top: 1px solid #46566f;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.process span {
  color: #8b9bb2;
  font-size: 11px;
}
.process h3 {
  font-size: 15px;
  font-weight: 500;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
}
.contact h2 {
  margin-bottom: 25px;
}
.contact-detail {
  border-top: 1px solid #dbe0e6;
  padding: 17px 0;
  font-size: 14px;
}
.contact-detail span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-detail a:hover {
  text-decoration: underline;
}
.enquiry {
  background: var(--cream);
  padding: 32px;
}
.enquiry h3 {
  font-size: 23px;
  font-weight: 500;
  margin: 0 0 20px;
}
label {
  display: block;
  font-size: 12px;
  margin-bottom: 15px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #cfd4dc;
  background: white;
  margin-top: 6px;
  padding: 11px;
  color: var(--ink);
  font-size: 14px;
  border-radius: 0;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
.form-success,
.form-error {
  font-size: 14px;
  margin: 0 0 18px;
}
.form-success {
  color: #17603c;
}
.form-error {
  color: #a51a20;
}
footer {
  background: var(--navy);
  color: #aab9cd;
  padding: 30px 0;
  font-size: 11px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
dialog {
  border: 0;
  padding: 0;
  max-width: 950px;
  width: 92%;
  background: white;
  color: var(--ink);
}
dialog::backdrop {
  background: #030d20d9;
}
dialog img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #111;
}
dialog .dialog-caption {
  padding: 20px 26px;
}
dialog h3 {
  margin: 0;
}
dialog p {
  margin: 8px 0 0;
  font-size: 14px;
}
.close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: white;
  border: 0;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 25px;
}
.mobile-only {
  display: none;
}
@media (min-width: 1500px) {
  .hero-visual {
    margin-right: -150px;
  }
}
@media (max-width: 850px) {
  .wrap {
    padding: 0 24px;
  }
  .top .wrap span:last-child {
    display: none;
  }
  nav {
    height: 78px;
  }
  .logo {
    width: 155px;
  }
  .menu {
    display: block;
  }
  .links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: white;
    padding: 25px;
    box-shadow: 0 10px 20px #0001;
  }
  .links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 55px 0 45px;
  }
  .hero-copy p {
    max-width: 520px;
  }
  .hero-visual {
    height: 300px;
    margin: 0 -24px;
  }
  .hero-visual:after {
    background: linear-gradient(0deg, #071e4060, transparent);
  }
  .hero-visual img {
    object-position: center 40%;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .stat {
    padding: 0;
    border: 0;
  }
  .stat strong {
    font-size: 23px;
  }
  section {
    padding: 65px 0;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 20px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service {
    padding: 23px;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .process {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 35px;
  }
  .project img {
    height: 230px;
  }
  .client-names {
    font-size: 15px;
    justify-content: start;
    gap: 22px;
  }
  footer .wrap {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 49px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service h3 {
    margin-top: 12px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project img {
    height: 265px;
  }
  .actions .btn {
    padding: 13px 18px;
    gap: 15px;
  }
  .enquiry {
    padding: 24px;
  }
  .about .values {
    gap: 16px;
  }
}
