:root {
  --ink: #172433;
  --navy: #213f5d;
  --steel: #627889;
  --mist: #eef2f4;
  --white: #ffffff;
  --line: #d8dee2;
  --clay: #9a6748;
  --moss: #5b6f58;
  --charcoal: #222426;
  --shadow: 0 18px 50px rgba(23, 36, 51, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 222, 226, 0.86);
  backdrop-filter: blur(16px);
}

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

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

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--mist);
  outline: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 9px 12px;
}

.hero {
  position: relative;
  min-height: min(72vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 118px clamp(18px, 5vw, 72px) 68px;
  color: var(--white);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 22, 30, 0.86), rgba(15, 22, 30, 0.44) 54%, rgba(15, 22, 30, 0.15)),
    linear-gradient(0deg, rgba(15, 22, 30, 0.72), rgba(15, 22, 30, 0.02) 42%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

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

.hero .eyebrow {
  color: #f2c9a5;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 12ch;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #835438;
  outline: none;
}

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

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

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.trust-band div {
  min-height: 132px;
  padding: 28px clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.15rem;
}

.trust-band span {
  color: #445461;
  max-width: 26ch;
}

.section {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

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

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro-copy {
  color: #4c5a64;
  font-size: 1.05rem;
}

.services-section {
  background: var(--mist);
}

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

.service-card {
  min-height: 244px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(23, 36, 51, 0.06);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--clay);
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  margin-bottom: 0;
  color: #52616c;
}

.work-section {
  background: #f6f7f6;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading > div,
.section-heading > p {
  max-width: 680px;
}

.section-heading p {
  align-self: end;
  margin-bottom: 4px;
  color: #52616c;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 238px;
  gap: 14px;
}

.project-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: 0 8px 26px rgba(23, 36, 51, 0.08);
}

.project-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card.tall {
  grid-row: span 2;
}

.project-card.wide {
  grid-column: span 2;
}

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

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 18, 24, 0.76), rgba(12, 18, 24, 0.08) 62%);
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-info {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  color: var(--white);
}

.project-info span {
  display: block;
  margin-bottom: 5px;
  color: #f2c9a5;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-info h3 {
  margin-bottom: 0;
  color: var(--white);
}

.process-section {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-item {
  min-height: 246px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-item span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--moss);
  font-weight: 900;
}

.process-item p {
  margin-bottom: 0;
  color: #52616c;
}

.service-area-section {
  background: #f6f7f6;
}

.service-area-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.8fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(23, 36, 51, 0.06);
}

.service-area-panel p {
  margin-bottom: 24px;
  color: #52616c;
  font-size: 1.05rem;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--mist);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-section {
  background: var(--navy);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  color: var(--white);
}

.contact-panel h2 {
  margin-bottom: 18px;
  color: var(--white);
}

.contact-panel p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-details a,
.contact-details span {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: #10171d;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer img {
  width: 132px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .trust-band,
  .intro-grid,
  .service-area-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 18px;
  }

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

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

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    width: 132px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 74vh;
    padding-top: 118px;
    padding-bottom: 54px;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

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

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

  .service-card span {
    margin-bottom: 28px;
  }

  .project-card.large,
  .project-card.tall,
  .project-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .contact-form {
    padding: 20px;
  }
}
