/* ==========================================================================
   Laredo Pest Pro — "Border Manifest" design system
   Ink-black / paper-ivory / stamp-red / deep-plum palette.
   Barlow Condensed (display) + Public Sans (body) + IBM Plex Mono (labels).
   Gateway/bridge/river logo. Manifest/dossier/corridor/heat-band vocabulary.
   Distinct from Brownsville (green organic), McAllen (terracotta editorial),
   and Harlingen (navy/cyan dispatch grid).
   ========================================================================== */

:root {
  /* Palette */
  --bpm-ink: #1F1B1B;
  --bpm-ink-2: #3A3333;
  --bpm-paper: #F7F1E8;
  --bpm-paper-2: #FBF7F0;
  --bpm-dust: #E9DFD2;
  --bpm-concrete: #6F6A63;
  --bpm-concrete-2: #8A8278;
  --bpm-stamp: #B91C2E;
  --bpm-stamp-2: #C1121F;
  --bpm-plum: #4C1D3F;
  --bpm-plum-2: #6B2A57;
  --bpm-line: #D9CFBF;
  --bpm-white: #FFFFFF;
  --bpm-success: #2F6B3A;

  /* Typography */
  --bpm-font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --bpm-font-body: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
  --bpm-font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Type scale */
  --bpm-text-sm: 0.875rem;
  --bpm-text-base: 1rem;
  --bpm-text-lg: 1.125rem;
  --bpm-text-xl: 1.5rem;
  --bpm-text-2xl: 2rem;
  --bpm-text-3xl: 2.75rem;
  --bpm-text-hero: 3.5rem;

  /* Spacing */
  --bpm-space-1: 0.25rem;
  --bpm-space-2: 0.5rem;
  --bpm-space-3: 0.75rem;
  --bpm-space-4: 1rem;
  --bpm-space-5: 1.25rem;
  --bpm-space-6: 1.5rem;
  --bpm-space-7: 2rem;
  --bpm-space-8: 2.5rem;
  --bpm-space-9: 3rem;
  --bpm-space-10: 4rem;
  --bpm-space-12: 5rem;

  /* Shadows */
  --bpm-shadow-sm: 0 1px 2px rgba(31, 27, 27, 0.06);
  --bpm-shadow-md: 0 4px 12px rgba(31, 27, 27, 0.08);
  --bpm-shadow-lg: 0 12px 32px rgba(31, 27, 27, 0.12);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--bpm-font-body);
  font-size: var(--bpm-text-base);
  line-height: 1.65;
  color: var(--bpm-ink);
  background-color: var(--bpm-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--bpm-stamp); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--bpm-font-display); font-weight: 600; line-height: 1.1; text-wrap: balance; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--bpm-space-6); }

/* ==========================================================================
   Site nav — paper bar with manifest-tag brand
   ========================================================================== */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bpm-paper-2);
  border-bottom: 2px solid var(--bpm-ink);
}
.site-nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--bpm-space-4);
  height: 70px;
}
.brand-cluster { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; color: var(--bpm-ink); flex-shrink: 0; }
.brand-name {
  font-family: var(--bpm-font-display); font-weight: 600; font-size: 1.25rem;
  color: var(--bpm-ink); line-height: 1.1; letter-spacing: 0.01em;
}
.brand-sub { font-size: 0.6875rem; color: var(--bpm-concrete); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: var(--bpm-text-sm); font-weight: 600; color: var(--bpm-ink-2);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--bpm-stamp); transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover { color: var(--bpm-stamp); text-decoration: none; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--bpm-font-display); font-weight: 600; font-size: var(--bpm-text-sm);
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--bpm-ink); color: var(--bpm-paper-2);
  padding: 9px 18px; border: none; cursor: pointer;
}
.nav-cta a:hover { background: var(--bpm-stamp); text-decoration: none; }

.menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--bpm-ink); padding: 6px; }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .brand-sub { display: none; }
  .site-nav-inner { height: 62px; }
  .site-nav.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 62px; left: 0; right: 0;
    background: var(--bpm-paper-2); border-bottom: 2px solid var(--bpm-ink);
    padding: var(--bpm-space-6); gap: 16px; box-shadow: var(--bpm-shadow-lg);
  }
  .site-nav.menu-open .nav-cta { align-self: flex-start; }
}

/* ==========================================================================
   Manifest hero — condensed headline + request-manifest panel
   ========================================================================== */
.manifest-hero {
  background: var(--bpm-paper);
  border-bottom: 1px solid var(--bpm-line);
  padding: var(--bpm-space-10) 0 var(--bpm-space-8);
}
.manifest-hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--bpm-space-10);
  align-items: center;
}
.manifest-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--bpm-font-mono); font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--bpm-stamp); margin-bottom: var(--bpm-space-4);
}
.manifest-eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--bpm-stamp);
}
.manifest-title {
  font-size: var(--bpm-text-hero); font-weight: 600; color: var(--bpm-ink);
  letter-spacing: -0.01em; margin-bottom: var(--bpm-space-4);
}
.manifest-title em { font-style: italic; color: var(--bpm-stamp); font-weight: 600; }
.manifest-lede {
  font-size: var(--bpm-text-lg); color: var(--bpm-ink-2); max-width: 50ch;
  margin-bottom: var(--bpm-space-6);
}
.manifest-actions { display: flex; gap: var(--bpm-space-3); flex-wrap: wrap; }
.manifest-note {
  margin-top: var(--bpm-space-5); font-size: var(--bpm-text-sm); color: var(--bpm-concrete);
  display: flex; align-items: center; gap: 8px;
}
.manifest-note svg { width: 16px; height: 16px; color: var(--bpm-success); flex-shrink: 0; }

/* Request manifest panel — stamped file card */
.request-manifest {
  background: var(--bpm-white);
  border: 2px solid var(--bpm-ink);
  position: relative;
  box-shadow: 6px 6px 0 var(--bpm-dust);
}
.request-manifest::before {
  content: "REQUEST MANIFEST"; position: absolute; top: -10px; left: 20px;
  font-family: var(--bpm-font-mono); font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--bpm-ink); color: var(--bpm-paper-2);
  padding: 3px 12px;
}
.manifest-rows { padding: var(--bpm-space-6); }
.manifest-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--bpm-space-3); padding: var(--bpm-space-3) 0;
  border-bottom: 1px dashed var(--bpm-line);
}
.manifest-row:last-child { border-bottom: none; }
.manifest-row-label {
  font-family: var(--bpm-font-mono); font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--bpm-concrete);
}
.manifest-row-value {
  font-family: var(--bpm-font-display); font-weight: 600; font-size: 1.125rem;
  color: var(--bpm-ink); text-align: right;
}
.manifest-stamp {
  position: absolute; bottom: -12px; right: -8px;
  font-family: var(--bpm-font-mono); font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--bpm-stamp); border: 2px solid var(--bpm-stamp);
  padding: 4px 10px; transform: rotate(-6deg);
  background: var(--bpm-paper-2);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--bpm-font-display); font-weight: 600; font-size: var(--bpm-text-sm);
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--bpm-ink); color: var(--bpm-paper-2);
  padding: 12px 24px; border: 2px solid var(--bpm-ink); cursor: pointer;
}
.btn-primary:hover { background: var(--bpm-stamp); border-color: var(--bpm-stamp); text-decoration: none; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--bpm-font-display); font-weight: 600; font-size: var(--bpm-text-sm);
  text-transform: uppercase; letter-spacing: 0.06em;
  background: transparent; color: var(--bpm-ink);
  padding: 12px 24px; border: 2px solid var(--bpm-ink); cursor: pointer;
}
.btn-ghost:hover { background: var(--bpm-ink); color: var(--bpm-paper-2); text-decoration: none; }

.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--bpm-font-display); font-weight: 600; font-size: var(--bpm-text-sm);
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--bpm-stamp);
}
.btn-link::after { content: "→"; }
.btn-link:hover { color: var(--bpm-plum); text-decoration: none; }

/* ==========================================================================
   Section utilities
   ========================================================================== */
.section { padding: var(--bpm-space-10) 0; }
.section--paper { background: var(--bpm-paper-2); border-top: 1px solid var(--bpm-line); border-bottom: 1px solid var(--bpm-line); }
.section--ink { background: var(--bpm-ink); color: var(--bpm-paper-2); }
.section--ink h2, .section--ink h3 { color: var(--bpm-paper-2); }
.section--plum { background: var(--bpm-plum); color: var(--bpm-paper-2); }

.section-eyebrow {
  font-family: var(--bpm-font-mono); font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--bpm-stamp);
  margin-bottom: var(--bpm-space-3); display: flex; align-items: center; gap: 8px;
}
.section--ink .section-eyebrow { color: var(--bpm-dust); }
.section-eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }

.section-title {
  font-size: var(--bpm-text-2xl); font-weight: 600; color: var(--bpm-ink);
  margin-bottom: var(--bpm-space-3); letter-spacing: -0.01em;
}
.section--ink .section-title { color: var(--bpm-paper-2); }
.section-lede {
  font-size: var(--bpm-text-lg); color: var(--bpm-concrete); max-width: 60ch;
  margin-bottom: var(--bpm-space-8);
}
.section--ink .section-lede { color: var(--bpm-dust); }

/* ==========================================================================
   Heat pressure bands — horizontal risk-lane chart
   ========================================================================== */
.heat-bands { display: flex; flex-direction: column; gap: var(--bpm-space-3); }
.heat-band {
  display: grid; grid-template-columns: 200px 1fr 80px;
  align-items: center; gap: var(--bpm-space-4);
  padding: var(--bpm-space-4) var(--bpm-space-5);
  background: var(--bpm-white); border: 1px solid var(--bpm-line);
  border-left: 4px solid var(--bpm-stamp);
}
.heat-band-name {
  font-family: var(--bpm-font-display); font-weight: 600; font-size: 1.125rem;
  color: var(--bpm-ink);
}
.heat-band-track {
  height: 10px; background: var(--bpm-dust); position: relative; overflow: hidden;
}
.heat-band-fill {
  height: 100%; background: linear-gradient(90deg, var(--bpm-stamp), var(--bpm-plum));
}
.heat-band-level {
  font-family: var(--bpm-font-mono); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; text-align: right; color: var(--bpm-stamp);
}

/* ==========================================================================
   Corridor map — vertical lane strips
   ========================================================================== */
.corridor-map {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--bpm-space-3);
}
.corridor-strip {
  background: var(--bpm-white); border: 1px solid var(--bpm-line);
  border-top: 4px solid var(--bpm-plum); padding: var(--bpm-space-5);
  text-decoration: none; display: flex; flex-direction: column; gap: var(--bpm-space-2);
  transition: border-top-color 0.2s, box-shadow 0.2s;
}
.corridor-strip:hover { border-top-color: var(--bpm-stamp); box-shadow: var(--bpm-shadow-md); text-decoration: none; }
.corridor-zip {
  font-family: var(--bpm-font-mono); font-size: 0.75rem; font-weight: 500;
  color: var(--bpm-concrete); letter-spacing: 0.04em;
}
.corridor-name {
  font-family: var(--bpm-font-display); font-weight: 600; font-size: 1.0625rem;
  color: var(--bpm-ink); line-height: 1.2;
}
.corridor-tag {
  font-size: var(--bpm-text-sm); color: var(--bpm-concrete-2); line-height: 1.5;
}

/* ==========================================================================
   Operator dossiers — stacked file folders (accordion)
   ========================================================================== */
.dossier-stack { display: flex; flex-direction: column; gap: var(--bpm-space-4); }
.operator-dossier {
  background: var(--bpm-white); border: 1px solid var(--bpm-line);
  border-left: 4px solid var(--bpm-ink); position: relative;
  transition: box-shadow 0.2s;
}
.operator-dossier:hover { box-shadow: var(--bpm-shadow-md); }
.file-tab {
  position: absolute; top: -1px; left: var(--bpm-space-5);
  background: var(--bpm-ink); color: var(--bpm-paper-2);
  font-family: var(--bpm-font-mono); font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px;
}
.dossier-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--bpm-space-4);
  padding: var(--bpm-space-5); padding-top: var(--bpm-space-6);
}
.dossier-name-block { flex: 1; }
.dossier-name {
  font-family: var(--bpm-font-display); font-weight: 600; font-size: 1.25rem;
  color: var(--bpm-ink); margin-bottom: 4px; line-height: 1.2;
}
.dossier-addr { font-size: var(--bpm-text-sm); color: var(--bpm-concrete); }
.dossier-rating { text-align: right; flex-shrink: 0; }
.dossier-stars {
  font-family: var(--bpm-font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--bpm-stamp); line-height: 1;
}
.dossier-reviews {
  font-family: var(--bpm-font-mono); font-size: 0.75rem; color: var(--bpm-concrete);
  text-transform: uppercase; letter-spacing: 0.04em; margin-top: 4px;
}
.dossier-stamps {
  display: flex; flex-wrap: wrap; gap: var(--bpm-space-2);
  padding: 0 var(--bpm-space-5) var(--bpm-space-5);
}
.stamp-chip {
  font-family: var(--bpm-font-mono); font-size: 0.6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.04em;
  border: 1px solid var(--bpm-line); color: var(--bpm-ink-2);
  padding: 3px 8px; background: var(--bpm-paper-2);
}
.stamp-chip--verified { border-color: var(--bpm-success); color: var(--bpm-success); }
.stamp-chip--stamp { border-color: var(--bpm-stamp); color: var(--bpm-stamp); }
.dossier-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--bpm-space-4) var(--bpm-space-5);
  border-top: 1px solid var(--bpm-line); background: var(--bpm-paper-2);
}
.dossier-tenure {
  font-family: var(--bpm-font-mono); font-size: 0.75rem; color: var(--bpm-concrete);
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* ==========================================================================
   Route stamps — 3-step request flow
   ========================================================================== */
.route-stamps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--bpm-space-5);
}
.route-stamp {
  background: var(--bpm-white); border: 2px solid var(--bpm-ink);
  padding: var(--bpm-space-6); position: relative;
  box-shadow: 4px 4px 0 var(--bpm-dust);
}
.route-stamp-num {
  position: absolute; top: -14px; left: var(--bpm-space-5);
  font-family: var(--bpm-font-mono); font-size: 0.75rem; font-weight: 700;
  background: var(--bpm-ink); color: var(--bpm-paper-2);
  padding: 4px 10px; letter-spacing: 0.08em;
}
.route-stamp h3 {
  font-size: var(--bpm-text-lg); color: var(--bpm-ink); margin-bottom: var(--bpm-space-2);
  margin-top: var(--bpm-space-2);
}
.route-stamp p { font-size: var(--bpm-text-sm); color: var(--bpm-concrete); line-height: 1.6; }

/* ==========================================================================
   Split panel — paper-panel + border-note
   ========================================================================== */
.split-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--bpm-space-8);
  align-items: center;
}
.split-panel-media { position: relative; }
.split-panel-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 2px solid var(--bpm-ink); }
.split-panel-media .corner-stamp {
  position: absolute; bottom: -10px; right: -8px;
  font-family: var(--bpm-font-mono); font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--bpm-paper-2); color: var(--bpm-stamp);
  border: 2px solid var(--bpm-stamp); padding: 4px 10px; transform: rotate(-4deg);
}
.split-panel-body h2 { font-size: var(--bpm-text-xl); color: var(--bpm-ink); margin-bottom: var(--bpm-space-4); }
.split-panel-body p { color: var(--bpm-concrete); margin-bottom: var(--bpm-space-4); }
.check-list { display: flex; flex-direction: column; gap: var(--bpm-space-3); }
.check-list li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--bpm-ink-2); font-size: var(--bpm-text-sm);
}
.check-list svg { width: 18px; height: 18px; color: var(--bpm-success); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   Stats panel — stamped gauges (not metric bar)
   ========================================================================== */
.stat-gauges {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--bpm-space-5);
}
.stat-gauge { text-align: center; }
.stat-gauge-value {
  font-family: var(--bpm-font-display); font-weight: 700; font-size: var(--bpm-text-3xl);
  color: var(--bpm-paper-2); line-height: 1;
}
.stat-gauge-label {
  font-family: var(--bpm-font-mono); font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--bpm-dust);
  margin-top: var(--bpm-space-2);
}

/* ==========================================================================
   Dispatch banner (CTA)
   ========================================================================== */
.dispatch-banner {
  background: var(--bpm-ink); color: var(--bpm-paper-2);
  padding: var(--bpm-space-8) 0; border-top: 2px solid var(--bpm-stamp);
}
.dispatch-banner-grid {
  display: flex; justify-content: space-between; align-items: center; gap: var(--bpm-space-6); flex-wrap: wrap;
}
.dispatch-banner h2 {
  font-size: var(--bpm-text-xl); color: var(--bpm-paper-2); margin-bottom: var(--bpm-space-2);
}
.dispatch-banner p { color: var(--bpm-dust); font-size: var(--bpm-text-sm); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot {
  background: var(--bpm-ink); color: var(--bpm-concrete-2);
  padding: var(--bpm-space-10) 0 var(--bpm-space-6);
  border-top: 4px solid var(--bpm-stamp);
}
.site-foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--bpm-space-8);
  margin-bottom: var(--bpm-space-8);
}
.site-foot h3 {
  font-family: var(--bpm-font-mono); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--bpm-dust);
  margin-bottom: var(--bpm-space-4);
}
.site-foot ul { display: flex; flex-direction: column; gap: 8px; }
.site-foot a { color: var(--bpm-paper-2); font-size: var(--bpm-text-sm); }
.site-foot a:hover { color: var(--bpm-stamp); }
.site-foot .foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: var(--bpm-space-4); }
.site-foot .foot-brand .brand-mark { width: 36px; height: 36px; color: var(--bpm-paper-2); }
.site-foot .foot-brand .brand-name { color: var(--bpm-paper-2); }
.site-foot .foot-blurb { font-size: var(--bpm-text-sm); color: var(--bpm-concrete-2); max-width: 40ch; line-height: 1.6; }
.site-foot-bottom {
  border-top: 1px solid var(--bpm-ink-2); padding-top: var(--bpm-space-5);
  display: flex; justify-content: space-between; gap: var(--bpm-space-4); flex-wrap: wrap;
  font-family: var(--bpm-font-mono); font-size: 0.75rem; color: var(--bpm-concrete-2);
}

/* ==========================================================================
   Content / article pages
   ========================================================================== */
.page-main { padding: var(--bpm-space-8) 0; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: var(--bpm-text-sm);
  color: var(--bpm-concrete); margin-bottom: var(--bpm-space-4); flex-wrap: wrap;
  font-family: var(--bpm-font-mono); letter-spacing: 0.02em;
}
.breadcrumb a { color: var(--bpm-concrete); font-weight: 600; }
.breadcrumb a:hover { color: var(--bpm-stamp); }
.breadcrumb span { color: var(--bpm-ink); font-weight: 600; }
.breadcrumb-sep { color: var(--bpm-line); }

.page-title { font-size: var(--bpm-text-3xl); color: var(--bpm-ink); margin-bottom: var(--bpm-space-3); letter-spacing: -0.01em; }
.page-lede { font-size: var(--bpm-text-lg); color: var(--bpm-concrete); margin-bottom: var(--bpm-space-8); max-width: 65ch; }

.prose { max-width: 72ch; }
.prose h2 { font-size: var(--bpm-text-xl); color: var(--bpm-ink); margin: var(--bpm-space-8) 0 var(--bpm-space-3); }
.prose h3 { font-size: 1.125rem; color: var(--bpm-ink-2); margin: var(--bpm-space-6) 0 var(--bpm-space-2); }
.prose p { color: var(--bpm-ink-2); margin-bottom: var(--bpm-space-4); }
.prose a { font-weight: 600; }
.prose ul { padding-left: 0; margin-bottom: var(--bpm-space-4); display: flex; flex-direction: column; gap: var(--bpm-space-2); }
.prose li { padding-left: 24px; position: relative; color: var(--bpm-ink-2); }
.prose li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--bpm-stamp); }
.prose ol.treatment-list { list-style: none; counter-reset: tstep; padding-left: 0; display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--bpm-space-4); }
.prose ol.treatment-list li { counter-increment: tstep; }
.prose ol.treatment-list li::before {
  content: counter(tstep); width: auto; height: auto; border-radius: 50%;
  background: var(--bpm-stamp); color: var(--bpm-paper-2);
  font-family: var(--bpm-font-display); font-weight: 700; font-size: 0.8125rem;
  top: 2px; padding: 2px 8px; line-height: 1.3;
}

/* Article meta */
.article-meta {
  display: flex; align-items: center; gap: var(--bpm-space-3); flex-wrap: wrap;
  margin-bottom: var(--bpm-space-6); padding-bottom: var(--bpm-space-4);
  border-bottom: 1px solid var(--bpm-line);
}
.article-tag {
  font-family: var(--bpm-font-mono); font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--bpm-ink); color: var(--bpm-paper-2); padding: 3px 10px;
}
.article-meta span { font-size: var(--bpm-text-sm); color: var(--bpm-concrete); }

/* Article cards */
.article-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--bpm-space-5); margin-top: var(--bpm-space-8); }
.article-card {
  background: var(--bpm-white); border: 1px solid var(--bpm-line);
  border-top: 4px solid var(--bpm-plum); padding: var(--bpm-space-5);
  text-decoration: none; display: flex; flex-direction: column; gap: var(--bpm-space-2);
  transition: border-top-color 0.2s, box-shadow 0.2s;
}
.article-card:hover { border-top-color: var(--bpm-stamp); box-shadow: var(--bpm-shadow-md); text-decoration: none; }
.article-card-tag { font-family: var(--bpm-font-mono); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bpm-stamp); }
.article-card h3 { font-size: 1.0625rem; color: var(--bpm-ink); }
.article-card p { font-size: var(--bpm-text-sm); color: var(--bpm-concrete); }

/* Price table */
.price-table-wrap { overflow-x: auto; margin-bottom: var(--bpm-space-8); }
.price-table { width: 100%; border-collapse: collapse; border: 2px solid var(--bpm-ink); background: var(--bpm-white); }
.price-table th {
  font-family: var(--bpm-font-mono); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; text-align: left;
  background: var(--bpm-ink); color: var(--bpm-paper-2);
  padding: var(--bpm-space-3) var(--bpm-space-4);
  border-bottom: 1px solid var(--bpm-ink);
}
.price-table td { padding: var(--bpm-space-3) var(--bpm-space-4); border-bottom: 1px solid var(--bpm-line); font-size: var(--bpm-text-sm); color: var(--bpm-ink-2); vertical-align: top; }
.price-table tr:last-child td { border-bottom: none; }
.price-table .price-range { font-family: var(--bpm-font-display); font-weight: 700; color: var(--bpm-stamp); white-space: nowrap; }
.price-table .price-cadence { font-family: var(--bpm-font-mono); font-size: 0.75rem; color: var(--bpm-concrete); text-transform: uppercase; letter-spacing: 0.04em; }

/* ==========================================================================
   Contact form
   ========================================================================== */
.form-panel { background: var(--bpm-white); border: 2px solid var(--bpm-ink); box-shadow: 6px 6px 0 var(--bpm-dust); padding: var(--bpm-space-8); position: relative; }
.form-panel::before { content: "REQUEST FORM"; position: absolute; top: -10px; left: 20px; font-family: var(--bpm-font-mono); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; background: var(--bpm-ink); color: var(--bpm-paper-2); padding: 3px 12px; }
.consult-form { display: flex; flex-direction: column; gap: var(--bpm-space-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--bpm-font-mono); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bpm-concrete); }
.field input, .field textarea, .field select {
  font-family: var(--bpm-font-body); font-size: var(--bpm-text-base);
  padding: 10px 12px; border: 1px solid var(--bpm-line); background: var(--bpm-paper-2);
  color: var(--bpm-ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--bpm-stamp); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--bpm-space-4); }
.form-submit {
  align-self: flex-start;
  font-family: var(--bpm-font-display); font-weight: 600; font-size: var(--bpm-text-sm);
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--bpm-stamp); color: var(--bpm-paper-2);
  padding: 12px 28px; border: 2px solid var(--bpm-stamp); cursor: pointer;
}
.form-submit:hover { background: var(--bpm-plum); border-color: var(--bpm-plum); }
.form-note { margin-top: var(--bpm-space-4); font-size: var(--bpm-text-sm); color: var(--bpm-concrete); padding-top: var(--bpm-space-4); border-top: 1px dashed var(--bpm-line); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .manifest-hero-grid { grid-template-columns: 1fr; gap: var(--bpm-space-6); }
  .manifest-title { font-size: var(--bpm-text-3xl); }
  .split-panel { grid-template-columns: 1fr; gap: var(--bpm-space-6); }
  .route-stamps { grid-template-columns: 1fr; }
  .stat-gauges { grid-template-columns: repeat(2, 1fr); gap: var(--bpm-space-6); }
  .site-foot-grid { grid-template-columns: 1fr 1fr; gap: var(--bpm-space-6); }
  .heat-band { grid-template-columns: 1fr; gap: var(--bpm-space-2); }
  .heat-band-level { text-align: left; }
  .dossier-head { flex-direction: column; }
  .dossier-rating { text-align: left; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .stat-gauges { grid-template-columns: 1fr; }
  .site-foot-grid { grid-template-columns: 1fr; }
  .manifest-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
}

/* ==========================================================================
   Photo placeholders (white boxes with captions)
   ========================================================================== */
.photo-slot {
  background: var(--bpm-paper);
  border: 1px solid var(--bpm-line);
  border-radius: 4px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; padding: 40px 24px;
  text-align: center; min-height: 240px;
}
.photo-slot--tall { min-height: 360px; }
.photo-slot--wide { min-height: 200px; }
.photo-slot-icon {
  width: 40px; height: 40px;
  border: 2px dashed var(--bpm-stamp-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bpm-stamp-2); font-size: 18px; line-height: 1;
}
.photo-slot-caption {
  font-size: var(--bpm-text-sm); color: var(--bpm-concrete);
  max-width: 320px; line-height: 1.5;
}
.photo-slot-tag {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--bpm-stamp);
  font-weight: 600;
}
