/* kevinjordanland.com - one stylesheet, no build step.
   Voice of the design: a land record. Paper, ink, conifer and gold; a
   surveyor's plat for the hero, a title block for the figures, and ledger
   tables for the sales. Bitter (slab serif) carries headings and every large
   numeral, Source Sans 3 carries the reading text. */

:root {
  --paper:        #F7F5EE;
  --paper-deep:   #EDEADF;
  --paper-bright: #FFFDF7;
  --ink:          #1F231C;
  --ink-soft:     #3B3F36;
  --conifer:      #2E5133;
  --conifer-deep: #1E3823;
  --soil:         #8A6414;
  --gold:         #C9A24A;
  --line:         #D5D1C3;
  --line-strong:  #B4B0A1;
  --muted:        #5B6057;
  --disp: "Bitter", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --wrap: 1080px;
  --gut: clamp(18px, 4vw, 40px);
  --measure: 46em;
  /* The one-mile section grid, kept for the hero alone. */
  --section-lines:
    repeating-linear-gradient(0deg,  rgba(31, 35, 28, 0.06) 0, rgba(31, 35, 28, 0.06) 1px, transparent 1px, transparent 88px),
    repeating-linear-gradient(90deg, rgba(31, 35, 28, 0.06) 0, rgba(31, 35, 28, 0.06) 1px, transparent 1px, transparent 88px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

h1, h2, h3 { font-family: var(--disp); font-weight: 600; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.1; letter-spacing: -0.012em; max-width: 18em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.2; letter-spacing: -0.005em; }
h3 { font-size: 1.2rem; line-height: 1.3; }

p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; }

a { color: var(--conifer); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--conifer-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 0; color: var(--paper); }

/* The kicker above a heading: a short survey tick and the section's place
   in the site, set in sentence case. */
.eyebrow {
  font-weight: 600; font-size: 0.95rem; line-height: 1.3;
  color: var(--soil); margin: 0 0 0.8rem;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 1.4rem; height: 2px;
  background: var(--gold); vertical-align: 0.3em; margin-right: 0.6rem;
}

.lede { font-size: 1.2rem; line-height: 1.5; color: var(--ink-soft); max-width: 36em; }
.small-print { font-size: 0.9rem; color: var(--muted); }

/* ---------- buttons: one system ---------- */

.btn, .btn-quiet, .head-phone, .form-grid button {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 0.72rem 1.35rem 0.78rem; min-height: 2.9rem;
  border: 2px solid var(--conifer); border-radius: 2px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn, .form-grid button { background: var(--conifer); color: var(--paper-bright); }
.btn:hover, .form-grid button:hover { background: var(--conifer-deep); border-color: var(--conifer-deep); color: var(--paper-bright); }
.btn-quiet { background: transparent; color: var(--conifer); }
.btn-quiet:hover { background: rgba(46, 81, 51, 0.09); color: var(--conifer-deep); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 0.9rem; margin-top: 1.5rem; }

/* ---------- header ---------- */

.site-head { border-bottom: 1px solid var(--line); background: var(--paper-bright); }
.head-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.7rem 2rem;
  padding-top: 0.85rem; padding-bottom: 0.75rem;
}
.lockup {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--ink);
}
.lockup-plat { width: 2.5rem; height: 2.5rem; flex: none; display: block; }
.lockup-text { display: block; line-height: 1.25; }
/* Equal type size for both lockup lines is a legal requirement, not a style
   choice: MI/OH/IL/AR require the firm name at equal-or-greater size than
   the "Kevin Jordan Land" wordmark (docs/ad-rules-2026-08-17.md). */
.lockup-mark, .lockup-firm { display: block; font-size: 1rem; }
.lockup-mark { font-family: var(--disp); font-weight: 700; letter-spacing: 0.005em; }
.lockup-mark em { font-style: normal; color: var(--conifer); }
.lockup-firm { color: var(--muted); }
/* A two-row masthead: the lockup on its own line, the nav beneath it with
   the phone number pinned to the right edge. */
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 1.15rem; width: 100%; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-size: 0.97rem; font-weight: 600;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--line-strong); color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.site-nav .head-phone {
  font-size: 0.92rem; min-height: 2.4rem; padding: 0.45rem 1rem 0.5rem;
  background: var(--conifer); color: var(--paper-bright); border-bottom-width: 2px; margin-left: auto;
}
.site-nav .head-phone:hover { background: var(--conifer-deep); border-color: var(--conifer-deep); }

/* ---------- bands ---------- */

.band { padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.band--tight { padding-top: 2rem; padding-bottom: 2rem; }
/* Sections alternate paper tones instead of stacking hairlines. */
main > .band:nth-of-type(even) { background: var(--paper-deep); }
.band .eyebrow + h1, .band .eyebrow + h2 { margin-top: 0; }

/* ---------- hero: the plat ---------- */

.hero-land {
  background-color: var(--paper);
  background-image: var(--section-lines);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(2rem, 5vw, 3.6rem);
}
.hero-land .wrap {
  display: grid; grid-template-columns: minmax(0, 33em) minmax(280px, 1fr);
  gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-land h1 { font-size: clamp(2.1rem, 4.8vw, 3.2rem); max-width: 13em; }
.hero-land .lede { max-width: 31em; }
.hero-proof {
  font-family: var(--disp); font-weight: 600; font-size: 0.95rem;
  color: var(--ink-soft); margin: 1.6rem 0 0;
}
.hero-plat { display: block; width: 100%; height: auto; max-height: 520px; color: var(--ink); }
.plat-fill-a { fill: var(--conifer); opacity: 0.08; }
.plat-fill-b { fill: var(--conifer); opacity: 0.14; }
.plat-fill-c { fill: var(--gold); opacity: 0.2; }
.plat-section { stroke: currentColor; stroke-width: 1; opacity: 0.16; fill: none; }
.plat-bound { stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linejoin: round; }
.plat-tract { stroke: currentColor; stroke-width: 1.4; fill: none; stroke-dasharray: 9 6; opacity: 0.85; }
.plat-creek { stroke: var(--conifer); stroke-width: 1.6; fill: none; opacity: 0.7; }
.plat-road { stroke: currentColor; stroke-width: 1.4; fill: none; opacity: 0.55; }
.plat-road-center { stroke: currentColor; stroke-width: 1; fill: none; stroke-dasharray: 12 8; opacity: 0.4; }
.plat-pin { fill: var(--paper-bright); stroke: currentColor; stroke-width: 1.6; }
.plat-text { font-family: var(--disp); font-weight: 600; font-size: 21px; fill: var(--ink); }
.plat-text-small { font-family: var(--body); font-weight: 400; font-size: 16px; fill: var(--muted); }
.plat-text-soil { font-family: var(--body); font-weight: 600; font-size: 17px; fill: var(--soil); }
@media (max-width: 860px) {
  .hero-land .wrap { grid-template-columns: 1fr; }
  .hero-plat { max-height: 300px; margin-top: 0.5rem; }
}

/* ---------- situations: a ledger of reasons people call ---------- */

.sits { border-top: 1px solid var(--line-strong); }
.sit {
  display: grid; grid-template-columns: minmax(0, 15em) 1fr;
  grid-template-rows: auto auto; column-gap: 2.5rem;
  padding: 1.25rem 1.2rem 1.25rem 1.4rem;
  border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--sit-color, var(--conifer));
  text-decoration: none; color: var(--ink);
  transition: background-color 120ms ease;
}
.sit:hover { background: rgba(46, 81, 51, 0.06); color: var(--ink); }
.sit h3 { grid-column: 1; grid-row: 1 / span 2; margin: 0; font-size: 1.25rem; }
.sit:hover h3 { color: var(--conifer); }
.sit p { grid-column: 2; grid-row: 1; margin: 0; color: var(--ink-soft); font-size: 1rem; }
.sit .door-go, .door .door-go {
  color: var(--conifer); font-weight: 600; font-size: 0.95rem;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em;
}
.sit .door-go { grid-column: 2; grid-row: 2; margin-top: 0.55rem; }
@media (max-width: 640px) {
  .sit { grid-template-columns: 1fr; padding: 1.1rem 0.9rem 1.1rem 1.1rem; }
  .sit h3 { grid-column: 1; grid-row: 1; margin-bottom: 0.4rem; }
  .sit p { grid-column: 1; grid-row: 2; }
  .sit .door-go { grid-column: 1; grid-row: 3; }
}

/* ---------- what I do: floated portrait, hand list ---------- */

.what-i-do { max-width: 47em; }
.what-i-do::after { content: ""; display: block; clear: both; }
.portrait--float {
  float: right; width: clamp(150px, 17vw, 210px);
  margin: 0.35rem 0 1.1rem 2rem;
}
.what-i-do .hand-list { max-width: none; }
@media (max-width: 640px) {
  .portrait--float { float: none; width: clamp(180px, 45vw, 220px); margin: 0 0 1.4rem; }
}

.hand-list { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.hand-list li {
  padding: 0.6rem 0 0.6rem 2.1rem; position: relative;
  border-bottom: 1px solid var(--line);
}
.hand-list li:last-child { border-bottom: 0; }
.hand-list li::before {
  content: ""; position: absolute; left: 0.15rem; top: 1.1rem;
  width: 0.85rem; height: 0.42rem;
  border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}
.hand-list strong { font-family: var(--disp); font-weight: 600; }

/* ---------- FAQ ---------- */

.faq-item { border-top: 1px solid var(--line); padding: 1.4rem 0; max-width: var(--measure); }
.faq-list > .faq-item:first-child { border-top: 0; padding-top: 0; }
.faq-item h2, .faq-item h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.faq-item p { margin-bottom: 0.6em; color: var(--ink-soft); }
.faq-item p:last-child { margin-bottom: 0; }

/* ---------- the stat band: a surveyor's title block ---------- */

.statband {
  border: 2px solid var(--ink);
  outline: 1px solid var(--ink); outline-offset: 3px;
  background: var(--paper-bright);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  margin: 0.3rem 4px;
}
.stat {
  padding: 1.1rem 1.3rem 1rem;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--disp); font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  display: block; line-height: 1.15; white-space: nowrap; letter-spacing: -0.01em;
}
/* A year range is twice the width of a count; it sits on the same baseline
   at a size that fits the cell. */
.stat-num--range { font-size: clamp(1.4rem, 2.2vw, 1.7rem); line-height: 1.52; }
.stat-label { font-size: 0.9rem; color: var(--muted); display: block; margin-top: 0.2rem; line-height: 1.3; }
.stat-tier { font-size: 0.85rem; color: var(--muted); display: block; margin-top: 0.3rem; }
.statband + .tier-note { margin-top: 1rem; }
.tier-note { font-size: 0.92rem; color: var(--muted); max-width: 52em; }

/* ---------- ledger tables ---------- */

.table-scroll { overflow-x: auto; }
table.ledger { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.ledger caption {
  text-align: left; font-size: 0.9rem; color: var(--muted); padding-bottom: 0.6rem;
}
.ledger th {
  text-align: left; font-weight: 600; font-size: 0.86rem; line-height: 1.3;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
  padding: 0 1rem 0.5rem 0;
}
.ledger td {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 1rem 0.7rem 0;
  vertical-align: top;
}
.ledger th:last-child, .ledger td:last-child { padding-right: 0; }
.ledger td.date { white-space: nowrap; color: var(--ink-soft); }
.ledger th.num, .ledger td.num { text-align: right; white-space: nowrap; }
.ledger td .sale-name { font-weight: 600; }
.ledger td .sale-name a { color: var(--ink); }
.ledger td .sale-name a:hover { color: var(--conifer); }
.verify-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.8rem; }

/* Sales tables fold into stacked records on a phone: date, name and county
   on their own lines, the figures labeled inline. */
@media (max-width: 640px) {
  .ledger--sales, .ledger--sales tbody, .ledger--sales tr, .ledger--sales td { display: block; }
  .ledger--sales thead { display: none; }
  .ledger--sales caption { display: block; width: 100%; }
  .ledger--sales tr {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem 1rem;
    padding: 0.85rem 0; border-bottom: 1px solid var(--line);
  }
  .ledger--sales td { border: 0; padding: 0; }
  .ledger--sales td.date { grid-column: 1 / -1; font-size: 0.9rem; color: var(--muted); }
  .ledger--sales td.sale, .ledger--sales td.county, .ledger--sales td.role-cell { grid-column: 1 / -1; }
  .ledger--sales td.sale { font-size: 1.05rem; }
  .ledger--sales td.num { text-align: left; }
  .ledger--sales td.num::before, .ledger--sales td.type::before {
    content: attr(data-l) " "; color: var(--muted); font-weight: 400;
  }
  .ledger--sales td.role-cell { font-size: 0.9rem; }
}

.chip {
  display: inline-block; font-size: 0.74rem; font-weight: 600; line-height: 1.5;
  border: 1px solid var(--gold); color: var(--soil); border-radius: 2px;
  padding: 0 0.45em; margin-left: 0.5em; vertical-align: 0.12em; white-space: nowrap;
}
.chip--quiet { border-color: var(--line-strong); color: var(--muted); }
.chip--corp { border-color: var(--conifer); color: var(--conifer); }
.spans { display: block; font-size: 0.86rem; font-weight: 400; color: var(--muted); margin-top: 0.15rem; }
.role-cell { color: var(--muted); font-size: 0.92rem; white-space: nowrap; }

/* ---------- county / content blocks ---------- */

.crumbs { font-size: 0.9rem; color: var(--muted); margin: 0 0 1.6rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--conifer); }

.note-block {
  border-left: 3px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1.3rem;
  max-width: var(--measure);
}
.note-block p {
  font-family: var(--disp); font-style: italic;
  font-size: 1.12rem; line-height: 1.55; margin: 0;
}
.note-sig { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; font-style: normal; font-family: var(--body); }

.upcoming-list { list-style: none; margin: 0; padding: 0; max-width: var(--measure); border-top: 1px solid var(--line-strong); }
.upcoming-list li {
  position: relative; padding: 0.65rem 0 0.65rem 8.5em;
  border-bottom: 1px solid var(--line);
}
.upcoming-list .date { position: absolute; left: 0; top: 0.65rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 480px) {
  .upcoming-list li { padding-left: 0; }
  .upcoming-list .date { position: static; display: block; font-size: 0.9rem; }
}

/* ---------- notes from the field ---------- */

.note-link {
  display: inline-block; font-size: 0.86rem; font-weight: 400;
  margin-left: 0.5em; white-space: nowrap;
}
.note-list { max-width: var(--measure); margin-top: 1.6rem; border-top: 1px solid var(--line-strong); }
.note-card { border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.note-card h2 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.note-card h2 a { color: var(--ink); text-decoration: none; }
.note-card h2 a:hover { color: var(--conifer); text-decoration: underline; }
.note-card p:last-child { margin-bottom: 0; }
.note-meta { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.3rem; }
.sale-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem 1.2rem; margin: 1.4rem 0 1.8rem; padding: 1rem 1.2rem;
  border: 1px solid var(--line-strong); background: var(--paper-bright);
}
.sale-facts div { margin: 0; }
.sale-facts dt { font-size: 0.86rem; color: var(--muted); }
.sale-facts dd { margin: 0.05rem 0 0; font-family: var(--disp); font-weight: 600; font-size: 1rem; }
.sale-facts dd a { color: var(--ink); }
.latest-note { border-top: 1px solid var(--line-strong); padding-top: 1.3rem; max-width: var(--measure); }
.latest-note h3 { margin-bottom: 0.3rem; }
.latest-note h3 a { color: var(--ink); }
.latest-note p { margin-bottom: 0.4rem; }

/* institutional doors: four short columns under one rule */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.6rem 2.2rem; }
.door {
  border-top: 2px solid var(--line-strong); padding-top: 1rem;
  text-decoration: none; color: var(--ink);
}
.door h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.door p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.door .door-go { display: block; margin-top: 0.8rem; }

/* county index: a ruled list, three columns wide */
.county-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0 2.5rem; border-top: 1px solid var(--line-strong);
}
.county-card {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.7rem 0.3rem 0.7rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.county-card:hover { color: var(--conifer); }
.county-card h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.county-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.county-card--flat { color: var(--muted); }
.county-card--flat h3 { color: var(--muted); font-weight: 500; }
.county-card .county-nums { font-size: 0.88rem; color: var(--muted); white-space: nowrap; }

.photo-strip { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 1.8rem 0 0.6rem; }
.photo-strip img {
  width: 300px; max-width: 100%; height: auto; display: block;
  border: 1px solid var(--line-strong); box-shadow: 8px 8px 0 var(--paper-deep);
}
main > .band:nth-of-type(even) .photo-strip img, main > .band:nth-of-type(even) .portrait { box-shadow: 8px 8px 0 var(--paper-bright); }

.about-head {
  display: flex; flex-wrap: wrap; gap: 2rem 3rem;
  align-items: flex-start; margin-bottom: 2rem;
}
.about-head > div { flex: 1 1 26em; }
.portrait {
  width: clamp(180px, 24vw, 260px); height: auto; display: block;
  border: 1px solid var(--line-strong); box-shadow: 8px 8px 0 var(--paper-deep);
}

/* A guide page opens on the same ruled paper as the home hero. */
.band--title {
  background-image: var(--section-lines);
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(2.2rem, 5vw, 3.4rem);
}
.band--title .lede:last-child, .band--title .prose > p:last-child { margin-bottom: 0; }
.band .prose > h2:first-child { margin-top: 0; }
.band--title .statband { margin-top: 2rem; }
.band--title .about-head { margin-bottom: 0; }

/* State headings on the track record: a heading, not a bare link. */
.state-head { margin-bottom: 1rem; }
.state-head a { color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--gold); padding-bottom: 0.1em; }
.state-head a:hover { color: var(--conifer); }

/* Credentials on the about page: a ruled list, the check mark from the
   home page's hand list. */
.prose ul.creds { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.prose ul.creds li { padding: 0.7rem 0 0.7rem 2.1rem; margin: 0; position: relative; border-bottom: 1px solid var(--line); }
.prose ul.creds li::before {
  content: ""; position: absolute; left: 0.15rem; top: 1.2rem;
  width: 0.85rem; height: 0.42rem;
  border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}
.prose ul.creds strong { font-family: var(--disp); font-weight: 600; }

/* A small plat beside the text that describes tracts. */
.fig-plat {
  float: right; width: clamp(200px, 30vw, 300px); height: auto;
  margin: 0 0 1rem 2rem; color: var(--ink);
}
.fig-plat .plat-text { font-size: 15px; }
.fig-plat .plat-text-soil { font-size: 12px; }
.fig-plat .plat-text-small { font-size: 12px; }
.prose::after { content: ""; display: block; clear: both; }
@media (max-width: 640px) {
  .fig-plat { float: none; width: min(100%, 320px); margin: 0 0 1.2rem; }
}

.prose { max-width: var(--measure); }
/* A wrap that is also the prose column keeps the page width and left edge;
   the reading measure applies to what it holds. */
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: var(--measure); }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; max-width: var(--measure); border-top: 1px solid var(--line-strong); }
.steps li {
  counter-increment: step;
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0 1.15rem 3.4rem; position: relative;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1.05rem;
  font-family: var(--disp); font-weight: 700; font-size: 1.35rem; color: var(--soil);
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: 0.3rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--conifer-deep); color: var(--paper);
  border-top: 4px solid var(--gold);
  padding: clamp(2.6rem, 6vw, 3.8rem) 0;
  position: relative; overflow: hidden;
}
/* The plat mark, drawn large and faint at the band's edge. */
.cta-band::after {
  content: ""; position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: clamp(150px, 22vw, 300px); aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23F7F5EE' stroke-width='0.9'%3E%3Crect x='2' y='2' width='36' height='36'/%3E%3Cpath d='M23 2V38M2 16H23M23 27H38'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.07; pointer-events: none;
}
.cta-band .wrap { position: relative; }
.cta-band h2 { color: var(--paper-bright); }
.cta-band p { color: #D6DFD2; max-width: 40em; }
.cta-band a { color: var(--paper-bright); }
.cta-band .btn { background: var(--paper-bright); color: var(--conifer-deep); border-color: var(--paper-bright); }
.cta-band .btn:hover { background: var(--paper-deep); border-color: var(--paper-deep); color: var(--conifer-deep); }
.cta-band .cta-phone {
  font-family: var(--disp); font-weight: 700; font-size: 1.7rem; line-height: 1;
  text-decoration: none; letter-spacing: 0.01em; margin-right: 0.6rem;
}
.cta-band .cta-phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.cta-license { font-size: 0.88rem; color: #AEBBAA; margin: 1.6rem 0 0; max-width: 40em; }

/* ---------- client quotes ---------- */

.testimonial {
  border-left: 3px solid var(--gold);
  margin: 1.8rem 0; padding: 0.2rem 0 0.2rem 1.3rem; max-width: 40em;
}
.testimonial p {
  font-family: var(--disp); font-size: 1.15rem; line-height: 1.5;
  margin: 0 0 0.5rem;
}
.testimonial footer { font-size: 0.95rem; color: var(--muted); }
.testimonial footer a { color: inherit; }

/* ---------- forms ---------- */

.form-grid { display: grid; gap: 1.1rem; max-width: 34em; margin-top: 1.6rem; }
.form-grid label { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 0.3rem; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; font: inherit; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 2px;
  background: var(--paper-bright); padding: 0.6rem 0.75rem;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
  outline: 2px solid var(--conifer); outline-offset: 0; border-color: var(--conifer);
}
.form-grid button { justify-self: start; }
.form-grid .cf-turnstile { min-height: 65px; }
.hp-field { position: absolute; left: -9999px; }
.form-ok { border: 2px solid var(--conifer); background: var(--paper-bright); padding: 1rem 1.2rem; max-width: 34em; margin-top: 1.6rem; }
.form-ok p { margin: 0; }
.form-err { border: 2px solid #8C3B2E; color: #6E2C22; background: var(--paper-bright); padding: 0.8rem 1.2rem; max-width: 34em; margin-top: 1.6rem; }
.form-err p { margin: 0; }

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

.site-foot {
  background: var(--ink); color: #C4C7BD;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 2.3rem 0 2.5rem;
  font-size: 0.93rem;
}
.cta-band + .site-foot { margin-top: 0; }
.site-foot a { color: #E4E6DD; }
.site-foot strong { color: var(--paper-bright); }
.foot-id { margin-bottom: 0.9rem; }
.foot-legal { margin: 0; color: #9A9E92; }

/* ---------- small screens ---------- */

@media (max-width: 760px) {
  .site-nav { gap: 0.1rem 1rem; }
  .site-nav a { padding: 0.4rem 0; }
}
@media (max-width: 430px) {
  .lockup-plat { width: 2.2rem; height: 2.2rem; }
  .lockup-mark, .lockup-firm { font-size: 0.86rem; }
}
@media (max-width: 640px) {
  .statband { grid-template-columns: 1fr 1fr; }
  .stat { padding: 0.9rem 1rem 0.8rem; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  /* An odd fifth cell spans the row so the rule above it runs full width. */
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .steps li { padding-left: 2.6rem; }
  .btn-row .btn, .btn-row .btn-quiet { flex: 1 1 auto; }
  .cta-band .cta-phone { flex: 0 0 100%; margin: 0 0 0.4rem; }
  .cta-band::after { display: none; }
}
