/* Alquimia Café, concept preview by slugweb (2026-10-04).
   Palette from their own place: the sign's near-black, the honey wood of their tables, milk white.
   Type: Quicksand echoes the rounded capitals of their sign; Outfit carries the text. */

@font-face { font-family: "Quicksand"; src: url("/assets/fonts/quicksand-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* grounds, darkest to lightest: the page moves from the cup out to the street */
  --g0: #141110;          /* the sign */
  --g1: #1e1916;          /* the counter */
  --wood: #c49a6c;        /* their tables */
  --milk: #efeeeb;        /* the room in daylight */
  --milk-2: #f7f7f4;      /* the door */
  --ink: #141110;
  --ink-soft: #57504b;
  --on-dark: #f4efe8;
  --on-dark-soft: #bcb0a6;
  --tan: #d0a674;         /* accent on dark grounds */
  --tan-press: #c1955f;
  --tan-ink: #6e4519;     /* accent text on light grounds */
  --line-dark: rgba(244, 239, 232, 0.16);
  --line-light: rgba(20, 17, 16, 0.14);

  --display: "Quicksand", "Varela Round", "Nunito", system-ui, sans-serif;
  --text: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: 20px;
  --gutter: clamp(20px, 5vw, 64px);
  --sec: 80px;
  --sec: clamp(80px, 11vw, 150px);
  --bar-h: 34px;
  --head-h: 60px;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 17, 16, 0.08), 0 18px 40px -24px rgba(20, 17, 16, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--g0); color: var(--on-dark);
  font: 400 17px/1.6 var(--text); letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
html { scrollbar-color: #8f7d6f #e9e7e3; }
main:focus { outline: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
h2 { font-size: 34px; font-size: clamp(34px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -0.012em; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
::selection { background: var(--tan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus, var(--tan)); outline-offset: 3px; border-radius: 6px; }
.table, .room, .door, .foot { --focus: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--on-dark); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- preview bar (top, in flow, never covers the name or the CTA) ---------- */
.pbar { background: #0c0a09; color: var(--on-dark-soft); font-size: 13px; line-height: 1.4; border-bottom: 1px solid var(--line-dark); padding: 0 var(--gutter); }
.pbar summary { list-style: none; cursor: pointer; min-height: var(--bar-h); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 0; text-align: center; }
.pbar summary::-webkit-details-marker { display: none; }
.pbar strong { color: var(--on-dark); font-weight: 600; }
.pbar__more { text-decoration: underline; text-underline-offset: 3px; }
.pbar[open] .pbar__more { display: none; }
.pbar p { max-width: 62ch; margin: 0 auto; padding: 0; text-align: center; }
.pbar p:last-child { padding-bottom: 10px; }

/* ---------- header: sticky, never fixed ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--g0); border-bottom: 1px solid var(--line-dark); }
.top__in { display: flex; align-items: center; gap: 24px; height: var(--head-h); max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.top__name { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--on-dark); padding: 10px 0; }
/* their mark after the name, as on their sign */
.top__name { display: inline-flex; align-items: center; gap: 10px; }
.top__mark { width: auto; height: 27px; margin-top: -3px; }
.top__nav { position: relative; margin-left: auto; display: none; }
.stops { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.stops a { display: block; padding: 10px 14px; font-size: 15px; color: var(--on-dark-soft); text-decoration: none; border-radius: 999px; transition: color 160ms var(--ease-out); }
.stops a[aria-current="true"] { color: var(--on-dark); }
.stops__marker { position: absolute; left: 0; bottom: 2px; height: 2px; width: 100px; transform-origin: 0 50%; transform: translateX(var(--mx, 0px)) scaleX(var(--ms, 0)); background: var(--tan); border-radius: 2px; opacity: var(--mo, 0); transition: transform 280ms var(--ease-in-out), opacity 200ms var(--ease-out); }
.top .top__wa { display: none; }
.top__menu { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; background: transparent; color: var(--on-dark); font: 500 15px/1 var(--text); cursor: pointer; transition: transform 160ms var(--ease-out); }
.top__menu:active { transform: scale(0.97); }
.top__menu .ico--close { display: none; }
.top__menu[aria-expanded="true"] .ico--close { display: block; }
.top__menu[aria-expanded="true"] .ico--open { display: none; }
.sheet { border-top: 1px solid var(--line-dark); background: var(--g0); }
.sheet ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.sheet a { display: flex; align-items: center; min-height: 52px; font-family: var(--display); font-weight: 600; font-size: 20px; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.sheet li:last-child a { border-bottom: 0; color: var(--on-dark-soft); font-size: 17px; }
@media (min-width: 900px) {
  .top__nav { display: block; }
  .top .top__wa { display: inline-flex; }
  .top__menu, .sheet { display: none !important; }
}
@media (hover: hover) and (pointer: fine) {
  .stops a:hover { color: var(--on-dark); }
}

/* ---------- buttons: pills, like the round mark of their logo ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent; font: 600 16px/1.1 var(--text); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 44px; padding: 9px 18px; font-size: 15px; }
.btn--tan { background: var(--tan); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(244, 239, 232, 0.42); }
.btn--ink { background: var(--ink); color: var(--on-dark); }
.btn--line { background: transparent; color: var(--ink); border-color: rgba(20, 17, 16, 0.4); }
@media (hover: hover) and (pointer: fine) {
  .btn--tan:hover { background: #dbb384; }
  .btn--ghost:hover { border-color: var(--on-dark); }
  .btn--ink:hover { background: #2b2420; }
  .btn--line:hover { border-color: var(--ink); }
}

/* ---------- hero: their espresso machine, the closest the camera gets ---------- */
.hero { position: relative; background: var(--g0); overflow: clip; }
.hero__media { position: relative; height: 54svh; height: clamp(300px, 56svh, 560px); }
.hero__frame { position: absolute; inset: 0; overflow: hidden;
  /* the pull-back: as the hero leaves, the frame insets and rounds, as if the camera stepped back */
  /* site.js sets clip-path and transform on this element directly, per frame (never through a parent variable) */
  transform-origin: 50% 30%; }
.hero__frame video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; background: var(--g0);
  /* the clip fades into the ground below it: no hard edge across the picture */
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(to bottom, #000 62%, rgba(0, 0, 0, 0) 100%); }
.hero__copy { position: relative; z-index: 2; padding: 0 var(--gutter) 28px; margin-top: -28px; }
.hero h1 { font-size: 40px; font-size: clamp(40px, 11.2vw, 52px); line-height: 1.02; letter-spacing: 0.05em; text-transform: uppercase; color: var(--on-dark); }
.hero__sub { margin-top: 12px; max-width: 30ch; font-size: 18px; line-height: 1.45; color: var(--on-dark-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero__cup { display: none; }
@media (max-height: 760px) and (max-width: 899px) {
  .hero__media { height: 46svh; }
  .hero h1 { font-size: 38px; }
  .hero__sub { margin-top: 8px; font-size: 17px; }
  .hero__ctas { margin-top: 16px; }
}
@media (max-width: 899px) {
  .hero__ctas .btn--ghost { display: none; }   /* on phones the dock carries Cómo llegar */
}
@media (max-width: 599px) {
  .hero__ctas .btn { width: 100%; }
}
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - var(--bar-h) - var(--head-h)); min-height: max(600px, calc(100svh - var(--bar-h) - var(--head-h))); }
  .hero__media { grid-column: 2; grid-row: 1; height: auto; }
  .hero__frame video { -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, #000 18%); mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, #000 18%); object-position: 50% 62%; }
  .hero__copy { grid-column: 1; grid-row: 1; align-self: center; margin: 0; padding: 48px 0 72px; padding-left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); padding-right: 32px; }
  .hero h1 { font-size: 56px; font-size: clamp(56px, 5.4vw, 84px); letter-spacing: 0.06em; line-height: 0.98; }
  .hero__sub { font-size: 20px; margin-top: 20px; }
  .hero__ctas { margin-top: 32px; }
  /* their mark poured in the milk: a drawing (lab/cup-render.mjs), saucer and shadow included */
  .hero__cup { display: block; position: absolute; z-index: 3; left: 50%; bottom: 4%; width: 250px; margin-left: -150px; pointer-events: none; }
  .hero__cup img { width: 100%; height: auto; }
}

/* ---------- reveals: once, as a section enters; images widen like a step back ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal] .ph img, .js .ph[data-reveal] img { transform: scale(1.08); clip-path: inset(4% round 14px); transition: transform 600ms var(--ease-out), clip-path 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + 60ms); }
.js .vitrina__grid .ph:nth-child(2) img { transition-delay: calc(var(--i, 0) * 55ms + 110ms); }
.js .vitrina__grid .ph:nth-child(3) img { transition-delay: calc(var(--i, 0) * 55ms + 160ms); }
.js [data-reveal].is-in .ph img, .js .ph[data-reveal].is-in img { transform: none; clip-path: inset(0 round 0); }

/* photos */
.ph { position: relative; overflow: hidden; border-radius: var(--radius); background: rgba(20, 17, 16, 0.08); box-shadow: var(--shadow); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Reserva tu mesa: the first stop, on the counter's ground ----------
   Until 2026-10-04 this was the pour game; Santi swapped it for bookings "como en la demo de Simple".
   The booking is written into a WhatsApp message to the café: nothing is sent or kept by the page. */
[hidden] { display: none !important; }
.book { background: var(--g1); padding: var(--sec) 0; scroll-margin-top: var(--head-h); }
.book__grid { display: grid; gap: 36px; }
.book__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.book__cup { width: 118px; flex: none; margin: -18px -10px -18px 0; }
.book__lead { margin-top: 16px; max-width: 42ch; font-size: 18px; color: var(--on-dark-soft); }
.book__rules { margin-top: 12px; max-width: 42ch; font-size: 15px; color: var(--on-dark-soft); }
.book__lead a { color: var(--on-dark); }
@media (min-width: 900px) {
  .book__grid { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 72px; align-items: start; }
  .book__intro { position: sticky; top: calc(var(--head-h) + 48px); }
  .book__cup { display: none; }   /* on wide screens the cup is in the hero, just above */
}

/* four steps; each number fills with tan once its step is answered */
.bform { display: grid; gap: 34px; }
.step { min-width: 0; margin: 0; padding: 0; border: 0; }
.step legend { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 0; font: 700 19px/1.2 var(--display); color: var(--on-dark); }
.step__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(244, 239, 232, 0.4); font: 600 14px/1 var(--text); color: var(--on-dark-soft); transition: background-color 240ms var(--ease-out), border-color 240ms var(--ease-out), color 240ms var(--ease-out); }
.step.is-done .step__n { background: var(--tan); border-color: var(--tan); color: var(--ink); }
.step__sub { margin: 22px 0 10px; font-size: 15px; color: var(--on-dark-soft); }

/* chips: pills like every button on the page; the day chips are taller, so they get the photo radius */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; flex: none; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip input:disabled { cursor: not-allowed; }
.chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; min-height: 46px; padding: 8px 18px; border: 1px solid rgba(244, 239, 232, 0.3); border-radius: 999px; font: 500 16px/1.1 var(--text); font-variant-numeric: tabular-nums; color: var(--on-dark); transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.chip input:checked + span { background: var(--tan); border-color: var(--tan); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--tan); outline-offset: 3px; }
.chip input:disabled + span { color: rgba(244, 239, 232, 0.34); border-style: dashed; border-color: rgba(244, 239, 232, 0.14); text-decoration: line-through; }
.chip input:not(:disabled):active + span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .chip input:not(:disabled):not(:checked):hover + span { border-color: rgba(244, 239, 232, 0.7); }
}

/* days: one row that slides sideways; on phones it runs to the edge of the screen */
.chips--days { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: none; }
.chips--days::-webkit-scrollbar { display: none; }
@media (min-width: 700px) {
  .chips--days { margin: 0; padding: 4px 48px 10px 0; scroll-padding-inline: 0;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent); }
}
@media (hover: hover) and (pointer: fine) {
  /* a mouse needs something to drag: a thin bar under the days */
  .chips--days { scrollbar-width: thin; scrollbar-color: rgba(244, 239, 232, 0.28) transparent; }
  .chips--days::-webkit-scrollbar { display: block; height: 6px; }
  .chips--days::-webkit-scrollbar-thumb { background: rgba(244, 239, 232, 0.28); border-radius: 6px; }
}
.chip--day { scroll-snap-align: start; }
.chip--day span { flex-direction: column; gap: 4px; width: 66px; min-height: 84px; padding: 10px 4px; border-radius: 16px; }
.chip--day i, .chip--day em { font: 500 13px/1 var(--text); font-style: normal; letter-spacing: 0.04em; color: var(--on-dark-soft); }
.chip--day b { font: 700 24px/1 var(--display); }
.chip--day input:checked + span i, .chip--day input:checked + span em { color: var(--ink); }
.chip--day input:disabled + span i, .chip--day input:disabled + span em { color: inherit; }

/* times: a grid, every half hour of the chosen day */
.chips--times { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); }
.chips--times .chip span { width: 100%; min-width: 0; padding: 8px 0; }

/* fields */
.field { display: grid; gap: 8px; }
.field + .field { margin-top: 18px; }
.field--group { margin-top: 18px; max-width: 240px; }
.field label { font-size: 15px; color: var(--on-dark-soft); }
.field label span { color: #a39890; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid rgba(244, 239, 232, 0.3); border-radius: 14px; background: rgba(244, 239, 232, 0.05); color: var(--on-dark); font: 400 17px/1.4 var(--text); transition: border-color 160ms var(--ease-out); }
.field textarea { min-height: 88px; resize: vertical; }
.field select { padding-right: 44px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: rgba(244, 239, 232, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f4efe8' stroke-width='1.5'/%3E%3C/svg%3E") right 16px center / 14px 9px no-repeat; }
.field select option { background: var(--g1); color: var(--on-dark); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--tan); outline-offset: 2px; border-color: var(--tan); border-radius: 14px; }
.err { margin-top: 10px; font-size: 15px; color: #f2b8a2; }
.err:empty { display: none; }
.has-err input, .has-err select { border-color: #f2b8a2; }

/* what was chosen, the button, and what happens next */
.bform__summary { font: 600 19px/1.35 var(--display); color: var(--tan); }
.bform__summary:empty { display: none; }
.bform__send { justify-self: start; }
.bform__note { margin-top: -18px; max-width: 52ch; font-size: 14px; color: var(--on-dark-soft); }
.bdone { padding: 30px 26px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(244, 239, 232, 0.04); }
.bdone:focus { outline: none; }
.bdone h3 { font-size: 26px; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; color: var(--on-dark); }
.bdone p { margin-top: 12px; max-width: 46ch; color: var(--on-dark-soft); font-size: 17px; }
.bdone .bdone__sum { font: 600 19px/1.35 var(--display); color: var(--tan); }
.bdone__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 599px) {
  .bform__send, .bdone__ctas .btn { width: 100%; }
}

/* ---------- La mesa: on their wood ---------- */
.table { background: var(--wood); color: var(--ink); padding: var(--sec) 0; scroll-margin-top: var(--head-h); }
.table__head { max-width: 640px; }

.table .lead { margin-top: 14px; font-size: 19px; color: #2e2219; }
.dishes { display: grid; gap: 34px; margin-top: 44px; }
.dish figcaption { margin-top: 16px; max-width: 46ch; }
.dish h3 { font-size: 24px; letter-spacing: 0.01em; }
.dish figcaption p { margin-top: 6px; color: #2e2219; font-size: 17px; line-height: 1.5; }
.dish--rv .ph { aspect-ratio: 4 / 3; }
.dish--choco .ph, .dish--moka .ph { aspect-ratio: 4 / 5; }
.vitrina__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.vitrina__grid .ph--tall { grid-row: span 2; }
.vitrina__grid .ph { aspect-ratio: 1; }
.vitrina__grid .ph--tall { aspect-ratio: auto; }
.vitrina__cap { margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: 18px; }
@media (min-width: 900px) {
  .dishes { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 32px; align-items: start; }
  .dish--rv { grid-column: 1 / span 7; }
  .dish--choco { grid-column: 9 / span 4; margin-top: 120px; }
  .dish--moka { grid-column: 2 / span 4; margin-top: -40px; }
  .vitrina { grid-column: 7 / span 6; margin-top: 40px; }
}

/* ---------- El salón: daylight ---------- */
.room { background: var(--milk); color: var(--ink); padding: var(--sec) 0; scroll-margin-top: var(--head-h); }
.room__grid { display: grid; gap: 44px; }
.room__photos { position: relative; padding-bottom: 18%; }
.room__photos .ph--wide { aspect-ratio: 3 / 2; }
.room__barra { position: absolute; right: 6%; bottom: 0; width: 38%; aspect-ratio: 5 / 6; border: 6px solid var(--milk); border-radius: calc(var(--radius) + 6px); }

.room__copy > p { margin-top: 16px; max-width: 42ch; font-size: 18px; color: var(--ink-soft); }
.doble { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; margin-top: 28px; }
.doble .ph { aspect-ratio: 4 / 3; border-radius: 14px; }
.doble figcaption { font-size: 17px; color: var(--ink-soft); }
.doble strong { color: var(--ink); font-family: var(--display); font-weight: 700; }
.quotes { display: grid; gap: 22px; margin-top: 36px; }
.quote { padding-left: 18px; border-left: 1px solid rgba(20, 17, 16, 0.28); }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.45; color: var(--ink); }
.quote figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.rating { margin-top: 24px; font-size: 15px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .room__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: center; }
}

/* ---------- La puerta: the street, the lightest ground ---------- */
.door { background: var(--milk-2); color: var(--ink); padding: var(--sec) 0; scroll-margin-top: var(--head-h); }
.door__grid { display: grid; gap: 44px; }
.door__photos { position: relative; padding-bottom: 14%; }
.door__photos .ph--door { aspect-ratio: 8 / 7; }
.door__terraza { position: absolute; left: -2%; bottom: 0; width: 40%; aspect-ratio: 1; border: 6px solid var(--milk-2); border-radius: calc(var(--radius) + 6px); }

.door__addr { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 18px; color: var(--ink-soft); }
.door__addr .ico { margin-top: 3px; color: var(--tan-ink); }
.hours { margin-top: 26px; width: 100%; max-width: 440px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tan-ink); padding-bottom: 8px; }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid var(--line-light); font-size: 17px; text-align: left; vertical-align: baseline; }
.hours th { font-weight: 400; color: var(--ink-soft); }
.hours td { text-align: right; font-weight: 600; white-space: nowrap; }
.hours tr.is-today th { color: var(--ink); font-weight: 600; }
.hours tr.is-today th::after { content: "Hoy"; display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; vertical-align: 2px; }
.door__opts { margin-top: 14px; font-size: 16px; color: var(--ink-soft); }
.door__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.door__more { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; }
.door__more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(20, 17, 16, 0.35); text-underline-offset: 4px; }
@media (min-width: 900px) {
  .door__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
}
@media (hover: hover) and (pointer: fine) {
  .door__more a:hover { text-decoration-color: var(--ink); }
}

/* ---------- footer: still in daylight; the slugweb credit follows it ---------- */
.foot { background: var(--milk-2); color: var(--ink); border-top: 1px solid var(--line-light); padding: 48px 0 40px; }
.foot__in { display: grid; gap: 16px; }
.foot__name { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; }
.foot__badge { width: 88px; height: 88px; border-radius: 50%; }
.foot__lines { max-width: 60ch; font-size: 15px; line-height: 1.8; color: var(--ink-soft); }
.foot__lines a { color: var(--ink); }
.foot__preview, .foot__credits { max-width: 60ch; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.foot__preview a { color: var(--ink); }

/* ---------- dock: phones only, after the hero ---------- */
.dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 12px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: rgba(20, 17, 16, 0.96); border-top: 1px solid var(--line-dark); transform: translateY(110%); visibility: hidden; transition: transform 320ms var(--ease-drawer), visibility 0s linear 320ms; }
.dock.is-on { transform: none; visibility: visible; transition: transform 380ms var(--ease-drawer), visibility 0s; }
.dock__btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 12px; border-radius: 999px; border: 1px solid rgba(244, 239, 232, 0.4); color: var(--on-dark); font: 600 16px/1 var(--text); text-decoration: none; transition: transform 160ms var(--ease-out); }
.dock__btn--wa { background: var(--tan); border-color: var(--tan); color: var(--ink); }
.dock__btn:active { transform: scale(0.97); }
@media (max-width: 899px) {
  /* the end of the page leaves room for the dock, so the slugweb credit shows whole */
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- reduced motion: short fades only ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__frame { clip-path: none; transform: none; }
  .js [data-reveal] { transform: none; transition: opacity 240ms linear; transition-delay: 0ms; }
  .js [data-reveal] .ph img, .js .ph[data-reveal] img { transform: none; clip-path: none; transition: none; }
  .stops__marker, .dock, .dock.is-on, .btn, .top__menu, .dock__btn, .chip span, .step__n, .field input, .field textarea, .field select { transition: none; }
  .btn:active, .dock__btn:active, .top__menu:active, .chip input:not(:disabled):active + span { transform: none; }
}

/* ---------- 404 ---------- */
.nf { background: var(--g0); min-height: 62svh; display: grid; align-content: center; padding: 72px 0; }
.nf h1 { font-size: 40px; font-size: clamp(40px, 7vw, 72px); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.02; }
.nf p { margin-top: 16px; max-width: 40ch; color: var(--on-dark-soft); font-size: 18px; }
.nf .btn { margin-top: 28px; }

/* pause / play for the hero loop (WCAG 2.2.2); it rides on the media plane, outside the clipped frame */
.vidctl { position: absolute; z-index: 4; right: 14px; top: 14px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(244, 239, 232, 0.35); background: rgba(20, 17, 16, 0.55); color: var(--on-dark); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 180ms var(--ease-out); }
.vidctl .ico { width: 16px; height: 16px; }
.vidctl .ico--play { display: none; }
.vidctl[data-state="paused"] .ico--play { display: block; }
.vidctl[data-state="paused"] .ico--pause { display: none; }
.vidctl:active { transform: scale(0.97); }
@media (min-width: 900px) { .vidctl { top: auto; bottom: 24px; right: 24px; } }
@media (hover: hover) and (pointer: fine) { .vidctl:hover { background: rgba(20, 17, 16, 0.8); } }
@media (prefers-reduced-motion: reduce) { .vidctl { transition: none; } .vidctl:active { transform: none; } }
