@charset "UTF-8";
/* ========================================================================
   BEACON Sports Analytics Design System v2
   Deploy to /sports/bldg-system.css
   NOTE: Load Google Fonts via <link> in HTML <head> instead of @import
   to avoid render blocking. Fonts fall back gracefully if not loaded.
   ======================================================================== */

/* ---- Design tokens ---- */
:root {
  /* Dark palette (default when system dark) — warm near-black, incworx-inspired */
  --bg:          #0d0e12;
  --bg-2:        #14161c;
  --panel:       #17191f;
  --panel-2:     #1c1f27;
  --line:        #262a34;
  --line-2:      #2a3345;
  --ink:         #ffffff;
  --ink-2:       #a0a5ad;
  --ink-3:       #8f97a4;   /* was #6b7280: 3.4:1 on panels; now 5.6:1 */

  /* Brand accents */
  --acc:         #c8ff2f;   /* BEACON electric green — primary */
  --acc-glow:    rgba(200, 255, 47, 0.35);
  --acc-2:       #38e0a6;   /* Verified / success teal */
  --acc-hot:     #ff4d6a;   /* Loss / negative */
  --acc-warn:    #ffb84d;   /* Caution / advisory */

  /* Tier colors */
  --tier-conviction: #c8ff2f;
  --tier-strong:     #38e0a6;
  --tier-skip:       #6b7280;

  /* Type */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  /* Type scale — CONSISTENT everywhere */
  --fs-hero:    clamp(44px, 7vw, 84px);
  --fs-h1:      clamp(36px, 5.2vw, 56px);
  --fs-h2:      clamp(22px, 2.6vw, 30px);
  --fs-h3:      18px;
  --fs-body:    16px;
  --fs-small:   14px;
  --fs-micro:   11px;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radius */
  --r-1: 8px;
  --r-2: 12px;
  --r-3: 16px;
  --r-4: 24px;
  --r-pill: 999px;

  /* Motion */
  --e-fast: cubic-bezier(0.22, 1, 0.36, 1) 180ms;
  --e-med:  cubic-bezier(0.22, 1, 0.36, 1) 280ms;
  --e-slow: cubic-bezier(0.22, 1, 0.36, 1) 500ms;

  /* Depth */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.30);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.40);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.50);
  --shadow-glow: 0 0 60px var(--acc-glow);

  /* Chrome */
  --nav-h: 64px;
}

/* Light mode — auto or manual override */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg:          #fafbfc;
    --bg-2:        #f0f2f5;
    --panel:       #ffffff;
    --panel-2:     #f5f7fa;
    --line:        #e5e7eb;
    --line-2:      #d1d5db;
    --ink:         #0a0d13;
    --ink-2:       #4b5563;
    --ink-3:       #5b6472;   /* was #6b7280: 4.3:1 on light grey; now 5.3:1 */

    --acc:         #3f6b00;   /* was #4b7f00: 3.9:1 as text on tints; now 5.1:1, 6.3:1 under white */
    --acc-glow:    rgba(75, 127, 0, 0.20);
    --acc-2:       #07704e;   /* was #0b8f63: 3.4:1 as text on teal tint; now 5.1:1 */
    --acc-hot:     #b91c1c;   /* was #dc2626: 4.1:1 on pink tint; now 5.6:1 */
    --acc-warn:    #9a5a00;   /* was #d97706: 2.8:1 as text; now 4.8:1 */

    --tier-conviction: #3f6b00;
    --tier-strong:     #07704e;

    --shadow-sm: 0 1px 2px rgba(16,24,40,0.04);
    --shadow-md: 0 6px 24px rgba(16,24,40,0.08);
    --shadow-lg: 0 24px 80px rgba(16,24,40,0.10);
    --shadow-glow: 0 0 60px var(--acc-glow);
  }
}

/* Manual light override */
:root[data-theme="light"], html.theme-light {
  --bg:          #fafbfc;
  --bg-2:        #f0f2f5;
  --panel:       #ffffff;
  --panel-2:     #f5f7fa;
  --line:        #e5e7eb;
  --line-2:      #d1d5db;
  --ink:         #0a0d13;
  --ink-2:       #4b5563;
  --ink-3:       #5b6472;   /* was #6b7280: 4.3:1 on light grey; now 5.3:1 */

  --acc:         #3f6b00;   /* was #4b7f00: 3.9:1 as text on tints; now 5.1:1, 6.3:1 under white */
  --acc-glow:    rgba(75, 127, 0, 0.20);
  --acc-2:       #07704e;   /* was #0b8f63: 3.4:1 as text on teal tint; now 5.1:1 */
  --acc-hot:     #b91c1c;   /* was #dc2626: 4.1:1 on pink tint; now 5.6:1 */
  --acc-warn:    #9a5a00;   /* was #d97706: 2.8:1 as text; now 4.8:1 */

  --tier-conviction: #3f6b00;
  --tier-strong:     #07704e;

  --shadow-sm: 0 1px 2px rgba(16,24,40,0.04);
  --shadow-md: 0 6px 24px rgba(16,24,40,0.08);
  --shadow-lg: 0 24px 80px rgba(16,24,40,0.10);
}

/* Manual dark override */
:root[data-theme="dark"] {
  --bg:          #0d0e12;
  --bg-2:        #14161c;
  --panel:       #17191f;
  --panel-2:     #1c1f27;
  --line:        #262a34;
  --line-2:      #363b47;
  --ink:         #ffffff;
  --ink-2:       #a0a5ad;
  --ink-3:       #8f97a4;   /* was #6b7280: 3.4:1 on panels; now 5.6:1 */

  --acc:         #c8ff2f;
  --acc-glow:    rgba(200, 255, 47, 0.35);
  --acc-2:       #38e0a6;
  --acc-hot:     #ff4d6a;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: dark light;
}
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"], html.theme-light { color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  transition: background-color 300ms ease, color 300ms ease;
}
a { color: inherit; text-decoration: none; transition: var(--e-fast); }
a:hover { color: var(--acc); }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
input, select, textarea { font: inherit; }

/* ---- Layout ---- */
.bldg-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-5) var(--s-8);
}
.bldg-wrap-narrow { max-width: 920px; }
.bldg-wrap-wide   { max-width: 1440px; }

body.has-chrome { padding-top: var(--nav-h); }

/* ---- Cinematic page hero ---- */
.beacon-hero {
  position: relative;
  padding: var(--s-8) 0 var(--s-7);
  overflow: hidden;
  isolation: isolate;
}
.beacon-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}
/* Kinetic beam graphics — SVG lines painted in ::before/::after */
.beacon-hero-beams {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.beacon-hero-beams svg {
  position: absolute;
  right: -80px;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 60vw;
  max-width: 900px;
  min-height: 500px;
}
.beacon-hero-beams .beam {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
  filter: drop-shadow(0 0 8px currentColor);
}
.beacon-hero-beams .beam-green { stroke: #c8ff2f; color: rgba(200,255,47,0.5); }
.beacon-hero-beams .beam-teal  { stroke: #38e0a6; color: rgba(56,224,166,0.5); }
.beacon-hero-beams .beam-pink  { stroke: #ff4d6a; color: rgba(255,77,106,0.4); }
.beacon-hero-beams .beam-thin  { stroke-width: 3; opacity: 0.75; }

/* Light theme: softer, less glow */
html[data-theme="light"] .beacon-hero-beams, html.theme-light .beacon-hero-beams { opacity: 0.65; }
html[data-theme="light"] .beacon-hero-beams .beam, html.theme-light .beacon-hero-beams .beam { filter: none; opacity: 0.8; }

@keyframes beam-glide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-30px); }
}
.beacon-hero-beams .beam-a { animation: beam-glide 8s ease-in-out infinite; }
.beacon-hero-beams .beam-b { animation: beam-glide 10s ease-in-out infinite reverse; }
.beacon-hero-beams .beam-c { animation: beam-glide 12s ease-in-out infinite; animation-delay: -2s; }
.beacon-hero-beams .beam-d { animation: beam-glide 14s ease-in-out infinite reverse; animation-delay: -5s; }

@media (max-width: 900px) {
  .beacon-hero-beams svg { width: 100vw; right: -100px; }
  .beacon-hero-beams .beam { stroke-width: 4; opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .beacon-hero-beams .beam { animation: none !important; }
}

/* ---- Typography ---- */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); letter-spacing: -0.02em; font-weight: 800; }
.beacon-h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.03em; }
.beacon-hero-h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; }

.beacon-eyebrow {
  display: inline-block;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--acc);
  font-weight: 700;
  margin-bottom: var(--s-4);
  padding: 6px 14px;
  background: rgba(200, 255, 47, 0.08);
  border: 1px solid rgba(200, 255, 47, 0.20);
  border-radius: var(--r-pill);
}
html[data-theme="light"] .beacon-eyebrow, html.theme-light .beacon-eyebrow {
  background: rgba(75, 127, 0, 0.08);
  border-color: rgba(75, 127, 0, 0.20);
}
.beacon-lede {
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.55;
  max-width: 640px;
  margin: var(--s-4) 0 0;
}
.beacon-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--s-4);
  color: var(--ink-2);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
}
.beacon-stamp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc-2);
  box-shadow: 0 0 12px var(--acc-2);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}

.beacon-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.beacon-tabular { font-variant-numeric: tabular-nums; }

/* ---- Unified subtabs pill bar ---- */
.subtabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: #17191f;
  border: 1px solid #262a34;
  border-radius: 999px;
  margin: 24px 0 32px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
html[data-theme="light"] .subtabs, html.theme-light .subtabs {
  background: #ffffff;
  border-color: #e5e7eb;
}
.subtab {
  padding: 9px 20px;
  border-radius: 999px;
  color: #a0a5ad;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: all 150ms ease;
  text-decoration: none;
  background: transparent;
}
html[data-theme="light"] .subtab, html.theme-light .subtab { color: #4b5563; }
.subtab:hover {
  color: #ffffff;
  background: #1c1f27;
}
html[data-theme="light"] .subtab:hover, html.theme-light .subtab:hover {
  color: #0a0d13;
  background: #f5f7fa;
}
.subtab.active {
  background: #c8ff2f;
  color: #000000;
  font-weight: 700;
}
html[data-theme="light"] .subtab.active, html.theme-light .subtab.active {
  background: #4b7f00;
  color: #ffffff;
}

/* ---- Cards ---- */
.beacon-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
}
.beacon-card + .beacon-card { margin-top: var(--s-4); }
.beacon-card-flat { box-shadow: none; }
.beacon-card-hero {
  padding: var(--s-6) var(--s-5);
  background: linear-gradient(135deg, var(--panel) 0%, var(--panel-2) 100%);
  position: relative;
  overflow: hidden;
}
.beacon-card-hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle at top right, var(--acc-glow), transparent 70%);
  pointer-events: none;
}

/* ---- Stats / KPIs ---- */
.beacon-stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.beacon-stat-label {
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  font-weight: 700;
}
.beacon-stat-value {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.beacon-stat-value.mega {
  font-size: var(--fs-hero);
}
.beacon-stat-sub {
  color: var(--ink-2);
  font-size: var(--fs-small);
  margin-top: var(--s-1);
}

/* ---- Pills / Badges ---- */
.beacon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 700;
  background: var(--panel-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.beacon-pill.positive { background: rgba(200,255,47,0.12); color: var(--acc); border-color: transparent; }
.beacon-pill.negative { background: rgba(255,77,106,0.12); color: var(--acc-hot); border-color: transparent; }
.beacon-pill.warn     { background: rgba(255,184,77,0.12); color: var(--acc-warn); border-color: transparent; }

/* ---- BEACON score circle ---- */
.beacon-score {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
  flex: none;
  font-family: var(--font-display);
  position: relative;
}
.beacon-score .num { font-size: 36px; font-variant-numeric: tabular-nums; }
.beacon-score .of { font-size: 10px; color: var(--ink-3); letter-spacing: 0.14em; margin-top: 5px; font-weight: 700; }
.beacon-score.tier-conviction {
  background: radial-gradient(circle at 30% 30%, rgba(200,255,47,0.28), rgba(200,255,47,0.05));
  border: 2px solid var(--tier-conviction);
  color: var(--tier-conviction);
  box-shadow: 0 0 24px var(--acc-glow);
  animation: score-pulse 3s ease-in-out infinite;
}
@keyframes score-pulse {
  0%, 100% { box-shadow: 0 0 24px var(--acc-glow); }
  50% { box-shadow: 0 0 40px var(--acc-glow); }
}
.beacon-score.tier-strong {
  background: radial-gradient(circle at 30% 30%, rgba(56,224,166,0.22), rgba(56,224,166,0.04));
  border: 2px solid var(--tier-strong);
  color: var(--tier-strong);
}
.beacon-score.tier-skip {
  background: var(--panel-2);
  border: 2px solid var(--line);
  color: var(--tier-skip);
}
@media (prefers-reduced-motion: reduce) {
  .beacon-score.tier-conviction { animation: none; }
}

/* ---- Tables ---- */
.beacon-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--panel);
  overflow: visible;
}
@media (max-width: 720px) {
  .beacon-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.beacon-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--fs-small);
}
.beacon-table thead th {
  position: sticky;
  top: 0;
  background: var(--panel);
  color: var(--ink-3);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-align: right;
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  z-index: 2;
}
.beacon-table thead th:first-child { text-align: left; }
.beacon-table tbody td {
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.beacon-table tbody td:first-child { text-align: left; font-weight: 600; }
.beacon-table tbody tr:last-child td { border-bottom: 0; }
.beacon-table tbody tr:hover { background: var(--panel-2); }
.beacon-table .divhead td {
  background: var(--bg-2);
  color: var(--acc-2);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  padding: var(--s-3) var(--s-4);
  text-align: left !important;
  position: sticky;
  top: 41px;
  z-index: 1;
}

/* ---- Buttons ---- */
.beacon-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
  font-size: var(--fs-small);
  transition: var(--e-fast);
  font-family: var(--font-body);
}
.beacon-btn:hover { border-color: var(--acc); color: var(--acc); }
.beacon-btn-primary {
  background: var(--acc);
  color: #0a0d13;
  border-color: var(--acc);
}
.beacon-btn-primary:hover { filter: brightness(1.08); color: #0a0d13; box-shadow: 0 0 24px var(--acc-glow); }
html[data-theme="light"] .beacon-btn-primary, html.theme-light .beacon-btn-primary { color: #fff; }
.beacon-btn-primary:hover { color: #0a0d13; }
html[data-theme="light"] .beacon-btn-primary:hover, html.theme-light .beacon-btn-primary:hover { color: #fff; }
.beacon-btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform var(--e-fast);
}
.beacon-btn-arrow:hover::after { transform: translateX(4px); }

/* ---- Grids ---- */
.beacon-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.beacon-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.beacon-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.beacon-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-4); }

@media (max-width: 900px) {
  .beacon-grid-2, .beacon-grid-3, .beacon-grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .beacon-grid-3, .beacon-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Section spacing ---- */
.beacon-section {
  margin-top: var(--s-7);
}
.beacon-section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
}
.beacon-section-title .icon { font-size: 22px; }
.beacon-section-title .count {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0;
}

/* ---- Utility ---- */
.beacon-loading {
  color: var(--ink-3);
  text-align: center;
  padding: var(--s-7) 0;
  font-size: var(--fs-small);
}
.beacon-hr {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: var(--s-5) 0;
}
.beacon-empty {
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: var(--r-3);
  padding: var(--s-7);
  text-align: center;
  color: var(--ink-3);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.beacon-empty b { color: var(--ink); display: block; margin-bottom: 6px; font-weight: 700; }

/* ---- Focus ---- */
:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Motion pref ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}

/* ---- Backward-compat aliases (so legacy pages don't break) ---- */
.bldg-wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--s-5) var(--s-8); }
.bldg-loading { color: var(--ink-3); text-align: center; padding: var(--s-7) 0; font-size: var(--fs-small); }

/* ==== ENFORCED CONSISTENT TYPE SCALE ====
   These rules use !important to guarantee identical rendering across every page,
   overriding any legacy inline CSS. Change values HERE only. */

/* Every page H1 (hero title on Ladder, Projections, Scores, Rankings, Matchup, Edges) */
.page-h1,
.hub-h1,
.beacon-hero-h1,
.beacon-h1 {
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 40px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em !important;
  font-weight: 800 !important;
  margin: 0 0 12px !important;
}
@media (max-width: 900px) {
  .page-h1, .hub-h1, .beacon-hero-h1, .beacon-h1 {
    font-size: 32px !important;
  }
}
@media (max-width: 560px) {
  .page-h1, .hub-h1, .beacon-hero-h1, .beacon-h1 {
    font-size: 28px !important;
  }
}

/* Bankroll mega-number: same visual weight as H1 */
.portfolio-bal .val,
.big-bal {
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 40px !important;
  line-height: 1 !important;
  letter-spacing: -0.025em !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums !important;
}
@media (max-width: 900px) {
  .portfolio-bal .val, .big-bal { font-size: 32px !important; }
}
@media (max-width: 560px) {
  .portfolio-bal .val, .big-bal { font-size: 28px !important; }
}

/* Lede (the muted description under H1) */
.page-lede,
.hub-sub,
.beacon-lede {
  font-size: 15px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  max-width: 620px !important;
  color: var(--ink-2) !important;
}

/* Hero section wrapper spacing */
.page-hero-cinematic,
.hub-hero {
  padding: 32px 0 28px !important;
  min-height: 0 !important;
}
@media (max-width: 900px) {
  .page-hero-cinematic, .hub-hero {
    padding: 24px 0 20px !important;
  }
}

/* ---------- BEACON badge ----------
   The one way a BEACON score is shown inline, on every page, in both sports.
   Colour is the tier, so the number reads as BEACON and as a verdict at once.
   <span class="beacon-badge t-strong">BEACON <b>58</b></span>              */
.beacon-badge{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1;padding:4px 10px 4px 8px;border-radius:var(--r-pill);border:1px solid var(--line-2);background:var(--panel-2);color:var(--ink-2);white-space:nowrap;font-variant-numeric:tabular-nums;vertical-align:middle}
.beacon-badge::before{content:"◆";font-size:9px;opacity:.9}
span.beacon-badge > b{font-size:13px;font-weight:800;color:var(--ink)}
.beacon-badge.t-strong{background:rgba(56,224,166,.14);border-color:var(--acc-2);color:var(--acc-2)}
span.beacon-badge.t-strong > b{color:var(--acc-2)}
.beacon-badge.t-conviction{background:var(--acc);border-color:var(--acc);color:var(--bg);box-shadow:0 0 0 3px var(--acc-glow)}
span.beacon-badge.t-conviction > b{color:var(--bg)}
.beacon-badge.t-extreme{background:rgba(255,184,77,.12);border-color:var(--acc-warn);color:var(--acc-warn)}
span.beacon-badge.t-extreme > b{color:var(--acc-warn)}
.beacon-badge.t-extreme::after{content:"extreme";font-size:9px;font-weight:600;opacity:.9}
