/* ==========================================================================
   ACE AXIS — Design tokens
   Every color, font, size and timing value lives here. Change the brand
   look from this one file.
   ========================================================================== */

@font-face {
  font-family: "Inter Display";
  src: url("../fonts/inter-display-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("../fonts/inter-display-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Text";
  src: url("../fonts/crimson-text-italic-400.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* --- Color: surfaces (deep navy / near-black) --- */
  --navy-950: #04070d;
  --navy-900: #070b14;   /* page background */
  --navy-850: #0a101c;
  --navy-800: #0e1626;   /* raised panels */
  --navy-700: #16203a;

  /* --- Color: text (silver / white) --- */
  --white:      #f5f7fb;  /* headlines */
  --silver-200: #d3d9e3;  /* strong body */
  --silver-300: #aab4c4;  /* body */
  --silver-400: #8a95a8;  /* muted / labels */
  --silver-600: #4b5568;

  /* --- Color: electric-blue accent (use sparingly) --- */
  --blue-600: #1f56e8;
  --blue-500: #2f6bff;
  --blue-400: #4f86ff;
  --blue-300: #86adff;

  /* --- Feedback --- */
  --danger: #ff8f8f;

  /* --- Lines --- */
  --line:        rgba(190, 204, 228, 0.11);
  --line-strong: rgba(190, 204, 228, 0.22);

  /* --- Metallic silver (logo, large numerals only) --- */
  --metal: linear-gradient(176deg, #ffffff 0%, #e4e8ef 38%, #9ea8b9 58%, #d9dee7 78%, #f3f5f9 100%);

  /* --- Typography --- */
  --font-display: "Inter Display", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Crimson Text", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  /* Fluid type scale (mobile → desktop) */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --text-lg:   clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --text-2xl:  clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --text-hero: clamp(2.6rem, 1.5rem + 4.4vw, 5.5rem);

  --tracking-tight: -0.035em;
  --tracking-label: 0.14em;

  /* --- Spacing (8px rhythm) --- */
  --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-pad: clamp(5rem, 3rem + 7vw, 10rem);

  /* --- Layout --- */
  --container: 1320px;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --header-h: 76px;

  /* --- The axis: the logo's diagonal, reused as the site's motif --- */
  --axis-angle: -24deg;

  /* --- Radius --- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 900ms;
}
