
:root {
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --surface-subtle: #F2F1EC;
  --surface-tint: #EEF2F7;

  --border: rgba(15, 23, 42, 0.11);
  --border-solid: #D8DCE3;
  --border-strong: #B8C0CE;
  --control-border: #727C8E;

  --ink: #0F172A;
  --ink-secondary: #3F4B5D;
  --muted: #525D6E;

  --navy: #142952;
  --navy-hover: #0D1C3A;
  --navy-soft: #EDF2FA;

  --brick: #C23B14;
  --brick-hover: #9E2D0D;

  --pos: #15663E;
  --pos-bg: #EAF6EF;
  --pos-border: #BFE2CE;

  --warn: #8F5705;
  --warn-bg: #FEF5E6;
  --warn-border: #EDD4A2;

  --neg: #B42824;
  --neg-bg: #FDECEB;
  --neg-border: #F2BDBB;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px -16px rgba(15, 23, 42, 0.10);
  --shadow-dock: 0 4px 12px rgba(15, 23, 42, 0.06), 0 22px 48px -18px rgba(15, 23, 42, 0.18);
  --shadow-photo: 0 24px 60px -22px rgba(15, 23, 42, 0.24);

  --radius: 6px;
  --radius-lg: 10px;
  --radius-xl: 12px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: var(--font-sans);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  scroll-padding-top: 88px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
main p a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-action):not(.preset-link):not(.row-action-link),
main li a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-action),
main .muted a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-action):not(.preset-link):not(.row-action-link),
main .small a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-action):not(.preset-link):not(.row-action-link),
main .xs a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-action):not(.preset-link):not(.row-action-link),
.narrative-foot a,
.section-meta a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* WCAG 2.1 AA: Skip link, visible focus rings, and high-contrast placeholders */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: var(--shadow-dock);
}
.skip-link:focus {
  left: 14px;
  text-decoration: none;
  outline: 3px solid var(--brick);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

main:focus { outline: none; }

::placeholder {
  color: #596373;
  opacity: 1;
}

.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

.mono {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
}
code, pre {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }
.xs { font-size: 12px; }

/* =========================================================
   CRISP TRANSLUCENT DAYLIGHT HEADER
   ========================================================= */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 60;
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  flex-shrink: 0;
}
.brand-lockup:hover { text-decoration: none; }

.brand-mark-box {
  width: 32px;
  height: 32px;
  background: var(--navy);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-wordmark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 7px 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background-color 140ms ease, color 140ms ease;
}
.nav-link:hover {
  text-decoration: none;
  color: var(--ink);
  background: var(--surface-subtle);
}
.nav-link.active {
  color: var(--navy);
  font-weight: 600;
  background: var(--navy-soft);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 215px;
  flex-shrink: 0;
  transition: width 160ms ease;
}
.header-search:focus-within {
  width: 255px;
}
.header-search-icon {
  position: absolute;
  left: 10px;
  color: var(--muted);
  pointer-events: none;
}
.header-search input[type="search"] {
  width: 100%;
  height: 36px;
  padding: 0 30px 0 32px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink);
  background: #F7F6F3;
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.header-search input[type="search"]:focus {
  background: #FFFFFF;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(20, 41, 82, 0.14);
  outline: none;
}
.header-search-kbd {
  position: absolute;
  right: 8px;
  padding: 1px 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: #FFFFFF;
  border: 1px solid var(--border-solid);
  border-radius: 4px;
  pointer-events: none;
  line-height: 1.5;
}
.header-search:focus-within .header-search-kbd {
  display: none;
}
.header-sem-suggest {
  left: auto;
  right: 0;
  width: min(390px, 92vw);
  top: calc(100% + 6px);
  z-index: 95;
}

.nav-ghost {
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 140ms ease, background-color 140ms ease;
}
.nav-ghost:hover,
.nav-ghost:focus-visible {
  text-decoration: none;
  color: var(--ink);
  border-color: var(--ink);
  background: var(--surface-subtle);
}

.nav-primary {
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  transition: background-color 140ms ease, transform 120ms ease;
}
.nav-primary:hover {
  text-decoration: none;
  background: var(--navy-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Buttons */
.btn, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 18px;
  background: var(--navy);
  color: #FFFFFF;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 140ms ease, transform 120ms ease;
}
.btn:hover, .btn:focus-visible,
.btn-primary:hover, .btn-primary:focus-visible {
  text-decoration: none;
  background: var(--navy-hover);
  border-color: var(--navy-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  background: var(--brick);
  color: #FFFFFF;
  border: 1px solid var(--brick);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 140ms ease, transform 120ms ease;
}
.btn-action:hover {
  text-decoration: none;
  background: var(--brick-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn.btn-secondary:hover,
.btn.btn-secondary:focus-visible {
  text-decoration: none;
  background: var(--surface-subtle);
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* =========================================================
   SUPERMODERN SUNLIT ASYMMETRIC HERO (PURE WHITE CANVAS)
   ========================================================= */
.editorial-hero {
  background: var(--surface);
  padding: 52px 0 44px 0;
  border-bottom: 1px solid var(--border);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 44px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.hero-headline {
  font-family: var(--font-sans);
  font-size: 50px;
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.038em;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 540px;
  margin-bottom: 24px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-solid);
}

.hero-stat-inline {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.hero-stat-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-photo);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 11;
  background: #ECEAE3;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius);
  padding: 9px 13px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}
.hero-photo-caption strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.3;
}
.hero-photo-caption span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 1px;
}

/* Floating Elevated Buyer Search Dock */
.search-dock-wrap {
  margin-top: 32px;
}

.buyer-search-dock {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.05fr) minmax(0, 0.9fr) auto;
  background: var(--surface);
  border: 1px solid var(--control-border);
  border-radius: var(--radius-lg);
  padding: 8px;
  gap: 8px;
  box-shadow: var(--shadow-dock);
  align-items: center;
}

.dock-field {
  display: flex;
  flex-direction: column;
  padding: 4px 10px;
  border-right: 1px solid #EAECF0;
}
.dock-field:nth-child(3) { border-right: none; }

.dock-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 3px;
}

.dock-field input,
.dock-field select {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 3px 2px;
  border-radius: 3px;
}
.dock-field input::placeholder { color: #596373; font-weight: 400; opacity: 1; }

.dock-submit {
  height: 52px;
  padding: 0 26px;
  background: var(--brick);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background-color 140ms ease, transform 120ms ease;
}
.dock-submit:hover {
  background: var(--brick-hover);
  transform: translateY(-1px);
}

.hero-shortcuts {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.hero-shortcuts a {
  color: var(--navy);
  font-weight: 500;
}

/* =========================================================
   HOME CONTENT BANDS ON WARM ARCHITECTURAL STONE
   ========================================================= */
.home-section {
  padding: 52px 0 0 0;
}

.section-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-bar h2 {
  font-size: 27px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.section-bar p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 5px 0 0 0;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* Live-Count Buyer Goal Cards */
.buyer-paths-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.buyer-path-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 20px;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.buyer-path-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(20, 41, 82, 0.35);
  box-shadow: var(--shadow-card);
}
.buyer-path-count {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.buyer-path-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
}
.buyer-path-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* Directory Table Card (Clean Tab Bar, Zero Scrollbar Glitch) */
.dir-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.dir-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border-solid);
  background: #FAFAF8;
}

.underline-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  overflow: visible;
}

.underline-tab {
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: all 140ms ease;
}
.underline-tab:hover {
  color: var(--ink);
  background: var(--surface-subtle);
}
.underline-tab.active {
  color: var(--navy);
  background: var(--surface);
  border-color: var(--control-border);
  box-shadow: var(--shadow-xs);
}

.dir-filter-input input {
  width: 240px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}
.dir-filter-input input:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}

.dir-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.dir-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.dir-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: #FAFAF8;
  border-bottom: 1px solid var(--border-solid);
  white-space: nowrap;
}
.dir-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #EFF1F4;
  vertical-align: middle;
}
.dir-table tbody tr {
  transition: background-color 120ms ease;
}
.dir-table tbody tr:hover {
  background: #FAFBFC;
}
.dir-table tbody tr:last-child td {
  border-bottom: none;
}

.brand-cell-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  letter-spacing: -0.01em;
}
.brand-cell-title:hover { color: var(--navy); }
.brand-cell-legal {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.score-cell-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.score-plain-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  min-width: 38px;
}
.score-meter-track {
  width: 54px;
  height: 6px;
  background: #E8EBEF;
  border-radius: 3px;
  overflow: hidden;
}
.score-meter-fill {
  height: 100%;
  border-radius: 3px;
}

.tier-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.tier-low { background: var(--pos-bg); color: var(--pos); border-color: var(--pos-border); }
.tier-mid { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-border); }
.tier-high { background: var(--neg-bg); color: var(--neg); border-color: var(--neg-border); }

.row-action-link {
  display: inline-block;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: var(--navy-soft);
  border-radius: 4px;
  white-space: nowrap;
}
.row-action-link:hover {
  text-decoration: none;
  background: var(--navy);
  color: #FFFFFF;
}

.dir-footnote {
  padding: 13px 20px;
  background: #FAFAF8;
  border-top: 1px solid var(--border-solid);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   DAYLIGHT US CHOROPLETH + TOP STATES CARD
   ========================================================= */
.map-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 0.80fr);
  gap: 20px;
  align-items: stretch;
}

.map-paper-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 13px;
  margin-bottom: 10px;
  border-bottom: 1px solid #EFF1F4;
}

.map-readout {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.map-legend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
}
.legend-swatch {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
  border: 1px solid rgba(20, 41, 82, 0.12);
}

.us-map-svg { width: 100%; height: auto; display: block; }
.map-state-group { cursor: pointer; }
.map-state-group:focus { outline: none; }
.map-state-group .state-tile {
  stroke: #FFFFFF;
  stroke-width: 1.6;
  transition: stroke 120ms ease;
}
.map-state-group:hover .state-tile,
.map-state-group:focus .state-tile,
.map-state-group:focus-visible .state-tile {
  stroke: var(--brick);
  stroke-width: 3;
}
.state-abbr { font-family: var(--font-sans); font-size: 10px; font-weight: 600; text-anchor: middle; pointer-events: none; }
.state-count { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; text-anchor: middle; dominant-baseline: central; pointer-events: none; }

.states-table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.states-table-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-solid);
  background: #FAFAF8;
}
.states-table-head h3 { font-size: 15px; font-weight: 700; margin: 0 0 2px 0; }
.state-mini-bar {
  height: 4px;
  background: #E8ECF2;
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
}
.state-mini-fill {
  height: 100%;
  background: var(--navy);
  border-radius: 2px;
}

/* =========================================================
   TWO-COLUMN EDITORIAL FEED: FILING CHANGES + SECTORS
   ========================================================= */
.editorial-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.96fr);
  gap: 20px;
  align-items: start;
}

.plain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.plain-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: #FAFAF8;
  border-bottom: 1px solid var(--border-solid);
}
.plain-card-head h2 { font-size: 17px; font-weight: 700; margin: 0; }

.change-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid #EFF1F4;
  transition: background-color 120ms ease;
}
.change-row:hover { background: #FAFBFC; }
.change-row:last-child { border-bottom: none; }
.change-row-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.change-row-title:hover { color: var(--navy); }
.change-row-desc { font-size: 13px; color: var(--ink-secondary); margin-top: 3px; line-height: 1.5; }
.change-row-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }

.sector-dir-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sector-dir-item {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid #EFF1F4;
  border-right: 1px solid #EFF1F4;
  color: var(--ink);
  transition: background-color 120ms ease;
}
.sector-dir-item:nth-child(even) { border-right: none; }
.sector-dir-item:hover { text-decoration: none; background: #F8FAFC; }
.sector-dir-name { font-size: 14px; font-weight: 600; color: var(--ink); display: block; }
.sector-dir-item:hover .sector-dir-name { color: var(--navy); }
.sector-dir-meta { font-size: 12px; color: var(--muted); margin-top: 3px; display: block; }

/* =========================================================
   OPEN DATA + LENDER RISK REPORTS SPLIT
   ========================================================= */
.bottom-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: stretch;
}

.open-data-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lender-panel {
  background: var(--surface-tint);
  border: 1px solid #CAD6E5;
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lender-plans-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.lender-plan-box {
  background: var(--surface);
  border: 1px solid rgba(20, 41, 82, 0.14);
  border-radius: var(--radius);
  padding: 15px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  transition: border-color 140ms ease, transform 140ms ease;
}
.lender-plan-box:hover {
  text-decoration: none;
  border-color: var(--navy);
  transform: translateY(-2px);
}
.lender-plan-name { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.lender-plan-note { font-size: 12px; color: var(--ink-secondary); margin-top: 6px; line-height: 1.45; }
.lender-plan-price { margin-top: 12px; font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--ink); }

.format-links-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.format-link-box {
  display: block;
  padding: 11px 13px;
  background: #FAFAF8;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  transition: border-color 140ms ease, background-color 140ms ease;
}
.format-link-box:hover { text-decoration: none; border-color: var(--navy); background: var(--navy-soft); }
.format-link-box strong { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--navy); }
.format-link-box span { font-size: 12px; color: var(--muted); }

.publisher-notice {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.publisher-notice p { font-size: 13.5px; color: var(--ink-secondary); max-width: 780px; margin: 0; }

/* =========================================================
   DAYLIGHT PUBLICATION FOOTER
   ========================================================= */
.site-footer {
  margin-top: 64px;
  background: var(--surface);
  border-top: 1px solid var(--border-solid);
  padding: 48px 0 38px 0;
  color: var(--ink-secondary);
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-brand-p { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 12px; max-width: 290px; }
.footer-head { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--ink-secondary); }
.footer-links a:hover { color: var(--navy); }
.footer-legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #EFF1F4;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================================================
   INNER PAGES (MONOGRAPH, SCREENER, COMPARE, PRICING)
   ========================================================= */
.inner-main { padding: 32px 0 64px 0; }
h1 { font-size: 32px; line-height: 1.16; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 8px; color: var(--ink); }
h2 { font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 10px; color: var(--ink); }
h3 { font-size: 16px; line-height: 1.3; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
p { margin-bottom: 10px; }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.section { margin-top: 32px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid var(--border-strong); flex-wrap: wrap;
}
.section-meta { font-size: 12px; color: var(--muted); }

.panel, .hero-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
}
.panel-alt {
  background: #FAFAF8;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  padding: 16px 18px;
}

/* Screener Presets + Modern Filter Rail */
.preset-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #EFF1F4;
}
.preset-link {
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  background: var(--navy-soft);
  border: 1px solid #CFDDF0;
  border-radius: var(--radius);
}
.preset-link:hover {
  text-decoration: none;
  background: var(--navy);
  color: #FFFFFF;
}

/* Compare Executive Header Cards */
.compare-form-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}
.compare-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.compare-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}
.compare-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #EFF1F4;
}
.compare-mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

/* Pricing $100M Tier Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 24px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.pricing-card.featured {
  border-color: var(--navy);
  box-shadow: 0 12px 36px -14px rgba(20, 41, 82, 0.24);
}
.pricing-card-banner {
  background: var(--navy);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 22px;
}
.pricing-card-body {
  padding: 24px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.pricing-price {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 10px 0 6px 0;
}
.pricing-features {
  list-style: none;
  margin: 14px 0 18px 0;
  padding-top: 14px;
  border-top: 1px solid #EFF1F4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-secondary);
}

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.kpi-card { background: #FAFAF8; border: 1px solid var(--border-solid); border-radius: var(--radius); padding: 14px 16px; }
.kpi-label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.kpi-val { font-family: var(--font-mono); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.kpi-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Institutional Financial Metric Ledger (3x2 brand strip & 4x1 SBA/coverage strip) */
.kpi-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-solid);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 24px;
}
.kpi-ledger-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}
.kpi-cell {
  background: var(--surface);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  transition: background-color 120ms ease;
}
.kpi-cell:hover {
  background: #FAFBFC;
}
.kpi-cell-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.kpi-cell-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  line-height: 1.3;
}
.kpi-cell-item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.kpi-cell-val {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kpi-cell-sub {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
}
.kpi-cell-sub strong {
  color: var(--ink);
  font-weight: 600;
}

.two-col { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }

.score-hero { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(300px, 0.82fr); gap: 26px; align-items: start; }
.brand-hero-main { min-width: 0; }
.brand-hero-rail { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hero-narrative {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #EFF1F4;
}
.hero-narrative-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.hero-narrative-top h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.hero-narrative h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 12px 0 4px 0;
}
.hero-narrative h3:first-of-type { margin-top: 0; }
.hero-narrative p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink);
  max-width: 70ch;
  margin-bottom: 8px;
}
.hero-narrative-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #EFF1F4;
  font-size: 12px;
  color: var(--muted);
}
.score-num { font-family: var(--font-mono); font-size: 42px; font-weight: 600; line-height: 1; color: var(--navy); }
.score-denom { font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.score-bars { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.score-bar-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; color: var(--ink-secondary); }
.score-bar-track { height: 7px; background: #E8ECF2; border-radius: 3px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 3px; }

.tag {
  display: inline-block; padding: 2px 8px; border: 1px solid var(--border-strong);
  background: var(--surface-subtle); color: var(--ink); font-size: 11px; font-weight: 600;
  border-radius: 4px; line-height: 1.4; white-space: nowrap;
}
.tag-pos { background: var(--pos-bg); color: var(--pos); border-color: var(--pos-border); }
.tag-neg { background: var(--neg-bg); color: var(--neg); border-color: var(--neg-border); }
.tag-warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-border); }
.tag-cobalt { background: var(--navy-soft); color: var(--navy); border-color: #BDD0E8; }

.table-wrap {
  width: 100%; overflow-x: auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid #EFF1F4; vertical-align: top; }
tr:last-child td { border-bottom: none; }
th { background: #FAFAF8; color: var(--muted); font-weight: 600; font-size: 12px; border-bottom: 1px solid var(--border-solid); white-space: nowrap; }
th.sortable, .dir-table th.sortable { padding: 0; }
.sort-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
  transition: color 120ms ease, background-color 120ms ease;
}
th.num .sort-btn { justify-content: flex-end; }
.sort-btn:hover { color: var(--navy); background: #F1F4F9; }
th[aria-sort="ascending"] .sort-btn,
th[aria-sort="descending"] .sort-btn {
  color: var(--navy);
  background: var(--navy-soft);
}
.sort-chevrons {
  display: inline-flex;
  flex-shrink: 0;
  opacity: 0.78;
}
th[aria-sort="ascending"] .sort-chevrons,
th[aria-sort="descending"] .sort-chevrons { opacity: 1; }
th[aria-sort="ascending"] .chev-down { opacity: 0.30; }
th[aria-sort="descending"] .chev-up { opacity: 0.30; }
td.num, th.num { text-align: right; font-family: var(--font-sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.total-row td { font-weight: 700; background: #FAFAF8; }

.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; align-items: end; }
.field-group { display: flex; flex-direction: column; gap: 5px; }
.field-group label { font-size: 12px; color: var(--muted); font-weight: 600; }
.field-group input, .field-group select {
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-family: var(--font-sans);
  font-size: 14px;
}
.field-group input:focus, .field-group select:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}

.chart-svg { width: 100%; max-width: 560px; height: auto; display: block; }
.chart-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.swatch { display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.cite { font-family: var(--font-mono); font-size: 12px; color: var(--navy); text-decoration: underline; }
.caveat-box { background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: var(--radius); padding: 12px 14px; font-size: 13px; color: #5C3A04; margin-top: 10px; }
.geo-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-chip { background: #FAFAF8; border: 1px solid var(--border-solid); border-radius: var(--radius); padding: 5px 10px; font-family: var(--font-mono); font-size: 13px; }

/* =========================================================
   3D EDITORIAL US RELIEF MAPS (Three.js + SSR SVG fallback)
   ========================================================= */
.fm-m3-wrap {
  position: relative;
  width: 100%;
  min-height: 290px;
  border-radius: var(--radius);
  background: #FFFFFF;
  overflow: hidden;
}
.fm-m3-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
}
.fm-m3-wrap.fm-m3-on > .fm-m3-svg {
  display: none;
}
.fm-m3 {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.fm-m3-c {
  position: absolute;
  inset: 0;
  display: block;
  touch-action: none;
  overscroll-behavior: contain;
}
.fm-m3-cty-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.fm-m3-cty-lab {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #1E293B;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.92), 0 0 3px rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%);
  user-select: none;
}
.fm-m3-cty-lab.is-dark {
  color: #F8FAFC;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.85), 0 0 3px rgba(15, 23, 42, 0.8);
}
.fm-m3-l {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.fm-m3-l line {
  stroke: rgba(15, 23, 42, 0.36);
  stroke-width: 1;
  transition: opacity 220ms ease;
}
.fm-m3-n {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fm-m3-lab {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  pointer-events: auto;
  white-space: nowrap;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 4px;
  padding: 2px 6px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 220ms ease, border-color 140ms ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.fm-m3-lab b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.fm-m3-lab span {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.fm-m3-lab-accent b {
  color: #B45309;
}
.fm-m3-lab:hover,
.fm-m3-lab.on {
  text-decoration: none;
  border-color: var(--navy);
}
.fm-m3-lab:hover b,
.fm-m3-lab.on b {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fm-m3-t {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  max-width: 240px;
  pointer-events: none;
  opacity: 0;
  border-radius: 4px;
  border: 1px solid var(--control-border);
  background: rgba(255, 255, 255, 0.97);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  transition: opacity 120ms ease;
}
.fm-m3-t.on {
  opacity: 1;
}
.fm-m3-card {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 15;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-radius: var(--radius);
  border: 1px solid var(--control-border);
  background: rgba(255, 255, 255, 0.98);
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}
.fm-m3-card.is-open {
  display: flex;
}
.fm-m3-card-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.fm-m3-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.fm-m3-card-sub {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-secondary);
}
.fm-m3-card-meta {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--muted);
}
.fm-m3-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.fm-m3-card-link {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  background: var(--navy);
  color: #FFFFFF;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.fm-m3-card-link:hover {
  background: var(--navy-hover);
  color: #FFFFFF;
  text-decoration: none;
}
.fm-m3-card-close {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid var(--control-border);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.fm-m3-card-close:hover {
  border-color: var(--navy);
  background: var(--surface-subtle);
}
.fm-m3-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--control-border);
  border-radius: 4px;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.fm-m3-layers {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 12;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--control-border);
  border-radius: 4px;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.fm-m3-lbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 120ms ease, color 120ms ease;
}
.fm-m3-lbtn:hover,
.fm-m3-lbtn:focus-visible {
  background: var(--surface-subtle);
  color: var(--ink);
}
.fm-m3-lbtn[aria-pressed="true"] {
  background: var(--navy);
  color: #FFFFFF;
}
.fm-m3-demo-leg {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 11;
  max-width: calc(100% - 20px);
  display: none;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-solid);
  border-radius: 4px;
  padding: 7px 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.10);
  font-size: 11.5px;
  color: var(--ink);
}
.fm-m3-demo-leg.is-open {
  display: block;
}
.fm-m3-dl-ramp {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.fm-m3-dl-lbl {
  font-weight: 600;
  color: var(--ink-secondary);
}
.fm-m3-dl-src {
  margin-left: 8px;
  color: var(--muted);
  font-size: 11px;
}
.fm-m3-dl-archs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  max-width: 680px;
}
.fm-m3-dl-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.fm-m3-dl-sw {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  flex-shrink: 0;
}
.fm-m3-dl-note {
  color: var(--muted);
  font-weight: 500;
}
@media (max-width: 780px) {
  .fm-m3-layers {
    top: auto;
    bottom: 8px;
    left: 8px;
    right: 8px;
  }
  .fm-m3-demo-leg {
    bottom: 48px;
  }
  .fm-m3-lbtn {
    padding: 0 7px;
    font-size: 11px;
    height: 26px;
  }
}

/* Brand Footprint Demographics & Crowd Profile Card */
.demo-profile-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-solid);
}
.demo-profile-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.demo-profile-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.demo-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.demo-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.demo-kpi {
  background: #FAFAF8;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  padding: 11px 12px;
}
.demo-kpi-lbl {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 3px;
}
.demo-kpi-val {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.demo-kpi-sub {
  display: block;
  font-size: 11px;
  color: var(--ink-secondary);
  margin-top: 2px;
}
.demo-mix-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.demo-mix-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  margin-bottom: 4px;
}
.demo-mix-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--ink);
}
.demo-mix-track {
  width: 100%;
  height: 7px;
  background: #ECEEF2;
  border-radius: 3px;
  overflow: hidden;
}
.demo-mix-fill {
  height: 100%;
  border-radius: 3px;
}
@media (max-width: 860px) {
  .demo-profile-grid {
    grid-template-columns: 1fr;
  }
  .demo-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.fm-m3-zbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.fm-m3-zbtn:hover:not(:disabled) {
  background: var(--surface-subtle);
  border-color: var(--control-border);
}
.fm-m3-zbtn[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}
.fm-m3-zbtn:disabled {
  opacity: 0.45;
  cursor: default;
}
.fm-m3-zval {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  padding: 0 4px;
  min-width: 34px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.fm-m3-tl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  background: var(--surface-subtle);
  padding: 10px 14px;
}
.fm-m3-tl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.fm-m3-tl-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.fm-m3-tl-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.fm-m3-tl-play:hover {
  background: var(--navy-hover);
}
.fm-m3-tl-play[aria-pressed="true"] {
  background: var(--brick);
  border-color: var(--brick);
}
.fm-m3-tl-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid var(--control-border);
  border-radius: 4px;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.fm-m3-tl-year:hover {
  border-color: var(--navy);
}
.fm-m3-tl-year[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}
.fm-m3-tl-stats {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.fm-m3-tl-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--muted);
}
.fm-m3-tl-legend {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.fm-m3-tl-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-secondary);
  font-weight: 500;
}
.fm-m3-swatch {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 1px;
}
.fm-m3-swatch-existing { background: #142952; }
.fm-m3-swatch-opened { background: #1E6B45; }
.fm-m3-swatch-closed { background: #9D174D; }

/* Semantic embeddings autocomplete & match tags */
.sem-field {
  position: relative;
}
.sem-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--control-border);
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  min-width: 310px;
}
.sem-suggest.is-open {
  display: block;
}
.sem-suggest-head {
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border);
}
.sem-suggest-item {
  display: block;
  padding: 9px 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--ink);
}
.sem-suggest-item:hover,
.sem-suggest-item:focus {
  background: var(--surface-subtle);
  text-decoration: none;
}
.sem-suggest-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.sem-suggest-top strong {
  color: var(--navy);
  font-weight: 700;
}
.sem-suggest-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.sem-suggest-meta {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}
.sem-suggest-all {
  display: block;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface-subtle);
  text-decoration: none;
}
.sem-suggest-all:hover {
  text-decoration: underline;
}
.sem-score-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #142952;
  font-variant-numeric: tabular-nums;
}

/* Zoom-splitting numbered architectural outlet cluster markers (zero animation) */
.fm-m3-clusters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 6;
}
.fm-m3-cl {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1.5px solid #FFFFFF;
  border-radius: 3px;
  background: #142952;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.24);
}
.fm-m3-cl-md {
  min-width: 24px;
  height: 22px;
  font-size: 11px;
  padding: 0 6px;
}
.fm-m3-cl-lg {
  min-width: 28px;
  height: 24px;
  font-size: 11.5px;
  padding: 0 7px;
}
.fm-m3-cl-hub {
  background: #B45309;
}
.fm-m3-cl-open {
  background: #1E6B45;
}
.fm-m3-cl-close {
  background: #9D174D;
}
.fm-m3-cl:hover,
.fm-m3-cl:focus-visible {
  z-index: 9;
  outline: 2px solid #0F172A;
  outline-offset: 1px;
}

/* Brand monograph architectural jump nav & editorial polish */
section[id] {
  scroll-margin-top: 84px;
}
.brand-toc {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.brand-toc a {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease;
}
.brand-toc a:hover,
.brand-toc a:focus-visible {
  background: var(--surface-subtle);
  color: var(--ink);
  text-decoration: none;
}
.panel-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.panel-subhead h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.item19-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.item19-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13.5px;
}
.cell-muted {
  color: var(--muted);
  font-size: 12.5px;
  font-family: var(--font-sans);
}
.two-col {
  align-items: stretch;
}
.two-col > .panel {
  display: flex;
  flex-direction: column;
}
.table-wrap.table-flat {
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}
.table-compact th,
.table-compact td {
  padding: 10px 10px;
}
.table-wrap tbody tr:hover td,
.table-wrap tbody tr:hover th[scope="row"] {
  background: #FAFBFD;
}
tbody th[scope="row"] {
  background: transparent;
  color: var(--ink-secondary);
  font-weight: 600;
  font-size: 13px;
  border-bottom: 1px solid #EFF1F4;
  white-space: normal;
  width: 38%;
}
tr:last-child th[scope="row"] {
  border-bottom: none;
}
.fee-basis {
  margin-top: 3px;
  line-height: 1.48;
  max-width: 68ch;
}
.legal-subhead {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px 0;
}
.legal-group .legal-item {
  padding: 10px 0;
  border-bottom: 1px solid #EFF1F4;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-secondary);
}
.legal-group .legal-item:first-child {
  padding-top: 2px;
}
.legal-group .legal-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.legal-divider {
  margin: 14px 0 0 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* =========================================================
   FRANCHISOR FULL-BLEED BRAND COLORING (WCAG AAA LOCKED)
   ========================================================= */
.brand-bleed-band {
  width: 100%;
  background: linear-gradient(122deg, var(--brand-accent, var(--navy)) 0%, color-mix(in srgb, var(--brand-accent, var(--navy)) 76%, #0B1220) 100%);
  color: #FFFFFF;
  padding: 24px 0 56px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.brand-bleed-band .crumbs {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 14px;
}
.brand-bleed-band .crumbs a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.brand-bleed-band .crumbs a:hover {
  color: var(--brand-tint, #F2F1EC);
}
.brand-bleed-band h1 {
  color: #FFFFFF;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.028em;
  margin: 0;
}
.brand-bleed-meta {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 10px;
  line-height: 1.55;
}
.brand-bleed-meta a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.brand-bleed-meta a:hover {
  color: var(--brand-tint, #F2F1EC);
}
.brand-bleed-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #FFFFFF;
  line-height: 1.4;
}
.brand-bleed-actions {
  margin-top: 16px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}
.bleed-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 700;
  background: #FFFFFF;
  color: var(--brand-accent, var(--navy));
  border: 1px solid #FFFFFF;
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.bleed-btn-primary:hover,
.bleed-btn-primary:focus-visible {
  background: var(--brand-tint, #F2F1EC);
  color: #0F172A;
  border-color: var(--brand-tint, #F2F1EC);
  text-decoration: none;
}
.bleed-btn-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #FFFFFF;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.bleed-btn-site:hover,
.bleed-btn-site:focus-visible {
  background: var(--brand-tint, #F2F1EC);
  border-color: var(--brand-tint, #F2F1EC);
  color: #0F172A;
  text-decoration: none;
}
.bleed-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.22);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.bleed-btn-ghost:hover,
.bleed-btn-ghost:focus-visible {
  background: #FFFFFF;
  color: #0F172A;
  border-color: #FFFFFF;
  text-decoration: none;
}
.brand-body-bleed {
  width: 100%;
  background: linear-gradient(180deg, var(--brand-tint, #F7F6F3) 0%, color-mix(in srgb, var(--brand-tint, #F7F6F3) 50%, var(--bg)) 520px, var(--bg) 1100px);
  padding: 0 0 64px 0;
}
.brand-hero-sheet {
  background: #FFFFFF;
  border: 1px solid var(--brand-border, var(--border));
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  padding: 26px 28px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.brand-hero-sheet .hero-narrative {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.brand-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.brand-swatch-pair {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  color: #334155;
}
.brand-swatch-sq {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  border: 1px solid rgba(15, 23, 42, 0.18);
}
.brand-themed .btn {
  background: var(--brand-accent, var(--navy));
  border-color: var(--brand-accent, var(--navy));
  color: #FFFFFF;
}
.brand-themed .btn:hover,
.brand-themed .btn:focus-visible {
  background: var(--brand-accent, var(--navy-hover));
  border-color: var(--brand-accent, var(--navy-hover));
  filter: brightness(0.86);
  color: #FFFFFF;
}
.brand-themed .btn.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--brand-border, var(--control-border));
  filter: none;
}
.brand-themed .btn.btn-secondary:hover,
.brand-themed .btn.btn-secondary:focus-visible {
  background: var(--brand-tint, #F2F1EC);
  border-color: var(--brand-accent, var(--navy));
  color: var(--ink);
  filter: none;
}
.brand-themed .score-num {
  color: var(--brand-accent, var(--ink));
}
.brand-themed .hero-narrative h3,
.brand-themed .cite,
.brand-themed .kpi-cell-item {
  color: var(--brand-accent, var(--navy));
}
.brand-themed .section-head {
  border-bottom-color: var(--brand-border, var(--border-strong));
}
.brand-themed .panel,
.brand-themed .faq-card,
.brand-themed .peer-card,
.brand-themed .kpi-ledger {
  border-color: var(--brand-border, var(--border));
}
.brand-themed thead th {
  background: var(--brand-tint, #FAFAF8);
  color: var(--brand-accent, var(--muted));
  border-bottom-color: var(--brand-border, var(--border-solid));
}
.brand-themed thead th .sort-btn {
  color: var(--brand-accent, var(--muted));
}
.brand-themed thead th .sort-btn:hover {
  background: color-mix(in srgb, var(--brand-tint, #F1F4F9) 65%, var(--brand-border, #D8DCE3));
  color: #0F172A;
}
.brand-themed .brand-toc {
  background: #FFFFFF;
  border-color: var(--brand-border, var(--border));
}
.brand-themed .brand-toc a:hover,
.brand-themed .brand-toc a:focus-visible {
  background: var(--brand-accent, var(--navy));
  color: #FFFFFF;
}
@media (max-width: 640px) {
  .brand-bleed-band {
    padding: 18px 0 44px 0;
  }
  .brand-bleed-band h1 {
    font-size: 26px;
  }
  .brand-hero-sheet {
    padding: 18px 16px;
    margin-top: -20px;
  }
}

/* =========================================================
   SECTOR EDITORIAL HEADERS & VERIFIED BRAND STOREFRONTS
   ========================================================= */
.sector-hero-bleed {
  position: relative;
  width: 100%;
  min-height: 310px;
  overflow: hidden;
  background: #101E38;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: flex-end;
}
.sector-hero-bleed picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.sector-card-img-wrap picture,
.brand-storefront-frame picture,
.hero-photo-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}
.sector-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}
.sector-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    rgba(11, 18, 32, 0.92) 0%,
    rgba(16, 30, 56, 0.82) 44%,
    rgba(16, 30, 56, 0.34) 76%,
    rgba(16, 30, 56, 0.14) 100%
  );
}
.sector-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 32px 0 36px 0;
}
.sector-hero-content {
  max-width: 640px;
}
.sector-hero-bleed .crumbs {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 12px;
}
.sector-hero-bleed .crumbs a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sector-hero-bleed h1 {
  color: #FFFFFF;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 0 0 10px 0;
}
.sector-hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.sector-hero-stats {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sector-hero-stat {
  background: rgba(11, 18, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: 8px 13px;
  min-width: 118px;
}
.sector-hero-stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 2px;
}
.sector-hero-stat-val {
  display: block;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.sector-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.sector-card:hover,
.sector-card:focus-visible {
  border-color: var(--navy);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}
.sector-card-img-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #101E38;
  border-bottom: 1px solid var(--border);
}
.sector-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms ease;
}
.sector-card:hover .sector-card-img {
  transform: scale(1.03);
}
.sector-card-body {
  padding: 16px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.sector-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}
.sector-card:hover .sector-card-title {
  color: var(--navy);
}
.sector-card-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 10px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  font-size: 12px;
}

.brand-bleed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}
.brand-storefront-card {
  margin: 0;
}
.brand-storefront-frame {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(11, 18, 32, 0.35);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.brand-storefront-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-storefront-caption {
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}
.brand-storefront-caption a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 920px) {
  .brand-bleed-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .brand-storefront-card {
    max-width: 440px;
  }
  .sector-hero-bleed {
    min-height: 260px;
  }
  .sector-hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(11, 18, 32, 0.62) 0%,
      rgba(11, 18, 32, 0.90) 68%,
      rgba(11, 18, 32, 0.95) 100%
    );
  }
  .sector-hero-bleed h1 {
    font-size: 28px;
  }
}
.sem-suggest-name-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.sem-suggest-swatch {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.16);
}

/* =========================================================
   SEO / GEO / IA COMPONENTS: FAQ, PEER CARDS, STATE HUBS
   ========================================================= */
.geo-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FAFAF8;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.geo-chip-link:hover,
.geo-chip-link:focus-visible {
  background: var(--brand-tint, var(--navy-soft));
  border-color: var(--brand-accent, var(--navy));
  color: var(--brand-accent, var(--navy));
  text-decoration: none;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.faq-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 7px 0;
  line-height: 1.38;
}
.faq-card p {
  font-size: 13.5px;
  line-height: 1.56;
  color: var(--ink-secondary);
  margin: 0;
}
.peer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.peer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.peer-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.peer-card-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.peer-card-title:hover {
  color: var(--brand-accent, var(--navy));
  text-decoration: underline;
}
.peer-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--font-mono);
}
.peer-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid #EFF1F4;
  font-size: 12.5px;
}
.state-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.state-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.state-hub-card:hover,
.state-hub-card:focus-visible {
  border-color: var(--navy);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}
.state-hub-img-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #101E38;
  border-bottom: 1px solid var(--border);
}
.state-hub-img-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}
.state-hub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms ease;
}
.state-hub-card:hover .state-hub-img {
  transform: scale(1.03);
}
.state-hub-body {
  padding: 13px 15px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.state-hub-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.state-hub-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.state-hub-count {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.state-hub-meta {
  font-size: 12.5px;
  color: var(--muted);
}
.geo-export-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 960px) {
  .faq-grid,
  .peer-grid,
  .state-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .faq-grid,
  .peer-grid,
  .state-hub-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.opendata-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 18px 22px; margin-top: 24px; box-shadow: var(--shadow-xs);
}

/* Brand Monograph Grounded Filing Overview */
.narrative-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.narrative-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px;
  background: #FAFAF8;
  border-bottom: 1px solid var(--border-solid);
}
.narrative-head h2 {
  font-size: 19px;
  margin: 0 0 2px 0;
}
.narrative-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: 28px;
  padding: 24px 24px 22px 24px;
  align-items: start;
}
.narrative-prose h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.narrative-prose p {
  font-size: 15px;
  line-height: 1.66;
  color: var(--ink);
  max-width: 72ch;
}
.narrative-aside {
  background: #FAFAF8;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.narrative-aside h2,
.narrative-aside h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.takeaway-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.takeaway-list li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-secondary);
  padding-bottom: 10px;
  border-bottom: 1px solid #ECEFF4;
}
.takeaway-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.narrative-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 11px 24px;
  background: #FAFAF8;
  border-top: 1px solid var(--border-solid);
  font-size: 12px;
  color: var(--muted);
}

/* =========================================================
   DAYLIGHT SUNLIT PRIVATE PREVIEW HAIKU GATE
   ========================================================= */
.gate-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: var(--bg);
}
.gate-card {
  width: 100%;
  max-width: 470px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dock);
}
.gate-photo-strip {
  height: 124px;
  background-color: #E7E4DC;
  background-image: url('https://pub-b2cb3b1215584798add7816bd82be04d.r2.dev/site/gate-cafe.webp');
  background-image: image-set(
    url('https://pub-b2cb3b1215584798add7816bd82be04d.r2.dev/site/gate-cafe.avif') type('image/avif'),
    url('https://pub-b2cb3b1215584798add7816bd82be04d.r2.dev/site/gate-cafe.webp') type('image/webp')
  );
  background-size: cover;
  background-position: center 48%;
  border-bottom: 1px solid var(--border-solid);
}
.gate-body { padding: 26px 28px 28px 28px; }
.gate-brand-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #EFF1F4;
}
.gate-wordmark { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.gate-meter {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--navy);
  background: var(--navy-soft); border: 1px solid #C8D7EA; border-radius: 4px; padding: 3px 8px;
}
.gate-title { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.gate-sub { font-size: 14px; color: var(--ink-secondary); margin-bottom: 18px; }
.gate-error {
  background: var(--neg-bg); border: 1px solid var(--neg-border); color: var(--neg);
  border-radius: var(--radius); padding: 9px 12px; font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.gate-form { display: flex; flex-direction: column; gap: 11px; }
.gate-field { display: flex; flex-direction: column; gap: 4px; }
.gate-field label { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 500; }
.gate-field input {
  width: 100%; border: 1px solid var(--control-border); border-radius: var(--radius);
  padding: 10px 12px; font-family: var(--font-mono); font-size: 14px; color: var(--ink); background: #FAFAF8;
}
.gate-field input:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); background: #FFFFFF; }
.gate-or { font-size: 12px; color: var(--muted); text-align: center; margin: 2px 0; }
.gate-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid #EFF1F4; font-size: 12px; color: var(--muted); }

/* =========================================================
   RESPONSIVE BREAKPOINTS (1440 / 820 / 390 ZERO OVERFLOW)
   ========================================================= */
@media (max-width: 1040px) {
  .hero-split,
  .map-layout-grid,
  .editorial-two-col,
  .bottom-split-grid,
  .pricing-grid,
  .compare-cards-grid,
  .narrative-grid,
  .score-hero,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-split > *,
  .map-layout-grid > *,
  .editorial-two-col > *,
  .bottom-split-grid > *,
  .pricing-grid > *,
  .compare-cards-grid > *,
  .narrative-grid > *,
  .score-hero > *,
  .two-col > * {
    min-width: 0;
  }
  .buyer-paths-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .header-inner { height: auto; padding: 10px 0; flex-wrap: wrap; gap: 10px; }
  .header-search { order: 2; width: auto; flex: 1 1 220px; max-width: 340px; }
  .header-search:focus-within { width: auto; }
  .nav-cta-group { order: 3; }
  .main-nav { order: 4; width: 100%; overflow-x: auto; padding-bottom: 2px; }
}

@media (max-width: 960px) {
  .header-inner { height: auto; padding: 10px 0; flex-wrap: wrap; gap: 8px; }
  .nav-cta-group { order: 2; }
  .header-search { order: 3; flex: 1 0 100%; max-width: none; width: 100%; }
  .header-search-kbd { display: none; }
  .header-sem-suggest { left: 0; right: 0; width: 100%; }
  .main-nav { order: 4; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .nav-link { white-space: nowrap; font-size: 13px; padding: 6px 9px; }
  .nav-ghost { display: none; }
  .buyer-search-dock { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dock-field { border-right: none; border-bottom: 1px solid #EAECF0; }
  .dock-field:nth-child(3) { border-bottom: none; }
  .dock-submit { grid-column: span 2; }
  .compare-form-bar { grid-template-columns: minmax(0, 1fr); }
  .kpi-ledger,
  .kpi-ledger-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .kpi-ledger,
  .kpi-ledger-4 { grid-template-columns: minmax(0, 1fr); }
  .kpi-cell { padding: 15px 16px; }
  .kpi-cell-val { font-size: 19px; white-space: normal; }
  .editorial-hero { padding: 34px 0 32px 0; }
  .hero-headline { font-size: 32px; }
  .hero-lead { font-size: 15px; }
  .buyer-search-dock { grid-template-columns: minmax(0, 1fr); }
  .dock-submit { grid-column: span 1; width: 100%; }
  .buyer-paths-grid { grid-template-columns: minmax(0, 1fr); }
  .lender-plans-row { grid-template-columns: minmax(0, 1fr); }
  .sector-dir-grid { grid-template-columns: minmax(0, 1fr); }
  .sector-dir-item { border-right: none; }
  .format-links-grid { grid-template-columns: minmax(0, 1fr); }
  .dir-filter-input { width: 100%; }
  .dir-filter-input input { width: 100%; }
  .compare-mini-kpis { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .gate-body { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
