/* Guhanis Online: An Exhibition of Sound
 * Design System Tokens (Part 6 + WCAG contrast refinements)
 */

:root {
  /* Palette */
  --wall: #0B0B0C;
  --surface: #131315;
  --surface-elevated: #1A1A1E;
  --frame: #161618;
  --line: #26262A;
  --line-strong: #36363C;

  /* Text on dark surfaces (all pass WCAG AA 4.5:1+ on #0B0B0C and #131315) */
  --text: #EEEBE4;
  --muted: #A9A59D;      /* ~8.3:1 on Wall */
  --dim: #858279;        /* ~5.1:1 on Wall, ~4.8:1 on Surface */

  /* Museum wall label paper */
  --paper: #ECE8DF;
  --paper-ink: #141414;        /* ~15.4:1 on Paper */
  --paper-muted: #525049;      /* ~6.6:1 on Paper (replaces #858279 which fails on Paper) */
  --paper-line: #D4CFC3;

  /* Brand accent mint [confirm exact hex from Guhan's homepage] */
  --mint: #7FE0C6;
  --mint-hover: #97EAD4;
  --mint-ink: #0B0B0C;         /* ~12.8:1 on Mint */
  --mint-border: rgba(127, 224, 198, 0.34);
  --mint-subtle: rgba(127, 224, 198, 0.12);
  --playing-tint: #17201D;

  /* Status */
  --danger: #F28B82;

  /* Typography */
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-pixel: "Silkscreen", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type scale */
  --text-hero: clamp(3.125rem, 6.4vw, 6.25rem);        /* 50px mobile -> 100px desktop */
  --text-section: clamp(2.25rem, 4.6vw, 4.75rem);      /* 36px -> 76px */
  --text-room: clamp(2.5rem, 3.8vw, 3.75rem);          /* 40px mobile -> 60px desktop */
  --text-tagline: clamp(1.25rem, 1.8vw, 1.625rem);     /* 20px -> 26px */
  --text-body: clamp(0.9375rem, 1.1vw, 1.125rem);      /* 15px mobile -> 18px desktop */
  --text-pixel: 0.75rem;                               /* 12px */
  --text-pixel-sm: 0.6875rem;                          /* 11px */

  /* Layout & Spacing */
  --container: 1220px;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --header-h: 68px;
  --player-h-desktop: 84px;
  --player-h-mobile: 74px;
  --tap-min: 44px;

  /* Elevation & Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --shadow-frame: 0 28px 64px rgba(0, 0, 0, 0.72), 0 4px 16px rgba(0, 0, 0, 0.48);
  --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.55);
  --shadow-drawer: -16px 0 48px rgba(0, 0, 0, 0.72);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-base: 260ms;
}
