/* Curtain design tokens — generated from tokens.json. Themes: dark, light (default: dark).
   Switch theme with <html data-theme="light">. */
:root, [data-theme="dark"] {
  --house: #150a0d;
  --house-pattern: #22121a;
  --stage: #221217;
  --stage-sunk: #100709;
  --ink: #f5e9d3;
  --ink-soft: #c4ae95;
  --edge: #8d6f5f;
  --velvet: #a8192e;
  --velvet-deep: #6e0f1c;
  --on-velvet: #fff3df;
  --gilt: #d6ae5c;
  --gilt-ink: #e3c27a;
  --focus: #f2cf7f;
  --band-a: #f0899f;
  --band-b: #3e9e93;
  --band-c: #7377cc;
  --ok: #86cf96;
  --alert: #ff8f80;
  --shadow-lip: 0 4px 0 #4a0812;
  --shadow-lip-press: 0 1px 0 #4a0812;
  --shadow-card: 0 1px 0 rgba(255,236,200,0.06) inset, 0 16px 32px -20px rgba(0,0,0,0.9);
  --shadow-lift: 0 26px 44px -22px rgba(0,0,0,0.95);
  --shadow-house: 0 40px 80px -24px rgba(0,0,0,0.95);
  --shadow-inset: inset 0 2px 3px rgba(0,0,0,0.6);
  color-scheme: dark;
}
[data-theme="light"] {
  --house: #f3e7d0;
  --house-pattern: #e7d6b6;
  --stage: #fffaf1;
  --stage-sunk: #efe2c9;
  --ink: #22110e;
  --ink-soft: #63493a;
  --edge: #93765e;
  --velvet: #9a1428;
  --velvet-deep: #5e0a17;
  --on-velvet: #fff3df;
  --gilt: #9c7524;
  --gilt-ink: #7a560f;
  --focus: #5e0a17;
  --band-a: #8e1f3b;
  --band-b: #2b8277;
  --band-c: #7a7fd6;
  --ok: #2d6a39;
  --alert: #a3271c;
  --shadow-lip: 0 4px 0 #5e0a17;
  --shadow-lip-press: 0 1px 0 #5e0a17;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.7) inset, 0 14px 28px -20px rgba(74,36,14,0.45);
  --shadow-lift: 0 22px 40px -22px rgba(74,36,14,0.5);
  --shadow-house: 0 36px 70px -26px rgba(60,24,10,0.55);
  --shadow-inset: inset 0 2px 3px rgba(74,36,14,0.18);
  color-scheme: light;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 3px;
  --radius-md: 8px;
  --radius-seat: 7px;
  --radius-arch: 240px;
  --radius-full: 9999px;
  --dur-press: 110ms;
  --dur-hover: 200ms;
  --dur-fold: 280ms;
  --dur-slide: 380ms;
  --dur-turn: 700ms;
  --dur-curtain: 1500ms;
  --ease-house: cubic-bezier(0.22, 0.8, 0.24, 1);
  --ease-curtain: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-fold: cubic-bezier(0.3, 1.5, 0.5, 1);
  --ease-press: cubic-bezier(0.4, 0, 0.6, 1);
  --ease-exit: cubic-bezier(0.5, 0, 0.75, 0);
  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Commissioner", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-marquee-family: var(--font-display);
  --type-marquee-size: 80px;
  --type-marquee-line: 80px;
  --type-marquee-weight: 500;
  --type-marquee-tracking: -0.01em;
  --type-title-family: var(--font-display);
  --type-title-size: 48px;
  --type-title-line: 54px;
  --type-title-weight: 500;
  --type-title-tracking: -0.005em;
  --type-heading-family: var(--font-display);
  --type-heading-size: 28px;
  --type-heading-line: 34px;
  --type-heading-weight: 600;
  --type-aside-family: var(--font-display);
  --type-aside-size: 20px;
  --type-aside-line: 28px;
  --type-aside-weight: 400;
  --type-numeral-family: var(--font-display);
  --type-numeral-size: 36px;
  --type-numeral-line: 40px;
  --type-numeral-weight: 500;
  --type-body-family: var(--font-body);
  --type-body-size: 16px;
  --type-body-line: 26px;
  --type-body-weight: 400;
  --type-small-family: var(--font-body);
  --type-small-size: 14px;
  --type-small-line: 20px;
  --type-small-weight: 400;
  --type-label-family: var(--font-body);
  --type-label-size: 12px;
  --type-label-line: 16px;
  --type-label-weight: 600;
  --type-label-tracking: 0.16em;
}
/* Type styles as utility classes (optional) */
.type-marquee { font-family: var(--type-marquee-family); font-size: var(--type-marquee-size); line-height: var(--type-marquee-line); font-weight: var(--type-marquee-weight); letter-spacing: var(--type-marquee-tracking); }
.type-title { font-family: var(--type-title-family); font-size: var(--type-title-size); line-height: var(--type-title-line); font-weight: var(--type-title-weight); letter-spacing: var(--type-title-tracking); }
.type-heading { font-family: var(--type-heading-family); font-size: var(--type-heading-size); line-height: var(--type-heading-line); font-weight: var(--type-heading-weight); }
.type-aside { font-family: var(--type-aside-family); font-size: var(--type-aside-size); line-height: var(--type-aside-line); font-weight: var(--type-aside-weight); }
.type-numeral { font-family: var(--type-numeral-family); font-size: var(--type-numeral-size); line-height: var(--type-numeral-line); font-weight: var(--type-numeral-weight); }
.type-body { font-family: var(--type-body-family); font-size: var(--type-body-size); line-height: var(--type-body-line); font-weight: var(--type-body-weight); }
.type-small { font-family: var(--type-small-family); font-size: var(--type-small-size); line-height: var(--type-small-line); font-weight: var(--type-small-weight); }
.type-label { font-family: var(--type-label-family); font-size: var(--type-label-size); line-height: var(--type-label-line); font-weight: var(--type-label-weight); letter-spacing: var(--type-label-tracking); }
