:root {
  color-scheme: light;
  --navy: #172c40;
  --ink: #1d3042;
  --muted: #4c5c65;
  --paper: #fbfaf7;
  --white: #fff;
  --line: #e0dcd4;
  --gold: #b78b4c;
  --gold-dark: #745222;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a16c25; outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
[id] { scroll-margin-top: 24px; }
.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: 12px; padding: 10px 16px; background: white; transform: translateY(-160%); z-index: 5; }
.skip-link:focus { transform: none; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 91px; }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 clamp(14px, 2.5vw, 36px); }
nav a { font-size: .875rem; font-weight: 650; text-decoration: none; padding-block: 10px; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 13px;
  background: var(--navy); color: white; border: 1px solid transparent; border-radius: 5px;
  padding: 12px 17px; min-height: 49px; font: 700 .875rem var(--sans); text-decoration: none; cursor: pointer;
}
.button:hover { background: #2c465c; }
.arrow { width: 1em; height: 1em; flex: none; vertical-align: -.14em; }
.button-small { min-height: 42px; padding: 8px 12px; white-space: nowrap; }
.hero { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(32px, 6vw, 82px); padding-block: 68px 64px; }
.eyebrow { display: flex; gap: 9px; align-items: center; color: var(--gold-dark); font-weight: 750; font-size: .69rem; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow > span { display: inline-block; width: 18px; height: 1px; background: var(--gold); flex: none; }
h1, h2 { color: var(--navy); font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; }
h1 { font-size: clamp(3rem, 5.2vw, 5.15rem); margin-top: 20px; }
h1 em { color: var(--gold-dark); font-weight: 400; }
.hero-description { color: var(--muted); margin-top: 23px; max-width: 38ch; font-size: clamp(1rem, 1.4vw, 1.13rem); }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 27px; }
.text-link { font-weight: 700; font-size: .875rem; text-underline-offset: 4px; }
.hero-gallery { min-width: 0; display: grid; grid-template-columns: 19% 36% 45%; grid-template-rows: 145px 108px 125px 20px; }
.hero-gallery figure { position: relative; overflow: hidden; border-radius: 6px; isolation: isolate; }
.hero-gallery figure::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #101d28d9); pointer-events: none; }
.hero-gallery img { width: 100%; height: 100%; object-fit: cover; }
.hero-works { grid-area: 1 / 2 / 4 / 4; }
.hero-works img { object-position: 55% center; }
.hero-ict { grid-area: 3 / 1 / 5 / 3; z-index: 1; border: 5px solid var(--paper); align-self: stretch; }
.hero-gallery figcaption { position: absolute; bottom: 12px; right: 13px; z-index: 1; color: white; display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 720; }
.hero-ict figcaption { right: auto; left: 8px; bottom: 6px; }
.hero-gallery figcaption span { color: #efd0a3; font-size: .65rem; }
.credentials { background: #eee9df; border-block: 1px solid var(--line); }
.credentials-list { display: grid; grid-template-columns: .85fr .95fr 1.15fr 1.45fr; padding-block: 19px; }
.credentials-list div { padding-inline: clamp(14px, 3.2vw, 38px); border-left: 1px solid #d4cdbf; }
.credentials-list div:first-child { padding-left: 0; border: 0; }
.credentials-list div:last-child { padding-right: 0; }
.credentials dt { color: var(--gold-dark); font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.credentials dd { margin-top: 2px; font-weight: 750; font-size: .93rem; }
.divisions { padding-block: 75px 68px; }
.about-intro { padding-block: clamp(40px, 6vw, 78px) clamp(32px, 5vw, 58px); }
.about-intro > p:last-child { margin-top: 19px; color: var(--muted); max-width: 66ch; font-size: 1.05rem; }
.about-divisions { padding-bottom: clamp(43px, 6vw, 74px); }
.about-divisions .service-link { margin-top: 16px; }
.about-quote { margin-top: 24px; }
.section-head { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 24px; margin-bottom: 27px; }
.section-head h2, .quote-copy h2 { margin-top: 12px; font-size: clamp(2.55rem, 4.3vw, 4rem); }
.section-head > p { color: var(--muted); max-width: 45ch; padding-bottom: 2px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.service-image { width: 100%; height: 185px; object-fit: cover; object-position: center 50%; }
.service-body { flex: 1; display: flex; flex-direction: column; padding: 27px; }
.service-body h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.04em; font-size: clamp(1.85rem, 3vw, 2.58rem); margin-top: 10px; }
.service-body > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.services-list { list-style: none; margin: 20px 0 23px; padding: 0; }
.services-list li { border-top: 1px solid var(--line); padding-block: 9px; color: var(--muted); font-size: .875rem; }
.services-list strong { display: block; color: var(--navy); margin-bottom: 1px; }
.service-link { align-self: start; margin-top: auto; font-weight: 750; font-size: .875rem; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.service-link:hover { color: var(--gold-dark); }
.service-link .arrow { margin-left: 4px; }
.partners { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; padding: 20px 27px; border: 1px solid var(--line); border-radius: 7px; }
.partners h3 { font-size: 1.1rem; margin-top: 4px; }
.partners ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(10px, 3vw, 38px); flex-wrap: wrap; align-items: center; }
.partners li { color: var(--navy); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 800; letter-spacing: -.025em; }
.experience { background: #eee9df; border-block: 1px solid var(--line); padding-block: 61px 65px; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.projects article { border-top: 2px solid #b78b4c; background: var(--paper); padding: 19px 21px 23px; }
.project-tag { color: var(--gold-dark); font-size: .71rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.projects h3 { margin-top: 8px; font-size: 1.28rem; }
.projects article > p:last-child { margin-top: 4px; color: var(--muted); font-size: .91rem; }
.quote-section { background: var(--navy); color: white; padding-block: 68px; }
.quote-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 8vw, 120px); align-items: start; }
.quote-copy .eyebrow { color: #e4c391; }
.quote-copy h2 { color: white; }
.quote-copy > p:not(.eyebrow) { margin-top: 15px; color: #dce3e9; max-width: 36ch; }
.quote-copy address { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-style: normal; margin-top: 23px; }
.quote-copy address a { color: white; font-weight: 650; text-underline-offset: 3px; overflow-wrap: anywhere; }
.quote-copy address span { margin-top: 7px; }
.quote-copy .compliance { font-size: .83rem; }
.quote-form { background: var(--paper); color: var(--ink); border-radius: 7px; padding: clamp(20px, 3vw, 30px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.quote-form label { display: block; font-size: .84rem; font-weight: 720; margin-bottom: 13px; }
.quote-form input, .quote-form select, .quote-form textarea {
  display: block; margin-top: 5px; padding: 9px 10px; width: 100%; min-height: 42px;
  border: 1px solid #a7a8a2; border-radius: 4px; font: 400 1rem var(--sans); color: var(--ink); background: white;
}
.quote-form textarea { resize: vertical; }
.form-help { margin-top: 9px; color: var(--muted); font-size: .78rem; }
.site-footer { background: #102234; color: #e2e8ed; padding-block: 19px; font-size: .8rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.footer-inner p span { display: inline-block; margin-left: 10px; color: #c2cdd7; }
.footer-inner a { text-underline-offset: 3px; flex-shrink: 0; }
@media (max-width: 920px) {
  .wrap { width: calc(100% - 64px); }
  .hero-gallery { grid-template-rows: 120px 91px 105px 16px; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 0; padding-block: 10px 2px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
  .header-inner > .button { grid-area: 1 / 2; }
  .brand img { width: 72px; }
  nav { grid-column: 1 / -1; justify-content: flex-start; gap: 0 clamp(13px, 5vw, 31px); }
  nav a { font-size: .8rem; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 40px 30px; }
  h1 { margin-top: 13px; font-size: clamp(2.9rem, 11vw, 4.2rem); }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 19px; gap: 13px; }
  .hero-gallery { grid-template-rows: 72px 63px 83px 12px; }
  .hero-gallery figcaption { font-size: .64rem; right: 6px; bottom: 7px; }
  .hero-ict figcaption { right: auto; left: 4px; bottom: 4px; }
  .credentials-list { grid-template-columns: 1fr 1fr; padding-block: 12px; gap: 10px 0; }
  .credentials-list div { padding: 0 0 0 12px; }
  .credentials-list div:nth-child(odd) { padding-left: 0; border: 0; }
  .credentials dd { font-size: .84rem; }
  .credentials dt { font-size: .63rem; }
  .divisions, .experience, .quote-section { padding-block: 43px; }
  .section-head, .service-grid, .projects, .quote-grid { grid-template-columns: 1fr; }
  .section-head { gap: 11px; margin-bottom: 18px; }
  .service-grid { gap: 17px; }
  .service-body { padding: 20px; }
  .service-image { height: 145px; }
  .partners { align-items: flex-start; flex-direction: column; padding: 16px 20px; margin-top: 17px; }
  .projects { gap: 12px; }
  .footer-inner p span { display: block; margin-left: 0; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 30px); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
