/* ==========================================================================
   DQ MENU GUIDE — DESIGN SYSTEM v2.0
   Date: 2026-10-06 | Premium editorial redesign (master prompt)
   --------------------------------------------------------------------------
   PALETTE (master prompt, refined for contrast):
   - Primary red #C92332, deep burgundy #951D2A
   - Ink #20232B, soft ink #626875
   - Warm off-white #FAF8F5, surface #F2F0ED, border #E5E2DE
   TYPOGRAPHY:
   - Display: Fraunces (600/700, latin, display=swap) — editorial serif
   - Body/UI: system sans stack (zero download, fast)
   ========================================================================== */

:root {
  /* ---- Brand ---- */
  --dq-red: #C92332;
  --dq-red-deep: #951D2A;
  --dq-red-soft: #FBEDEF;
  /* ---- Ink ---- */
  --dq-ink: #20232B;
  --dq-ink-soft: #626875;
  /* ---- Surfaces ---- */
  --dq-bg: #FAF8F5;
  --dq-surface: #F2F0ED;
  --dq-card: #FFFFFF;
  --dq-line: #E5E2DE;
  /* ---- Focus ---- */
  --dq-focus: #1A73E8;

  /* ---- Type ---- */
  --dq-display: "Fraunces", Georgia, "Times New Roman", serif;
  --dq-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, sans-serif;
  /* Fluid display sizes: compact on phones, editorial on desktop */
  --dq-h1: clamp(1.9rem, 1.4rem + 2.5vw, 3rem);
  --dq-h2: clamp(1.45rem, 1.2rem + 1.4vw, 2rem);
  --dq-h3: clamp(1.12rem, 1.05rem + 0.5vw, 1.35rem);
  --dq-body: 1rem;
  --dq-small: 0.875rem;
  --dq-lh: 1.7;
  --dq-lh-tight: 1.25;

  /* ---- Spacing ---- */
  --dq-s1: 0.25rem;
  --dq-s2: 0.5rem;
  --dq-s3: 1rem;
  --dq-s4: 1.5rem;
  --dq-s5: 2.5rem;
  --dq-s6: 4rem;
  --dq-gutter: clamp(1rem, 4vw, 1.5rem);
  --dq-width: 1120px;
  --dq-width-text: 720px;

  /* ---- Shape ---- */
  --dq-radius: 12px;
  --dq-radius-sm: 8px;
  --dq-shadow: 0 1px 2px rgba(32,35,43,.06), 0 8px 24px rgba(32,35,43,.08);
  --dq-shadow-hover: 0 2px 4px rgba(32,35,43,.08), 0 12px 32px rgba(32,35,43,.12);
}

/* ==========================================================================
   FONT LOADING — Fraunces display serif (2 weights, latin, swap)
   ========================================================================== */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/fraunces/v38/6NUh8FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0K7iN7hzFUPJH58nib1603gg7S2nfgRYIcaRyjDg.ttf') format('truetype');
}

/* ==========================================================================
   BASE
   ========================================================================== */
body {
  font-family: var(--dq-font);
  color: var(--dq-ink);
  line-height: var(--dq-lh);
  background: var(--dq-bg);
}

/* Editorial display headings */
h1, h2,
.dq-display {
  font-family: var(--dq-display);
  font-weight: 700;
  line-height: var(--dq-lh-tight);
  letter-spacing: -0.01em;
  text-wrap: balance;          /* no awkward "Calo-ries" style breaks */
  overflow-wrap: break-word;
}
h1 { font-size: var(--dq-h1); }
h2 { font-size: var(--dq-h2); }
h3 {
  font-family: var(--dq-font);
  font-size: var(--dq-h3);
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}

/* Links: restrained red */
a { color: var(--dq-red); }
a:hover { color: var(--dq-red-deep); }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible,
input:focus-visible, [tabindex]:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--dq-focus);
  outline-offset: 2px;
  border-radius: var(--dq-radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.dq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--dq-s2);
  min-height: 44px;
  padding: 0.65rem 1.4rem;
  font-family: var(--dq-font);
  font-size: var(--dq-body);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  color: #fff;
  background: var(--dq-red);
  border: 2px solid var(--dq-red);
  border-radius: var(--dq-radius);
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease,
              transform .16s ease, box-shadow .16s ease;
}
.dq-btn:hover {
  background: var(--dq-red-deep);
  border-color: var(--dq-red-deep);
  color: #fff;
  box-shadow: var(--dq-shadow);
}
.dq-btn:active { transform: translateY(1px); }
.dq-btn--outline {
  background: transparent;
  color: var(--dq-red);
}
.dq-btn--outline:hover {
  background: var(--dq-red);
  border-color: var(--dq-red);
  color: #fff;
}
.dq-btn--quiet {
  background: var(--dq-surface);
  border-color: var(--dq-surface);
  color: var(--dq-ink);
}
.dq-btn--quiet:hover {
  background: var(--dq-line);
  border-color: var(--dq-line);
  color: var(--dq-ink);
}
.dq-btn--small {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: var(--dq-small);
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.dq-card {
  background: var(--dq-card);
  border: 1px solid var(--dq-line);
  border-radius: var(--dq-radius);
  box-shadow: var(--dq-shadow);
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
}
a.dq-card:hover, .dq-card--link:hover {
  box-shadow: var(--dq-shadow-hover);
  transform: translateY(-2px);
}
.dq-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dq-surface);
}
.dq-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dq-card__body { padding: var(--dq-s3); }
.dq-card__kicker {
  font-size: var(--dq-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dq-red);
  margin-bottom: var(--dq-s1);
}
.dq-card__title {
  font-family: var(--dq-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--dq-s2);
}
.dq-card__title a { color: var(--dq-ink); text-decoration: none; }
.dq-card__title a:hover { color: var(--dq-red); }
.dq-card__meta {
  font-size: var(--dq-small);
  color: var(--dq-ink-soft);
}

/* ==========================================================================
   DATA TABLES — compact, scannable, premium
   ========================================================================== */
.dq-tablewrap {
  border: 1px solid var(--dq-line);
  border-radius: var(--dq-radius);
  overflow: hidden;
  background: var(--dq-card);
}
.dq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--dq-card);
}
.dq-table caption {
  text-align: left;
  font-family: var(--dq-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: var(--dq-s3);
  color: var(--dq-ink);
  border-bottom: 1px solid var(--dq-line);
}
.dq-table th, .dq-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--dq-line);
  text-align: left;
  vertical-align: middle;
}
.dq-table thead th {
  background: var(--dq-surface);
  font-size: var(--dq-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dq-ink-soft);
  white-space: nowrap;
}
.dq-table tbody tr:last-child th,
.dq-table tbody tr:last-child td { border-bottom: 0; }
.dq-table tbody tr:hover { background: var(--dq-red-soft); }
.dq-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 600;
}
.dq-table .item { min-width: 0; }   /* let names wrap naturally, not squeeze */

/* Price / calorie highlight */
.dq-price { font-weight: 700; color: var(--dq-ink); white-space: nowrap; }
.dq-cal { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.dq-crumbs {
  font-size: var(--dq-small);
  color: var(--dq-ink-soft);
  margin-bottom: var(--dq-s3);
  padding-bottom: var(--dq-s2);
  border-bottom: 1px solid var(--dq-line);
}
.dq-crumbs a { color: var(--dq-ink-soft); text-decoration: none; }
.dq-crumbs a:hover { color: var(--dq-red); text-decoration: underline; }
.dq-crumbs [aria-current="page"] { color: var(--dq-ink); font-weight: 600; }
.dq-crumbs .sep { margin: 0 var(--dq-s1); opacity: .6; }

/* ==========================================================================
   CALLOUT / EDITORIAL BOX
   ========================================================================== */
.dq-callout {
  border-left: 4px solid var(--dq-red);
  background: var(--dq-card);
  border-radius: 0 var(--dq-radius) var(--dq-radius) 0;
  box-shadow: var(--dq-shadow);
  padding: var(--dq-s3) var(--dq-s4);
  margin: var(--dq-s4) 0;
}
.dq-callout--info { border-color: var(--dq-focus); }
.dq-callout__title {
  font-weight: 700;
  margin-bottom: var(--dq-s1);
}
.dq-callout p:last-child { margin-bottom: 0; }

/* ==========================================================================
   FAQ — accessible details/summary
   ========================================================================== */
.dq-faq {
  border: 1px solid var(--dq-line);
  border-radius: var(--dq-radius);
  margin-bottom: var(--dq-s2);
  background: var(--dq-card);
}
.dq-faq summary {
  padding: var(--dq-s3);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: var(--dq-s2);
}
.dq-faq summary::-webkit-details-marker { display: none; }
.dq-faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--dq-red);
  font-size: 1.3rem;
  font-weight: 400;
  flex: none;
  transition: transform .18s ease;
}
.dq-faq[open] summary::after { content: "–"; }
.dq-faq__answer { padding: 0 var(--dq-s3) var(--dq-s3); color: var(--dq-ink-soft); }

/* ==========================================================================
   ANCHOR PILLS / TOC
   ========================================================================== */
.dq-pills {
  display: flex; flex-wrap: wrap;
  gap: var(--dq-s2);
  margin: var(--dq-s3) 0 var(--dq-s4);
  padding: 0; list-style: none;
}
.dq-pills a {
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--dq-line);
  border-radius: 999px;
  background: var(--dq-card);
  color: var(--dq-ink);
  font-size: var(--dq-small);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.dq-pills a:hover {
  border-color: var(--dq-red);
  color: var(--dq-red);
  background: var(--dq-red-soft);
}

/* ==========================================================================
   SECTION HEADINGS — editorial signature
   ========================================================================== */
.dq-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--dq-s3);
  margin-bottom: var(--dq-s3);
  padding-bottom: var(--dq-s2);
  border-bottom: 2px solid var(--dq-ink);
}
.dq-section-head__title {
  font-family: var(--dq-display);
  font-size: var(--dq-h2);
  font-weight: 700;
  margin: 0;
}
.dq-section-head__link {
  font-size: var(--dq-small);
  font-weight: 700;
  white-space: nowrap;
}

/* Eyebrow kicker above headings */
.dq-kicker {
  font-size: var(--dq-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dq-red);
  margin-bottom: var(--dq-s1);
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.dq-field {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 1rem;
  font-family: var(--dq-font);
  font-size: var(--dq-body);
  color: var(--dq-ink);
  background: var(--dq-card);
  border: 1.5px solid var(--dq-line);
  border-radius: var(--dq-radius-sm);
}
.dq-field:focus {
  border-color: var(--dq-red);
  outline: none;
  box-shadow: 0 0 0 3px var(--dq-red-soft);
}
.dq-label {
  display: block;
  font-weight: 700;
  font-size: var(--dq-small);
  margin-bottom: var(--dq-s1);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.dq-muted { color: var(--dq-ink-soft); }
.dq-center { text-align: center; }
.dq-mt-0 { margin-top: 0; }
.dq-prose { max-width: var(--dq-width-text); }
.dq-prose p, .dq-prose li { max-width: 68ch; }
