/* Mweshi — Apple TV × Jony Ive Optical Design Tokens
   Discipline:
   - Pure OLED black canvas (#000000); color comes solely from the cinema artwork.
   - Calibrated translucent dark glass for floating chrome only (dock, back/close controls).
   - Strict 4-step type scale, 3 weights (400, 500, 600), tabular numerals on all runtimes.
   - Zero purple/neon AI gradients, zero glow, zero hover-scale bounce. */

:root {
  /* Surfaces */
  --bg: #000000;
  --bg-elevated: #0d0d0f;
  --surface-1: #161618;
  --surface-2: #1f1f22;
  --surface-3: #2c2c30;

  /* Translucent Liquid Glass (Apple TV / iOS floating chrome) */
  --glass-bg: rgba(28, 28, 30, 0.72);
  --glass-bg-strong: rgba(20, 20, 22, 0.86);
  --glass-pill: rgba(255, 255, 255, 0.14);
  --glass-pill-hover: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-strong: rgba(255, 255, 255, 0.24);
  --glass-blur: blur(28px) saturate(150%);

  /* Ink & Hierarchy */
  --ink: #f5f5f7;
  --ink-secondary: rgba(245, 245, 247, 0.76);
  --ink-muted: #86868b;
  --ink-faint: rgba(235, 235, 245, 0.36);

  /* Dividers */
  --hairline: rgba(255, 255, 255, 0.1);
  --hairline-strong: rgba(255, 255, 255, 0.2);

  /* Functional Accents (Tactile White CTA + Subtle Provenance Gold) */
  --cta-bg: #ffffff;
  --cta-ink: #000000;
  --cta-hover: #e5e5ea;
  --provenance: #d9a05b;
  --active-blue: #0a84ff; /* Apple TV subtle system indicator when needed */

  /* Typography — Native Apple SF Pro on Apple devices, Inter/Geist elsewhere */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Geist", system-ui, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  /* Strict 4-step optical type scale */
  --text-xs: 0.75rem;    /* 12px: technical badges [4K] [C2PA] [CC], metadata labels */
  --text-sm: 0.875rem;   /* 14px: episode subtitles, dock labels, ledger rows */
  --text-base: 1.0rem;   /* 16px: synopses, primary buttons, body copy */
  --text-lg: clamp(1.15rem, 1.4vw, 1.375rem); /* 18-22px: rail headings ("Continue Watching >") */
  --text-hero: clamp(2.25rem, 5vw, 4.25rem);  /* Show title lockups */

  /* Weights (No 800/900 screaming weights) */
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;

  /* Concentric Radii */
  --r-xs: 4px;     /* Technical spec badges [4K] [CC] */
  --r-sm: 10px;    /* Inner thumbnails */
  --r-card: 14px;  /* Apple TV 16:9 and 2:3 cards */
  --r-sheet: 22px; /* Modal sheets & floating dock */
  --r-pill: 9999px;

  /* Spacing & Layout */
  --gutter: clamp(1.125rem, 3.8vw, 3.25rem);
  --max-w: 90rem;
  --dock-offset: 5.5rem;

  /* Calm, Physical Motion */
  --dur-fast: 160ms;
  --dur-med: 260ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
