/* ==========================================================================
   Design Tokens — Aurelia
   Warm espresso-dark palette with antique gold accent. All component CSS
   files consume these custom properties; nothing below is section-specific.
   ========================================================================== */

:root {
  /* Color — surfaces */
  --bg: #14110e;
  --bg-alt: #1b1712;
  --surface: #221c16;
  --surface-alt: #2a2219;
  --surface-hover: #2f271d;

  /* Color — accents */
  --gold: #c9a24b;
  --gold-light: #e4c878;
  --gold-dim: rgba(201, 162, 75, 0.5);
  --copper: #a85c32;

  /* Color — text */
  --text: #ede7dc;
  --text-muted: #a79c8c;
  --text-dim: #7c7266;
  --on-gold: #1a1510;

  /* Color — structure */
  --border: rgba(201, 162, 75, 0.16);
  --border-strong: rgba(201, 162, 75, 0.34);
  --overlay: rgba(10, 8, 6, 0.72);
  --overlay-soft: rgba(10, 8, 6, 0.42);
  --overlay-strong: rgba(8, 6, 5, 0.85);

  /* Color — feedback */
  --success: #7ea577;
  --success-bg: rgba(126, 165, 119, 0.12);
  --error: #cb6153;
  --error-bg: rgba(203, 97, 83, 0.12);

  /* Typography */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-xl: clamp(1.75rem, 1.45rem + 1.3vw, 2.375rem);
  --fs-2xl: clamp(2.15rem, 1.65rem + 2.2vw, 3.25rem);
  --fs-3xl: clamp(2.6rem, 1.9rem + 3.2vw, 4.5rem);

  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-body: 1.7;

  --tracking-tight: -0.01em;
  --tracking-wide: 0.06em;
  --tracking-wider: 0.18em;

  /* Spacing (4px base scale) */
  --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: clamp(4.5rem, 3.6rem + 4vw, 8rem);
  --section-pad-sm: clamp(3rem, 2.5rem + 2vw, 5rem);
  --container-w: 1240px;
  --container-w-narrow: 800px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);

  /* Effects */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 30px rgba(201, 162, 75, 0.25);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-base: 350ms;
  --dur-slow: 650ms;

  --z-nav: 250;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-preloader: 500;

  /* --z-nav sits above --z-overlay and the mobile-nav drawer (--z-overlay + 1)
     on purpose: the header — and its toggle button — must stay visible and
     clickable while the drawer is open, since it's the only permanent close
     control. It stays below --z-modal so the gallery lightbox still covers
     the nav when active. */
}
