.research-page {
  background: #050105;
  color: var(--cream);
}

.research-page .site-footer {
  background: #050105;
}

@media (min-width: 860px) {
  .research-page .site-header {
    align-items: center;
  }

  .research-page .brand,
  .research-page .header-cta {
    flex: 0 0 auto;
  }

  .research-page .nav-links {
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
    max-width: min(760px, calc(100vw - 420px));
    gap: 10px 16px;
    padding-top: 0;
    font-size: 0.8rem;
    line-height: 1.1;
  }
}

.research-hero {
  padding: 58px 0 28px;
  color: var(--cream);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 2px, transparent 2px),
    radial-gradient(circle at 76% 18%, rgba(255, 212, 38, 0.18), transparent 27%),
    radial-gradient(circle at 15% 18%, rgba(138, 45, 226, 0.38), transparent 36%),
    linear-gradient(135deg, #050105 0%, #240031 54%, #08010a 100%);
  background-size: 68px 68px, 68px 68px, auto, auto, auto;
}

.research-hero-grid,
.viz-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.research-hero-visual {
  overflow: hidden;
  position: relative;
}

.research-hero-visual::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -18vw;
  width: min(620px, 70vw);
  aspect-ratio: 1;
  border: 48px solid rgba(255, 212, 38, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.research-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 9vw, 6.6rem);
}

.research-lede {
  max-width: 760px;
  color: rgba(255, 246, 223, 0.84);
  font-size: clamp(1.02rem, 2.2vw, 1.28rem);
}

.research-scorecard,
.ranking-workbench,
.chart-panel,
.dynasty-card {
  border: 1px solid rgba(255, 212, 38, 0.25);
  border-radius: 8px;
  background: rgba(18, 7, 19, 0.84);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
}

.research-scorecard {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
}

.research-scorecard span,
.research-grid article span,
.insight-grid article span,
.profile-kpi-grid article span {
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.research-scorecard strong {
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.92;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  color: #050105;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0 92%, rgba(255, 246, 223, 0.18) 92% 100%);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
}

.research-note {
  padding: 14px 0;
  color: #050105;
  background: var(--gold);
}

.research-note .section-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
}

.football-kpi-section {
  padding: clamp(22px, 5vw, 38px) 0;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(255, 212, 38, 0.22), rgba(151, 68, 230, 0.18)),
    #0b020d;
}

.football-kpi-grid {
  display: grid;
  gap: 12px;
}

.football-kpi-grid article {
  display: grid;
  gap: 4px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 212, 38, 0.2);
  border-radius: 8px;
  background: rgba(5, 1, 5, 0.62);
}

.football-kpi-grid span,
.driver-card-top span {
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.football-kpi-grid strong {
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  line-height: 0.9;
}

.football-kpi-grid p {
  color: rgba(255, 246, 223, 0.72);
  margin: 0;
}

.research-section {
  scroll-margin-top: 92px;
  padding: clamp(48px, 8vw, 92px) 0;
  color: var(--cream);
  background: #050105;
}

.research-hero,
.football-kpi-section,
.research-note {
  scroll-margin-top: 92px;
}

.research-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 212, 38, 0.12), transparent 30%),
    radial-gradient(circle at 14% 22%, rgba(151, 68, 230, 0.18), transparent 34%),
    #100612;
}

.research-grid,
.insight-grid,
.county-grid,
.method-grid,
.profile-preview-grid,
.profile-kpi-grid,
.qa-grid,
.series-grid,
.community-card-grid {
  display: grid;
  gap: 16px;
}

.research-grid article,
.insight-grid article,
.county-grid article,
.profile-preview-grid article,
.profile-kpi-grid article,
.qa-grid article,
.series-grid article,
.community-card-grid article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 212, 38, 0.06), rgba(151, 68, 230, 0.06)),
    rgba(255, 255, 255, 0.055);
}

.research-grid .research-feature {
  background: rgba(255, 212, 38, 0.1);
}

.research-grid h2,
.research-grid h3,
.insight-grid h3,
.county-grid h3,
.profile-preview-grid h3,
.series-grid h3 {
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 0.96;
}

.series-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
}

.series-grid article span {
  display: inline-flex;
  width: max-content;
  color: #050105;
  border-radius: 999px;
  background: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  padding: 7px 10px;
}

.series-grid article p,
.community-grid p,
.community-card-grid article p {
  color: rgba(255, 246, 223, 0.72);
}

.community-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.community-actions {
  margin-top: 22px;
}

.community-card-grid article {
  border-color: rgba(255, 212, 38, 0.22);
  background: rgba(255, 212, 38, 0.075);
}

.community-card-grid article strong {
  display: block;
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.95;
}

.football-context-section,
.county-matrix-section,
.score-drivers-section {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 80% 12%, rgba(255, 212, 38, 0.2), transparent 28%),
    radial-gradient(circle at 12% 70%, rgba(151, 68, 230, 0.28), transparent 34%),
    linear-gradient(135deg, #050105 0%, #260032 58%, #0a010c 100%);
  background-size: 58px 58px, 58px 58px, auto, auto, auto;
}

.context-tile-grid,
.division-depth-grid,
.county-matrix-grid,
.profile-driver-grid {
  display: grid;
  gap: 14px;
}

.context-tile-grid {
  margin-bottom: 18px;
}

.context-tile-grid article,
.division-depth-card,
.county-heat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 38, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 212, 38, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 212, 38, 0.08), rgba(151, 68, 230, 0.1)),
    rgba(12, 3, 14, 0.88);
  padding: clamp(18px, 3vw, 24px);
}

.context-tile-grid article::after,
.division-depth-card::after,
.county-heat-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 112px;
  height: 112px;
  border: 20px solid rgba(255, 212, 38, 0.08);
  border-radius: 50%;
}

.context-tile-grid span,
.division-depth-card span,
.county-heat-card span {
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.context-tile-grid strong,
.division-depth-card strong {
  display: block;
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.9;
  margin-top: 10px;
}

.context-tile-grid p,
.division-depth-card p,
.division-depth-card small,
.county-heat-card p {
  color: rgba(255, 246, 223, 0.74);
  margin: 0;
}

.depth-meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  margin: 14px 0 8px;
}

.depth-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #a75cff);
}

.county-heat-card {
  min-height: 150px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 212, 38, var(--heat, 0.18)), transparent 34%),
    linear-gradient(135deg, rgba(255, 212, 38, 0.08), rgba(151, 68, 230, 0.11)),
    rgba(12, 3, 14, 0.88);
}

.county-heat-card strong {
  display: block;
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.92;
  margin: 8px 0;
}

.profile-driver-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 212, 38, 0.2), transparent 30%),
    radial-gradient(circle at 10% 66%, rgba(151, 68, 230, 0.22), transparent 34%),
    linear-gradient(135deg, #050105 0%, #21012a 62%, #08010a 100%);
}

.profile-driver-panel {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(255, 212, 38, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 212, 38, 0.09), rgba(151, 68, 230, 0.12)),
    rgba(255, 255, 255, 0.055);
}

.research-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold);
  font-weight: 850;
}

.intelligence-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  min-height: 520px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 212, 38, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 70% 18%, rgba(255, 212, 38, 0.2), transparent 34%),
    radial-gradient(circle at 20% 72%, rgba(151, 68, 230, 0.32), transparent 38%),
    rgba(10, 2, 12, 0.9);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
}

.intelligence-card-top {
  display: grid;
  gap: 8px;
}

.intelligence-card-top span,
.roi-panel > span {
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.intelligence-card-top strong {
  max-width: 360px;
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.intelligence-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
}

.intelligence-orbit::before,
.intelligence-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 212, 38, 0.25);
  border-radius: 50%;
}

.intelligence-orbit::before {
  width: 235px;
  height: 235px;
}

.intelligence-orbit::after {
  width: 150px;
  height: 150px;
  border-color: rgba(151, 68, 230, 0.42);
}

.orbit-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  color: #050105;
  border-radius: 50%;
  background: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.orbit-item {
  position: absolute;
  z-index: 3;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 1, 5, 0.86);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 8px 10px;
}

.orbit-a { top: 12px; left: 12%; }
.orbit-b { top: 24%; right: 6%; color: #050105; background: var(--gold); }
.orbit-c { bottom: 16%; left: 2%; }
.orbit-d { bottom: 8%; right: 12%; }

.signal-list {
  display: grid;
  gap: 10px;
}

.signal-list p {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  margin: 0;
  color: rgba(255, 246, 223, 0.76);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-top: 10px;
}

.signal-list strong {
  color: var(--gold);
}

.intelligence-map {
  display: grid;
  gap: 14px;
}

.intelligence-map article {
  position: relative;
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255, 212, 38, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 212, 38, 0.09), rgba(151, 68, 230, 0.08)),
    rgba(255, 255, 255, 0.045);
}

.intelligence-map article::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 212, 38, 0.32);
  border-radius: 50%;
}

.intelligence-map span {
  display: inline-flex;
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.intelligence-map h3 {
  margin-top: 32px;
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.92;
}

.intelligence-map p {
  color: rgba(255, 246, 223, 0.75);
}

.roi-panel {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 212, 38, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 212, 38, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(151, 68, 230, 0.2), rgba(255, 212, 38, 0.08)),
    rgba(255, 255, 255, 0.055);
}

.roi-row {
  display: grid;
  gap: 8px;
}

.roi-row strong {
  color: var(--cream);
}

.roi-row div {
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.roi-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #9b5cff);
}

.roi-panel p {
  color: rgba(255, 246, 223, 0.76);
}

.platform-strip-section {
  padding: clamp(28px, 5vw, 46px) 0;
  background:
    linear-gradient(90deg, rgba(255, 212, 38, 0.18), rgba(151, 68, 230, 0.14)),
    #0b020d;
}

.platform-strip {
  display: grid;
  gap: 12px;
}

.platform-strip a {
  display: grid;
  gap: 8px;
  color: var(--cream);
  border: 1px solid rgba(255, 212, 38, 0.22);
  border-radius: 8px;
  background: rgba(5, 1, 5, 0.56);
  padding: 18px;
}

.platform-strip span,
.product-flow article span,
.pathway-grid article span {
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.platform-strip strong {
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.platform-strip p,
.product-flow p,
.pathway-grid p {
  color: rgba(255, 246, 223, 0.74);
  margin: 0;
}

.product-flow-section {
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 212, 38, 0.2), transparent 28%),
    radial-gradient(circle at 8% 50%, rgba(151, 68, 230, 0.18), transparent 32%),
    #050105;
}

.product-flow {
  display: grid;
  gap: 14px;
}

.product-flow article {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 38, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 212, 38, 0.055)),
    rgba(255, 255, 255, 0.035);
  padding: clamp(20px, 3vw, 28px);
}

.product-flow article::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  border: 22px solid rgba(255, 212, 38, 0.08);
  border-radius: 50%;
}

.product-flow .featured-product {
  border-color: rgba(255, 212, 38, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 212, 38, 0.19), rgba(151, 68, 230, 0.12)),
    rgba(255, 255, 255, 0.06);
}

.product-flow h3,
.pathway-grid h3 {
  max-width: 620px;
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.92;
}

.audience-pathways {
  background: linear-gradient(180deg, #100612 0%, #050105 100%);
}

.pathway-grid {
  display: grid;
  gap: 14px;
}

.pathway-grid article {
  display: grid;
  gap: 10px;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: clamp(18px, 3vw, 24px);
}

.compact-heading {
  max-width: 760px;
}

.ranking-controls {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.ranking-controls label {
  display: grid;
  gap: 7px;
  color: rgba(255, 246, 223, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
}

.ranking-controls input,
.ranking-controls select {
  min-height: 46px;
  width: 100%;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #120713;
  font: inherit;
  padding: 10px 12px;
}

.small-button {
  min-height: 46px;
  width: 100%;
  border: 0;
  cursor: pointer;
}

.table-shell {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.edition-table-shell {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-overflow-scrolling: touch;
}

.edition-table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
}

.ranking-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}

.edition-table th,
.edition-table td,
.ranking-table th,
.ranking-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  text-align: left;
}

.edition-table th,
.ranking-table th {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.78rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.ranking-table th button {
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.edition-table td,
.ranking-table td {
  color: rgba(255, 246, 223, 0.86);
  font-size: 0.94rem;
}

.edition-table a {
  color: var(--gold);
  font-weight: 850;
}

.status-pill {
  display: inline-flex;
  width: max-content;
  color: #050105;
  border-radius: 999px;
  background: rgba(255, 246, 223, 0.84);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  padding: 8px 10px;
}

.status-pill.live {
  background: var(--gold);
}

.status-pill.preview {
  color: var(--cream);
  border: 1px solid rgba(255, 212, 38, 0.36);
  background: rgba(255, 212, 38, 0.13);
}

.ranking-table .rank-cell,
.ranking-table .score-cell {
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 1.38rem;
  font-weight: 800;
}

.signal-chip {
  display: inline-flex;
  width: max-content;
  max-width: 190px;
  color: #050105;
  border-radius: 999px;
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.1;
  padding: 7px 9px;
}

.external-profile-cell,
.external-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.external-profile-cell a {
  display: inline-flex;
  width: max-content;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
}

.external-profile-actions .research-link {
  margin-top: 0;
}

.chart-panel,
.dynasty-card {
  padding: 18px;
}

#scatter-plot {
  width: 100%;
  min-height: 280px;
}

.axis-label,
.point-label {
  fill: rgba(255, 246, 223, 0.75);
  font: 700 13px Manrope, Arial, sans-serif;
}

.county-grid article strong {
  display: block;
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 2.8rem;
  line-height: 1;
}

.county-grid article p,
.profile-preview-grid article p,
.county-grid article small {
  color: rgba(255, 246, 223, 0.72);
}

.dynasty-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.dynasty-tabs button {
  min-height: 40px;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-weight: 850;
  padding: 8px 12px;
}

.dynasty-tabs button.active {
  color: #050105;
  border-color: var(--gold);
  background: var(--gold);
}

.dynasty-output {
  display: grid;
  gap: 12px;
}

.dynasty-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.dynasty-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.dynasty-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-700));
}

.method-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.method-grid article {
  scroll-margin-top: 112px;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 212, 38, 0.2);
  border-radius: 8px;
  background: rgba(255, 212, 38, 0.08);
}

.method-grid strong {
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
}

.method-note {
  margin-top: 18px;
  color: rgba(255, 246, 223, 0.72);
}

.driver-grid {
  display: grid;
  gap: 16px;
}

.driver-card {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(255, 212, 38, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 212, 38, 0.08), rgba(151, 68, 230, 0.07)),
    rgba(255, 255, 255, 0.05);
}

.driver-card-top {
  display: grid;
  gap: 6px;
  align-items: start;
}

.driver-card-top span {
  width: max-content;
}

.driver-card h3 {
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.94;
}

.driver-card-top strong {
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 0.9;
}

.driver-card p {
  color: rgba(255, 246, 223, 0.74);
  margin: 0;
}

.driver-bars {
  display: grid;
  gap: 10px;
}

.driver-bar {
  display: grid;
  grid-template-columns: 84px 1fr 34px;
  gap: 10px;
  align-items: center;
}

.driver-bar span,
.driver-bar b {
  color: rgba(255, 246, 223, 0.78);
  font-size: 0.75rem;
  font-weight: 850;
}

.driver-bar div {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.driver-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #9b5cff);
}

.source-grid {
  display: grid;
  gap: 24px;
}

.source-grid > *,
.section-inner > * {
  min-width: 0;
}

.source-list {
  display: grid;
  gap: 14px;
}

.source-list article,
.share-card-preview {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.source-list h3,
.qa-grid h3,
.share-card-preview h2 {
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 0.98;
}

.source-list ul,
.method-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 246, 223, 0.76);
}

.source-list a {
  color: var(--gold);
  font-weight: 850;
}

.method-grid-detailed {
  grid-template-columns: 1fr;
}

.method-grid-detailed article p,
.source-list p,
.qa-grid p,
.share-card-preview p,
.share-card-preview span {
  color: rgba(255, 246, 223, 0.72);
}

.profile-kpi-grid article strong {
  display: block;
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.95;
}

.qa-grid article span {
  display: inline-flex;
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.share-card-preview {
  background:
    linear-gradient(135deg, rgba(255, 212, 38, 0.18), rgba(103, 19, 154, 0.12)),
    rgba(255, 255, 255, 0.055);
}

@media (min-width: 760px) {
  .research-hero-grid,
  .viz-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  }

  .research-grid,
  .insight-grid,
  .county-grid,
  .profile-preview-grid,
  .qa-grid,
  .series-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .football-finding-grid,
  .football-kpi-grid,
  .driver-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intelligence-map {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .intelligence-map article {
    grid-column: span 2;
  }

  .intelligence-map article:nth-child(1),
  .intelligence-map article:nth-child(2) {
    grid-column: span 3;
  }

  .source-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .platform-strip,
  .pathway-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-flow {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .product-flow article {
    grid-column: span 2;
  }

  .product-flow .featured-product {
    grid-column: span 4;
  }

  .community-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  }

  .context-tile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .division-depth-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .county-matrix-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .profile-driver-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    align-items: center;
  }

  .profile-kpi-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .research-grid .research-feature {
    grid-column: span 2;
  }

  .ranking-controls {
    grid-template-columns: 1fr 220px 180px;
    align-items: end;
  }

  .method-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .method-grid-detailed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .division-depth-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .football-finding-grid,
  .football-kpi-grid,
  .driver-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
