/* =============================================================
   basal / design system
   -------------------------------------------------------------
   ink + bone + forest. Editorial typography, a single signature
   IR-green motif for the trail-cam frame, and a grid built on
   an 8-unit baseline.

   Used on: / landing (SITE=basal), /lender/** pages, errors/*.
   ============================================================= */

/* ── tokens ──────────────────────────────────────────────────── */
/*
  Dark-mode-default redesign. The site reads as a high-end ecology
  terminal: ink-black page, bone text, forest + IR-green accents.
  Trail-cam footage blends into the background because the background
  IS the same near-black tone the IR frame dissolves to.
*/
:root {
  /* palette */
  --page:       #0c0d0a;    /* page background — slightly warm off-black */
  --page-lift:  #14150f;    /* subtle section lift */
  --page-sink:  #070806;    /* deeper well for pipeline section */

  --ink:        #0a0a0a;    /* pure ink, still used for some surfaces */
  --ink-70:    rgba(10, 10, 10, 0.70);
  --ink-40:    rgba(10, 10, 10, 0.40);
  --ink-15:    rgba(10, 10, 10, 0.15);
  --ink-06:    rgba(10, 10, 10, 0.06);

  --bone:       #f4f1ea;
  --bone-70:   rgba(244, 241, 234, 0.70);
  --bone-55:   rgba(244, 241, 234, 0.55);
  --bone-40:   rgba(244, 241, 234, 0.40);
  --bone-15:   rgba(244, 241, 234, 0.15);
  --bone-08:   rgba(244, 241, 234, 0.08);
  --bone-soft:  #eae6dd;
  --bone-warm:  #f7f3eb;

  --forest:     #5d7e63;    /* brightened for dark-mode legibility */
  --forest-deep:#3d5945;
  --forest-lit: #82a58a;
  --ir-green:   #7fff9c;    /* trail-cam IR night signature */
  --alert:      #d66770;
  --warning:    #e3b450;

  /* tier colors, quieter than tailwind defaults */
  --tier-low:      #7b8a76;
  --tier-mod:      #c69d40;
  --tier-elev:     #c17237;
  --tier-sev:      #a63d3d;
  --tier-pending:  #9a9486;
  --tier-info:     #6b7a82;

  /* typography */
  --font-display: "Fraunces", "Tiempos Headline", "Canela", "Libre Baskerville", Georgia, serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* rhythm */
  --unit: 8px;
  --gutter: 24px;
  --page-max: 1280px;
  --content-max: 960px;
  --prose-max: 640px;

  /* depth */
  --shadow-sm: 0 1px 0 var(--ink-06);
  --shadow-md: 0 1px 2px rgba(10, 10, 10, 0.06), 0 8px 24px rgba(10, 10, 10, 0.04);
  --shadow-lg: 0 4px 12px rgba(10, 10, 10, 0.08), 0 32px 64px rgba(10, 10, 10, 0.06);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11", "kern";
}

body.basal {
  margin: 0;
  background: var(--page);
  color: var(--bone);
  font: 400 16px/1.55 var(--font-body);
  letter-spacing: -0.005em;
  color-scheme: dark;
}

body.basal a { color: inherit; text-decoration: none; }
body.basal a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
/* (legacy CTA override removed — the dark-mode version above wins) */

/* ── typography ──────────────────────────────────────────────── */
.b-display-1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.b-display-2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.028em;
}
.b-display-3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.b-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-55);
}
.b-lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--bone-70);
  max-width: 56ch;
}
.b-body { font-size: 15px; line-height: 1.6; color: var(--bone-70); }
.b-small { font-size: 13px; color: var(--bone-70); }
.b-mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: -0.01em; }
/*
  Inline numerical emphasis inside prose. Inherits size + family from
  its parent so a $40,000 inside a 19px Inter lede reads as part of
  the sentence, not as an interrupting terminal fragment. Tabular-
  nums + tighter tracking gives it the "measurement value" character
  without the font-family / font-size downshift of .b-mono.
*/
.b-num {
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--bone);
  padding: 0 0.05em;
}
.b-italic { font-style: italic; }

/* ── layout ──────────────────────────────────────────────────── */
.b-page { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.b-content { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
.b-prose { max-width: var(--prose-max); }
.b-row { display: flex; gap: var(--gutter); }
.b-stack > * + * { margin-top: calc(var(--unit) * 3); }
.b-stack-sm > * + * { margin-top: calc(var(--unit) * 1.5); }

/* ── top chrome (nav) ────────────────────────────────────────── */
.b-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 13, 10, 0.72);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--bone-08);
}
.b-nav-inner {
  max-width: var(--page-max); margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.b-brand { display: flex; align-items: center; gap: 12px; color: var(--bone); }
.b-brand svg { width: 32px; height: 32px; color: var(--bone); display: block; }
.b-brand-text {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: -0.02em; font-weight: 400;
}
.b-brand-text em {
  font-style: italic; color: var(--forest-lit); font-weight: 400;
}
.b-nav-links {
  display: flex;
  gap: 28px;
}
.b-nav-links a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bone-70);
  padding: 6px 0;
  transition: color 120ms ease;
}
.b-nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--forest-lit);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}
.b-nav-links a:hover {
  color: var(--bone);
  text-decoration: none;
}
.b-nav-links a:hover::after {
  transform: scaleX(1);
}
/* small numeral prefix — subtle, marks each section as part of an
   indexed sequence and reinforces the terminal/sensor typographic
   personality */
.b-nav-links a::before {
  content: attr(data-n);
  margin-right: 8px;
  color: var(--bone-40);
  font-variant-numeric: tabular-nums;
}

.b-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bone); color: var(--page);
  padding: 10px 18px;
  font-size: 13.5px; font-weight: 500;
  border-radius: 2px;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}
.b-cta:hover { background: var(--forest-lit); color: var(--page); transform: translateY(-1px); text-decoration: none; }
.b-cta.secondary { background: transparent; color: var(--bone); border: 1px solid var(--bone-15); }
.b-cta.secondary:hover { background: var(--bone-08); color: var(--bone); border-color: var(--bone-40); }

/* CTA specificity bump — beats `body.basal a { color: inherit }` */
body.basal a.b-cta,
body.basal a.b-cta:hover,
body.basal button.b-cta { color: var(--page); text-decoration: none; }
body.basal a.b-cta.secondary,
body.basal a.b-cta.secondary:hover { color: var(--bone); }

/* ── hero ────────────────────────────────────────────────────── */
/*
  Full-bleed hero: the trail-cam video IS the background. It fades
  into the page via a radial mask on the right side, leaving a
  readable dark column on the left for the headline. No grid columns,
  no framed 4:3 thumbnail — the footage occupies the field of view.
*/
.b-hero {
  position: relative;
  min-height: clamp(560px, 88vh, 820px);
  overflow: hidden;
  background: var(--page);
  isolation: isolate;
}

/* faint topographic grid behind everything */
.b-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244,241,234,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,241,234,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 40% 55%, #000 0%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 40% 55%, #000 0%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

/* the video layer — dominant, dissolves at the edges */
.b-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.b-hero-bg video {
  position: absolute;
  top: 0; right: 0;
  width: 78%;
  height: 100%;
  object-fit: cover;
  /* IR treatment — lighter than framed trailcam so details read */
  filter: grayscale(0.55) brightness(0.62) contrast(1.05)
          sepia(0.18) hue-rotate(72deg) saturate(0.7);
  /* dissolve into the page on all four sides, heavier on the left */
  mask-image:
    radial-gradient(ellipse 100% 110% at 75% 55%, #000 42%, transparent 82%),
    linear-gradient(to left, #000 55%, transparent 92%);
  -webkit-mask-image:
    radial-gradient(ellipse 100% 110% at 75% 55%, #000 42%, transparent 82%),
    linear-gradient(to left, #000 55%, transparent 92%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  opacity: 0.78;
}
@media (max-width: 900px) {
  .b-hero-bg video { width: 100%; opacity: 0.32; }
}

/* scan lines over the whole hero so it feels like one surface */
.b-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(127, 255, 156, 0.025) 0px,
    rgba(127, 255, 156, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  mask-image: linear-gradient(to left, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

/* trail-cam metadata overlay floats over the background video */
.b-hero-meta {
  position: absolute;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ir-green);
  letter-spacing: 0.06em;
  text-shadow: 0 0 4px rgba(0,0,0,0.9);
  pointer-events: none;
}
.b-hero-meta.tl { top: 24px; right: calc(4% + 8px); text-align: right; }
.b-hero-meta.tr { top: 24px; right: calc(4% + 160px); }
.b-hero-meta.bl { bottom: 24px; right: calc(4% + 180px); }
.b-hero-meta.br { bottom: 24px; right: calc(4% + 8px); text-align: right; }
.b-hero-meta .rec {
  display: inline-flex; align-items: center; gap: 6px;
}
.b-hero-meta .rec .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #e54d4d;
  animation: b-rec 1.2s ease-in-out infinite;
  box-shadow: 0 0 6px #e54d4d;
}
@media (max-width: 900px) {
  .b-hero-meta { display: none; }
}

/* content layer — headline + CTAs, on the dark side */
.b-hero-content {
  position: relative; z-index: 4;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(100px, 14vh, 180px) var(--gutter) clamp(60px, 10vh, 110px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) 5fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .b-hero-content { grid-template-columns: 1fr; padding-top: 120px; } }
.b-hero-content > .content-col { max-width: 640px; }
.b-hero h1 { margin: 0 0 24px; color: var(--bone); }
.b-hero h1 em { font-style: italic; color: var(--forest-lit); }
.b-hero-ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* ── section ─────────────────────────────────────────────────── */
.b-section {
  padding: clamp(64px, 9vw, 120px) 0;
  border-top: 1px solid var(--bone-08);
  background: var(--page);
}
.b-section-dark { background: var(--page-sink); }
.b-section-lift { background: var(--page-lift); }
.b-section h2 { margin: 0 0 16px; color: var(--bone); }
.b-section-intro { margin-bottom: 56px; max-width: 680px; }

/* ── trail-cam frame ─────────────────────────────────────────── */
/*
  Signature visual: wraps any photo/video in a trail-cam metadata
  overlay — IR green tint, corner brackets, timestamp, camera ID,
  subtle scan lines. Pair with <video> or <img>.
*/
.b-trailcam {
  position: relative;
  background: #0a0f08;
  border: 1px solid rgba(127, 255, 156, 0.15);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  isolation: isolate;
}
.b-trailcam img,
.b-trailcam video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.6) brightness(0.85) contrast(1.1)
          sepia(0.15) hue-rotate(70deg) saturate(0.6);
  mix-blend-mode: screen;
  opacity: 0.88;
}
.b-trailcam::before {
  /* scan lines */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(127, 255, 156, 0.04) 0px,
    rgba(127, 255, 156, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 2;
}
.b-trailcam::after {
  /* vignette */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
  z-index: 2;
}
.b-trailcam .tc-chrome {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  color: var(--ir-green);
  font-family: var(--font-mono);
  font-size: 11px;
  text-shadow: 0 0 2px rgba(0,0,0,0.8);
}
.b-trailcam .tc-tl { position: absolute; top: 10px; left: 12px; letter-spacing: 0.06em; }
.b-trailcam .tc-tr { position: absolute; top: 10px; right: 12px; letter-spacing: 0.06em; }
.b-trailcam .tc-bl { position: absolute; bottom: 10px; left: 12px; letter-spacing: 0.06em; }
.b-trailcam .tc-br { position: absolute; bottom: 10px; right: 12px; letter-spacing: 0.06em; }
/* corner brackets */
.b-trailcam .tc-bracket {
  position: absolute; width: 12px; height: 12px; z-index: 3;
  border-color: rgba(127, 255, 156, 0.55);
  border-style: solid; border-width: 0;
}
.b-trailcam .tc-bracket.tl { top: 6px; left: 6px; border-top-width: 1px; border-left-width: 1px; }
.b-trailcam .tc-bracket.tr { top: 6px; right: 6px; border-top-width: 1px; border-right-width: 1px; }
.b-trailcam .tc-bracket.bl { bottom: 6px; left: 6px; border-bottom-width: 1px; border-left-width: 1px; }
.b-trailcam .tc-bracket.br { bottom: 6px; right: 6px; border-bottom-width: 1px; border-right-width: 1px; }

/* pulsing REC dot */
.b-trailcam .tc-rec {
  position: absolute; top: 10px; right: 82px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ir-green); font-family: var(--font-mono); font-size: 11px;
}
.b-trailcam .tc-rec .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #e33;
  animation: b-rec 1.2s ease-in-out infinite;
  box-shadow: 0 0 6px #e33;
}
@keyframes b-rec { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ── pipeline diagram ────────────────────────────────────────── */
.b-pipeline { position: relative; color: var(--bone); }
.b-pipeline svg { width: 100%; height: auto; display: block; }
.b-pipeline text { font-family: var(--font-mono); fill: currentColor; }
.b-pipeline .node text { font-size: 12px; }
.b-pipeline .node .node-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; fill: currentColor; opacity: 0.55; }
.b-pipeline .node circle { stroke: currentColor; fill: var(--page-sink); }
.b-pipeline .connector { stroke: currentColor; fill: none; stroke-width: 1; opacity: 0.3; }

.b-pipeline .particle {
  fill: var(--ir-green);
  animation: b-flow 4.8s linear infinite;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px rgba(127, 255, 156, 0.6));
}
.b-pipeline .particle.p2 { animation-delay: -1.2s; }
.b-pipeline .particle.p3 { animation-delay: -2.4s; }
.b-pipeline .particle.p4 { animation-delay: -3.6s; }

@keyframes b-flow {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}

/* ── sample parcel card ──────────────────────────────────────── */
.b-parcel-card {
  background: var(--page-lift);
  border: 1px solid var(--bone-08);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
}
@media (max-width: 900px) { .b-parcel-card { grid-template-columns: 1fr; gap: 24px; } }

.b-tier-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bone);
}
.b-tier-badge.tier-severe   { background: var(--tier-sev); }
.b-tier-badge.tier-elevated { background: var(--tier-elev); }
.b-tier-badge.tier-moderate { background: var(--tier-mod); color: var(--ink); }
.b-tier-badge.tier-low      { background: var(--tier-low); }
.b-tier-badge.tier-pending  { background: var(--tier-pending); color: var(--ink); }

/* metric stack */
.b-metric { display: flex; flex-direction: column; gap: 2px; }
.b-metric .m-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1; font-weight: 400; letter-spacing: -0.02em;
  color: var(--bone);
}
.b-metric .m-sub { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--bone-55); }

/* delta arrow — Elevated → Severe */
.b-delta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; color: var(--bone-70);
}
.b-delta .arrow { opacity: 0.4; }

/* pricing */
.b-price {
  background: var(--page-lift); border: 1px solid var(--bone-08);
  padding: 32px; color: var(--bone);
}
.b-price.featured {
  background: linear-gradient(180deg, #1a1f17 0%, #0e110c 100%);
  border-color: var(--forest-deep);
  box-shadow: 0 0 0 1px var(--forest-deep), 0 40px 80px rgba(93, 126, 99, 0.1);
}
.b-price .amount { font-family: var(--font-display); font-size: 48px; line-height: 1; letter-spacing: -0.02em; margin: 12px 0 4px; color: var(--bone); }
.b-price .amount .unit { font-size: 14px; font-family: var(--font-mono); opacity: 0.6; margin-left: 6px; }
.b-price ul { list-style: none; padding: 0; margin: 20px 0 0; }
.b-price li { padding: 10px 0; border-top: 1px solid var(--bone-08); font-size: 14px; color: var(--bone-70); }
.b-price.featured .amount { color: var(--forest-lit); }

/* ── trust row ───────────────────────────────────────────────── */
.b-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--bone-08);
  border-top: 1px solid var(--bone-08);
  border-bottom: 1px solid var(--bone-08);
}
.b-trust > div {
  background: var(--page);
  padding: 24px 20px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--bone-70); text-align: center;
}

/* ── footer ──────────────────────────────────────────────────── */
.b-footer {
  background: var(--page-sink); color: var(--bone);
  padding: 56px 0 32px;
  margin-top: 0;
  border-top: 1px solid var(--bone-08);
}
.b-footer-inner {
  max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 780px) { .b-footer-inner { grid-template-columns: 1fr 1fr; } }
.b-footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.5; margin: 0 0 14px; font-weight: 500; }
.b-footer ul { list-style: none; padding: 0; margin: 0; }
.b-footer li { padding: 4px 0; font-size: 14px; color: rgba(244, 241, 234, 0.75); }
.b-footer a:hover { color: var(--bone); }
.b-footer-meta {
  max-width: var(--page-max); margin: 48px auto 0; padding: 24px var(--gutter) 0;
  border-top: 1px solid rgba(244, 241, 234, 0.08);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: rgba(244, 241, 234, 0.5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ── lender page header (now native-dark) ────────────────────── */
.b-lender-header {
  background: var(--page-sink); color: var(--bone);
  padding: 48px 0 64px;
  border-bottom: 1px solid var(--bone-08);
}
.b-lender-header .b-page { position: relative; }
.b-lender-header .b-eyebrow { color: rgba(244, 241, 234, 0.5); }
.b-lender-header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 14px 0 8px;
}
.b-lender-header .sub {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: rgba(244, 241, 234, 0.55);
  display: flex; gap: 24px; flex-wrap: wrap;
}

/* ── portfolio grid ──────────────────────────────────────────── */
.b-portfolio-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px; background: var(--bone-08);
  border: 1px solid var(--bone-08);
}
.b-parcel-tile {
  background: var(--page-lift); padding: 24px; position: relative;
  transition: background 120ms ease;
  display: flex; flex-direction: column; gap: 14px;
}
.b-parcel-tile:hover { background: #1c1d16; }
.b-parcel-tile .tile-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.b-parcel-tile .tile-name {
  font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--bone);
}
.b-parcel-tile .tile-id {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--bone-40); text-transform: uppercase; margin-top: 4px;
}
.b-parcel-tile .tile-metrics { display: flex; gap: 24px; }
.b-parcel-tile .tile-metrics .m-num { font-size: 28px; }

/* tier-tally chips (bold) */
.b-tally { display: flex; gap: 2px; margin-top: 20px; flex-wrap: wrap; }
.b-tally > div {
  padding: 18px 22px; background: rgba(244, 241, 234, 0.03);
  display: flex; flex-direction: column; gap: 4px; min-width: 120px;
  border: 1px solid var(--bone-08);
}
.b-tally .count { font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: -0.02em; color: var(--bone); }
.b-tally .lab { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-40); }
.b-tally .pending .count { color: var(--tier-pending); }
.b-tally .low .count { color: var(--tier-low); }
.b-tally .moderate .count { color: var(--tier-mod); }
.b-tally .elevated .count { color: var(--tier-elev); }
.b-tally .severe .count { color: var(--tier-sev); }

/* subtle scroll-reveal */
@media (prefers-reduced-motion: no-preference) {
  .b-reveal { opacity: 0; transform: translateY(10px); transition: opacity .8s ease, transform .8s ease; }
  .b-reveal.in { opacity: 1; transform: none; }
}
