/* =========================================================
   Mix Sushi-Bar — estilos
   Paleta: tinta, papel de arroz y el rojo del sello Mix
   ========================================================= */

:root {
  --ink: #0f0d0b;
  --ink-2: #181512;
  --ink-3: #24201c;
  --paper: #f1ebe1;
  --paper-2: #e6ddcf;
  --muted: #8d8478;
  --muted-light: #b5ab9d;
  --red: #d8232a;
  --red-deep: #a8151b;
  --line-dark: rgba(241, 235, 225, .14);
  --line-light: rgba(15, 13, 11, .14);

  --serif: "Shippori Mincho B1", "Times New Roman", serif;
  --sans: "Zen Kaku Gothic New", system-ui, sans-serif;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-style: normal; color: var(--red); }
::selection { background: var(--red); color: var(--paper); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Grano de papel sobre todo el sitio */
.grain {
  position: fixed; inset: -50%;
  z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- Tipografía común ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.25rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted-light);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--paper); }
.eyebrow .dot { display: none; }

.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.6rem;
  font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border-radius: 100px; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn--red { background: var(--red); color: var(--paper); }
.btn--red::after { background: var(--paper); }
.btn--red:hover { color: var(--ink); }
.btn--line { border: 1px solid currentColor; }
.btn--line::after { background: var(--paper); }
.btn--line:hover { color: var(--ink); border-color: var(--paper); }

.link-arrow {
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: .25rem;
  transition: color .3s;
}
.link-arrow::after { content: " ↗"; }
.link-arrow:hover { color: var(--red); }

/* =========================================================
   Loader
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--ink);
  clip-path: inset(0 0 0 0);
}
.js .loader { display: grid; }
html:not(.js) .loader { display: none; }
.loader__ring { position: absolute; width: 132px; height: 132px; transform: rotate(-90deg); }
.loader__ring circle {
  fill: none; stroke: var(--red); stroke-width: 1.2;
  stroke-dasharray: 290; stroke-dashoffset: 290;
}
.loader__logo { width: 96px; height: 96px; opacity: 0; transform: scale(.8); }

/* =========================================================
   Navegación
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem var(--pad);
  transition: background .5s var(--ease), padding .5s var(--ease), transform .5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(15, 13, 11, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding-top: .7rem; padding-bottom: .7rem;
  border-bottom: 1px solid var(--line-dark);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: .8rem; margin-right: auto; }
.nav__brand img { width: 40px; height: 40px; transition: transform .8s var(--ease); }
.nav__brand:hover img { transform: rotate(-20deg); }
.nav__brand span { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-light); }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  position: relative; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .7rem 1.2rem; border: 1px solid var(--red); border-radius: 100px;
  color: var(--paper); transition: background .4s var(--ease);
}
.nav__cta:hover { background: var(--red); }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--paper);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 7rem var(--pad) 2.5rem;
  background: var(--ink-2);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
}
.drawer.is-open { clip-path: inset(0 0 0 0); }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  font-family: var(--serif); font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1.15;
  border-bottom: 1px solid var(--line-dark); padding: .4rem 0;
}
.drawer__foot { display: flex; flex-direction: column; gap: .6rem; color: var(--muted-light); font-size: .9rem; }

/* =========================================================
   Hero — el círculo del logo se abre a pantalla completa
   ========================================================= */
.hero { position: relative; background: var(--ink); }
.hero__pin {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
}

/* Estampado MIXSUSHIBAR */
.hero__rows {
  position: absolute; inset: -6% 0;
  display: flex; flex-direction: column; justify-content: space-between;
  pointer-events: none;
}
.hero__row { overflow: visible; white-space: nowrap; }
.hero__row > div { display: inline-flex; will-change: transform; }
.hero__row span {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(4.5rem, 15vw, 15rem); line-height: .86; letter-spacing: -.02em;
  padding-right: .25em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(241, 235, 225, .16);
}
.hero__row--fill span { color: rgba(241, 235, 225, .06); -webkit-text-stroke: 0; }

/* Círculo con fotos */
.hero__circle {
  position: absolute; inset: 0;
  clip-path: circle(150% at 50% 50%);
  will-change: clip-path;
}
.hero__rim {
  position: absolute; inset: 0; background: var(--red);
  clip-path: circle(0px at 50% 50%);
}
html:not(.js) .hero__rim { display: none; }
.hero__slides { position: absolute; inset: 0; }
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.15);
  transition: opacity 1.2s var(--ease), transform 6s linear;
}
.hero__slides img.is-active { opacity: 1; transform: scale(1.02); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,13,11,.88) 0%, rgba(15,13,11,.62) 40%, rgba(15,13,11,.1) 75%),
    linear-gradient(180deg, rgba(15,13,11,.35), transparent 30%, transparent 55%, rgba(15,13,11,.75));
}
.hero__logo {
  position: absolute; left: 50%; top: 50%;
  width: clamp(150px, 26vmin, 280px); height: auto;
  transform: translate(-50%, -50%); opacity: 0;
  pointer-events: none; z-index: 3;
  filter: drop-shadow(0 30px 60px rgba(216, 35, 42, .35));
}

/* Texto final */
.hero__content {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 16vh; z-index: 4;
}
.hero__eyebrow { color: var(--paper); }
.hero__title {
  margin: 0 0 1.6rem;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3.2rem, 10vw, 10.5rem);
  line-height: .9; letter-spacing: -.04em;
  perspective: 900px;
}
.hero__line { display: block; white-space: nowrap; }
.hero__line--red { color: var(--red); padding-left: 8vw; }
.hero__title { text-shadow: 0 4px 40px rgba(15, 13, 11, .55); }
.hero__lead { max-width: 28rem; margin: 0 0 2rem; color: var(--paper-2); font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 1.6rem; z-index: 4;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light);
}
.hero__scroll { display: inline-flex; align-items: center; gap: .8rem; color: var(--paper); }
.hero__scroll i { position: relative; width: 1px; height: 34px; background: var(--line-dark); overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--red); animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip { to { top: 100%; } }

/* Letras sueltas (títulos) */
.char { display: inline-block; transform-origin: 50% 100%; will-change: transform; }
.word { display: inline-block; white-space: nowrap; }

@media (max-width: 720px) {
  .hero__content { bottom: 12vh; }
  .hero__line--red { padding-left: 0; }
  .hero__foot { display: none; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(15,13,11,.3) 0%, rgba(15,13,11,.15) 30%, rgba(15,13,11,.75) 55%, rgba(15,13,11,.95) 100%);
  }
}

/* =========================================================
   Marquesina
   ========================================================= */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  padding: 1.4rem 0;
  background: var(--ink);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.6rem; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: var(--serif); font-size: clamp(2rem, 4.8vw, 4.2rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--paper-2);
  transition: color .4s;
}
.marquee span:nth-of-type(3n+1) { color: var(--paper); -webkit-text-stroke: 0; }
.marquee b { width: .7rem; height: .7rem; border-radius: 50%; background: var(--red); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Manifiesto
   ========================================================= */
.manifesto {
  padding: clamp(6rem, 14vw, 12rem) var(--pad);
  background: var(--paper); color: var(--ink);
}
.manifesto .eyebrow { color: var(--muted); }
.manifesto__text {
  margin: 0; max-width: 72rem;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 4.3vw, 4rem); line-height: 1.16; letter-spacing: -.015em;
}
.manifesto__text .w { opacity: .14; transition: opacity .2s; }
html:not(.js) .manifesto__text .w { opacity: 1; }
.manifesto__text .w--red { color: var(--red); font-style: italic; }
.manifesto__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: clamp(4rem, 8vw, 7rem); padding-top: 2.5rem;
  border-top: 1px solid var(--line-light);
}
.manifesto__stats strong {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; color: var(--red);
}
.manifesto__stats strong::before { content: "+"; font-size: .5em; vertical-align: .7em; margin-right: .05em; }
.manifesto__stats strong.no-plus::before { content: none; }
.manifesto__stats span { display: block; margin-top: .6rem; font-size: .85rem; color: var(--muted); max-width: 14rem; }

/* =========================================================
   Firmas — scroll horizontal
   ========================================================= */
.signature { background: var(--ink); overflow: hidden; }
.signature__pin {
  min-height: 100vh;
  display: flex; align-items: center; gap: 5vw;
  padding: 6rem 0 6rem var(--pad);
  position: relative;
}
.signature__head { flex: none; width: min(36rem, 38vw); align-self: center; margin-right: 3vw; }
.signature__head .h2 { font-size: clamp(2.3rem, 4.3vw, 4.6rem); }
.signature__hint { margin-top: 2rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.signature__hint span { display: inline-block; animation: nudge 1.6s var(--ease) infinite; color: var(--red); }
@keyframes nudge { 50% { transform: translateX(6px); } }
.signature__track { flex: none; display: flex; align-items: flex-end; gap: 3vw; padding-right: var(--pad); }
.dish { flex: none; width: calc(54vh * .8); }
.dish--tall { width: calc(64vh * .72); }
.dish__img { overflow: hidden; height: 54vh; background: var(--ink-2); border-radius: var(--radius); }
.dish--tall .dish__img { height: 64vh; }
.dish__img img { width: 114%; max-width: none; margin-left: -7%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.dish:hover .dish__img img { transform: scale(1); }
.dish__meta { position: relative; padding-top: 1.2rem; }
.dish__no { position: absolute; right: 0; top: 1.3rem; font-size: .7rem; letter-spacing: .2em; color: var(--muted); }
.dish h3 { margin: 0 0 .35rem; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.1; }
.dish p { margin: 0 0 .7rem; color: var(--muted-light); font-size: .92rem; max-width: 26ch; }
.dish__price { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

/* =========================================================
   Carta
   ========================================================= */
.menu {
  background: var(--paper); color: var(--ink);
  padding: clamp(5rem, 10vw, 9rem) var(--pad) 4rem;
}
.menu .eyebrow { color: var(--muted); }
.menu__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line-light);
}
.menu__controls { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.switch {
  position: relative; display: inline-flex; padding: 4px;
  border: 1px solid var(--line-light); border-radius: 100px;
}
.switch button {
  position: relative; z-index: 1;
  padding: .7rem 1.5rem; border-radius: 100px;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  transition: color .4s var(--ease);
}
.switch button[aria-selected="true"] { color: var(--paper); }
.switch__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 100px;
  background: var(--ink);
  transition: transform .55s var(--ease), width .55s var(--ease);
}

.search {
  display: flex; align-items: center; gap: .6rem;
  border-bottom: 1px solid var(--ink); padding: .5rem .2rem; min-width: 18rem;
}
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; flex: none; }
.search input {
  border: 0; background: none; outline: none; width: 100%;
  font: inherit; font-size: .95rem; color: var(--ink);
}
.search input::placeholder { color: var(--muted); }

.menu__body { display: grid; grid-template-columns: 15rem 1fr; gap: 4rem; padding-top: 3rem; }
.menu__index { position: relative; }
.menu__index ul {
  position: sticky; top: 6rem;
  list-style: none; margin: 0; padding: 0;
  max-height: calc(100vh - 8rem); overflow: auto; scrollbar-width: none;
}
.menu__index ul::-webkit-scrollbar { display: none; }
.menu__index button {
  display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left;
  padding: .42rem 0; font-size: .9rem; color: var(--muted);
  transition: color .3s;
}
.menu__index button::before {
  content: ""; width: 0; height: 1px; background: var(--red); flex: none;
  transition: width .4s var(--ease);
}
.menu__index small { margin-left: auto; font-size: .68rem; letter-spacing: .1em; opacity: .7; }
.menu__index button:hover { color: var(--ink); }
.menu__index button.is-active { color: var(--ink); font-weight: 500; }
.menu__index button.is-active::before { width: 1.2rem; }
.menu__index.is-dim { opacity: .45; }

.menu__list { min-height: 70vh; }
.menu__next {
  display: flex; flex-direction: column; align-items: flex-start; gap: .3rem;
  width: 100%; margin-top: 1rem; padding: 2rem 0 0;
  border-top: 1px solid var(--ink);
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); text-align: left;
  transition: color .4s;
}
.menu__next span { font-family: var(--sans); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.menu__next i { font-style: normal; display: inline-block; transition: transform .5s var(--ease); color: var(--red); }
.menu__next:hover { color: var(--red); }
.menu__next:hover i { transform: translateX(10px); }

.menu__cat { padding: 0 0 3.5rem; scroll-margin-top: 6rem; }
.menu__cat-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.4rem;
}
.menu__cat h3 {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.01em;
}
.menu__cat-count { font-size: .72rem; letter-spacing: .2em; color: var(--muted); }
.menu__note { margin: -.6rem 0 1.4rem; font-size: .9rem; color: var(--muted); }
.menu__items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.5rem; }
.item {
  padding: 1rem 0; border-top: 1px solid var(--line-light);
}
.item__row { display: flex; align-items: baseline; gap: .8rem; }
.item__name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.25; }
.item__dots { flex: 1; border-bottom: 1px dotted rgba(15, 13, 11, .3); transform: translateY(-4px); min-width: 1rem; }
.item__price { font-variant-numeric: tabular-nums; font-size: .98rem; font-weight: 500; white-space: nowrap; }
.item__desc { margin: .3rem 0 0; font-size: .88rem; line-height: 1.5; color: #5f574d; max-width: 46ch; }
.item__sizes { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .45rem; font-size: .86rem; color: #5f574d; }
.item__sizes b { color: var(--ink); font-weight: 500; }
.tag {
  display: inline-block; vertical-align: middle; margin-left: .45rem;
  padding: .12rem .45rem; border-radius: 100px;
  font-family: var(--sans); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.tag--nuevo { background: var(--ink); color: var(--paper); }
.tag--picante { background: var(--red); color: var(--paper); }
.tag--local { border: 1px solid var(--ink); }
mark { background: rgba(216, 35, 42, .18); color: inherit; padding: 0 .1em; }
@keyframes itemIn { from { opacity: 0; transform: translateY(14px); } }
.js .item { animation: itemIn .7s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
.menu__empty { padding: 3rem 0; font-family: var(--serif); font-size: 1.6rem; color: var(--muted); }
.menu__legal { margin: 2rem 0 0; font-size: .8rem; color: var(--muted); }

/* =========================================================
   Barra
   ========================================================= */
.bar {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center;
  padding: 0 var(--pad);
  min-height: 100vh;
  background: var(--ink-2);
  overflow: hidden;
}
.bar__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; height: 100vh; align-content: center; overflow: hidden; }
.bar__col { display: flex; flex-direction: column; gap: 1.4rem; }
.bar__col:nth-child(2) { margin-top: 12vh; }
.bar__col img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.bar__text { max-width: 34rem; padding: 3rem 0; }
.bar__text .h2 { font-size: clamp(2.2rem, 4.2vw, 4rem); }
.bar__text > p:not(.eyebrow) { color: var(--muted-light); margin: 1.2rem 0 1.4rem; font-size: 1rem; }
.bar__list { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.bar__list li {
  display: flex; align-items: baseline; gap: .8rem;
  padding: .6rem 0; border-top: 1px solid var(--line-dark);
}
.bar__list li:last-child { border-bottom: 1px solid var(--line-dark); }
.bar__list span { font-family: var(--serif); font-size: 1.25rem; }
.bar__list i { flex: 1; }
.bar__list b { font-weight: 500; font-size: .95rem; color: var(--muted-light); }

/* =========================================================
   Terraza
   ========================================================= */
.terrace { position: relative; background: var(--ink); padding-bottom: clamp(4rem, 8vw, 8rem); }
.terrace__media {
  position: relative; height: 100vh; overflow: hidden;
  clip-path: inset(12% 18% 12% 18% round 4px);
}
.terrace__media img { width: 100%; height: 120%; object-fit: cover; }
.terrace__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,13,11,.75), transparent 55%),
    linear-gradient(180deg, transparent 45%, rgba(15,13,11,.8));
}
.terrace__copy {
  position: absolute; left: var(--pad); top: calc(100vh - 2rem); transform: translateY(-100%);
  z-index: 2; pointer-events: none;
}
.terrace__copy .h2 { font-size: clamp(2.8rem, 7vw, 7rem); }
.terrace__grid {
  display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 1.4rem;
  padding: clamp(2rem, 4vw, 3.5rem) var(--pad) 0;
  align-items: start;
}
.terrace__grid figure { margin: 0; }
.terrace__grid figure:nth-child(2) { margin-top: 3vh; }
.terrace__grid figure:nth-child(3) { margin-top: 0; }
.terrace__grid img { width: 100%; height: 52vh; object-fit: cover; border-radius: var(--radius); }

.terrace__grid figcaption { margin-top: .8rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); }

/* =========================================================
   Feed Instagram
   ========================================================= */
.feed { padding: clamp(3rem, 6vw, 5rem) var(--pad); background: var(--ink); border-top: 1px solid var(--line-dark); }
.feed__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 1.8rem; }
.feed__head .h2 { font-size: clamp(2rem, 4.5vw, 4rem); }
.feed__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: .5rem; }
.feed__grid a { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--ink-2); }
.feed__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.85); }
.feed__grid a::after {
  content: "↗"; position: absolute; right: .9rem; top: .7rem;
  color: var(--paper); font-size: 1.1rem; opacity: 0; transform: translate(-6px, 6px);
  transition: opacity .4s, transform .4s var(--ease);
}
.feed__grid a:hover img { transform: scale(1.06); filter: saturate(1.05); }
.feed__grid a:hover::after { opacity: 1; transform: none; }

/* =========================================================
   Visítanos
   ========================================================= */
.visit {
  display: grid; grid-template-columns: 1fr 1.1fr; min-height: 0;
  background: var(--paper); color: var(--ink);
}
.visit .eyebrow { color: var(--muted); }
.visit__info { padding: clamp(2.5rem, 5vw, 4rem) var(--pad); }
.visit__title { margin-bottom: 1.6rem; font-size: clamp(2.2rem, 4.2vw, 4rem); }
.visit__hours { margin: 0 0 1.4rem; }
.visit__hours div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0; border-top: 1px solid var(--line-light);
}
.visit__hours dt { color: var(--muted); font-size: .92rem; }
.visit__hours dd { margin: 0; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.visit__contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.6rem; }
.contact-row {
  display: flex; flex-direction: column; gap: .2rem;
  padding: .8rem 1rem; border: 1px solid var(--line-light); border-radius: var(--radius);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.contact-row span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.contact-row strong { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.contact-row:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.contact-row:hover span { color: var(--muted-light); }
.visit__map { position: relative; min-height: 420px; }
.visit__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) contrast(1.05) sepia(.15);
}

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); padding: clamp(2.5rem, 5vw, 4rem) var(--pad) 1.6rem; overflow: hidden; }
.footer__big {
  display: flex; flex-direction: column;
  font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; line-height: .9;
  font-size: clamp(3rem, 8.5vw, 8.5rem);
}
.footer__big span:last-child { color: var(--red); padding-left: 12vw; }
.footer__row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem;
  margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark);
  font-size: .85rem; color: var(--muted-light);
}
.footer__row p { margin: 0 auto 0 0; }
.footer__row nav { display: flex; gap: 1.8rem; }
.footer__row nav a:hover { color: var(--red); }

/* Botón flotante */
.fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  display: none; align-items: center; gap: .5rem;
  padding: .85rem 1.2rem; border-radius: 100px;
  background: var(--red); color: var(--paper);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.fab svg { width: 20px; height: 20px; fill: currentColor; }

/* =========================================================
   Estados de animación (solo con JS)
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }


  .signature__pin { min-height: 0; padding: 5rem 0; }
  .signature__track {
    width: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 1rem; scrollbar-width: none; align-items: flex-start;
  }
  .signature__track::-webkit-scrollbar { display: none; }
  .signature__head { width: 78vw; max-width: 340px; align-self: flex-start; padding-top: 1rem; }
  .dish, .dish--tall { width: 72vw; max-width: 340px; scroll-snap-align: start; }
  .dish__img, .dish--tall .dish__img { height: auto; aspect-ratio: 4 / 5; }

  .menu__body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .menu__index, .menu__list { min-width: 0; }
  .menu__index {
    position: sticky; top: 64px; z-index: 5;
    margin: 0 calc(var(--pad) * -1); padding: .6rem var(--pad);
    background: var(--paper); border-bottom: 1px solid var(--line-light);
  }
  .menu__index ul { position: static; display: flex; gap: .5rem; overflow-x: auto; max-height: none; }
  .menu__index button {
    white-space: nowrap; padding: .45rem .9rem; width: auto;
    border: 1px solid var(--line-light); border-radius: 100px; font-size: .8rem;
  }
  .menu__index button::before, .menu__index small { display: none; }
  .menu__index button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .menu__body { padding-top: 0; }
  .menu__list { padding-top: 2rem; min-height: 50vh; }

  .bar { grid-template-columns: 1fr; min-height: auto; padding-top: 5rem; }
  .bar__cols { height: auto; order: 2; padding-bottom: 4rem; }
  .bar { min-height: 0; }
  .feed__grid { grid-template-columns: repeat(4, 1fr); }
  .bar__col:nth-child(2) { margin-top: 3rem; }
  .bar__text { padding: 0; }

  .visit { grid-template-columns: 1fr; }
  .visit__map { min-height: 380px; }
  .fab { display: inline-flex; }
}

@media (max-width: 720px) {
  .nav__brand span { display: none; }
  .manifesto__stats { grid-template-columns: 1fr; gap: 2rem; }
  .menu__items { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; }
  .menu__controls { width: 100%; }
  .terrace__media { height: 75vh; }
  .terrace__copy { top: calc(75vh - 1.5rem); }
  .terrace__grid { grid-template-columns: 1fr 1fr; }
  .terrace__grid figure:nth-child(1) { grid-column: 1 / -1; }
  .terrace__grid img { height: 34vh; }
  .terrace__grid figure:nth-child(2) { margin-top: 0; }
  .feed__grid { grid-template-columns: repeat(4, 1fr); gap: .35rem; }
  .visit__contact { grid-template-columns: 1fr; }
  .footer__row nav { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .manifesto__text .w { opacity: 1; }
  .terrace__media { clip-path: none; }
}

/* =========================================================
   Efectos: cursor, rastro de fotos, barra roja
   ========================================================= */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%; background: var(--red);
  pointer-events: none; display: none;
  transform-origin: center;
}
.cursor span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--paper);
  scale: 0; transition: scale .35s var(--ease);
}
.has-cursor .cursor { display: block; scale: 0; transition: scale .35s var(--ease); }
.has-cursor .cursor.is-label { scale: 1; }
.cursor.is-label span { scale: 1; }

/* Rastro de fotos en "La casa" */
.manifesto { position: relative; overflow: hidden; isolation: isolate; }
.manifesto > *:not(.trail) { position: relative; z-index: 2; pointer-events: none; }
.trail { position: absolute; inset: 0; z-index: 1; }
.trail img {
  position: absolute; left: 0; top: 0;
  width: clamp(140px, 15vw, 230px); aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 2px; pointer-events: none;
  box-shadow: 0 20px 50px rgba(15, 13, 11, .25);
}
.trail__hint { letter-spacing: .2em; color: var(--red); }
@media (hover: none) { .trail__hint { display: none; } }

/* La barra se tiñe de rojo */
.bar { transition: none; }
.bar.is-red em { color: var(--ink); }
.bar.is-red .bar__text > p:not(.eyebrow), .bar.is-red .eyebrow, .bar.is-red .bar__list b { color: var(--paper); }
.bar.is-red .bar__list li { border-color: rgba(241, 235, 225, .3); }
.bar .bar__list b { transition: color .4s; }

/* Imágenes que se inclinan con la velocidad */
.skew { will-change: transform; }

/* Marquesina controlada por JS */
.js .marquee__track { animation: none; }
