/* Squirrel Studio Space — design tokens (bundled) */

/* ============================================================
   Squirrel Studio Space — Webfonts
   ------------------------------------------------------------
   FONT SUBSTITUTION NOTE:
   The real "squirrel" wordmark uses a bespoke heavy geometric
   grotesque (exact foundry unknown). The nearest free match is
   ARCHIVO (a high-contrast-width grotesque with a heavy/expanded
   display range) — used here for all display + UI type.
   SPACE MONO carries technical / spec data (m², dimensions),
   echoing the studio's architectural floor-plan language.
   → If you have the original brand font files, drop them in
     assets/fonts/ and replace the @import below with @font-face.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Archivo+Expanded:wght@600;700;800;900&family=Space+Mono:wght@400;700&display=swap');


/* ============================================================
   Squirrel Studio Space — Color tokens
   Primary: deep olive/military green sampled from the wordmark
   (#404828). Accent: chroma-key green (the green-screen signal).
   Neutrals are warm — concrete, studio walls, near-black cinema.
   ============================================================ */

:root {
  /* --- Moss / Olive (brand primary scale) --- */
  --moss-950: #20250E;
  --moss-900: #2B3217;
  --moss-800: #373F1E;
  --moss-700: #404828; /* ★ BRAND PRIMARY — wordmark green */
  --moss-600: #515A33;
  --moss-500: #687243;
  --moss-400: #88925C;
  --moss-300: #ABB382;
  --moss-200: #CDD3AF;
  --moss-100: #E7EAD5;
  --moss-50:  #F4F6EA;

  /* --- Chroma (green-screen accent) --- */
  --chroma-700: #00853A;
  --chroma-600: #00A347;
  --chroma-500: #00B84D; /* ★ ACCENT — "recording / live / key" */
  --chroma-400: #2ECF6E;
  --chroma-300: #6EE29B;
  --chroma-100: #D2F6E0;

  /* --- Warm neutrals (concrete / studio) --- */
  --ink:          #16160F; /* warm near-black, cinema dark */
  --graphite-900: #1F1F16;
  --graphite-800: #2D2D22;
  --graphite-700: #44443A;
  --graphite-600: #5F5F53;
  --graphite-500: #82826F;
  --graphite-400: #A6A695;
  --graphite-300: #C8C8BA;
  --graphite-200: #E2E1D6;
  --graphite-100: #EFEEE5;
  --graphite-50:  #F7F6EF;
  --paper:        #FBFAF4; /* warm off-white page background */
  --white:        #FFFFFF;

  /* --- Signal / tertiary --- */
  --amber-500:  #E08A2B; /* golden-hour warmth, used sparingly */
  --amber-100:  #FBEBD2;
  --danger-500: #C2412D; /* red warehouse / stop */
  --danger-100: #F6DAD4;

  /* ===========================================================
     SEMANTIC ALIASES — prefer these in components
     =========================================================== */

  /* Surfaces */
  --color-bg:             var(--paper);
  --color-surface:        var(--white);
  --color-surface-sunken: var(--graphite-50);
  --color-surface-muted:  var(--graphite-100);
  --color-surface-inverse: var(--ink);
  --color-surface-brand:  var(--moss-700);

  /* Text */
  --text-strong:   var(--graphite-900);
  --text-body:     var(--graphite-700);
  --text-muted:    var(--graphite-500);
  --text-inverse:  #FFFFFF;
  --text-on-brand: #FFFFFF;
  --text-on-accent: #06140B;
  --text-brand:    var(--moss-700);

  /* Brand actions */
  --brand:         var(--moss-700);
  --brand-hover:   var(--moss-800);
  --brand-active:  var(--moss-900);
  --brand-subtle:  var(--moss-100);
  --on-brand:      #FFFFFF;

  /* Accent */
  --accent:        var(--chroma-500);
  --accent-hover:  var(--chroma-600);
  --accent-subtle: var(--chroma-100);

  /* Lines */
  --border:        var(--graphite-200);
  --border-strong: var(--graphite-300);
  --border-inverse: rgba(255,255,255,0.16);

  /* Feedback */
  --success:       var(--chroma-600);
  --success-subtle: var(--chroma-100);
  --warning:       var(--amber-500);
  --warning-subtle: var(--amber-100);
  --danger:        var(--danger-500);
  --danger-subtle: var(--danger-100);

  /* Focus */
  --focus-ring:    var(--moss-500);
}


/* ============================================================
   Squirrel Studio Space — Typography tokens
   Display: ARCHIVO (heavy grotesque, poster energy — the wordmark voice)
   UI/Body: ARCHIVO (400–600)
   Technical: SPACE MONO — specs, dimensions, m², coordinates
   ============================================================ */

:root {
  /* Families */
  --font-display: 'Archivo Expanded', 'Archivo', system-ui, sans-serif;
  --font-sans:    'Archivo', system-ui, -apple-system, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, 'SF Mono', monospace;

  /* Weights */
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extra:    800;
  --weight-black:    900;

  /* Type scale (1rem = 16px) */
  --text-xs:   0.75rem;   /* 12 */
  --text-sm:   0.8125rem; /* 13 */
  --text-base: 0.9375rem; /* 15 */
  --text-md:   1rem;      /* 16 */
  --text-lg:   1.125rem;  /* 18 */
  --text-xl:   1.375rem;  /* 22 */
  --text-2xl:  1.75rem;   /* 28 */
  --text-3xl:  2.25rem;   /* 36 */
  --text-4xl:  3rem;      /* 48 */
  --text-5xl:  4rem;      /* 64 */
  --text-6xl:  5.5rem;    /* 88 */
  --text-7xl:  7.5rem;    /* 120 */

  /* Line heights */
  --leading-none:    1;
  --leading-tight:   1.04;
  --leading-snug:    1.18;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* Letter spacing */
  --tracking-tight:  -0.02em;
  --tracking-snug:   -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-label:  0.12em;  /* uppercase eyebrows / labels */

  /* Semantic roles */
  --font-eyebrow: var(--weight-bold) var(--text-xs)/1 var(--font-mono);
}


/* ============================================================
   Squirrel Studio Space — Spacing, radii, shadows, motion
   Industrial / architectural feel: crisp corners, restrained
   shadows, quick confident motion.
   ============================================================ */

:root {
  /* Spacing (4px base grid) */
  --space-0:  0;
  --space-1:  0.25rem; /* 4  */
  --space-2:  0.5rem;  /* 8  */
  --space-3:  0.75rem; /* 12 */
  --space-4:  1rem;    /* 16 */
  --space-5:  1.25rem; /* 20 */
  --space-6:  1.5rem;  /* 24 */
  --space-8:  2rem;    /* 32 */
  --space-10: 2.5rem;  /* 40 */
  --space-12: 3rem;    /* 48 */
  --space-16: 4rem;    /* 64 */
  --space-20: 5rem;    /* 80 */
  --space-24: 6rem;    /* 96 */
  --space-32: 8rem;    /* 128 */

  /* Radii — crisp, industrial */
  --radius-none: 0;
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 999px;

  /* Borders */
  --border-width: 1px;
  --border-width-strong: 2px;

  /* Shadows — soft, warm-tinted */
  --shadow-xs: 0 1px 2px rgba(22, 22, 15, 0.06);
  --shadow-sm: 0 1px 3px rgba(22, 22, 15, 0.08), 0 1px 2px rgba(22, 22, 15, 0.04);
  --shadow-md: 0 4px 12px rgba(22, 22, 15, 0.10), 0 2px 4px rgba(22, 22, 15, 0.05);
  --shadow-lg: 0 12px 28px rgba(22, 22, 15, 0.14), 0 4px 8px rgba(22, 22, 15, 0.06);
  --shadow-xl: 0 24px 56px rgba(22, 22, 15, 0.20);

  /* Focus ring */
  --ring: 0 0 0 3px rgba(104, 114, 67, 0.40);

  /* Motion */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --dur-fast:   120ms; /* @kind other */
  --dur-base:   200ms; /* @kind other */
  --dur-slow:   360ms; /* @kind other */

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1440px;
}
