/**
 * Register: campus · matchaxmoxie
 * Compatibility layer only.
 *
 * styles.css grew several palettes deep (kindergarten pink, tulip, ocean)
 * before the classroom came back to matcha. Rather than rename every
 * selector, each of those old token names is aliased onto a role from
 * brand-tokens.css. Nothing here should hold a raw colour: if you need a
 * new value, add a role to brand-tokens.css first.
 *
 * The matcha and clay names are NOT re-declared here. They are the raw
 * palette in brand-tokens.css, and aliasing them back onto the roles that
 * reference them would make a custom-property cycle and void both.
 */

:root {
  /* paper */
  --paper: var(--surface);
  --paper-cream: var(--surface);
  --chalk-dust: var(--surface);
  --paper-shadow: var(--deck);
  --deck-white: var(--deck);
  --babys-breath: var(--surface);
  --bg-soft-warm: var(--surface-warm);
  --sheer-curtain: var(--deck);
  --tulip-light: var(--surface);

  /* text */
  --mute: var(--ink-muted);
  --ink-soft: var(--ink-muted);
  --crayon-ink: var(--ink);
  --crayon-muted: var(--ink-muted);
  --editorial-dark: var(--ink);
  --charcoal-fleece: var(--ink);
  --chalkboard: var(--ink);
  --tulip-soil: var(--ink);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-muted);
  --text-muted: var(--ink-muted);
  --text-ghost: var(--ink-subtle);
  --window-grey: var(--ink-muted);
  --a11y-ink: var(--ink);

  /* matcha accents · every green-ish legacy name lands on a role */
  --link: var(--accent);
  --link-hover: var(--warm-ink);
  --text-accent: var(--accent);
  --accent-crimson: var(--accent);
  --crimson-ink: var(--accent-hover);
  --lavender: var(--accent);
  --dusk: var(--accent);
  --cinnabar: var(--accent);
  --cinnabar-soft: var(--accent-quiet);
  --matcha-ops: var(--accent);
  --matcha-ink: var(--accent-hover);
  --matcha-wash: var(--surface-sunken);
  --jade: var(--accent);
  --jade-soft: var(--accent-quiet);
  --grass-green: var(--accent-quiet);
  --sage: var(--accent-quiet);
  --sage-wash: var(--surface-sunken);
  --tulip-deep: var(--accent);
  --tulip-stem: var(--accent);
  --tulip-mist: var(--surface-sunken);
  --lily-pink: var(--surface-sunken);
  --lily-pink-deep: var(--accent-quiet);
  --lily-ink: var(--accent);
  --lily-ink-deep: var(--accent-hover);

  /* warm accents · clay family.
     The -soft names are backgrounds, so they take a clay tint rather
     than clay itself; the -ink names are the ones text uses.
     The tint is held at #eedcc8 and no darker: the year-nav pills use it
     behind matcha link text, and a deeper clay drops that pair under
     4.5:1. */
  --sunshine: var(--warm);
  --sunset-warm: var(--warm);
  --sunset-ink: var(--warm-ink);
  --sunset-glow: var(--warm-wash);
  /* Decorative clay fill / rule, not small-text ink. Pairings that
     put body copy on this colour should use --gold-soft instead. */
  --golden-hour: var(--warm);
  --coral: var(--warm);
  --coral-ink: var(--warm-ink);
  --apple-red: var(--warm-ink);
  --brick-warm: var(--warm);
  --gold: var(--warm-ink);
  --gold-soft: #eedcc8;
  --sunflower: var(--warm);
  --peach: #eedcc8;
  --tulip-petal: var(--warm);
  --tulip-blush: #eedcc8;
  --dusty-pink: var(--warm);
  --dusty-pink-soft: #eedcc8;
  --dusty-pink-ink: var(--warm-ink);

  /* institutional accents · kept for IU-facing pages.
     Crimson stays a light IU pride accent, never the classroom's colour. */
  --navy: #0c447c;
  --crimson: #990000;
  --crimson-deep: #6d0000;

  /* lines and shadow */
  --border-faint: var(--border);
  --shadow: rgba(0, 84, 55, 0.16);
}
