/* ── Design Tokens — RightVibe Hospitality ────────────────────────────────── */
/* Bold & Modern: Near-black surfaces, vivid teal accent, clean sans-serif     */

:root, [data-theme='light'] {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --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;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Clash Display', 'Helvetica Neue', sans-serif;
  --font-body:    'Satoshi', 'Helvetica Neue', sans-serif;

  /* Light Mode Colors — Amber-rich warm palette */
  --color-bg:              #FBF5E8;
  --color-surface:         #FEF9EE;
  --color-surface-2:       #F5EBCF;
  --color-surface-offset:  #EEE0BE;
  --color-border:          #D9C99A;
  --color-divider:         #E4D6AC;

  --color-text:            #1C0F00;
  --color-text-muted:      #5E4520;
  --color-text-faint:      #A88A58;
  --color-text-inverse:    #FFFFFF;

  --color-primary:         #2E4A7A;
  --color-primary-hover:   #223A62;
  --color-primary-active:  #172A4A;
  --color-primary-light:   #D0DAF0;
  --color-primary-vivid:   #4268A8;

  --color-accent:          #1C0A00;
  --color-accent-muted:    #2E1200;

  /* Radius */
  --radius-sm:   0.25rem;
  --radius-md:   0.5rem;
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px oklch(0.14 0.06 50 / 0.12);
  --shadow-md: 0 4px 16px oklch(0.14 0.06 50 / 0.16);
  --shadow-lg: 0 12px 40px oklch(0.14 0.06 50 / 0.22);

  /* Transitions */
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --content-narrow:  640px;
  --content-default: 980px;
  --content-wide:    1240px;
  --nav-height:      72px;
}

[data-theme='dark'] {
  --color-bg:              #110A00;
  --color-surface:         #1A1000;
  --color-surface-2:       #221600;
  --color-surface-offset:  #2A1C04;
  --color-border:          #3D2A08;
  --color-divider:         #302000;

  --color-text:            #F5EDD8;
  --color-text-muted:      #9C7E48;
  --color-text-faint:      #5E4820;
  --color-text-inverse:    #110A00;

  --color-primary:         #6E9FD8;
  --color-primary-hover:   #88B4E8;
  --color-primary-active:  #A8CBF0;
  --color-primary-light:   #0A1A30;
  --color-primary-vivid:   #88B4E8;

  --color-accent:          #F5EDD8;
  --color-accent-muted:    #D4BF90;

  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.40);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.50);
  --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.60);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #110A00;
    --color-surface:         #1A1000;
    --color-surface-2:       #221600;
    --color-surface-offset:  #2A1C04;
    --color-border:          #3D2A08;
    --color-divider:         #302000;
    --color-text:            #F5EDD8;
    --color-text-muted:      #9C7E48;
    --color-text-faint:      #5E4820;
    --color-text-inverse:    #110A00;
    --color-primary:         #6E9FD8;
    --color-primary-hover:   #88B4E8;
    --color-primary-active:  #A8CBF0;
    --color-primary-light:   #0A1A30;
    --color-primary-vivid:   #88B4E8;
    --color-accent:          #F5EDD8;
    --color-accent-muted:    #D4BF90;
    --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.40);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.50);
    --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.60);
  }
}
