/* ==========================================================================
   ZOYA MUBARAK: DESIGN TOKENS
   Every colour, size, space and motion value used across the site lives here.
   Change a token once; the whole site follows.
   ========================================================================== */

/* ---------- Self-hosted fonts (no Google Fonts request, faster in PK) ---- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------- Colour: core palette (black + amber gold) ---------- */
  --ink:          #0A0A0A;   /* stage black */
  --ink-2:        #121212;
  --ink-3:        #1B1B1B;
  --ink-4:        #262626;
  --ivory:        #FFFFFF;   /* light sections / text on black */
  --paper:        #F5F5F2;   /* alternate light section */
  --sand:         #E7E6E1;
  --champagne:    #F5A30B;   /* amber gold: buttons, highlights on black */
  --champagne-lt: #FFBE3D;
  --gold-text:    #A56300;   /* gold that passes contrast on white */
  --burgundy:     #0A0A0A;   /* legacy token, now black */
  --burgundy-lt:  #1B1B1B;
  --rose:         #F5A30B;

  /* ---------- Colour: semantic ---------- */
  --text:         #111111;
  --text-muted:   #5A5A5A;
  --text-inv:     #FFFFFF;
  --text-inv-muted: #B4B4B4;
  --line:         rgba(17, 17, 17, 0.12);
  --line-strong:  rgba(17, 17, 17, 0.26);
  --line-inv:     rgba(255, 255, 255, 0.12);
  --line-inv-strong: rgba(245, 163, 11, 0.55);
  --focus:        #F5A30B;
  --success:      #3F6B4E;
  --danger:       #8E2A2A;

  /* ---------- Typography ---------- */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-sans:  "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);
  --fs-md:   clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-lg:   clamp(1.2rem, 1.08rem + 0.55vw, 1.5rem);
  --fs-h4:   clamp(1.25rem, 1.12rem + 0.6vw, 1.6rem);
  --fs-h3:   clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem);
  --fs-h2:   clamp(2.1rem, 1.45rem + 2.8vw, 4rem);
  --fs-h1:   clamp(2.5rem, 1.6rem + 3.9vw, 5.25rem);
  --fs-display: clamp(2.75rem, 1.5rem + 5.4vw, 6.75rem);

  --lh-tight: 1.04;
  --lh-snug:  1.18;
  --lh-body:  1.65;

  --tracking-eyebrow: 0.2em;
  --tracking-caps: 0.12em;

  /* ---------- Spacing (4px base) ---------- */
  --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-y: clamp(4.5rem, 3rem + 7vw, 10rem);
  --gutter: clamp(1.25rem, 0.8rem + 2.4vw, 3rem);

  /* ---------- Layout ---------- */
  --container: 1320px;
  --container-wide: 1480px;
  --container-narrow: 860px;
  --header-h: 76px;

  /* ---------- Shape ---------- */
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* ---------- Elevation ---------- */
  --shadow-sm: 0 1px 2px rgba(15, 13, 12, 0.06), 0 2px 8px rgba(15, 13, 12, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(15, 13, 12, 0.22);
  --shadow-lg: 0 30px 80px -30px rgba(15, 13, 12, 0.45);

  /* ---------- Motion ---------- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 900ms;

  /* ---------- Layers ---------- */
  --z-header: 50;
  --z-float: 60;
  --z-menu: 70;
  --z-modal: 80;
}

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