/* Text colour hierarchy. The brand guide has one text colour on dark (Secondary, #FAFAFA)
   and one highlight (Accent, #9191EE). To stop every line shouting at the same volume,
   supporting text uses that same #FAFAFA dimmed toward the background, in two steps.
     --tx-1  #FAFAFA  19.1:1  headings, names, numbers, questions: what must be read
     --tx-2  #A3A3A8   7.8:1  paragraphs and descriptions
     --tx-3  #8E8E96   6.0:1  captions, notes, fine print
     --tx-accent #9191EE 7.1:1  small labels, step numbers, links inside text
   All four pass WCAG AA (4.5:1) on every dark surface the page uses.
   Text sitting on a light or accent surface (score card, paper mock-ups) is left alone. */
:root { --tx-1: #fafafa; --tx-2: #a3a3a8; --tx-3: #8e8e96; --tx-accent: #9191ee; }

/* Level 1 */
#app :is(h1, h2, h3, summary):not(.workflow-visual *, .workflow-document *, .arc-result *),
#app .reel-tile strong,
#app .event-highlight-meta b,
#app .location-card strong,
#app #benchmark dd,
#app .client-logo span { color: var(--tx-1) !important; }

/* Level 2 */
#app :is(p, li, dt, label):not(.workflow-visual *, .workflow-document *, .arc-result *),
#app .expand-steps div,
#app .event-date,
#app .venue-line,
#app .location-card p,
#app .outro-copy > span,
#app .homepage-footer a,
#app .event-banner span { color: var(--tx-2) !important; }
/* Over moving video the paragraph needs a little more light than on a flat surface. */
#app .hero-backdrop .hero-copy > p { color: rgba(250, 250, 250, .84) !important; }
#app .homepage-footer a:hover { color: var(--tx-1) !important; }

/* Level 3 */
#app .booking-note,
#app label .optional,
#app .client-logo small,
#app .reel-tile small,
#app .arc-source,
#app .arc-edition,
#app #benchmark dt,
#app #benchmark dd small,
#app .gallery-count,
#app .homepage-footer .footer-bottom,
#app .homepage-footer .footer > .wrap:last-child { color: var(--tx-3) !important; }

/* Accent: labels, numbers and inline links only. */
#app .reel-eyebrow,
#app .kicker,
#app .reel-num,
#app .expand-steps b,
#app .event-brand strong,
#app .location-card span,
#app .booking-note a,
#app .followup-copy a,
#app #benchmark .arc-story > p:first-child { color: var(--tx-accent) !important; }

/* Benchmark figures: the lead tile sits on primary blue, so all of its text is white. */
#app .arc-stat > strong { color: var(--tx-1) !important; }
#app .arc-stat > strong > span, #app .arc-footnote { color: var(--tx-3) !important; }
#app .arc-stat-lead :is(h3, p, strong) { color: #fff !important; }
#app #arc-title span, #app #arc-title.arc-in-view span { color: var(--tx-accent); }
