/* ============================================================
   806 GROWTH — "FIELD LEDGER" VISUAL SYSTEM (v2 rebuild)
   Brand: BRAND.md 2026-07-09 locked palette
   Charcoal #0F0F10 · Off-White #F5F5F2 · Red #D9161D
   Gold #C4C8CE (sparse) · Warm Gray #6B6B6B
   Sora (display) · Inter (body) · JetBrains Mono (labels)
   ============================================================ */

/* site-wide fonts — SELF-HOSTED variable woff2 (latin subset), 2026-07-22.
   Replaces the render-blocking Google Fonts @import + the 2 <link> requests
   per page (6 network requests -> 3 same-origin, no third-party DNS/TLS).
   Variable axes cover every weight the site uses (Sora 400-800, Inter 400-700,
   JetBrains Mono 400-500). Sources live in assets/fonts/. */
@font-face {
  font-family: 'Sora';
  src: url('assets/fonts/Sora-var.woff2') format('woff2-variations');
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-var.woff2') format('woff2-variations');
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/JetBrainsMono-var.woff2') format('woff2-variations');
  font-weight: 400 500; font-style: normal; font-display: swap;
}

:root {
  --ink: #0F0F10;
  --ink-2: #17171a;
  --ink-3: #1e1e22;
  --paper: #F5F5F2;
  --paper-2: #FAFAF8;
  --white: #FDFDFC;
  --red: #D9161D;
  --red-dark: #A80F14;
  --gold: #C4C8CE;
  /* WCAG-AA compliant gold for text on light backgrounds.
     --gold at 2.13 ratio on paper fails accessibility badly; use --gold-ink
     any time gold TEXT sits on paper/white/tinted-light. Reserve --gold itself
     for gold on dark surfaces (ratio 7.98 on --ink) or for BG fills. */
  --gold-ink: #4B5058;
  --gray: #6B6B6B;
  --line: rgba(15, 15, 16, 0.14);
  --line-soft: rgba(15, 15, 16, 0.08);
  --line-inv: rgba(245,245,242, 0.14);
  --line-inv-soft: rgba(245,245,242, 0.07);

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --w: min(1180px, calc(100% - 48px));
  --w-narrow: min(860px, calc(100% - 48px));
  --sec-pad: clamp(72px, 10vw, 128px);

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

/* grain — one shared texture, very low, keeps flat fills from feeling digital */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  z-index: 1;
}

.container { width: var(--w); margin: 0 auto; position: relative; z-index: 2; }
.container-narrow { width: var(--w-narrow); margin: 0 auto; position: relative; z-index: 2; }

/* ---------- typography primitives ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gray);
}
.kicker::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}
.kicker .idx { color: var(--gold-ink); font-weight: 500; }
.on-dark .kicker { color: rgba(245,245,242,0.62); }

.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
h2.h-display { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 18px 0 0; }
.section-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  color: var(--gray);
  line-height: 1.65;
  max-width: 640px;
  margin-top: 20px;
}
.on-dark .section-sub { color: rgba(245,245,242,0.66); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.01em;
  padding: 17px 30px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease-out), border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out);
  position: relative;
}
.btn .arr { transition: transform 0.3s var(--ease-out); display: inline-block; }
.btn:hover .arr { transform: translateX(5px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(15,15,16,0.35); }
.btn-line:hover { border-color: var(--ink); background: rgba(15,15,16,0.04); }
.on-dark .btn-line { color: var(--paper); border-color: rgba(245,245,242,0.32); }
.on-dark .btn-line:hover { border-color: var(--paper); background: rgba(245,245,242,0.06); }

/* ---------- scroll progress ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--red); z-index: 1000;
}

/* ---------- section index rail (desktop) ---------- */
#rail {
  position: fixed; right: 22px; top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex; flex-direction: column; gap: 14px;
}
#rail a {
  width: 26px; height: 16px;
  display: flex; align-items: center; justify-content: flex-end;
  position: relative;
}
#rail a::after {
  content: "";
  width: 14px; height: 1px;
  background: rgba(15,15,16,0.28);
  transition: width 0.3s var(--ease-out), background 0.3s;
}
#rail a.on::after { width: 26px; background: var(--red); }
#rail a span {
  position: absolute; right: 34px; top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 3px 9px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s var(--ease-out);
}
#rail a:hover span { opacity: 1; transform: translateY(-50%) translateX(0); }
#rail.rail-dark a::after { background: rgba(245,245,242,0.3); }
#rail.rail-dark a.on::after { background: var(--gold); }
@media (max-width: 1240px) { #rail { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(15, 15, 16, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-inv-soft);
  transition: background 0.3s;
}
.nav-inner {
  width: var(--w); margin: 0 auto;
  display: flex; align-items: center;
  height: 72px; gap: 36px;
}
.nav-logo img { height: 42px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav-links > a, .nav-drop > a {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: rgba(245,245,242,0.78);
  padding: 10px 13px;
  transition: color 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-links > a:hover, .nav-drop > a:hover { color: #fff; }
.nav-drop { position: relative; }
.nav-drop > a::after {
  content: ""; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.6;
}
.nav-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 240px;
  background: var(--ink-2);
  border: 1px solid var(--line-inv);
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s var(--ease-out), visibility 0.22s;
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-menu a {
  display: block; padding: 10px 20px;
  font-size: 13.5px; color: rgba(245,245,242,0.72);
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.nav-menu a:hover { color: #fff; border-left-color: var(--red); background: rgba(245,245,242,0.03); }
.nav-cta { margin-left: 12px; }
.nav-cta .btn { padding: 11px 22px; font-size: 13.5px; }
.nav-phone {
  font-family: var(--font-mono); font-size: 12.5px;
  color: rgba(245,245,242,0.6); letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--gold); }

/* burger */
#burger {
  display: none;
  margin-left: auto;
  background: none; border: 0;
  width: 44px; height: 44px;
  position: relative; z-index: 300;
}
#burger span {
  display: block; width: 24px; height: 2px;
  background: var(--paper); margin: 5px auto;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
#burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#burger.open span:nth-child(2) { opacity: 0; }
#burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mnav {
  display: none;
  position: fixed; inset: 0; z-index: 250;
  background: var(--ink);
  padding: 110px 32px 40px;
  overflow-y: auto;
}
#mnav.open { display: block; }
#mnav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700; font-size: 24px;
  color: var(--paper);
  padding: 13px 0;
  border-bottom: 1px solid var(--line-inv-soft);
}
#mnav a.sub { font-family: var(--font-body); font-weight: 400; font-size: 16px; color: rgba(245,245,242,0.62); padding: 9px 0 9px 18px; border-bottom: 0; }
#mnav .btn { margin-top: 28px; justify-content: center; width: 100%; }

@media (max-width: 980px) {
  .nav-links, .nav-cta, .nav-phone { display: none; }
  #burger { display: block; }
}

/* ---------- hero ---------- */
/* ---------- HERO — "West Texas ledger, in daylight" (light/local) ---------- */
.hero {
  position: relative;
  color: var(--ink);
  padding: clamp(150px, 19vw, 216px) 0 clamp(140px, 16vw, 210px);
  overflow: hidden;
  /* warm morning wash — sun off the caprock, faint red dust */
  background:
    radial-gradient(120% 92% at 88% -14%, rgba(196,200,206,0.20), transparent 56%),
    radial-gradient(80% 70% at -6% 4%, rgba(217,22,29,0.05), transparent 55%),
    var(--paper);
}
/* surveyor plot grid — the section lines by day, gold hairlines */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(196,200,206,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,200,206,0.18) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 86% 84% at 24% 14%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse 86% 84% at 24% 14%, #000 0%, transparent 68%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
}
.hero-kick {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.24em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-kick::before, .hero-kick::after {
  content: ""; height: 1px; width: 30px; background: var(--gold); opacity: 0.9;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.2vw, 4.05rem);
  line-height: 1.05;
  letter-spacing: -0.032em;
  color: var(--ink);
  margin: 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
  position: relative;
  /* nowrap keeps "the leads you're missing." on one line where there's room,
     but on a 360px phone it ran 422px wide and .hero's overflow:hidden simply
     cropped the end of the headline. Let it wrap when it has to. */
  white-space: nowrap;
}
@media (max-width: 560px) { .hero h1 em { white-space: normal; } }
.hero-sub {
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.6;
  color: var(--gray);
  max-width: 560px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-sub .price { color: var(--red); font-weight: 700; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

/* guarantee plate — stamped brass on parchment */
.plate {
  margin-top: 40px;
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 18px; align-items: center;
  border: 1px solid rgba(196,200,206,0.55);
  background: linear-gradient(160deg, var(--white), rgba(196,200,206,0.07));
  padding: 18px 24px;
  border-radius: 3px;
  max-width: 520px;
  box-shadow: 0 14px 34px -22px rgba(15,15,16,0.4);
}
.plate svg { width: 32px; height: 32px; flex: 0 0 auto; }
.plate b {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: 16px; letter-spacing: -0.01em;
  color: var(--ink); line-height: 1.25;
}
.plate span { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* hero side column — live tally card, a ledger slip on the desk */
.tally {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 3px;
  padding: 26px 26px 22px;
  position: relative;
  box-shadow: 0 30px 60px -38px rgba(15,15,16,0.45);
}
.tally::before {
  content: "FIELD DATA";
  position: absolute; top: -9px; left: 20px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.24em; color: var(--red);
  background: var(--white); padding: 0 10px;
}
.tally-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}
.tally-row:last-child { border-bottom: 0; }
.tally-row .n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  letter-spacing: -0.02em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.tally-row .n sup { font-size: 0.55em; color: var(--red); font-weight: 700; }
.tally-row .l {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gray);
  text-align: right; line-height: 1.5;
}
.tally-src {
  margin-top: 14px;
  font-family: var(--font-mono); font-size: 9.5px;
  color: rgba(15,15,16,0.4); letter-spacing: 0.08em;
  line-height: 1.6;
}

@media (max-width: 900px) {
  /* minmax(0,…): a bare 1fr keeps an auto minimum, so the widest
     min-content in the hero column was sizing the track to ~422px inside a
     312px container. .hero is overflow:hidden, so it read as "the headline
     is cropped on a small phone" rather than as a layout bug. */
  .hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .tally { max-width: 480px; }
}

/* ---------- ticker ---------- */
.ticker {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.15);
  padding: 13px 0;
}
.ticker-track {
  display: flex; gap: 0;
  width: max-content;
  animation: tick 36s linear infinite;
}
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em;
  white-space: nowrap;
  padding: 0 28px;
  position: relative;
}
.ticker-track span::after {
  content: "★";
  position: absolute; right: -7px;
  color: rgba(255,255,255,0.55);
  font-size: 9px; top: 3px;
}
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- trust strip ---------- */
.trust {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-soft);
  padding: 20px 0;
}
.trust .container {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 12px 38px;
}
.trust span {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.07em; color: var(--gray);
  white-space: nowrap;
}
.trust svg { width: 13px; height: 13px; color: var(--red); flex: 0 0 auto; }

/* ---------- generic section ---------- */
.sec { padding: var(--sec-pad) 0; position: relative; }
.sec-dark { background: var(--ink); color: var(--paper); }
.sec-white { background: var(--white); }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-head.center .kicker::before { display: none; }
.sec-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* big ghost section number — editorial field-manual folio */
.folio {
  position: absolute;
  top: clamp(24px, 4vw, 56px); right: clamp(8px, 3vw, 40px);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(15,15,16,0.10);
  user-select: none; pointer-events: none;
}
.sec-dark .folio { -webkit-text-stroke: 1px rgba(245,245,242,0.09); }

/* reveal-on-scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
/* Above-the-fold heroes must never depend on the scroll-reveal observer — a load-time
   transition race was leaving them stuck at opacity:0. Fail open: heroes are always
   visible; reveal stays an enhancement for below-the-fold sections only. */
.hero .rv, .page-hero .rv { opacity: 1; transform: none; transition: none; }
.rv-d1 { transition-delay: 0.08s; } .rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; } .rv-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 9:42 PM phone simulation ---------- */
.night { overflow: hidden; }
.night-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.night-spacer { height: 14vh; }
.night-copy .clock {
  font-family: var(--font-mono);
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 500; letter-spacing: 0.02em;
  color: var(--paper);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.night-copy .clock em { font-style: normal; color: var(--red); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.night-copy h2 { margin-top: 22px; }
.night-list { margin-top: 34px; display: grid; gap: 0; }
.night-list li {
  list-style: none;
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 17px 0;
  border-top: 1px solid var(--line-inv-soft);
  font-size: 15px; color: rgba(245,245,242,0.7); line-height: 1.55;
}
.night-list li:last-child { border-bottom: 1px solid var(--line-inv-soft); }
.night-list .t {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--gold); letter-spacing: 0.08em;
  padding-top: 3px; white-space: nowrap;
}
.night-list b { color: var(--paper); font-weight: 600; }

/* the handset */
.phone-wrap { display: flex; justify-content: center; position: sticky; top: 96px; }
.phone {
  width: min(322px, 86vw);
  background: linear-gradient(155deg, #35353a, #161619 44%, #09090b);
  border-radius: 42px;
  padding: 10px;
  box-shadow:
    0 54px 104px -34px rgba(0,0,0,0.7),
    0 0 0 2px rgba(245,245,242,0.05),
    inset 0 0 0 1px rgba(245,245,242,0.07);
  position: relative;
}
/* metallic side buttons */
.phone::before, .phone::after { content: ""; position: absolute; z-index: -1; border-radius: 2px; }
.phone::before {
  left: -2px; top: 96px; width: 3px; height: 52px;
  background: linear-gradient(90deg, #68666a, #cfcdc9 46%, #75737780);
  box-shadow: 0 -32px 0 #6b696d, 0 74px 0 5px #6b696d;
}
.phone::after {
  right: -2px; top: 124px; width: 3px; height: 44px;
  background: linear-gradient(270deg, #68666a, #cfcdc9 46%, #757377);
}
/* Dynamic Island */
.phone-notch {
  width: 92px; height: 26px;
  background: #000; border: 0;
  border-radius: 16px;
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 12;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.5);
}
.phone-notch::after {
  content: ""; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #263250, #04050a 72%);
  box-shadow: inset 0 0 0 1px rgba(245,245,242,0.08);
}
.phone-screen {
  background: #0b0b0e;
  border-radius: 32px;
  min-height: 440px;
  padding: 42px 14px 26px;
  display: flex; flex-direction: column; gap: 9px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(245,245,242,0.05);
}
/* glass sheen + home indicator */
.phone-screen::after {
  content: ""; position: absolute; inset: 0; border-radius: 32px; pointer-events: none; z-index: 20;
  background: linear-gradient(133deg, rgba(245,245,242,0.07), transparent 26%);
}
.phone-screen::before {
  content: ""; position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 104px; height: 4px; border-radius: 4px;
  background: rgba(245,245,242,0.5); z-index: 21;
}
.phone-status {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10.5px;
  color: rgba(245,245,242,0.45); letter-spacing: 0.08em;
  padding: 0 4px 8px;
  border-bottom: 1px solid rgba(245,245,242,0.07);
}
.msg {
  max-width: 84%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13.5px; line-height: 1.5;
  opacity: 0; transform: translateY(14px) scale(0.97);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.msg.in { opacity: 1; transform: none; }
.msg-time {
  align-self: center;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.14em; color: rgba(245,245,242,0.38);
  background: none; padding: 4px 0 0;
  max-width: none;
  border-radius: 0;
}
.msg-missed {
  align-self: center;
  background: rgba(217,22,29,0.14);
  border: 1px solid rgba(217,22,29,0.4);
  color: #f0b5b5;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 8px;
}
.msg-missed svg { width: 13px; height: 13px; }
.msg-out { align-self: flex-end; background: var(--red); color: #fff; border-bottom-right-radius: 4px; }
.msg-in  { align-self: flex-start; background: #26262d; color: rgba(245,245,242,0.94); border-bottom-left-radius: 4px; }
.msg-book {
  align-self: center;
  background: rgba(196,200,206,0.12);
  border: 1px solid rgba(196,200,206,0.45);
  color: var(--gold);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-align: center;
}
.phone-replay {
  position: absolute; bottom: -18px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink-3); color: rgba(245,245,242,0.7);
  border: 1px solid var(--line-inv);
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.phone-replay:hover { color: #fff; border-color: rgba(245,245,242,0.4); }

/* ---------- phone realism: live dot · typing · read receipt · watch again ----------
   Everything here exists to make a scripted thread read as a moment rather
   than a screenshot. Nothing here asserts anything untrue: the LIVE dot is
   only lit while the conversation is moving, and the section labels itself
   as a demo scenario. */
.ph-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,245,242,0.6);
}
.ph-live i {
  width: 5px; height: 5px; border-radius: 50%;
  background: #34d399;
  animation: phLive 1.9s ease-out infinite;
}
@keyframes phLive {
  0%        { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
  70%, 100% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}

.msg-typing {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 4px;
  width: -moz-fit-content; width: fit-content;
  padding: 13px 15px;
  background: #26262d;
  border-radius: 14px; border-bottom-left-radius: 4px;
}
.msg-typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(245,245,242,0.55);
  animation: phTyping 1.25s ease-in-out infinite;
}
.msg-typing i:nth-child(2) { animation-delay: 0.16s; }
.msg-typing i:nth-child(3) { animation-delay: 0.32s; }
@keyframes phTyping {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30%           { opacity: 1;    transform: translateY(-3px); }
}

.msg-receipt {
  align-self: flex-end;
  margin: -4px 4px 0;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245,245,242,0.4);
  opacity: 0; transition: opacity 0.4s var(--ease-out);
}
.msg-receipt.show { opacity: 1; }

/* Reads as a control on the handset, not a button on a web page. */
.phone-replay {
  display: inline-flex; align-items: center; gap: 7px;
  text-transform: none; letter-spacing: 0.02em;
  font-size: 11.5px;
  padding: 9px 17px; border-radius: 999px;
  background: rgba(18,18,22,0.94);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.85);
}
.pr-glyph { font-size: 13px; line-height: 1; transition: transform 0.45s var(--ease-out); }
.phone-replay:hover .pr-glyph { transform: rotate(-180deg); }

@media (prefers-reduced-motion: reduce) {
  .ph-live i, .msg-typing i { animation: none; }
  .msg-receipt { transition: none; }
  .pr-glyph { transition: none; }
}

@media (max-width: 900px) {
  .night-grid { grid-template-columns: 1fr; }
  .phone-wrap { position: static; }
  .night-spacer { display: none; }
}

/* ---------- calculator ---------- */
.calc {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.calc-controls { padding: clamp(28px, 4vw, 48px); }
.calc-field { margin-bottom: 34px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 14px;
}
.calc-field output {
  font-family: var(--font-display); font-weight: 800;
  font-size: 21px; color: var(--ink); letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2px;
  background: linear-gradient(to right, var(--red) var(--fill, 50%), rgba(15,15,16,0.15) var(--fill, 50%));
  border-radius: 0; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  background: var(--paper);
  border: 2px solid var(--red);
  border-radius: 50%;
  cursor: grab;
  transition: transform 0.15s var(--ease-out);
  box-shadow: 0 2px 8px rgba(15,15,16,0.18);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--paper); border: 2px solid var(--red);
  border-radius: 50%; cursor: grab;
}
.calc-result {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.calc-result .kicker { color: rgba(245,245,242,0.55); }
.calc-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  letter-spacing: -0.03em; line-height: 1;
  color: var(--red);
  margin: 20px 0 6px;
  font-variant-numeric: tabular-nums;
}
.calc-per {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,245,242,0.5);
}
.calc-year {
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--line-inv-soft);
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
.calc-year .n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.calc-year .l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,245,242,0.5); }
.calc-note { margin-top: 26px; font-size: 13px; color: rgba(245,245,242,0.55); line-height: 1.6; }
.calc-cta { margin-top: 26px; }
/* minmax(0,…), not 1fr: 1fr carries an auto minimum, so the horizontally
   scrolling chip rail inside the controls column sized the whole track to
   its un-wrapped content and blew the calculator out to ~950px on a phone
   (clipped, because .calc is overflow:hidden — silently broken, not
   obviously broken). The desktop rule above always had the minmax. */
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- system (lead rescue) ---------- */
.sys { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.sys-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 0.9fr) minmax(0, 1.4fr) auto;
  gap: clamp(20px, 3.5vw, 48px);
  align-items: start;
  padding: clamp(26px, 3.6vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s;
}
.sys-row:hover { background: rgba(255,255,255,0.65); }
.sys-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: transparent;
  -webkit-text-stroke: 1.2px var(--red);
  line-height: 1; padding-top: 3px;
}
.sys-row h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.02em; line-height: 1.2;
}
.sys-row h3 small {
  display: block; margin-top: 8px;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
}
.sys-row p { color: var(--gray); font-size: 15px; line-height: 1.65; max-width: 520px; }
.sys-stat {
  text-align: right;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--ink); letter-spacing: -0.02em;
  white-space: nowrap;
}
.sys-stat small {
  display: block;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 10px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--gray);
  margin-top: 6px; white-space: normal; max-width: 150px; margin-left: auto;
}
/* Scroll-linked rule under each system stat. Default is the drawn state —
   if the script never runs, the row still looks finished. */
.ss-rule {
  display: block;
  height: 2px; width: 100%; max-width: 150px;
  margin: 9px 0 0 auto;
  background: linear-gradient(90deg, rgba(196,200,206,0), var(--gold));
  transform: scaleX(var(--ss, 1));
  transform-origin: right center;
}
@media (max-width: 860px) {
  .ss-rule { margin-left: 0; transform-origin: left center; background: linear-gradient(90deg, var(--gold), rgba(196,200,206,0)); }
}
@media (max-width: 860px) {
  .sys-row { grid-template-columns: 56px 1fr; }
  .sys-row p { grid-column: 2; }
  .sys-stat { grid-column: 2; text-align: left; margin-top: 4px; }
  .sys-stat small { margin-left: 0; }
}

/* Results-page hero tally. The number is read off the grid, not typed in. */
.rc-tally {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: clamp(26px, 4vw, 38px);
}
.rc-tally .rc-n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.rc-tally small {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,245,242,0.55);
}

/* ---------- plans ---------- */
.plans {
  margin-top: clamp(44px, 6vw, 70px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}
.plan {
  padding: clamp(30px, 3.6vw, 46px) clamp(24px, 3vw, 38px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.plan:last-child { border-right: 0; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(15,15,16,0.10); z-index: 2; }
.plan-tier {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray);
}
.plan h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  letter-spacing: -0.02em; margin-top: 12px;
}
.plan-price {
  margin: 22px 0 4px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 3.2vw, 2.7rem);
  letter-spacing: -0.03em; line-height: 1;
}
.plan-price small { font-size: 0.42em; font-weight: 600; color: var(--gray); letter-spacing: 0; }
.plan-for { font-size: 13.5px; color: var(--gray); line-height: 1.55; min-height: 44px; }
.plan ul { margin: 26px 0 30px; display: grid; gap: 0; }
.plan li {
  list-style: none;
  display: grid; grid-template-columns: 16px 1fr; gap: 11px;
  font-size: 14px; color: var(--ink); line-height: 1.5;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
}
.plan li svg { width: 13px; height: 13px; color: var(--red); margin-top: 4px; }
.plan li.mut { color: var(--gray); }
.plan li.mut svg { color: var(--gold); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan-flag {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--red); color: #fff;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-align: center; padding: 8px;
}
.plan.hot { border-top: 3px solid var(--red); padding-top: calc(clamp(30px, 3.6vw, 46px) + 24px); }
.plans-fine {
  margin-top: 22px; text-align: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--gray);
}
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan:last-child { border-bottom: 0; }
}

/* ---------- versus ---------- */
.vs {
  margin-top: clamp(44px, 6vw, 70px);
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-inv);
}
.vs-col { padding: clamp(28px, 4vw, 48px); }
.vs-col:first-child { border-right: 1px solid var(--line-inv); background: rgba(245,245,242,0.02); }
.vs-col:last-child { background: rgba(217,22,29,0.05); }
.vs-col h3 {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,245,242,0.5);
  padding-bottom: 18px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line-inv-soft);
}
.vs-col:last-child h3 { color: var(--gold); }
.vs-col li {
  list-style: none;
  display: grid; grid-template-columns: 18px 1fr; gap: 13px;
  padding: 14px 0;
  font-size: 14.5px; line-height: 1.55;
  color: rgba(245,245,242,0.62);
  border-bottom: 1px solid var(--line-inv-soft);
}
.vs-col li:last-child { border-bottom: 0; }
.vs-col li svg { width: 14px; height: 14px; margin-top: 4px; }
.vs-col:first-child li svg { color: rgba(245,245,242,0.3); }
.vs-col:last-child li { color: rgba(245,245,242,0.86); }
.vs-col:last-child li svg { color: var(--red); }
@media (max-width: 760px) {
  .vs { grid-template-columns: 1fr; }
  .vs-col:first-child { border-right: 0; border-bottom: 1px solid var(--line-inv); }
}
/* .vs light-surface variant — lets the comparison live on cream/white sections */
section:not(.on-dark) .vs { border-color: var(--line); }
section:not(.on-dark) .vs-col:first-child { border-right-color: var(--line); background: rgba(15,15,16,0.025); }
section:not(.on-dark) .vs-col:last-child { background: rgba(217,22,29,0.04); }
section:not(.on-dark) .vs-col h3 { color: var(--gray); border-bottom-color: var(--line-soft); }
section:not(.on-dark) .vs-col:last-child h3 { color: var(--red); }
section:not(.on-dark) .vs-col li { color: var(--gray); border-bottom-color: var(--line-soft); }
section:not(.on-dark) .vs-col:first-child li svg { color: rgba(15,15,16,0.25); }
section:not(.on-dark) .vs-col:last-child li { color: var(--ink); }
@media (max-width: 760px) {
  section:not(.on-dark) .vs-col:first-child { border-bottom-color: var(--line); }
}

/* ---------- West Texas horizon (footer / dividers) ---------- */
.wt-horizon { color: rgba(196,200,206,0.55); padding: 26px 0 0; }
.wt-horizon svg { width: min(720px, 92%); margin: 0 auto; display: block; }
.wt-badge { width: 74px; height: 74px; margin-top: 18px; opacity: .92; }

/* ---------- industries ---------- */
.inds {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.ind {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 24px 22px;
  background: var(--paper);
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}
.ind::after {
  content: "→";
  position: absolute; right: 20px; bottom: 16px;
  font-family: var(--font-display);
  color: var(--red);
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}
.ind:hover { background: var(--white); }
.ind:hover::after { opacity: 1; transform: none; }
.ind b {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: 16.5px; letter-spacing: -0.01em;
}
.ind span {
  display: block; margin-top: 7px;
  font-size: 12.5px; color: var(--gray); line-height: 1.5;
}
@media (max-width: 900px) { .inds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .inds { grid-template-columns: 1fr; } }

/* ---------- work / results ---------- */
.work {
  margin-top: clamp(44px, 6vw, 70px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.work-item { position: relative; }
.work-shot {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  position: relative;
  border-radius: 5px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s;
}
/* browser-window chrome bar (dots + domain) */
.work-shot::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 2;
  background: #17171a;
  box-shadow: inset 0 -1px 0 rgba(245,245,242,0.08);
}
.work-shot .work-dots {
  position: absolute; top: 9px; left: 12px; z-index: 3;
  display: inline-flex; gap: 6px;
}
.work-shot .work-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(245,245,242,0.28); }
.work-shot .work-dots i:first-child { background: #e0564e; }
.work-shot img {
  position: absolute; left: 0; right: 0; bottom: 0; top: 26px;
  width: 100%; height: calc(100% - 26px);
  object-fit: cover; object-position: 0% 0%;
  transition: object-position 5.5s var(--ease-out), transform 0.5s var(--ease-out);
}
/* on hover: the whole build slowly pans across, card lifts off the page */
.work-item:hover .work-shot img { object-position: 100% 100%; }
.work-item:hover .work-shot {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px -28px rgba(15,15,16,0.52);
  border-color: rgba(196,200,206,0.6);
}
.work-meta { padding: 18px 2px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.work-meta b { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; letter-spacing: -0.01em; }
.work-meta span {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}
.work-cta { margin-top: clamp(36px, 5vw, 54px); text-align: center; }
@media (max-width: 820px) { .work { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* ---------- guarantee ---------- */
.pledge {
  margin-top: clamp(44px, 6vw, 70px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.pledge-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(26px, 3.4vw, 40px);
  position: relative;
}
.pledge-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--gold);
}
.pledge-card b {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: 18px; letter-spacing: -0.015em;
  margin-bottom: 12px; line-height: 1.3;
}
.pledge-card p { font-size: 14.5px; color: var(--gray); line-height: 1.65; }
@media (max-width: 820px) { .pledge { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 24px 4px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary .x {
  width: 15px; height: 15px; position: relative; flex: 0 0 auto;
}
.faq summary .x::before, .faq summary .x::after {
  content: ""; position: absolute;
  background: var(--red);
  transition: transform 0.3s var(--ease-out);
}
.faq summary .x::before { left: 0; top: 7px; width: 15px; height: 1.5px; }
.faq summary .x::after { left: 7px; top: 0; width: 1.5px; height: 15px; }
.faq details[open] summary .x::after { transform: scaleY(0); }
.faq details p {
  padding: 0 4px 26px;
  max-width: 700px;
  color: var(--gray); font-size: 15px; line-height: 1.7;
}

/* ---------- audit form ---------- */
.audit { position: relative; }
.audit .container-narrow { max-width: 760px; }
.audit-frame {
  margin-top: clamp(36px, 5vw, 52px);
  background: var(--paper);
  border: 1px solid var(--line-inv);
  border-radius: 3px;
  padding: clamp(28px, 4.5vw, 52px);
  position: relative;
}
.audit-frame::before {
  content: "REPORT REQUEST — NO. 12";
  position: absolute; top: -9px; left: 26px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.24em; color: var(--gold);
  background: var(--ink); padding: 0 10px;
}
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.f-field label {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray);
}
.f-field input, .f-field select {
  font-family: var(--font-body); font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none; -webkit-appearance: none;
}
.f-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%236B6B6B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}
.f-field input:focus, .f-field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217,22,29,0.12);
}
.f-submit { margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.f-submit .btn { min-width: 300px; justify-content: center; }
.f-fine { font-size: 12px; color: var(--gray); text-align: center; line-height: 1.6; max-width: 480px; }
.f-fine a { color: var(--red); text-decoration: underline; }
[data-lead-status] { margin-top: 16px; font-size: 14px; text-align: center; }
@media (max-width: 620px) { .f-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(245,245,242,0.6);
  padding: clamp(56px, 8vw, 88px) 0 40px;
  border-top: 1px solid var(--line-inv-soft);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line-inv-soft);
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 340px; }
.footer-nap { margin-top: 22px; display: grid; gap: 6px; }
.footer-nap a, .footer-nap span {
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.04em; color: rgba(245,245,242,0.72);
}
.footer-nap a:hover { color: var(--gold); }
.footer h5 {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links { display: grid; gap: 2px; align-content: start; }
.footer-links a {
  font-size: 14px; color: rgba(245,245,242,0.6);
  padding: 6px 0;
  transition: color 0.2s, padding-left 0.2s var(--ease-out);
}
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-base {
  padding-top: 32px;
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: rgba(245,245,242,0.38);
}
.footer-base a:hover { color: rgba(245,245,242,0.7); }
.footer-806 {
  position: absolute; right: 4%; bottom: 8%;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(6rem, 14vw, 13rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,245,242,0.06);
  pointer-events: none; user-select: none;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } .footer-806 { display: none; } }

/* ---------- sticky mobile call bar ---------- */
#callbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--ink);
  border-top: 1px solid var(--line-inv);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr; gap: 10px;
}
#callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  padding: 13px 10px; border-radius: 3px;
}
#callbar .cb-call { background: transparent; color: var(--paper); border: 1px solid rgba(245,245,242,0.3); }
#callbar .cb-audit { background: var(--red); color: #fff; }
@media (max-width: 720px) { #callbar { display: grid; } body { padding-bottom: 72px; } }

/* ---------- callback widget ----------
   Injected by main.js only when SITE_FLAGS.smsEnabled is on, so these rules
   match nothing until the GHL workflow is live. The launcher is desktop-only
   (below 720px the sticky call bar already owns that corner) but the panel
   itself works at any width, because the calculator's result card can open
   it directly on a phone. */
.cbk {
  position: fixed; right: 20px; bottom: 20px; z-index: 160;
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 12px;
}
@media (max-width: 720px) { .cbk { bottom: 84px; left: 20px; align-items: stretch; } }

.cbk-fab {
  display: none; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  padding: 14px 20px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--line-inv);
  box-shadow: 0 12px 30px -12px rgba(15,15,16,0.6);
  transition: transform 0.2s var(--ease-out), background 0.2s;
}
@media (min-width: 721px) { .cbk-fab { display: inline-flex; } }
.cbk-fab:hover { transform: translateY(-2px); background: var(--ink-2, #1b1b1f); }
.cbk-fab:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.cbk-panel {
  position: relative;
  width: min(340px, calc(100vw - 40px));
  padding: 22px 22px 18px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--line-inv); border-radius: 4px;
  box-shadow: 0 30px 70px -28px rgba(15,15,16,0.75);
}
@media (max-width: 720px) { .cbk-panel { width: auto; } }
.cbk-x {
  position: absolute; top: 8px; right: 10px;
  width: 32px; height: 32px; line-height: 1;
  font-size: 20px; color: rgba(245,245,242,0.5);
  background: none; border: 0;
}
.cbk-x:hover { color: var(--paper); }
.cbk-x:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.cbk-h {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em;
  padding-right: 24px;
}
.cbk-s { margin-top: 8px; font-size: 13px; line-height: 1.6; color: rgba(245,245,242,0.62); }
.cbk-row { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.cbk-row input[type="tel"] {
  min-height: 50px; padding: 13px 15px;
  background: rgba(245,245,242,0.06);
  border: 1px solid rgba(245,245,242,0.22); border-radius: 3px;
  color: var(--paper); font-size: 16px;   /* 16px: stops iOS zooming on focus */
  font-variant-numeric: tabular-nums;
}
.cbk-row input[type="tel"]::placeholder { color: rgba(245,245,242,0.34); }
.cbk-row input[type="tel"]:focus { outline: none; border-color: var(--gold); background: rgba(245,245,242,0.09); }
.cbk-row .btn { justify-content: center; padding: 15px 20px; }
.cbk-tcpa { margin-top: 12px; font-size: 10.5px; line-height: 1.5; color: rgba(245,245,242,0.42); }

/* ---------- real-numbers strip ----------
   Renders only when PROOF_STATS in main.js holds figures Brandon can point
   at in GHL, and always carries the date it was last true. */
.proof-strip {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line-inv-soft);
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 10px clamp(20px, 3vw, 34px);
}
.ps-item { display: flex; align-items: baseline; gap: 8px; }
.ps-n {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.15rem; color: var(--gold);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.ps-l { font-size: 12.5px; color: rgba(245,245,242,0.6); line-height: 1.4; }
.ps-asof {
  flex-basis: 100%;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,245,242,0.4);
}

/* ---------- 404 ----------
   The page had no stylesheet and none of these classes existed anywhere, so
   every rule below is new. Field Ledger vocabulary, nothing bespoke. */
.error-404-wrap {
  min-height: 70vh;
  display: grid; place-items: center;
  padding: clamp(90px, 14vh, 150px) 0 clamp(60px, 10vh, 110px);
}
.error-404-number {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4.5rem, 16vw, 9rem); line-height: 0.9;
  letter-spacing: -0.05em; color: var(--line);
  font-variant-numeric: tabular-nums;
}
.error-404-title {
  margin-top: 12px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.1;
  letter-spacing: -0.03em; color: var(--ink);
}
.error-404-text {
  margin: 16px auto 0; max-width: 520px;
  font-size: 16px; line-height: 1.75; color: var(--gray);
}
.error-404-ctas {
  margin-top: 32px;
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.error-404-links {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px clamp(16px, 3vw, 28px);
}
.error-404-links a {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray);
  border-bottom: 1px solid transparent;
  padding: 6px 0;
  transition: color 0.2s, border-color 0.2s;
}
.error-404-links a:hover { color: var(--ink); border-bottom-color: var(--red); }

/* ---------- exit intent ----------
   Offers the audit and says so plainly. No countdown, no discount that
   didn't exist a second ago — nothing that is only true right now. */
.xi {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(15,15,16,0.62);
  backdrop-filter: blur(3px);
  animation: xiIn 0.24s var(--ease-out) both;
}
@keyframes xiIn { from { opacity: 0; } to { opacity: 1; } }
.xi-card {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(28px, 4vw, 40px);
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 40px 90px -30px rgba(15,15,16,0.6);
}
.xi-x {
  position: absolute; top: 10px; right: 12px;
  width: 40px; height: 40px; font-size: 22px; line-height: 1;
  color: var(--gray); background: none; border: 0;
}
.xi-x:hover { color: var(--ink); }
.xi-x:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.xi-k {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--red);
}
.xi-h {
  margin-top: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem); line-height: 1.15;
  letter-spacing: -0.02em;
}
.xi-s { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--gray); }
.xi-ctas { margin-top: 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.xi-no {
  background: none; border: 0; padding: 10px 0; min-height: 44px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray);
  border-bottom: 1px solid transparent;
}
.xi-no:hover { color: var(--ink); border-bottom-color: var(--line); }
.xi-no:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .xi { animation: none; } }

/* ============================================================
   COMPATIBILITY BRIDGE
   Maps the legacy class + CSS-variable vocabulary (used by the
   ~32 interior pages) onto the Field Ledger visual system, so
   every page adopts the new look with zero markup changes.
   Interior pages get hand-upgraded tier by tier; until then this
   keeps them fully on-brand and coherent.
   ============================================================ */

/* ---- legacy CSS variable aliases (inline styles reference these) ---- */
:root {
  --accent: var(--red);
  --accent-hover: var(--red-dark);
  --ember: var(--gold);
  --text: var(--ink);
  --text-body: #33333a;
  --text-muted: var(--gray);
  --text-white: var(--paper);
  --black: var(--ink);
  --border: var(--line);
  --ease: var(--ease-out);
  --gray-50: #F7F7F5;
  --gray-100: #E7E7E4;
  --gray-600: var(--gray);
  --radius-card: 3px;
  --section-pad: var(--sec-pad);
  --text-sm: 0.875rem;
  --text-lg: 1.12rem;
  --text-hero: clamp(2.1rem, 4.6vw, 3.4rem);
  --text-3xl: clamp(1.6rem, 2.6vw, 2.1rem);
  --text-4xl: clamp(2rem, 3.4vw, 2.7rem);
}

/* dark-surface awareness for legacy sections that expect light text */
.sec-dark, .final-cta, .page-hero-dark { --text-body: rgba(245,245,242,0.7); --text: var(--paper); --text-muted: rgba(245,245,242,0.5); }

/* ---- neutralize the vibe-coded junk ---- */
#preloader, #particle-bg, .exit-popup { display: none !important; }

/* ---- legacy scroll progress (interior pages use #scroll-progress) ---- */
#scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--red); z-index: 1000; }

/* ---- legacy NAV (interior markup: .nav-brand/.nav-dropdown/.dropdown-menu/.nav-actions/.hamburger) ---- */
.nav-brand { flex: 0 0 auto; margin-right: 24px; display: inline-flex; align-items: center; }
.nav-brand img { height: 42px; width: auto; display: block; }
.nav .nav-links { margin-left: auto; }
.nav-dropdown { position: relative; }
.nav-dropdown > a {
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: rgba(245,245,242,0.78); padding: 10px 13px;
  display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s;
}
.nav-dropdown > a:hover { color: #fff; }
.nav-dropdown > a::after {
  content: ""; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: 0.55;
}
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--ink-2); border: 1px solid var(--line-inv); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s var(--ease-out), visibility 0.22s;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 20px; font-size: 13.5px;
  color: rgba(245,245,242,0.72); border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.dropdown-menu a:hover { color: #fff; border-left-color: var(--red); background: rgba(245,245,242,0.03); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
.nav-actions .nav-phone { color: var(--gold) !important; font-family: var(--font-mono); font-size: 12.5px; }
.nav-actions .nav-phone svg { stroke: currentColor; }

/* legacy hamburger + mobile menu */
.hamburger {
  display: none; margin-left: auto; background: none; border: 0;
  width: 44px; height: 44px; position: relative; z-index: 300;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--paper); margin: 5px auto; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 250;
  background: var(--ink); padding: 104px 32px 40px; overflow-y: auto;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu > a {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--paper); padding: 13px 0; border-bottom: 1px solid var(--line-inv-soft);
}
.mobile-menu > a.btn { border-bottom: 0; justify-content: center; }
@media (max-width: 980px) {
  .nav .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
}

/* ---- legacy PAGE HERO ---- */
.page-content { position: relative; }
.page-hero {
  color: var(--ink);
  padding: clamp(128px, 15vw, 172px) 0 clamp(56px, 7vw, 84px);
  position: relative; overflow: hidden;
  /* light "daylight ledger" hero — matches the homepage */
  background:
    radial-gradient(120% 92% at 88% -14%, rgba(196,200,206,0.16), transparent 56%),
    radial-gradient(80% 70% at -6% 4%, rgba(217,22,29,0.045), transparent 55%),
    var(--paper);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(196,200,206,0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(196,200,206,0.16) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 24% 14%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 88% 82% at 24% 14%, #000, transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-headline, .page-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--text-hero); line-height: 1.06; letter-spacing: -0.03em;
  color: var(--ink); margin: 14px 0 20px;
}
.page-hero p { color: var(--gray); }
.page-hero a[style*="var(--accent)"], .page-hero a { color: inherit; }
.about-hero-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,0.6fr); gap: clamp(32px,5vw,64px); align-items: center; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); gap: clamp(32px,5vw,60px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.about-img {
  aspect-ratio: 1; border: 1px solid var(--line-inv);
  background: linear-gradient(160deg, rgba(196,200,206,0.10), rgba(245,245,242,0.02));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 3rem;
  color: var(--gold); letter-spacing: -0.02em;
}
@media (max-width: 780px) { .about-hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- legacy LABEL / dot ---- */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray);
}
.page-hero .label, .sec-dark .label, .final-cta .label { color: rgba(245,245,242,0.6); }
.label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }

/* ---- legacy SECTION ---- */
.section { padding: var(--sec-pad) 0; position: relative; }
.section-heading {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -0.03em;
  margin-top: 14px;
}
.section-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.14rem); color: var(--gray);
  line-height: 1.65; max-width: 640px; margin-top: 18px;
}

/* ---- legacy CARDS ---- */
.cards-grid, .grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.card {
  border: 1px solid var(--line); background: var(--white);
  padding: clamp(24px, 3vw, 34px); position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.card::before { content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 3px; background: var(--gold); }
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(15,15,16,0.09); }
.card h3, .card h4, .card .card-title {
  font-family: var(--font-display); font-weight: 800; font-size: 17.5px;
  letter-spacing: -0.015em; margin-bottom: 10px; line-height: 1.3;
}
.card p { color: var(--gray); font-size: 14.5px; line-height: 1.65; }
.card-num { font-family: var(--font-display); font-weight: 800; color: transparent; -webkit-text-stroke: 1.2px var(--red); font-size: 1.8rem; }
.sec-dark .card, .page-hero .card { background: rgba(245,245,242,0.03); border-color: var(--line-inv); }
.sec-dark .card p { color: rgba(245,245,242,0.66); }

/* ---- legacy STATS BAR ---- */
.stats-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); margin: clamp(32px,5vw,48px) 0;
}
.stat-item { background: var(--paper); padding: clamp(26px,3.4vw,40px) 24px; text-align: center; }
.stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.03em; color: var(--red);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.stat-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-top: 12px; }

/* ---- legacy FINAL CTA ---- */
.final-cta {
  background: var(--ink); color: var(--paper);
  padding: var(--sec-pad) 0; position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(217,22,29,0.14), transparent 70%);
}
.final-cta .container { position: relative; z-index: 2; }
.final-cta .section-heading { color: var(--paper); }
.final-cta .section-sub { color: rgba(245,245,242,0.66); }
.final-cta .btn { margin-top: 26px; }

/* ---- legacy BUTTON aliases ---- */
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(15,15,16,0.35); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(15,15,16,0.04); }
.page-hero .btn-ghost, .sec-dark .btn-ghost, .final-cta .btn-ghost, .nav .btn-ghost { color: var(--paper); border-color: rgba(245,245,242,0.32); }
.page-hero .btn-ghost:hover, .sec-dark .btn-ghost:hover, .final-cta .btn-ghost:hover, .nav .btn-ghost:hover { border-color: var(--paper); background: rgba(245,245,242,0.06); }
.btn-sm { padding: 11px 20px; font-size: 13.5px; }
.btn .arrow { transition: transform 0.3s var(--ease-out); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---- legacy FOOTER bottom (interior uses .footer-bottom, mine uses .footer-base) ---- */
.footer-bottom {
  padding-top: 32px; margin-top: clamp(40px,6vw,64px);
  border-top: 1px solid var(--line-inv-soft);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(245,245,242,0.38);
}
.footer-bottom a:hover { color: rgba(245,245,242,0.7); }

/* ---- legacy FORM controls (.form-group used by contact/assessment/etc) ---- */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group label {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray);
}
.sec-dark .form-group label, .page-hero .form-group label { color: rgba(245,245,242,0.55); }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
  padding: 14px 15px; outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%236B6B6B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(217,22,29,0.12);
}

/* ---- shared PROSE primitive (story / article / legal pages) ---- */
.prose { max-width: 720px; }
.prose p { font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.8; color: #33333a; margin-bottom: 20px; }
.sec-dark .prose p, .page-hero .prose p, .final-cta .prose p { color: rgba(245,245,242,0.72); }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; margin: 40px 0 16px; line-height: 1.25; color: var(--ink); }
.sec-dark .prose h2, .sec-dark .prose h3, .page-hero .prose h2, .page-hero .prose h3 { color: var(--paper); }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.prose h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.prose strong { color: var(--ink); font-weight: 600; }
.sec-dark .prose strong, .page-hero .prose strong, .final-cta .prose strong { color: var(--paper); }
.prose a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 4px; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: clamp(1rem, 1.4vw, 1.08rem); line-height: 1.7; color: #33333a; }
.sec-dark .prose li, .page-hero .prose li { color: rgba(245,245,242,0.72); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1.5px; background: var(--red); }
.prose ol { counter-reset: p; }
.prose ol li { counter-increment: p; }
.prose ol li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-size: 12px; color: var(--gold); font-weight: 500; }

/* signature plate — replaces placeholder boxes, adds human authority */
.sig-plate {
  border: 1px solid var(--line-inv);
  background: linear-gradient(160deg, rgba(196,200,206,0.09), rgba(245,245,242,0.015));
  padding: 30px 32px; position: relative;
}
.sig-plate::before {
  content: "ON THE RECORD"; position: absolute; top: -9px; left: 22px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.24em;
  color: var(--gold); background: var(--ink); padding: 0 10px;
}
.sig-plate .q { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem,1.7vw,1.3rem); line-height: 1.4; letter-spacing: -0.015em; color: var(--paper); }
.sig-plate .by { margin-top: 20px; display: flex; align-items: center; gap: 14px; }
.sig-plate .by .mark { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 17px; }
.sig-plate .by b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--paper); }
.sig-plate .by span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(245,245,242,0.5); }

/* ---- legacy COOKIE BANNER (restyled, kept functional) ---- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 140;
  max-width: 540px; margin: 0 auto;
  background: var(--ink-2); border: 1px solid var(--line-inv);
  border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  padding: 16px 20px; display: none; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: space-between;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 13px; color: rgba(245,245,242,0.78); margin: 0; flex: 1 1 200px; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
/* explicit, high-contrast buttons — the banner sits on a dark ground, so
   the global btn-ghost (dark text) would be invisible here. Force both legible. */
.cookie-banner .btn-primary { background: var(--red); color: #fff; border: 1px solid var(--red); }
.cookie-banner .btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.cookie-banner .btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(245,245,242,0.38); }
.cookie-banner .btn-ghost:hover { border-color: var(--paper); background: rgba(245,245,242,0.08); }
@media (max-width: 720px) {
  .cookie-banner { bottom: 84px; }
  .cookie-actions { flex: 1 1 100%; }
  .cookie-banner .btn-primary, .cookie-banner .btn-ghost { flex: 1; text-align: center; }
}

/* ============================================================
   LIGHT PAGE-HERO OVERRIDES (2026-07-10) — flips every interior
   page hero from charcoal to the light "daylight ledger" look in
   one sweep. Placed last so it wins the cascade over the grouped
   .on-dark / .sec-dark / .final-cta text rules above. Earned-dark
   sections (.sec-dark, .final-cta, .night, .audit) are untouched.
   ============================================================ */
.page-hero .kicker,
.page-hero .label,
.page-hero .section-sub,
.page-hero .eyebrow,
.page-hero p,
.page-hero li,
.page-hero .prose p,
.page-hero .prose li,
.page-hero .form-group label { color: var(--gray); }
.page-hero h1, .page-hero h2, .page-hero h3,
.page-hero-headline,
.page-hero strong,
.page-hero .prose strong,
.page-hero .prose h2, .page-hero .prose h3 { color: var(--ink); }
.page-hero a { color: inherit; }
.page-hero .label .dot { background: var(--red); }
.page-hero .btn-line, .page-hero .btn-ghost {
  color: var(--ink); border-color: rgba(15,15,16,0.35); background: transparent;
}
.page-hero .btn-line:hover, .page-hero .btn-ghost:hover {
  border-color: var(--ink); background: rgba(15,15,16,0.04);
}
.page-hero .btn-red, .page-hero .btn-primary { color: #fff; }
.page-hero .card {
  background: var(--white); border-color: var(--line); color: var(--ink);
}
.page-hero .about-img {
  border-color: var(--line);
  background: linear-gradient(160deg, rgba(196,200,206,0.14), var(--white));
}
/* sig-plate quote card — light-surface version (used on about/contact heroes) */
.sig-plate {
  border-color: var(--line);
  background: linear-gradient(160deg, rgba(196,200,206,0.12), var(--white));
  box-shadow: 0 20px 46px -30px rgba(15,15,16,0.4);
}
.sig-plate::before { color: var(--red); background: var(--white); }
.sig-plate .q { color: var(--ink); }
.sig-plate .by b { color: var(--ink); }
.sig-plate .by span { color: var(--gray); }

/* ============================================================
   TYPOGRAPHIC REFINEMENT LAYER
   Purely additive — no existing rule is overridden, so every
   page inherits this without markup changes. Each declaration
   degrades to today's rendering where unsupported.
   ============================================================ */

/* Variable fonts must never be faux-bolded or faux-italicised: the
   browser synthesising a weight we already have an axis for is what
   makes type look "off" without being obviously wrong. */
html {
  font-synthesis: none;
  font-optical-sizing: auto;
  -moz-osx-font-smoothing: grayscale;
}

/* Headlines break on meaning, not on whatever fits — kills the
   one-word orphan line that reads as untended. Costs nothing:
   the browser only balances short blocks. */
h1, h2, h3, h4,
.h-display, .hero h1, .page-hero h1, .page-hero-headline,
.kicker, .plate b, .calc-label, .stat-label {
  text-wrap: balance;
}

/* Body copy: no single-word final lines. */
p, li, .section-sub, .hero-sub, blockquote, figcaption, dd {
  text-wrap: pretty;
}

/* Measure, for long-form only. The hero and section subheads already
   carry deliberate max-widths tuned to their grid columns — widening
   those to a generic 68ch made the hero column looser than designed,
   so they are left alone on purpose. This covers article body copy,
   which has no measure of its own. */
.prose p, .prose li, article p, article li { max-width: 72ch; }

/* Quotes and folio marks hang into the margin instead of indenting
   the text block away from the grid. Safari-only today, inert
   elsewhere, and it is exactly the detail that separates set type
   from typed text. */
blockquote, .sig-plate .q, .q { hanging-punctuation: first last; }

/* Optical tightening: the larger the display size, the less tracking
   it wants. The existing clamps set size fluidly, so tracking has to
   move with them or big headlines read loose. */
@media (min-width: 1100px) {
  .hero h1 { letter-spacing: -0.036em; }
  h2.h-display { letter-spacing: -0.032em; }
}

/* Mono labels are the opposite case — small caps-y text needs its
   tracking held open, and its numerals aligned in columns. */
.kicker, .stat-label, .calc-label, .tally-row .l {
  font-variant-numeric: tabular-nums;
}

/* Visually hidden, still read aloud. Used where a placeholder was
   carrying the label — placeholders vanish on focus and are skipped
   by some screen readers, so the field needs a real label behind it. */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- calculator: usability pass ----------
   The original was three bare sliders and a number. It now reads as a
   tool: pick your trade, nudge with buttons if a slider is fiddly, and
   see the arithmetic written out so the result is believable. */

/* Label goes quiet; the VALUE is the loud thing on the row. */
.calc-field label {
  display: block;
  text-transform: none;
  font-family: var(--font-body);
  font-size: 14px; letter-spacing: 0;
  color: var(--ink); font-weight: 600;
  margin-bottom: 10px;
}
.cf-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 12px;
}
.cf-row output {
  flex: 1 1 auto; text-align: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(24px, 4vw, 30px); color: var(--ink);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  line-height: 1;
}
/* 46px targets — comfortably above the 44px minimum, because the
   people using this are often on a phone in a truck. */
.calc-step {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  line-height: 1; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 50%;
  transition: background .2s, border-color .2s, transform .12s;
  -webkit-tap-highlight-color: transparent;
}
.calc-step:hover { border-color: var(--ink); background: var(--paper-2); }
.calc-step:active { transform: scale(0.94); }
.calc-step:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.cf-hint {
  display: block; margin-top: 10px;
  font-size: 12.5px; line-height: 1.5; color: var(--gray);
}

/* Fatter, more grabbable track. */
.calc-field input[type="range"] { height: 4px; border-radius: 4px; }
.calc-field input[type="range"]::-webkit-slider-thumb { width: 26px; height: 26px; }
.calc-field input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; }
.calc-field input[type="range"]:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }

/* The arithmetic, in words. */
.calc-plain {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px; line-height: 1.6; color: var(--gray);
  font-variant-numeric: tabular-nums;
}
.calc-jobs {
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,245,242,0.6);
}

/* ---------- calculator: trade presets + verdict ---------- */
.calc-presets { margin-bottom: 30px; }
.cp-label {
  display: block; margin-bottom: 11px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray);
}
.cp-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cp {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  /* min-height, not padding: these are primary controls on a phone and
     must clear the 44px touch target regardless of font metrics. */
  min-height: 44px; padding: 9px 16px; border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: transparent; color: var(--gray);
  transition: color .25s, border-color .25s, background .25s;
  -webkit-tap-highlight-color: transparent;
}
/* Nine chips will not stack into a readable grid on a phone, so the row
   becomes a snap rail that bleeds to the card edge — the cut-off chip at
   the fade is the affordance that says "there are more". */
@media (max-width: 620px) {
  .cp-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * clamp(28px, 4vw, 48px));
    /* 6px block padding so a focus ring is never clipped by the scroller */
    padding: 6px clamp(28px, 4vw, 48px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 30px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 30px), transparent 100%);
  }
  .cp-row::-webkit-scrollbar { display: none; }
  .cp { flex: 0 0 auto; scroll-snap-align: start; }
}
.cp:hover { color: var(--ink); border-color: var(--ink); }
.cp.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cp:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
/* Manual entry reads as a peer of the trades, not a leftover. */
.cp-mine { border-style: dashed; color: var(--ink); }
.cp-mine.on { border-style: solid; }

.calc-verdict-link {
  color: inherit;
  border-bottom: 1px solid rgba(196,200,206,0.45);
  transition: border-color 0.2s, color 0.2s;
}
.calc-verdict-link:hover { color: var(--paper); border-bottom-color: var(--gold); }
.calc-verdict-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.calc-verdict {
  margin-top: 16px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  line-height: 1.45; color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* ---------- calculator v3: benchmark · monthly⇄yearly flip · copy ---------- */

/* The comparison that makes the number mean something. Quiet on purpose —
   it is context, not the headline. */
.calc-bench {
  margin-top: 14px;
  font-size: 13px; line-height: 1.6;
  color: rgba(245,245,242,0.58);
  font-variant-numeric: tabular-nums;
}
.calc-bench b { color: rgba(245,245,242,0.9); font-weight: 600; }

/* The twelve-month row is now a control; it has to look tappable without
   shouting, so the swap glyph carries the affordance. */
.calc-year {
  width: 100%;
  background: none;
  border: 0;
  border-top: 1px solid var(--line-inv-soft);
  border-radius: 2px;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .2s;
}
.calc-year:hover { border-top-color: rgba(245,245,242,0.28); }
.calc-year:hover .cy-swap { opacity: 1; }
.calc-year:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.cy-swap {
  display: inline-block; margin-left: 6px;
  opacity: 0.5; transition: opacity .2s;
}

.calc-tools { margin-top: 16px; }
.calc-copy {
  background: none; border: 0; padding: 8px 0;
  min-height: 44px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,245,242,0.55);
  border-bottom: 1px solid rgba(245,245,242,0.22);
  transition: color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.calc-copy:hover { color: var(--paper); border-bottom-color: rgba(245,245,242,0.6); }
.calc-copy:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- calculator result funnel (ships hidden — see SITE_FLAGS) ----------
   The number stays ungated. These are the two things worth doing with it:
   have it texted to you, or bring it to a booked call. */
[hidden] { display: none !important; }

.calc-funnel { margin-top: 26px; }
.cs-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cs-row input[type="tel"] {
  flex: 1 1 190px; min-width: 0;
  min-height: 52px; padding: 14px 16px;
  background: rgba(245,245,242,0.06);
  border: 1px solid rgba(245,245,242,0.22);
  border-radius: 3px;
  color: var(--paper); font-size: 16px;   /* 16px stops iOS zooming the page on focus */
  font-variant-numeric: tabular-nums;
}
.cs-row input[type="tel"]::placeholder { color: rgba(245,245,242,0.34); }
.cs-row input[type="tel"]:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245,245,242,0.09);
}
.cs-row .btn { flex: 0 0 auto; }
@media (max-width: 520px) { .cs-row .btn { flex: 1 1 100%; justify-content: center; } }

.calc-tcpa {
  margin-top: 14px;
  font-size: 11px; line-height: 1.55;
  color: rgba(245,245,242,0.45);
}
.calc-tcpa strong { color: rgba(245,245,242,0.8); }
.calc-tcpa a { color: var(--gold); text-decoration: underline; }

.calc-funnel-alt {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--line-inv-soft);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
/* The result card is dark but sits in a light section, so it needs the
   inverted outline treatment spelled out. */
.calc-result .btn-line { color: var(--paper); border-color: rgba(245,245,242,0.32); }
.calc-result .btn-line:hover { border-color: var(--paper); background: rgba(245,245,242,0.06); }
.calc-alt-link {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,245,242,0.5);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.calc-alt-link:hover { color: var(--paper); border-bottom-color: rgba(245,245,242,0.4); }

/* ============================================================
   THE LEDGER — scroll-driven tally (signature scene)
   A tall track scrolls past a sticky stage; JS maps scroll
   progress onto row entry and the running total. Only opacity
   and transform animate, so it stays off the layout path.
   ============================================================ */
.ledger-track {
  position: relative;
  height: 340vh;
  margin-top: clamp(40px, 6vw, 64px);
}
.ledger-stage {
  position: sticky; top: 0;
  height: 100vh;
  display: grid; place-items: center;
}
.ledger-sheet {
  position: relative;
  width: min(720px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(26px, 4vw, 44px) clamp(20px, 4vw, 46px) clamp(24px, 3.4vw, 36px);
  box-shadow: 0 1px 0 rgba(15,15,16,0.04), 0 22px 60px -30px rgba(15,15,16,0.4);
}

/* Registration marks — the printer's crop guides. Pure craft signal. */
.reg { position: absolute; width: 13px; height: 13px; opacity: 0.5; }
.reg::before, .reg::after { content: ""; position: absolute; background: var(--gold); }
.reg::before { left: 50%; top: 0; width: 1px; height: 100%; }
.reg::after  { top: 50%; left: 0; height: 1px; width: 100%; }
.reg-tl { top: 10px; left: 10px; } .reg-tr { top: 10px; right: 10px; }
.reg-bl { bottom: 10px; left: 10px; } .reg-br { bottom: 10px; right: 10px; }

.ledger-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px solid var(--ink);
}
.ledger-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.32rem); letter-spacing: -0.02em;
}
.ledger-meta {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray);
}

.ledger-rows { list-style: none; margin: 0; padding: 0; }
.ledger-rows li {
  display: grid;
  grid-template-columns: minmax(78px, auto) 1fr auto;
  gap: clamp(10px, 2vw, 22px);
  align-items: baseline;
  padding: clamp(9px, 1.5vw, 13px) 0;
  border-bottom: 1px solid var(--line-soft);
  /* Fail open, same doctrine as the hero: the default state is the
     FINISHED state, and JS resets these to 0 only once it has taken
     control. If the script never runs, the ledger reads as a plain
     finished table instead of a blank sheet. */
  opacity: var(--row-o, 1);
  transform: translateY(var(--row-y, 0));
  will-change: opacity, transform;
}
.lr-time {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--gray); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.lr-time i { font-style: normal; font-size: 9px; margin-left: 2px; opacity: 0.75; }
.lr-note { font-size: clamp(0.86rem, 1.5vw, 0.96rem); color: var(--ink); }
.lr-amt {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(0.92rem, 1.7vw, 1.06rem);
  font-variant-numeric: tabular-nums; color: var(--ink);
  white-space: nowrap;
}

.ledger-total {
  display: grid; grid-template-columns: 1fr auto;
  align-items: baseline; gap: 12px;
  margin-top: clamp(14px, 2.4vw, 22px); position: relative;
}
.lt-rule {
  grid-column: 1 / -1; height: 2px; background: var(--ink);
  transform: scaleX(var(--rule-s, 1)); transform-origin: left center;
  margin-bottom: 12px;
}
.lt-label {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray);
}
.lt-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1; letter-spacing: -0.035em;
  color: var(--red); font-variant-numeric: tabular-nums;
  text-align: right;
}
.ledger-kicker {
  margin-top: 16px; text-align: right;
  font-size: clamp(0.88rem, 1.5vw, 0.98rem); color: var(--gray);
  opacity: var(--kick-o, 1); transform: translateY(var(--kick-y, 0));
}
.ledger-handoff {
  margin-top: clamp(28px, 4vw, 44px); text-align: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray);
}

/* Short viewports: the sheet must never be taller than the stage. */
@media (max-height: 700px) {
  .ledger-sheet { padding-top: 20px; padding-bottom: 20px; transform: scale(0.9); }
}

/* No scroll choreography for motion-sensitive users or no-JS: the
   ledger is simply a finished, fully-legible table. */
@media (prefers-reduced-motion: reduce) {
  .ledger-track { height: auto; }
  .ledger-stage { position: static; height: auto; padding: 0; }
  .ledger-rows li { opacity: 1; transform: none; }
  .lt-rule { transform: none; }
  .ledger-kicker { opacity: 1; transform: none; }
}
.no-js .ledger-track { height: auto; }
.no-js .ledger-stage { position: static; height: auto; }
.no-js .ledger-rows li, .no-js .ledger-kicker { opacity: 1; transform: none; }
.no-js .lt-rule { transform: none; }

/* ============================================================
   CROSS-DOCUMENT VIEW TRANSITIONS
   Removes the white hard-reload flash between pages on a static
   multi-page site — no router, no JS, no dependency. Browsers
   without support navigate exactly as they do today.
   ============================================================ */
@view-transition { navigation: auto; }

/* The page body carries a short, asymmetric cross-fade: the outgoing
   page leaves faster than the incoming one arrives, which reads as
   the new page covering the old rather than the two dissolving. */
@keyframes vt-fade-out { to   { opacity: 0; } }
@keyframes vt-fade-in  { from { opacity: 0; transform: translateY(8px); } }

::view-transition-old(root) {
  animation: vt-fade-out 140ms cubic-bezier(0.4, 0, 1, 1) both;
}
::view-transition-new(root) {
  animation: vt-fade-in 320ms var(--ease-out) both;
}

/* Chrome — persistent furniture. The masthead and the call bar are
   the same object on both pages, so they hold still while the page
   body changes underneath them. Naming them opts them out of the
   root cross-fade entirely. */
.nav-logo img { view-transition-name: site-logo; }
#callbar        { view-transition-name: site-callbar; }

/* Motion-sensitive users get the navigation without the movement —
   the transition still runs (no flash) but nothing animates. */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}


/* The FAQ question is a real heading so answer engines can see a question
   followed by its answer — the one AEO signal this page was missing. Visually
   it must stay exactly what summary already was, so it inherits everything and
   keeps summary's two-column grid (heading + the ::before/::after icon). */
.faq summary .faq-q {
  margin: 0; font: inherit; letter-spacing: inherit; color: inherit;
  font-weight: inherit; display: block;
}
/* ---------- HERO SCENE — West Texas at work, day to dusk (hero-scene.js) ----------
   Hand-drawn line art: an original Lubbock skyline (Texas Tech towers, Metro
   Tower, Wells Fargo Building, tax office, Citizens Tower, courthouse), wind
   farm on the caprock, windmill, pump jacks, cotton gin, freight train, two
   lanes of traffic. --p goes 0 (day) to 1 (dusk) as the hero scrolls away. */
.hero { padding-bottom: calc(clamp(270px, 29vw, 430px) + 28px); }
.hero > .container { position: relative; z-index: 1; }
.hs { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(270px, 29vw, 430px); z-index: 0; pointer-events: none; --p: 0; }
.hs svg { position: absolute; left: -3%; top: 0; width: 106%; height: 100%; }
.hs .ln { fill: none; stroke: #2b2723; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hs .ln.thin { stroke-width: 1.2; }
.hs .fill-ln { fill: var(--paper-2); stroke: #2b2723; stroke-width: 1.7; stroke-linejoin: round; }
.hs .l-far .ln { stroke: #b3a283; }
.hs .cloud path { fill: var(--paper-2); stroke: #c8b896; stroke-width: 1.4; }
.hs .mesa { fill: #EDE2CD; stroke: #bfae8e; stroke-width: 1.5; stroke-linejoin: round; }
.hs .strata { fill: none; stroke: #cdbd9e; stroke-width: 1.1; }
.hs .trace { fill: none; stroke: #2b2723; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hs-draw 1.6s cubic-bezier(.45,0,.2,1) forwards; }
@keyframes hs-draw { to { stroke-dashoffset: 0; } }
.hs .antenna { fill: var(--red); }
.hs .sun { transform: translateY(calc(var(--p) * 130px)); }
.hs .ray { stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; }
.hs .dusk { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #f0935a 0%, #c0607a 36%, rgba(68,73,122,.85) 70%, rgba(68,73,122,0) 100%); mix-blend-mode: multiply; opacity: calc(var(--p) * .6); }
.hs .l-glow { filter: drop-shadow(0 0 3px rgba(255,176,70,.9)); }
.hs:not(.dusk-on) .dusk, .hs:not(.dusk-on) .l-glow { display: none; }
.hs:not(.go) .trace { animation-play-state: paused; }
.hs .lit { fill: none; stroke: #FFBE5C; stroke-linecap: round; opacity: calc(var(--p) * 1.6 - .6); }
.hs .lamp { fill: #FFC66B; opacity: calc(var(--p) * 1.8 - .8); }
.hs .beam { fill: #FFD68A; opacity: calc(var(--p) * .45); }
.hs .van { fill: #FDFDFC; stroke: #2b2723; stroke-width: 1.5; stroke-linejoin: round; }
.hs .sedan { fill: #D7B45E; stroke: #2b2723; stroke-width: 1.5; stroke-linejoin: round; }
.hs .tw { fill: none; stroke: #8a7654; stroke-width: 1.5; stroke-linecap: round; }
.hs .bale { fill: #E6C77E; stroke: #2b2723; stroke-width: 1.4; }
.hs .tank { fill: #EDE2CD; stroke: #2b2723; stroke-width: 1.5; }
.hs .classic { fill: var(--red); stroke: #2b2723; stroke-width: 1.5; stroke-linejoin: round; }
.hs .roof { fill: #FAFAF8; stroke: #2b2723; stroke-width: 1.3; }
.hs .loco { fill: #F2EADA; stroke: #2b2723; stroke-width: 1.5; stroke-linejoin: round; }
.hs .hopper { fill: #E3D3B2; stroke: #2b2723; stroke-width: 1.4; stroke-linejoin: round; }
.hs .hopper2 { fill: #D7B45E; stroke: #2b2723; stroke-width: 1.4; stroke-linejoin: round; }
.hs .ground { fill: var(--paper); stroke: #2b2723; stroke-width: 1.7; }
.hs .road { fill: #E6DBC6; stroke: #2b2723; stroke-width: 1.5; }
.hs .dash { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 22 18; fill: none; }
.hs .truck { fill: var(--red); stroke: #2b2723; stroke-width: 1.6; stroke-linejoin: round; }
.hs .glass { fill: #FAFAF8; stroke: #2b2723; stroke-width: 1.2; }
.hs .dust circle { fill: #d8c9ab; }
.hs .rows { stroke: #cdbd9e; stroke-width: 1.2; fill: none; }
.hs .cotton circle { fill: #FDFDFC; stroke: #bba985; stroke-width: 1; }
@media (max-width: 1023px) {
  .hs .t-hide { display: none; }
  .hero { padding-bottom: 350px; }
  .hs { height: 320px; }
}
@media (max-width: 699px) {
  .hs .m-hide { display: none; }
  .hero { padding-bottom: 292px; }
  .hs { height: 262px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs .trace { animation: none; stroke-dashoffset: 0; }
}

/* ============================================================
   HERO SERVICE LEDGER  (replaces the .tally stat card)
   The tally carried three unsourced world-stats. This states
   what we sell instead, so it needs no citation.
   ============================================================ */
.hero-svc {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 3px;
  padding: 26px 26px 22px;
  position: relative;
  box-shadow: 0 30px 60px -38px rgba(15, 15, 16, 0.45);
}
.hero-svc::before {
  content: "THE WORK";
  position: absolute; top: -9px; left: 20px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.24em; color: var(--red);
  background: var(--white); padding: 0 8px;
}
.hs-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 8px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.hs-eyebrow {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray);
}
.hs-for { font-size: 13px; color: var(--gray); white-space: nowrap; }
.hs-type {
  color: var(--ink); font-weight: 700;
  /* reserve the width of the longest trade so typing never reflows the row */
  display: inline-block; min-width: 8.5ch;
}
.hs-caret {
  display: inline-block; width: 1px; height: 1em;
  background: var(--red); margin-left: 1px;
  vertical-align: -0.15em; animation: hs-blink 1.05s steps(1) infinite;
}
@keyframes hs-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.hs-list { list-style: none; margin: 0; padding: 0; }
.hs-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink); line-height: 1.4;
}
.hs-list li:last-child { border-bottom: 0; }
.hs-n {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.1em; color: var(--red);
  flex: 0 0 auto; min-width: 2ch;
}
.hs-foot {
  margin: 14px 0 0; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--gray); line-height: 1.55;
}
@media (max-width: 860px) {
  .hs-for { white-space: normal; }
  .hs-list li { font-size: 14px; }
}
/* Reduced motion: no caret blink, no typing — the trade word just sits there. */
@media (prefers-reduced-motion: reduce) {
  .hs-caret { animation: none; opacity: 0; }
}

/* ---------- SMS consent checkboxes (A2P 10DLC, 2026-11-12) ----------
   Unchecked by default; inherits the form's text colour so it works on
   dark (ink) and light (paper) forms alike. */
.sms-consent { border: 0; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; min-width: 0; text-align: left; }
.sms-consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: inherit; cursor: pointer; font-weight: 400; text-transform: none; letter-spacing: normal; font-family: var(--font-body); }
.sms-consent-row input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); cursor: pointer; }
.sms-consent-row span { opacity: .88; }
.sms-consent-fine { margin: 0; font-size: 12px; line-height: 1.5; opacity: .72; }
.sms-consent-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sms-consent + button, .sms-consent + .btn { margin-top: 16px; }
.audit-frame .sms-consent { color: #33333a; }

/* New chrome logo is wider (2.08:1). Never let the nav flexbox squeeze it. */
.nav-logo { flex: none; display: inline-flex; align-items: center; }
.nav-logo img { max-width: none; }
