/* =============================================================================
   tastecholula.com — shared stylesheet
   Implements ART-DIRECTION.md (EL ÍNDICE). Concept: a typed paper list,
   not a website that happens to have food in it.

   Palette (mandatory):
     --cinder   #1A120C  page ground, all section grounds, image grounds
     --masa     #F2EAD3  body text, headlines, card overlays — NEVER a ground
     --chile    #E84D26  single loud accent — index numbers + primary CTA only
     --poblano  #7FA858  vouched-marker (4px left-border on moat blocks)
     --flame    #FFB627  wordmark hairline + colophon date — never twice on a page

   Contrast (WCAG 2.1):
     masa/cinder   15.4:1  AAA all sizes
     poblano/cinder 6.7:1  AA body / AAA large
     flame/cinder  10.5:1  AAA
     chile/cinder   4.9:1  AA body / AAA large — DISPLAY ONLY, never body copy

   Typography: Fraunces (display) / Inter (body) / JetBrains Mono (mono).
   NO SVG. NO emoji. NO gradients in place of real photographs.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,450;9..144,500;9..144,550;9..144,600&family=Inter:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- 1. TOKENS ------------------------------------------------------------- */
:root {
  /* Palette — the only five colours on the site */
  --cinder: #1A120C;
  --masa:   #F2EAD3;
  --chile:  #E84D26;
  --poblano:#7FA858;
  --flame:  #FFB627;

  /* Derived surface opacities (the colours above never change; only alpha) */
  --masa-90:  rgba(242, 234, 211, 0.90);
  --masa-80:  rgba(242, 234, 211, 0.80);
  --masa-70:  rgba(242, 234, 211, 0.70);
  --masa-60:  rgba(242, 234, 211, 0.60);
  --masa-40:  rgba(242, 234, 211, 0.40);
  --masa-20:  rgba(242, 234, 211, 0.20);
  --masa-10:  rgba(242, 234, 211, 0.10);

  --cinder-2: #251812;   /* very subtle lift from --cinder for card panels */
  --cinder-3: #2F1D14;   /* secondary surface (always darker than cinder) */

  /* Type stacks */
  --font-display: 'Fraunces', 'Source Serif Pro', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'IBM Plex Mono', Menlo, monospace;

  /* 8pt rhythm */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 40px;
  --s-5: 64px;
  --s-6: 96px;
  --s-7: 160px;

  /* Container + grid */
  --container: 1280px;
  --pad-x: 20px;
  --gutter: 32px;
}

@media (min-width: 768px)  { :root { --pad-x: 24px; } }
@media (min-width: 1024px) { :root { --pad-x: 40px; } }

/* --- 2. RESET + BASE ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cinder);
  color: var(--masa);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: var(--chile); color: var(--cinder); }

/* --- 3. TYPE --------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--masa);
  font-weight: 450;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.08;
}
h1 {
  font-size: clamp(2.6rem, 7.2vw, 5.4rem);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  line-height: 1.08;
  letter-spacing: -0.012em;
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  line-height: 1.2;
}
h4 {
  font-size: 1.0625rem;
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  line-height: 1.3;
}
p { margin: 0 0 var(--s-3); }
p:last-child { margin-bottom: 0; }

/* Mono caps labels */
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--masa-70);
  font-weight: 400;
}
.mono-tight {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--masa-60);
}

/* --- 4. LAYOUT ------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
@media (max-width: 767px) {
  .grid-12 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* --- 5. EL ÍNDICE — the signature element ---------------------------------- */
.indice {
  border-bottom: 1px solid var(--masa-10);
  background: var(--cinder);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.indice-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px var(--pad-x);
  white-space: nowrap;
  min-height: 56px;
}
.indice-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chile);
  margin-right: 24px;
  flex-shrink: 0;
}
.indice-list {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.indice-list a {
  color: var(--masa-60);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: color 120ms linear;
}
.indice-list a:hover { color: var(--masa); }
.indice-list a .num { display: inline-block; min-width: 18px; text-align: center; }
.indice-list .dot { color: var(--masa-20); margin: 0 4px; }
.indice-list a.current {
  color: var(--masa);
}
.indice-list a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--chile);
}

/* --- 6. HEADER ------------------------------------------------------------- */
.site-head {
  border-bottom: 1px solid var(--masa-10);
}
.site-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 48;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--masa);
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
.wordmark::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--flame);
}
.wordmark span.towns {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--masa-60);
  text-transform: uppercase;
  margin-left: 14px;
  font-weight: 400;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 640px) {
  .wordmark span.towns { display: none; }
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.lang-switch a {
  color: var(--masa-60);
  padding: 6px 8px;
}
.lang-switch a.active { color: var(--masa); }
.lang-switch a:hover { color: var(--masa); }
.lang-switch .sep { color: var(--masa-20); }

/* Primary navigation (visible, below wordmark) */
.nav-primary {
  border-top: 1px solid var(--masa-10);
  border-bottom: 1px solid var(--masa-10);
}
.nav-primary-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-primary a {
  color: var(--masa-70);
  position: relative;
  padding: 4px 0;
}
.nav-primary a:hover { color: var(--masa); }
.nav-primary a.current {
  color: var(--masa);
}
.nav-primary a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -16px;
  height: 1.5px;
  background: var(--chile);
}
@media (max-width: 640px) {
  .nav-primary-inner { gap: 18px; overflow-x: auto; white-space: nowrap; }
}

/* --- 7. HERO --------------------------------------------------------------- */
.hero {
  padding: var(--s-7) 0 var(--s-6);
}
@media (max-width: 767px) { .hero { padding: var(--s-5) 0 var(--s-4); } }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; }
.hero-grid .lead { grid-column: 9 / span 4; }
@media (max-width: 1023px) { .hero-grid .lead { grid-column: 1 / -1; } }

.hero .byline {
  display: block;
  margin-top: var(--s-4);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--masa-70);
  text-transform: uppercase;
}

/* --- 8. SECTION HEADS ------------------------------------------------------ */
.section { padding: var(--s-6) 0; }
@media (max-width: 767px) { .section { padding: var(--s-5) 0; } }
.section-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: var(--s-5);
  border-top: 1px solid var(--masa-20);
  padding-top: var(--s-3);
}
.section-head .num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--chile);
  flex-shrink: 0;
}
.section-head h2 { margin: 0; }
.section-head .rule {
  flex: 1;
  height: 1px;
  background: var(--masa-20);
  align-self: center;
  margin-top: 8px;
}
.section-head .count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--masa-60);
}

/* --- 9. CATALOGUE (food cards) --------------------------------------------- */
.catalogue {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
@media (max-width: 1023px) { .catalogue { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .catalogue { grid-template-columns: 1fr; gap: 32px; } }

/* Base card */
.card {
  display: block;
  position: relative;
  background: var(--cinder-2);
  border: 1px solid var(--masa-10);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}
.card:hover { border-color: var(--masa-40); }

/* Card number — used in both photo and typographic variants */
.card .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  line-height: 1;
  letter-spacing: -0.02em;
  z-index: 2;
}

/* Photo-led card (cards 01-04 — has an actual photograph) */
.card.has-photo .num {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: clamp(72px, 8vw, 110px);
  color: var(--masa-70);
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.card.has-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
}
.card .body {
  padding: 18px 18px 20px 22px;
  border-left: 4px solid var(--poblano);
}

/* Vouched card — visually unmistakable from researched */
.card.has-photo.is-vouched {
  border-color: var(--poblano);
  box-shadow: 0 0 0 1.5px var(--poblano) inset;
}
.card.has-photo.is-vouched .body {
  border-left-width: 8px;
}
.card.has-photo.is-vouched .meta .vouched {
  display: inline-block;
  padding: 3px 8px;
  border: 1.5px solid var(--poblano);
  color: var(--poblano);
  background: rgba(127, 168, 88, 0.10);
}

/* Typographic card (cards 05-12 — no photo, designed-as-text card) */
.card.is-typographic {
  background: var(--cinder);
  border: 1px solid var(--masa-10);
  padding: 28px 28px 24px;
  min-height: 100%;
}
.card.is-typographic::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--poblano);
}
.card.is-typographic .num {
  position: static;
  display: block;
  font-size: clamp(48px, 6vw, 84px);
  color: var(--chile);
  margin-bottom: 16px;
}
.card.is-typographic .name {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
  color: var(--masa);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.card.is-typographic .meta-row {
  display: block;
  padding-top: 12px;
  border-top: 1px solid var(--masa-10);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--masa-70);
  margin-bottom: 8px;
}
.card.is-typographic .meta-row span.k { color: var(--masa-60); margin-right: 6px; }
.card.is-typographic .meta-row span.v { color: var(--masa); }
.card.is-typographic .meta-row span.v.unknown {
  color: var(--masa-40);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
}
.card.is-typographic .price {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--masa-60);
}
.card.is-typographic .price .v { color: var(--masa-80); }
.card.is-typographic .price .v.unknown {
  color: var(--masa-40);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
}
.card.is-typographic .note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--masa-80);
}
.card.is-typographic .flag {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--masa-20);
  color: var(--masa-70);
}
.card.is-typographic.is-vouched .flag {
  border-color: var(--poblano);
  color: var(--poblano);
}
.card.is-typographic.is-researched .flag {
  border-color: var(--masa-20);
  color: var(--masa-60);
}

/* Card meta (shared) */
.card .name {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  font-size: 26px;
  line-height: 1.15;
  color: var(--masa);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.card .meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--masa-70);
}
.card .meta .vouched { color: var(--poblano); }

/* --- 10. STREET STRIP ------------------------------------------------------ */
.street {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}
@media (max-width: 1023px) { .street { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .street { grid-template-columns: 1fr; } }
.street .frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cinder-3);
  position: relative;
}
.street .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}

/* --- 11. DRIVERS (the second floor) ---------------------------------------- */
.drivers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) { .drivers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .drivers { grid-template-columns: 1fr; } }

.driver {
  background: var(--cinder-2);
  border: 1px solid var(--masa-10);
  padding: 16px;
}
.driver .frame {
  aspect-ratio: 1 / 1;
  background: var(--cinder-3);
  margin-bottom: 12px;
  overflow: hidden;
}
.driver .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.driver .name {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  font-size: 20px;
  color: var(--masa);
  margin: 0 0 6px;
  line-height: 1.2;
}
.driver .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--masa-70);
  line-height: 1.6;
  margin-bottom: 12px;
}
.driver .note {
  border-left: 4px solid var(--poblano);
  padding: 6px 0 6px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--masa-90);
}
.driver .whatsapp {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--masa);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--masa-20);
}
.driver .whatsapp:hover { border-bottom-color: var(--chile); color: var(--chile); }

/* --- 12. PROSE / EDITORIAL LETTER ------------------------------------------ */
.prose {
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--masa-90);
}
.prose p { margin-bottom: var(--s-3); }
.prose .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.4;
  color: var(--masa);
  border-left: 4px solid var(--poblano);
  padding: 12px 0 12px 18px;
  margin: var(--s-4) 0;
}

/* --- 13. PLACEHOLDER TOKEN STYLE (deliberate slot, awaiting data) --------- */
.token {
  font-family: var(--font-mono);
  font-size: 0.92em;
  letter-spacing: 0.04em;
  color: var(--masa-70);
  background: var(--cinder-3);
  padding: 1px 6px;
  border: 1px solid var(--masa-10);
  white-space: nowrap;
}

/* --- 14. CTA / primary action --------------------------------------------- */
.cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  background: var(--masa);
  color: var(--cinder);
  padding: 14px 24px;
  border: 1.5px solid var(--masa);
  text-decoration: none;
  transition: background 140ms linear, color 140ms linear, border-color 140ms linear;
}
.cta:hover { background: var(--cinder); color: var(--masa); border-color: var(--chile); }
.cta:hover::after { content: " →"; }
.cta::after { content: ""; }

/* Secondary action */
.link-2 {
  color: var(--masa);
  text-decoration: none;
  border-bottom: 1.5px solid var(--masa);
  padding-bottom: 2px;
  transition: border-color 140ms linear;
}
.link-2:hover { border-bottom-color: var(--chile); }

/* --- 15. FOOTER (colophon) ------------------------------------------------- */
.colophon {
  border-top: 1px solid var(--masa-10);
  margin-top: var(--s-6);
  padding: var(--s-4) 0;
}
.colophon-inner {
  display: flex;
  align-items: baseline;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  color: var(--masa-60);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.colophon .sep { color: var(--masa-20); }

/* --- 16. ABOUT / TWO-COLUMN ----------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.two-col .col-a { grid-column: 1 / span 7; }
.two-col .col-b { grid-column: 9 / span 4; }
@media (max-width: 1023px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col .col-a, .two-col .col-b { grid-column: 1 / -1; }
}

/* --- 17. FAQ --------------------------------------------------------------- */
.faq { margin: 0; padding: 0; list-style: none; }
.faq li { border-top: 1px solid var(--masa-10); padding: var(--s-3) 0; }
.faq li:last-child { border-bottom: 1px solid var(--masa-10); }
.faq .q {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  font-size: 19px;
  color: var(--masa);
  margin-bottom: 8px;
  line-height: 1.3;
}
.faq .a { color: var(--masa-80); font-size: 16px; line-height: 1.55; }

/* --- 18. DISHES SECTION (price canon) ------------------------------------- */
.dishes-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: var(--s-4);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--masa-80);
}
.dishes-table caption {
  caption-side: bottom;
  text-align: left;
  padding-top: var(--s-3);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--masa-60);
  line-height: 1.5;
}
.dishes-table th,
.dishes-table td {
  text-align: left;
  padding: 14px 18px 14px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--masa-10);
}
.dishes-table th {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chile);
  font-weight: 400;
  border-bottom: 1px solid var(--masa-20);
}
.dishes-table td.name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  color: var(--masa);
  text-transform: none;
  letter-spacing: -0.005em;
}
.dishes-table td.price { color: var(--masa); white-space: nowrap; }
.dishes-table td.season { color: var(--masa-70); white-space: nowrap; }
.dishes-table tr:hover td { color: var(--masa); }
.dishes-table tr:hover td.name { color: var(--masa); }
@media (max-width: 767px) {
  .dishes-table { font-size: 11px; }
  .dishes-table th, .dishes-table td { padding: 10px 10px 10px 0; }
}

/* --- 19. WHEN TO COME / TIANGUIS CYCLE ----------------------------------- */
.cycle {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-top: 1px solid var(--masa-10);
  border-left: 1px solid var(--masa-10);
}
@media (max-width: 1023px) { .cycle { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cycle { grid-template-columns: 1fr; } }
.cycle .day {
  padding: 16px 14px 18px;
  border-right: 1px solid var(--masa-10);
  border-bottom: 1px solid var(--masa-10);
}
.cycle .day .day-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--chile);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cycle .day .tianguis {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  font-size: 16px;
  color: var(--masa);
  line-height: 1.3;
  margin-bottom: 6px;
}
.cycle .day .where {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--masa-60);
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 1.4;
}
.cycle .day .hours {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--masa-70);
}
.cycle .day.empty .tianguis {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--masa-40);
  font-size: 13px;
  font-style: italic;
}

.mercados {
  margin-top: var(--s-4);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
  border-top: 1px solid var(--masa-10);
}
@media (max-width: 600px) { .mercados { grid-template-columns: 1fr; } }
.mercados li {
  list-style: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--masa-10);
}
.mercados li .m-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  font-size: 18px;
  color: var(--masa);
  margin-bottom: 4px;
}
.mercados li .m-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--masa-70);
}

/* --- 20. REDUCED MOTION --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}

/* --- 21. PRINT ------------------------------------------------------------- */
@media print {
  body { background: white; color: black; }
  .indice, .nav-primary, .colophon { display: none; }
  .card, .driver { break-inside: avoid; border: 1px solid #000; }
}
