/* Manantial, v2. Direction: "The place carries it" (taste-skill sheet in website/.taste-skill/direction.json).
   Colours come from the shop: the navy of the sign letters, the pink of the Frozen Treats neon, the white tile.
   One face (Sentient), five sizes, square corners, one button. */

:root {
  --bg: #0e1a33;
  --surface: #182a50;
  --ink: #ffffff;
  --muted: #b8c2d8;
  --accent: #ff5fa8;
  --accent-strong: #ff86bd;
  --accent-ink: #0e1a33;
  --field-1: #000000;
  --field-1-ink: #ffffff;
  --field-2: #ffffff;
  --field-2-ink: #0e1a33;
  --field-2-muted: #4d5874;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --step-lead: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.2vw, 4rem);

  --m: 32px;
  --gutter: 24px;
  --bar-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}
@media (max-width: 800px) { :root { --m: 20px; --gutter: 16px; --bar-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar-h); }
body { margin: 0; background: var(--bg); font-family: "Sentient", Georgia, serif; font-size: var(--step-body); font-weight: 400; line-height: 1.55; overflow-x: clip; }
html[lang="es"] [data-l="en"], html[lang="en"] [data-l="es"] { display: none !important; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
h1, h2, h3 { font-weight: 300; letter-spacing: -0.015em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.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; }

/* The one button */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 0;
  font: 500 var(--step-small)/1 "Sentient", Georgia, serif; text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 180ms ease;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--accent-strong); } }

/* Bar: wordmark, a few links, one action. Clear over the film, solid after it. */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--m); color: #fff;
  transition: background-color 240ms ease;
}
.bar.is-solid { background: var(--bg); }
.bar-mark { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: var(--step-small); font-weight: 500; }
.bar-mark img { width: 40px; height: 40px; }
.bar-status { margin: 0 0 0 4px; font-size: var(--step-small); }
.bar-links { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: var(--step-small); }
.bar-links a, .bar-lang { color: inherit; text-decoration: underline; text-decoration-color: transparent; padding: 10px 0; background: none; border: 0; font: inherit; cursor: pointer; transition: text-decoration-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .bar-links a:hover, .bar-lang:hover { text-decoration-color: currentColor; } }
.bar-menu { display: none; }
.bar-action { min-height: 40px; padding: 0 18px; }

@media (max-width: 800px) {
  .bar { gap: 12px; }
  .bar-mark span, .bar-status { display: none; }
  .bar-menu { display: block; background: none; border: 0; color: inherit; font: 500 var(--step-small)/1 "Sentient", Georgia, serif; padding: 12px 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 0.25em; }
  .bar-action { margin-left: auto; padding: 0 16px; }
  .bar-links { display: none; }
  .bar.is-open { background: var(--bg); }
  .bar.is-open .bar-links {
    display: flex; position: fixed; top: var(--bar-h); left: 0; right: 0; bottom: 0; margin: 0;
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px var(--m); background: var(--bg);
    font-size: var(--step-lead);
  }
}

/* Hero: the film, the name along the bottom edge like a title card */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #000; color: #fff; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160px; z-index: 1; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0)); } /* taste-skill-ignore: neutral scrim over a photo */
.hero-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 48%; background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0)); } /* taste-skill-ignore: neutral scrim over a photo */
.hero-foot { position: absolute; left: var(--m); right: var(--m); bottom: 34px; z-index: 2; }
.hero-line { margin: 0 0 8px; max-width: 40ch; font-size: var(--step-body); line-height: 1.45; }
.hero-status { display: none; }
.hero-name { margin: 0; font-size: 17.5vw; font-weight: 300; line-height: 0.82; letter-spacing: -0.02em; white-space: nowrap; }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: block; }
.hero-name .line > span { display: inline-block; }

@media (max-width: 800px) {
  .hero-foot { bottom: 14px; }
  .hero-line { max-width: 30ch; margin-bottom: 10px; line-height: 1.4; }
  .hero-status { display: block; margin: 6px 0 0; font-size: var(--step-small); font-weight: 500; }
}

/* Dishes: three full-screen close-ups, a card that steps one column right each time */
.dish {
  position: relative; height: 100svh; min-height: 680px; overflow: hidden;
  display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--gutter); align-items: center; padding: 0 var(--m);
  background: #000;
}
.dish-bg { position: absolute; inset: 0; margin: 0; display: block; }
.dish-bg img, .dish-bg video { width: 100%; height: 100%; object-fit: cover; }
.dish-bg > picture, .dish-bg > video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.dish-card {
  position: relative; grid-column: var(--col); min-height: 52svh; padding: 28px 24px 0;
  display: flex; flex-direction: column; text-align: center;
  background: var(--field-2); color: var(--field-2-ink);
}
.dish-head { display: contents; }
.dish-card h2 { order: 1; margin: 0 0 12px; font-size: var(--step-lead); line-height: 1.05; }
.dish-card > p { order: 2; margin: 0 0 8px; font-size: var(--step-body); line-height: 1.4; }
.dish-card .dish-fact { order: 3; font-weight: 500; }
.dish-whole { order: 4; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin: 12px 0 24px; }
.dish-card .btn { order: 5; margin: auto -24px 0; width: calc(100% + 48px); min-height: 52px; }

@media (max-width: 800px) {
  .dish { display: block; padding: 0; min-height: 640px; }
  .dish-card { position: absolute; left: 0; right: 0; bottom: 0; min-height: 0; padding: 20px var(--m) 0; text-align: left; }
  .dish-card .dish-fact { margin-bottom: 20px; }
  .dish-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; order: 1; }
  .dish-whole { width: 96px; flex: none; margin: 0; }
  .dish-card .btn { margin: auto calc(var(--m) * -1) 0; width: calc(100% + var(--m) * 2); min-height: 56px; }
}

/* The menu: the picture holds, the list moves */
.carta {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: start;
  padding: 200px var(--m); background: var(--field-2); color: var(--field-2-ink);
}
.carta > h2 { grid-column: 7 / 13; grid-row: 1; margin: 0 0 48px; font-size: var(--step-head); line-height: 1; }
.carta-pic { grid-column: 1 / 6; grid-row: 1 / span 2; position: sticky; top: 12vh; margin: 0; width: min(100%, 34vw); aspect-ratio: 4 / 5; overflow: hidden; background: #e9ecf2; }
.carta-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 300ms ease; }
.carta-pic img.is-on { opacity: 1; }
.carta-list { grid-column: 7 / 13; grid-row: 2; }
.carta-list ul { list-style: none; margin: 0 0 40px; padding: 0; }
.carta-list button {
  width: 100%; min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 0; background: none; border: 0; text-align: left; cursor: pointer;
  font: 400 var(--step-body)/1.3 "Sentient", Georgia, serif; color: var(--field-2-muted);
  transition: color 180ms ease;
}
.carta-price { font-size: var(--step-small); color: var(--field-2-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.carta-list li.is-active button { color: var(--field-2-ink); }
.carta-list li p { margin: 0 0 18px; max-width: 34ch; font-size: var(--step-body); line-height: 1.45; color: var(--field-2-ink); }
.js .carta-list li p { display: none; }
.js .carta-list li.is-active p { display: block; }

@media (max-width: 800px) {
  .carta { display: block; padding: 96px 0 96px; }
  .carta-pic { position: sticky; top: var(--bar-h); z-index: 2; width: 100%; height: 38svh; aspect-ratio: auto; }
  .carta > h2 { margin: 0 var(--m) 24px; }
  .carta-list { padding: 24px var(--m) 0; }
  .carta-list button { min-height: 56px; }
}

/* Where they come from */
.origen { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding: 200px var(--m) 0; }
.origen > h2 { grid-column: 1 / -1; margin: 0 0 24px; font-size: var(--step-head); line-height: 1; }
.origen-lead { grid-column: 1 / 8; margin: 0; }
.origen-tiles { grid-column: 1 / -1; margin-top: 72px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: start; }
.origen-photo { grid-column: 1 / 9; position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.origen-photo img { width: 100%; height: 100%; object-fit: cover; }
.origen-photo figcaption { position: absolute; top: 0; right: 0; width: 360px; padding: 20px; background: var(--field-2); color: var(--field-2-ink); line-height: 1.45; }
.origen-side { grid-column: 9 / 13; }
.origen-map { background: var(--surface); aspect-ratio: 4 / 3; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.origen-map svg { width: 100%; height: auto; }
.origen-map path { fill: var(--ink); }
.origen-map circle { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.origen-pin { margin: 12px 0 0; font-size: var(--step-small); }
.origen-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin: 24px 0 0; font-size: var(--step-small); }
.origen-facts dt { color: var(--muted); }
.origen-facts dd { margin: 2px 0 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.pase { grid-column: 8 / 12; position: relative; z-index: 3; margin: 120px 0 -96px; padding: 28px; background: var(--bg); }
.pase h2 { margin: 0 0 12px; font-size: var(--step-head); line-height: 1; }
.pase p { margin: 0; }

@media (max-width: 800px) {
  .origen { display: block; padding-top: 120px; }
  .origen > h2 { font-size: 9vw; }
  .origen-tiles { display: block; margin-top: 40px; }
  .origen-photo { aspect-ratio: auto; }
  .origen-photo img { aspect-ratio: 4 / 3; height: auto; }
  .origen-photo figcaption { position: static; width: auto; padding: 16px 0 0; background: none; color: var(--ink); }
  .origen-side { margin-top: 32px; }
  .origen-map { aspect-ratio: 3 / 2; }
  .pase { margin: 96px 0 -64px; width: 88%; padding: 20px; }
}

/* Curtain: three full screens, each slides over the last */
.curtain { position: relative; }
.curtain-frame { position: sticky; top: 0; height: 100svh; margin: 0; overflow: hidden; background: #000; }
.curtain-frame img, .curtain-frame video { width: 100%; height: 100%; object-fit: cover; }
.curtain-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)); } /* taste-skill-ignore: neutral scrim over a photo */
.curtain-frame figcaption { position: absolute; left: var(--m); right: var(--m); bottom: 24px; z-index: 1; font-size: var(--step-small); color: #fff; }
@media (max-width: 800px) { .curtain-frame { height: 88svh; } }

/* What people say */
.voz { position: relative; height: 90svh; min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; background: #000; }
.voz-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.voz::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0)); } /* taste-skill-ignore: neutral scrim over a photo */
.voz-text { position: relative; z-index: 1; width: 78%; padding: 0 var(--m) 64px; }
.voz-title { margin: 0 0 20px; font-size: var(--step-head); line-height: 1; }
.voz blockquote { margin: 0; }
.voz blockquote p { margin: 0; font-size: var(--step-lead); font-weight: 300; line-height: 1.2; }
.voz-cite { margin: 20px 0 0; font-size: var(--step-small); }
@media (max-width: 800px) { .voz-text { width: 100%; padding-bottom: 40px; } }

/* Visit: the storefront and one card */
.visita { position: relative; height: 100svh; min-height: 720px; overflow: hidden; background: #000; }
.visita-bg { position: absolute; inset: 0; margin: 0; display: block; }
.visita-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.visita-card {
  position: absolute; top: calc(var(--bar-h) + 40px); right: var(--m); width: 380px; padding: 32px 32px 0;
  display: flex; flex-direction: column; background: var(--field-2); color: var(--field-2-ink);
}
.visita-card h2 { margin: 0 0 16px; font-size: var(--step-lead); line-height: 1.05; }
.visita-card p { margin: 0 0 16px; }
.hours { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.hours th { text-align: left; font-weight: 400; padding: 3px 12px 3px 0; white-space: nowrap; }
.hours td { text-align: right; padding: 3px 0; font-variant-numeric: tabular-nums; }
.visita-today { font-weight: 500; }
.visita-card .btn { margin: 8px -32px 0; width: calc(100% + 64px); min-height: 52px; }
@media (max-width: 800px) {
  .visita { height: auto; min-height: 0; overflow: visible; background: var(--bg); }
  .visita-bg { position: relative; height: 70svh; }
  .visita-card { position: relative; top: auto; right: auto; width: auto; margin: -80px 16px 0; padding: 24px 24px 0; }
  .visita-card .btn { margin: 8px -24px 0; width: calc(100% + 48px); min-height: 56px; }
}

/* Order: plain two-column block */
.pedir { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding: 200px var(--m); align-items: stretch; }
.pedir-list { grid-column: 1 / 7; }
.pedir-list h2 { margin: 0 0 40px; font-size: var(--step-head); line-height: 1; }
.pedir-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pedir-list li a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; padding: 0 24px;
  background: var(--surface); text-decoration: none; transition: background-color 180ms ease, transform 140ms var(--ease-out);
}
.pedir-list li a:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .pedir-list li a:hover { background: #22386a; } }
.pedir-name { display: flex; align-items: center; gap: 14px; font-size: var(--step-lead); line-height: 1; }
.pedir-name img { width: 32px; height: 32px; }
.pedir-name svg { width: 30px; height: 30px; fill: currentColor; }
.pedir-name .gh { width: auto; height: 26px; }
.pedir-how { font-size: var(--step-small); color: var(--muted); white-space: nowrap; }
.pedir-note { margin: 16px 0 0; font-size: var(--step-small); color: var(--muted); }
.pedir-side { grid-column: 8 / 13; display: grid; gap: 16px; align-content: start; }
.pedir-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.pedir-map { min-height: 260px; }
.pedir-map { position: relative; background: var(--surface); }
.pedir-map-alt { position: absolute; left: 20px; right: 20px; bottom: 20px; font-size: var(--step-small); }
.pedir-map iframe { position: relative; }
.pedir-map iframe { width: 100%; height: 100%; min-height: 100%; border: 0; }
@media (max-width: 800px) {
  .pedir { display: block; padding: 120px var(--m) 96px; }
  .pedir-side { margin-top: 40px; grid-template-columns: 1fr; }
  .pedir-name { font-size: var(--step-body); }
  .pedir-map iframe { min-height: 320px; }
}

/* Footer: photograph half, menu half */
.pie { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--field-1); color: var(--field-1-ink); }
.pie-photo { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.pie-side { display: flex; flex-direction: column; padding: 80px var(--m) 32px 48px; }
.pie-mark { align-self: flex-start; color: var(--accent); font-size: var(--step-body); font-weight: 500; text-decoration: none; }
.pie-menu { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 48px; font-size: var(--step-lead); font-weight: 500; line-height: 1.1; }
.pie-menu a { text-decoration: none; transition: transform 320ms var(--ease-out), color 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .pie-menu a:hover { transform: translateX(12px); }
  .pie-menu:hover a:not(:hover) { color: var(--muted); }
}
.pie-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; font-size: var(--step-small); }
.pie-info p { margin: 0; }
.pie-legal { margin: auto 0 0; padding-top: 48px; font-size: var(--step-small); color: var(--muted); }
@media (max-width: 800px) {
  .pie { display: block; min-height: 0; }
  .pie-photo { height: 50svh; }
  .pie-side { padding: 48px var(--m) 32px; }
  .pie-info { grid-template-columns: 1fr; }
}

/* Menu page */
.mp-hero { position: relative; height: 72svh; min-height: 480px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; background: #000; }
.mp-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70%; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)); } /* taste-skill-ignore: neutral scrim over a photo */
.mp-hero-text { position: relative; z-index: 1; width: 100%; padding: 0 var(--m) 28px; }
.mp-lead { margin: 0 0 8px; max-width: 46ch; }
.mp-name { margin: 0; font-size: clamp(5rem, 15vw, 15rem); line-height: 0.85; letter-spacing: -0.02em; }
.mp-name .line > span { display: inline-block; }
.mp-jump { position: sticky; top: var(--bar-h); z-index: 10; display: flex; flex-wrap: wrap; gap: 4px 28px; padding: 14px var(--m); background: var(--bg); font-size: var(--step-small); }
.mp-jump a { text-decoration: underline; text-decoration-color: transparent; padding: 6px 0; transition: text-decoration-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .mp-jump a:hover { text-decoration-color: currentColor; } }
.mp-body { padding: 140px var(--m) 60px; background: var(--field-2); color: var(--field-2-ink); }
.mp-sec { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding-bottom: 160px; scroll-margin-top: calc(var(--bar-h) + 60px); }
.mp-title { grid-column: 1 / 6; position: sticky; top: calc(var(--bar-h) + 96px); align-self: start; }
.mp-title h2 { margin: 0 0 16px; font-size: var(--step-head); line-height: 1; }
.mp-title p { margin: 0; max-width: 30ch; }
.mp-items { grid-column: 7 / 13; list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.mp-items li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; }
.mp-item { font-weight: 500; }
.mp-price { font-variant-numeric: tabular-nums; }
.mp-desc { grid-column: 1 / -1; font-size: var(--step-small); color: var(--field-2-muted); }
.mp-pic { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; object-fit: cover; margin-top: 32px; }
.mp-band { position: relative; height: 80svh; min-height: 480px; margin: 0; overflow: hidden; background: #000; }
.mp-band picture, .mp-band video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.mp-band img, .mp-band video { width: 100%; height: 100%; object-fit: cover; }
.mp-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)); } /* taste-skill-ignore: neutral scrim over a photo */
.mp-band figcaption { position: absolute; left: var(--m); right: var(--m); bottom: 24px; z-index: 1; color: #fff; }
.pedir-addr { margin: 0; }
@media (max-width: 800px) {
  .mp-hero { height: 64svh; }
  .mp-body { padding: 72px var(--m) 24px; }
  .mp-sec { display: block; padding-bottom: 96px; }
  .mp-title { position: static; margin-bottom: 28px; }
  .mp-items { max-width: 560px; }
  .mp-pic { max-width: none; aspect-ratio: 3 / 2; }
  .mp-jump { gap: 0 20px; }
}

/* Motion. Everything is visible without script; the html.js gate adds the arrivals. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line], .js .mp-hero [data-line] { transform: translateY(105%); animation: load-line 900ms var(--ease-expo) forwards; animation-delay: calc(150ms + var(--i) * 110ms); }
  .js .hero [data-load], .js .mp-hero [data-load] { opacity: 0; transform: translateY(12px); animation: load-rise 500ms var(--ease-out) forwards; animation-delay: var(--d); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--rd, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .origen-photo[data-reveal] { opacity: 1; transform: none; }
  .js .origen-photo[data-reveal] img { clip-path: inset(0 0 100% 0); transform: scale(1.1); transition: clip-path 800ms var(--ease-in-out), transform 1200ms var(--ease-soft); }
  .js .origen-photo[data-reveal].is-in img { clip-path: inset(0); transform: none; }
}
@keyframes load-line { to { transform: none; } }
@keyframes load-rise { to { opacity: 1; transform: none; } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .dish-bg img, .dish-bg video, .curtain-frame img, .voz-bg { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes drift { from { transform: scale(1.1) translateY(-3%); } to { transform: scale(1.02) translateY(2%); } }
    .hero-film { animation: recede linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes recede { to { transform: scale(1.08); } }
  }
}

/* Text pages: privacy */
.doc-page { background: var(--field-2); color: var(--field-2-ink); }
.doc-page .bar { position: sticky; }
.doc-links { gap: 24px; }
.doc { max-width: 680px; margin: 0 auto; padding: 96px var(--m) 120px; }
.doc h1 { margin: 0 0 12px; font-size: var(--step-head); line-height: 1; }
.doc h2 { margin: 48px 0 12px; font-size: var(--step-lead); line-height: 1.1; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 10px; }
.doc-foot { padding: 32px var(--m) 48px; background: var(--bg); color: var(--ink); font-size: var(--step-small); }
.doc-foot p { margin: 0; }
@media (max-width: 800px) { .doc-page .bar-links { display: flex; margin-left: auto; } }

/* 404 */
.lost { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: #000; overflow: hidden; }
.lost-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.lost-text { position: relative; padding: 0 var(--m) 48px; }
.lost h1 { margin: 0 0 8px; font-size: var(--step-head); line-height: 1; }
.lost p { margin: 0 0 20px; }
.lost-links { display: flex; align-items: center; gap: 24px; }

/* v3: the menu page sits under the shared dark header (v2.css) */
.mp-jump { top: 70px; }
.mp-sec { scroll-margin-top: 140px; }
