/* DESIGN TOKENS for codybantle.com
   This is the only file to edit when changing colors, fonts, spacing, corners, shadows, or motion.
   Nothing else in the site uses hard-coded values. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors: forest green, warm cream, one brass accent */
  --forest-950: #0b1f18;
  --forest-900: #10291f;
  --forest-800: #163a2b;
  --forest-700: #1f4d3a;
  --forest-600: #2c6650;
  --forest-200: #c5d6cc;
  --forest-100: #e4ece6;
  --cream-50: #fdfbf6;
  --cream-100: #faf6ee;
  --cream-200: #f1eadc;
  --cream-300: #e3d9c5;
  --brass-300: #e3bd7a;
  --brass-400: #d2a35a;
  --brass-500: #c08f42;
  --brass-700: #845a16;
  --ink-900: #1d221f;
  --ink-600: #4d5751;
  --white: #ffffff;
  --note-bg: #fff1a8;
  --note-ink: #4a3b00;

  /* Roles (use these in components) */
  --bg: var(--cream-100);
  --bg-alt: var(--cream-200);
  --surface: var(--cream-50);
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --line: var(--cream-300);
  --brand: var(--forest-700);
  --brand-strong: var(--forest-800);
  --link: var(--forest-700);
  --accent: var(--brass-400);
  --accent-hover: var(--brass-300);
  --accent-ink: var(--forest-950);
  --accent-text: var(--brass-700);
  --dark-bg: var(--forest-900);
  --dark-bg-2: var(--forest-800);
  --dark-text: #eef3ee;
  --dark-muted: #b9c9bf;
  --dark-line: rgba(255, 255, 255, 0.14);
  --dark-tint-1: rgba(255, 255, 255, 0.04);
  --dark-tint-2: rgba(255, 255, 255, 0.05);
  --dark-tint-3: rgba(255, 255, 255, 0.09);
  --dark-outline: rgba(255, 255, 255, 0.55);
  --focus: var(--brass-500);

  /* Fonts */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Fluid type scale */
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.3rem, 1.15rem + 0.7vw, 1.625rem);
  --text-2xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.375rem);
  --text-3xl: clamp(2.1rem, 1.5rem + 2.8vw, 3.75rem);
  --leading-tight: 1.12;
  --leading-snug: 1.3;
  --leading-body: 1.65;

  /* Spacing: 4 / 8 px scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(3rem, 2rem + 5vw, 6rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --max-w: 75rem;
  --measure: 44rem;

  /* Corners */
  --r-sm: 0.5rem;
  --r-md: 0.875rem;
  --r-lg: 1.25rem;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(16, 41, 31, 0.06), 0 2px 8px rgba(16, 41, 31, 0.05);
  --shadow-md: 0 2px 4px rgba(16, 41, 31, 0.06), 0 12px 28px rgba(16, 41, 31, 0.1);
  --shadow-lg: 0 6px 12px rgba(11, 31, 24, 0.12), 0 28px 60px rgba(11, 31, 24, 0.22);
  --shadow-bar: 0 -6px 20px rgba(11, 31, 24, 0.12);
  --glow: radial-gradient(closest-side, rgba(210, 163, 90, 0.38), rgba(210, 163, 90, 0));

  /* Motion */
  --dur-fast: 150ms;
  --dur: 280ms;
  --dur-slow: 600ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --reveal-shift: 1rem;

  /* Layout */
  --header-h: 4.5rem;
  --header-h-small: 3.5rem;
  --bar-h: 3.75rem;
}
