/* ==========================================================================
   uhs-2026 — "Night Dispatch" design system
   urgenthvacservice.com rebuild — shared stylesheet for design/*.html mocks
   AND the ported scripts/templates.py output. Class prefix: uh-.
   Zero external requests. Self-hosted Bebas Neue (assets/fonts/), system body.
   ========================================================================== */

/* ---- Font: self-hosted Bebas Neue subset (display only) ---- */
@font-face {
  font-family: 'UH Bebas';
  src: url('../fonts/bebas-neue-latin-basic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  /* palette — locked, verified against sibling sites (BUILD-SPEC §5) */
  --uh-soot: #14100e;      /* base */
  --uh-soot-2: #0d0a09;    /* deeper base, alternating sections */
  --uh-panel: #1e1815;     /* surfaces */
  --uh-panel-2: #261e19;   /* raised surfaces / cards-on-cards */
  --uh-signal: #ff5d16;    /* safety orange — CTAs, key phrases, phone object */
  --uh-signal-dim: rgba(255, 93, 22, .14);
  --uh-signal-line: rgba(255, 93, 22, .38);
  --uh-ok: #57c878;        /* dispatch-board green — availability chips / status dots ONLY */
  --uh-ok-dim: rgba(87, 200, 120, .14);
  --uh-ink: #f3ede7;
  --uh-mut: #a89d94;
  --uh-mut-2: #786e66;
  --uh-line: #352c26;
  --uh-line-soft: #241d19;

  --uh-display: 'UH Bebas', 'Bebas Neue', Impact, sans-serif;
  --uh-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --uh-mono: ui-monospace, SFMono-Regular, 'SF Mono', Consolas, 'Liberation Mono', monospace;

  --uh-radius-sm: 10px;
  --uh-radius: 16px;
  --uh-radius-lg: 22px;
  --uh-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --uh-container: 1240px;
  --uh-gap: clamp(1.25rem, 2.4vw, 2rem);
  --uh-section-pad: clamp(3rem, 6vw, 5.5rem);
  /* design-rescue item 10: tighter pad scale for panel/deep bands — the base
     --uh-section-pad stays for bands that earn the extra room (hero-adjacent,
     FAQ), panel/deep bands switch to this restoration-derived clamp so the
     page doesn't read as one long column of identical air pockets. */
  --uh-section-pad-tight: clamp(2.25rem, 4.5vw, 3.75rem);
}

/* ---- Reset ---- */
* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--uh-soot);
  color: var(--uh-ink);
  font-family: var(--uh-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--uh-signal);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.uh-container {
  width: 100%;
  max-width: var(--uh-container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.uh-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Typography helpers ---- */
.uh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--uh-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--uh-signal);
}
.uh-eyebrow::before { content: '['; opacity: .6; }
.uh-eyebrow::after { content: ']'; opacity: .6; }
.uh-eyebrow--mut { color: var(--uh-mut); }

.uh-kicker {
  font-family: var(--uh-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--uh-mut);
}

.uh-h1 {
  font-family: var(--uh-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: .98;
  letter-spacing: .01em;
}
.uh-h1 em, .uh-h2 em, .uh-h3 em {
  font-style: normal;
  color: var(--uh-signal);
}
.uh-h2 {
  font-family: var(--uh-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.02;
}
.uh-h3 {
  font-family: var(--uh-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.05;
  letter-spacing: .01em;
}
.uh-section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.uh-section-head .uh-eyebrow { margin-bottom: .9rem; }
.uh-lede {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--uh-mut);
  max-width: 62ch;
}
.uh-answer {
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  color: var(--uh-ink);
  max-width: 58ch;
}
.uh-answer strong { color: var(--uh-signal); font-weight: 600; }

/* ---- Buttons ---- */
.uh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .95em 1.5em;
  border-radius: 999px;
  font-family: var(--uh-body);
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}
.uh-btn:hover { transform: translateY(-2px); }
.uh-btn--primary {
  background: var(--uh-signal);
  color: #1a0d05;
  box-shadow: 0 12px 30px rgba(255, 93, 22, .3);
}
.uh-btn--primary:hover { box-shadow: 0 16px 38px rgba(255, 93, 22, .42); }
.uh-btn--outline {
  border: 1.5px solid var(--uh-line);
  color: var(--uh-ink);
}
.uh-btn--outline:hover { border-color: var(--uh-signal); }
.uh-btn--block { width: 100%; }
.uh-btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* ---- Risk-reversal line (required at every CTA) ---- */
.uh-riskline {
  font-family: var(--uh-mono);
  font-size: .76rem;
  letter-spacing: .02em;
  color: var(--uh-mut-2);
}
.uh-riskline::before { content: '\2713\a0'; color: var(--uh-ok); }

/* ---- Availability chip (pulsing dot) ---- */
.uh-chip-live {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .5em .9em;
  border-radius: 999px;
  background: var(--uh-ok-dim);
  border: 1px solid rgba(87, 200, 120, .3);
  font-family: var(--uh-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--uh-ok);
}
.uh-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--uh-ok);
  position: relative;
  flex: none;
}
.uh-dot::after {
  content: '';
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--uh-ok);
  animation: uh-pulse 2.2s ease-out infinite;
}
@keyframes uh-pulse {
  0% { transform: scale(.6); opacity: .9; }
  80% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.uh-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(20, 16, 14, .92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--uh-line-soft);
  /* sticky header underglow (item 8) */
  box-shadow: 0 1px 0 rgba(255, 93, 22, .32), 0 6px 22px -8px rgba(255, 93, 22, .22);
}
.uh-header__inner {
  max-width: var(--uh-container);
  margin-inline: auto;
  padding: .85rem clamp(1.1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.uh-wordmark { display: flex; align-items: center; gap: .65rem; margin-right: auto; }
.uh-wordmark__badge {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--uh-signal-line);
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--uh-panel-2), var(--uh-soot-2));
}
.uh-wordmark__badge svg { width: 19px; height: 19px; }
.uh-wordmark__type { display: flex; flex-direction: column; line-height: 1.05; }
.uh-wordmark__text {
  font-family: var(--uh-body);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: .01em;
  color: var(--uh-ink);
}
.uh-wordmark__text em { font-style: normal; color: var(--uh-signal); }
.uh-wordmark__tag {
  font-family: var(--uh-mono);
  font-size: .6rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--uh-mut-2);
}

.uh-nav { display: flex; align-items: center; gap: 1.7rem; }
.uh-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--uh-mut);
  padding-block: .3rem;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.uh-nav a:hover { color: var(--uh-ink); border-color: var(--uh-signal); }
.uh-nav__sep { width: 1px; height: 14px; background: var(--uh-line); }

.uh-header__actions { display: flex; align-items: center; gap: .7rem; }
.uh-phone-pill {
  display: flex; align-items: center; gap: .55rem;
  padding: .5rem .95rem .5rem .6rem;
  border: 1px solid var(--uh-line);
  border-radius: 999px;
  transition: border-color .15s ease;
}
.uh-phone-pill:hover { border-color: var(--uh-signal); }
.uh-phone-pill__icon {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: var(--uh-signal);
  display: grid; place-items: center;
}
.uh-phone-pill__icon svg { width: 14px; height: 14px; fill: #1a0d05; }
.uh-phone-pill__num { font-weight: 700; font-size: .92rem; white-space: nowrap; }

.uh-hamburger {
  display: none;
  width: 42px; height: 42px; border: 1px solid var(--uh-line); border-radius: 10px;
  align-items: center; justify-content: center;
}
.uh-hamburger__bars, .uh-hamburger__bars::before, .uh-hamburger__bars::after {
  content: ''; display: block; width: 18px; height: 2px; background: var(--uh-ink);
  transition: transform .2s ease, opacity .2s ease;
}
.uh-hamburger__bars { position: relative; }
.uh-hamburger__bars::before { position: absolute; top: -6px; left: 0; }
.uh-hamburger__bars::after { position: absolute; top: 6px; left: 0; }
.uh-hamburger.is-open .uh-hamburger__bars { background: transparent; }
.uh-hamburger.is-open .uh-hamburger__bars::before { transform: translateY(6px) rotate(45deg); }
.uh-hamburger.is-open .uh-hamburger__bars::after { transform: translateY(-6px) rotate(-45deg); }

.uh-mobile-drawer {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--uh-panel);
  border-bottom: 1px solid var(--uh-line);
  padding: .5rem clamp(1.1rem, 4vw, 2rem) 1.4rem;
}
.uh-mobile-drawer.is-open {
  display: block;
  /* full-viewport scrim below the drawer without extra markup — makes the
     "slide-down overlay" pattern read as an overlay, not a dropdown, and
     guarantees zero bleed-through from page content underneath. */
  box-shadow: 0 100vh 0 100vh rgba(8, 6, 5, .72);
}
.uh-mobile-drawer a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .95rem 0;
  border-bottom: 1px solid var(--uh-line-soft);
  font-weight: 700; font-size: 1.02rem;
}
.uh-mobile-drawer a:last-child { border-bottom: 0; }

/* Breakpoint boundary: 1100 desktop nav, 1099 hamburger (checklist-tested) */
@media (max-width: 1099.9px) {
  .uh-nav { display: none; }
  .uh-hamburger { display: flex; }
  /* No-phone header variant (costs pages): once the hamburger takes over,
     the inline outline "see the hub" button has no room and no icon-only
     fallback — the identical link already exists in the mobile drawer. */
  .uh-header__actions > .uh-btn--outline { display: none; }
}
@media (max-width: 480px) {
  .uh-wordmark__tag { display: none; }
  .uh-wordmark__text { font-size: 22px; } /* wordmark <=27px at <=390 */
  .uh-phone-pill__num { display: none; } /* icon-only phone at <=390 */
  .uh-phone-pill { padding: .5rem; }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.uh-breadcrumbs {
  padding-block: .9rem;
  border-bottom: 1px solid var(--uh-line-soft);
}
.uh-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.uh-breadcrumbs li { display: flex; align-items: center; gap: .4rem; }
.uh-breadcrumbs a, .uh-breadcrumbs span {
  font-family: var(--uh-mono);
  font-size: .74rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--uh-mut-2);
}
.uh-breadcrumbs a:hover { color: var(--uh-signal); }
.uh-breadcrumbs li:last-child span { color: var(--uh-mut); }
.uh-breadcrumbs li + li::before { content: '/'; color: var(--uh-line); margin-right: .4rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.uh-hero { position: relative; overflow: hidden; }
/* hero corner aura + bottom hairline (item 8 atmosphere) */
.uh-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(1200px 500px at 75% -10%, rgba(255, 93, 22, .16), transparent 60%);
}
.uh-hero::after {
  content: '';
  position: absolute; left: 8%; right: 8%; bottom: 0; height: 1px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--uh-signal-line), transparent);
}
/* revenue-page breadcrumb line INSIDE the hero wrap — item 6. Deliberately no
   background/border/padding of its own so it reads as part of the hero, not a
   standalone band; a standalone bordered breadcrumb strip is rejected on sight. */
.uh-hero__crumb {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: .35em;
  font-family: var(--uh-mono);
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--uh-mut-2);
  margin-bottom: 1.1rem;
}
.uh-hero__crumb a { color: var(--uh-mut-2); }
.uh-hero__crumb a:hover { color: var(--uh-signal); }
.uh-hero__crumb span[aria-current] { color: var(--uh-mut); }
.uh-hero__crumb i { font-style: normal; color: var(--uh-line); }
.uh-hero__media {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 78% 22%, rgba(255,93,22,.16), transparent 60%),
    linear-gradient(155deg, #1c1512 0%, #14100e 45%, #0b0807 100%);
  background-size: cover;
  background-position: center;
}
/* ---- FLUX photo wiring — data-img-slot maps to the FINAL generated assets.
   Attribute selectors win specificity over the gradient fallback above, so any
   slot value not listed here (or missing) still gets the gradient, never a
   blank/broken box. Darkening lives entirely in .uh-hero__scrim (0.38 center /
   0.82 edge per BUILD-SPEC §5) — never baked into the source photo. ---- */
.uh-hero__media[data-img-slot^="hero-night-condenser"],
.uh-hero__media[data-img-slot^="hero-night-exterior"] {
  background-image: linear-gradient(155deg, rgba(20,16,14,.1), rgba(11,8,7,.35)), url('../img/hero-night-condenser.webp');
}
.uh-hero__media[data-img-slot^="hero-furnace"] {
  background-image: linear-gradient(155deg, rgba(20,16,14,.1), rgba(11,8,7,.35)), url('../img/hero-furnace-flame.webp');
}
.uh-hero__media[data-img-slot="macro-coil"] {
  background-image: linear-gradient(155deg, rgba(20,16,14,.1), rgba(11,8,7,.35)), url('../img/macro-coil.webp');
}
.uh-hero__media[data-img-slot="macro-heatpump"] {
  background-image: linear-gradient(155deg, rgba(20,16,14,.1), rgba(11,8,7,.35)), url('../img/macro-heatpump.webp');
}
.uh-hero__media[data-img-slot="macro-thermostat-wires"] {
  background-image: linear-gradient(155deg, rgba(20,16,14,.1), rgba(11,8,7,.35)), url('../img/macro-thermostat-wires.webp');
}
.uh-hero__media::after { /* faint horizontal grain/texture lines standing in for photo detail */
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 1px, transparent 1px 34px);
  mix-blend-mode: overlay;
}
/* ---- Secondary in-page photo band (texture-duct.webp) — used once per page,
   never the same asset as the hero, to satisfy the image-collision guard. ---- */
.uh-photo-band {
  position: relative;
  border-radius: var(--uh-radius-lg);
  overflow: hidden;
  min-height: clamp(220px, 30vw, 340px);
  background: url('../img/texture-duct.webp') center / cover, var(--uh-panel-2);
}
.uh-photo-band[data-img="macro-coil"] { background-image: url('../img/macro-coil.webp'); }
.uh-photo-band[data-img="macro-heatpump"] { background-image: url('../img/macro-heatpump.webp'); }
.uh-photo-band[data-img="macro-thermostat-wires"] { background-image: url('../img/macro-thermostat-wires.webp'); }
.uh-photo-band[data-img="hero-furnace-flame"] { background-image: url('../img/hero-furnace-flame.webp'); }
.uh-photo-band[data-img="og-bg"] { background-image: url('../img/og-bg.webp'); }
.uh-photo-band::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 40%, rgba(20,16,14,.38) 0%, rgba(20,16,14,.62) 55%, rgba(20,16,14,.86) 100%);
}
.uh-hero__scrim {
  position: absolute; inset: 0;
  /* overlay system: 0.38 opacity center / 0.82 edge — drops in cleanly under real photos */
  background: radial-gradient(ellipse 60% 55% at 50% 40%,
      rgba(20,16,14,.38) 0%,
      rgba(20,16,14,.62) 55%,
      rgba(20,16,14,.82) 100%);
}
.uh-hero__inner {
  position: relative; z-index: 1;
  max-width: var(--uh-container);
  margin-inline: auto;
  padding: clamp(2.75rem, 7vw, 5.5rem) clamp(1.1rem, 4vw, 2rem) clamp(3rem, 6vw, 4.5rem);
  display: grid;
  /* item 9: minmax(0,1.45fr) minmax(300px,1fr) — right column (the call panel)
     never shrinks below a usable width as the left copy column grows */
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.uh-hero__copy > * + * { margin-top: 1.15rem; }
.uh-hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.6rem; }
.uh-hero__meta { margin-top: .5rem; }

/* Dispatch ticket — the phone as designed object */
.uh-ticket {
  position: relative;
  background: var(--uh-panel);
  border: 1px solid var(--uh-line);
  border-radius: var(--uh-radius-lg);
  padding: 1.6rem 1.6rem 1.5rem;
  box-shadow: var(--uh-shadow);
}
.uh-ticket__perf {
  display: flex; justify-content: space-between; margin-bottom: 1.1rem;
}
.uh-ticket__perf span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--uh-soot-2);
  box-shadow: 0 0 0 1px var(--uh-line) inset;
}
.uh-ticket__perf::before, .uh-ticket__perf::after { content: ''; flex: 1; border-top: 1px dashed var(--uh-line); margin: 3px .5rem 0; }
.uh-ticket .uh-eyebrow { margin-bottom: .8rem; }
.uh-ticket__phone {
  display: block;
  font-family: var(--uh-display);
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  letter-spacing: .01em;
  color: var(--uh-ink);
  margin-top: .5rem;
}
.uh-ticket__phone:hover { color: var(--uh-signal); }
.uh-ticket .uh-riskline { margin-top: .6rem; }
.uh-ticket__cta { margin-top: 1.1rem; }
.uh-ticket__rows { margin-top: 1.2rem; border-top: 1px solid var(--uh-line-soft); }
.uh-ticket__rows li {
  display: flex; justify-content: space-between; align-items: center;
  padding: .8rem .1rem;
  border-bottom: 1px solid var(--uh-line-soft);
  font-size: .88rem; font-weight: 600; color: var(--uh-mut);
  transition: color .15s ease, transform .15s ease;
}
.uh-ticket__rows li:hover { color: var(--uh-ink); transform: translateX(3px); }
.uh-ticket__rows li span:last-child { color: var(--uh-signal); }

@media (max-width: 1099.9px) {
  .uh-hero__inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Readout rail (stat band)
   ========================================================================== */
.uh-rail { border-block: 1px solid var(--uh-line-soft); background: var(--uh-soot-2); }
.uh-rail__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.uh-rail__item {
  padding: 1.6rem 1.4rem;
  border-left: 1px solid var(--uh-line-soft);
}
.uh-rail__item:first-child { border-left: 0; }
.uh-rail__num {
  font-family: var(--uh-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--uh-signal);
}
.uh-rail__label { font-size: .85rem; font-weight: 700; margin-top: .2rem; }
.uh-rail__cap { font-family: var(--uh-mono); font-size: .7rem; color: var(--uh-mut-2); margin-top: .3rem; text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 900px) { .uh-rail__grid { grid-template-columns: repeat(2, 1fr); } .uh-rail__item:nth-child(3) { border-left: 0; } .uh-rail__item:nth-child(odd) { border-left: 0; } }
@media (max-width: 560px) { .uh-rail__grid { grid-template-columns: 1fr; } .uh-rail__item { border-left: 0 !important; border-top: 1px solid var(--uh-line-soft); } .uh-rail__item:first-child { border-top: 0; } }

/* ==========================================================================
   Section shell / alternating surfaces
   ========================================================================== */
.uh-section { padding-block: var(--uh-section-pad); }
.uh-section--panel { background: var(--uh-panel); border-block: 1px solid var(--uh-line-soft); }
.uh-section--deep { background: var(--uh-soot-2); }

/* ==========================================================================
   Signature block 1 — Climate Load Readout
   ========================================================================== */
.uh-readout {
  border: 1px solid var(--uh-line);
  border-radius: var(--uh-radius-lg);
  background: linear-gradient(180deg, var(--uh-panel), var(--uh-soot-2));
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.uh-readout__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.uh-dial-card { text-align: center; }
.uh-dial {
  --val: 50%;
  position: relative;
  width: clamp(108px, 12vw, 148px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
}
.uh-dial__fill {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--uh-signal) 0% var(--val), var(--uh-line) var(--val) 100%);
  -webkit-mask: radial-gradient(closest-side, transparent 0 66%, #000 67%);
          mask: radial-gradient(closest-side, transparent 0 66%, #000 67%);
}
.uh-dial__ticks {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(var(--uh-soot) 0deg 1.6deg, transparent 1.6deg 9deg);
  -webkit-mask: radial-gradient(closest-side, transparent 0 66%, #000 67%);
          mask: radial-gradient(closest-side, transparent 0 66%, #000 67%);
}
.uh-dial__center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.uh-dial__value { font-family: var(--uh-display); font-size: clamp(1.15rem, 2vw, 1.55rem); color: var(--uh-ink); line-height: 1; }
.uh-dial__unit { font-family: var(--uh-mono); font-size: .62rem; color: var(--uh-mut-2); text-transform: uppercase; letter-spacing: .05em; margin-top: .15rem; }
.uh-dial-card__label { margin-top: 1rem; font-weight: 800; font-size: .85rem; letter-spacing: .02em; }
.uh-dial-card__mean { margin-top: .4rem; font-size: .8rem; color: var(--uh-mut); line-height: 1.45; }

@media (max-width: 900px) { .uh-readout__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; } }
@media (max-width: 480px) { .uh-readout__grid { grid-template-columns: 1fr; } }

.uh-readout--qualitative { padding: clamp(1.5rem, 3vw, 2.2rem); }
.uh-readout--qualitative ul { display: grid; gap: .9rem; }
.uh-readout--qualitative li { padding-left: 1.4rem; position: relative; color: var(--uh-mut); }
.uh-readout--qualitative li::before { content: '\2192'; position: absolute; left: 0; color: var(--uh-signal); }

/* ==========================================================================
   Symptom triage split
   ========================================================================== */
.uh-triage { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.uh-triage__col {
  border-radius: var(--uh-radius);
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--uh-line);
}
.uh-triage__col--now { background: linear-gradient(180deg, rgba(255,93,22,.09), transparent 60%); border-color: var(--uh-signal-line); }
.uh-triage__col--sched { background: var(--uh-panel); }
.uh-triage__head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.uh-triage__badge { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.uh-triage__col--now .uh-triage__badge { background: var(--uh-signal-dim); color: var(--uh-signal); }
.uh-triage__col--sched .uh-triage__badge { background: var(--uh-line-soft); color: var(--uh-mut); }
.uh-triage__col ul { display: grid; gap: .7rem; margin-top: .2rem; }
.uh-triage__col li { padding-left: 1.3rem; position: relative; font-size: .94rem; color: var(--uh-mut); }
.uh-triage__col--now li::before { content: '!'; position: absolute; left: 0; color: var(--uh-signal); font-weight: 800; }
.uh-triage__col--sched li::before { content: '\2013'; position: absolute; left: 0; color: var(--uh-mut-2); }

@media (max-width: 900px) { .uh-triage { grid-template-columns: 1fr; } }

/* ==========================================================================
   Process rail — "what happens when you call"
   ========================================================================== */
.uh-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.uh-process::before {
  content: '';
  position: absolute; top: 1.1rem; left: 4%; right: 4%; height: 1px;
  background: var(--uh-line);
}
.uh-process__step { position: relative; }
.uh-process__num {
  font-family: var(--uh-display);
  font-size: 1.6rem;
  color: var(--uh-signal);
  background: var(--uh-soot);
  display: inline-block;
  padding-right: .6rem;
  position: relative; z-index: 1;
}
.uh-process__title { margin-top: .6rem; font-weight: 800; }
.uh-process__body { margin-top: .5rem; font-size: .92rem; color: var(--uh-mut); }

@media (max-width: 900px) { .uh-process { grid-template-columns: 1fr 1fr; row-gap: 2rem; } .uh-process::before { display: none; } }
@media (max-width: 480px) { .uh-process { grid-template-columns: 1fr; } }

/* ==========================================================================
   Signature block 2 — Dispatch Board
   ========================================================================== */
.uh-board { border: 1px solid var(--uh-line); border-radius: var(--uh-radius-lg); overflow: hidden; }
.uh-board__head, .uh-board__row {
  display: grid;
  grid-template-columns: 2.1fr .95fr 1.1fr;
  gap: 1rem;
  align-items: center;
}
.uh-board__head {
  padding: .85rem 1.5rem;
  background: var(--uh-panel-2);
  font-family: var(--uh-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--uh-mut-2);
}
.uh-board__rows { background: var(--uh-panel); }
.uh-board__row {
  padding: 1.05rem 1.5rem;
  border-top: 1px solid var(--uh-line-soft);
  position: relative;
  transition: transform .16s ease, background-color .16s ease;
}
.uh-board__row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--uh-line); }
.uh-board__row--urgent::before { background: var(--uh-signal); }
.uh-board__row:hover { transform: translateX(6px); background: var(--uh-panel-2); }
.uh-board__symptom {
  font-family: var(--uh-display);
  font-size: 1.12rem;
  letter-spacing: .01em;
  color: var(--uh-ink);
}
.uh-board__window { font-family: var(--uh-display); font-size: 1rem; color: var(--uh-mut); text-align: right; }

.uh-chip {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--uh-display);
  font-size: .82rem;
  letter-spacing: .03em;
  padding: .35em .85em;
  border-radius: 999px;
  width: fit-content;
}
.uh-chip--urgent { background: var(--uh-signal); color: #1a0d05; }
.uh-chip--soon { border: 1px solid var(--uh-signal-line); color: var(--uh-signal); }
.uh-chip--routine { border: 1px solid var(--uh-line); color: var(--uh-mut); }

@media (max-width: 700px) {
  .uh-board__head { display: none; }
  .uh-board__row { grid-template-columns: 1fr; gap: .5rem; text-align: left; }
  .uh-board__window { text-align: left; }
  .uh-board__window::before { content: 'Response: '; font-family: var(--uh-mono); font-size: .68rem; color: var(--uh-mut-2); }
}

/* ==========================================================================
   Local factors prose
   ========================================================================== */
.uh-factors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem; }
.uh-factors h3 { margin-bottom: .7rem; }
.uh-factors p { color: var(--uh-mut); }
.uh-factors p + p { margin-top: .8rem; }
@media (max-width: 900px) { .uh-factors { grid-template-columns: 1fr; } }

/* ==========================================================================
   Checklist block
   ========================================================================== */
.uh-checklist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.uh-checklist__item {
  position: relative; overflow: hidden;
  border: 1px solid var(--uh-line); border-radius: var(--uh-radius); padding: 1.3rem; background: var(--uh-panel);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.uh-checklist__item::after {
  content: ''; position: absolute; top: -24px; right: -24px; width: 70px; height: 70px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 93, 22, .14), transparent 70%); pointer-events: none;
}
.uh-checklist__item:hover { transform: translateY(-3px); border-color: rgba(255, 93, 22, .4); box-shadow: 0 14px 32px rgba(0,0,0,.38), 0 0 22px rgba(255,93,22,.14); }
.uh-checklist__num { font-family: var(--uh-mono); font-size: .7rem; color: var(--uh-signal); letter-spacing: .08em; }
.uh-checklist__title { margin-top: .5rem; font-weight: 800; }
.uh-checklist__body { margin-top: .4rem; font-size: .87rem; color: var(--uh-mut); }
@media (max-width: 900px) { .uh-checklist { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .uh-checklist { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.uh-faq { display: grid; gap: .8rem; max-width: 52rem; }
.uh-faq details {
  border: 1px solid var(--uh-line);
  border-radius: var(--uh-radius);
  background: var(--uh-panel);
  padding: 1.1rem 1.4rem;
}
.uh-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 800;
  font-size: 1.02rem;
}
.uh-faq summary::-webkit-details-marker { display: none; }
.uh-faq summary::after {
  content: '';
  width: 10px; height: 10px; flex: none;
  border-right: 2px solid var(--uh-signal);
  border-bottom: 2px solid var(--uh-signal);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.uh-faq details[open] summary::after { transform: rotate(-135deg); }
.uh-faq p { margin-top: .9rem; color: var(--uh-mut); }

/* ==========================================================================
   Cross-link grids (nearby cities / services)
   ========================================================================== */
.uh-linkgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.uh-linkgrid a {
  display: block;
  padding: .95rem 1.1rem;
  border: 1px solid var(--uh-line);
  border-radius: var(--uh-radius-sm);
  font-weight: 700;
  font-size: .92rem;
  transition: border-color .15s ease, transform .15s ease;
}
.uh-linkgrid a:hover { border-color: var(--uh-signal); transform: translateY(-2px); }
.uh-linkgrid a span { display: block; font-family: var(--uh-mono); font-size: .68rem; color: var(--uh-mut-2); margin-top: .25rem; text-transform: uppercase; }
@media (max-width: 900px) { .uh-linkgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .uh-linkgrid { grid-template-columns: 1fr; } }

.uh-service-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.uh-service-row a {
  padding: .6rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--uh-line);
  font-size: .86rem; font-weight: 700;
}
.uh-service-row a[aria-current="page"] { background: var(--uh-signal-dim); border-color: var(--uh-signal-line); color: var(--uh-signal); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.uh-cta-band {
  border-radius: var(--uh-radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 80% 100% at 15% 0%, rgba(255,93,22,.16), transparent 60%),
    var(--uh-panel);
  border: 1px solid var(--uh-signal-line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem;
}
.uh-cta-band__copy { max-width: 34rem; }
.uh-cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }

/* ==========================================================================
   Footer — ALWAYS-VISIBLE site directory (design-rescue item 7).
   Both flagship sites forbid <details> collapse in the footer (a collapsed
   version shipped and was reverted the same day) — every panel below is
   visible in the DOM and on screen at every breakpoint; mobile compaction is
   nth-child trimming, never a collapse mechanic. Band order: eyebrow+rule ->
   4-col directory panels -> brand band (wordmark+blurb | fastest paths |
   2 glow call cards) -> 5-up trust tiles -> legal bar.
   ========================================================================== */
.uh-footer { background: var(--uh-soot-2); border-top: 1px solid var(--uh-line-soft); padding-block: var(--uh-section-pad); }

.uh-footer__eyebrow { margin-bottom: 1.5rem; }
.uh-footer__eyebrow::after {
  content: ''; display: block; height: 1px; margin-top: .9rem;
  background: linear-gradient(90deg, var(--uh-signal-line), transparent 75%);
}

/* ① directory panels — always visible */
.uh-dirpanels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2.75rem; }
.uh-dirpanel { border: 1px solid var(--uh-line-soft); border-radius: var(--uh-radius); padding: 1.2rem 1.3rem; }
.uh-dirpanel h3 {
  display: flex; align-items: center; gap: .5em; margin: 0 0 .8rem;
  font-family: var(--uh-mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--uh-ink);
}
.uh-dirpanel h3::before { content: '\25c6'; color: var(--uh-signal); font-size: .7em; }
.uh-dirpanel__count { margin-left: auto; font-family: var(--uh-body); font-size: .68rem; font-weight: 600; color: var(--uh-mut-2); text-transform: none; letter-spacing: 0; }
.uh-dirpanel ul { display: grid; }
.uh-dirpanel li a {
  display: block; min-height: 24px; padding: .4rem 0;
  font-size: .84rem; color: var(--uh-mut);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.uh-dirpanel li a:hover { color: var(--uh-signal); }
.uh-dirpanel__all { display: inline-block; margin-top: .5rem; font-size: .8rem; font-weight: 700; color: var(--uh-signal); }
@media (max-width: 900px) { .uh-dirpanels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .uh-dirpanels { grid-template-columns: 1fr; }
  /* mobile compaction = trimming, never collapse */
  .uh-dirpanel li:nth-child(n+5) { display: none; }
}

/* ② brand band */
.uh-footer__brandband {
  display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 2.25rem; align-items: start;
  padding-top: 2.25rem; border-top: 1px solid var(--uh-line-soft);
}
.uh-footer__mark .uh-wordmark { margin-bottom: .9rem; }
.uh-footer__mark p { color: var(--uh-mut); font-size: .9rem; max-width: 26rem; }
.uh-footer__paths ul { display: grid; gap: .55rem; margin-top: .85rem; }
.uh-footer__paths a { font-size: .86rem; color: var(--uh-mut); }
.uh-footer__paths a:hover { color: var(--uh-signal); }
.uh-footer__calls { display: grid; gap: .9rem; }
.uh-footcall {
  min-width: 14rem;
  border: 1px solid rgba(255, 93, 22, .3);
  border-radius: var(--uh-radius);
  padding: 1rem 1.3rem;
  box-shadow: 0 0 30px rgba(255, 93, 22, .12);
}
.uh-footcall__num { display: block; font-family: var(--uh-display); font-size: 1.3rem; letter-spacing: .01em; color: var(--uh-ink); margin-top: .3rem; }
.uh-footcall__num:hover { color: var(--uh-signal); }
@media (max-width: 900px) { .uh-footer__brandband { grid-template-columns: 1fr; } .uh-footer__calls { flex-direction: row; display: flex; flex-wrap: wrap; } }

/* ③ 5-up trust/stat tiles */
.uh-footer__trust {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; text-align: center;
  margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--uh-line-soft);
}
.uh-footer__trust b { display: block; font-family: var(--uh-display); font-size: 1.05rem; letter-spacing: .01em; color: var(--uh-signal); }
.uh-footer__trust span { display: block; font-size: .74rem; color: var(--uh-mut); margin-top: .3rem; }
@media (max-width: 700px) { .uh-footer__trust { grid-template-columns: repeat(2, 1fr); } }

/* ④ legal bar */
.uh-footer__legal {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--uh-line-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
}
.uh-footer__legal-nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.uh-footer__legal-nav a { font-size: .78rem; color: var(--uh-mut-2); }
.uh-footer__legal-nav a:hover { color: var(--uh-signal); }
.uh-disclosure { max-width: 62rem; font-size: .82rem; color: var(--uh-mut-2); line-height: 1.6; }
.uh-disclosure a { color: var(--uh-mut); text-decoration: underline; text-underline-offset: 2px; }
.uh-reviewed { font-family: var(--uh-mono); font-size: .74rem; color: var(--uh-mut-2); white-space: nowrap; }

/* ==========================================================================
   Sticky mobile CTA bar
   ========================================================================== */
.uh-sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: .75rem .9rem;
  padding-bottom: calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(20,16,14,.96);
  border-top: 1px solid var(--uh-line);
  backdrop-filter: blur(6px);
}
.uh-sticky-cta__inner { display: flex; align-items: center; gap: .8rem; }
.uh-sticky-cta__text { flex: 1; min-width: 0; }
.uh-sticky-cta__text strong { display: block; font-size: .82rem; }
.uh-sticky-cta__text span { display: block; font-family: var(--uh-mono); font-size: .66rem; color: var(--uh-mut-2); }
@media (max-width: 900px) { .uh-sticky-cta { display: block; } body { padding-bottom: 4.6rem; } }

/* ==========================================================================
   Cost table (mock-costs only)
   ========================================================================== */
.uh-cost-table-wrap { overflow-x: auto; border: 1px solid var(--uh-line); border-radius: var(--uh-radius); }
/* min-width belongs to the WRAPPED variant only (design/mock-costs.html,
   which supplies .uh-cost-table-wrap as the scroll container) — a bare
   .uh-content table.uh-cost-table (content_pools.py's costs_content(), no
   wrapper div) must NOT get a forced min-width, or its own display:block +
   overflow-x:auto below can never actually contain it (the box itself would
   always demand >=560px, overflowing .uh-content instead of scrolling
   internally). See scripts/templates.py's module docstring for the port note. */
.uh-cost-table-wrap .uh-cost-table { min-width: 560px; }
.uh-cost-table th, .uh-cost-table td { padding: .9rem 1.2rem; text-align: left; border-bottom: 1px solid var(--uh-line-soft); font-size: .92rem; }
.uh-cost-table th { font-family: var(--uh-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--uh-mut-2); background: var(--uh-panel-2); }
.uh-cost-table td:last-child, .uh-cost-table th:last-child { color: var(--uh-signal); font-weight: 700; }
.uh-cost-table tr:last-child td { border-bottom: 0; }

.uh-methodology {
  border-left: 3px solid var(--uh-signal);
  background: var(--uh-panel);
  border-radius: 0 var(--uh-radius) var(--uh-radius) 0;
  padding: 1.3rem 1.5rem;
  font-size: .88rem;
  color: var(--uh-mut);
}
.uh-methodology strong { color: var(--uh-ink); }

/* ==========================================================================
   Generic grid utilities
   ========================================================================== */
.uh-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--uh-gap); }
.uh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--uh-gap); }
.uh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--uh-gap); }
@media (max-width: 1099.9px) { .uh-grid-4 { grid-template-columns: repeat(2, 1fr); } .uh-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .uh-grid-2, .uh-grid-3, .uh-grid-4 { grid-template-columns: 1fr; } }

.uh-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--uh-line);
  border-radius: var(--uh-radius);
  padding: 1.5rem;
  background: var(--uh-panel);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
/* corner glow bleed + hover-glow lift (item 8) — transform/box-shadow only */
.uh-card::after {
  content: '';
  position: absolute; top: -30px; right: -30px; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 93, 22, .16), transparent 70%);
  pointer-events: none;
}
.uh-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 93, 22, .45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4), 0 0 26px rgba(255, 93, 22, .16);
}
/* Photo header service card (coordinator follow-up, GD pattern) — padding moves off the base
   .uh-card onto .uh-card__body so the photo can bleed to the card's own rounded top corners. */
.uh-card--service { display: flex; flex-direction: column; padding: 0; }
.uh-card--service__photo { position: relative; height: 148px; overflow: hidden; background: var(--uh-panel-2); }
.uh-card--service__photo::before {
  content: ''; position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .3s ease;
}
.uh-card--service__photo[data-img="macro-coil"]::before { background-image: url('../img/macro-coil.webp'); }
.uh-card--service__photo[data-img="hero-furnace-flame"]::before { background-image: url('../img/hero-furnace-flame.webp'); }
.uh-card--service__photo[data-img="macro-heatpump"]::before { background-image: url('../img/macro-heatpump.webp'); }
.uh-card--service__photo[data-img="macro-thermostat-wires"]::before { background-image: url('../img/macro-thermostat-wires.webp'); }
.uh-card--service:hover .uh-card--service__photo::before { transform: scale(1.04); }
.uh-card--service__photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, var(--uh-panel) 100%);
}
.uh-card--service__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.uh-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--uh-signal-dim); display: grid; place-items: center; }
.uh-card__icon svg { width: 22px; height: 22px; color: var(--uh-signal); }
.uh-card p { color: var(--uh-mut); font-size: .9rem; }
.uh-card__link { margin-top: auto; font-weight: 700; font-size: .88rem; color: var(--uh-signal); }

/* ==========================================================================
   Cine band — full-bleed photo interrupt (design-rescue item 2a, adapted from
   the restoration sc-band pattern into the uh- identity). Photo rides
   ::before at z-index:-2 (never an <img>). Height comes from padding, never
   min-height.

   Round-2 design-rescue fix B (2026-08-11, operator-locked composition):
   CENTERED movie-card, not left-anchored — kicker -> big clamp headline ->
   one sub -> WIDE pill CTA, all centered, over an EVENLY-DIMMED RADIAL
   overlay (0.38 opacity center / 0.82 opacity edge) replacing the old
   horizontal scrim. The left-anchored/horizontal-scrim species is retired
   portfolio-wide as of this pass — every .uh-cine-band now carries the
   .uh-cine-band--center marker class (see gate 21) and uses this composition
   unconditionally. og-bg is retired from in-page use (item A) — no
   [data-img="og-bg"] rule below by design; gate 18 asserts it never appears.
   ========================================================================== */
.uh-cine-band { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.uh-cine-band::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: var(--uh-panel-2) center / cover;
}
.uh-cine-band[data-img="hero-night-condenser"]::before { background-image: url('../img/hero-night-condenser.webp'); }
.uh-cine-band[data-img="hero-furnace-flame"]::before { background-image: url('../img/hero-furnace-flame.webp'); }
.uh-cine-band[data-img="macro-coil"]::before { background-image: url('../img/macro-coil.webp'); }
.uh-cine-band[data-img="macro-heatpump"]::before { background-image: url('../img/macro-heatpump.webp'); }
.uh-cine-band[data-img="macro-thermostat-wires"]::before { background-image: url('../img/macro-thermostat-wires.webp'); }
.uh-cine-band[data-img="texture-duct"]::before { background-image: url('../img/texture-duct.webp'); }
.uh-cine-band[data-img="night-utility-interior"]::before { background-image: url('../img/night-utility-interior.webp'); }
.uh-cine-band[data-img="hero-night-exterior-2"]::before { background-image: url('../img/hero-night-exterior-2.webp'); }
.uh-cine-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  /* evenly-dimmed radial overlay, 0.38 center / 0.82 edge, per alertplumber calibration —
     photo reads clearly behind the centered copy while the edges settle into the page tone */
  background:
    radial-gradient(closest-side at 50% 50%, rgba(20, 16, 14, .38) 0%, rgba(20, 16, 14, .82) 100%),
    linear-gradient(180deg, transparent 55%, rgba(20, 16, 14, .55));
}
.uh-cine-band__inner {
  position: relative; z-index: 1; max-width: 46rem; margin-inline: auto;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.uh-cine-band__inner > * + * { margin-top: 1rem; }
.uh-cine-band__k {
  font-family: var(--uh-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--uh-signal);
}
.uh-cine-band__k::before { content: '\25c9\a0'; }
.uh-cine-band__h2 { font-family: var(--uh-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.02; }
.uh-cine-band__sub { color: var(--uh-mut); max-width: 42ch; margin-inline: auto; }
/* WIDE pill CTA — ~+40% horizontal padding over the standard .uh-btn (1.5em -> 2.1em) */
.uh-cine-band .uh-btn { margin-top: .3rem; padding-inline: 2.1em; }

/* ==========================================================================
   Glow call-wall — centered, no photo, species B (design-rescue item 2b,
   adapted from the garage-doors gx-callwall pattern). Uplight sits BELOW the
   band (radial at 50% 115%) so light rises into it; oversized CTA lives only
   here.
   ========================================================================== */
.uh-callwall {
  position: relative; text-align: center;
  padding-block: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(700px 260px at 50% 115%, rgba(255, 93, 22, .22), transparent 70%),
    linear-gradient(180deg, var(--uh-soot-2), #1c1712 55%, var(--uh-soot-2));
  border-block: 1px solid var(--uh-line-soft);
}
.uh-callwall::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--uh-signal-line), transparent);
}
.uh-callwall__inner { position: relative; max-width: 40rem; margin-inline: auto; }
.uh-callwall__inner > * + * { margin-top: 1.1rem; }
.uh-callwall .uh-btn--primary { font-size: 1.15rem; padding: 1.05em 2.2em; }
.uh-callwall .uh-riskline { justify-content: center; display: flex; }

/* ==========================================================================
   Network readout — slot #2 stat band, home/hub (design-rescue item 3).
   4 glow-number tiles + a provenance third line + a second 4-up row = 8-10
   data cells, no h2 (mono eyebrow only) so it never reads as a prose section.
   ========================================================================== */
.uh-statband { background: var(--uh-soot-2); border-block: 1px solid var(--uh-line-soft); padding-block: clamp(2rem, 4vw, 3rem); }
.uh-statband__head { margin-bottom: 1.5rem; }
.uh-statband__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.uh-statband__grid + .uh-statband__grid { margin-top: 1.75rem; border-top: 1px solid var(--uh-line-soft); padding-top: 1.6rem; }
.uh-statband__item { padding: 0 1.4rem; border-left: 1px solid var(--uh-line-soft); }
.uh-statband__item:first-child { border-left: 0; }
.uh-statband__num {
  font-family: var(--uh-display); font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: .01em;
  color: var(--uh-signal); text-shadow: 0 0 18px rgba(255, 93, 22, .35);
}
.uh-statband__label { font-size: .85rem; font-weight: 700; margin-top: .25rem; }
.uh-statband__src { font-family: var(--uh-mono); font-size: .66rem; color: var(--uh-mut-2); margin-top: .3rem; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 900px) { .uh-statband__grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; } .uh-statband__item:nth-child(odd) { border-left: 0; } }
@media (max-width: 480px) { .uh-statband__grid { grid-template-columns: 1fr; } .uh-statband__item { border-left: 0 !important; padding: 0; } }

/* ==========================================================================
   PORT COMPAT — styles for scripts/content_pools.py's own emitted markup.
   That module (owned independently, frozen sections()/hub_content()/etc
   contract) renders real prose with its OWN flat class names — uh-board-row,
   uh-triage-split, uh-dial, uh-cta-line, uh-process (as <ol>), uh-ready-list,
   uh-faq-item, uh-service-card, uh-metro-list/uh-state-list — which differ
   from the BEM names above used by the hand-authored design/*.html mocks.
   Rather than edit that module's 2,500+ lines, this block styles its actual
   output in the same night-dispatch language so scripts/templates.py's port
   renders correctly without touching content generation. Everything here is
   scoped under .uh-content (the wrapper templates.py puts around a section's
   raw html) so it can't leak into the hand-authored mock markup above.
   ========================================================================== */
.uh-content { color: var(--uh-ink); }
.uh-content > p, .uh-content > ul, .uh-content > ol, .uh-content > table,
.uh-content > div { margin-top: 1rem; }
.uh-content > *:first-child { margin-top: 0; }
.uh-content p { color: var(--uh-mut); max-width: 68ch; }
.uh-content p.uh-answer { color: var(--uh-ink); max-width: 62ch; font-size: clamp(1.02rem, 1.3vw, 1.2rem); }
.uh-content p.uh-answer strong { color: var(--uh-signal); font-weight: 600; }
.uh-content h2 {
  font-family: var(--uh-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.02; margin-top: 2.25rem; margin-bottom: .25rem;
}
.uh-content > h2:first-child { margin-top: 0; }
.uh-content h3 {
  font-family: var(--uh-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.05; margin-top: 1.5rem; margin-bottom: .3rem;
}
.uh-content a { color: var(--uh-signal); text-decoration: underline; text-underline-offset: 2px; }
.uh-content strong { color: var(--uh-ink); }

/* ==========================================================================
   Section balance system (round-2 design-rescue fix C, 2026-08-11). Every
   .uh-section whose content is a single plain-text flow (no table/list/dl/
   details/designed block — see templates.py's _balance_class()) gets
   .uh-center on its .uh-container: the heading block and the prose column
   both narrow to the same ~68ch measure and sit CENTERED in the section
   (heading centered, body copy left-aligned within that centered column) —
   the fix for "WHAT IS URGENT HVAC SERVICE?" / "WHY CALL INSTEAD OF
   SEARCHING…" reading as a left-pinned narrow column with a dead right half.
   A section that already carries a designed block (table, 2-col split,
   dossier, card grid) is left alone — its own layout already balances it,
   the two are mutually exclusive by construction (a designed section never
   gets this class). No third layout exists site-wide.
   ========================================================================== */
.uh-container.uh-center {
  max-width: 46rem;
}
.uh-container.uh-center > .uh-section-head { text-align: center; }
.uh-container.uh-center > .uh-content > h2:first-child,
.uh-container.uh-center > .uh-content > h3:first-child,
.uh-container.uh-center > h1 {
  text-align: center;
}
/* Steps/process section (templates.py's _STEPS_HEADING_CENTER_IDS): heading centers on its own
   even though the <ol class="uh-process"> row below stays full-width/designed, not capped. */
.uh-section-head--center { text-align: center; max-width: 46rem; margin-inline: auto; }

/* Dispatch Board as a <table> (content_pools' own markup). content_pools
   emits these as BARE <table>s with no overflow-x wrapper div (unlike the
   hand-authored design/mock-costs.html cost table, which wraps its own
   table in .uh-cost-table-wrap) — table-layout:auto can still demand more
   than 100% width from long cell text, so the table itself becomes the
   scroll container (display:block preserves internal row/cell layout in
   all evergreen engines) rather than relying on a wrapper that isn't there.
   Verified: this table.uh-board rule is what BUILD-SPEC §8.10/checklist
   calls "tables in overflow-x wrappers" for content_pools-generated pages. */
/* Round-2 design-rescue fix D (2026-08-11): `display: block` on the table (needed so the table
   itself becomes the horizontal-scroll container on narrow viewports — see the docstring above)
   turns out to ALSO break the width-100% promise on any viewport where it fits: `display:block`
   means the <table> is no longer a CSS table box at all, so its <tbody>/<tr>/<td> children (which
   keep their table-internal display values) get wrapped in a browser-generated ANONYMOUS table
   box that runs the real column-layout algorithm — and that anonymous box shrink-to-fits its
   content width, independent of the outer block box's explicit 100%. The result: the table's
   outer bordered/rounded PANEL is full width, but the actual columns stop wherever the content
   ends, leaving a dead strip on the right inside the panel — exactly the "table panel stops
   short + right-edge artifact" defect the operator saw. Fix: only fall back to display:block
   (and its horizontal scroll) below the width where 4-5 real-world columns could ever need it;
   at any wider viewport this stays a genuine `display: table`, so the standard auto-layout
   algorithm distributes the full 100% width across all columns like any ordinary table. */
.uh-content table.uh-board, .uh-content table.uh-cost-table {
  display: table; width: 100%; max-width: 100%;
}
@media (max-width: 599.9px) {
  .uh-content table.uh-board, .uh-content table.uh-cost-table {
    display: block; overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch;
  }
}
.uh-content table.uh-board {
  border-collapse: collapse;
  border: 1px solid var(--uh-line); border-radius: var(--uh-radius-lg);
}
.uh-content table.uh-board thead tr {
  background: var(--uh-panel-2); font-family: var(--uh-mono); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--uh-mut-2);
}
.uh-content table.uh-board th, .uh-content table.uh-board td { padding: .9rem 1.3rem; text-align: left; }
.uh-content table.uh-board tbody { background: var(--uh-panel); }
.uh-content tr.uh-board-row { border-top: 1px solid var(--uh-line-soft); transition: background-color .16s ease; }
.uh-content tr.uh-board-row:hover { background: var(--uh-panel-2); }
.uh-content td.uh-board-symptom { font-family: var(--uh-display); font-size: 1.08rem; letter-spacing: .01em; color: var(--uh-ink); }
.uh-content td.uh-board-window { color: var(--uh-mut); font-weight: 600; }

/* Urgency chips — 5-tier (content_pools uses EMERGENCY/URGENT/PRIORITY/STANDARD/ROUTINE).
   Only var(--uh-signal) and neutral line/mut tones — uh-ok green stays reserved for
   availability chips/status dots per BUILD-SPEC §5, never used as an urgency color.

   Round-2 design-rescue fix D (2026-08-11): the operator saw the URGENT chip render as an EMPTY
   orange pill — the label WAS in the markup, but CSS cascade is per-PROPERTY, not per-rule: the
   legacy hand-authored mock's own `.uh-chip--urgent { background: var(--uh-signal); ... }`
   (further up this file, design/mock-*.html's BEM board) shares the exact same class name as
   this real 5-tier taxonomy's URGENT chip, and this block never redeclared `background` — so the
   old rule's orange BACKGROUND kept winning while this block's `color: var(--uh-signal)` also
   won, producing orange text on an orange background (invisible). Every variant below now
   explicitly declares `background` (even when "none"), so no property can leak through from an
   earlier same-specificity rule regardless of file order — self-contained by construction. */
.uh-content .uh-chip, .uh-chip {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--uh-display); font-size: .8rem; letter-spacing: .03em;
  padding: .35em .85em; border-radius: 999px; width: fit-content; white-space: nowrap;
}
.uh-chip--emergency { background: var(--uh-signal); color: #1a0d05; border: 1px solid var(--uh-signal); }
.uh-chip--urgent { background: none; border: 1px solid var(--uh-signal); color: var(--uh-signal); }
.uh-chip--priority { background: none; border: 1px solid var(--uh-signal-line); color: var(--uh-signal); opacity: .85; }
.uh-chip--standard { background: none; border: 1px solid var(--uh-line); color: var(--uh-mut); }
.uh-chip--routine { background: none; border: 1px solid var(--uh-line); color: var(--uh-mut-2); }

/* Symptom triage split (content_pools markup: uh-triage-split / uh-triage-col / --now / --wait) */
.uh-content .uh-triage-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.25rem; }
.uh-content .uh-triage-col { border-radius: var(--uh-radius); padding: 1.6rem 1.7rem; border: 1px solid var(--uh-line); }
.uh-content .uh-triage-col--now { background: linear-gradient(180deg, rgba(255,93,22,.09), transparent 60%); border-color: var(--uh-signal-line); }
.uh-content .uh-triage-col--wait { background: var(--uh-panel); }
.uh-content .uh-triage-col h3 { margin-top: 0; }
.uh-content .uh-triage-col ul { display: grid; gap: .6rem; margin-top: .6rem; }
.uh-content .uh-triage-col li { padding-left: 1.2rem; position: relative; font-size: .94rem; color: var(--uh-mut); list-style: none; }
.uh-content .uh-triage-col--now li::before { content: '!'; position: absolute; left: 0; color: var(--uh-signal); font-weight: 800; }
.uh-content .uh-triage-col--wait li::before { content: '\2013'; position: absolute; left: 0; color: var(--uh-mut-2); }
@media (max-width: 900px) { .uh-content .uh-triage-split { grid-template-columns: 1fr; } }

/* Climate Load Readout — flat tile markup (uh-readout > uh-dial > label/value/note).
   "Segmented" treatment done with a tick-mark top edge instead of a circular
   gauge, since content_pools doesn't compute a --val percentage per fact. */
.uh-content .uh-readout {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.1rem;
  margin-top: 1.25rem;
}
.uh-content .uh-dial {
  border: 1px solid var(--uh-line); border-radius: var(--uh-radius);
  background: linear-gradient(180deg, var(--uh-panel), var(--uh-soot-2));
  padding: 1.2rem 1.3rem; position: relative; overflow: hidden;
}
.uh-content .uh-dial::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--uh-signal) 0 8px, transparent 8px 12px);
}
.uh-content .uh-dial-label { display: block; font-family: var(--uh-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--uh-mut-2); }
.uh-content .uh-dial-value { display: block; font-family: var(--uh-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--uh-ink); margin-top: .35rem; }
.uh-content .uh-dial-note { display: block; font-size: .82rem; color: var(--uh-mut); margin-top: .4rem; line-height: 1.45; }

/* CTA band (content_pools markup: uh-cta-band / uh-cta-line / uh-cta-phone / uh-cta-chip) */
.uh-content .uh-cta-band {
  border-radius: var(--uh-radius-lg); padding: clamp(1.6rem, 3.5vw, 2.4rem);
  background: radial-gradient(ellipse 80% 100% at 15% 0%, rgba(255,93,22,.16), transparent 60%), var(--uh-panel);
  border: 1px solid var(--uh-signal-line); margin-top: 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
}
.uh-content .uh-cta-line { font-weight: 700; font-size: 1.05rem; margin: 0; max-width: 40ch; color: var(--uh-ink); }
.uh-content .uh-cta-phone {
  font-family: var(--uh-display); font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--uh-signal);
}
.uh-content .uh-cta-chip {
  font-family: var(--uh-mono); font-size: .76rem; letter-spacing: .03em; color: var(--uh-ok);
  padding: .4em .8em; border-radius: 999px; background: var(--uh-ok-dim); border: 1px solid rgba(87,200,120,.3);
}

/* Process rail as <ol class="uh-process"> (content_pools' own "How does calling actually work?"
   step markup). Round-2 design-rescue fix E: the operator saw the connector line render THROUGH
   the card tops — same property-leak family as fix D's chips/table: the legacy hand-authored
   `.uh-process` rail (further up this file, numbered-badge mock design) sets `position: relative`
   and `grid-template-columns: repeat(4,1fr)` on the bare `.uh-process` class, and its own
   `::before` connector line at `top: 1.1rem` relies on `.uh-process__num`'s OWN opaque background
   to visually "break" the line where each digit sits — a masking trick this block's actual <li>
   markup never had, so the line painted straight across the tops of all four real cards instead.
   This block is now fully self-contained (position/grid-template-columns/responsive breakpoints
   all redeclared here, not inherited from the legacy rule) and gives the row its OWN connector
   line, repositioned to the card MIDLINE and pushed to z-index:-1 so it paints BEHIND the
   in-flow, opaque card boxes (CSS stacking order: non-positioned normal-flow content always
   paints above a negative-z-index positioned descendant) — it only ever shows as a short rail
   segment in the gaps between cards, never through them. */
.uh-content ol.uh-process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-top: 1.25rem;
  counter-reset: none; list-style: none; padding: 0; position: relative; align-items: stretch;
  justify-content: center;
}
.uh-content ol.uh-process::before {
  content: ''; position: absolute; top: 50%; left: 4%; right: 4%; height: 1px;
  background: var(--uh-line); z-index: -1;
}
.uh-content ol.uh-process li {
  border: 1px solid var(--uh-line); border-radius: var(--uh-radius); background: var(--uh-panel);
  padding: 1rem 1.3rem; color: var(--uh-mut); position: relative;
}
.uh-content ol.uh-process li strong { color: var(--uh-signal); font-family: var(--uh-display); font-size: 1.05rem; letter-spacing: .02em; margin-right: .5em; }
@media (max-width: 900px) { .uh-content ol.uh-process { grid-template-columns: 1fr 1fr; row-gap: 1.4rem; } .uh-content ol.uh-process::before { display: none; } }
@media (max-width: 480px) { .uh-content ol.uh-process { grid-template-columns: 1fr; } }

/* Have-ready checklist as <ul class="uh-ready-list"> */
.uh-content ul.uh-ready-list { display: grid; gap: .7rem; margin-top: 1.25rem; list-style: none; padding: 0; }
.uh-content ul.uh-ready-list li {
  padding: .85rem 1.1rem .85rem 2.4rem; position: relative;
  border: 1px solid var(--uh-line); border-radius: var(--uh-radius-sm); background: var(--uh-panel);
  color: var(--uh-mut);
}
.uh-content ul.uh-ready-list li::before {
  content: '\2713'; position: absolute; left: 1rem; top: .85rem; color: var(--uh-ok); font-weight: 800;
}

/* Homepage "show more questions" toggle (design-rescue item 5) — DOM-present extended FAQ
   depth without turning the visible 6-8 questions into a wall. */
.uh-content details.uh-faq-more {
  margin-top: 1rem; max-width: 52rem;
  border: 1px solid var(--uh-line); border-radius: var(--uh-radius);
  background: var(--uh-panel); padding: 1.1rem 1.4rem;
}
.uh-content details.uh-faq-more > summary {
  cursor: pointer; list-style: none; font-weight: 800; color: var(--uh-signal); font-size: .95rem;
}
.uh-content details.uh-faq-more > summary::-webkit-details-marker { display: none; }
.uh-content details.uh-faq-more[open] > summary { margin-bottom: .9rem; }
.uh-content details.uh-faq-more .uh-faq { margin-top: 0; }

/* FAQ — content_pools' own div.uh-faq/uh-faq-item (hub/costs) AND build.py's
   ul.uh-faq-list (city pages) both land here; neither emits <details>, so
   these render as static cards rather than the accordion in design/*.html —
   documented gap, see uhs-2026 templates.py port notes. */
.uh-content .uh-faq, .uh-content ul.uh-faq-list { display: grid; gap: .8rem; max-width: 52rem; margin-top: 1.25rem; list-style: none; padding: 0; }
.uh-content .uh-faq-item, .uh-content ul.uh-faq-list > li {
  border: 1px solid var(--uh-line); border-radius: var(--uh-radius); background: var(--uh-panel);
  padding: 1.1rem 1.4rem;
}
.uh-content .uh-faq-item h3, .uh-content ul.uh-faq-list > li strong {
  display: block; font-family: var(--uh-body); text-transform: none; font-size: 1.02rem; font-weight: 800; color: var(--uh-ink); margin: 0 0 .5rem;
}
.uh-content .uh-faq-item p, .uh-content ul.uh-faq-list > li p { margin-top: 0; }

/* Service cards / grid (home_content) */
.uh-content .uh-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
/* Photo header card (coordinator follow-up, GD pattern): image + bottom vignette ::after,
   content below in its own padded body — border/bg/radius move from the card itself onto the
   body so the photo can bleed to the card's own rounded top corners. */
.uh-content .uh-service-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--uh-line); border-radius: var(--uh-radius);
  background: var(--uh-panel); padding: 0;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.uh-content .uh-service-card:hover {
  transform: translateY(-3px); border-color: rgba(255, 93, 22, .4);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .38), 0 0 22px rgba(255, 93, 22, .14);
}
.uh-content .uh-service-card__photo {
  position: relative; height: 148px; overflow: hidden;
  background: var(--uh-panel-2);
}
/* background-image lives on ::before (not the parent) so the hover-zoom transform below scales
   the SAME element that carries the photo, not an empty parent box. */
.uh-content .uh-service-card__photo::before {
  content: ''; position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .3s ease;
}
.uh-content .uh-service-card__photo[data-img="macro-coil"]::before { background-image: url('../img/macro-coil.webp'); }
.uh-content .uh-service-card__photo[data-img="hero-furnace-flame"]::before { background-image: url('../img/hero-furnace-flame.webp'); }
.uh-content .uh-service-card__photo[data-img="macro-heatpump"]::before { background-image: url('../img/macro-heatpump.webp'); }
.uh-content .uh-service-card__photo[data-img="macro-thermostat-wires"]::before { background-image: url('../img/macro-thermostat-wires.webp'); }
.uh-content .uh-service-card:hover .uh-service-card__photo::before { transform: scale(1.04); }
.uh-content .uh-service-card__photo::after {
  /* bottom vignette — photo settles into the card body's own background */
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, var(--uh-panel) 100%);
}
.uh-content .uh-service-card__body { padding: 1.4rem; }
.uh-content .uh-service-card h3 { margin-top: 0; }
.uh-content .uh-service-card h3 a { text-decoration: none; }
@media (max-width: 700px) { .uh-content .uh-service-grid { grid-template-columns: 1fr; } }

/* Metro / state link lists (hub_content directory, home_content footer directory) */
.uh-content ul.uh-metro-list, .uh-content ul.uh-state-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 1rem; list-style: none; padding: 0;
}
.uh-content ul.uh-metro-list li a, .uh-content ul.uh-state-list li a {
  display: block; padding: .7rem .9rem; border: 1px solid var(--uh-line); border-radius: var(--uh-radius-sm);
  font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--uh-mut);
}
.uh-content ul.uh-metro-list li a:hover, .uh-content ul.uh-state-list li a:hover { border-color: var(--uh-signal); color: var(--uh-signal); }
@media (max-width: 900px) { .uh-content ul.uh-metro-list, .uh-content ul.uh-state-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .uh-content ul.uh-metro-list, .uh-content ul.uh-state-list { grid-template-columns: 1fr; } }

/* Dossier rows — recomposed prose (design-rescue item 4). content_pools.py's
   _section_local_factors() and the hub/home "who operates" block now emit
   <dl class="uh-dossier"> label/value rows with a dashed rule instead of a
   plain paragraph run, WITHOUT changing a single sentence of the underlying
   variant text (word floors / Jaccard measure the same words either way). */
.uh-content .uh-dossier { margin-top: 1.1rem; border-top: 1px solid var(--uh-line-soft); }
.uh-content .uh-dossier-row {
  display: grid; grid-template-columns: 11rem 1fr; gap: 1.25rem; align-items: baseline;
  padding: .9rem 0; border-bottom: 1px dashed var(--uh-line);
}
.uh-content .uh-dossier-row dt {
  margin: 0; font-family: var(--uh-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--uh-signal);
}
.uh-content .uh-dossier-row dd { margin: 0; color: var(--uh-mut); font-size: .94rem; }
@media (max-width: 700px) { .uh-content .uh-dossier-row { grid-template-columns: 1fr; gap: .35rem; } }

/* Climate Load Readout second 4-up row — have-ready items on city pages
   (design-rescue item 3: "city pages keep Climate Readout and gain the
   have-ready 4-up in the readout band"). Deliberately icon-free/non-numeric
   so it reads as a second density row, not a duplicate of the dial tiles. */
.uh-content .uh-readout-row2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1.1rem; }
.uh-content .uh-readout-row2 li {
  list-style: none; border: 1px solid var(--uh-line); border-radius: var(--uh-radius-sm);
  background: var(--uh-panel); padding: .7rem .9rem; font-size: .8rem; color: var(--uh-mut);
}
.uh-content .uh-readout-row2 li::before { content: '\2713\a0'; color: var(--uh-ok); }
@media (max-width: 700px) { .uh-content .uh-readout-row2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .uh-content .uh-readout-row2 { grid-template-columns: 1fr; } }

/* Tighter pad scale, panel/deep bands only (design-rescue item 10) */
.uh-section--tight { padding-block: var(--uh-section-pad-tight); }
