/* ---- Reset + base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #ECE3D2;
  color: #1F1812;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
hr { border: none; border-top: 1px solid #8C7A60; margin: 0; opacity: 0.6; }

/* ---- Subtle film grain ---- */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
}

/* ---- Layout primitives ---- */
.wrap {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}
.rail {
  /* Ragged-left content rail used for body copy */
  width: min(720px, calc(100% - 64px));
  margin-left: max(14vw, 32px);
}
@media (max-width: 900px) {
  .rail { margin-left: max(6vw, 20px); }
}

/* ---- Mono labels (kickers, dispatch) ---- */
.kicker, .dispatch-stamp, .nav-link, .crumbs, .field-num-label, .pill {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #6B5C4A;
}
.kicker em {
  font-style: normal;
  color: #B8722C;
  font-weight: 700;
}

/* ---- Decorative rule with mono label ---- */
.rule-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 88px 0 36px;
}
.rule-row::before, .rule-row::after {
  content: "";
  flex: 1;
  border-top: 1px solid #8C7A60;
  opacity: 0.6;
}
.rule-row .kicker { flex: 0 0 auto; }

/* ---- Masthead ---- */
.dispatch-bar {
  background: #2A1F15;
  color: #ECE3D2;
  padding: 9px 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.dispatch-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.dispatch-bar .open-line { opacity: 0.78; }
.dispatch-bar .open-line .dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6FCF97;
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(111,207,151,0.6);
  animation: pulse 2.4s infinite;
  vertical-align: middle;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111,207,151,0.55); }
  70% { box-shadow: 0 0 0 7px rgba(111,207,151,0); }
  100% { box-shadow: 0 0 0 0 rgba(111,207,151,0); }
}
.dispatch-bar .phone-line a {
  color: #ECE3D2;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.dispatch-bar .phone-line a:hover {
  color: #fff;
  text-decoration: underline;
}

.masthead {
  background: #ECE3D2;
  border-bottom: 1px solid #8C7A60;
}
.masthead .wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px 0 22px;
  gap: 32px;
  flex-wrap: wrap;
}
.masthead .brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1;
  color: #1F1812;
  letter-spacing: -0.01em;
  border-bottom: 2px solid #B8722C;
  padding-bottom: 6px;
  margin-right: auto;
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
.masthead .brand small {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B5C4A;
  margin-top: 8px;
  font-weight: 500;
  border-bottom: none;
  padding-bottom: 0;
}
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a.nav-link {
  position: relative;
  padding: 6px 0;
  color: #1F1812;
  transition: color 180ms ease;
}
.nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: #B8722C;
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms ease;
}
.nav a.nav-link:hover::after,
.nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav a.nav-link[aria-current="page"] { color: #B8722C; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; }
.hero.full {
  height: clamp(540px, 74vh, 760px);
}
.hero.med {
  height: clamp(360px, 52vh, 520px);
}
.hero .photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  opacity: 0;
  animation: heroSettle 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) 60ms forwards;
}
.hero .photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(14,31,44,0.18) 0%,
    rgba(14,31,44,0.05) 36%,
    rgba(14,31,44,0.55) 78%,
    rgba(14,31,44,0.85) 100%);
}
@keyframes heroSettle {
  to { transform: scale(1.0); opacity: 1; }
}
.hero .copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ECE3D2;
  padding: 48px 0;
}
.hero .copy .wrap { width: min(1240px, calc(100% - 64px)); }
.hero .kicker {
  color: rgba(255,255,255,0.72);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 700ms ease 220ms forwards;
}
.hero .kicker em { color: #FFD7A1; }
.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 6.2vw, 5.4rem);
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 22ch;
  color: #ECE3D2;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 800ms cubic-bezier(0.2,0.8,0.2,1) 320ms forwards;
}
.hero .deck {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 50ch;
  color: rgba(255,255,255,0.86);
  margin: 0 0 28px;
  opacity: 0;
  animation: fadeUp 800ms ease 480ms forwards;
}
.hero .cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #B8722C;
  color: #fff;
  padding: 16px 26px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid #875219;
  transition: transform 200ms ease, background 200ms ease;
  opacity: 0;
  animation: fadeUp 800ms ease 640ms forwards;
}
.hero .cta:hover {
  background: #875219;
  transform: translateY(-2px);
}
.hero .cta .arrow { transition: transform 200ms ease; }
.hero .cta:hover .arrow { transform: translateX(4px); }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Body / prose ---- */
.body-wrap { padding: 96px 0 64px; }
.body-wrap .lede {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.45;
  color: #1F1812;
  margin: 0 0 36px;
  max-width: 36ch;
  font-variation-settings: "opsz" 60, "SOFT" 30;
}
.prose { max-width: 65ch; }
.prose p, .prose li {
  font-size: 1.08rem;
  line-height: 1.72;
  color: #1F1812;
  margin: 0 0 1.1em;
}
.prose p:first-of-type::first-letter {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 5.5em;
  line-height: 0.85;
  float: left;
  padding: 0.06em 0.12em 0 0;
  color: #1F1812;
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
.prose h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.18;
  margin: 2.4em 0 0.6em;
  color: #1F1812;
  font-variation-settings: "opsz" 90, "SOFT" 0;
}
.prose h4 {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B8722C;
  font-weight: 700;
  margin: 2em 0 0.6em;
}
.prose strong { color: #1F1812; }
.prose ul { padding-left: 1.2em; }
.prose ul li::marker { color: #B8722C; }
.prose hr { margin: 2.4em 0; }
.prose a {
  color: #B8722C;
  border-bottom: 1px solid #B8722C;
  padding-bottom: 1px;
}
.prose a:hover { color: #875219; border-bottom-color: #875219; }

/* ---- Field Reports grid (homepage services) ---- */
.field-reports { padding: 56px 0 96px; }
.field-reports .entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 64px 0;
  border-bottom: 1px solid #8C7A60;
  align-items: center;
}
.field-reports .entry:last-child { border-bottom: 0; }
.field-reports .entry.flip { direction: rtl; }
.field-reports .entry.flip > * { direction: ltr; }
.field-reports .num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(80px, 11vw, 170px);
  line-height: 0.85;
  color: #6B5C4A;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  margin-bottom: 18px;
  display: block;
}
.field-reports .copy h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  margin: 12px 0 14px;
  color: #1F1812;
  font-variation-settings: "opsz" 90, "SOFT" 0;
}
.field-reports .copy p {
  font-size: 1.04rem;
  line-height: 1.65;
  color: #6B5C4A;
  max-width: 42ch;
  margin: 0 0 22px;
}
.field-reports .read-more {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #B8722C;
  border-bottom: 1px solid #B8722C;
  padding-bottom: 2px;
}
.field-reports .read-more:hover { color: #875219; border-bottom-color: #875219; }
.field-reports .photo {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border: 1px solid #8C7A60;
  outline: 6px solid #DDD2BE;
  outline-offset: 0;
  transition: transform 600ms ease;
}
.field-reports .entry:hover .photo { transform: scale(1.015); }

@media (max-width: 760px) {
  .field-reports .entry { grid-template-columns: 1fr; gap: 24px; }
  .field-reports .entry.flip { direction: ltr; }
}

/* ---- Coverage cards (areas) ---- */
.coverage {
  padding: 56px 0 96px;
}
.coverage .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.coverage .card {
  border: 1px solid #8C7A60;
  background: #ECE3D2;
  padding: 28px 26px 30px;
  transition: transform 220ms ease, background 220ms ease;
}
.coverage .card:hover {
  background: #DDD2BE;
  transform: translateY(-3px);
}
.coverage .card .num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  color: #B8722C;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}
.coverage .card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0 0 10px;
  color: #1F1812;
  font-variation-settings: "opsz" 90, "SOFT" 0;
}
.coverage .card p {
  font-size: 0.98rem;
  color: #6B5C4A;
  margin: 0 0 18px;
}
.coverage .card .arrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B8722C;
}
@media (max-width: 760px) {
  .coverage .grid { grid-template-columns: 1fr; }
}

/* ---- Other reports strip (service & area pages) ---- */
.other-reports {
  background: #DDD2BE;
  border-top: 1px solid #8C7A60;
  border-bottom: 1px solid #8C7A60;
  padding: 64px 0;
}
.other-reports .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.other-reports a {
  display: block;
  padding: 22px 22px 24px;
  background: #ECE3D2;
  border: 1px solid #8C7A60;
  transition: transform 200ms ease, border-color 200ms ease;
}
.other-reports a:hover {
  transform: translateY(-2px);
  border-color: #B8722C;
}
.other-reports a .num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #B8722C;
  text-transform: uppercase;
  font-weight: 700;
}
.other-reports a h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.18;
  margin: 8px 0 0;
  color: #1F1812;
  font-variation-settings: "opsz" 60, "SOFT" 0;
}
@media (max-width: 760px) { .other-reports .grid { grid-template-columns: 1fr; } }

/* ---- Contact prompt strip ---- */
.dispatch-prompt {
  padding: 80px 0;
  text-align: left;
}
.dispatch-prompt h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  margin: 12px 0 18px;
  max-width: 22ch;
  font-variation-settings: "opsz" 90, "SOFT" 30;
}
.dispatch-prompt p { max-width: 50ch; color: #6B5C4A; margin: 0 0 24px; }
.dispatch-prompt .cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #B8722C;
  color: #fff;
  padding: 16px 28px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid #875219;
  transition: transform 200ms ease, background 200ms ease;
}
.dispatch-prompt .cta:hover {
  background: #875219;
  transform: translateY(-2px);
}

/* ---- Footer ---- */
.colophon {
  background: #2A1F15;
  color: #ECE3D2;
  padding: 64px 0 32px;
  border-top: 4px solid #B8722C;
}
.colophon .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.colophon h5 {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(242,235,221,0.5);
  margin: 0 0 16px;
}
.colophon .ident .name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.1;
  color: #ECE3D2;
  font-variation-settings: "opsz" 90, "SOFT" 0;
  margin: 0 0 10px;
  border-bottom: 2px solid #B8722C;
  display: inline-block;
  padding-bottom: 4px;
}
.colophon .ident p { color: rgba(242,235,221,0.74); margin: 14px 0 0; max-width: 36ch; font-size: 0.95rem; }
.colophon .areas a, .colophon .services a {
  display: block;
  padding: 6px 0;
  color: rgba(242,235,221,0.86);
  border-bottom: 1px solid rgba(156,142,120,0.18);
  font-size: 0.96rem;
  transition: color 200ms ease, padding-left 200ms ease;
}
.colophon .areas a:hover, .colophon .services a:hover {
  color: #ECE3D2;
  padding-left: 6px;
}
.colophon .colophon-foot {
  padding-top: 20px;
  border-top: 1px solid rgba(156,142,120,0.22);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242,235,221,0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 760px) { .colophon .wrap { grid-template-columns: 1fr; } }

/* ---- Generic page hero (about/faq/contact) — no photo ---- */
.memo-hero {
  padding: 96px 0 56px;
  border-bottom: 1px solid #8C7A60;
}
.memo-hero .kicker { margin-bottom: 18px; display: block; }
.memo-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  margin: 0;
  max-width: 22ch;
  color: #1F1812;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

/* ---- Contact form ---- */
.contact-form {
  margin: 36px 0 0;
  max-width: 56ch;
  display: grid;
  gap: 16px;
}
.contact-form label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B5C4A;
  font-weight: 500;
}
.contact-form input, .contact-form textarea {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #8C7A60;
  padding: 10px 0 8px;
  font-size: 1rem;
  color: #1F1812;
  width: 100%;
  transition: border-color 200ms ease;
}
.contact-form textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: 0; border-color: #B8722C;
}
.contact-form .submit {
  justify-self: start;
  background: #B8722C;
  color: #fff;
  padding: 14px 26px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid #875219;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.contact-form .submit:hover { background: #875219; transform: translateY(-2px); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 64px 0 96px;
}
.contact-grid .info p { color: #6B5C4A; margin: 0 0 1em; }
.contact-grid .info .big-phone {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #B8722C;
  display: block;
  margin: 12px 0 18px;
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
.contact-grid .info dl { margin: 0; }
.contact-grid .info dt {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B5C4A;
  margin-top: 18px;
}
.contact-grid .info dd { margin: 4px 0 0; font-size: 1.04rem; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- Print fallback ---- */
@media print {
  body::before, .dispatch-bar, .nav, .cta, .other-reports { display: none; }
}
