:root {
  --navy: #06245f;
  --deep: #071b3f;
  --gold: #9c791e;
  --gold-light: #d8bc70;
  --warm: #f6f4ef;
  --ink: #17253d;
  --muted: #687589;
  --line: #d8d2c8;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.55rem, 4.3vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.nav-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  height: 102px;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  border-bottom: 1px solid #e5e1d8;
  background: #fff;
}

.brand img {
  display: block;
  width: 285px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

nav a {
  padding: 12px 0;
}

.nav-cta {
  padding: 15px 22px;
  background: var(--navy);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #fff;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #fff 0%,
      rgb(255 255 255 / 95%) 27%,
      rgb(255 255 255 / 52%) 49%,
      rgb(255 255 255 / 5%) 70%
    ),
    url("/civic-architecture-hero.png") center / cover no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: 62%;
  min-height: 680px;
  flex-direction: column;
  justify-content: center;
  padding: 78px 4vw 72px 8vw;
}

.overline,
.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold-light);
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.9rem, 6.4vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero h1 em {
  color: var(--gold);
}

.hero-intro {
  max-width: 650px;
  margin: 31px 0 34px;
  color: #4f5f74;
  font-size: 1.125rem;
  line-height: 1.75;
}

.button,
.email-button {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 42px;
  padding: 17px 22px;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.button:hover,
.email-button:hover,
.nav-cta:hover {
  filter: brightness(1.08);
}

.credibility {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 9vw;
  padding: 48px 8vw;
  border-top: 1px solid #e0dbd1;
  border-bottom: 1px solid #e0dbd1;
  background: var(--warm);
}

.credibility .eyebrow {
  margin-bottom: 10px;
}

.credibility h2 {
  font-size: clamp(1.9rem, 3vw, 2.9rem);
}

.credibility-copy {
  padding-left: 34px;
  border-left: 1px solid #d1cabe;
}

.credibility-copy p {
  margin: 0;
  color: #5e6c81;
  font-size: 1rem;
  line-height: 1.75;
}

.section-intro {
  padding: 105px 8vw 65px;
  text-align: center;
}

.section-intro > p:last-child {
  max-width: 780px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 7vw 115px;
}

.service {
  display: flex;
  min-height: 395px;
  flex-direction: column;
  padding: 42px 41px 45px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service:first-child {
  border-left: 1px solid var(--line);
}

.number,
.fit-item > span {
  color: var(--gold);
  font: italic 0.94rem Georgia, serif;
}

.service h3 {
  margin: 42px 0 20px;
  color: var(--navy);
  font-size: 1.94rem;
  font-weight: 400;
  line-height: 1.14;
}

.service > p {
  margin: 0;
  color: #667386;
  font-size: 0.94rem;
  line-height: 1.75;
}

.service small {
  margin-top: auto;
  padding-top: 28px;
  color: var(--navy);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.85;
  text-transform: uppercase;
}

.ai {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 8vw;
  padding: 52px 8vw;
  border-top: 1px solid #dfdad0;
  border-bottom: 1px solid #dfdad0;
  background: var(--warm);
}

.ai-heading {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  column-gap: 20px;
}

.ai-mark {
  display: grid;
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--navy);
  font: italic 1.25rem Georgia, serif;
}

.ai .eyebrow {
  margin: 0 0 7px;
}

.ai h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.ai-copy {
  padding-left: 28px;
  border-left: 1px solid #d5cfc4;
}

.ai-copy p {
  margin: 0;
  color: #657286;
  font-size: 0.94rem;
  line-height: 1.75;
}

.federal {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 10vw;
  padding: 105px 8vw;
  background: var(--navy);
  color: #fff;
}

.federal h2 {
  color: #fff;
}

.federal-copy {
  padding-left: 34px;
  border-left: 2px solid var(--gold);
}

.federal-copy p {
  margin: 0 0 20px;
  color: #bec8d7;
  font-size: 1rem;
  line-height: 1.8;
}

.federal-copy p:last-child {
  margin-bottom: 0;
  color: #e6eaf0;
}

.fit {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10vw;
  padding: 105px 8vw;
}

.fit-list {
  border-top: 1px solid #d9d3c9;
}

.fit-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #d9d3c9;
}

.fit-item b {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fit-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.contact {
  padding: 90px 8vw 34px;
  background: var(--deep);
  color: #fff;
}

.contact-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 10vw;
  padding-bottom: 65px;
}

.contact h2 {
  color: #fff;
}

.contact-copy p {
  margin: 0 0 27px;
  color: #b8c2d2;
  font-size: 1rem;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 27px;
}

.contact-details a {
  color: #8f9db2;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 35px;
  padding-top: 27px;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: #8493a8;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-logo {
  display: block;
  margin-right: auto;
  padding: 7px 10px 5px;
  background: #fff;
}

.footer-logo img {
  display: block;
  width: 220px;
  height: auto;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 80px;
  }

  .nav-wrap {
    height: 80px;
  }

  .brand img {
    width: 205px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero-photo {
    background-position: 62% center;
  }

  .hero-copy {
    width: 100%;
    padding: 65px 8vw;
    background: linear-gradient(90deg, rgb(255 255 255 / 97%), rgb(255 255 255 / 72%));
  }

  .credibility,
  .services-grid,
  .ai,
  .federal,
  .fit,
  .contact-main {
    grid-template-columns: 1fr;
  }

  .credibility,
  .contact-main {
    gap: 30px;
  }

  .credibility-copy,
  .ai-copy,
  .federal-copy {
    padding-left: 0;
    border-left: 0;
  }

  .service {
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .service:last-child {
    border-bottom: 1px solid var(--line);
  }

  .ai {
    gap: 32px;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    padding: 0 5vw;
  }

  .brand img {
    width: 175px;
  }

  .nav-cta {
    padding: 12px 15px;
    font-size: 0.625rem;
  }

  .hero,
  .hero-copy {
    min-height: 630px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 3.55rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .section-intro,
  .federal,
  .fit,
  .contact {
    padding-right: 7vw;
    padding-left: 7vw;
  }

  .services-grid {
    padding-right: 7vw;
    padding-left: 7vw;
  }

  .footer-bottom > span {
    width: 100%;
  }

  .footer-logo {
    width: auto !important;
    margin-right: auto;
  }
}

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