/* ============================================================
   Imperial Meeting Point — design-tokens.css
   Club privado de socios + sala de eventos (18+) · Barcelona
   Visual style: LUXURY · dark-first · sensual · discreto
   The single source of truth. No other file hardcodes values.
   Fonts are SELF-HOSTED woff2 (RGPD/AEPD — never load from Google).
   ============================================================ */

/* ---------- SELF-HOSTED @font-face (latin subset covers es-ES) ----------
   Variable woff2: one file per family/style, declared with a weight range.
   Download note is in Section 21 of the delivery (FONTS NOTE).            */
@font-face {
  font-family: 'Bodoni Moda';
  src: url('./fonts/bodoni.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('./fonts/bodoni-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('./fonts/manrope.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {

  /* ---------- TYPOGRAPHY: families ---------- */
  /* Display: Bodoni Moda — high-fashion editorial serif, dramatic contrast */
  /* Body:    Manrope — clean modern humanist sans (NOT Inter)              */
  --ff-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ---------- TYPE SCALE (capped at --fs-hero) ---------- */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: clamp(1.75rem, 3.5vw, 2.75rem);
  --fs-4xl: clamp(2.25rem, 4.5vw, 3.75rem);
  --fs-hero: clamp(2.75rem, 5.5vw, 5rem); /* absolute maximum */

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

  --lh-tight: 1.12;
  --lh-snug: 1.28;
  --lh-base: 1.6;
  --lh-relaxed: 1.75;

  --ls-tight: -0.02em;
  --ls-snug: -0.01em;
  --ls-normal: 0;
  --ls-wide: 0.08em;
  --ls-wider: 0.22em;   /* couture-wide caps labels */

  /* ---------- SPACING ---------- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;
  --section-gap: clamp(4.5rem, 9vw, 8.5rem);

  /* ---------- COMPONENT TOKENS — Luxury: tight radius, hairlines ---------- */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-full: 9999px;

  /* Shadows: near-zero; luxury relies on borders + a faint gold glow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .55);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .65);
  --shadow-brand: 0 0 0 1px rgba(201, 162, 75, .35), 0 18px 50px rgba(201, 162, 75, .10);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 160ms var(--ease-out);
  --t-base: 300ms var(--ease-out);
  --t-slow: 620ms var(--ease-out); /* slow pacing = luxury */

  /* Layout */
  --max-w: 1200px;
  --max-w-text: 640px;
  --max-w-sm: 480px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header-h: 76px;

  /* ---------- COLOR SYSTEM (dark-first · warm black + antique gold + oxblood) ----------
     Derived (Section 3): luxury nightlife, EVOLVE existing black+gold.
     Never pure #000/#fff — everything is faintly warm-tinted.            */

  /* Backgrounds — warm near-black, not cold tech-black */
  --c-bg: #0B0A0A;       /* base */
  --c-bg-2: #121010;     /* alternating section */
  --c-bg-3: #1A1613;     /* gold-warm surface tint */
  --c-surface: #17130F;  /* cards */
  --c-dark: #060505;     /* deepest — footer / CTA contrast */
  --c-dark-2: #0E0C0B;

  /* Brand — antique gold */
  --c-brand: #C9A24B;
  --c-brand-2: #DCBB6B;                     /* hover / brighter */
  --c-brand-3: #A9863A;                     /* deep gold */
  --c-brand-soft: rgba(201, 162, 75, .12);  /* washes, avatar circles */
  --c-brand-mid: rgba(201, 162, 75, .42);

  /* Accent — oxblood / wine (sensual register, tasteful) */
  --c-accent: #8E2740;
  --c-accent-2: #B7405D;

  /* Text on dark */
  --c-text: #F2EBDF;      /* warm off-white */
  --c-text-2: #BCB1A0;    /* muted warm */
  --c-text-3: #90867A;    /* dim (audited ≥4.5:1 on --c-bg) */
  --c-text-inv: #0B0A0A;  /* on gold buttons */
  --c-text-brand: #C9A24B;

  /* Borders — light hairlines on dark */
  --c-border: rgba(242, 235, 223, .10);
  --c-border-2: rgba(242, 235, 223, .20);

  /* Status */
  --c-success: #6FBF8B;
  --c-success-bg: rgba(111, 191, 139, .12);
  --c-error: #E0708A;
  --c-error-bg: rgba(224, 112, 138, .12);

  /* Structural gradients (CTA bands, hero atmosphere — NOT decorative blobs) */
  --grad-gold: linear-gradient(135deg, #DCBB6B 0%, #C9A24B 45%, #A9863A 100%);
  --grad-ember: radial-gradient(120% 100% at 50% 0%, rgba(142, 39, 64, .28) 0%, transparent 60%);
}
