/* La Gloria Bakery preview. Palette: piloncillo-dark ground, concha-pink accent, sugar-white ink;
   the big-order section is drenched in the pink. Type: Shrikhand (display) + Figtree (text). */
@font-face {
  font-family: "Shrikhand";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/shrikhand-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/figtree-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #21110a;
  --ground-2: #2c170e;
  --ground-3: #3a2015;
  --ground-deep: #160a05;
  --sugar: #fbf1ee;
  --sugar-2: #ead8d1;
  --muted: #cdb4aa;
  --rosa: #f4a8ba;
  --rosa-hi: #f8c3cf;
  --fiesta: #f0b3c1;
  --ink: #2a0f0c;
  --ink-2: #4b2420;
  --paper: #eeeae7;
  --steel: #b9bcc0;
  --yema: #f6c86c;
  --line: rgba(251, 241, 238, 0.16);
  --display: "Shrikhand", "Georgia", serif;
  --text: "Figtree", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --z-film: 1;
  --z-shade: 2;
  --z-paper: 3;
  --z-top: 4;
  --z-beat: 5;
  --z-header: 30;
  --z-dock: 40;
  --z-skip: 50;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--sugar);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--yema); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: var(--z-skip);
  background: var(--yema); color: var(--ink); font-weight: 700;
  padding: 0.7rem 1rem; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 1rem; }
.wrap { max-width: 78rem; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 2.9rem; padding: 0.6rem 1.25rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; letter-spacing: 0.005em;
  border: 2px solid transparent; touch-action: manipulation;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-pink { background: var(--rosa); color: var(--ink); }
.btn-pink:hover { background: var(--rosa-hi); }
.btn-ghost { border-color: rgba(251, 241, 238, 0.7); color: var(--sugar); background: rgba(22, 10, 5, 0.35); }
.btn-ghost:hover { background: rgba(22, 10, 5, 0.6); }
.btn-ink { background: var(--ink); color: #fff5f6; }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-plain {
  background: none; border: 0; padding: 0.5rem 0.25rem; color: inherit;
  text-decoration: underline; text-underline-offset: 0.2em; font-weight: 600; min-height: 2.75rem;
}
.btn-plain[disabled] { opacity: 0.5; cursor: not-allowed; }
.text-link {
  font-weight: 700; color: var(--rosa); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 0.22em;
}
.text-link::after { content: " \2192"; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; align-items: center; gap: 1.5rem;
  padding: calc(0.8rem + env(safe-area-inset-top, 0px)) var(--gutter) 0.8rem;
  transition: background-color 0.3s;
}
.top.solid { background: rgba(22, 10, 5, 0.94); box-shadow: 0 1px 0 var(--line); }
.mark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.mark-name { font-family: var(--display); font-size: 1.75rem; color: var(--rosa); }
.mark-sub { font-size: 0.78rem; font-weight: 600; color: var(--sugar-2); margin-top: 0.3rem; letter-spacing: 0.02em; }
.nav { display: flex; gap: 1.6rem; }
.nav a {
  text-decoration: none; font-weight: 650; font-size: 0.98rem; color: var(--sugar);
  padding: 0.5rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--rosa); }
.top-call { min-height: 2.6rem; padding: 0.45rem 1.05rem; }

/* ---------- film ---------- */
.film { position: relative; height: calc(4.6 * 150vh); background: var(--ground-deep); }
.film-stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: var(--ground-deep) url(/film/w/poster.jpg) center / cover no-repeat;
}
.film-canvas, .film-paper { position: absolute; inset: 0; width: 100%; height: 100%; z-index: var(--z-film); }
.film-paper { z-index: var(--z-paper); }
.film-top { position: absolute; inset: 0 0 auto 0; height: 9rem; z-index: var(--z-top); pointer-events: none; background: linear-gradient(180deg, rgba(22, 10, 5, 0.92) 0, rgba(22, 10, 5, 0.82) 40%, rgba(22, 10, 5, 0) 100%); }
.film-fade {
  position: absolute; inset: 0; z-index: var(--z-top); pointer-events: none; opacity: 0;
  background: linear-gradient(0deg, var(--ground) 0, rgba(33, 17, 10, 0.94) 34%, rgba(33, 17, 10, 0.55) 52%, rgba(33, 17, 10, 0) 72%);
}
.film-shade {
  position: absolute; inset: 0; z-index: var(--z-shade); pointer-events: none;
  background:
    linear-gradient(90deg, rgba(22, 10, 5, 0.82) 0, rgba(22, 10, 5, 0.55) 30%, rgba(22, 10, 5, 0) 58%),
    linear-gradient(0deg, rgba(22, 10, 5, 0.55) 0, rgba(22, 10, 5, 0) 30%);
}
.beat {
  position: absolute; z-index: var(--z-beat);
  left: var(--gutter); bottom: 13vh; width: min(34rem, calc(100% - 2 * var(--gutter)));
  visibility: hidden; opacity: 0;
  text-shadow: 0 1px 14px rgba(22, 10, 5, 0.65);
}
.beat-hero { visibility: visible; opacity: 1; bottom: 15vh; }
.beat p { margin: 0.6rem 0 0; font-size: 1.12rem; color: var(--sugar); max-width: 30rem; }
.beat .text-link { display: inline-block; margin-top: 0.9rem; }
.hello { font-family: var(--display); color: var(--rosa); font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin: 0 !important; }
h1 { margin: 0.15rem 0 0; line-height: 0.98; font-weight: 400; text-wrap: balance; }
.h1-name { display: block; font-family: var(--display); font-size: clamp(2.6rem, 11vw, 5rem); color: var(--sugar); letter-spacing: 0.005em; }
.h1-kind { display: block; font-family: var(--text); font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: 0.32em; text-transform: uppercase; color: var(--sugar-2); margin-top: 0.55rem; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem) !important; line-height: 1.5; }
.scroll-cue { font-size: 0.9rem !important; font-weight: 600; color: var(--sugar-2) !important; margin-top: 1.6rem !important; display: flex; align-items: center; gap: 0.6rem; }
.scroll-cue::before { content: ""; width: 2.2rem; height: 2px; background: var(--rosa); }
.beat-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.02; margin: 0; color: var(--sugar); text-wrap: balance; }
.beat-end { bottom: 9vh; }
.chapters {
  position: absolute; z-index: var(--z-beat); right: var(--gutter); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0.5rem 0.9rem; display: flex; flex-direction: column; gap: 0.1rem;
  background: rgba(22, 10, 5, 0.8); border-radius: 14px;
}
.chapters a {
  display: flex; align-items: center; justify-content: flex-end; gap: 0.7rem; min-height: 2.75rem;
  text-decoration: none; font-weight: 700; font-size: 0.92rem; color: var(--sugar-2);
  text-shadow: 0 1px 10px rgba(22, 10, 5, 0.9);
}
.chapters a::after { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 2px solid var(--sugar-2); transition: background-color 0.25s, transform 0.25s; }
.chapters a.on { color: var(--sugar); }
.chapters a.on::after { background: var(--rosa); border-color: var(--rosa); transform: scale(1.35); }

/* ---------- section heads ---------- */
.sec-head { max-width: 46rem; }
.sec-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; margin: 0; color: var(--rosa); text-wrap: balance; }
.sec-lede { font-size: 1.15rem; color: var(--sugar-2); margin: 1rem 0 0; max-width: 40rem; text-wrap: pretty; }

/* ---------- the case ---------- */
.vitrina { padding-block: clamp(4.5rem, 10vw, 8rem) clamp(4rem, 8vw, 6rem); background: var(--ground); }
.case-tools { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 2.6rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 2.75rem; padding: 0.45rem 1rem; border-radius: 999px;
  background: transparent; border: 2px solid rgba(251, 241, 238, 0.35); color: var(--sugar);
  font-weight: 650; font-size: 0.95rem; touch-action: manipulation;
}
.chip:hover { border-color: var(--rosa); }
.chip[aria-pressed="true"] { background: var(--rosa); border-color: var(--rosa); color: var(--ink); }
.search { display: flex; flex-direction: column; gap: 0.35rem; min-width: min(18rem, 100%); }
.search label { font-size: 0.9rem; font-weight: 650; color: var(--sugar-2); }
.search input {
  min-height: 2.9rem; padding: 0.5rem 1rem; border-radius: 999px;
  border: 2px solid rgba(251, 241, 238, 0.45); background: var(--ground-2); color: var(--sugar);
}
.search input::placeholder { color: #bea69c; }
.search input:focus-visible { border-color: var(--yema); }
.case-status { min-height: 1.5rem; margin: 1rem 0 0; font-size: 0.95rem; color: var(--sugar-2); }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 2.5rem; align-items: start; margin-top: 1rem; }
.shelves { min-width: 0; }
.shelf {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.75rem; align-items: start;
  padding: 2rem 0 2.1rem; position: relative;
}
.shelf::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 2px;
  background: linear-gradient(180deg, #d9dcdf 0, var(--steel) 45%, #6f7377 100%);
  opacity: 0.55;
}
.shelf-nopic { grid-template-columns: minmax(0, 1fr); }
.shelf[hidden] { display: none; }
.shelf-pic { width: 8.5rem; height: 8.5rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--ground-3), 4px 7px 0 4px rgba(10, 4, 2, 0.5); }
.shelf-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.05; margin: 0.2rem 0 1rem; color: var(--sugar); }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.15rem 1.75rem; }
.item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 0.75rem;
  align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--line);
}
.item[hidden] { display: none; }
.it-name { font-weight: 700; font-size: 1.05rem; color: var(--sugar); grid-column: 1; }
.it-en { font-size: 0.92rem; color: var(--muted); grid-column: 1; }
.add {
  grid-column: 2; grid-row: 1 / span 2; min-height: 2.75rem; min-width: 4.4rem; padding: 0.35rem 0.9rem;
  border-radius: 999px; border: 2px solid var(--rosa); background: transparent; color: var(--rosa);
  font-weight: 700; font-size: 0.92rem; touch-action: manipulation;
  transition: background-color 0.18s, color 0.18s, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.add:hover { background: rgba(244, 168, 186, 0.14); }
.add.in { background: var(--rosa); color: var(--ink); }
.add.bump { transform: scale(1.08); }
.shelf-link { display: inline-block; margin-top: 1.1rem; }
.more {
  display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 0.9rem; padding: 0.4rem 1rem;
  border-radius: 999px; border: 2px solid rgba(251, 241, 238, 0.45); background: transparent; color: var(--sugar);
  font-weight: 700; font-size: 0.95rem; touch-action: manipulation;
}
.more:hover { border-color: var(--rosa); }
.more[hidden] { display: none; }
.nowrap { white-space: nowrap; }
.case-empty { padding: 2rem 0; font-size: 1.1rem; color: var(--sugar-2); }
.case-empty a { color: var(--rosa); font-weight: 700; }

/* your list: a sheet of wax paper */
.antojos { position: sticky; top: 6rem; }
.antojos-card {
  position: relative; color: var(--ink); background-color: var(--paper);
  background-image:
    linear-gradient(118deg, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 22%),
    linear-gradient(62deg, rgba(0, 0, 0, 0) 40%, rgba(120, 100, 95, 0.09) 41%, rgba(0, 0, 0, 0) 46%),
    linear-gradient(148deg, rgba(0, 0, 0, 0) 58%, rgba(120, 100, 95, 0.08) 59%, rgba(0, 0, 0, 0) 63%);
  padding: 1.6rem 1.4rem 1.4rem; border-radius: 3px;
  /* a hard offset shadow: a blurred one on this sticky card cost a 100+ ms raster when it scrolled in */
  box-shadow: 6px 8px 0 rgba(10, 4, 2, 0.55);
}
.antojos-title { font-family: var(--display); font-weight: 400; font-size: 1.9rem; margin: 0; color: var(--ink); line-height: 1.05; }
.antojos-help { font-size: 0.95rem; margin: 0.6rem 0 0; color: var(--ink-2); }
.antojos-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.antojos-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0; border-bottom: 1px dashed rgba(42, 15, 12, 0.3);
}
.al-name { font-weight: 650; }
.al-ctl { display: flex; align-items: center; gap: 0.25rem; }
.al-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 2px solid var(--ink);
  background: transparent; color: var(--ink); font-weight: 800; font-size: 1.1rem; line-height: 1;
  touch-action: manipulation;
}
.al-btn:hover { background: rgba(42, 15, 12, 0.08); }
.al-n { min-width: 1.6rem; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.antojos-count { font-weight: 700; margin: 0.9rem 0 0; min-height: 1.5rem; }
.antojos-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0.6rem; margin-top: 1rem; }
.antojos .btn-pink { background: var(--ink); color: #fff5f6; }
.antojos .btn-pink:hover { background: var(--ink-2); }
.antojos .btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.antojos .btn-ghost:hover { background: rgba(42, 15, 12, 0.07); }
.antojos .btn-plain { align-self: center; color: var(--ink); }
.antojos-note { font-size: 0.92rem; margin: 0.6rem 0 0; min-height: 1.4rem; color: var(--ink-2); }
.antojos :focus-visible { outline-color: var(--ink); }

/* ---------- big orders ---------- */
.fiesta { background: var(--fiesta); color: var(--ink); padding-block: clamp(4.5rem, 10vw, 7.5rem); color-scheme: light; }
.fiesta .sec-title { color: var(--ink); }
.fiesta .sec-lede { color: var(--ink-2); }
.fiesta :focus-visible { outline-color: var(--ink); }
.fiesta-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 2.2rem 3.5rem; align-items: start; }
.fiesta-intro { grid-column: 1 / -1; }
.planner { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.step { border: 0; margin: 0; padding: 1.3rem 0 1.5rem; border-bottom: 2px solid rgba(42, 15, 12, 0.18); min-width: 0; }
.step legend { font-family: var(--display); font-size: 1.55rem; line-height: 1.1; padding: 0; margin-bottom: 0.9rem; color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1.05rem; border-radius: 999px;
  border: 2px solid var(--ink); font-weight: 700; font-size: 0.98rem; color: var(--ink);
}
.pill input:checked + span { background: var(--ink); color: #fff5f6; }
.pill input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.steppers { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.stepper { display: flex; align-items: center; gap: 0.55rem; }
.st-label { font-weight: 700; min-width: 7.5rem; }
.st-btn {
  width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 2px solid var(--ink); background: rgba(255, 255, 255, 0.35);
  color: var(--ink); font-size: 1.3rem; font-weight: 800; line-height: 1; touch-action: manipulation;
}
.st-btn:hover { background: rgba(255, 255, 255, 0.6); }
.st-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.st-val { min-width: 2.2rem; text-align: center; font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.check { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; font-weight: 650; min-height: 2.75rem; }
.check[hidden] { display: none; }
.check input { width: 1.35rem; height: 1.35rem; accent-color: var(--ink); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.9rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.4rem; min-width: 0; }
.field label { font-weight: 700; font-size: 0.95rem; }
.opt { font-weight: 500; color: var(--ink-2); }
.field input, .field select {
  min-height: 2.9rem; padding: 0.5rem 0.8rem; border-radius: 10px; border: 2px solid var(--ink);
  background: #fff7f8; color: var(--ink); width: 100%;
}
.field input::placeholder { color: #7a5550; }
.field input:focus, .field input:focus-within, .field select:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.field input[disabled], .field select[disabled] { opacity: 0.55; cursor: not-allowed; }
.field input[aria-invalid="true"] { border-color: #8f1020; box-shadow: 0 0 0 2px #8f1020; }
.field-err { color: #7d0d1a; font-weight: 700; margin: 0.6rem 0 0; }
.field-err[hidden] { display: none; }
.ticket-col { position: sticky; top: 6rem; min-width: 0; }
.ticket {
  background: #fffaf9; color: var(--ink); padding: 1.6rem 1.5rem 1.4rem; border-radius: 4px;
  box-shadow: 6px 8px 0 rgba(42, 15, 12, 0.28);   /* hard, like the list card: a blurred one cost 70-80 ms to raster */
  background-image: radial-gradient(circle at 10px -2px, var(--fiesta) 7px, transparent 7.5px);
  background-size: 20px 12px; background-repeat: repeat-x; background-position: 0 0;
}
.ticket-head { font-family: var(--display); font-size: 1.45rem; margin: 0.4rem 0 0; line-height: 1.1; }
.ticket-text { font-size: 1.08rem; line-height: 1.6; margin: 1rem 0 0; min-height: 6rem; white-space: pre-line; }
.ticket-text.empty { color: var(--ink-2); }
.ticket-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.3rem; }
.ticket-note { font-size: 0.93rem; color: var(--ink-2); margin: 0.9rem 0 0; min-height: 1.4rem; }

/* ---------- visit ---------- */
.visita { background: var(--ground-2); padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.visita-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem 4rem; align-items: start; }
.blade {
  display: inline-block; font-size: 1.35rem; background: #0f5a3a; color: #ffffff;
  padding: 0.45rem 1.1rem 0.5rem; border-radius: 8px; border: 3px solid #ffffff; box-shadow: 0 0 0 2px #0f5a3a;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.6rem;
  transform: rotate(-1.5deg);
}
.addr { font-style: normal; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 750; line-height: 1.2; margin-top: 1.2rem; color: var(--sugar); }
.mini-title { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin: 0 0 0.6rem; color: var(--rosa); line-height: 1.1; }
.hours { padding: 1.6rem; border-radius: 6px; background: var(--ground-3); }
.hours p { margin: 0 0 1rem; color: var(--sugar-2); }
.clock { margin: 1.1rem 0 0 !important; font-size: 0.98rem; }
.clock span { color: var(--sugar); font-weight: 700; font-variant-numeric: tabular-nums; }
.know { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.7rem; }
.know li { color: var(--sugar-2); padding-left: 1.5rem; position: relative; }
.know li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--rosa); }
.know strong { color: var(--sugar); }
.hood { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 2.2rem; max-width: 52rem; }
.hood p { margin: 0; color: var(--sugar-2); font-size: 1.1rem; }

/* ---------- footer + dock ---------- */
.foot { background: var(--ground-deep); padding-block: 3rem calc(3rem + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; }
.foot p { margin: 0 0 0.4rem; color: var(--sugar-2); }
.foot a { color: var(--sugar); }
.foot-mark { font-family: var(--display); font-size: 1.6rem; color: var(--rosa) !important; }
.foot-small { font-size: 0.92rem; max-width: 30rem; }
.foot-legal { text-align: right; }
.disc { font-weight: 650; color: var(--sugar) !important; }
.credit { color: var(--sugar-2) !important; }
.credit a { color: var(--rosa); font-weight: 700; }
.dock { display: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .antojos { position: static; max-width: 34rem; }
  .fiesta-grid { grid-template-columns: minmax(0, 1fr); }
  .ticket-col { position: static; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .top { gap: 0.75rem; }
  .top-call { display: none; }
  .mark-name { font-size: 1.5rem; }
  .film { height: calc(4.6 * 125vh); }
  .film-stage { height: 100svh; background-image: url(/film/m/poster.jpg); }
  .film-top { height: 7.5rem; }
  .film-shade {
    background:
      linear-gradient(0deg, rgba(22, 10, 5, 0.9) 0, rgba(22, 10, 5, 0.7) 38%, rgba(22, 10, 5, 0) 66%);
  }
  .beat, .beat-hero, .beat-end { bottom: calc(6.2rem + env(safe-area-inset-bottom, 0px)); }
  .film-fade { background: linear-gradient(0deg, var(--ground) 0, rgba(33, 17, 10, 0.94) 42%, rgba(33, 17, 10, 0.5) 60%, rgba(33, 17, 10, 0) 78%); }
  .beat p { font-size: 1.04rem; }
  .scroll-cue { display: none !important; }
  .chapters { display: none; }
  .visita-grid { grid-template-columns: minmax(0, 1fr); }
  .shelf { grid-template-columns: 4.75rem minmax(0, 1fr); gap: 1rem; }
  .shelf-pic { width: 4.75rem; height: 4.75rem; }
  .foot-legal { text-align: left; }
  body { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock);
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(22, 10, 5, 0.96); box-shadow: 0 -1px 0 var(--line);
  }
  .dock-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 3rem;
    border-radius: 999px; text-decoration: none; font-weight: 750; font-size: 0.98rem;
    border: 2px solid rgba(251, 241, 238, 0.55); color: var(--sugar); touch-action: manipulation;
  }
  .dock-call { background: var(--rosa); border-color: var(--rosa); color: var(--ink); }
  .dock-n {
    display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.35rem;
    border-radius: 999px; background: var(--sugar); color: var(--ink); font-size: 0.85rem; font-variant-numeric: tabular-nums;
  }
}
@media (max-width: 460px) {
  .shelf { grid-template-columns: minmax(0, 1fr); }
  .shelf-pic { width: 4.25rem; height: 4.25rem; }
  .items { grid-template-columns: minmax(0, 1fr); }
  .st-label { min-width: 6rem; }
  .cta-row .btn { flex: 1 1 auto; }
}

/* short screens (a phone on its side): the captions shrink to fit under the header, the rail goes */
@media (max-height: 560px) {
  .top { padding-block: calc(0.5rem + env(safe-area-inset-top, 0px)) 0.5rem; }
  .chapters, .scroll-cue { display: none !important; }
  .beat, .beat-hero, .beat-end { bottom: 1.25rem; }
  .h1-name { font-size: clamp(2rem, 11vh, 3.2rem); }
  .h1-kind { margin-top: 0.25rem; font-size: 0.95rem; }
  .hello { font-size: 1.1rem; }
  .beat p, .lede { font-size: 0.98rem !important; margin-top: 0.35rem; }
  .beat-title { font-size: clamp(1.6rem, 9vh, 2.4rem); }
  .cta-row { margin-top: 0.7rem; }
  .cta-row .btn { min-height: 2.6rem; padding-block: 0.4rem; }
}

/* ---------- preferences: always last, after every breakpoint ---------- */
@media (prefers-reduced-motion: reduce) {
  .film, .film.is-still { height: 100vh; height: 100svh; }
  .beat:not(.beat-hero), .chapters { display: none; }
  .btn, .add, .chip { transition: none; }
  .btn:hover, .btn:active { transform: none; }
}
