/* ==========================================================================
   Artify Creation — design tokens (single source of truth for the brand)
   Colour values were sampled from the supplied homepage artwork and the
   official logo files. They are starting values, not a formal brand spec.
   ========================================================================== */
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono-latin-wght.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Backgrounds */
  --bg-ink: #0d0315;          /* main purple-black */
  --bg-indigo: #060018;       /* deep indigo-black (footer, services night) */
  --bg-black: #080808;        /* neutral near-black */
  --bg-lavender: #f1eaff;     /* pale lavender contrast sections */
  --bg-lavender-deep: #d9cdf6;/* lavender mid-tone (loader, belts, playground) */
  --bg-paper: #fbf9ff;        /* near-white lavender (work, panels) */

  /* Surfaces */
  --surface-dark: #160a26;
  --surface-dark-2: #1f0f38;
  --surface-light: #ffffff;
  --surface-lavender: #e7dcfb;

  /* Brand accents */
  --purple-deep: #400194;
  --violet: #5927d9;
  --violet-hi: #7146df;
  --violet-soft: #a58bf0;
  --blue: #78a9ff;            /* supporting blue, drawn from the blue end of the supplied hero artwork */
  --periwinkle: #7a8cff;      /* app-icon gradient end */
  --accent-word: #a894ff;     /* rotating hero headline words */

  /* Text */
  --text-on-dark: #f4efff;
  --text-on-dark-muted: rgba(244, 239, 255, 0.58);
  --text-on-dark-faint: rgba(244, 239, 255, 0.3);
  --text-on-light: #14071f;
  --text-on-light-muted: rgba(20, 7, 31, 0.6);
  --text-on-light-faint: rgba(20, 7, 31, 0.32);

  /* Borders */
  --border-on-dark: rgba(244, 239, 255, 0.16);
  --border-on-dark-strong: rgba(244, 239, 255, 0.4);
  --border-on-light: rgba(20, 7, 31, 0.14);
  --border-on-light-strong: rgba(20, 7, 31, 0.45);

  /* Gradients */
  --grad-brand: linear-gradient(180deg, #2b0fa8 0%, #5b2ef0 55%, #7a8cff 100%);
  --grad-violet: linear-gradient(135deg, var(--purple-deep) 0%, var(--violet) 55%, var(--violet-hi) 100%);
  --grad-light-down: linear-gradient(0deg, #fbf9ff 0%, var(--bg-lavender-deep) 100%);
  --grad-light-up: linear-gradient(0deg, var(--bg-lavender-deep) 0%, #fbf9ff 100%);
  --grad-night: radial-gradient(120% 80% at 70% 20%, #1c0a3d 0%, var(--bg-indigo) 55%, #030010 100%);

  /* Focus */
  --focus-ring: 2px solid var(--blue);
  --focus-offset: 3px;

  /* Type */
  --font-sans: "Inter Tight", "Neue Haas Grotesk Display Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-display: clamp(2.75rem, 5.7vw, 7.5rem);
  --fs-statement: clamp(1.9rem, 4.45vw, 5.6rem);
  --fs-h2: clamp(2.5rem, 5vw, 6rem);
  --fs-mega: clamp(3.4rem, 9.6vw, 13rem);
  --fs-lead: clamp(1.15rem, 1.55vw, 1.75rem);
  --fs-body: clamp(1rem, 1.03vw, 1.125rem);
  --fs-mono: clamp(0.75rem, 0.83vw, 0.875rem);
  --tracking-tight: -0.045em;
  --tracking-mono: 0.08em;

  /* Layout */
  --gutter: clamp(1rem, 2.5vw, 3.5rem);
  --radius-s: 4px;
  --radius-m: 8px;
  --header-h: clamp(80px, 11vh, 120px);

  /* Motion (CSS side — JS timings live in assets/js/config/motion.js) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --dur-fast: 0.25s;
  --dur: 0.5s;
  --dur-slow: 0.9s;

  /* Layers */
  --z-header: 60;
  --z-menu: 50;
  --z-contact: 100;
  --z-loader: 200;
}
