/* Self-hosted (farmfonts.py), latin subset, from https://fonts.googleapis.com/css2 */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/spacemono-e04b1d07.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/spacemono-0319ea60.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/worksans-f7b83de3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===========================================================================
   Septic farm - "Field Manual" skin.

   A deliberate break from the soft, rounded, drop-shadowed look every other
   site in the farm shares. The reference is not a web template: it is a county
   permit packet and a soil boring log. Engineering drawing, not marketing page.

   The rules that make it read that way, and that must not be softened:
     - radius is 0 everywhere. Nothing is rounded. Ever.
     - shadows are hard offsets in ink, never blurred. box-shadow blur = 0.
     - borders are structural and visible (2-3px), not hairline decoration.
     - numbers, measurements, statutes and captions are set in mono. Prose is
       not. That split is the whole visual idea: prose explains, mono measures.
     - display type is condensed, uppercase and tight. Body type is not.
     - the grid is allowed to be asymmetric. Things may hang into the margin.

   Palette arrives as CSS variables written by build-sites.py, so the two sites
   are the same skeleton wearing different dirt. Fallbacks below are Longview's.
   =========================================================================== */

:root {
  /* --- palette (overwritten per site by build-sites.py) --- */
  --ink: #0E1512;   /* near-black, the structural colour */
  --paper: #F5F1E8;   /* bone, not white: this is a printed document */
  --paper-2: #EAE4D6;   /* the next sheet down */
  --brand: #14402C;   /* place: pine / water */
  --accent: #C2410C;   /* action: clay / rust. CTAs and nothing else. */
  --accent-ink: #FFFFFF;   /* text on accent */
  --stop: #9F1239;

  /* --- derived --- */
  --ink-soft: #40514A;
  --ink-faint: #64756D;

  /* --- type --- */
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body:    'Barlow', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  /* --- structure --- */
  --bw:      3px;          /* the structural border weight */
  --bw-thin: 2px;
  --gut:     clamp(16px, 4vw, 28px);
  --maxw:    1180px;
  --narrow:  760px;

  /* --- spacing scale --- */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  counter-reset: fig;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.62 var(--body);
  /* Faint drafting grid. It is the page's texture, and it does the work that
     every other site in the farm hands to a background photograph. */
  background-image:
    linear-gradient(to right,  rgba(14,21,18,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,21,18,.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* ---------------------------------------------------------------- type ---- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  margin: 0 0 var(--s2);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.8rem); margin-top: var(--s5); }
h3 { font-size: clamp(1.22rem, 2.4vw, 1.5rem); margin-top: var(--s4); letter-spacing: 0; }
h4 { font-size: 1.05rem; margin-top: var(--s3); letter-spacing: .02em; }
.mt0 { margin-top: 0; }

/* Section headings carry a full-width rule, like a drawing sheet. */
h2::after {
  content: '';
  display: block;
  height: var(--bw);
  background: var(--ink);
  margin-top: var(--s1);
  width: 100%;
}

p { margin: 0 0 var(--s3); max-width: 68ch; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--accent); }
strong, b { font-weight: 600; }

/* The lede is set big and condensed: the second-loudest thing on any page. */
.lede, .lede-big {
  font-family: var(--display);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(1.32rem, 2.9vw, 1.8rem);
  line-height: 1.24;
  max-width: 36ch;
  margin-bottom: var(--s3);
}
.lede-big { max-width: 48ch; }

ul, ol { margin: 0 0 var(--s3); padding-left: 1.15em; max-width: 68ch; }
li { margin-bottom: .4em; }
li::marker { color: var(--accent); font-weight: 700; }

/* Anything numeric is mono. This is the rule that sells the whole thing. */
.num, .stat, td.n, th.n { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- layout --- */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.wrap.narrow { max-width: var(--narrow); }
.page { padding: var(--s5) 0 var(--s6); }

.sr, .skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  width: auto; height: auto; clip: auto; clip-path: none;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 18px; font-family: var(--display); text-transform: uppercase;
  font-weight: 700; border: var(--bw) solid var(--ink);
}

:focus-visible { outline: var(--bw) solid var(--accent); outline-offset: 2px; }

/* -------------------------------------------------------------- masthead -- */

.top {
  background: var(--ink);
  color: var(--paper);
  border-bottom: var(--bw) solid var(--ink);
}
.top-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s2); min-height: 66px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--paper); text-decoration: none;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.3rem; letter-spacing: -0.005em; line-height: 1;
}
.logo small {
  display: block; font-family: var(--mono); font-size: .58rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin-top: 4px;
}
.logo svg { flex: none; }

/* ------------------------------------------------------------------ nav --- */

.nav {
  background: var(--brand);
  border-bottom: var(--bw) solid var(--ink);
  position: sticky; top: 0; z-index: 50;
}
.nav ul {
  list-style: none; margin: 0; padding: 0; max-width: none;
  display: flex; flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none;
}
.nav ul::-webkit-scrollbar { display: none; }
.nav li { margin: 0; }
.nav a {
  display: block; white-space: nowrap;
  padding: 13px 16px;
  color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: .95rem; letter-spacing: .03em;
  border-right: var(--bw-thin) solid rgba(255,255,255,.16);
}
.nav a:hover { background: var(--accent); color: var(--accent-ink); }
.nav a[aria-current="page"] {
  background: var(--paper); color: var(--ink);
  box-shadow: inset 0 -5px 0 var(--accent);
}

/* ----------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-bottom: var(--bw) solid var(--ink);
  padding: clamp(52px, 10vw, 100px) 0 clamp(44px, 8vw, 84px);
  overflow: hidden;
  isolation: isolate;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em {
  font-style: normal; color: var(--accent);
  /* the one flourish: the place name is underscored like a filled-in form field */
  box-shadow: inset 0 -.13em 0 var(--accent);
}
.hero .lede { color: rgba(255,255,255,.88); max-width: 42ch; }

.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* Both layers are absolutely positioned so the video sits ON the poster.
   Left in normal flow they stack instead, and because the hero clips its
   overflow the video renders a full hero-height below the image and is never
   seen: the poster loads, the video loads, and nothing appears to happen. */
.hero-media img, .hero-media video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(.4) contrast(1.06);
}
/* The global `img, svg, video { display: block }` rule outranks the `hidden`
   attribute's UA default, so without this the not-yet-loaded video paints as a
   black rectangle over the poster. */
.hero-media video[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-media video { display: none; } }
/* Scrim tuned to exactly what the text needs and no more. An over-heavy scrim
   is what made the earlier hero look flat: it kills the footage and leaves a
   dark rectangle that might as well have been a solid fill. */
.hero.has-media::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg,
      rgba(14,21,18,.93) 0%, rgba(14,21,18,.78) 42%, rgba(14,21,18,.34) 100%);
}
/* Registration mark in the hero corner. Drafting-sheet furniture. */
.hero::before {
  content: ''; position: absolute; z-index: 3;
  top: 18px; right: 18px; width: 34px; height: 34px;
  border-top: var(--bw-thin) solid var(--accent);
  border-right: var(--bw-thin) solid var(--accent);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }

/* Hero stat strip: the mono numbers that say the page has done the work. */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: var(--s4);
  border-top: var(--bw-thin) solid rgba(255,255,255,.28);
  list-style: none; padding: 0; max-width: none;
}
.hero-stats li {
  flex: 1 1 150px; margin: 0;
  padding: var(--s2) var(--s2) var(--s2) 0;
  border-right: var(--bw-thin) solid rgba(255,255,255,.14);
}
.hero-stats li:last-child { border-right: 0; }
.hero-stats b {
  display: block; font-family: var(--mono); font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.95rem); color: var(--accent);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.hero-stats span {
  display: block; margin-top: 7px;
  font-family: var(--mono); font-size: .67rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
}

/* ---------------------------------------------------------------- trust --- */

.trust {
  background: var(--accent); color: var(--accent-ink);
  border-bottom: var(--bw) solid var(--ink);
}
.trust ul {
  list-style: none; margin: 0; padding: 12px 0; max-width: none;
  display: flex; flex-wrap: wrap; gap: 8px var(--s4);
}
.trust li {
  display: flex; align-items: center; gap: 9px; margin: 0;
  font-family: var(--mono); font-size: .71rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
}
.trust svg { flex: none; }

/* --------------------------------------------------------------- blocks --- */

/* The card. Hard offset shadow, no blur, no radius. */
.card {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: var(--s3);
  transition: transform .14s steps(2), box-shadow .14s steps(2);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .card, .card:hover { transform: none; transition: none; }
}

.grid { display: grid; gap: var(--s3); margin: var(--s3) 0 var(--s4); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }

/* Numbered step list: the drawing-sheet device, used on the process pages. */
.steps {
  list-style: none; padding: 0; margin: var(--s3) 0 var(--s4);
  max-width: none; counter-reset: step;
}
.steps > li {
  counter-increment: step;
  position: relative;
  border-top: var(--bw-thin) solid var(--ink);
  padding: var(--s3) 0 var(--s3) clamp(54px, 9vw, 90px);
  margin: 0;
}
.steps > li:last-child { border-bottom: var(--bw-thin) solid var(--ink); }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: var(--s3);
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(1.7rem, 4.5vw, 2.5rem); line-height: .85;
  color: var(--accent);
}
.steps h3 { margin: 0 0 6px; font-size: 1.13rem; }
.steps p:last-child { margin-bottom: 0; }

/* Keybox: the pulled-out note. Reads like a stamp on a permit packet. */
.keybox {
  border: var(--bw) solid var(--ink);
  border-left: 12px solid var(--accent);
  background: var(--paper-2);
  padding: var(--s3);
  margin: var(--s4) 0;
}
.keybox strong {
  display: block; font-family: var(--display); font-weight: 700;
  text-transform: uppercase; font-size: 1.26rem; line-height: 1.08;
  margin-bottom: var(--s1);
}
.keybox p:last-child { margin-bottom: 0; }

/* Hard callout for statutory facts. Mono, boxed, unmissable. */
.stat-note {
  font-family: var(--mono); font-size: .83rem; line-height: 1.55;
  border: var(--bw-thin) solid var(--ink);
  background: var(--paper);
  padding: var(--s2);
  margin: var(--s3) 0;
  max-width: 68ch;
}
.stat-note b { font-weight: 700; color: var(--accent); }
.stat-note p { margin: 0 0 8px; max-width: none; }
.stat-note p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- table --- */

.tw { overflow-x: auto; margin: var(--s3) 0 var(--s4); border: var(--bw) solid var(--ink); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; min-width: 420px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: var(--bw-thin) solid var(--ink); }
thead th {
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: .67rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
tbody tr:nth-child(even) { background: var(--paper-2); }
tbody tr:last-child td { border-bottom: 0; }
td.n, th.n { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
caption { caption-side: bottom; font-family: var(--mono); font-size: .72rem;
          color: var(--ink-faint); text-align: left; padding: 10px 14px; }

/* -------------------------------------------------------------- buttons --- */

.btn {
  display: inline-block;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1rem; letter-spacing: .04em; line-height: 1;
  padding: 15px 22px;
  background: var(--accent); color: var(--accent-ink);
  border: var(--bw) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none; cursor: pointer;
  transition: transform .12s steps(2), box-shadow .12s steps(2);
  min-height: 46px;
}
.btn:hover { color: var(--accent-ink); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn-lg { font-size: 1.14rem; padding: 18px 28px; }
.btn-ghost {
  background: transparent; color: #fff; border-color: #fff;
  box-shadow: 5px 5px 0 rgba(255,255,255,.4);
}
.btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: 2px 2px 0 rgba(255,255,255,.4); }
.btn-phone { background: var(--paper); color: var(--ink); }
.btn-phone:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transform: none; transition: none; }
}

/* --------------------------------------------------------------- crumbs --- */

.crumbs, .meta {
  font-family: var(--mono); font-size: .71rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 var(--s2); max-width: none;
}
.crumbs span { margin: 0 8px; color: var(--accent); }
.meta { text-transform: none; letter-spacing: .01em; margin-top: var(--s4); }

/* ------------------------------------------------------------------ faq --- */

details.faq { border-top: var(--bw-thin) solid var(--ink); padding: 0; }
details.faq:last-of-type { border-bottom: var(--bw-thin) solid var(--ink); }
details.faq summary {
  cursor: pointer; list-style: none;
  padding: var(--s3) 42px var(--s3) 0;
  position: relative;
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: 1.1rem; line-height: 1.14;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-weight: 700; font-size: 1.5rem; color: var(--accent);
}
details.faq[open] summary::after { content: '\2212'; }
details.faq summary:hover { color: var(--accent); }
details.faq .fa { padding: 0 0 var(--s3); }
details.faq .fa p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- related --- */

.related {
  border: var(--bw) solid var(--ink);
  background: var(--paper-2);
  padding: var(--s3);
  margin: var(--s5) 0 0;
}
.related h2 { margin: 0 0 var(--s2); font-size: 1.18rem; }
.related h2::after { display: none; }
.related ul {
  list-style: none; padding: 0; margin: 0; max-width: none;
  display: grid; gap: 2px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.related li { margin: 0; }
.related a {
  display: block; padding: 11px 14px; background: var(--paper);
  border: var(--bw-thin) solid var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: .97rem; line-height: 1.16; color: var(--ink);
}
.related a:hover { background: var(--accent); color: var(--accent-ink); }

/* ----------------------------------------------------------------- form --- */

.formcard {
  border: var(--bw) solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--paper);
  padding: var(--s4);
  margin: var(--s4) 0;
}
.formcard h2 { margin-top: 0; }
.field { margin-bottom: var(--s3); }
.field-row { display: grid; gap: var(--s2) var(--s3);
             grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
label {
  display: block; margin-bottom: 7px;
  font-family: var(--mono); font-size: .71rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
}
.hint {
  display: block; font-family: var(--body); font-size: .84rem; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--ink-soft); margin-top: 3px;
}
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink);
  padding: 12px 14px; background: #fff;
  border: var(--bw-thin) solid var(--ink); border-radius: 0;
  min-height: 46px;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}
textarea { min-height: 128px; resize: vertical; }
.field-consent {
  margin-top: var(--s3); border-top: var(--bw-thin) solid var(--ink); padding-top: var(--s3);
}
.consent-label {
  display: flex; gap: 12px; align-items: flex-start;
  font-family: var(--body); font-size: .86rem; font-weight: 400;
  letter-spacing: 0; text-transform: none; line-height: 1.5; color: var(--ink-soft);
}
.consent-label input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); }
.field-consent.has-err { border: var(--bw-thin) solid var(--stop); padding: var(--s2); }
.formnote { font-size: .82rem; color: var(--ink-faint); margin: var(--s3) 0 0; }
.hp { position: absolute; left: -9999px; }
.alert { border: var(--bw) solid var(--ink); padding: var(--s2); margin-bottom: var(--s3); }
.alert-err { background: #FEE2E2; border-left: 12px solid var(--stop); }
.alert-ok  { background: #DCFCE7; border-left: 12px solid var(--brand); }
.errlist { margin: 8px 0 0; }

/* -------------------------------------------------------------- figures --- */

figure.fig {
  counter-increment: fig;
  margin: var(--s4) 0;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  padding: var(--s3) var(--s3) 0;
  max-width: 100%;
}
figure.fig svg { width: 100%; height: auto; display: block; }

/* A 900-unit drawing squeezed into a phone's ~295px column renders at about
   a third scale, which turns a 9px label into 3px of grey mush. Two things
   fix that together: the labels are set larger to begin with, and below the
   breakpoint the drawing stops shrinking and the reader pans it instead.
   Panning a technical drawing is normal; reading one at 3px is not. */
figure.fig .figscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
figure.fig .figscroll::-webkit-scrollbar { height: 8px; }
figure.fig .figscroll::-webkit-scrollbar-thumb { background: var(--ink); }
figure.fig .fighint { display: none; }

@media (max-width: 900px) {
  figure.fig .figscroll svg { min-width: 720px; }
  figure.fig .fighint {
    display: block;
    font-family: var(--mono); font-size: .66rem; letter-spacing: .08em;
    text-transform: uppercase; color: var(--accent);
    margin: 0 0 10px;
  }
}
figure.fig figcaption {
  font-family: var(--mono); font-size: .73rem; line-height: 1.55;
  color: var(--ink-soft);
  border-top: var(--bw-thin) solid var(--ink);
  margin: var(--s3) calc(var(--s3) * -1) 0;
  padding: 12px var(--s3);
  background: var(--paper-2);
}
figure.fig figcaption b { color: var(--accent); font-weight: 700; }
figure.fig figcaption::before {
  content: 'FIG. ' counter(fig) ' 4 ';
  color: var(--accent); font-weight: 700;
}
.fig-wide { max-width: none; }
figure.fig.fig-photo { padding: 0; }
figure.fig.fig-photo figcaption { margin: 0; border-top-width: var(--bw); }

/* Drawing conventions, so every diagram reads as one family. */
.fig .f-line   { stroke: var(--ink); stroke-width: 2; fill: none; }
.fig .f-thin   { stroke: var(--ink); stroke-width: 1; fill: none; }
.fig .f-dash   { stroke: var(--ink); stroke-width: 1.5; fill: none; stroke-dasharray: 6 4; }
.fig .f-fill   { fill: var(--paper-2); stroke: var(--ink); stroke-width: 2; }
.fig .f-brand  { fill: var(--brand); }
.fig .f-accent { fill: var(--accent); stroke: none; }
.fig .f-label  { font-family: var(--mono); font-size: 13px; fill: var(--ink); }
.fig .f-small  { font-family: var(--mono); font-size: 11px; fill: var(--ink-soft); letter-spacing: .04em; }
.fig .f-title  { font-family: var(--display); font-size: 18px; font-weight: 700;
                 fill: var(--ink); text-transform: uppercase; }
/* A label that has to sit over shaded ground gets a plate behind it, so it is
   never grey-on-grey whatever the horizon shading underneath happens to be. */
.fig .f-plate  { fill: var(--paper); }

/* --------------------------------------------------------------- footer --- */

.foot {
  background: var(--ink); color: rgba(255,255,255,.78);
  border-top: var(--bw) solid var(--ink);
  padding: var(--s5) 0 var(--s3);
  font-size: .92rem;
}
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--accent); text-decoration: underline; }
.foot h3 {
  color: #fff; font-size: .73rem; font-family: var(--mono); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin: 0 0 var(--s2);
}
.foot h3::after { display: none; }
.foot-cols { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.foot ul { list-style: none; padding: 0; margin: 0; max-width: none; }
.foot li { margin-bottom: 7px; }
.foot-legal {
  border-top: var(--bw-thin) solid rgba(255,255,255,.2);
  margin-top: var(--s4); padding-top: var(--s3);
  font-size: .82rem; color: rgba(255,255,255,.58);
}
.foot-legal p { max-width: 80ch; }
.foot-network {
  border-top: var(--bw-thin) solid rgba(255,255,255,.2);
  margin-top: var(--s4); padding-top: var(--s3);
}
.foot-network ul {
  display: grid; gap: 4px 20px;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
}
.foot-network a { font-size: .86rem; color: rgba(255,255,255,.72); }

/* -------------------------------------------------------------- motion ---- */

/* Stagger-in on scroll. No library: one IntersectionObserver in footer.php
   adds .in. Elements are visible by default and .reveal is only armed once
   the observer is actually running, so a JS failure cannot hide the page. */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .38s cubic-bezier(.34,1.4,.64,1) var(--d, 0s),
              transform .42s cubic-bezier(.34,1.4,.64,1) var(--d, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.in { transition: none; }
}

/* --------------------------------------------------------------- mobile --- */

@media (max-width: 640px) {
  :root { --bw: 2px; --bw-thin: 2px; }
  body { font-size: 16px; }
  .card { box-shadow: 4px 4px 0 var(--ink); }
  .formcard { box-shadow: 5px 5px 0 var(--ink); padding: var(--s3); }
  .hero-stats li { flex: 1 1 46%; }
  .top-in { min-height: 58px; }
  .logo { font-size: 1.1rem; }
}

/* --------------------------------------------------------------- print ---- */

@media print {
  body { background: #fff; background-image: none; }
  .nav, .hero-media, .foot-network, .formcard, .btn, .skip { display: none; }
  .card, .keybox, figure.fig { box-shadow: none; break-inside: avoid; }
}

/* ===========================================================================
   2026-10 redesign layer . Shared by every septic site; the :root SKIN block is per site, loaded after
   style.css by header.php.

   Reads the ground under Rankin County: Yazoo clay is a blue-grey marine clay
   ("blue gumbo") that weathers olive, under a skin of wind-blown loess that
   turns ochre in a cut bank. So: cool clay-grey sheets, slate ink, Yazoo
   blue-grey for place, loess ochre for action. Archivo (semi-expanded for
   display) with IBM Plex Mono for every measurement. Softened from the old
   permit-packet look: hairlines instead of 3px rules, 6px radius, no hard
   offset shadows, and a much more generous section rhythm.
   =========================================================================== */
/* SKIN:BEGIN Solarized */
:root {
  --ink: #002B36; --ink-soft: #2F4A52; --ink-faint: #586E75;
  --paper: #FDF6E3; --paper-2: #EEE8D5; --sheet: #FFFBF0;
  --brand: #1F6F9F; --brand-2: #93A1A1;
  --accent: #CB4B16; --accent-hi: #F07A45; --accent-dk: #A33A0F; --accent-ink: #FFFFFF;
  --display: 'Work Sans', Arial, sans-serif;
  --body: 'Work Sans', system-ui, -apple-system, sans-serif;
  --mono: 'Space Mono', ui-monospace, Consolas, monospace;
  --r: 2px; --r2: 4px; --rb: 2px; --stretch: 100%;
}
/* SKIN:END */
:root {
  --line: color-mix(in srgb, var(--ink) 14%, transparent); --line-2: color-mix(in srgb, var(--ink) 26%, transparent);
  --scrim: color-mix(in srgb, var(--ink) 92%, #000);
  --bw: 1px; --bw-thin: 1px;
  --maxw: 1200px; --narrow: 720px;
  --ease: cubic-bezier(.22,1,.36,1);
}
body { background: var(--paper); background-image: none; color: var(--ink-soft);
       font: 400 17.5px/1.68 var(--body); }
h1, h2, h3, h4 { font-family: var(--display); text-transform: none; color: var(--ink);
                 font-stretch: var(--stretch); letter-spacing: -0.022em; line-height: 1.06; }
h1 { font-weight: 800; font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-weight: 750; font-size: clamp(1.75rem, 3.3vw, 2.55rem);
     margin-top: clamp(64px, 9vw, 112px); padding-top: 22px;
     border-top: 1px solid var(--line-2); position: relative; }
h2::after { display: none; }
h2::before { content: ''; position: absolute; top: -2px; left: 0; width: 56px; height: 3px; background: var(--accent); }
h2.mt0 { margin-top: 0; }
h3 { font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -0.012em; font-stretch: var(--stretch); }
h4 { font-weight: 700; font-stretch: 100%; letter-spacing: 0; }
p, ul, ol { max-width: 66ch; }
strong, b { color: var(--ink); }
a { color: var(--brand); text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
.lede, .lede-big { font-family: var(--body); font-weight: 450; color: var(--ink);
  font-size: clamp(1.2rem, 2.1vw, 1.45rem); line-height: 1.45; letter-spacing: -0.008em; max-width: 46ch; }
.lede-big { max-width: 52ch; }
.page { padding: clamp(40px, 6vw, 72px) 0 clamp(80px, 10vw, 128px); }

/* ---- masthead + nav: one quiet dark bar, then a light sticky index ---- */
.top { background: var(--ink); border-bottom: 0; }
.logo { font-family: var(--display); font-stretch: var(--stretch); text-transform: none; font-weight: 750;
        font-size: 1.15rem; letter-spacing: -0.01em; }
.logo small { font-family: var(--mono); color: var(--accent-hi); letter-spacing: .12em; }
.nav { background: color-mix(in srgb, var(--paper) 93%, transparent); border-bottom: 1px solid var(--line);
       -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.nav a { color: var(--ink-soft); font-family: var(--mono); font-weight: 500; text-transform: uppercase;
         font-size: .72rem; letter-spacing: .08em; padding: 16px 14px; border-right: 0; position: relative; }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 2px;
                background: var(--accent); transform: scaleX(0); transform-origin: left;
                transition: transform .35s var(--ease); }
.nav a:hover { background: transparent; color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { background: transparent; color: var(--ink); box-shadow: none; }

/* ---- hero: the video stays; the scrim is tinted slate, not black ---- */
.hero { border-bottom: 0; background: var(--ink); padding: clamp(72px, 12vw, 148px) 0 clamp(40px, 6vw, 72px); }
.hero::before { display: none; }
.hero.has-media::after { background:
   linear-gradient(90deg, color-mix(in srgb, var(--scrim) 95%, transparent) 0%, color-mix(in srgb, var(--scrim) 82%, transparent) 38%, color-mix(in srgb, var(--scrim) 34%, transparent) 78%, color-mix(in srgb, var(--scrim) 20%, transparent) 100%),
   linear-gradient(0deg, color-mix(in srgb, var(--scrim) 80%, transparent) 0%, transparent 42%); }
.hero-media img, .hero-media video { filter: saturate(.6) contrast(1.04); }
.hero h1 { max-width: 13ch; font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: .98; color: #fff; }
.hero h1 em { color: var(--accent-hi); box-shadow: none; font-style: normal; }
.hero .lede { color: rgba(255,255,255,.84); max-width: 44ch; margin-top: 22px; }
.hero-actions { margin-top: 32px; gap: 12px; }
.hero-stats { margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid rgba(255,255,255,.2); }
.hero-stats li { border-right: 1px solid rgba(255,255,255,.12); padding: 20px 20px 4px 0; }
.hero-stats li + li { padding-left: 20px; }
.hero-stats b { color: #fff; font-family: var(--mono); font-weight: 500;
                font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: -0.02em; }
.hero-stats span { color: rgba(255,255,255,.62); font-size: .68rem; }

.trust { background: var(--sheet); color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.trust ul { padding: 16px 0; }
.trust li { font-weight: 500; font-size: .7rem; }
.trust svg { color: var(--accent); }

/* ---- surfaces ---- */
.card { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r);
        box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 4%, transparent); padding: 28px;
        transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--ink) 35%, transparent); border-color: var(--line-2); }
.card h3 { font-size: 1.2rem; }
.grid { gap: 16px; }
.keybox { border: 0; border-radius: var(--r); background: var(--ink); color: rgba(255,255,255,.82);
          padding: 30px 32px; position: relative; overflow: hidden; }
.keybox::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent-hi); }
.keybox strong { color: #fff; font-family: var(--display); font-stretch: var(--stretch); text-transform: none;
                 font-size: 1.3rem; letter-spacing: -0.01em; }
.keybox b { color: #fff; }
.keybox a { color: var(--accent-hi); }
.stat-note { border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); }
.steps > li { border-top: 1px solid var(--line-2); padding-left: clamp(60px, 9vw, 96px); }
.steps > li:last-child { border-bottom: 1px solid var(--line-2); }
.steps > li::before { font-weight: 500; color: var(--accent); font-size: clamp(1.6rem, 4vw, 2.3rem); }
.steps h3 { font-size: 1.15rem; text-transform: none; }

/* ---- buttons ---- */
.btn { font-family: var(--body); text-transform: none; font-weight: 650; letter-spacing: -0.005em;
       font-size: 1rem; border: 1px solid transparent; border-radius: var(--rb); box-shadow: none; padding: 15px 22px;
       transition: background .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--accent) 70%, transparent); background: var(--accent-dk); color: #fff; }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-lg { padding: 18px 28px; font-size: 1.06rem; }
.btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.42); box-shadow: none; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: none; }
.btn-phone, .btn-phone:hover { background: #fff; color: var(--ink); }

/* ---- tables: clean rules, mono numbers, stacked cards on phones ---- */
.tw { border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); }
table { font-size: .95rem; }
th, td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--paper-2); color: var(--ink); font-weight: 600; font-size: .68rem; }
tbody tr:nth-child(even) { background: transparent; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: color-mix(in srgb, var(--brand) 6%, transparent); }
caption { color: var(--ink-faint); padding: 12px 18px; }
.rv-arm tr { opacity: 0; transform: translateY(8px); }
.rv-arm.is-in tr { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease);
                   transition-delay: calc(var(--i, 0) * 70ms); }
@media (max-width: 600px) {
  .tw { overflow: visible; border: 0; background: transparent; }
  table.is-stack { min-width: 0; }
  table.is-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.is-stack tr { display: block; background: var(--sheet) !important; border: 1px solid var(--line);
                      border-radius: var(--r); margin-bottom: 10px; padding: 6px 0; }
  table.is-stack td { display: block; border: 0; padding: 8px 16px; white-space: normal; }
  table.is-stack td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: .64rem;
    letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 2px; }
  table.is-stack caption { padding: 4px 0 0; }
}

/* ---- forms, faq, related ---- */
.formcard { border: 1px solid var(--line); border-radius: var(--r2); box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--ink) 45%, transparent); background: var(--sheet); }
input[type=text], input[type=tel], input[type=email], select, textarea { border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; }
label { font-weight: 600; color: var(--ink); }
details.faq { border-top: 1px solid var(--line-2); }
details.faq:last-of-type { border-bottom: 1px solid var(--line-2); }
details.faq summary { font-family: var(--display); text-transform: none; font-stretch: var(--stretch); font-weight: 650;
                      font-size: 1.12rem; color: var(--ink); }
.related { border: 1px solid var(--line); border-radius: var(--r2); background: var(--sheet); padding: 28px; }
.related h2 { border-top: 0; padding-top: 0; font-size: 1.3rem; margin-top: 0; }
.related h2::before { display: none; }
.related ul { gap: 8px; }
.related a { border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-transform: none;
             font-family: var(--body); font-weight: 600; padding: 13px 16px;
             transition: border-color .25s, color .25s, transform .3s var(--ease); }
.related a:hover { background: #fff; color: var(--accent); border-color: var(--accent); transform: translateX(3px); }
.crumbs, .meta { font-size: .68rem; }

/* ---- figures: drawing sheets, legible at every width ---- */
figure.fig { border: 1px solid var(--line); border-radius: var(--r2); background: var(--sheet);
             padding: 28px 28px 0; overflow: hidden; margin: 48px 0; }
figure.fig figcaption { font-family: var(--body); font-size: .9rem; line-height: 1.55; color: var(--ink-soft);
   border-top: 1px solid var(--line); background: transparent; margin: 24px -28px 0; padding: 16px 28px 20px; }
/* The old rule was meant to print an em dash and shipped as a broken glyph. */
figure.fig figcaption::before { content: 'Fig. ' counter(fig) '  /  '; font-family: var(--mono); font-size: .76rem;
   letter-spacing: .04em; color: var(--accent); font-weight: 600; }
figure.fig.fig-photo { padding: 0; }
figure.fig.fig-photo figcaption { margin: 0; }
.fig .f-title { font-family: var(--display); font-stretch: var(--stretch); text-transform: none; font-weight: 750;
                font-size: 19px; letter-spacing: -0.01em; }
.fig .f-label { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.fig .f-small { font-family: var(--mono); font-size: 11.5px; fill: var(--ink); opacity: .8; letter-spacing: .03em; }
.fig .f-plate { fill: var(--sheet); opacity: .92; }
figure.fig .fighint { font-family: var(--mono); color: var(--accent); }
figure.fig .figscroll::-webkit-scrollbar-thumb { background: var(--brand-2); border-radius: 4px; }
/* draw-on: line work traces itself, then the labels arrive */
.draw-arm .f-line, .draw-arm .f-thin { stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.draw-arm text { opacity: 0; }
.draw-arm.is-in .f-line, .draw-arm.is-in .f-thin { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); }
.draw-arm.is-in text { opacity: 1; transition: opacity .6s ease .8s; }
.rise-arm { opacity: 0; transform: translateY(18px); }
.rise-arm.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
/* The Remotion clip sits above the drawing it animates, never instead of it. */
figure.fig.fig-clip { padding: 0; background: var(--ink); border-color: var(--ink); }
figure.fig.fig-clip video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
figure.fig.fig-clip figcaption { color: rgba(255,255,255,.78); border-top-color: rgba(255,255,255,.12); margin: 0; }

.foot { background: var(--ink); border-top: 0; }
.foot h3 { color: var(--accent-hi); }

@media (max-width: 900px) {
  figure.fig { padding: 20px 20px 0; }
  figure.fig figcaption { margin: 20px -20px 0; padding: 14px 20px 18px; }
  figure.fig.fig-photo figcaption, figure.fig.fig-clip figcaption { margin: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .card { padding: 22px; box-shadow: none; }
  .formcard { box-shadow: none; }
  .hero-stats li { padding-left: 0 !important; padding-right: 12px; border-right: 0; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .keybox { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .btn, .related a, .nav a::after { transition: none !important; }
  .card:hover, .btn:hover { transform: none; }
}
@media (max-width: 480px) {
  .top-cta .btn { padding: 11px 14px; font-size: .9rem; white-space: nowrap; }
  .logo { font-size: 1rem; }
}

/* Local, sourced block on service pages (part_local_service, 2026-10-23) */
.local-svc .office { background: var(--sheet, transparent); border-left: 3px solid var(--accent); padding: 10px 14px; }
.local-svc .srcs, .srcs { font-size: .86rem; color: var(--ink-faint); }
.local-svc .srcs a, .srcs a { color: inherit; }
