/* Design tokens — Digital Concierge Hotel
 * Customize default palette, typography, spacing, and elevation here.
 * Theme colors & font family are overridden at runtime from SiteConfiguration.
 */
:root {
  /* Core Palette (Warm Boutique Hospitality) */
  --color-primary: #1b3a38;
  --color-primary-contrast: #ffffff;
  --color-accent: #b08448;
  --color-surface: #faf7f2;
  --color-surface-elevated: #ffffff;
  --color-text: #1d1c1a;
  --color-text-muted: #5c5852;
  --color-border: #e6dfd3;
  --color-success: #1e6b47;
  --color-danger: #a63d2f;

  /* Derived Theme Tokens (adapt automatically when SiteConfiguration changes) */
  --color-primary-deep: color-mix(in srgb, var(--color-primary) 72%, #091211);
  --color-primary-soft: color-mix(in srgb, var(--color-primary) 9%, var(--color-surface-elevated));
  --color-accent-soft: color-mix(in srgb, var(--color-accent) 14%, var(--color-surface-elevated));
  --color-surface-tint: color-mix(in srgb, var(--color-surface) 70%, var(--color-border));
  --color-viewer-bg: color-mix(in srgb, var(--color-surface) 82%, #cfc6b8);
  --color-viewer-warm: #dfd4c0;
  --color-wa-brand: #075e54;
  --color-wa-brand-hover: #054c44;
  --color-wa-green: #25d366;

  /* Typography (fluid modular scale 1.25, body >= 16px, max 2 self-hosted WOFF2 fonts) */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: clamp(12px, 0.15vw + 11.4px, 13px);
  --text-sm: clamp(13.5px, 0.2vw + 12.8px, 15px);
  --text-base: clamp(16px, 0.25vw + 15px, 18px);
  --text-lg: clamp(18px, 0.5vw + 16px, 21px);
  --text-xl: clamp(20px, 1vw + 16px, 25px);
  --text-2xl: clamp(25px, 1.8vw + 18px, 33px);
  --text-3xl: clamp(28px, 2.8vw + 17px, 40px);
  --text-4xl: clamp(34px, 3.6vw + 20px, 49px);
  --leading-body: 1.6;
  --leading-heading: 1.2;

  /* Spacing (4px base scale) */
  --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 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Elevation (2 subtle levels) */
  --shadow-sm: 0 1px 3px rgba(29, 28, 26, 0.05), 0 1px 2px rgba(29, 28, 26, 0.04);
  --shadow-md: 0 8px 24px rgba(29, 28, 26, 0.08), 0 2px 6px rgba(29, 28, 26, 0.04);

  /* Motion */
  --transition-fast: 150ms ease-out;
  --transition-base: 200ms ease-out;
}

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

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-400.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/static/fonts/playfair-700.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
