/* ============================================================
   FIESTA MENDOZA : auténtica cocina mexicana
   ============================================================ */

:root {
  --ink: #1a110b;
  --ink-2: #2a1a10;
  --ink-3: #382214;
  --cream: #f6eeda;
  --cream-2: #eee2c8;
  --cream-dim: #d9c9a8;
  --red: #d23b26;
  --red-deep: #a32516;
  --gold: #eda52b;
  --gold-soft: #f5c25e;
  --green: #47774d;
  --pink: #e05a7a;
  --teal: #2f8c82;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");

  --ease-out: cubic-bezier(.2, .65, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 340;
  background: var(--ink);
  color: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

::selection { background: var(--gold); color: var(--ink); }

/* ---------- type helpers ---------- */
.eyebrow {
  font-weight: 640;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow-red  { color: var(--red); }
.eyebrow-gold { color: var(--gold); }

.display {
  font-family: var(--font-display);
  font-weight: 580;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin-top: .9rem;
}
.display em {
  font-weight: 460;
  color: var(--red);
}
.sec-dark .display em { color: var(--gold); }
.display-xl { font-size: clamp(3.6rem, 10vw, 8rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 560;
  font-size: .92rem;
  letter-spacing: .04em;
  padding: .8rem 1.7rem;
  border-radius: 999px;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(237, 165, 43, 0);
}
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 12px 30px -8px rgba(237, 165, 43, .55); }
.btn-ghost {
  border: 1.5px solid color-mix(in srgb, var(--cream) 42%, transparent);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--cream); }
.btn-big { font-size: 1.05rem; padding: 1rem 2.2rem; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--cream);
  display: grid; place-items: center;
  transition: opacity .7s ease .1s, visibility .7s .1s;
}
body.is-ready #preloader { opacity: 0; visibility: hidden; }
.pre-inner { display: grid; justify-items: center; gap: .7rem; }
.pre-brand {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.5rem; color: var(--ink);
  letter-spacing: .02em;
}
.pre-note { font-family: var(--font-hand); font-size: 1.25rem; color: var(--red); }
.pre-bar {
  width: 180px; height: 2px; background: color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 2px; overflow: hidden;
}
.pre-bar i {
  display: block; height: 100%; width: 5%;
  background: var(--gold);
  transition: width .3s ease;
}

/* ============================================================
   NAV
   ============================================================ */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2.4rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background .4s, padding .4s, box-shadow .4s;
}
#topbar.scrolled {
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: .7rem;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--cream) 8%, transparent);
}
.brand {
  font-family: var(--font-display);
  font-weight: 620; font-size: 1.18rem;
  display: inline-flex; align-items: center; gap: .5rem;
  margin-right: auto;
}
.brand-star { width: .8em; height: .8em; fill: var(--gold); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#topbar nav { display: flex; gap: 1.7rem; }
#topbar nav a {
  font-size: .88rem; font-weight: 460; letter-spacing: .05em;
  opacity: .82; transition: opacity .2s, color .2s;
}
#topbar nav a:hover { opacity: 1; color: var(--gold-soft); }
.btn-nav { font-size: .82rem; padding: .6rem 1.3rem; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background:
    radial-gradient(120% 68% at 50% 108%, rgba(210, 59, 38, .34), transparent 60%),
    radial-gradient(72% 48% at 50% 96%, rgba(237, 165, 43, .27), transparent 65%),
    radial-gradient(140% 100% at 50% 0%, #241408 0%, var(--ink) 55%);
}
#hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--noise);
  opacity: .07; pointer-events: none;
  mix-blend-mode: overlay;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 34% at 50% 46%, rgba(245, 194, 94, .16), transparent 70%);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .55; } }

#stage { position: absolute; inset: 0; width: 100%; height: 100%; }

/* papel picado garlands (flags injected by JS) */
.picado {
  position: absolute; left: -2%; right: -2%;
  display: flex; justify-content: center; gap: 6px;
  pointer-events: none; z-index: 3;
}
.picado-a { top: 66px; transform: rotate(-1.6deg); }
.picado-b { top: 52px; transform: rotate(1.1deg); opacity: .55; filter: brightness(.72); }
.picado svg { width: clamp(44px, 5.6vw, 74px); height: auto; flex: 0 0 auto; }
.picado .flag {
  transform-origin: 50% 0;
  animation: sway 4.4s ease-in-out infinite;
}
@keyframes sway {
  0%, 100% { transform: rotate(2.1deg); }
  50%      { transform: rotate(-2.1deg); }
}

.hero-fallback {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.4rem, 11vw, 8.5rem); line-height: .96;
  text-align: center;
}
.hero-fallback span:last-child { color: var(--gold); font-style: italic; }
body.no-webgl .hero-fallback { display: flex; }
body.no-webgl #stage { display: none; }

.hero-copy {
  position: absolute; left: 0; right: 0; bottom: clamp(84px, 13vh, 130px);
  display: grid; justify-items: center; text-align: center;
  gap: 1.1rem; z-index: 4;
  padding-inline: 1.4rem;
}
.hero-copy .eyebrow { color: var(--gold-soft); opacity: .92; }
.hero-tag {
  max-width: 34em;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  font-weight: 360;
  color: color-mix(in srgb, var(--cream) 88%, transparent);
  text-wrap: balance;
}
.hero-tag em {
  font-family: var(--font-display);
  color: var(--gold-soft);
  font-size: 1.06em;
}
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }

.scroll-cue {
  position: absolute; bottom: 54px; right: clamp(1.4rem, 4vw, 3.2rem);
  display: grid; justify-items: center; gap: .5rem;
  z-index: 4; opacity: .75; transition: opacity .3s;
}
.scroll-cue:hover { opacity: 1; }
.cue-text {
  font-family: var(--font-hand); font-size: 1.15rem; color: var(--gold-soft);
  writing-mode: vertical-rl;
}
.cue-line {
  width: 1.5px; height: 46px;
  background: linear-gradient(var(--gold-soft), transparent);
  overflow: hidden; position: relative;
}
.cue-line::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--cream);
  animation: drip 1.8s ease-in infinite;
}
@keyframes drip { to { top: 110%; } }

.hero-edge {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 5;
  line-height: 0;
}
.hero-edge svg { width: 100%; height: clamp(22px, 3vw, 42px); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--red);
  color: var(--cream);
  transform: rotate(-1.3deg) scale(1.02);
  margin-block: -12px 0;
  padding-block: .85rem;
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(163, 37, 22, .8);
  position: relative; z-index: 6;
}
.marquee-track {
  display: inline-flex; align-items: baseline; gap: 2.2rem;
  white-space: nowrap;
  padding-right: 2.2rem;
  animation: slide 26s linear infinite;
  will-change: transform;
}
@keyframes slide { to { transform: translateX(-50%); } }
.mq {
  font-weight: 620; font-size: 1.06rem; letter-spacing: .16em;
  text-transform: uppercase;
}
.mq-it {
  font-family: var(--font-display);
  font-style: italic; font-weight: 480;
  text-transform: none; letter-spacing: .01em;
  font-size: 1.25rem;
  color: var(--gold-soft);
}
.mq-star {
  color: var(--gold-soft); font-size: .8rem;
  display: inline-block;
  animation: starPulse 2.2s ease-in-out infinite;
}
@keyframes starPulse {
  0%, 100% { transform: scale(.82); opacity: .65; }
  50%      { transform: scale(1.22); opacity: 1; }
}

/* ============================================================
   SECTIONS : shared
   ============================================================ */
.sec { position: relative; isolation: isolate; }

/* ---------- ambient embers (dots injected by JS into [data-embers]) ---------- */
.embers {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
}
.embers i {
  position: absolute; bottom: -14px;
  width: var(--size, 4px); height: var(--size, 4px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--c, #f5c25e) 0%, transparent 72%);
  opacity: 0;
  animation: emberFloat var(--dur, 10s) linear var(--delay, 0s) infinite;
  will-change: transform, opacity;
}
@keyframes emberFloat {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  10%  { opacity: var(--o, .6); }
  82%  { opacity: var(--o, .6); }
  100% { transform: translate3d(var(--drift, 0px), calc(-1 * var(--rise, 55vh)), 0); opacity: 0; }
}

/* ---------- steam wisps over hot food ---------- */
.steam { position: absolute; left: 10%; bottom: 16%; width: 80%; height: 64%; pointer-events: none; }
.steam i {
  position: absolute; bottom: 0;
  width: 30px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(to top, transparent, rgba(255, 252, 244, .4) 45%, transparent);
  filter: blur(7px);
  opacity: 0;
  animation: steamRise 4.6s ease-in-out infinite;
}
.steam i:nth-child(1) { left: 16%; }
.steam i:nth-child(2) { left: 47%; height: 108px; animation-delay: 1.5s; }
.steam i:nth-child(3) { left: 76%; animation-delay: 3s; }
@keyframes steamRise {
  0%   { transform: translateY(26px) scaleX(1); opacity: 0; }
  30%  { opacity: .55; }
  100% { transform: translateY(-96px) translateX(10px) scaleX(1.7) skewX(-7deg); opacity: 0; }
}
.sec-cream {
  background: var(--cream);
  color: var(--ink);
}
.sec-dark {
  background: var(--ink);
  color: var(--cream);
  position: relative;
}
.sec-dark::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--noise);
  opacity: .05; pointer-events: none; mix-blend-mode: overlay;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   LA EXPERIENCIA
   ============================================================ */
#experiencia { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.4rem, 5vw, 4.5rem) clamp(5rem, 10vw, 9rem); }
.exp-grid {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 1280px; margin-inline: auto;
  align-items: start;
}
.exp-copy { position: sticky; top: 110px; }
.lead {
  margin-top: 1.4rem;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  max-width: 36em;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
}
.feature-list { list-style: none; margin-top: 2.2rem; display: grid; gap: 1.5rem; }
.feature-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.f-ico {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--red) 10%, transparent);
  color: var(--red);
}
.f-ico svg { width: 24px; height: 24px; }
.feature-list strong { font-weight: 620; font-size: 1.04rem; letter-spacing: .01em; }
.feature-list p { color: color-mix(in srgb, var(--ink) 72%, transparent); font-size: .95rem; max-width: 30em; }

.exp-media { position: relative; padding-bottom: 4.5rem; }
.arch {
  position: relative;
  border-radius: 999px 999px 26px 26px;
  overflow: hidden;
  aspect-ratio: 4 / 5.1;
  box-shadow: 0 34px 70px -30px rgba(26, 17, 11, .55);
  background: var(--ink-2);
}
.arch video { width: 100%; height: 100%; object-fit: cover; }
.arch .hand-note {
  position: absolute; bottom: 1rem; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-hand); font-size: 1.3rem;
  color: var(--cream);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .65);
}
.polaroid {
  position: absolute; bottom: 0; left: -8%;
  width: clamp(150px, 15vw, 210px);
  background: #fffdf6;
  padding: .55rem .55rem
 .4rem;
  border-radius: 6px;
  box-shadow: 0 22px 44px -18px rgba(26, 17, 11, .5);
  transform: rotate(-5deg);
  transition: transform .4s var(--ease-out);
}
.polaroid:hover { transform: rotate(-2deg) translateY(-6px); }
.polaroid img { border-radius: 3px; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption {
  font-family: var(--font-hand); font-size: 1.12rem;
  color: var(--ink-2); text-align: center; padding-top: .3rem;
}
.sun-stamp {
  position: absolute; top: -34px; right: -10px;
  width: clamp(72px, 7vw, 104px);
  color: var(--gold);
  animation: spin 30s linear infinite;
}

/* ============================================================
   EL MENÚ
   ============================================================ */
.sec-menu {
  background:
    linear-gradient(color-mix(in srgb, var(--cream-2) 55%, var(--cream)), var(--cream));
  padding: clamp(4rem, 8vw, 7rem) clamp(1.4rem, 5vw, 4.5rem) clamp(5rem, 9vw, 8rem);
}
.menu-head {
  max-width: 1280px; margin-inline: auto;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 3rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}
.menu-blurb {
  max-width: 30em;
  color: color-mix(in srgb, var(--ink) 74%, transparent);
  font-size: 1rem;
  padding-bottom: .4rem;
}
.bento {
  display: grid;
  max-width: 1280px; margin-inline: auto;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(220px, 24vw, 310px);
  gap: clamp(.8rem, 1.6vw, 1.3rem);
}
.tile {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink-2);
}
.tile-photo { grid-column: 1 / 5; grid-row: span 2; }
.tile-video { grid-column: 5 / 10; grid-row: 1; }
.tile-card  { grid-column: 10 / 13; grid-row: span 2; }
.tile-wide  { grid-column: 5 / 10; grid-row: 2; }

.tile img, .tile video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .5s;
}
.tile:hover img, .tile:hover video { transform: scale(1.045); }
.tile-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.4rem 1.15rem;
  background: linear-gradient(transparent, rgba(20, 11, 5, .82));
  color: var(--cream);
}
.tile-label h3 {
  font-family: var(--font-display);
  font-weight: 540; font-size: 1.45rem; letter-spacing: .01em;
}
.tile-label p { font-size: .88rem; opacity: .85; margin-top: .15rem; }

.tile-card {
  background: var(--ink);
  color: var(--cream);
  padding: 1.9rem 1.7rem;
  display: flex; flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent);
}
.card-eyebrow {
  font-family: var(--font-hand); font-size: 1.35rem; color: var(--gold-soft);
}
.card-menu { list-style: none; margin-top: 1.1rem; flex: 1; }
.card-menu li {
  font-family: var(--font-display);
  font-weight: 440; font-size: clamp(1.05rem, 1.3vw, 1.28rem);
  padding-block: .55rem;
  border-bottom: 1px dashed color-mix(in srgb, var(--cream) 22%, transparent);
}
.card-menu li:last-child { border-bottom: 0; }
.card-note {
  font-family: var(--font-hand);
  font-size: 1.22rem;
  line-height: 1.3;
  color: color-mix(in srgb, var(--cream) 62%, transparent);
  margin-top: 1.2rem;
}
.card-link {
  font-weight: 560; font-size: .9rem; letter-spacing: .04em;
  color: var(--gold);
  margin-top: 1rem;
  transition: color .2s;
}
.card-link:hover { color: var(--gold-soft); }
.card-link span { display: inline-block; transition: transform .3s var(--ease-out); }
.card-link:hover span { transform: translateX(5px); }

/* ============================================================
   GALERÍA
   ============================================================ */
#galeria { padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem); }
.gal-head {
  max-width: 1280px; margin-inline: auto;
  padding-inline: clamp(1.4rem, 5vw, 4.5rem);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  margin-bottom: 2.6rem;
}
.gal-hint {
  font-family: var(--font-hand); font-size: 1.3rem;
  color: var(--gold-soft); opacity: .85;
  padding-bottom: .5rem;
  flex: 0 0 auto;
}
.strip {
  display: flex; gap: clamp(.9rem, 1.8vw, 1.5rem);
  overflow-x: auto;
  padding: .5rem clamp(1.4rem, 5vw, 4.5rem) 1.6rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.cell {
  flex: 0 0 auto;
  scroll-snap-align: center;
  position: relative;
}
.cell img, .cell video {
  height: clamp(300px, 40vw, 420px);
  width: auto;
  border-radius: 14px;
  filter: saturate(.94) contrast(1.03);
  user-select: none;
  -webkit-user-drag: none;
}
.cell-sm img, .cell-sm video { height: clamp(230px, 30vw, 310px); }
.cell::before {
  content: ""; position: absolute; inset: 0 0 2.2rem;
  border-radius: 14px;
  background-image: var(--noise);
  opacity: .13; mix-blend-mode: overlay; pointer-events: none;
}
.cell figcaption {
  margin-top: .55rem;
  font-family: var(--font-hand); font-size: 1.18rem;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
}
.cell figcaption b {
  font-family: var(--font-body); font-weight: 620; font-size: .72rem;
  letter-spacing: .14em; color: var(--gold);
  margin-right: .5rem;
}
.cell { align-self: center; }
.cell:nth-child(odd) { transform: rotate(.4deg) translateY(-8px); }
.cell:nth-child(even) { transform: rotate(-.5deg) translateY(10px); }

/* ============================================================
   QUOTE
   ============================================================ */
.sec-quote {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.4rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.q-mark { width: 44px; margin-inline: auto; fill: var(--red); opacity: .9; }
.sec-quote blockquote { max-width: 56rem; margin: 1.6rem auto 0; }
.sec-quote blockquote p {
  font-family: var(--font-display);
  font-style: italic; font-weight: 440;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  text-wrap: balance;
}
.sec-quote cite {
  display: block; margin-top: 1.4rem;
  font-style: normal;
  font-family: var(--font-hand); font-size: 1.4rem;
  color: var(--gold-soft);
}
.mini-picado {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 2.6rem;
}
.mini-picado i {
  width: 26px; height: 30px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}
.mini-picado i:nth-child(1) { background: var(--red); }
.mini-picado i:nth-child(2) { background: var(--gold); }
.mini-picado i:nth-child(3) { background: var(--teal); }
.mini-picado i:nth-child(4) { background: var(--pink); }
.mini-picado i:nth-child(5) { background: var(--green); }

/* ============================================================
   CONTACTO / CTA
   ============================================================ */
.sec-cta {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.4rem, 5vw, 4.5rem) clamp(5rem, 10vw, 9rem);
  background:
    radial-gradient(90% 70% at 50% 115%, rgba(210, 59, 38, .22), transparent 62%),
    var(--ink);
}
.cta-sub {
  max-width: 32em; margin: 1.6rem auto 0;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  font-size: 1.05rem;
}
.cta-row {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2.4rem;
}
.cta-note {
  margin-top: 2.2rem;
  font-family: var(--font-hand); font-size: 1.25rem;
  color: color-mix(in srgb, var(--gold-soft) 80%, transparent);
}
.cta-heat {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(72% 90% at 50% 112%, rgba(210, 59, 38, .3), transparent 66%),
    radial-gradient(42% 55% at 50% 108%, rgba(237, 165, 43, .22), transparent 70%);
  transform-origin: bottom center;
  animation: heatBreathe 5.5s ease-in-out infinite;
}
@keyframes heatBreathe {
  0%, 100% { opacity: .6; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #120b06;
  position: relative;
  padding-top: 10px;
  overflow: hidden;
}
.picado-footer {
  position: relative;
  transform: none;
  margin-top: -4px;
  justify-content: space-around;
  opacity: .95;
}
.picado-footer svg { width: clamp(40px, 5vw, 64px); }
.foot-row {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1280px; margin-inline: auto;
  padding: 2.6rem clamp(1.4rem, 5vw, 4.5rem) 2.8rem;
}
.foot-brand { font-family: var(--font-display); font-weight: 620; font-size: 1.15rem; }
footer nav { display: flex; gap: 1.6rem; }
footer nav a { font-size: .85rem; opacity: .7; transition: opacity .2s; }
footer nav a:hover { opacity: 1; }
.foot-line { font-size: .85rem; opacity: .62; }
.chile {
  filter: hue-rotate(-6deg);
  display: inline-block;
  transform-origin: 50% 92%;
  animation: wiggle 2.8s ease-in-out infinite;
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-9deg); }
  50%      { transform: rotate(11deg); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .bento { grid-auto-rows: auto; }
  .tile-photo { grid-column: 1 / 7;  grid-row: auto; height: clamp(320px, 46vw, 460px); }
  .tile-video { grid-column: 7 / 13; grid-row: auto; height: clamp(320px, 46vw, 460px); }
  .tile-wide  { grid-column: 1 / 13; grid-row: auto; height: clamp(260px, 36vw, 380px); }
  .tile-card  { grid-column: 1 / 13; grid-row: auto; }
}
@media (max-width: 860px) {
  #topbar nav { display: none; }
  .exp-grid { grid-template-columns: 1fr; }
  .exp-copy { position: static; }
  .exp-media { max-width: 480px; margin-inline: auto; }
  .menu-head { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}
@media (max-width: 640px) {
  .tile-photo, .tile-video, .tile-wide { grid-column: 1 / 13; height: min(80vw, 430px); }
  .tile-card { grid-column: 1 / 13; }
  .hero-copy { bottom: 74px; }
  .scroll-cue { display: none; }
  .polaroid { left: -2%; }
  .btn-nav { display: none; }
}

/* ============================================================
   SNAP MODE (?snap) : instant render for screenshots
   ============================================================ */
html.snap #preloader { display: none; }
html.snap [data-reveal] { opacity: 1; transform: none; transition: none; }
html.snap #hero { height: 900px; min-height: 0; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .picado .flag { animation: none; }
  .brand-star, .sun-stamp { animation: none; }
  .cue-line::after { animation: none; }
  .hero-glow { animation: none; }
  .embers i, .steam i, .mq-star, .chile, .cta-heat { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
