:root {
  --navy: #0f2747;
  --dark-navy: #091a30;
  --silver: #bfc5cc;
  --silver-dark: #8d96a3;
  --soft-gold: #c8a84f;
  --pale-gold: #e2cf8a;
  --light-gray: #eef1f4;
  --soft-gray: #f7f8fa;
  --charcoal: #2e3440;
  --muted: #66707d;
  --white: #ffffff;
  --line: #d7dce3;
  --shadow: 0 12px 30px rgba(9, 26, 48, 0.1);
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: "Source Sans 3", sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--dark-navy);
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  color: var(--white);
  font-size: clamp(2.45rem, 4.8vw, 4.6rem);
}

h2 {
  max-width: 880px;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 88px 0;
}

section[id] {
  scroll-margin-top: 92px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 82px;
  padding: 12px clamp(20px, 5vw, 58px);
  color: var(--white);
  background: rgba(9, 26, 48, 0.98);
  border-bottom: 1px solid rgba(226, 207, 138, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand--footer .brand__logo {
  width: 82px;
  height: 82px;
}

.brand__text {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand--footer .brand__text {
  display: none;
}

.brand__name {
  color: var(--white);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand__subtitle {
  color: var(--pale-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__fallback {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--silver);
  border-radius: 50%;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:not(.button) {
  color: rgba(255, 255, 255, 0.84);
  transition: color 160ms ease;
}

.site-nav a:not(.button):hover {
  color: var(--pale-gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  color: var(--dark-navy);
  background: var(--pale-gold);
  border-color: var(--pale-gold);
}

.button--small {
  min-height: 42px;
  padding-inline: 18px;
  color: var(--white);
  background: transparent;
  border-color: rgba(226, 207, 138, 0.68);
}

.button--secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(191, 197, 204, 0.72);
}

.button--secondary:hover {
  color: var(--dark-navy);
  background: var(--pale-gold);
  border-color: var(--pale-gold);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: transparent;
  border: 1px solid rgba(191, 197, 204, 0.55);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 79vh;
  overflow: hidden;
  place-items: center start;
  padding: 146px clamp(20px, 7vw, 94px) 78px;
  background: var(--dark-navy);
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    url("assets/hero-photo.jpg") center 44% / cover no-repeat,
    var(--dark-navy);
}

.hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(9, 26, 48, 0.22);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 26, 48, 0.94), rgba(9, 26, 48, 0.8) 47%, rgba(9, 26, 48, 0.48));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  border-left: 3px solid var(--soft-gold);
  padding-left: clamp(20px, 3vw, 34px);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--silver-dark);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.hero__subhead {
  max-width: 650px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.about,
.industries {
  background: var(--white);
}

.about__grid,
.why__grid,
.quote__grid,
.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 58px;
  align-items: center;
}

.about__copy p,
.why p,
.quote__intro p,
.process p {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
}

.about__photo-wrap {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--light-gray);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__photo-fallback {
  position: absolute;
  inset: 26px;
  display: grid;
  place-content: center;
  color: var(--dark-navy);
  border: 1px dashed var(--silver-dark);
  border-radius: var(--radius);
  text-align: center;
}

.about__photo-fallback span {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
}

.about__photo-fallback small {
  color: var(--muted);
}

.services,
.quote,
.process {
  background: var(--light-gray);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 42px;
}

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

.service-card,
.industry-card,
.quote-form,
.service-area {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(9, 26, 48, 0.055);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 228px;
  padding: 26px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  border-color: rgba(200, 168, 79, 0.5);
  box-shadow: var(--shadow);
}

.service-card__icon {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border: 1px solid rgba(200, 168, 79, 0.62);
  border-radius: 50%;
}

.service-card__icon::before,
.service-card__icon::after {
  position: absolute;
  content: "";
  background: var(--navy);
}

.service-card__icon::before {
  top: 18px;
  left: 9px;
  width: 20px;
  height: 2px;
}

.service-card__icon::after {
  top: 9px;
  left: 18px;
  width: 2px;
  height: 20px;
}

.service-card p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-card__action {
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 0 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(200, 168, 79, 0.62);
  border-radius: 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.service-card__action:hover,
.service-card__action:focus-visible {
  color: var(--soft-gold);
  border-color: var(--soft-gold);
  outline: none;
}

.why {
  color: var(--white);
  background: var(--dark-navy);
  border-top: 1px solid rgba(226, 207, 138, 0.18);
  border-bottom: 1px solid rgba(226, 207, 138, 0.18);
}

.why h2,
.why h3 {
  color: var(--white);
}

.why p {
  color: rgba(255, 255, 255, 0.76);
}

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

.benefit-list {
  display: grid;
  gap: 10px;
}

.benefit {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 56px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 207, 138, 0.18);
  border-radius: var(--radius);
  font-weight: 700;
}

.benefit span {
  color: var(--pale-gold);
  font-family: "Libre Baskerville", serif;
  font-size: 0.78rem;
}

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

.industry-card {
  min-height: 172px;
  padding: 26px;
  border-top: 3px solid rgba(200, 168, 79, 0.7);
}

.industry-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.98rem;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-step {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 62px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(200, 168, 79, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(9, 26, 48, 0.045);
}

.process-step span {
  color: var(--soft-gold);
  font-family: "Libre Baskerville", serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.naics-box {
  display: grid;
  gap: 8px;
  justify-self: end;
  width: min(100%, 520px);
  padding: 20px 22px;
  color: var(--charcoal);
  background: linear-gradient(180deg, var(--white), #fbfbfa);
  border: 1px solid rgba(200, 168, 79, 0.36);
  border-left: 3px solid var(--soft-gold);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(9, 26, 48, 0.055);
}

.naics-box span {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.naics-box strong {
  color: var(--charcoal);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.service-area {
  margin-top: 30px;
  padding: 24px;
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.area-pills span {
  padding: 8px 12px;
  color: var(--dark-navy);
  background: var(--soft-gray);
  border: 1px solid rgba(200, 168, 79, 0.24);
  border-radius: 999px;
  font-weight: 700;
}

.office-address {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.office-address strong {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-navy);
  font-family: "Libre Baskerville", serif;
  font-size: 1rem;
}

.office-address address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.trust-certifications {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

.naics-box--footer {
  justify-self: stretch;
  width: 100%;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(226, 207, 138, 0.3);
  box-shadow: none;
}

.naics-box--footer span {
  color: var(--pale-gold);
}

.naics-box--footer strong {
  color: var(--white);
  line-height: 1.45;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  padding: 28px;
}

.quote-form label {
  color: var(--dark-navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-form__wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid #cbd1da;
  border-radius: var(--radius);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(200, 168, 79, 0.22);
  border-color: var(--navy);
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 54px 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--dark-navy);
  border-top: 4px solid var(--soft-gold);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr 1fr 1.35fr;
  gap: 36px;
}

.site-footer h2,
.site-footer h3 {
  margin: 16px 0 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer h2 {
  font-size: 1.35rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 7px 0;
}

.section-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 460ms ease, transform 460ms ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--dark-navy);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

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

  .site-nav a:not(.button) {
    color: var(--dark-navy);
  }

  .site-nav .button {
    margin-top: 8px;
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
  }

  .about__grid,
  .why__grid,
  .quote__grid,
  .process__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .naics-box {
    justify-self: stretch;
  }

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

}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .section-pad {
    padding: 68px 0;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 76px;
    padding-inline: 14px;
  }

  .brand__logo {
    width: 58px;
    height: 58px;
  }

  .brand {
    gap: 10px;
  }

  .brand__name {
    font-size: 0.98rem;
  }

  .hero {
    min-height: 76vh;
    padding: 124px 18px 58px;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(9, 26, 48, 0.96), rgba(9, 26, 48, 0.82));
  }

  .hero__media {
    background-position: center center;
    background-size: cover;
  }

  .hero__content {
    border-left: 2px solid var(--silver);
  }

  .hero__actions,
  .hero__actions .button,
  .quote-form .button {
    width: 100%;
  }

  .about__photo-wrap {
    min-height: 330px;
  }

  .service-grid,
  .industry-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .naics-box {
    padding: 18px;
  }

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

@media (max-width: 390px) {
  .brand__name {
    font-size: 0.86rem;
  }

}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
