/* Flat Rate Inspections — field-record look: cool paper, ink, tag green, one hi-vis stamp. */
:root {
  --paper: #f1f3f1;
  --card: #ffffff;
  --ink: #18242a;
  --muted: #56636a;
  --rule: #cdd5d2;
  --green: #2c6a4e;
  --green-dark: #1f4e39;
  --stamp: #e8b21c;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.55 var(--body); }
img { max-width: 100%; }
a { color: var(--green); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--stamp); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
p { margin: 0; max-width: 65ch; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .88em; }
.num { font-variant-numeric: tabular-nums; }

/* header */
.top { background: var(--ink); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; }
.brand { color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; border: 3px solid var(--stamp); display: grid; place-items: center; font-size: 1rem; color: var(--stamp); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a { color: #d7e0dc; text-decoration: none; font-size: .95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--stamp); }
.phonebar { background: var(--green); color: #fff; font-size: .95rem; }
.phonebar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 7px 0; }
.phonebar a { color: #fff; font-weight: 600; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 13px 22px; font-weight: 700; text-decoration: none; font-size: 1rem; border: 2px solid var(--green); }
.btn-solid { background: var(--green); color: #fff; }
.btn-solid:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-line { color: var(--green); background: transparent; }
.btn-line:hover { background: #fff; }

/* hero */
.hero { padding: 56px 0 48px; border-bottom: 1px solid var(--rule); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero .lede { font-size: 1.2rem; color: var(--muted); margin: 18px 0 26px; }
.kicker { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--green); margin-bottom: 14px; }

/* the inspection record card */
.record { background: var(--card); border: 2px solid var(--ink); position: relative; margin-bottom: 36px; font-size: .95rem; box-shadow: 6px 6px 0 var(--ink); }
.record-head { background: var(--ink); color: #fff; padding: 10px 16px; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 8px; }
.record dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.record dt, .record dd { margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--rule); }
.record dt { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-right: 1px solid var(--rule); }
.record dd { font-weight: 600; }
.record dl > :nth-last-child(-n+2) { border-bottom: 0; }
.stamp { position: absolute; right: -14px; bottom: -48px; transform: rotate(-8deg); border: 3px solid var(--stamp); color: #8a6500; background: #fff8df; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; line-height: 1; padding: 8px 12px; letter-spacing: .06em; text-align: center; }
.stamp small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; margin-top: 4px; }

/* sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--rule); }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.tile { background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--green); padding: 22px; display: grid; gap: 10px; align-content: start; }
.tile .price { font-family: var(--mono); font-size: .85rem; color: var(--green-dark); font-weight: 700; }
.tile a.more { font-weight: 700; text-decoration: none; }
.tile a.more:hover { text-decoration: underline; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); background: var(--card); }
.fact { padding: 20px; border-right: 1px solid var(--rule); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.fact span { color: var(--muted); font-size: .95rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.list li { padding-left: 22px; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--green); }

/* rate tables */
.rates { width: 100%; border-collapse: collapse; background: var(--card); border: 2px solid var(--ink); font-variant-numeric: tabular-nums; }
.rates caption { text-align: left; font-family: var(--display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; padding: 0 0 10px; }
.rates th, .rates td { padding: 11px 16px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.rates thead th { background: var(--ink); color: #fff; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.rates td:last-child, .rates th:last-child { text-align: right; white-space: nowrap; font-family: var(--mono); font-weight: 700; }
.rates tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.note { color: var(--muted); font-size: .95rem; margin-top: 10px; }

.callout { background: var(--ink); color: #fff; padding: 30px; display: grid; gap: 14px; }
.callout p { color: #d7e0dc; }
.callout .btn-line { color: #fff; border-color: #fff; }
.callout .btn-line:hover { background: rgba(255,255,255,.08); }

.contact-card { background: var(--card); border: 2px solid var(--ink); padding: 26px; display: grid; gap: 14px; }
.contact-card .big { font-family: var(--display); font-size: 2rem; font-weight: 700; }

/* page header for inner pages */
.page-head { padding: 44px 0 34px; border-bottom: 1px solid var(--rule); }
.page-head .lede { font-size: 1.15rem; color: var(--muted); margin-top: 14px; }
.prose { display: grid; gap: 16px; }
.prose h2 { margin-top: 12px; }

footer { background: var(--ink); color: #b9c6c1; font-size: .92rem; padding: 34px 0; }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
footer a { color: #fff; }
footer strong { color: #fff; font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; display: block; margin-bottom: 6px; }

@media (max-width: 860px) {
  .hero .wrap, .two-col, .grid-2, footer .wrap { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .stamp { right: 8px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .grid-3, .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--rule); }
  .record dl { grid-template-columns: 1fr; }
  .record dt { border-right: 0; border-bottom: 0; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.about-side { display: grid; gap: 16px; }
.portrait { margin: 0; max-width: 380px; background: var(--card); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait figcaption { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: 10px 14px; border-top: 2px solid var(--ink); }
@media (min-width: 861px) { .about-side { grid-template-columns: 1fr; max-width: 520px; } }
.brand img { height: 52px; width: auto; display: block; }
.foot-logo { display: block; height: 110px; width: auto; margin-bottom: 14px; opacity: .95; }
