:root {
  --ink: #101318;
  --steel: #2f3942;
  --slate: #59636d;
  --paper: #f4f1ea;
  --bone: #fffaf0;
  --line: rgba(16, 19, 24, 0.14);
  --orange: #c7652b;
  --orange-dark: #8f431f;
  --green: #39584a;
  --blue: #0c2a4d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 19, 24, 0.18);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(220px, auto) 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(16, 19, 24, 0.82), rgba(16, 19, 24, 0.18));
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 38px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
  line-height: 1.05;
}

.brand-lockup strong {
  font-size: 0.98rem;
  text-transform: uppercase;
}

.brand-lockup small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
}

.nav-links a,
.header-call {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a {
  padding: 14px 0;
}

.nav-links a:hover,
.header-call:hover {
  color: var(--white);
}

.header-call {
  border: 1px solid rgba(255, 255, 255, 0.36);
  padding: 12px 16px;
  background: rgba(16, 19, 24, 0.26);
}

.hero {
  position: relative;
  min-height: min(88dvh, 900px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  padding: 110px clamp(18px, 5vw, 58px) 30px;
}

.hero-image,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  filter: saturate(0.82) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 19, 24, 0.94) 0%, rgba(16, 19, 24, 0.78) 44%, rgba(16, 19, 24, 0.18) 100%),
    linear-gradient(180deg, rgba(16, 19, 24, 0.18), rgba(16, 19, 24, 0.82));
}

.hero-grid {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #f4b27c;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow.dark,
.section-kicker {
  color: var(--orange-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.04;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 6.2vw, 5.85rem);
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 5.1rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-actions,
.report-copy .button {
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 18px;
  color: var(--ink);
  background: var(--bone);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary,
.submit-button {
  background: var(--orange);
  color: var(--white);
}

.button.primary:hover,
.submit-button:hover {
  background: var(--orange-dark);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
}

.button.dark {
  color: var(--white);
  background: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(680px, 100%);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(16, 19, 24, 0.34);
}

.hero-stats div {
  padding: 13px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  font-size: 1.14rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.hero-docket {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: 44px;
  z-index: 3;
  width: min(330px, calc(100% - 36px));
  border-left: 4px solid var(--orange);
  padding: 18px 20px;
  color: var(--white);
  background: rgba(16, 19, 24, 0.72);
  box-shadow: var(--shadow);
}

.hero-docket span,
.hero-docket strong {
  display: block;
}

.hero-docket span {
  color: #f4b27c;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-docket strong {
  margin: 5px 0 10px;
  font-size: 1.25rem;
}

.hero-docket p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  min-height: 120px;
  padding: 24px clamp(18px, 4vw, 42px);
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.proof-strip strong {
  display: block;
  max-width: 430px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.section {
  max-width: var(--content);
  margin: 0 auto;
  padding: 96px 22px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading p,
.compact p,
.report-copy p,
.contact-copy p {
  color: var(--slate);
  font-size: 1.04rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 242px;
  padding: 24px;
  background: rgba(255, 250, 240, 0.46);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card:hover {
  background: var(--bone);
}

.service-index {
  display: block;
  margin-bottom: 44px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card p {
  color: var(--slate);
  margin-bottom: 0;
}

.image-band {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 10px;
  max-width: calc(var(--content) + 120px);
  margin: 0 auto;
  padding: 0 22px 92px;
}

.feature-photo {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.feature-photo.tall {
  min-height: 520px;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
}

.feature-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  color: var(--white);
  background: rgba(16, 19, 24, 0.78);
}

.feature-photo figcaption strong,
.feature-photo figcaption span {
  display: block;
}

.feature-photo figcaption span {
  color: rgba(255, 255, 255, 0.72);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1.05fr);
  gap: 56px;
  align-items: start;
}

.split-layout > .section-heading.compact {
  display: block;
  margin-bottom: 0;
}

.compact h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.7rem);
}

.compact p {
  max-width: 440px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-list li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.process-list p {
  margin: 0;
  color: var(--slate);
}

.report-section {
  padding: 100px 22px;
  background:
    linear-gradient(135deg, rgba(57, 88, 74, 0.2), transparent 36%),
    var(--bone);
}

.report-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.9fr);
  gap: 40px;
  max-width: var(--content);
  margin: 0 auto;
  align-items: center;
}

.report-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4.7rem);
}

.report-preview {
  border: 1px solid var(--line);
  padding: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.report-top {
  padding: 18px;
  color: var(--white);
  background: var(--ink);
}

.report-top span,
.report-top strong,
.report-row span,
.report-row strong {
  display: block;
}

.report-top span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.report-top strong {
  margin-top: 8px;
  font-size: 1.45rem;
}

.report-row {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 18px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.report-row span {
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.report-row strong {
  font-weight: 750;
}

.report-meter {
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.46fr 0.22fr;
  gap: 8px;
  margin-top: 18px;
}

.report-meter span {
  height: 10px;
  background: var(--orange);
}

.report-meter span:nth-child(2) {
  background: var(--green);
}

.report-meter span:nth-child(3) {
  background: var(--blue);
}

.report-meter span:nth-child(4) {
  background: var(--steel);
}

.gallery-section {
  padding-bottom: 76px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--steel);
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(5) {
  grid-column: span 2;
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(4) {
  grid-column: span 1;
}

.local-search-section {
  padding-top: 26px;
  padding-bottom: 66px;
}

.local-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.92fr);
  gap: 34px;
  padding: 34px;
  background: var(--bone);
  border: 1px solid var(--line);
}

.local-search-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.7vw, 4.05rem);
}

.local-search-copy p {
  color: var(--slate);
}

.local-search-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.local-search-copy li {
  border-left: 3px solid var(--orange);
  padding: 8px 12px;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.56);
  font-weight: 760;
}

.faq-section {
  padding-top: 30px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.faq-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--paper);
}

.faq-grid p {
  color: var(--slate);
}

.contact-section {
  padding: 80px 22px 100px;
  background: var(--ink);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.9fr);
  gap: 38px;
  max-width: var(--content);
  margin: 0 auto;
  color: var(--white);
}

.contact-copy h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 4.6rem);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-routes {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-routes a,
.contact-routes span {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.contact-routes a:hover {
  color: var(--white);
}

.inspection-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-self: start;
  padding: 22px;
  color: var(--ink);
  background: var(--bone);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.full {
  grid-column: 1 / -1;
}

label {
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(16, 19, 24, 0.24);
  border-radius: 0;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(199, 101, 43, 0.22);
}

.form-message {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--orange-dark);
  font-weight: 750;
}

.submit-button {
  grid-column: 1 / -1;
  width: 100%;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 58px);
  color: rgba(255, 255, 255, 0.72);
  background: #080a0d;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  font-size: 0.88rem;
  text-align: right;
}

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

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-docket {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 24px;
  }

  .hero {
    align-items: center;
  }

  .proof-strip,
  .section-heading,
  .split-layout,
  .report-shell,
  .contact-panel,
  .local-search-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand-mark {
    width: 48px;
    height: 32px;
  }

  .brand-lockup strong {
    font-size: 0.82rem;
  }

  .brand-lockup small {
    font-size: 0.68rem;
  }

  .header-call {
    padding: 10px 11px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: auto;
    padding: 96px 18px 28px;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 19, 24, 0.94), rgba(16, 19, 24, 0.64)),
      linear-gradient(180deg, rgba(16, 19, 24, 0.22), rgba(16, 19, 24, 0.9));
  }

  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-copy {
    margin-bottom: 20px;
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
    margin-bottom: 18px;
  }

  .button {
    width: 100%;
  }

  .proof-strip,
  .service-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats div {
    min-width: 0;
    padding: 10px 8px;
  }

  .hero-stats dt {
    font-size: 0.98rem;
  }

  .hero-stats dd {
    font-size: 0.7rem;
  }

  .hero-docket {
    display: none;
  }

  .proof-strip div {
    border-bottom-color: var(--line);
  }

  .section {
    padding: 68px 18px;
  }

  .section-heading {
    gap: 10px;
  }

  .service-card {
    min-height: 210px;
  }

  .image-band {
    padding: 0 18px 64px;
  }

  .feature-photo,
  .feature-photo.tall {
    min-height: 360px;
  }

  .process-list li {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }

  .report-section,
  .contact-section {
    padding: 66px 18px;
  }

  .report-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-grid img:nth-child(n) {
    grid-column: auto;
    height: 245px;
  }

  .local-search-section {
    padding-top: 12px;
    padding-bottom: 42px;
  }

  .local-search-panel {
    padding: 20px;
  }

  .local-search-copy ul {
    grid-template-columns: 1fr;
  }

  .inspection-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .site-footer {
    display: grid;
    padding: 28px 18px;
  }

  .site-footer p {
    text-align: left;
  }
}
