/* ==========================================================================
   Azotea Rooftop — Design Tokens
   Warm nocturnal palette: charcoal + botanical green + antique gold.
   Inspired by the rooftop's own vertical garden, brick and warm string lights.
   ========================================================================== */

:root {
  /* ---- Color: surfaces ---- */
  --color-bg: #14130f;
  --color-bg-raised: #1a1811;
  --color-surface: #201d15;
  --color-surface-2: #2a251a;
  --color-border: rgba(233, 221, 189, 0.12);
  --color-border-strong: rgba(233, 221, 189, 0.22);

  /* ---- Color: text ---- */
  --color-fg: #f4efe2;
  --color-fg-soft: #ddd4bf;
  --color-fg-muted: #a89d87;
  --color-fg-faint: #6f6858;

  /* ---- Color: brand ---- */
  --color-gold: #c9a227;
  --color-gold-bright: #e2bd52;
  --color-gold-soft: #ecd9a0;
  --color-green: #57683f;
  --color-green-bright: #7c9159;
  --color-green-deep: #333d24;
  --color-terracotta: #b06537;

  /* ---- Color: functional ---- */
  --color-whatsapp: #3fae5a;
  --color-success: #7c9159;
  --color-error: #c1583f;

  /* ---- On-dark surfaces used for light popovers (date picker etc.) ---- */
  --color-paper: #f4efe2;
  --color-paper-fg: #211e15;

  /* ---- Typography ---- */
  --font-display: "Cormorant Garamond", "Iowan Old Style", serif;
  --font-body: "Karla", -apple-system, "Segoe UI", sans-serif;

  --fs-2xs: 0.6875rem;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  --fs-3xl: clamp(2.6rem, 1.9rem + 2.8vw, 4rem);
  --fs-4xl: clamp(3.4rem, 2.2rem + 4.8vw, 6rem);

  --lh-tight: 1.08;
  --lh-snug: 1.28;
  --lh-normal: 1.55;
  --lh-loose: 1.75;

  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.06em;
  --tracking-wider: 0.14em;
  --tracking-widest: 0.28em;

  /* ---- Spacing scale (4px rhythm) ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --section-pad-y: clamp(4rem, 3rem + 4vw, 7rem);
  --container-w: 1280px;
  --container-w-narrow: 860px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* ---- Radius ---- */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* ---- Shadow ---- */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-gold-glow: 0 0 0 1px rgba(201, 162, 39, 0.4), 0 8px 28px rgba(201, 162, 39, 0.12);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 420ms;

  /* ---- Z-index scale ---- */
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;

  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
  }
}
