/* Palmora design tokens, second version ("cinematic dusk"). The only place a colour, size or font is given a value.
   Dark grounds and gold come from the owner's own graphics; the light grounds, palm and pool from the photos. */
:root {
  /* Dark grounds: the first screen and feature bands */
  --color-night: #0e1712;
  --color-forest: #1a3628;

  /* Light grounds: reading sections, cards, forms */
  --color-surface: #fffdf8;
  --color-sand: #f6efe4;
  --color-stone-soft: #ebe2d5;
  --color-line: #dccfbd;

  /* Text on light */
  --color-ink: #1d2219;
  --color-stone: #5f5648;

  /* Text and accents on dark */
  --color-cream: #f8f1e5;
  --color-mist: #b9c6bb;
  --color-gold: #d3ad68;
  --color-leaf: #d5e6bd;

  /* Palm green: the booking action on light grounds */
  --color-palm: #2a4f24;
  --color-palm-soft: #e2ecd6;

  /* Pool teal: selection and links */
  --color-pool: #1c5c66;
  --color-pool-soft: #d9ebed;

  /* Status */
  --color-amber: #764a0a;
  --color-amber-soft: #f6e5c3;
  --color-danger: #8f2a1d;
  --color-danger-soft: #f6e0db;

  /* Between a photo or the video and any text on it */
  --color-scrim: #0b120e;
  --opacity-scrim: 0.7;

  /* Glass panels: a solid token colour at this opacity on its own layer, with this blur behind it */
  --opacity-glass: 0.78;
  --blur-glass: 16px;

  /* Type. Arabic glyphs fall through to the Arabic face in each stack. */
  --font-display: "Noto Serif Display", "Noto Naskh Arabic", Georgia, serif;
  --font-body: "Noto Sans", "Noto Sans Arabic", system-ui, sans-serif;
  --font-arabic: "Noto Sans Arabic", "Noto Sans", system-ui, sans-serif;
  --font-arabic-display: "Noto Naskh Arabic", "Noto Serif Display", serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.625rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3rem;
  --text-display: clamp(3.75rem, 17vw, 9.5rem);
  --leading-tight: 1.1;
  --leading-heading: 1.3;
  --leading-body: 1.6;

  /* Space, on a 4 px step */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-18: 4.5rem;
  --space-24: 6rem;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgb(14 23 18 / 0.06), 0 10px 30px rgb(14 23 18 / 0.08);
  --shadow-raised: 0 2px 6px rgb(14 23 18 / 0.1), 0 24px 60px rgb(14 23 18 / 0.18);
  --shadow-bar: 0 -8px 30px rgb(14 23 18 / 0.16);

  /* Layout */
  --size-tap: 44px;
  --size-measure: 36rem;
  --size-page: 76rem;

  /* Motion */
  --motion-fast: 150ms;
  --motion-base: 240ms;
  --motion-slow: 700ms;
  --motion-video: 1400ms;
  --motion-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --reveal-distance: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-fast: 0ms;
    --motion-base: 0ms;
    --motion-slow: 0ms;
    --motion-video: 0ms;
    --reveal-distance: 0rem;
  }
}
