/* === BIM SEAL FONTS START === */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap');
/* === BIM SEAL FONTS END === */
/* ============================================================
   LIGHT-LISTING.CSS — Light-mode theme for city MSP listing pages
   Depends on: global.css, listing.css (link AFTER both)
   Extracted from the Atlanta listing page so every city page shares
   one source of truth. Re-maps the dark design tokens to light,
   adds the extra listing components, and keeps the footer dark so
   the white logo stays visible.
   ============================================================ */

/* ── Component styles ── */
.company-blurb{font-size:0.85rem;line-height:1.55;color:#374151;margin:14px 0 4px;padding:14px 0 0;border-top:1px solid #e5e7eb;}
.blurb-source{display:block;font-size:0.7rem;color:#9ca3af;margin-top:8px;letter-spacing:0.01em;}

/* Sibling-cities strip */
.sibling-cities{background:#f4f5f7;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;padding:48px 0;}
.sibling-cities h2{font-size:1.3rem;color:#141414;margin-bottom:8px;font-family:'Manrope',sans-serif;}
.sibling-cities-sub{font-size:0.9rem;color:#6b7280;margin-bottom:24px;}
.sibling-cities-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.sibling-city{background:#fff;border:1px solid #e5e7eb;border-radius:var(--radius);padding:14px 16px;text-decoration:none;color:#374151;transition:border-color 0.2s,color 0.2s,box-shadow 0.2s;display:flex;justify-content:space-between;align-items:center;font-size:0.9rem;}
.sibling-city:hover{border-color:rgba(33,24,57,0.35);color:#141414;box-shadow:0 3px 10px rgba(33,24,57,.08);}
.sibling-city-meta{font-size:0.72rem;color:#9ca3af;}
@media (max-width:768px){.sibling-cities-grid{grid-template-columns:repeat(2,1fr);}}

/* Linkified neighborhood chips */
a.chip{text-decoration:none;transition:border-color 0.2s,color 0.2s;}
a.chip:hover{border-color:rgba(33,24,57,0.4);color:#141414 !important;}

/* City-info H3 subheads */
.city-info-main h3{font-size:1.05rem;color:#141414;font-family:'Manrope',sans-serif;font-weight:700;margin:24px 0 8px;line-height:1.3;}
.city-info-main h3:first-of-type{margin-top:20px;}
.city-info-main p{margin-top:0;}

/* Hero eyebrow date */
.hero-eyebrow-year{display:inline-block;margin-left:8px;font-size:0.78rem;color:rgba(255,255,255,.6);font-weight:500;}

/* ══════════════════════════════════════
   LIGHT THEME
   ══════════════════════════════════════ */

/* CSS variable overrides */
:root {
  --dark-2: #f4f5f7;
  --dark-3: #ebedf0;
  --text-dim: #374151;
  --text-muted: #6b7280;
  --border: #e5e7eb;
}

/* Page background + default text color (dark, so bare inherited text is readable) */
body { background: #f8f9fa !important; color: #374151 !important; }

/* ── Hero (sitewide city + directory skin) ─────────────────────
   Ownable Best IT MSP identity: navy base + a cyan corner glow + a
   subtle dotted-grid motif, a
   cyan-dot eyebrow, stat "chips" with a cyan top-accent, and a cyan
   bottom rule. Applies to every city listing page and the US/CA
   directory pages (both load this stylesheet). */
section.hero {
  background:
    radial-gradient(900px 440px at 100% -12%, rgba(124,58,237,.30), transparent 60%),
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(140deg, #140b2e 0%, #211839 55%, #2a1a4f 100%) !important;
  border-bottom: 3px solid #7c3aed !important;
  color: white;
}
.hero h1,.hero .hero-desc { color: white !important; }

/* Eyebrow: cyan-tinted pill with a leading cyan dot */
.hero .section-label {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  background: rgba(124,58,237,.14) !important;
  border-color: rgba(124,58,237,.42) !important;
  color: #f6f1fe !important;
}
.hero .section-label::before {
  content: "";
  flex: 0 0 auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,.25);
}

/* Stat strip -> bordered chips with a cyan top-accent */
.hero-stats { border-top: 1px solid rgba(255,255,255,.16) !important; gap: 14px !important; }
.hero-stats > div {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-top: 2px solid #7c3aed;
  border-radius: 12px;
  padding: 13px 18px;
  min-width: 144px;
}
.hero-stat-val { color: white !important; }
.hero-stat-lbl { color: rgba(255,255,255,.72) !important; }

/* Nav stays dark — no override needed */

/* Filter bar */
.filter-bar { background: white !important; border-bottom: 1px solid #e5e7eb !important; box-shadow: 0 2px 6px rgba(0,0,0,.05) !important; }
.filter-label { color: #6b7280 !important; }
.filter-count { color: #6b7280 !important; }
.filter-select { background-color: #f8f9fa !important; border-color: #e5e7eb !important; color: #141414 !important; }
.filter-reset { color: #211839 !important; }

/* Listings section */
.listings-section { background: #f8f9fa !important; }
.listings-title { color: #141414 !important; }
.listings-subtitle { color: #6b7280 !important; }

/* Company ranked rows (light) — navy/cyan accents */
.company-card { background: white !important; border-color: #e5e7eb !important; box-shadow: 0 2px 8px rgba(0,0,0,.06) !important; }
.company-card:hover { box-shadow: 0 8px 24px rgba(33,24,57,.10) !important; border-color: rgba(33,24,57,.35) !important; }
.company-name { color: #141414 !important; }
.company-location { color: #6b7280 !important; }
.company-logo { background: #f1f5f9 !important; border-color: #e5e7eb !important; color: #211839 !important; }
.card-rank-num { color: #211839 !important; }
.card-rank-lbl { color: #9ca3af !important; }
.card-rank--ad { color: #7c3aed !important; }
.card-aside { border-left-color: #e5e7eb !important; }
.meta-item svg { color: #211839 !important; }
.meta-val { color: #374151 !important; }
.card-rating .rating-val, .rating-val { color: #141414 !important; }
.card-rating .stars { color: #7c3aed !important; }
.review-count,.review-source { color: #6b7280 !important; }
.tag { background: #f5f0fe !important; color: #211839 !important; border-color: rgba(33,24,57,.15) !important; }
.card-actions .btn-outline { border-color: #e5e7eb !important; color: #374151 !important; }
.card-actions .btn-outline:hover { border-color: #211839 !important; color: #211839 !important; background: #f5f0fe !important; }

/* Content sections */
section.section { background: white !important; }

/* Generic .card inside sections */
.card { background: white !important; border: 1px solid #e5e7eb !important; box-shadow: 0 2px 6px rgba(0,0,0,.05) !important; color: #374151 !important; }
.card h4, .card h3 { color: #141414 !important; }
.card p, .card li { color: #374151 !important; }

/* Section labels, titles, subs */
.section-label { background: rgba(33,24,57,.08) !important; border-color: rgba(33,24,57,.2) !important; color: #211839 !important; }
.section-title { color: #141414 !important; }
.section-sub { color: #6b7280 !important; }

/* Catch all inline color:var(--white) on content elements */
[style*="color:var(--white)"] { color: #141414 !important; }

/* City info section */
.city-info { background: white !important; }
.city-info-main h2 { color: #141414 !important; }
.city-info-main p { color: #374151 !important; }
.city-stat { border-color: #e5e7eb !important; background: #f8f9fa !important; }
.city-stat-val { color: #141414 !important; }
.city-stat-lbl { color: #6b7280 !important; }

/* Chips */
.chip { background: #f8f9fa !important; border: 1px solid #e5e7eb !important; color: #374151 !important; }
.chips-title { color: #6b7280 !important; font-weight: 600; }

/* Market section */
.market-section { background: #f8f9fa !important; }
.market-card { background: white !important; border-color: #e5e7eb !important; box-shadow: 0 2px 8px rgba(0,0,0,.06) !important; }
.market-card h3 { color: #141414 !important; }
.market-list-item { border-bottom-color: #e5e7eb !important; }
.market-list-item .key { color: #374151 !important; }
.market-list-item .val { color: #141414 !important; font-weight: 600; }

/* ── FAQ accordion (sitewide light-mode skin) ──────────────────
   Replaces the legacy dark-grey collapsed boxes with an on-brand white
   card + cyan left-accent. Accordion behaviour is unchanged (the answer
   stays collapsed until .open); only the look is re-skinned. Applies on
   every light page that uses .faq-item (home, city, reports, about, etc.). */
.faq-section { background: #f8f9fa !important; }
.faq-list { max-width: 840px; }
.faq-item {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-left: 4px solid #7c3aed !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(33,24,57,.05) !important;
  overflow: hidden !important;
  transition: border-color .2s, box-shadow .2s, transform .2s !important;
}
.faq-item:hover { box-shadow: 0 10px 26px rgba(33,24,57,.10) !important; transform: translateY(-1px); }
.faq-item.open { border-color: rgba(33,24,57,.28) !important; }
.faq-q {
  color: #211839 !important;
  font-weight: 700 !important;
  font-size: 1.04rem !important;
  background: transparent !important;
  padding: 18px 22px !important;
}
.faq-q:hover { color: #6d28d9 !important; }
.faq-icon {
  background: #f5f0fe !important;
  border: 1px solid #ddd0fa !important;
  color: #211839 !important;
}
.faq-item.open .faq-icon { background: #7c3aed !important; border-color: #7c3aed !important; color: #fff !important; }
.faq-a { color: #374151 !important; background: transparent !important; padding: 0 22px 18px !important; border-top: 1px solid #eef1f4 !important; padding-top: 14px !important; }
/* Static (non-accordion) FAQ blocks have no +icon, so always show the answer
   (home, reports, evaluation-process, about). Accordion pages that include a
   .faq-icon keep their click-to-expand behaviour. */
.faq-item:not(:has(.faq-icon)) .faq-q { cursor: default !important; }
.faq-item:not(:has(.faq-icon)) .faq-a { display: block !important; }

/* CTA banner stays crimson */
.cta-banner { background: linear-gradient(135deg, #140b2e 0%, #211839 100%) !important; }
.cta-banner h2 { color: white !important; }
.cta-banner p { color: rgba(255,255,255,.85) !important; }

/* No-results state */
.no-results h3 { color: #141414 !important; }
.no-results p, .no-results svg { color: #6b7280 !important; stroke: #6b7280; }

/* Submarket card */
.submarket-card { background: #f8f9fa; border: 1px solid #e5e7eb; border-left: 3px solid #211839; border-radius: var(--radius); padding: 14px 16px; }
.submarket-card-name { font-family: 'Manrope', sans-serif; font-weight: 700; color: #141414; font-size: 0.88rem; margin-bottom: 4px; }
.submarket-card p { font-size: 0.8rem; color: #6b7280; margin: 0; line-height: 1.5; }

/* Pricing tier cards */
.pricing-tier { background: white; border: 1px solid #e5e7eb; border-radius: var(--radius); padding: 18px 14px; text-align: center; }
.pricing-tier.highlight { border-color: rgba(33,24,57,.3); background: rgba(33,24,57,.03); }
.pricing-tier-label { font-family: 'Manrope', sans-serif; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; margin-bottom: 8px; }
.pricing-tier.highlight .pricing-tier-label { color: #211839; }
.pricing-tier-val { font-family: 'Manrope', sans-serif; font-size: 1.15rem; font-weight: 800; color: #141414; margin-bottom: 3px; }
.pricing-tier-sub { font-size: 0.72rem; color: #9ca3af; }

@media (max-width:640px) {
  .pricing-tiers-grid { grid-template-columns: repeat(2,1fr) !important; }
  .submarket-grid { grid-template-columns: 1fr !important; }
}

/* ── Section background rhythm ─────────────────────────────────
   Sections that were dark (var(--dark)) get light gray to alternate
   with white sections, so the page isn't one long white block.
── */
section.section[style*="background:var(--dark)"] {
  background: #f8f9fa !important;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
section.section[style*="background:var(--dark-2)"] {
  background: #f4f5f7 !important;
}
/* Inner containers that referenced dark-2 / dark-3 */
[style*="background:var(--dark-2)"] { background: white !important; }
[style*="background:var(--dark-3)"] { background: #f8f9fa !important; }


/* ── Footer stays dark so white SVG logo remains visible ── */
.site-footer { background: #211839 !important; }
footer.site-footer p,
footer.site-footer a { color: rgba(255,255,255,.65) !important; }
footer.site-footer h4, footer.site-footer h3 { color: #fff !important; }
footer.site-footer .footer-bottom { border-top-color: rgba(255,255,255,.12) !important; }
.footer-logo { opacity: 1 !important; }

/* ══════════════════════════════════════════════════════════════════
   READABILITY FIXES — prevent light-on-light text
   The dark theme colors <strong> with --text (#e5e5e5) and the filter
   count + modal with --white (#fff); on the light page those render
   near-white/invisible. Remap the base text var and patch the rest.
   ══════════════════════════════════════════════════════════════════ */
:root { --text: #1f2937; }                              /* was near-white */
.filter-count strong { color: #141414 !important; }     /* the "N providers found" number */
.hero strong, .cta-banner strong { color: #fff !important; }  /* keep bold white on crimson */

/* Contact modal in light mode (listing pages) */
.modal-box { background: #fff !important; border-color: #e5e7eb !important; }
.modal-box h3 { color: #141414 !important; }
.modal-box .modal-sub { color: #6b7280 !important; }
.modal-close { background: #f4f5f7 !important; border-color: #e5e7eb !important; color: #6b7280 !important; }
.modal-close:hover { background: #211839 !important; border-color: #211839 !important; color: #fff !important; }
.form-group label { color: #6b7280 !important; }
.form-group input,
.form-group textarea,
.form-group select { background: #f8f9fa !important; border-color: #e5e7eb !important; color: #141414 !important; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { background: #fff !important; border-color: #211839 !important; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9ca3af !important; }
.form-success h4 { color: #141414 !important; }
.form-success p { color: #6b7280 !important; }

/* Bare headings inherit white from the dark theme; default them dark and keep
   white only on the crimson hero / CTA. */
h2, h3, h4, h5, h6 { color: #141414; }
.hero h1, .hero h2, .hero h3,
.cta-banner h1, .cta-banner h2, .cta-banner h3 { color: #fff !important; }
.modal-heading { color: #141414 !important; }   /* hand-built modal title variant */
/* Outline buttons: dark on light, white on crimson surfaces */
.btn-outline { color: #374151 !important; border-color: #e5e7eb !important; }
.hero .btn-outline, .cta-banner .btn-outline { color: #fff !important; border-color: rgba(255,255,255,.5) !important; }
.hero .btn-outline:hover, .cta-banner .btn-outline:hover { background: rgba(255,255,255,.12) !important; }

/* coming-soon sibling metros: not yet built, shown as muted non-links
   (mirrors the index "Launching soon" cards: readable name, muted status). */
.sibling-city--soon{background:#fbfbfc;border-style:dashed;color:#6b7280;cursor:default;box-shadow:none;}
.sibling-city--soon:hover{border-color:#e5e7eb;color:#6b7280;box-shadow:none;}
.sibling-city--soon .sibling-city-meta{color:#9ca3af;font-weight:600;}

/* ── Best IT MSP: paid top-spot (featured) placements + claim CTA ───────────── */
.company-card { position: relative; }
.company-card--featured {
  border-color: var(--cyan);
  box-shadow: 0 6px 20px rgba(124,58,237,.18);
}
.card-sponsored {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: .64rem;
  letter-spacing: .05em; text-transform: uppercase; color: #211839;
  background: #7c3aed; padding: 4px 9px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(124,58,237,.35);
}
.claim-spot {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  justify-content: space-between; margin-top: 28px; padding: 20px 24px;
  background: #f6f1fe;
  border: 1px solid #c4e6f9; border-left: 4px solid #7c3aed;
  border-radius: 14px; color: #1f2937;
}
.claim-spot-text { display: flex; flex-direction: column; gap: 3px; }
.claim-spot-text strong { font-family: 'Manrope', sans-serif; font-size: 1.02rem; color: #211839; }
.claim-spot-text span { font-size: .88rem; color: #475569; }
.claim-spot .btn-primary { background: #211839; color: #ffffff; border-color: #211839; flex: 0 0 auto; }
.claim-spot .btn-primary:hover { background: #7c3aed; color: #ffffff; border-color: #7c3aed; }


/* =======================================================================
   TIM CONTENT-WALL RESTYLE  (below-listings sections)  - added 2026-07-16
   Boxed editorial cards: cloud-gray wall, white rounded cards, cyan heading
   bar. Scoped to the wall sections ONLY. The ranked provider cards
   (.listings-section), the hero, and the navy CTA (.cta-banner / .section--sm)
   are intentionally left untouched. Reversible: delete this whole block.
   ======================================================================= */
:is(section.section, section.city-info, section.market-section,
    section.faq-section, section.sibling-cities) {
  background: #eef1f5 !important;
  padding: 18px 20px !important;
}
:is(section.section, section.city-info, section.market-section,
    section.faq-section, section.sibling-cities) > .container {
  background: #ffffff !important;
  border: 1px solid #e4e7ec !important;
  border-radius: 16px !important;
  padding: 34px clamp(20px, 4vw, 44px) !important;
  box-shadow: 0 3px 16px rgba(33, 24, 57, .06) !important;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
/* cyan left accent bar on each wall heading */
:is(section.section, section.city-info, section.market-section,
    section.faq-section, section.sibling-cities) h2 {
  border-left: 4px solid #7c3aed;
  padding-left: 16px;
  text-align: left;
}
:is(section.section, section.city-info, section.market-section,
    section.faq-section, section.sibling-cities) .section-label {
  margin-left: 0;
}
/* comfortable rhythm above the first wall card and below the last */
section.listings-section { padding-bottom: 8px; }


/* =======================================================================
   TIM MODERN CITY RE-SKIN  -  2026-07-16.  Visual-only modernization of the
   city listing pages: full-width hero text, modern AI-answer card, modern
   white provider cards with a filled rank badge. Layout is unchanged (cards
   already stack full-width) and NO content or schema is touched. Reversible:
   delete this block.
   ======================================================================= */
/* hero: full-width headline + description (remove dead right-side space) */
section.hero .container{max-width:1180px}
.hero h1{max-width:none !important}
.hero .hero-desc{max-width:none !important}

/* AI answer -> modern "In brief" card (kept, never removed) */
.ai-answer{background:#ffffff !important;border:1px solid #e8e2f3 !important;border-left:4px solid #7c3aed !important;
  border-radius:14px !important;padding:22px 26px !important;box-shadow:0 8px 28px rgba(33,24,57,.07) !important}
.ai-answer p{color:#475569 !important}
.ai-answer .ai-answer-meta{color:#64748b !important}

/* provider cards -> modern wide white cards */
.company-grid{gap:16px !important}
.company-card{background:#ffffff !important;border:1px solid #e8e2f3 !important;border-radius:16px !important;
  padding:24px 26px !important;align-items:flex-start !important;
  box-shadow:0 1px 2px rgba(33,24,57,.04),0 8px 24px rgba(33,24,57,.06) !important}
.company-card:hover{border-color:rgba(124,58,237,.42) !important;transform:translateY(-2px) !important;
  box-shadow:0 20px 48px rgba(33,24,57,.13) !important}

/* rank as a filled navy badge; #1 in cyan */
.card-rank{flex:0 0 48px !important}
.card-rank-num{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;
  background:#211839;color:#ffffff !important;font-size:1.18rem}
.card-rank-num::before{display:none !important}
.company-card:first-of-type .card-rank-num{background:linear-gradient(135deg,#6d28d9,#c026d3)}
.card-rank-lbl{margin-top:6px}
.card-rank--ad .card-rank-num{background:#94a3b8}

/* logo monogram, modern */
.company-logo{border-radius:13px !important;background:#f1f5f9 !important;border:1px solid #e8e2f3 !important;color:#211839 !important}

/* rating bigger + on-brand */
.card-rating .rating-val{font-size:1.5rem !important;color:#1b0f3b !important;line-height:1.05 !important}
.card-rating .stars{color:#f5a524 !important}

/* actions -> modern rounded buttons */
.card-actions .btn{border-radius:10px !important}
.card-actions .btn-primary{background:#7c3aed !important;color:#ffffff !important;border-color:#7c3aed !important}
.card-actions .btn-primary:hover{background:#6d28d9 !important;border-color:#6d28d9 !important}


/* =======================================================================
   TIM MODERN SITE RE-SKIN (listing system: directory, reports, service,
   advertise) - 2026-07-16. Shape-only modern polish (radius/shadow/hover/
   accent). NO background or text-color changes, so no contrast risk.
   Reversible: delete this block.
   ======================================================================= */
.dir-card,.report-card,.benefit-card,.contact-card{
  border-radius:16px !important;
  box-shadow:0 1px 2px rgba(33,24,57,.04),0 8px 24px rgba(33,24,57,.06) !important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease !important;
}
.dir-card:hover,.report-card:hover,.benefit-card:hover{
  transform:translateY(-3px) !important;
  box-shadow:0 20px 48px rgba(33,24,57,.13) !important;
  border-color:rgba(124,58,237,.42) !important;
}
.dir-grid,.report-grid,.benefit-grid,.apply-grid,.svc-rel-grid{gap:18px !important}
.faq-item,.svc-faq-item{border-radius:12px !important}
.dir-card-arrow{color:#7c3aed !important}

/* ── progressive reveal on long city listings ────────────────────────────────
   Cards past the render cap ship in the HTML and are collapsed with CSS only,
   so the full ranked set stays crawlable and citable on one URL.
   `is-capped` is separate from the `hidden` that filters.js toggles; a card is
   on screen only when it carries neither. */
.company-card.is-capped{display:none !important}

.msp-more-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;
  margin:30px 0 6px;text-align:center}
.msp-more-btn{appearance:none;cursor:pointer;font-family:inherit;font-weight:700;
  font-size:.98rem;line-height:1;padding:15px 34px;border-radius:14px;
  color:#ffffff !important;background:#211839;border:1px solid #211839;
  box-shadow:0 1px 2px rgba(33,24,57,.06),0 8px 22px rgba(33,24,57,.10);
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.msp-more-btn:hover{background:#2c2049;transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(33,24,57,.16)}
.msp-more-btn:focus-visible{outline:3px solid rgba(124,58,237,.55);outline-offset:3px}
.msp-more-count{color:#4d4d4d !important;font-size:.92rem;font-weight:500}

@media (max-width:640px){
  .msp-more-btn{width:100%;padding:16px 20px}
}

/* === BIM SEAL THEME START - generated by tools/apply_theme.py === */
/* ==========================================================================
   Best IT MSP - "Seal" design system (2026 rebrand, C3 lockup)
   ==========================================================================

   THE IDEA. The approved C3 mark is a certification seal: rotary type reading
   RANKED . REVIEWED . VETTED around a rim, a bold B struck into a violet disc.
   That is an inspection stamp, not a tech logo, and it is the honest picture of
   what this directory does. So the site is built from the vernacular of verified
   records: paper stock, hairline rules, struck rank marks, tabular figures,
   certificate borders. Not the SaaS card kit.

   WHY PAPER-DOMINANT. The mark presents itself dark-on-white. The old site was
   dark-purple-dominant and fought it. Paper lets the seal be the loudest thing
   on the page, which is the point.

   WHERE THE BOLDNESS IS SPENT. One place: the seal. It is the nav mark, the rank
   glyph, the hero watermark, and the single piece of non-user-triggered motion on
   the site (one stamp on load, then nothing). Everything else is kept quiet.

   HOW THIS REACHES 26,000 PAGES WITH NO RE-RENDER. Every served page already
   loads global.css then a page-type stylesheet last (light-listing.css for city
   pages, light-profile.css for company and executive profiles). tools/apply_theme.py
   welds this file onto the end of those, between markers, so it overrides at equal
   specificity. The markup is untouched; this restyles the classes that already exist.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   Colour is taken from the lockup itself rather than invented alongside it.
   -------------------------------------------------------------------------- */
:root {
  /* Ink: the wordmark aubergine. A true purple-black, not a tinted near-black. */
  --s-ink:        #1A1430;
  --s-ink-soft:   #3B3357;
  --s-ink-mute:   #6B6484;

  /* Violet: the disc. Already the brand accent, so it carries over unchanged. */
  --s-violet:     #7C3AED;
  --s-violet-dp:  #5B21B6;
  --s-violet-lift:#A78BFA;   /* the lockup's tagline colour */
  --s-violet-wash:#F3EEFE;

  /* Paper: document stock, barely warm. Deliberately not a cream. */
  --s-paper:      #FBFAF8;
  --s-paper-2:    #F4F1EC;
  --s-white:      #FFFFFF;

  --s-rule:       #DCD6E8;   /* hairline */
  --s-rule-soft:  #ECE8F2;
  --s-verified:   #0E9F6E;   /* semantic only: a verified fact */
  --s-star:       #F5A524;

  /* One UI radius. Full-round is reserved for the seal, where it means something. */
  --s-r:          6px;
  --s-r-lg:       10px;

  --s-shadow-lift: 0 1px 2px rgba(26,20,48,.05), 0 8px 24px -12px rgba(26,20,48,.18);

  --s-max:        1200px;
  --s-gutter:     24px;

  /* Type scale, 1.25 from a 17px base (Elements of Typographic Style). */
  --s-micro:      0.8125rem;
  --s-sm:         0.9375rem;
  --s-base:       1.0625rem;
  --s-lg:         1.25rem;
  --s-xl:         1.5rem;
  --s-2xl:        2rem;
  --s-3xl:        2.75rem;
  --s-4xl:        clamp(2.75rem, 1.6rem + 4.6vw, 4.75rem);

  --s-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --s-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

/* --------------------------------------------------------------------------
   2. Page ground
   -------------------------------------------------------------------------- */
body {
  background: var(--s-paper);
  color: var(--s-ink);
  font-family: var(--s-sans);
  font-size: var(--s-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--s-max); padding-inline: var(--s-gutter); }

h1, h2, h3, h4, .listings-title, .company-name {
  font-family: var(--s-sans);
  color: var(--s-ink);
  letter-spacing: -0.022em;
  line-height: 1.1;
  font-weight: 800;
}

/* Narrative prose gets the serif. Data stays in the sans.
   The split is the argument: a measured claim reads as editorial, a measured
   number reads as data, and the page should not blur the two. */
.city-info p,
.ai-answer p,
.quick-answer p,
.market-section p,
.faq-section .faq-a,
.faq-answer {
  font-family: var(--s-serif);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--s-ink-soft);
  max-width: 68ch;
}

a { color: var(--s-violet-dp); text-underline-offset: 3px; }
a:hover { color: var(--s-ink); }

:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--s-violet);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   3. The seal
   Used at four sizes. The ring is the brand's single decorative licence.
   -------------------------------------------------------------------------- */
.s-seal {
  display: inline-block;
  background: url('/brand/seal-dark.png') center / contain no-repeat;
  aspect-ratio: 1;
}

/* --------------------------------------------------------------------------
   4. Navigation - paper, with the lockup as a background so it stays crisp
   and the existing <img> markup needs no edit.
   -------------------------------------------------------------------------- */
.site-nav {
  background: rgba(251, 250, 248, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--s-rule);
  box-shadow: none;
}
.nav-inner { min-height: 76px; gap: 32px; }

.nav-logo {
  width: 208px; height: 60px;
  background: url('/brand/logo-dark.png') left center / contain no-repeat;
}
.nav-logo img, .nav-logo-text { display: none !important; }

.nav-links a {
  font-family: var(--s-sans);
  font-size: var(--s-sm);
  font-weight: 500;
  color: var(--s-ink-soft);
  letter-spacing: 0;
  position: relative;
  padding-block: 6px;
}
.nav-links a:hover { color: var(--s-ink); }
/* The underline answers the pointer, so it is motion with a cause. */
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--s-violet);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s cubic-bezier(.2,.7,.3,1);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

.nav-toggle span { background: var(--s-ink); }

/* --------------------------------------------------------------------------
   5. Buttons - square-ish, confident, no arrow glyphs appended to labels
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--s-sans);
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--s-r);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary {
  background: var(--s-violet);
  color: #fff;
  border: 1px solid var(--s-violet);
  box-shadow: none;
}
.btn-primary:hover { background: var(--s-violet-dp); border-color: var(--s-violet-dp); transform: translateY(-1px); }

.btn-secondary, .btn-outline, .btn-ghost {
  background: transparent;
  color: var(--s-ink);
  border: 1px solid var(--s-ink);
}
.btn-secondary:hover, .btn-outline:hover, .btn-ghost:hover {
  background: var(--s-ink); color: #fff;
}

/* --------------------------------------------------------------------------
   6. Hero - paper, with the seal bleeding off the right edge as the page's
   one piece of imagery. It is the brand mark used as texture, which costs
   nothing per city and cannot misrepresent a place the way stock photography can.
   -------------------------------------------------------------------------- */
/* The old sheet builds the hero as `section.hero` (0,1,1) and forces every piece
   of text white with !important. Turning the page to paper therefore has to match
   that weight rather than out-order it, which is why this one block is specific
   and loud where the rest of the system is not. */
section.hero, .hero {
  position: relative;
  background: var(--s-paper) !important;
  background-image: none !important;
  color: var(--s-ink) !important;
  padding: clamp(44px, 5vw, 72px) 0 clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--s-rule);
  overflow: hidden;
}
/* The seal, bled off the right edge. This is the page's imagery: it belongs to
   the brand, costs nothing per city, and cannot misrepresent a place. */
.hero::after {
  content: '';
  position: absolute;
  /* Anchored so the rim runs off two edges at once. A mark cropped on one side
     reads as a mistake; cropped into the corner it reads as a stamp struck
     across the sheet. Opacity is low enough to be paper texture rather than a
     grey disc competing with the headline. */
  right: -230px; bottom: -260px;
  width: 720px; height: 720px;
  background: url('/brand/seal-dark.png') center / contain no-repeat;
  opacity: .035;
  pointer-events: none;
}
/* No ruled grid. It read as hard vertical lines rather than texture, and the
   seal is already carrying the surface. One accessory removed. */
.hero::before { content: none !important; }
.hero > * { position: relative; z-index: 1; }

.hero h1, .hero .hero-title {
  font-size: var(--s-4xl) !important;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--s-ink) !important;
  text-wrap: balance;
  margin-bottom: 22px;
}
.hero .hero-desc, .hero p, .hero-subtitle {
  font-family: var(--s-serif) !important;
  font-size: var(--s-lg) !important;
  line-height: 1.6;
  color: var(--s-ink-soft) !important;
  max-width: 64ch !important;
}
.hero strong, .hero .hero-desc strong {
  color: var(--s-ink) !important;
  font-weight: 600;
}

.breadcrumb, .breadcrumb a, .breadcrumb .current {
  color: var(--s-ink-mute) !important;
  font-size: var(--s-micro);
}
.breadcrumb a:hover { color: var(--s-violet-dp) !important; }

/* The freshness line. Sentence case on a hairline, not a tracked-out caps pill:
   it is a date stamp, and a date stamp does not need to shout. */
.hero .section-label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 0 10px 0 !important;
  margin-bottom: 20px;
  font-family: var(--s-sans) !important;
  font-size: var(--s-micro) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--s-ink-mute) !important;
}
.hero .section-label::before {
  content: '' !important;
  width: 20px !important; height: 20px !important;
  background: url('/brand/seal-dark.png') center / contain no-repeat !important;
  border-radius: 0 !important;
  flex: 0 0 auto;
}
.hero-eyebrow-year {
  color: var(--s-ink-mute) !important;
  font-weight: 500;
}
.hero-eyebrow-year::before {
  content: '';
  display: inline-block;
  width: 1px; height: 11px;
  margin: 0 12px -1px;
  background: var(--s-rule);
}

/* Stats: tabular figures divided by rules. No boxes, no middle dots. */
.hero-stats {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0 !important;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--s-rule) !important;
}
.hero-stats > div, .hero-stats > * {
  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid var(--s-rule) !important;
  border-radius: 0 !important;
  padding: 2px 28px !important;
  font-variant-numeric: tabular-nums;
}
.hero-stats > *:first-child { padding-left: 0 !important; border-left: 0 !important; }
.hero-stat-val {
  display: block;
  font-family: var(--s-sans);
  font-size: 1.9rem !important;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--s-ink) !important;
  font-variant-numeric: tabular-nums;
}
.hero-stat-lbl {
  display: block;
  font-size: var(--s-micro) !important;
  font-weight: 500;
  color: var(--s-ink-mute) !important;
  margin-top: 4px;
}

/* Buttons sitting on the hero were forced to white-on-dark. */
.hero .btn-outline, .hero .btn-secondary {
  color: var(--s-ink) !important;
  border-color: var(--s-ink) !important;
}
.hero .btn-outline:hover, .hero .btn-secondary:hover {
  background: var(--s-ink) !important; color: #fff !important;
}

/* --------------------------------------------------------------------------
   7. Section openers - the certificate rule. Two weights of line carry the
   hierarchy, so the heading needs no eyebrow label above it.
   -------------------------------------------------------------------------- */
.section, .listings-section, .city-info, .market-section, .faq-section, .sibling-cities {
  background: transparent;
  padding-block: clamp(48px, 6vw, 88px);
}
.section:nth-of-type(even) { background: var(--s-paper-2); }

.listings-header, .section-head, .section-header {
  border-top: 3px solid var(--s-violet);
  padding-top: 18px;
  position: relative;
  margin-bottom: 32px;
}
.listings-header::before, .section-head::before, .section-header::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 3px;
  border-top: 1px solid var(--s-rule);
}
.listings-title, .section-title {
  font-size: var(--s-2xl);
  font-weight: 800;
  letter-spacing: -0.028em;
}
.listings-subtitle, .section-sub {
  font-family: var(--s-serif);
  color: var(--s-ink-soft);
  font-size: var(--s-base);
}

/* --------------------------------------------------------------------------
   8. The roster - a ruled scorecard, not a stack of identical cards.
   This is the page's job: compare providers. A table-like rhythm with one
   hairline between rows compares far better than fourteen shadowed boxes.
   -------------------------------------------------------------------------- */
/* The old sheet paints these as white cards with a 16px radius and a drop
   shadow, all with !important, so the scorecard has to answer in kind. A roster
   is a comparison, and fifteen identical shadowed boxes compare badly: the eye
   has to re-enter every box instead of running down one column of figures. */
.company-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 58px 54px 1fr minmax(150px, auto);
  align-items: start;
  gap: 20px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--s-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 26px 16px 26px 8px !important;
  transform: none !important;
  transition: background .18s ease !important;
}
.company-card:first-of-type { border-top: 1px solid var(--s-rule) !important; }
.company-card:hover {
  background: var(--s-white) !important;
  border-color: var(--s-rule) !important;
  box-shadow: none !important;
  transform: none !important;
}
/* The roster container loses its own card chrome too. */
.listings-grid, .company-list, .listings-list, .company-grid {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  gap: 0 !important;
}

/* The quick answer is the page's sworn statement, so it is set between two
   rules like an attestation rather than floated in a rounded white card with a
   coloured bar down its side. */
.ai-answer {
  background: transparent !important;
  border: 0 !important;
  border-top: 3px solid var(--s-ink) !important;
  border-bottom: 1px solid var(--s-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 26px 0 24px !important;
  margin-bottom: 8px !important;
  position: relative;
}
.ai-answer::before {
  /* The old sheet prints a tracked-out "IN BRIEF" pill here. Replace it with the
     seal: the mark already means "checked", and it says so without a label. */
  content: '' !important;
  display: block !important;
  width: 26px !important; height: 26px !important;
  background: url('/brand/seal-dark.png') center / contain no-repeat !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 14px 0 !important;
  font-size: 0 !important;
  letter-spacing: normal !important;
  color: transparent !important;
}
.ai-answer::after { content: none !important; }
/* The homepage prints its own "In brief" pill inside the block. Where that
   exists, the seal would be a second badge saying the same thing, so the pill
   keeps the words and loses the chrome, and the seal stands down. */
.ai-answer:has(.tm-ai-tag)::before { content: none !important; }
.tm-ai-tag {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 14px !important;
  font-family: var(--s-sans) !important;
  font-size: var(--s-micro) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--s-ink-mute) !important;
}
.tm-ai-tag::before {
  content: '';
  width: 22px; height: 22px;
  background: url('/brand/seal-dark.png') center / contain no-repeat;
  flex: 0 0 auto;
}
.ai-answer p {
  font-family: var(--s-serif) !important;
  font-size: 1.0625rem !important;
  line-height: 1.68 !important;
  color: var(--s-ink-soft) !important;
  max-width: 72ch !important;
}
.ai-answer p strong { color: var(--s-ink) !important; font-weight: 600; }
.ai-answer-meta {
  font-family: var(--s-sans) !important;
  font-size: var(--s-micro) !important;
  color: var(--s-ink-mute) !important;
  margin-top: 14px !important;
}
/* Answers the pointer: a struck edge, matching the rank mark. */
.company-card::before {
  content: '';
  position: absolute; left: 0; top: -1px; bottom: -1px;
  width: 3px; background: var(--s-violet);
  transform: scaleY(0); transform-origin: top;
  transition: transform .2s cubic-bezier(.2,.7,.3,1);
}
.company-card:hover { background: var(--s-white); }
.company-card:hover::before, .company-card:focus-within::before { transform: scaleY(1); }

/* Rank, struck as a seal. The top three are filled; the rest are outlined,
   so the ranking reads at a glance without a legend. */
.card-rank {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 2px solid var(--s-ink);
  border-radius: 999px;
  background: transparent;
}
.card-rank-num {
  font-family: var(--s-sans);
  font-weight: 800;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  color: var(--s-ink);
  line-height: 1;
}
.card-rank-lbl { display: none; }
.company-card:nth-of-type(-n+3) .card-rank { background: var(--s-violet); border-color: var(--s-violet); }
.company-card:nth-of-type(-n+3) .card-rank-num { color: #fff; }

.company-logo {
  width: 54px; height: 54px;
  border-radius: var(--s-r);
  background: var(--s-paper-2);
  border: 1px solid var(--s-rule);
  display: grid; place-items: center;
  font-family: var(--s-sans); font-weight: 700; font-size: var(--s-sm);
  color: var(--s-ink-soft);
  overflow: hidden;
}

.company-name {
  font-size: var(--s-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.company-location {
  font-size: var(--s-sm);
  color: var(--s-ink-mute);
  display: flex; align-items: flex-start; gap: 6px;
  margin-top: 4px;
  max-width: 62ch;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  font-size: var(--s-micro);
  font-weight: 500;
  color: var(--s-ink-soft);
  background: transparent;
  border: 1px solid var(--s-rule);
  border-radius: 3px;
  padding: 3px 8px;
}

/* The rating is the comparison, so it gets the largest figure in the row. */
.card-aside { text-align: right; display: grid; gap: 10px; justify-items: end; }
.card-rating {
  font-family: var(--s-sans);
  font-weight: 800;
  font-size: 1.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--s-ink);
  line-height: 1;
}
.card-rating .star, .card-rating svg { color: var(--s-star); fill: var(--s-star); }

/* --------------------------------------------------------------------------
   9. Rating spread - data as the imagery.
   Built by bim-seal.js from the ratings already in the roster markup, so every
   city gets a real chart of its own market with no new data and no re-render.
   -------------------------------------------------------------------------- */
.s-spread {
  display: grid; gap: 10px;
  margin-top: 36px; padding-top: 22px;
  border-top: 1px solid var(--s-rule);
  max-width: 460px;
}
.s-spread__head {
  font-size: var(--s-micro); font-weight: 600; color: var(--s-ink-mute);
}
.s-spread__row { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 10px; }
.s-spread__key, .s-spread__val {
  font-size: var(--s-micro); font-variant-numeric: tabular-nums; color: var(--s-ink-soft);
}
.s-spread__val { text-align: right; }
.s-spread__bar { height: 8px; background: var(--s-rule-soft); border-radius: 2px; overflow: hidden; }
.s-spread__fill {
  display: block; height: 100%; background: var(--s-violet);
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(var(--fill, 0));
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}

/* --------------------------------------------------------------------------
   9b. Company and executive profiles
   A profile is the record for one firm, so it gets the same certificate
   language as the city page: a struck rule, paper, and the seal.
   -------------------------------------------------------------------------- */
.profile-hero, .profile-hero.is-banner {
  background: var(--s-paper) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--s-rule);
}
/* The cover was a dark gradient band. On paper it becomes the sheet's head:
   a violet rule over the seal, which is the same opener the city sections use. */
.profile-cover {
  background: var(--s-paper-2) !important;
  background-image: none !important;
  border-top: 3px solid var(--s-violet) !important;
  border-bottom: 1px solid var(--s-rule) !important;
  position: relative;
  overflow: hidden;
}
.profile-cover::after {
  content: '';
  position: absolute;
  right: -90px; top: 50%;
  width: 300px; height: 300px;
  transform: translateY(-50%);
  background: url('/brand/seal-dark.png') center / contain no-repeat;
  opacity: .05;
  pointer-events: none;
}

.profile-card {
  background: var(--s-white) !important;
  border: 1px solid var(--s-rule) !important;
  border-radius: var(--s-r-lg) !important;
  box-shadow: var(--s-shadow-lift) !important;
}
.profile-identity-text h1, .profile-identity h1 {
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem) !important;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--s-ink) !important;
}
.profile-tagline {
  font-family: var(--s-serif) !important;
  font-size: var(--s-base) !important;
  color: var(--s-ink-soft) !important;
}

/* Content blocks lose the card chrome and gain the rule, so the page reads as
   one continuous document rather than a stack of unrelated panels. */
.profile-block {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--s-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 28px 0 8px !important;
  margin-bottom: 16px !important;
}
.profile-block-title {
  font-family: var(--s-sans) !important;
  font-size: var(--s-lg) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--s-ink) !important;
}
.profile-block p, .profile-block li {
  font-family: var(--s-serif) !important;
  color: var(--s-ink-soft) !important;
  line-height: 1.68;
}

/* Sidebar panels. The markup already writes these headings in sentence case
   ("Client Ratings"); the old sheet was forcing them to tracked-out capitals.
   A label does not need to shout to be a label. */
.side-widget-title, .profile-side .panel-title, .profile-side h3,
.profile-aside h3, .sidebar-card h3, .profile-sidebar h3, .quick-facts-title {
  font-family: var(--s-sans) !important;
  font-size: var(--s-sm) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--s-ink) !important;
  border-bottom: 1px solid var(--s-rule) !important;
  padding-bottom: 10px !important;
}
.side-widget, .profile-side > *, .profile-aside > *, .profile-sidebar > * {
  border-radius: var(--s-r-lg) !important;
  border-color: var(--s-rule) !important;
  box-shadow: none !important;
}
/* Rating bars in the sidebar carry the same violet as the city spread, so the
   two charts on the site read as one family. */
.rating-big-val {
  font-family: var(--s-sans) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  font-variant-numeric: tabular-nums;
  color: var(--s-ink) !important;
}

/* --------------------------------------------------------------------------
   9c. Homepage (tm-modern)
   The homepage carries its own component set. Same reset: paper, the seal, and
   the ranking preview treated as a scorecard rather than a floating white card.
   -------------------------------------------------------------------------- */
.tm-page { background: var(--s-paper) !important; }

.tm-hero {
  position: relative;
  background: var(--s-paper) !important;
  background-image: none !important;
  color: var(--s-ink) !important;
  border-bottom: 1px solid var(--s-rule) !important;
  overflow: hidden;
}
/* Sized against the hero's own height, not the city hero's. At 760px it filled
   this shorter band and its rim type read clearly behind the headline, which
   turned a watermark into a competing graphic. */
/* `inset` must be reset explicitly, not just right/bottom. The old sheet sets
   `.tm-hero::after{inset:0}` for a radial wash; overriding only two sides left
   its top:0/left:0 in force, which pinned the seal to the corner and stretched
   it across the headline. */
.tm-hero::after {
  content: '';
  position: absolute;
  inset: auto -170px -200px auto !important;
  width: 460px !important; height: 460px !important;
  background: url('/brand/seal-dark.png') center / contain no-repeat !important;
  opacity: .03 !important;
  pointer-events: none;
}
.tm-hero > * { position: relative; z-index: 1; }
.tm-hero h1 { max-width: 15ch; }

/* This row was white-on-dark and went almost invisible on paper. */
.tm-trustrow { color: var(--s-ink-mute) !important; }
.tm-trustrow span { color: var(--s-ink-soft) !important; }
.tm-trustrow b { color: var(--s-ink) !important; font-weight: 700; }
.tm-dot { background: var(--s-violet) !important; }

.tm-hero h1 {
  font-family: var(--s-sans) !important;
  font-size: var(--s-4xl) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.02 !important;
  color: var(--s-ink) !important;
  text-wrap: balance;
}
.tm-hero p, .tm-hero .tm-sub {
  font-family: var(--s-serif) !important;
  font-size: var(--s-lg) !important;
  color: var(--s-ink-soft) !important;
  max-width: 54ch !important;
}

/* "Ranked. Vetted. Verified." is the brand's own line and it is already on the
   seal. Set as a quiet stamped line beside the mark, not a tracked-out caps
   label floating above the headline. */
.tm-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-family: var(--s-sans) !important;
  font-size: var(--s-micro) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--s-ink-mute) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin-bottom: 18px !important;
}
.tm-eyebrow::before {
  content: '';
  width: 20px; height: 20px;
  background: url('/brand/seal-dark.png') center / contain no-repeat;
  flex: 0 0 auto;
}

.tm-page h2 {
  font-family: var(--s-sans) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: var(--s-ink) !important;
}
.tm-page h3 { font-family: var(--s-sans) !important; letter-spacing: -0.02em !important; }

/* The city ranking preview is the homepage's best device: it shows the product
   instead of describing it. Restyled to the same scorecard rules as a real
   roster so the preview is not lying about what the page looks like. */
.tm-hero .tm-card, .tm-preview, .hpv-card {
  background: var(--s-white) !important;
  border: 1px solid var(--s-rule) !important;
  border-radius: var(--s-r-lg) !important;
  box-shadow: var(--s-shadow-lift) !important;
}
.hpv-row, .tm-preview-row { border-color: var(--s-rule) !important; }
.hpv-logo {
  border-radius: var(--s-r) !important;
  background: var(--s-paper-2) !important;
  color: var(--s-ink-soft) !important;
}

/* --------------------------------------------------------------------------
   9d. Reports and other `home-hero` pages
   -------------------------------------------------------------------------- */
.home-hero {
  position: relative;
  background: var(--s-paper) !important;
  background-image: none !important;
  color: var(--s-ink) !important;
  border-bottom: 1px solid var(--s-rule) !important;
  overflow: hidden;
}
.home-hero::before, .home-hero::after { content: none !important; }
.home-hero > * { position: relative; z-index: 1; }

.home-hero h1 {
  font-family: var(--s-sans) !important;
  font-size: var(--s-4xl) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.04 !important;
  color: var(--s-ink) !important;
  max-width: 18ch;
}
/* The headline sets one phrase in violet. Colouring a fragment of a sentence is
   decoration pretending to be emphasis: it does not tell the reader anything the
   words do not already say, and it is the commonest tell of a templated page.
   The whole line carries one weight and one colour. */
.home-hero h1 .accent, .home-hero h1 span { color: inherit !important; }

.home-hero .hero-sub, .home-hero p {
  font-family: var(--s-serif) !important;
  font-size: var(--s-lg) !important;
  color: var(--s-ink-soft) !important;
  max-width: 58ch !important;
}
.home-hero .hero-eyebrow {
  display: inline-flex !important;
  align-items: center; gap: 10px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 18px !important;
  font-family: var(--s-sans) !important;
  font-size: var(--s-micro) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--s-ink-mute) !important;
}
.home-hero .hero-eyebrow::before {
  content: '';
  width: 20px; height: 20px;
  background: url('/brand/seal-dark.png') center / contain no-repeat;
  flex: 0 0 auto;
}
.home-hero .hero-stats, .home-hero .hero-stat-val, .home-hero .hero-stat-lbl {
  color: var(--s-ink) !important;
}
.home-hero .hero-stat-lbl { color: var(--s-ink-mute) !important; }

/* Secondary buttons here were drawn for a dark hero, so on paper they rendered
   white-on-light-grey. That is a contrast failure, not just a style mismatch. */
.home-hero .btn-secondary, .home-hero .btn-outline, .home-hero .btn-ghost,
.hero .btn-secondary, .hero .btn-outline, .hero .btn-ghost {
  background: transparent !important;
  color: var(--s-ink) !important;
  border: 1px solid var(--s-ink) !important;
}
.home-hero .btn-secondary:hover, .home-hero .btn-outline:hover,
.home-hero .btn-ghost:hover, .hero .btn-secondary:hover,
.hero .btn-outline:hover, .hero .btn-ghost:hover {
  background: var(--s-ink) !important;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   10. Footer - the one deep surface on the site, so the inverted lockup gets
   a place to live.
   -------------------------------------------------------------------------- */
.site-footer, footer.site-footer {
  background: var(--s-ink);
  color: #CFC8E4;
  border-top: 0;
}
.site-footer a { color: #CFC8E4; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-logo, .site-footer .nav-logo {
  width: 208px; height: 60px;
  background: url('/brand/logo-white.png') left center / contain no-repeat;
}
.site-footer .footer-logo img, .site-footer .nav-logo img { display: none !important; }

/* --------------------------------------------------------------------------
   11. The one orchestrated moment: the stamp.
   The nav seal rotates in and settles, once, on load. Nothing else on the site
   animates without a user action.
   -------------------------------------------------------------------------- */
@keyframes s-stamp {
  0%   { opacity: 0; transform: rotate(-26deg) scale(.88); }
  60%  { opacity: 1; transform: rotate(3deg) scale(1.03); }
  100% { opacity: 1; transform: rotate(0deg) scale(1); }
}
.s-stamp-in { animation: s-stamp .62s cubic-bezier(.2,.8,.3,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .s-spread__fill { transition: none; }
}

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .company-card { grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 0; }
  .company-logo { display: none; }
  .card-aside { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .card-rating { font-size: 1.4rem; }
  .hero::after { right: -220px; opacity: .04; }
}
@media (max-width: 640px) {
  :root {
    --s-gutter: 16px;
    /* The desktop floor of 2.75rem overflowed a 390px screen on the longest
       city names. Phones get their own ceiling rather than a shared clamp. */
    --s-4xl: clamp(1.95rem, 1.1rem + 4.4vw, 2.5rem);
  }
  .nav-logo { width: 160px; height: 46px; }
  .hero h1, .hero .hero-title, .tm-hero h1 {
    max-width: none !important;
    letter-spacing: -0.03em;
    hyphens: auto;
  }
  .hero-stats { gap: 4px 0 !important; }
  .hero-stats > div, .hero-stats > * { padding: 2px 14px !important; }
  .hero-stats > *:first-child { padding-left: 0 !important; }
  /* Fixed 460px was wider than the viewport's content box. */
  .s-spread { max-width: 100%; }
  .company-card { padding-inline: 0 !important; }
  .card-rating { font-size: 1.35rem; }
}

/* The filter bar lays its controls and the result count in one non-wrapping
   row, so the count ran off the right edge on narrow screens. Found by
   instrumenting the page to report any element extending past the viewport,
   which is also how I learned the screenshots were cropping a wider layout
   rather than showing a broken one. */
.filter-inner, .filters, .filters-bar, .listings-filters, .filter-row {
  flex-wrap: wrap !important;
  gap: 10px 12px !important;
}
.filter-count {
  margin-left: auto;
  white-space: nowrap;
  font-size: var(--s-sm);
  color: var(--s-ink-mute);
}
.filter-count strong { color: var(--s-ink); font-weight: 700; }
@media (max-width: 760px) {
  .filter-count { margin-left: 0; flex: 1 0 100%; }
  .filter-select { flex: 1 1 auto; min-width: 0 !important; }
}

/* A site-wide floor: no page should ever scroll sideways. The theme restyles
   26,000 pages it cannot individually inspect, so this is the safety net for a
   wide element in markup that was never designed against these tokens. */
html { overflow-x: hidden; }
img, svg, video, table { max-width: 100%; }

/* --------------------------------------------------------------------------
   13. Surfaces that stay dark inside the paper system, and what sits on them.
   Found by tools/ui_render_audit.py on 2026-10-21 (headless render, every page
   type, 1440 and 390 wide). The static linter, ui_qa.py, cannot see any of this:
   it hunts light text on the light page and treats every dark surface as a place
   where white text is correct, so it reported PASS throughout.

   Sections 9c and 9d turn the heroes to paper and force `.tm-page h2`, every
   eyebrow and every `.btn-ghost` to ink with !important. The homepage trust
   band, the final CTA on the four tm pages, the `.cta-banner` on every city,
   service, blog and index page, and the split card on list-your-msp are still
   navy, so there the same rules produced an ink heading on navy (1.06:1), an ink
   ghost button on navy (1.06:1) and an ink-mute eyebrow beside a dark seal. Each
   rule below is scoped to a dark surface and only restores light text there.
   -------------------------------------------------------------------------- */

/* 13a. Headings, eyebrows and bold figures on the navy surfaces. */
.tm-band h2, .tm-final h2, .tm-band h3, .tm-final h3,
.cta-banner h2, .cta-banner h3, .split-card h3 { color: #fff !important; }
.tm-band .tm-eyebrow, .tm-final .tm-eyebrow { color: var(--s-violet-lift) !important; }
.tm-band .tm-eyebrow::before, .tm-final .tm-eyebrow::before {
  background-image: url('/brand/seal-white.png');
}
/* global.css paints <strong> in --text, which the light sheets remap to ink, so a
   bold figure inside a navy tile (the MSP count on the country index, 531 of them)
   went ink on navy. On a dark surface bold inherits its parent's light colour. */
.tm-band strong, .tm-final strong, .split-card strong, .dir-card-count strong { color: inherit !important; }

/* 13b. Primary buttons are white on violet, everywhere. tm-modern's `.tm-btn-primary`
   set near-black on violet (3.2:1), and `.tm-page a { color: inherit }` outranks it,
   so an <a> primary took whatever colour its card had: body grey on violet, 1.3:1,
   for "Read the latest report". The roster's "Visit Profile" (`.card-actions
   .btn-primary`, light-listing.css) carried the same near-black with !important. */
.tm-btn-primary, .card-actions .btn-primary,
.home-hero .btn.btn-primary, .cta-banner .btn.btn-primary, .split-card .btn.btn-primary,
.claim-spot .btn-primary:hover, .homecar-net .btn-primary:hover {
  background: var(--s-violet) !important;
  color: #fff !important;
  border-color: var(--s-violet) !important;
}
.tm-btn-primary:hover, .card-actions .btn-primary:hover,
.home-hero .btn.btn-primary:hover, .cta-banner .btn.btn-primary:hover, .split-card .btn.btn-primary:hover {
  background: var(--s-violet-dp) !important;
  border-color: var(--s-violet-dp) !important;
  color: #fff !important;
}

/* 13c. Ghost and outline buttons. On paper they take the ink outline section 5 already
   gives `.btn-outline`; on a navy surface they go white. The tm pages draw their hero
   ghost buttons with a style="" attribute (white text, from the old dark hero), which
   only !important can beat, and the home-hero pages do the same from an inline <style>
   at the specificity of section 9d, which it then won on order. `.btn.btn-ghost`
   (0,3,0) outranks both. */
.tm-page .tm-btn-ghost {
  background: transparent !important;
  color: var(--s-ink) !important;
  border: 1.5px solid var(--s-ink) !important;
}
.tm-page .tm-btn-ghost:hover { background: var(--s-ink) !important; color: #fff !important; }
.tm-band .tm-btn-ghost, .tm-final .tm-btn-ghost,
.cta-banner .btn.btn-ghost, .cta-banner .btn.btn-outline, .cta-banner .btn.btn-secondary,
.split-card .btn.btn-ghost, .split-card .btn.btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.75) !important;
}
.tm-band .tm-btn-ghost:hover, .tm-final .tm-btn-ghost:hover,
.cta-banner .btn.btn-ghost:hover, .cta-banner .btn.btn-outline:hover, .cta-banner .btn.btn-secondary:hover,
.split-card .btn.btn-ghost:hover, .split-card .btn.btn-outline:hover {
  background: #fff !important;
  color: var(--s-ink) !important;
  border-color: #fff !important;
}
.home-hero .btn.btn-outline, .home-hero .btn.btn-ghost, .home-hero .btn.btn-secondary {
  background: transparent !important;
  color: var(--s-ink) !important;
  border: 1px solid var(--s-ink) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.home-hero .btn.btn-outline:hover, .home-hero .btn.btn-ghost:hover, .home-hero .btn.btn-secondary:hover {
  background: var(--s-ink) !important;
  color: #fff !important;
}

/* 13d. The stat row on the home-hero pages (reports, list-your-msp, advertise, the ROI
   calculator). `.hh-stat-val` and `.hh-stat-lbl` were white on white hairlines, drawn
   for the dark hero; section 9d only knew the city-page names (`.hero-stat-val`), so
   on paper the four figures vanished and the row read as an empty band. */
.home-hero .hh-stats { border-top-color: var(--s-rule) !important; }
.home-hero .hh-stat + .hh-stat { border-left-color: var(--s-rule) !important; }
.home-hero .hh-stat-val { color: var(--s-ink) !important; }
.home-hero .hh-stat-val .star { color: var(--s-star) !important; }
.home-hero .hh-stat-lbl { color: var(--s-ink-mute) !important; }

/* 13e. Light-surface colours never remapped from the dark base theme. The badge
   palette in global.css (#4ade80, #fcd34d, #93c5fd, #e87fa8) was mixed for text on
   deep violet; on the paper profile hero the same badges score 1.2:1 to 1.8:1. Mute
   grey #9ca3af (2.5:1 on white) carried the source line under every roster blurb, the
   pricing sub-labels and the sibling-metro tags. `--green` #22c55e (2.2:1) labelled the
   support tiers. Every replacement clears 4.5:1 on its own surface. */
.badge-green   { color: #0b6b43 !important; background: #e4f8ec !important; border-color: rgba(14,159,110,.35) !important; }
.badge-accent  { color: var(--s-violet-dp) !important; background: var(--s-violet-wash) !important; border-color: rgba(124,58,237,.35) !important; }
.badge-blue    { color: #1d4ed8 !important; background: #e4edfe !important; border-color: rgba(29,78,216,.3) !important; }
.badge-primary { color: #9d174d !important; background: #fde8f0 !important; border-color: rgba(157,23,77,.3) !important; }
.badge-neutral { color: var(--s-ink-soft) !important; background: var(--s-paper-2) !important; border-color: var(--s-rule) !important; }
:root { --green: #0b7a4b; }
.blurb-source, .pricing-tier-sub, .sibling-city-meta, .sibling-city--soon .sibling-city-meta,
.card-rank-lbl, .dir-card--soon .dir-card-status { color: var(--s-ink-mute) !important; }
/* render_city_v2.py wrote the pricing-table footnote with the same grey as an inline
   style on 650+ city pages. The generator now writes ink-mute; this catches every page
   rendered before it did, without a site-wide re-render. */
p[style*="color:#9ca3af"], span[style*="color:#9ca3af"], div[style*="color:#9ca3af"] {
  color: var(--s-ink-mute) !important;
}

/* 13g. The quick answer runs the full width of its band. Sections 2 and 9 cap
   `.ai-answer p` at 72ch while the rules above and below it span the whole container,
   so on a 1180px page the right 45% of the block sat empty. A two-column version was
   tried on 2026-10-21 and the owner rejected it (the column rule read as two separate
   paragraphs); the decision is one paragraph, edge to edge, on every page type. */
.ai-answer > p:not(.ai-answer-meta) { max-width: none !important; }

/* 13h. The roster filters. Section 8 paints every `.company-card` with
   `display: grid !important`, and filters.js hides a non-matching row by adding the
   class `hidden`, whose rule in listing.css has no !important. So from the day the
   theme landed the count line updated and no row ever left the page; the "See more"
   cap kept working only because its own `.is-capped` rule carries !important. Owner
   reported it 2026-10-21. The rendered audit now operates the service filter on city
   pages and fails when the number it reports disagrees with the rows visible. */
.company-card.hidden { display: none !important; }

/* 13f. Phone-width overflow. `html { overflow-x: hidden }` above clips rather than
   scrolls, so an element wider than the viewport loses its right edge with no sign
   that anything is missing. Two were found at 390px:
   - the pricing-tier grid on city pages, forced to 2-up at 768px while the price
     figure is wider than half a phone, and a grid item's default min-width:auto lets
     it push the track past the screen (397px);
   - the homepage search bar, where the input's intrinsic width plus the button can
     exceed the column by the same mechanism. */
.pricing-tier { min-width: 0; }
.pricing-tier-val { overflow-wrap: anywhere; }
.tm-hero-in > *, .tm-searchbar .tm-field, .tm-searchbar input { min-width: 0; }
@media (max-width: 480px) {
  .pricing-tiers-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .pricing-tier { padding: 14px 8px !important; }
  .pricing-tier-val { font-size: 0.98rem; }
  .tm-searchbar { flex-wrap: wrap; }
  .tm-searchbar .tm-btn { flex: 1 1 100%; justify-content: center; }
}

/* 13i. The 2026-10-22 phone pass: tools/ui_render_audit.py at 1440 and 390 over every
   page type, plus full-page 390px screenshots read tile by tile. No page overflowed.
   What it found is below, each rule scoped to the surface it was found on.

   - BLOG CTA. The button at the foot of every post ("Browse Vetted Providers") was
     violet on violet, 1.0:1, an empty violet rectangle on all 217 posts and the
     survey reports. The post's inline sheet paints `.blog-article a` violet at a
     specificity that beats `.btn-primary`'s white, and 13b only listed the hero,
     banner, split-card and roster buttons.
   - INDUSTRY HERO. render_industry.py writes `.rpt-hero`, `.rpt-hero-inner` and
     `.rpt-eyebrow`, which only the survey reports ever styled, inline, so on all 352
     industry pages the hero had no padding at all: the breadcrumb sat on the nav's
     bottom edge and the eyebrow was a line of plain text. The rules here give that
     hero its paper form. A report's own inline `.rpt-hero` sheet is loaded after
     this one at equal specificity, so the reports keep their navy hero untouched.
   - REPORT HERO TEXT. On that navy hero the eyebrow pill is brand violet on navy
     (2.7:1) and the breadcrumb takes section 2's ink-mute (3.0:1). Only the reports
     carry `.rpt-meta` inside the hero, so `:has(.rpt-meta)` is what tells a navy
     report hero from a paper industry hero; the lift goes to the lockup's lilac and
     to white, both past 5:1 on navy. The legal pages' `.legal-hero .eyebrow` is the
     same violet on the same navy and gets the same lift.
   - INDUSTRY TABLE. state-report.css gives `.sr-table` a 620px floor, so on a phone
     the three-column ranking scrolled inside its card with no scrollbar drawn:
     names were cut mid-word ("Cutting Edge Network Technolog") and the Rating column
     was off the screen entirely. Three columns fit a phone; the floor goes.
   - ROSTER ROWS. At 390px the card kept its two-column grid, so the tags, blurb and
     meta of every provider were indented 58px under the rank seal, a fifth of the
     screen left blank down the whole roster. On a phone the row is a block: the seal
     floats beside the name, and everything after the name runs full width. The
     filter's `.company-card.hidden` and the cap's `.is-capped` both outrank this on
     specificity, so hiding still works. */
.blog-article .btn.btn-primary, .blog-article .box .btn-primary {
  background: var(--s-violet) !important;
  color: #fff !important;
  border-color: var(--s-violet) !important;
  text-decoration: none !important;
}
.blog-article .btn.btn-primary:hover, .blog-article .box .btn-primary:hover {
  background: var(--s-violet-dp) !important;
  border-color: var(--s-violet-dp) !important;
  color: #fff !important;
}

.rpt-hero { background: var(--s-paper); border-bottom: 1px solid var(--s-rule); }
.rpt-hero-inner { max-width: 820px; padding: 40px 0 34px; }
.rpt-hero .breadcrumb { margin-bottom: 16px; }
.rpt-hero .rpt-eyebrow {
  display: inline-block;
  font-family: var(--s-sans);
  font-size: var(--s-micro);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--s-violet-dp);
  background: var(--s-violet-wash);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 999px;
  padding: 5px 12px;
  margin: 0 0 14px;
}
.rpt-hero h1 { margin: 0 0 14px; }
.rpt-hero .ai-answer { margin-top: 18px; }

/* #C4B5FD rather than --s-violet-lift: the legal hero's gradient runs up to #3b2a63,
   where the lift only reaches 3.8:1; this clears 5.5:1 on every stop of both heroes. */
.rpt-hero:has(.rpt-meta) .rpt-eyebrow, .legal-hero .eyebrow {
  color: #C4B5FD !important;
  background: rgba(167,139,250,.12) !important;
  border-color: rgba(196,181,253,.45) !important;
}
.rpt-hero:has(.rpt-meta) .breadcrumb,
.rpt-hero:has(.rpt-meta) .breadcrumb a { color: rgba(255,255,255,.82) !important; }
.rpt-hero:has(.rpt-meta) .breadcrumb .current,
.rpt-hero:has(.rpt-meta) .breadcrumb a:hover { color: #fff !important; }

@media (max-width: 640px) {
  .sr-table { min-width: 0 !important; }
  .sr-table th, .sr-table td { padding: 10px 8px !important; }
  .sr-table td, .sr-name a, .sr-loc { overflow-wrap: anywhere; }
  .sr-table .sr-score, .sr-table .sr-rating { white-space: nowrap; }
  .rpt-hero-inner { padding: 26px 0 24px; }

  .company-card { display: block !important; }
  .company-card .card-rank { float: left; width: 40px; height: 40px; margin: 0 12px 6px 0; }
  .company-card .card-rank-num { font-size: .95rem; }
  .company-card .card-headline { min-height: 40px; }
  .company-card .card-content { display: block; }
  .company-card .card-services, .company-card .tag-list { clear: both; }
  .company-card .company-blurb { margin-top: 12px; }
  .company-card .card-meta { margin-top: 10px; }
  .company-card .card-aside {
    display: grid; justify-items: start; text-align: left; gap: 10px;
    margin-top: 16px; padding-left: 0; border-left: 0;
  }
}

/* 13j. The sibling-metro tiles at the foot of a city page. light-listing lays them
   2-up under 768px as a flex row of name + meta label with no wrapping, and a grid
   item's default min-width:auto lets a long label ("Logistics / Inland Empire") push
   its track past the screen: San Diego scrolled to 402px at 390 on 2026-10-22, the
   same mechanism as the pricing tiers in 13f. The label now wraps under the name and
   the tile can shrink. */
.sibling-city { min-width: 0; flex-wrap: wrap; gap: 2px 10px; }
.sibling-city > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .sibling-cities-grid { grid-template-columns: 1fr !important; }
}
/* === BIM SEAL THEME END === */
