/* TasteTrip design tokens — warm travel-editorial.
   Off-white paper, one terracotta accent, display serif for dish names.
   Light is the base; dark redefines only the tokens. */

:root {
  /* surfaces */
  --paper: #faf6f0;
  --card: #ffffff;
  --card-soft: #f4ece2;
  --line: #e7dccd;

  /* ink — faint still clears 4.5:1 on card and paper */
  --ink: #2b2118;
  --ink-soft: #6d5f52;
  --ink-faint: #7d6c5b;

  /* the accent */
  --accent: #c1502e;
  --accent-deep: #9a3d20;
  --accent-wash: #f6e3d7;

  /* semantic — each text color clears 4.5:1 on its wash */
  --try: #35693f;
  --try-wash: #e6f0e8;
  --allergy: #b3362b;
  --allergy-wash: #f9e7e4;
  --caution: #7d550f;
  --caution-wash: #f7edd8;

  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --size-xs: 0.75rem;
  --size-sm: 0.875rem;
  --size-base: 1rem;
  --size-md: 1.125rem;
  --size-lg: 1.375rem;
  --size-xl: 1.75rem;
  --size-hero: clamp(2.1rem, 6vw, 3.2rem);

  /* 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;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(43, 33, 24, 0.06), 0 6px 20px rgba(43, 33, 24, 0.07);
  --shadow-lift: 0 2px 4px rgba(43, 33, 24, 0.08), 0 12px 32px rgba(43, 33, 24, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #201913;
    --card: #2b2219;
    --card-soft: #362b20;
    --line: #443729;

    --ink: #f0e7db;
    --ink-soft: #b5a695;
    --ink-faint: #a4957f;

    --accent: #e06a42;
    --accent-deep: #ef8560;
    --accent-wash: #3d2a20;

    --try: #7db98c;
    --try-wash: #27332a;
    --allergy: #e07a6e;
    --allergy-wash: #3c2723;
    --caution: #d3a955;
    --caution-wash: #38301e;

    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.45);
  }
}
