/* Legacy bridge: maps the old (Playfair/Bebas/teal) utility classes onto Aurora.
   Linked only from pages that still use old markup. Case pages do NOT load it. */
/* ==========================================================================
   19 · LEGACY BRIDGE
   Maps the previous visual language onto the new system so that
   every page inherits Aurora even where old markup survives.
   ========================================================================== */
.playfair,
.bebas-neue,
.font-serif,
.font-display { font-family: var(--font-display) !important; font-weight: 600; letter-spacing: var(--tracking-display); }

/* Bebas was condensed uppercase; the new display face reads better in sentence case */
.bebas-neue { text-transform: none; line-height: var(--lh-tight); }

.font-sans { font-family: var(--font-sans) !important; }

.text-navy { color: var(--text-strong) !important; }
.text-teal { color: var(--accent-strong) !important; }
.bg-cream { background-color: var(--surface-050) !important; }
.bg-navy { background-color: var(--ink-900) !important; }
.bg-teal { background-color: var(--accent) !important; }

.card-shadow { box-shadow: var(--sh-md); border-radius: var(--r-lg); }
.card-cream { background: var(--surface-050); border-radius: var(--r-lg); }
.card-light-purple { background: var(--surface-100); border-radius: var(--r-lg); }

.stat-number,
.metric-value,
.impact-number {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: var(--text-strong);
}

.impact-number,
.metric-value { background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.metric-label,
.token-label,
.stage-label { font-size: var(--fs-caption); color: var(--text-muted); }

.progress-bar-fill { background: var(--gradient-accent) !important; border-radius: var(--r-pill) !important; }

.btn-fill { background: var(--gradient-accent); color: #fff; border-radius: var(--r-pill); }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  transition: all var(--d-base) var(--ease-out);
}

.social-icon:hover { transform: translateY(-2px); }

.header { backdrop-filter: saturate(180%) blur(18px); }

.u-link { color: var(--accent-strong); text-underline-offset: 0.2em; }

/* Old cream/teal section backgrounds → lavender surfaces */
.gradient-hero { background: var(--g-mist) !important; }
.gradient-purple { background: linear-gradient(180deg, var(--surface-100), #DDD9F5) !important; }
.gradient-green { background: linear-gradient(180deg, #FFE7F7, #FFF2FB) !important; }
.gradient-blue { background: linear-gradient(180deg, #E3EAFB, #F1F5FE) !important; }

/* Old rounded rectangles → the new radius scale */
.rounded-2xl { border-radius: var(--r-lg) !important; }
.rounded-3xl { border-radius: var(--r-xl) !important; }
.rounded-full { border-radius: var(--r-pill) !important; }

/* Old carousels keep working but inherit new surfaces */
.carousel-item { border-radius: var(--r-lg); }

/* Case-study component tags (tc-*) inherit the tag system */
.tc-tag { border-radius: var(--r-pill); font-family: var(--font-sans); }
.tc-green-light { background: var(--positive-soft) !important; color: #157A63 !important; }
.tc-blue-light { background: var(--info-soft) !important; color: var(--blue-700) !important; }
.tc-red-light { background: var(--negative-soft) !important; color: #A8501F !important; }
.tc-yellow-light { background: var(--caution-soft) !important; color: #A8501F !important; }
