/* ==========================================================
   KEYLINE — tokens.css
   Custom properties = future Webflow Variables (same names).
   Direction B · Gallery Mono (white / black, bold grotesk)
   ========================================================== */

:root {
  /* Colour · base */
  --color-white: #FFFFFF;
  --color-grey: #F2F2F0;
  --color-grey-mid: #E4E4E0;
  --color-grey-dark: #5A5A58;
  --color-black: #0A0A0A;
  --color-line: #DCDCD8;
  --color-green: #0F2D1F;
  --color-green-mid: #1B4A33;
  --color-green-light: #2C6A49;
  --color-green-tint: #E8EFEA;
  --color-signal: #FF4F1F;
  --color-signal-dark: #C2390F;

  /* Colour · roles */
  --color-bg: var(--color-white);
  --color-bg-alt: var(--color-green-tint);
  --color-bg-dark: var(--color-black);
  --color-text: var(--color-black);
  --color-text-soft: var(--color-grey-dark);
  --color-text-on-dark: var(--color-white);
  --color-accent: var(--color-black);
  --color-accent-hover: #2E2E2C;
  --color-border: var(--color-line);
  --color-focus: #1F5FBF;
  --color-error: #B3261E;
  --color-success: #1F7A3D;

  /* Typography */
  --font-display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-display: clamp(3rem, 1.4rem + 6vw, 7.5rem);
  --text-h1: clamp(2.5rem, 1.5rem + 3.8vw, 5.5rem);
  --text-h2: clamp(2rem, 1.3rem + 2.4vw, 3.75rem);
  --text-h3: clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem);
  --text-h4: 1.5rem;
  --text-h5: 1.25rem;
  --text-h6: 1.0625rem;
  --text-body: 1.0625rem;
  --text-small: 0.9375rem;
  --text-label: 0.75rem;

  --weight-display: 600;
  --line-tight: 0.95;
  --line-heading: 1.05;
  --line-body: 1.6;
  --tracking-display: -0.04em;
  --tracking-label: 0.1em;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-s: 0.75rem;
  --space-m: 1rem;
  --space-l: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;
  --space-5xl: 9rem;

  --padding-global: 2rem;
  --section-small: 3rem;
  --section-medium: 6rem;
  --section-large: 9rem;

  /* Layout */
  --container-small: 40rem;
  --container-medium: 64rem;
  --container-large: 96rem;

  /* Shape · small radius */
  --radius-s: 0.125rem;
  --radius-m: 0.25rem;
  --radius-l: 0.375rem;
  --radius-pill: 999px;
  --border-width: 1px;

  /* Motion (one easing family) */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-base: 400ms;
  --duration-slow: 800ms;

  /* Navbar */
  --navbar-height: 4.5rem;
}

@media screen and (max-width: 991px) {
  :root {
    --padding-global: 1.5rem;
    --section-small: 2.5rem;
    --section-medium: 4.5rem;
    --section-large: 6rem;
    --navbar-height: 4rem;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --padding-global: 1.25rem;
    --section-medium: 3.5rem;
    --section-large: 4.5rem;
  }
}

@media screen and (max-width: 479px) {
  :root {
    --padding-global: 1rem;
    --section-small: 2rem;
    --section-medium: 3rem;
    --section-large: 3.5rem;
  }
}
