:root {
  --navy: #071d36;
  --navy-2: #0d3158;
  --blue: #164f86;
  --yellow: #f2b83f;
  --paper: #f4f6f7;
  --white: #ffffff;
  --ink: #102033;
  --muted: #607083;
  --line: rgba(7, 29, 54, 0.14);
  --max: 1240px;
  --shadow: 0 22px 60px rgba(7, 29, 54, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 86px;
  padding: .65rem max(2rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}
.brand { width: 165px; }
.brand img { width: 100%; mix-blend-mode: multiply; }
nav { display: flex; justify-content: center; gap: clamp(1.3rem, 3vw, 3rem); }
nav a {
  position: relative;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-decoration: none;
  text-transform: uppercase;
}
nav a::after {
  position: absolute;
  right: 0;
  bottom: -.55rem;
  left: 0;
  height: 3px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform .2s ease;
}
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }
.header-email {
  display: flex;
  flex-direction: column;
  padding: .55rem .9rem;
  border-left: 4px solid var(--yellow);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}
.header-email span { font-size: .82rem; letter-spacing: .01em; text-transform: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: 690px;
  background: var(--navy);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 6rem) clamp(4rem, 8vw, 7rem) max(2rem, calc((100vw - var(--max)) / 2));
  color: var(--white);
}
.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow span { padding: 0 .3rem; }
.eyebrow.dark { color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 700px;
  margin-bottom: 1.45rem;
  font-size: clamp(3rem, 5.7vw, 5.6rem);
  letter-spacing: -.055em;
  line-height: .94;
}
.hero-intro {
  max-width: 610px;
  margin-bottom: 2rem;
  color: #c9d3df;
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.25rem;
  border: 2px solid transparent;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--navy); }
.button-secondary { border-color: #627990; color: var(--white); }
.button-secondary:hover { background: var(--white); color: var(--navy); }
.button-navy { background: var(--navy); color: var(--white); }
.license-line {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-top: 2.2rem;
  color: #93a7bb;
  font-size: .88rem;
  letter-spacing: .03em;
}
.license-line strong { color: var(--white); }
.hero-visual { position: relative; min-height: 580px; overflow: hidden; }
.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 29, 54, .35), transparent 38%), linear-gradient(0deg, rgba(7, 29, 54, .36), transparent 42%);
}
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; }
.hero-stamp {
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 5vw, 4rem);
  bottom: clamp(1.5rem, 5vw, 4rem);
  display: grid;
  width: 148px;
  height: 148px;
  align-content: center;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  color: var(--white);
  text-align: center;
  transform: rotate(-5deg);
}
.hero-stamp strong { font-size: 1.05rem; letter-spacing: .08em; }
.hero-stamp span { font-size: .61rem; font-weight: 800; letter-spacing: .2em; }

.service-section, .contact-section {
  padding: clamp(5rem, 9vw, 9rem) max(1.4rem, calc((100vw - var(--max)) / 2));
}
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1.5rem 5rem; margin-bottom: 3rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -.5rem; }
.section-heading h2, .work-intro h2, .statewide h2, .contact-heading h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(2.35rem, 4.4vw, 4.6rem);
  letter-spacing: -.045em;
  line-height: 1;
}
.section-heading > p:last-child { align-self: end; margin: 0; color: var(--muted); font-size: 1.12rem; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card {
  grid-column: span 2;
  min-height: 280px;
  padding: 2rem;
  background: var(--white);
}
.service-card.featured { grid-column: span 3; background: var(--navy); color: var(--white); }
.service-card:nth-child(2) { grid-column: span 3; }
.service-card h3 { max-width: 350px; margin: 1.5rem 0 .8rem; color: var(--navy); font-size: 1.55rem; line-height: 1.05; }
.service-card.featured h3 { color: var(--white); }
.service-card p { margin: 0; color: var(--muted); }
.service-card.featured p { color: #b9c7d6; }

.work-section { padding: clamp(5rem, 8vw, 8rem) max(1.4rem, calc((100vw - var(--max)) / 2)); background: var(--navy); }
.work-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem 5rem; margin-bottom: 3rem; }
.work-intro .eyebrow { grid-column: 1 / -1; }
.work-intro h2 { color: var(--white); }
.work-intro > p:last-child { align-self: end; margin: 0; color: #aebdcb; font-size: 1.08rem; }
.project-grid { display: grid; grid-auto-rows: 280px; grid-template-columns: repeat(12, 1fr); gap: .85rem; }
.project { position: relative; grid-column: span 4; margin: 0; overflow: hidden; background: #0b2949; }
.project-wide { grid-column: span 8; }
.project-tall { grid-row: span 2; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project:hover img { transform: scale(1.025); }
.project::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(3, 15, 28, .88), transparent 57%); }
.project figcaption { position: absolute; z-index: 2; right: 1.3rem; bottom: 1.2rem; left: 1.3rem; display: flex; flex-direction: column; color: var(--white); }
.project figcaption strong { font-size: 1.05rem; }
.project figcaption span { color: #c2ced9; font-size: .84rem; }

.statewide {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  padding: clamp(4rem, 7vw, 7rem) max(1.4rem, calc((100vw - var(--max)) / 2));
  background: var(--yellow);
}
.statewide h2 { max-width: 950px; }

.contact-section { background: var(--white); }
.contact-heading { max-width: 760px; margin-bottom: 3rem; }
.contact-heading > p:last-child { max-width: 620px; margin-top: 1.2rem; color: var(--muted); font-size: 1.08rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-card {
  position: relative;
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.8rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
.contact-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; content: ""; background: var(--yellow); }
.billing-contact { grid-column: auto; min-height: 180px; }
.contact-label { margin: 0; color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; margin-top: 2.3rem; }
.contact-email { overflow-wrap: anywhere; color: var(--blue); font-size: clamp(.95rem, 1.4vw, 1.08rem); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: .24em; }
.contact-email:hover, .contact-email:focus-visible { color: var(--navy-2); }
.address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.address-card { padding: 1.7rem; border: 1px solid var(--line); color: var(--navy); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.address-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.address-card span { display: block; margin-bottom: 1.4rem; color: var(--blue); font-size: .73rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.address-card strong { font-size: 1.4rem; }
.address-card p { margin: .15rem 0 0; color: var(--muted); }

footer {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 3rem max(1.4rem, calc((100vw - var(--max)) / 2));
  background: #041427;
  color: #9fb0c1;
}
footer img { width: 135px; padding: .5rem; background: #f4f1ea; }
footer > div { display: flex; flex-direction: column; }
footer strong { color: var(--white); }
footer a { color: var(--white); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 150px 1fr; min-height: 76px; padding: .55rem 1.2rem; }
  .brand { width: 145px; }
  nav { justify-content: flex-end; gap: 1.1rem; }
  .header-email { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 5rem 1.4rem 4rem; }
  .hero-visual { min-height: 480px; }
  .section-heading, .work-intro { grid-template-columns: 1fr; gap: 1.2rem; }
  .service-card, .service-card.featured, .service-card:nth-child(2) { grid-column: span 3; }
  .service-card:last-child { grid-column: span 6; }
  .project-wide { grid-column: span 12; }
  .project { grid-column: span 6; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 120px 1fr; }
  footer > a { grid-column: 2; }
}

@media (max-width: 620px) {
  .site-header { grid-template-columns: 1fr; gap: .45rem; padding: .7rem 1rem .85rem; }
  .brand { width: 135px; margin: auto; }
  nav { justify-content: center; gap: 1.4rem; }
  nav a { font-size: .74rem; }
  .hero-copy { padding-top: 4.2rem; }
  h1 { font-size: clamp(2.85rem, 14vw, 4.2rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { min-height: 390px; }
  .hero-stamp { width: 118px; height: 118px; }
  .section-heading h2, .work-intro h2, .statewide h2, .contact-heading h2 { font-size: clamp(2.3rem, 11vw, 3.5rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.featured, .service-card:nth-child(2), .service-card:last-child { grid-column: 1; min-height: 245px; }
  .service-card h3 { margin-top: 1rem; }
  .project-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; }
  .project, .project-wide, .project-tall { flex: 0 0 86%; height: 470px; scroll-snap-align: start; }
  .statewide { grid-template-columns: 1fr; }
  .contact-grid, .address-grid { grid-template-columns: 1fr; }
  .contact-card, .billing-contact { min-height: 155px; }
  .contact-details { margin-top: 1.8rem; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer img { margin: auto; }
  footer > a { grid-column: 1; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
