:root {
  color-scheme: light;
  --navy: #122453;
  --navy-deep: #0c1838;
  --navy-hover: #203b79;
  --eggshell: #faf6eb;
  --eggshell-shade: #efe8d8;
  --eggshell-border: #d9cfbb;
}
body { background:var(--eggshell); }
header { background:var(--eggshell); border:0; }
header .wrap { min-height:76px; }
header .brand img { width:154px; height:auto; }
.hero { margin-inline:clamp(.5rem,2.5vw,2.5rem); border-radius:24px; overflow:hidden; background:var(--navy-deep); }
.hero::before { left:36%; clip-path:none; background-color:var(--navy-deep); background-position:center 58%; filter:brightness(.77); }
.hero::after { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,var(--navy-deep) 20%,#0c1838ee 34%,transparent 75%); content:""; }
.hero .wrap { padding-block:clamp(4rem,10vw,9rem); }
.hero h1 { font-size:clamp(3rem,7vw,7.2rem); line-height:.93; letter-spacing:-.067em; max-width:10ch; }
.hero p { max-width:34ch; }
.hero .eyebrow { color:var(--eggshell); }
.button { border:0; border-radius:100px; }
header .button { background:var(--navy); color:var(--eggshell); }
header .button:hover { background:var(--navy-hover); }
.hero .button, .contact .button { background:var(--eggshell); color:var(--navy); }
.hero .button:hover, .contact .button:hover { background:var(--eggshell-shade); }
.services { background:var(--eggshell); border-color:var(--eggshell-border); }
.services dl div { border-color:var(--eggshell-border); }
.services dt, h2 { color:var(--navy); }
h2 { letter-spacing:-.045em; }
.work { background:var(--eggshell-shade); }
.project { background:var(--eggshell); border-color:var(--eggshell-border); border-radius:16px; }
.project-controls { background:var(--eggshell); }
.project-controls button[aria-pressed="true"] { background:var(--navy); color:var(--eggshell); }
.contact { background:var(--navy); color:var(--eggshell); }
.contact h2 { color:inherit; }
footer { background:var(--navy-deep); color:var(--eggshell); }
@media (max-width:680px) {
  .hero::before { display:block; inset:0; background-position:65% center; }
  .hero::after { background:linear-gradient(90deg,#0c1838f5,#0c1838aa); aspect-ratio:auto; }
  .hero .wrap { padding-block:4rem; }
  header .brand img { width:118px; }
}

.contact .wrap { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); gap:1.4rem 3rem; }
.contact-truck { grid-row:span 2; width:100%; aspect-ratio:4/3; height:auto; object-fit:cover; object-position:center 43%; border-radius:16px; }
@media (max-width:680px) {
  .contact .wrap { grid-template-columns:1fr; }
  .contact-truck { grid-row:auto; order:1; }
}

.project-comparison {
  grid-column:1 / -1;
  justify-self:center;
  width:min(100%,32rem);
}
.project-comparison .project-photo { aspect-ratio:3/4; }
.project-comparison .project-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.contact .wrap { row-gap:1.25rem; grid-template-rows:auto 1fr; }
.contact .wrap > div { align-self:end; }
.contact p { margin:.65rem 0 0; max-width:38ch; }
.contact .estimate-actions {
  align-self:start;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.65rem;
  width:min(100%,27rem);
}
.estimate-call, .estimate-facebook { grid-column:1 / -1; }
.contact .estimate-secondary {
  border:1px solid #faf6eb70;
  background:transparent;
  color:var(--eggshell);
}
.contact .estimate-secondary:hover { background:#faf6eb18; }
.estimate-facebook {
  justify-self:center;
  display:grid;
  place-items:center;
  min-height:44px;
  text-align:center;
  font-size:.9rem;
}
footer .legal-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.3rem 1.5rem; }
footer .legal-links { display:flex; justify-content:flex-start; flex-wrap:wrap; gap:0 1.25rem; }
footer .legal-links a { display:inline-flex; align-items:center; min-height:44px; font-size:.875rem; font-weight:500; text-decoration:underline; }
@media (max-width:680px) {
  .contact .wrap { grid-template-rows:auto; padding-block:2.5rem; }
  .contact .estimate-actions { width:100%; }
  footer .legal-footer { flex-direction:column; align-items:flex-start; }
}

.contact .estimate-facebook {
  display:inline-flex;
  justify-self:stretch;
  gap:.55rem;
  background:#1863d6;
  color:#fff;
  font-size:1rem;
}
.contact .estimate-facebook:hover { background:#1356bf; }
.facebook-mark {
  display:grid;
  place-items:center;
  width:1.35rem;
  height:1.35rem;
  border-radius:50%;
  background:#fff;
  color:#1863d6;
  font:700 1.1rem/1 Arial,sans-serif;
}

footer .site-credit {
  margin-block:0;
  padding:.75rem 0 1rem;
  border-top:1px solid #faf6eb30;
  color:#e3dece;
  font-size:.875rem;
}
footer .site-credit a { color:var(--eggshell); text-decoration:underline; }
