:root {
  --cream-50:  #FFFCF3;
  --cream-100: #FBF6E8;
  --cream-200: #F3EBD6;
  --cream-300: #E6DEC9;
  --cream-400: #D5CBB0;

  --ink:       #14241B;
  --ink-2:     #4E5C54;
  --ink-3:     #66726B;

  --green-950: #072C1A;
  --green-900: #0A3D25;
  --green-800: #0C5A33;
  --green-700: #0C7439;
  --green-600: #12904A;
  --green-200: #BFE6CD;
  --green-100: #DDF1E4;
  --green-50:  #EEF8F1;

  --yellow:      #FAE100;
  --yellow-soft: #FFF4A8;
  --yellow-deep: #E8D000;

  --amber-50:  #FFF4DD;
  --amber-100: #FFE8BD;
  --amber-300: #F3C77A;
  --amber-700: #7A3E00;
  --orange:    #F26A21;
  --red-50:    #FDE8E2;
  --red-600:   #C73A20;
  --red-800:   #8F2511;

  --bg: var(--cream-100);
  --surface: #FFFFFF;
  --card: var(--surface);
  --line: var(--cream-300);
  --line-strong: var(--cream-400);
  --green: var(--green-700);
  --green-dark: var(--green-800);
  --red: var(--red-600);
  --ink-muted: var(--ink-2);

  --display: "Lilita One", "Trebuchet MS", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: clamp(20px, 1.6vw + 14px, 24px);
  --fs-2xl: clamp(24px, 2.4vw + 14px, 32px);
  --fs-3xl: clamp(30px, 3.6vw + 14px, 44px);
  --fs-display: clamp(44px, 8.4vw + 8px, 84px);
  --lh-tight: 1.08;
  --lh-snug: 1.3;
  --lh-body: 1.55;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --gutter: clamp(16px, 4vw, 32px);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --r: var(--r-lg);
  --r-lg-legacy: 24px;

  --sh-1: 0 1px 2px rgba(20,36,27,.06), 0 1px 1px rgba(20,36,27,.04);
  --sh-2: 0 6px 18px -6px rgba(20,36,27,.16), 0 2px 4px rgba(20,36,27,.05);
  --sh-3: 0 22px 44px -18px rgba(7,44,26,.38), 0 6px 14px -6px rgba(7,44,26,.16);
  --sh-glow: 0 0 0 4px rgba(250,225,0,.55);
  --shadow: var(--sh-2);

  --d-fast: 150ms;
  --d-base: 240ms;
  --d-slow: 400ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --field-h: 48px;
  --field-r: var(--r-md);
  --field-px: 14px;
  --field-border: 1.5px solid var(--cream-400);
  --field-border-hover: 1.5px solid var(--ink-3);
  --focus-ring: 0 0 0 3px rgba(12,116,57,.28);
  --focus-outline: 3px solid var(--green-600);

  --pattern-fries: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='%230C7439' fill-opacity='.055'><rect x='18' y='20' width='9' height='34' rx='4.5' transform='rotate(24 22 37)'/><rect x='96' y='12' width='9' height='30' rx='4.5' transform='rotate(-18 100 27)'/><rect x='58' y='92' width='9' height='36' rx='4.5' transform='rotate(62 62 110)'/><rect x='124' y='96' width='9' height='30' rx='4.5' transform='rotate(-34 128 111)'/><circle cx='70' cy='30' r='3'/><circle cx='142' cy='60' r='2.5'/><circle cx='28' cy='116' r='3'/><circle cx='104' cy='146' r='2.5'/></g></svg>");
  --pattern-fries-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='%23FAE100' fill-opacity='.07'><rect x='18' y='20' width='9' height='34' rx='4.5' transform='rotate(24 22 37)'/><rect x='96' y='12' width='9' height='30' rx='4.5' transform='rotate(-18 100 27)'/><rect x='58' y='92' width='9' height='36' rx='4.5' transform='rotate(62 62 110)'/><rect x='124' y='96' width='9' height='30' rx='4.5' transform='rotate(-34 128 111)'/><circle cx='70' cy='30' r='3'/><circle cx='142' cy='60' r='2.5'/><circle cx='28' cy='116' r='3'/><circle cx='104' cy='146' r='2.5'/></g></svg>");
  --pattern-dots: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24'><circle cx='2' cy='2' r='1.4' fill='%2314241B' fill-opacity='.07'/></svg>");
  --pattern-dots-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24'><circle cx='2' cy='2' r='1.4' fill='%23FFFFFF' fill-opacity='.09'/></svg>");
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .08 0 0 0 0 .14 0 0 0 0 .1 0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  --pattern-rules: repeating-linear-gradient(180deg, transparent 0 31px, rgba(20,36,27,.045) 31px 32px);
  --pattern-stripes: repeating-linear-gradient(135deg, transparent 0 14px, rgba(12,116,57,.045) 14px 15px);
}

@media (prefers-reduced-motion: reduce) {
  :root { --d-fast: 1ms; --d-base: 1ms; --d-slow: 1ms; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}
