/*
 * Rêves design tokens — the design system as CSS custom properties.
 *
 * Source of truth: design/DESIGN.md, extracted from
 * design/Osiris nightclub homepage design/Nightclub 2.0.dc.html.
 * Change a value here, not in component CSS.
 */

:root {
  /* ---- Surfaces (midnight navy) ---------------------------------- */
  --bg-base: #070b16;
  --bg-deep: #0a1020;
  --bg-raised: #111a33;
  --bg-glow: #16213f;
  --bg-header: rgba(7, 11, 22, 0.82);
  --bg-veil: rgba(7, 11, 22, 0.6);
  --bg-hero: radial-gradient(ellipse at 50% 40%, var(--bg-raised) 0%, var(--bg-deep) 45%, var(--bg-base) 80%);

  /* ---- Gold ------------------------------------------------------ */
  --gold: #d9b977;
  --gold-light: #f1dca8;
  --gold-hover: #e6c98f;
  --gold-deep: #b8934d;
  --gold-highlight: #f4e2b0;
  --gold-spark: #e8cf96;
  --gold-shimmer: linear-gradient(100deg, var(--gold-deep) 20%, var(--gold-highlight) 45%, var(--gold-deep) 70%);
  --on-gold: #070b16;
  --on-gold-muted: rgba(7, 11, 22, 0.55);

  /* ---- Text ------------------------------------------------------ */
  --text: #ece6dc;
  --text-muted: #b9bfcf;
  --text-faint: #8d93a6;
  --text-ghost: #5f6780;

  /* ---- Lines ----------------------------------------------------- */
  --hairline: rgba(217, 185, 119, 0.14);
  --hairline-strong: rgba(217, 185, 119, 0.2);
  --hairline-outline: rgba(217, 185, 119, 0.5);
  --rule: rgba(236, 230, 220, 0.14);

  /* ---- Status (staff app: saved/live, errors) -------------------- */
  --status-ok: #6ee7a0;
  --status-ok-ink: #062b17;
  --status-error: #ff8a7a;
  --status-error-line: rgba(255, 138, 122, 0.4);

  /* ---- Ambient light (hero orbs) --------------------------------- */
  --orb-gold: rgba(217, 185, 119, 0.16);
  --orb-blue: rgba(70, 96, 170, 0.22);
  --sweep: rgba(217, 185, 119, 0.07);
  --spark-glow: rgba(217, 185, 119, 0.45);

  /* ---- Hero photo veil (Rêves → Hero photo) ---------------------- */
  /* Darkest at the edges, lighter behind the logo; dark again under the
     header and at the bottom, where the next-night bar sits. */
  --hero-photo-veil:
    radial-gradient(ellipse at 50% 45%, rgba(7, 11, 22, 0.5) 0%, rgba(7, 11, 22, 0.72) 55%, rgba(7, 11, 22, 0.9) 100%),
    linear-gradient(to bottom, rgba(7, 11, 22, 0.55) 0%, transparent 22%, transparent 70%, rgba(7, 11, 22, 0.95) 100%);

  /* ---- Brand ----------------------------------------------------- */
  /* Width / height of assets/img/brand/reves-logo.webp (reves-mark.webp
     shares it). Update with the files. */
  --logo-ratio: 1200 / 497;

  /* ---- Type ------------------------------------------------------ */
  --font-ui: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  --fs-hero: clamp(64px, 15vw, 230px);
  --fs-page-title: clamp(36px, 6.3vw, 92px);
  --fs-section: clamp(28px, 4.2vw, 59px);
  --fs-cta-title: clamp(31px, 4.9vw, 76px);
  --fs-card-title: 23px;
  --fs-body: 15px;
  --fs-lead: 17px;
  --fs-small: 13px;
  --fs-label: 11px;
  --fs-micro: 10px;

  --lh-display: 1.15;
  --lh-body: 1.7;

  --track-display: 0.1em;
  --track-wordmark: 0.2em;
  --track-hero: 0.22em;
  --track-nav: 0.22em;
  --track-button: 0.24em;
  --track-label: 0.3em;
  --track-eyebrow: 0.5em;

  /* ---- Layout ---------------------------------------------------- */
  /* Boxed layout: backgrounds run full width, content sits in a centred
     --content-max column. Every section pads its sides with --gutter,
     which grows on wide screens to centre the column (100vw keeps the
     two sides equal even with a classic scrollbar). */
  --content-max: 1280px;
  --gutter-min: clamp(20px, 4vw, 56px);
  --gutter: max(var(--gutter-min), calc((100vw - var(--content-max)) / 2));
  --section-y: clamp(60px, 9vw, 130px);
  --radius: 0;

  /* ---- Motion ---------------------------------------------------- */
  --ease-rise: ease;
  --dur-rise: 1.6s;
}

/* Phones: the tracked caps labels go up to 12px, the smallest size that
   stays legible on a small screen (owner, 2026-10-14). Desktop keeps the
   mock's 10–11px. */
@media (max-width: 599px) {
  :root {
    --fs-label: 12px;
    --fs-micro: 12px;
  }
}
