:root {
  color-scheme: light dark;
  --navy: #063b70;
  --navy-deep: #032c55;
  --blue: #0a5b9d;
  --gold: #f4c21b;
  --green: #2f9e44;
  --green-dark: #247f36;
  --bg: #eaf1f7;
  --surface: #fff;
  --surface-soft: #f5f8fb;
  --border: #b9ccdc;
  --text: #102a42;
  --muted: #526475;
  --shadow: 0 3px 14px rgba(9, 45, 80, .09);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1a25;
    --surface: #142738;
    --surface-soft: #192f42;
    --border: #3e5d76;
    --text: #f2f7fb;
    --muted: #b9c9d6;
    --shadow: 0 3px 16px rgba(0, 0, 0, .28);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Trebuchet MS", Trebuchet, system-ui, sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 12px; top: 10px; z-index: 2;
  transform: translateY(-160%); padding: 10px 14px;
  background: var(--gold); color: var(--navy-deep); font-weight: 900;
}
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 100; color: #fff; }
.utility-bar {
  display: grid; grid-template-rows: 1fr; overflow: hidden;
  background: var(--navy-deep); color: #d8e6f3; font-size: 14px; font-weight: 700;
  transition: grid-template-rows .25s ease;
}
.utility-bar > div { overflow: hidden; }
.site-header.scrolled .utility-bar { grid-template-rows: 0fr; }
.utility-inner {
  width: min(1160px, 100%); margin: 0 auto; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: 6px 22px; padding: 0 18px;
}
.utility-inner a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.utility-inner a:hover { color: var(--gold); }
.utility-inner svg { width: 16px; height: 16px; fill: var(--gold); flex: none; }
.main-nav { min-height: 76px; background: var(--navy-deep); border-bottom: 4px solid var(--gold); box-shadow: 0 4px 12px rgba(0,0,0,.16); }
.header-inner {
  width: min(1160px, 100%); min-height: 76px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px; padding: 8px 18px;
}
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 60px; width: auto; border-radius: 4px; }
.brand-name { font-weight: 900; line-height: 1.2; }
.brand-location { display: block; margin-top: 3px; color: #d8e6f3; font-size: 13px; }
.menu-button {
  margin-left: auto; width: 48px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.38); border-radius: 4px;
  background: transparent; color: #fff; cursor: pointer;
}
.menu-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.menu-button svg { width: 25px; height: 25px; }
.menu-button .close-icon { display: none; }
.menu-button[aria-expanded="true"] .menu-icon { display: none; }
.menu-button[aria-expanded="true"] .close-icon { display: block; }
.header-nav { display: none; }
.header-nav.open {
  position: fixed; inset: 76px 0 0; z-index: 99; display: flex;
  flex-direction: column; gap: 5px; padding: 20px 18px;
  background: var(--navy-deep); overflow-y: auto;
}
.header-nav a {
  min-height: 52px; display: flex; align-items: center; padding: 0 15px;
  text-decoration: none; color: #fff; border-radius: 4px;
  font-weight: 900; border-bottom: 1px solid rgba(185,204,220,.25);
}
.header-nav a:hover, .header-nav a:focus-visible { background: var(--blue); box-shadow: inset 4px 0 var(--gold); outline: none; }
.header-nav .request-link { margin-top: 12px; justify-content: center; background: var(--green); border: 0; box-shadow: 0 4px 0 var(--green-dark); }
.header-nav .request-link:hover, .header-nav .request-link:focus-visible { background: var(--green); color: #fff; filter: brightness(1.08); }
body.menu-open { overflow: hidden; }
main { width: min(1160px, calc(100% - 36px)); margin: 0 auto; padding: 32px 0 64px; }
.breadcrumb { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--blue); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.service-hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  overflow: hidden; background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; box-shadow: var(--shadow);
}
.service-photo { min-height: 390px; background: var(--navy-deep); }
.service-photo img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.service-intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 5vw, 54px); }
.eyebrow {
  margin: 0 0 12px; color: var(--blue); font-size: 12px;
  text-transform: uppercase; letter-spacing: .12em; font-weight: 900;
}
h1, h2 { font-family: Bahnschrift Condensed, "DIN Condensed", "Trebuchet MS", sans-serif; }
h1 { margin: 0; color: var(--navy); font-size: clamp(36px, 5vw, 58px); letter-spacing: -.025em; line-height: 1.02; }
@media (prefers-color-scheme: dark) { h1 { color: #eef6fd; } }
.lead { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 18px; border-radius: 4px; text-decoration: none; font-weight: 900;
}
.button-primary { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-dark); }
.button-primary:hover { filter: brightness(1.08); }
.button-secondary { background: var(--surface-soft); border: 1px solid var(--border); color: var(--navy); }
@media (prefers-color-scheme: dark) { .button-secondary { color: #eef6fd; } }
.details {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  gap: 26px; margin-top: 28px;
}
.detail-copy, .project-note {
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  box-shadow: var(--shadow); padding: clamp(22px, 4vw, 34px);
}
.detail-copy h2, .project-note h2 { margin: 0; color: var(--navy); font-size: 26px; }
@media (prefers-color-scheme: dark) { .detail-copy h2, .project-note h2 { color: #eef6fd; } }
.detail-copy p, .project-note p { color: var(--muted); }
.detail-copy ul { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.detail-copy li { position: relative; padding-left: 25px; }
.detail-copy li::before {
  content: ""; position: absolute; left: 1px; top: .52em; width: 10px; height: 10px;
  background: var(--gold); border: 2px solid var(--navy); transform: rotate(45deg);
}
.project-note { border-top: 5px solid var(--gold); }
.project-note p { margin-bottom: 0; }
.project-gallery {
  margin-top: 28px; padding: clamp(22px, 4vw, 34px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; box-shadow: var(--shadow);
}
.project-gallery h2 { margin: 0; color: var(--navy); font-size: 26px; }
@media (prefers-color-scheme: dark) { .project-gallery h2 { color: #eef6fd; } }
.project-gallery p { margin: 8px 0 18px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.gallery-grid figure {
  margin: 0; overflow: hidden; background: var(--surface-soft);
  border: 1px solid var(--border); border-radius: 4px;
}
.gallery-trigger {
  display: block; width: 100%; padding: 0; overflow: hidden;
  border: 0; background: transparent; cursor: zoom-in;
}
.gallery-trigger:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s ease; }
.gallery-trigger:hover img { transform: scale(1.035); }
.gallery-grid figcaption { padding: 10px 12px; color: var(--muted); font-size: 14px; font-weight: 800; }
.lightbox-open { overflow: hidden; }
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  padding: 24px; background: rgba(1, 15, 29, .88);
}
.lightbox-panel {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center; gap: 12px; width: min(1120px, 100%); max-height: 100%;
}
.lightbox-figure { grid-column: 2; grid-row: 1; min-width: 0; margin: 0; text-align: center; }
.lightbox-image {
  width: 100%; max-height: min(78vh, 820px); object-fit: contain;
  margin: 0 auto; background: rgba(0, 0, 0, .2);
}
.lightbox-caption { padding: 12px 54px 0; color: #fff; font-size: 16px; font-weight: 800; }
.lightbox-close, .lightbox-arrow {
  display: grid; place-items: center; flex: none; color: #fff;
  border: 1px solid rgba(255, 255, 255, .65); background: rgba(3, 44, 85, .9);
  cursor: pointer; touch-action: manipulation;
}
.lightbox-close:hover, .lightbox-arrow:hover { background: var(--blue); }
.lightbox-close:focus-visible, .lightbox-arrow:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lightbox-close { position: absolute; z-index: 1; top: 10px; right: 10px; width: 48px; height: 48px; border-radius: 4px; font-size: 34px; line-height: 1; }
.lightbox-arrow { width: 56px; height: 64px; border-radius: 4px; font-size: 25px; }
.lightbox-previous { grid-column: 1; grid-row: 1; }
.lightbox-next { grid-column: 3; grid-row: 1; }
footer { background: #021f3d; color: #d8e6f3; border-top: 5px solid var(--gold); }
.footer-inner {
  width: min(1160px, calc(100% - 36px)); margin: 0 auto; padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13px;
}
footer a { color: var(--gold); font-weight: 800; }
@media (max-width: 760px) {
  .brand img { height: 52px; }
  main { padding-top: 22px; }
  .service-hero, .details { grid-template-columns: 1fr; }
  .service-photo, .service-photo img { min-height: 245px; max-height: 330px; }
  .service-intro { padding: 28px 24px 32px; }
}
@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lightbox-panel { grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 6px; }
  .lightbox-image { max-height: 72vh; }
  .lightbox-arrow { width: 46px; height: 56px; }
  .lightbox-caption { padding: 12px 0 0; font-size: 14px; }
  .lightbox-close { top: 8px; right: 8px; width: 46px; height: 46px; }
}
@media (min-width: 700px) { .utility-inner { justify-content: space-between; } }
@media (min-width: 900px) {
  body.menu-open { overflow: auto; }
  .menu-button { display: none; }
  .header-nav, .header-nav.open {
    position: static; display: flex; flex-direction: row; align-items: center;
    margin-left: auto; padding: 0; background: transparent; overflow: visible;
  }
  .header-nav a { min-height: 44px; border: 0; padding: 0 17px; }
  .header-nav a:hover, .header-nav a:focus-visible { box-shadow: inset 0 -4px var(--gold); }
  .header-nav .request-link { margin: 0 0 0 10px; padding: 0 20px; box-shadow: 0 4px 0 var(--green-dark); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
