/* Solenne Films - Design tokens (dark cinema default) */

:root {
  /* Surfaces */
  --bg-main: #0E0E0C;
  --bg-secondary: #161614;
  --bg-elevated: #1C1C19;
  --bg-overlay: rgba(0, 0, 0, 0.35);
  --bg-glass: rgba(14, 14, 12, 0.4);

  /* Text */
  --text-main: #F5F1EB;
  --text-muted: rgba(245, 241, 235, 0.6);
  --text-faint: rgba(245, 241, 235, 0.4);
  --text-inverse: #0E0E0C;

  /* Borders / chrome */
  --border-color: rgba(245, 241, 235, 0.12);
  --border-strong: rgba(245, 241, 235, 0.3);
  --nav-bg: rgba(14, 14, 12, 0.6);

  /* Brand accents */
  --gold: #B8860B;
  --gold-hover: #D4A017;
  --olive: #2C3A2A;
  --cream: #F5F1EB;

  /* Theme helpers */
  --invert-filter: invert(0);
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-toast: 0 12px 40px rgba(0, 0, 0, 0.5);

  /* Typography */
  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --tracking-caps: 0.18em;
  --letter-serif: -0.02em;

  /* Radii */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 1.5rem;
  --radius-pill: 9999px;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --header-max: 1100px;
  --content-max: 1080px;
  --packages-max: 1200px;
  --mosaic-max: 1400px;
  --page-gutter: 1.5rem;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 180ms;
  --duration: 300ms;
  --duration-slow: 700ms;
  --duration-ken: 28s;

  /* Focus ring */
  --focus-ring-color: var(--cream);
  --focus-ring-width: 2px;
  --focus-ring-offset: 3px;
  --focus-ring: 0 0 0 var(--focus-ring-offset) var(--bg-main),
    0 0 0 calc(var(--focus-ring-offset) + var(--focus-ring-width)) var(--focus-ring-color);

  /* Z-index ladder */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 40;
  --z-header: 50;
  --z-drawer: 60;
  --z-bottom-nav: 55;
  --z-lightbox: 80;
  --z-toast: 90;
  --z-skip: 100;
}

/* Light theme overrides */
.theme-light {
  --bg-main: #F5F1EB;
  --bg-secondary: #EBE6DF;
  --bg-elevated: #E4DFD7;
  --bg-overlay: rgba(14, 14, 12, 0.28);
  --bg-glass: rgba(245, 241, 235, 0.45);

  --text-main: #1A1A1A;
  --text-muted: rgba(26, 26, 26, 0.6);
  --text-faint: rgba(26, 26, 26, 0.4);
  --text-inverse: #F5F1EB;

  --border-color: rgba(26, 26, 26, 0.12);
  --border-strong: rgba(26, 26, 26, 0.28);
  --nav-bg: rgba(245, 241, 235, 0.6);

  --invert-filter: invert(1);

  --focus-ring-color: #1A1A1A;
  --focus-ring: 0 0 0 var(--focus-ring-offset) var(--bg-main),
    0 0 0 calc(var(--focus-ring-offset) + var(--focus-ring-width)) var(--focus-ring-color);
}
