@font-face {
  font-family: Audiowide;
  src: url(fonts/audiowide-400-latin.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url(fonts/space-grotesk-latin-variable.woff2) format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url(fonts/inter-latin-variable.woff2) format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  font: 16px/1.55 Inter, system-ui, sans-serif;
  --blue: #1C62A0;
  --blue-dark: #164E80;
  --blue-tint: #E8F0F8;
  --selected-ink: #123F69;
  --ink: #121417;
  --concrete: #EFEFEC;
  --white: #FFFFFF;
  --line: #D8D9D5;
  --input-line: #B9BCB8;
  --body-2: #4A4F55;
  --steel: #565B61;
  --on-dark: #C4C8CC;
  --logo-blue: #4F8FD0;
  --heading: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  overflow-wrap: anywhere;
}

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.1; }
h1 { margin: 0 0 8px; font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 19px; }
button, input, textarea { font: inherit; }

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  padding-inline: 12px;
  background: var(--white);
  translate: 0 -160%;
}

.skip-link:focus { translate: none; }

a[href], summary {
  min-width: 44px;
  min-height: 48px;
}

.site-header .menu { position: relative; }

.menu summary {
  display: grid;
  place-items: center;
  width: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker { display: none; }

.menu nav {
  position: absolute;
  z-index: 2;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 160px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 12px;
}

.menu a, .back-link, .contact-link, .skip-link, .site-footer a {
  display: inline-flex;
  align-items: center;
}

.menu a[aria-current="page"] { font-weight: 600; }

.site-footer a { align-self: flex-start; }
.site-footer a:hover { text-decoration: underline !important; }
.site-footer :focus-visible, .photo-overlay :focus-visible { outline-color: var(--white); }

.tex {
  position: relative;
  isolation: isolate;
  background: var(--ink) url(img/texture-aggregate.jpg) center/cover;
}

.tex::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(18 20 23 / 86%);
}

.job-grid, .service-list {
  display: grid;
  gap: 12px;
}

.job-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.service-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.gallery-tile {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.gallery-tile:hover { text-decoration: underline; }
.gallery-tile p { margin: 8px 0 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.featured-label { color: var(--steel); font-size: 13px; }
.job-cover { position: relative; }
.job-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }

.photo-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgb(18 20 23 / 82%);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.inner { padding-block: 28px 40px; }
.back-link { margin-bottom: 8px; font-size: 14px; }

.service-list { padding: 0; list-style: none; }

.service-list li, .owner-details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
}

.service-list h2, .owner-details h2 { margin: 0 0 6px; }
.service-list p { margin: 0; color: var(--body-2); }
.owner-details dt { font-weight: 600; }
.owner-details dd { margin: 0 0 10px; }

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding-inline: 22px;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.primary-button:hover { background: var(--blue-dark); color: var(--white); }

.all-jobs { padding-block: 32px 40px; }
.all-jobs h2 { margin: 0 0 16px; font-size: 24px; }

.photo-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--white);
  background: var(--ink);
}

.photo-overlay:target, .photo-overlay:has(figure:target) { display: block; }

html:has(.photo-overlay:is(:target, :has(figure:target))),
body:has(.photo-overlay:is(:target, :has(figure:target))) { overflow: hidden; }

body:has(.photo-overlay:is(:target, :has(figure:target))) > .page { visibility: hidden; }

.viewer {
  width: min(100%, 840px);
  margin-inline: auto;
  padding: 14px 12px 18px;
}

.overlay-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.overlay-bar h2 { margin: 0; font-size: 19px; }

.close, .arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  color: var(--white);
  text-decoration: none;
}

.close { border: 1px solid var(--on-dark); border-radius: 6px; }
.close:hover, .arrow:hover { color: var(--white); background: var(--blue-dark); }

.photo-strip {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
}

.photo-strip:focus-visible { outline-offset: -3px; }

.photo-strip figure {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.photo-strip figcaption { margin: 2px 0 12px; color: var(--on-dark); font-size: 14px; }
.viewer-image { position: relative; }

.viewer-image img {
  width: 100%;
  height: clamp(160px, calc(100dvh - 225px), 720px);
  object-fit: contain;
  border-radius: 6px;
}

.arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  border-radius: 50%;
  background: rgb(18 20 23 / 78%);
  font-size: 30px;
  line-height: 1;
}

.prev { left: 8px; }
.next { right: 8px; }

.thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(44px, 68px));
  gap: 8px;
  margin: 10px 0 4px;
}

.thumbnails a {
  display: block;
  aspect-ratio: 1;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 6px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .6;
}

.thumbnails a[aria-current], .thumbnails a:hover { border-color: var(--white); opacity: 1; }
.viewer-note { margin: 10px 0 0; color: var(--on-dark); font-size: 13px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.quote-fields {
  max-width: 760px;
  margin-inline: auto;
  padding: 12px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote-fields fieldset { min-inline-size: 0; }
.quote-fields :disabled, .quote-fields label:has(:disabled) { cursor: default; }
.quote-fields input::placeholder, .quote-fields textarea::placeholder { color: var(--steel); opacity: 1; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  min-width: 44px;
  padding-inline: 14px;
  border: 1px solid var(--steel);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
}

.chip:has(:checked) {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
  background: var(--blue-tint);
  color: var(--selected-ink);
  font-weight: 600;
}

.radio-input {
  min-height: 48px;
  margin: 0;
  accent-color: var(--blue);
}

.consent, .consent label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-size: 14px;
}

.consent { flex-wrap: wrap; gap: 0 12px; }

.consent-input {
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
  flex: none;
  margin: 0;
  accent-color: var(--blue);
}

.consent a { min-width: 44px; }
.quote-fields a { display: inline-flex; align-items: center; }

.upload-input {
  width: 100%;
  min-height: 48px;
  cursor: pointer;
}

.upload-input::file-selector-button {
  min-height: 44px;
  border: 1px solid var(--steel);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.file-example { margin: 10px 0 0; color: var(--steel); font-size: 14px; }

@media (max-width: 325px) {
  .thumbnails { grid-template-columns: repeat(5, minmax(44px, 1fr)); gap: 4px; }
}

.privacy-draft { max-width: 760px; padding-block: 24px 48px; }
.draft-banner {
  padding: 12px 16px;
  border: 2px solid var(--blue);
  background: var(--blue-tint);
  color: var(--selected-ink);
  font-weight: 700;
}

.mobile-call {
  display: none;
}

@media (max-width: 700px) {
  .mobile-call {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-call:hover {
    color: var(--white);
    background: var(--blue-dark);
  }

  .mobile-call:focus-visible {
    outline-color: var(--white);
    outline-offset: -5px;
  }

  .page {
    padding-bottom: 52px;
  }
}
