/* =========================================================
   The Taste Twist v2: design tokens
   Source of truth: DESIGN.md. Change values here, not in pages.
   ========================================================= */

:root {
  /* Colour: dark theme (default) */
  --bg: #171717;            /* page base, charcoal */
  --surface: #232323;       /* cards and alternate sections */
  --text: #F7F3E8;          /* headlines and body, warm cream */
  --muted: #B9B2A3;         /* secondary text */
  --border: #3A3A3A;        /* hairlines (decorative only) */

  /* THE accent: the action colour */
  --accent: #EFCD00;        /* brand yellow */
  --on-accent: #171717;

  /* Brand supporting colours, each with one job */
  --signature: #09C789;     /* green: photo ring and "good news" badges */
  --on-signature: #0F2A20;
  --spark: #F95737;         /* orange: rare emphasis, "coming soon" and "limited" badges */
  --on-spark: #171717;

  /* Colour: bright sections */
  --cream: #FBF6E9;         /* bright, warm section background */
  --ink: #1B1B1B;           /* text on cream */
  --ink-muted: #5A564D;     /* secondary text on cream */
  --link-on-cream: #077A55; /* deep green, links on cream */

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-text: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale (px): 4, 8, 12, 16, 24, 32, 48, 64, 96, 128 */
  --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;
  --s-10: 128px;

  /* Section padding */
  --section-y: var(--s-8);     /* mobile */
  --gutter: var(--s-4);

  /* Layout */
  --max: 1240px;
  --measure: 62ch;

  /* Shape: one radius, no shadows */
  --radius: 14px;
  --ring: 4px;                 /* green photo ring thickness */
}

@media (min-width: 640px) { :root { --gutter: var(--s-5); } }
@media (min-width: 960px) { :root { --section-y: var(--s-10); --gutter: var(--s-6); } }

/* Type scale: mobile first, steps up at 960px */
:root {
  --t-display: 2.5rem;   /* 40 */
  --t-h2: 2rem;          /* 32 */
  --t-h3: 1.375rem;      /* 22 */
  --t-h4: 1.25rem;       /* 20 */
  --t-lead: 1.125rem;    /* 18 */
  --t-body: 1rem;        /* 16 */
  --t-small: .875rem;    /* 14 */
  --t-label: .75rem;     /* 12 */
}
@media (min-width: 960px) {
  :root {
    --t-display: 4.5rem; /* 72 */
    --t-h2: 3rem;        /* 48 */
    --t-h3: 1.75rem;     /* 28 */
    --t-h4: 1.375rem;    /* 22 */
    --t-lead: 1.25rem;   /* 20 */
    --t-body: 1.0625rem; /* 17 */
  }
}
