/* =====================================================================
   Mintza — South Indian & Kerala Cuisine
   Design tokens: color + typography
   Inspired by the brochure: deep maroon, cream banana-leaf greens,
   warm spice-yellow accents, white canvas.
   ===================================================================== */

/* ---- Webfonts (Google Fonts fallbacks; flag if not available) ----- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Manrope:wght@300;400;500;600;700;800&family=Caveat+Brush&family=Poppins:wght@500;600;700&display=swap');

:root {
  /* =================================================================
     COLOR — Brand
     The single voltage of brand maroon, extracted from the brochure
     cover and storefront sign. One Rausch-equivalent — Mintza Maroon —
     carries CTAs, the wordmark, accent rules, and the "open" status.
     ================================================================= */
  --mintza-maroon: #5C0F1A;          /* The brand voltage. Logo plate, primary CTA, footer band. */
  --mintza-maroon-deep: #3E0810;     /* Pressed / hover-down state and dark headings on cream. */
  --mintza-maroon-soft: #7A1F2C;     /* Hover lift / banded sections. */
  --mintza-maroon-tint: #F5E7E9;     /* Pale chip background for "Halal", "Veg", "Chef's Pick". */
  --mintza-maroon-disabled: #D9B5BA; /* Disabled CTA fill. */

  /* COLOR — Kerala accents (used sparingly; never compete with maroon) */
  --kerala-leaf: #2F5233;            /* Banana-leaf green — used on "Veg" chip & success ticks. */
  --kerala-leaf-soft: #E8F0E5;       /* Pale leaf for veg-meal background plates. */
  --spice-saffron: #C97B0F;          /* Saffron / turmeric — "Spicy" indicator & rating star. */
  --spice-saffron-soft: #FBEFD8;     /* Pale saffron for promo strips ("Opening Offer"). */
  --coconut-cream: #FBF6EE;          /* Off-white cream — large banded sections; brochure paper feel. */

  /* COLOR — Surface */
  --canvas: #FFFFFF;                 /* Default page floor. The user-requested white background. */
  --surface-soft: #FAFAF7;           /* Sub-section fills, disabled fields. */
  --surface-strong: #F2EFEA;         /* Card surface that wants to read as paper not plastic. */
  --surface-ink: #181111;            /* Inverted / cinematic photo-band fill — near-black, warm. */
  --scrim: rgba(24, 17, 17, 0.55);   /* Modal backdrop — warm-black, never pure black. */

  /* COLOR — Hairlines */
  --hairline: #E6E1DA;               /* Default 1px divider on cream. */
  --hairline-soft: #EFEBE4;          /* Long-scroll body separators. */
  --hairline-strong: #C9C0B4;        /* Input outline after focus exit. */
  --hairline-ink: rgba(255,255,255,0.14); /* Divider on dark cinematic bands. */

  /* COLOR — Text on light */
  --ink: #1A1414;                    /* Headlines + primary body. Warm near-black, never #000. */
  --ink-body: #3A302E;               /* Long-form running copy. */
  --ink-muted: #6E625F;              /* Meta lines: prep time, distance, dietary tags. */
  --ink-soft: #9B8F8B;               /* Disabled / placeholder. */

  /* COLOR — Text on dark cinematic bands */
  --paper: #FBF6EE;                  /* Body copy over dark photo bands — cream, not pure white. */
  --paper-muted: rgba(251, 246, 238, 0.72);
  --paper-soft: rgba(251, 246, 238, 0.50);

  /* COLOR — Semantic */
  --success: #2F5233;
  --success-tint: #E8F0E5;
  --warning: #C97B0F;
  --warning-tint: #FBEFD8;
  --danger: #B11E1E;
  --danger-tint: #FBEAEA;

  /* COLOR — Spice level (signature: replaces star ratings on items) */
  --spice-1: #E8B770;                /* Mild */
  --spice-2: #D88A3A;                /* Medium */
  --spice-3: #B14A1E;                /* Spicy */
  --spice-4: #5C0F1A;                /* Mintza Hot */

  /* =================================================================
     TYPE — Families
     ================================================================= */
  --font-display: 'Cormorant Garamond', 'EB Garamond', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-script: 'Caveat Brush', 'Brush Script MT', cursive; /* Used ONLY for the Mintza wordmark lockup */
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  --font-hero: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; /* hero ribbon cards */

  /* TYPE — Tracking */
  --track-tight: -0.02em;
  --track-normal: 0;
  --track-wide: 0.08em;
  --track-wider: 0.18em;

  /* =================================================================
     SPACING — 4px base, generous on mobile, cinematic on desktop
     ================================================================= */
  --space-xxs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-base: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-section: 64px;
  --space-hero: 96px;

  /* =================================================================
     RADII — softer than Airbnb's; restaurant cards want to feel warm
     ================================================================= */
  --radius-xs: 4px;     /* Chips */
  --radius-sm: 8px;     /* Inputs, secondary buttons */
  --radius-md: 14px;    /* Property/dish cards */
  --radius-lg: 22px;    /* Bottom-sheet, modal */
  --radius-xl: 32px;    /* Hero photo plates */
  --radius-pill: 9999px;/* Pill buttons, chips, search bar */

  /* =================================================================
     ELEVATION
     One soft shadow tier + one cinematic "lifted card" tier.
     ================================================================= */
  --shadow-card:
    rgba(24, 17, 17, 0.02) 0 0 0 1px,
    rgba(24, 17, 17, 0.04) 0 2px 6px 0,
    rgba(24, 17, 17, 0.08) 0 4px 12px 0;

  --shadow-lifted:
    rgba(24, 17, 17, 0.04) 0 0 0 1px,
    rgba(24, 17, 17, 0.08) 0 6px 14px -2px,
    rgba(24, 17, 17, 0.16) 0 16px 28px -6px;

  --shadow-cta:
    rgba(92, 15, 26, 0.20) 0 8px 20px -4px,
    rgba(92, 15, 26, 0.30) 0 2px 6px -1px;

  --shadow-inset: inset 0 0 0 1px rgba(24, 17, 17, 0.06);

  /* =================================================================
     MOTION
     Calm easings — never bouncy. Plate-of-food shouldn't jiggle.
     ================================================================= */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;
  --dur-cinema: 680ms;
}

/* =====================================================================
   Semantic type roles — use these in components, not raw sizes.
   Sizes calibrated for mobile-first (375pt baseline).
   ===================================================================== */

.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 9vw, 72px);
  line-height: 1.02;
  letter-spacing: var(--track-tight);
  color: var(--ink);
}

.h-1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 7.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.h-2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 5.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.h-3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--track-wider);
  text-transform: uppercase;
  color: var(--mintza-maroon);
}

.lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-body);
  text-wrap: pretty;
}

.body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-body);
}

.body-sm {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.caption {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  /* Used very sparingly for "Mintza Special", "Today's Catch" decorative captions */
}

/* Base reset for previews */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Use lining figures everywhere so numbers sit level on the baseline (not old-style) */
  font-variant-numeric: lining-nums;
  -moz-font-feature-settings: "lnum" 1;
  font-feature-settings: "lnum" 1, "onum" 0;
}
