/* ==========================================================================
   Prom 2027 - design tokens
   Palette, type scale and spacing sampled from the Save the Date artwork.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* --- Colour ------------------------------------------------------------ */
  --navy-950: #060a12;
  --navy-900: #0a111f;
  --navy-850: #0b1424;
  --navy-800: #0d1627;
  --navy-700: #121f36;
  --navy-600: #182741;

  --gold: #d4af37;
  --gold-light: #e5c158;
  --gold-deep: #a8872a;
  --gold-veil: rgba(212, 175, 55, 0.12);
  --gold-hairline: rgba(212, 175, 55, 0.34);
  --gold-hairline-soft: rgba(212, 175, 55, 0.18);

  --ivory: #f8f6f0;
  --ivory-muted: #d7d3c8;
  --ivory-dim: #b4b0a4;

  --danger: #f0a79b;
  --danger-line: #c4523f;
  --success: #9ed8b4;

  /* --- Typography -------------------------------------------------------- */
  --font-display: "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
  --font-script: "Alex Brush", "Great Vibes", "Segoe Script", cursive;
  --font-body: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --text-xl: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
  --text-2xl: clamp(1.75rem, 1.45rem + 1.3vw, 2.4rem);
  --text-3xl: clamp(2.25rem, 1.7rem + 2.4vw, 3.4rem);
  --text-hero: clamp(3.6rem, 11vw, 7.5rem);

  --tracking-wide: 0.08em;
  --tracking-wider: 0.16em;
  --tracking-widest: 0.28em;

  /* --- Space ------------------------------------------------------------- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6.5rem;

  /* --- Layout ------------------------------------------------------------ */
  --container: 72rem;
  --container-narrow: 46rem;
  --measure: 68ch;
  --header-height: 4.25rem;
  --frame-inset: clamp(0.6rem, 2.4vw, 1.1rem);

  /* --- Shape & depth ----------------------------------------------------- */
  --radius-sm: 2px;
  --radius: 4px;
  --radius-pill: 999px;
  --shadow-card: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
  --shadow-lift: 0 34px 60px -34px rgba(0, 0, 0, 0.85);

  /* --- Motion ------------------------------------------------------------ */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-1: 160ms;
  --dur-2: 280ms;
  --dur-3: 520ms;

  /* --- Layers ------------------------------------------------------------ */
  --z-header: 100;
  --z-menu: 90;
  --z-dialog: 200;
}

@media (min-width: 64rem) {
  :root {
    --header-height: 4.75rem;
  }
}
