/* studio token foundation for kukula-cafeteria-artistica */
/* Generated by foundry.py. SHARED across concepts: `site` embeds this WHOLE
   file (tokens :root + base layer) at the top of each vN styles.css, then
   binds its direction's density posture in one explicit line:
     :root { --section-pad: var(--section-pad-<posture>); --flow: var(--flow-<posture>); }
   Edit ramps/scales here; pick fonts + an art direction per concept. */
:root {
  /* --- brand color ramps (50 light .. 900 dark) --- */
  /* brand */
  --brand-50: #f0f2ee;
  --brand-100: #e0e5dd;
  --brand-200: #c1cabb;
  --brand-300: #9ba990;
  --brand-400: #6c825d;
  --brand-500: #3e5a2a;
  --brand-600: #354d24;
  --brand-700: #2d411e;
  --brand-800: #233218;
  --brand-900: #192411;
  /* accent */
  --accent-50: #f0f2ee;
  --accent-100: #e2e6de;
  --accent-200: #c4ccbc;
  --accent-300: #a0ad93;
  --accent-400: #748761;
  --accent-500: #48612f;
  --accent-600: #3e5328;
  --accent-700: #344622;
  --accent-800: #28361a;
  --accent-900: #1d2713;

  /* --- semantic roles (WCAG-AA verified by foundry.py) --- */
  --color-bg: #f8f5f1;
  --color-brand: #3e5a2a;
  --color-accent: #48612f;
  --color-ink: #2e251f; /* deep body ink (target >=7:1 on bg) */
  --color-muted: #6f6862; /* secondary text on bg (>=5:1) */
  --color-on-brand: #ffffff; /* text on a brand fill */
  --color-on-accent: #ffffff; /* text on an accent fill */
  /* accent sampled from hero photo: #48612f */

  /* --- dark-band vocabulary (proof bands, footers, closes) --- */
  --surface-dark: #233218;
  --on-dark: #f8f5f1; /* text on the dark band */
  --on-dark-muted: #adb1a5; /* secondary text on the dark band */
  --hairline: rgba(46, 37, 31, 0.22); /* rules/borders on light surfaces */
  --hairline-dark: rgba(248, 245, 241, 0.28); /* rules/borders on dark bands */

  /* --- extra color "terracotta" (direction-named, contrast-checked) --- */
  --terracotta: #c06d59;
  --terracotta-deep: #a55e4d;
  --on-terracotta: #2e251f; /* text on a terracotta fill */

  /* --- extra color "olive" (direction-named, contrast-checked) --- */
  --olive: #748650;
  --olive-deep: #647345;
  --on-olive: #ffffff; /* text on a olive fill */

  /* --- fluid type scale (clamp: 360px .. 1240px viewport) --- */
  --step-6: clamp(2.4rem, 1.664rem + 3.27vw, 4.2rem);
  --step-5: clamp(2rem, 1.509rem + 2.18vw, 3.2rem);
  --step-4: clamp(1.7rem, 1.414rem + 1.27vw, 2.4rem);
  --step-3: clamp(1.4rem, 1.236rem + 0.73vw, 1.8rem);
  --step-2: clamp(1.2rem, 1.098rem + 0.45vw, 1.45rem);
  --step-1: clamp(1.1rem, 1.059rem + 0.18vw, 1.2rem);
  --step-0: clamp(1rem, 0.98rem + 0.09vw, 1.05rem);
  --step--1: clamp(0.875rem, 0.865rem + 0.05vw, 0.9rem);
  --step--2: clamp(0.78rem, 0.772rem + 0.04vw, 0.8rem);
  /* poster steps for the ONE oversized moment (hero word, giant footer
     wordmark) — overflow-safe with the base layer's wrap rules */
  --step-display: clamp(3rem, 1.839rem + 5.16vw, 7rem);
  --step-poster: clamp(4.2rem, 1.935rem + 10.06vw, 12rem);
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.6;

  /* --- type craft tokens --- */
  --track-display: -0.02em; /* negative tracking for display/poster sizes */
  --track-caps: 0.08em; /* positive tracking for caps eyebrows/labels */
  --measure-body: 65ch; /* readable body line length */
  --measure-tight: 45ch; /* leads, captions, intro columns */
  --measure: var(--measure-body); /* legacy alias */

  /* --- fluid spacing scale (clamp: tighter on phones, generous on desktop) --- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: clamp(1.25rem, 1.148rem + 0.45vw, 1.5rem);
  --space-lg: clamp(1.75rem, 1.648rem + 0.45vw, 2rem);
  --space-xl: clamp(2.5rem, 2.295rem + 0.91vw, 3rem);
  --space-2xl: clamp(3rem, 2.591rem + 1.82vw, 4rem);
  --space-3xl: clamp(4rem, 3.182rem + 3.64vw, 6rem);
  --space-4xl: clamp(6rem, 4.773rem + 5.45vw, 9rem);
  --space-5xl: clamp(8rem, 5.545rem + 10.91vw, 14rem);

  /* --- density postures (a concept binds ONE explicitly — never rely on
     the fallback silently; the design-director checks the binding) --- */
  --section-pad-airy: var(--space-5xl);
  --flow-airy: var(--space-2xl);
  --section-pad-measured: var(--space-4xl);
  --flow-measured: var(--space-xl);
  --section-pad-dense: var(--space-3xl);
  --flow-dense: var(--space-lg);
  /* resilience fallback only — the concept's own binding must override: */
  --section-pad: var(--section-pad-measured);
  --flow: var(--flow-measured);

  /* --- corner language: soft (10px base) --- */
  --radius-0: 0;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* --- shadow scale (keep restrained; hairlines over shadows) --- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.16);

  /* --- motion --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur-base: 260ms;
  --dur-slow: 520ms;

  /* --- chrome --- */
  --anchor-offset: 5.5rem; /* anchored-section clearance under a fixed header */
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
  }
}

/* =====================================================================
   Foundation base layer — stress-proof defaults shared by every concept.
   Embed together with the tokens above; everything is :where()-wrapped
   (zero specificity) so any concept rule overrides it.
   REQUIRED companion, inline in <head> BEFORE the stylesheet link:
     <script>
       document.documentElement.classList.add("js");
       if (new URLSearchParams(location.search).get("shot") === "1")
         document.documentElement.setAttribute("data-shot", "");
     </script>
     <style>img{max-width:100%;height:auto}</style>
   (JS-off pages then render complete, and reveals never flash on slow loads.)
   ===================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* brand-tone ground behind opaque photos, so a slow or failed image never
   leaves a hole (transparent png/svg marks deliberately excluded) */
:where(img[src$=".jpg"], img[src$=".jpeg"], img[src$=".webp"]) {
  background-color: var(--brand-100, #e9e9e4);
}

/* a long unbreakable token (a name, a pasted URL) wraps instead of forcing
   horizontal overflow; `anywhere` on headings also lets grid/flex tracks shrink */
:where(h1, h2, h3, h4) {
  overflow-wrap: anywhere;
}
:where(p, li, dt, dd, figcaption, blockquote, cite) {
  overflow-wrap: break-word;
}

/* display type carries the craft tracking by default (override per concept) */
:where(h1, h2, h3) {
  letter-spacing: var(--track-display);
}

/* selection themed from brand — the finish detail every premium site has */
::selection {
  background: #3e5a2a;
  color: #ffffff;
}

/* anchored sections clear a fixed header on jump; tune --anchor-offset per concept */
:where([id]) {
  scroll-margin-top: var(--anchor-offset);
}

/* visible focus floor (restyle per concept, never remove) */
:where(:focus-visible) {
  outline: 3px solid var(--color-accent, currentColor);
  outline-offset: 3px;
}

/* Reveal contract: hidden-before-reveal ONLY once the head snippet set html.js,
   so content is complete with JS off. The concept's JS adds .is-in to show. */
html.js :where([data-reveal]) {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
html.js :where([data-reveal].is-in) {
  opacity: 1;
  transform: none;
}

/* Capture + accessibility freeze: everything rests at its final state */
html[data-shot] :where([data-reveal]),
html.no-motion :where([data-reveal]) {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
html[data-shot] {
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  :where([data-reveal]) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* =====================================================================
   CONCEPT v1 (flagship champion, ex A-2) — "La Tarde en el Jardín" · photographic immersion
   Instrument Serif + Instrument Sans · airy · monochromatic green
   Stance: the page as a frame around the real garden — photo-dominant.
   ===================================================================== */

/* --- density posture: AIRY (bind explicitly, never the fallback) --- */
:root {
  --section-pad: var(--section-pad-airy);
  --flow: var(--flow-airy);
  /* airy expressed at the niche band's airy end (120-158px gaps), not the
     raw 224px token — the calibration overrides the posture floor */
  --pad-block: clamp(5rem, 8vw, 7.75rem);

  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans:
    "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --grade-warm: saturate(1.04) contrast(0.97) brightness(1.02);
  --grade-cool: saturate(0.58) contrast(1.05) brightness(0.8) hue-rotate(-8deg);

  --wrap: 1240px;
  --pad-inline: clamp(20px, 5vw, 64px);
  --header-h: 4.5rem;
  --ground-soft: var(--brand-50);
  --eyebrow-dark: #c4d6ac;
  --anchor-offset: 5rem;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth; /* nav jumps glide; frozen to auto under [data-shot] + reduced-motion */
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main {
  overflow-x: clip;
}

::selection {
  background: var(--brand-800);
  color: var(--color-bg);
}

/* ---------- shared type ---------- */
.display-1,
.display-2,
.hero-title,
.quote-lead p {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: var(--track-display);
  line-height: 1.05;
}
.display-1,
.display-2,
.section-intro {
  text-wrap: balance;
}
.display-2 {
  font-size: clamp(2rem, 1.35rem + 2.7vw, 2.9rem);
}
.display-1 {
  font-size: clamp(2.2rem, 1.4rem + 3.1vw, 3.2rem);
  line-height: 1.08;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--color-brand);
  margin: 0 0 var(--space-md);
}
.eyebrow .dot {
  color: var(--olive);
  margin: 0 0.3em;
}
.on-dark-eyebrow {
  color: var(--eyebrow-dark);
}
.on-dark-eyebrow .dot {
  color: var(--eyebrow-dark);
}

.lede,
.section-intro {
  font-size: var(--step-2);
  line-height: 1.5;
  max-width: 46ch;
  color: var(--color-ink);
  margin: 0;
}
p {
  max-width: 65ch;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

/* ---------- photographic voice (one warm grade everywhere) ---------- */
figure {
  margin: 0;
}
figure img,
.visita-bg {
  filter: var(--grade-warm);
}
.photo-cap {
  font-family: var(--font-sans);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--color-muted);
  margin-top: var(--space-2xs);
}
.on-dark-cap {
  color: var(--on-dark-muted);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 0.9em 1.5em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
.btn-solid {
  background: var(--color-brand);
  color: var(--color-on-brand);
}
.btn-solid:hover {
  background: var(--brand-700);
  transform: translateY(-2px);
}
.btn-solid:active {
  transform: translateY(0);
  background: var(--brand-800);
}
.btn-outline {
  background: transparent;
  color: var(--color-brand);
  border-color: var(--color-brand);
}
.btn-outline:hover {
  background: var(--color-brand);
  color: var(--color-on-brand);
  transform: translateY(-2px);
}
.btn-outline:active {
  transform: translateY(0);
}
.btn-outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--hairline-dark);
}
.btn-outline-light:hover {
  background: var(--on-dark);
  color: var(--surface-dark);
  transform: translateY(-2px);
}
.btn-ghost-light {
  background: rgba(248, 245, 241, 0.1);
  color: var(--on-dark);
  border-color: var(--hairline-dark);
}
.btn-ghost-light:hover {
  background: var(--on-dark);
  color: var(--surface-dark);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 1.05em 1.9em;
  font-size: var(--step-1);
}
.btn-sm {
  padding: 0.7em 1.15em;
  font-size: var(--step--1);
}

:where(a):focus-visible,
:where(button):focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.band-dark :focus-visible,
.concepto :focus-visible,
.visita :focus-visible {
  outline-color: var(--eyebrow-dark);
}

/* =====================================================================
   HEADER + DRAWER
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
.site-header.scrolled {
  background: var(--color-bg);
  border-bottom-color: var(--hairline);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  min-height: var(--header-h);
  padding-inline: var(--pad-inline);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-ink);
  margin-right: auto;
}
.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  filter: none;
}
.brand-word {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  letter-spacing: var(--track-display);
  line-height: 1;
}
.nav-desktop {
  display: flex;
  gap: clamp(1rem, 2vw, 2.2rem);
}
.nav-desktop a {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--color-ink);
  text-decoration: none;
  position: relative;
  padding-block: 0.4rem;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--color-brand);
  transition: right var(--dur-base) var(--ease-out);
}
.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after {
  right: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: var(--space-md);
}

.burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-ink);
  transition:
    transform var(--dur-base) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 360px);
  z-index: 70;
  background: var(--surface-dark);
  color: var(--on-dark);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  padding: calc(var(--header-h) + var(--space-lg)) var(--space-xl)
    var(--space-xl);
  box-shadow: var(--shadow-lg);
}
.drawer[hidden] {
  display: block;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.drawer-nav a {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  color: var(--on-dark);
  text-decoration: none;
  padding-bottom: var(--space-2xs);
  border-bottom: 1px solid var(--hairline-dark);
}
.drawer-nav a.btn {
  border-bottom: none;
  margin-top: var(--space-sm);
}
.drawer-nav a.drawer-reservar {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  background: var(--eyebrow-dark);
  color: var(--surface-dark);
}
.drawer-nav a.drawer-reservar:hover {
  background: var(--on-dark);
  color: var(--surface-dark);
}
.scrim {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(25, 36, 17, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--dur-base) var(--ease-out),
    visibility var(--dur-base);
}
.scrim.open {
  opacity: 1;
  visibility: visible;
}
body.no-scroll {
  overflow: hidden;
}

/* =====================================================================
   HERO — split / editorial (photo-dominant)
   ===================================================================== */
.hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: clamp(600px, 100vh, 960px);
  padding-top: var(--header-h);
}
.hero-copy {
  grid-column: 1;
  align-self: center;
  padding: var(--space-2xl) clamp(24px, 4vw, 56px) var(--space-2xl)
    var(--pad-inline);
  max-width: 40rem;
  margin-left: auto;
  width: 100%;
}
.hero-title {
  margin: 0 0 var(--space-xl);
  font-size: clamp(2rem, 1.3rem + 2.85vw, 3rem);
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}
.hero-note {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  color: var(--color-muted);
  max-width: 32ch;
  line-height: 1.45;
}
.hero-title i {
  font-style: normal;
}
.hero-title span:nth-child(2) i {
  font-style: italic;
  color: var(--color-brand);
}

.hero-figure {
  grid-column: 2;
  position: relative;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 60%;
  filter: var(--grade-warm);
  transition: filter 1700ms var(--ease-out);
}
html.js .hero-photo:not(.is-lit) {
  filter: var(--grade-cool);
}
.hero-figure .photo-cap {
  position: absolute;
  left: var(--space-md);
  bottom: var(--space-md);
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
html[data-shot] .hero-photo,
html.no-motion .hero-photo {
  filter: var(--grade-warm) !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo {
    filter: var(--grade-warm) !important;
    transition: none !important;
  }
}

/* headline clip-reveal (signature: rises once on load) */
.reveal-lines span {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}
html.js .reveal-lines span > i {
  transform: translateY(112%);
  transition: transform var(--dur-slow) var(--ease-out);
}
html.js .reveal-lines.is-in span:nth-child(1) > i {
  transition-delay: 90ms;
}
html.js .reveal-lines.is-in span:nth-child(2) > i {
  transition-delay: 210ms;
}
html.js .reveal-lines.is-in span:nth-child(3) > i {
  transition-delay: 330ms;
}
html.js .reveal-lines.is-in span > i {
  transform: none;
}
html[data-shot] .reveal-lines span > i,
html.no-motion .reveal-lines span > i {
  transform: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-lines span > i {
    transform: none !important;
    transition: none !important;
  }
}

/* =====================================================================
   GROUND BANDS
   ===================================================================== */
.band-dark {
  background: var(--surface-dark);
  color: var(--on-dark);
}
.band-soft {
  background: var(--ground-soft);
}
.band-dark .display-2,
.band-dark .display-1 {
  color: var(--on-dark);
}
.on-dark-lede,
.on-dark-h {
  color: var(--on-dark);
}

/* =====================================================================
   EL CONCEPTO — composed dark band + boundary-crossing piece
   (the olive glow top-right stands in for the neon, no photo underneath)
   ===================================================================== */
.concepto {
  position: relative;
  overflow: visible;
  color: var(--on-dark);
  padding-block: var(--pad-block);
  background:
    radial-gradient(
      110% 90% at 82% 8%,
      rgba(116, 134, 80, 0.38),
      rgba(116, 134, 80, 0) 58%
    ),
    linear-gradient(102deg, #192411 0%, #233218 52%, #2b3d1c 100%);
}
.concepto-grid {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-height: clamp(520px, 78vh, 740px);
}
.concepto-copy {
  max-width: 34rem;
}
.concepto-copy .lede {
  color: var(--on-dark);
  max-width: 40ch;
  margin-block: var(--space-lg);
}
.proof-line {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--on-dark);
  text-decoration: none;
  font-size: var(--step-1);
  border-bottom: 1px solid var(--hairline-dark);
  padding-bottom: 0.35rem;
  transition: border-color var(--dur-base) var(--ease-out);
}
.proof-line strong {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  letter-spacing: 0;
}
.proof-line .proof-star {
  color: var(--eyebrow-dark);
  display: inline-flex;
}
.proof-line:hover {
  border-bottom-color: var(--eyebrow-dark);
}

.concepto-figure.straddle {
  align-self: end;
  margin-bottom: calc(-1 * var(--space-3xl));
  position: relative;
  z-index: 5;
}
.concepto-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--color-bg);
}
.concepto-figure .photo-cap {
  color: var(--color-muted);
}

/* =====================================================================
   LA TARDE — ruled 4-step index + immersive band
   ===================================================================== */
.la-tarde {
  padding-top: calc(var(--pad-block) + var(--space-3xl));
  padding-bottom: 0;
}
.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-2xl);
}
.section-head .section-intro {
  margin-top: var(--space-md);
}

.tarde-body {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: var(--space-3xl);
}
.pasos {
  list-style: none;
  margin: 0;
  padding: 0;
}
.paso {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: baseline;
  padding-block: var(--space-lg);
  border-top: 1px solid var(--hairline);
}
.paso:last-child {
  border-bottom: 1px solid var(--hairline);
}
.paso-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem);
  line-height: 0.9;
  color: var(--olive);
  letter-spacing: var(--track-display);
}
.paso-text h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--step-3);
  margin: 0 0 0.25rem;
  letter-spacing: var(--track-display);
}
.paso-text p {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--step-0);
  max-width: 34ch;
}

.tarde-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: var(--radius-lg);
}

.band-photo {
  position: relative;
  display: block;
}
.band-photo img {
  width: 100%;
  height: clamp(460px, 88vh, 880px);
  object-fit: cover;
  object-position: 50% 40%;
  display: block;
}
.band-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-xl) var(--pad-inline);
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: var(--step-4);
  letter-spacing: var(--track-display);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  background: linear-gradient(
    to top,
    rgba(25, 36, 17, 0.66),
    rgba(25, 36, 17, 0)
  );
}

/* =====================================================================
   LAS PIEZAS — asymmetric editorial collection + oversized count figure
   (La Cabra ceramics-collection move; the count answers the VOC
   "uno no sabe de dónde elegir")
   ===================================================================== */
.piezas {
  padding-block: var(--pad-block);
}
.piezas .section-head {
  margin-bottom: var(--space-2xl);
}
.piezas .section-intro {
  max-width: 52ch;
}
.piezas-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-areas:
    "a b"
    "a aside";
  gap: clamp(1rem, 2.5vw, var(--space-lg));
  align-items: start;
}
.pieza-a {
  grid-area: a;
}
.pieza-b {
  grid-area: b;
}
.piezas-aside {
  grid-area: aside;
  align-self: end;
  padding-block: var(--space-sm);
}
.pieza-a img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 40% 55%;
  border-radius: var(--radius-lg);
}
.pieza-b img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: var(--radius-lg);
}
.piezas-count {
  font-family: var(--font-serif);
  color: var(--color-brand);
  font-size: var(--step-3);
  line-height: 1.1;
  letter-spacing: var(--track-display);
  margin: 0;
}
.count-num {
  font-size: clamp(2.8rem, 1.8rem + 3.4vw, 4rem);
  display: inline-block;
  line-height: 0.9;
  color: var(--olive);
  vertical-align: -0.08em;
  margin-right: 0.12em;
}
.piezas-line {
  margin: var(--space-sm) 0 0;
  color: var(--color-muted);
  font-size: var(--step-0);
  max-width: 34ch;
}
.piezas-price-note {
  margin: var(--space-md) 0 0;
  color: var(--color-muted);
  font-size: var(--step--1);
  max-width: 34ch;
}

/* =====================================================================
   LA CARTA — sticky scene + hairline-ruled list + food band
   ===================================================================== */
.carta {
  padding-top: var(--pad-block);
  padding-bottom: 0;
}
.carta-scene {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.carta-media {
  position: sticky;
  top: clamp(88px, 12vh, 130px);
}
.carta-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.carta-copy .section-head {
  margin-bottom: var(--space-xl);
}
.carta-copy .section-intro {
  max-width: 48ch;
}
.carta-group {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--color-brand);
  margin: var(--space-xl) 0 var(--space-sm);
  padding-bottom: var(--space-2xs);
  border-bottom: 1.5px solid var(--color-brand);
}
.carta-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.carta-items li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.5rem;
  padding-block: var(--space-sm);
  border-bottom: 1px solid var(--hairline);
}
.ci-name {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  letter-spacing: 0;
}
.ci-desc {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  color: var(--color-muted);
  margin-top: 0.2rem;
  max-width: 42ch;
  line-height: 1.4;
}
.ci-dots {
  border-bottom: 1px dotted var(--hairline);
  transform: translateY(-0.3em);
  /* align to the first-line baseline (not the tall two-line name cell) so the
     leader stays with the item name and price, never dropping to a description */
  align-self: baseline;
}
.ci-price {
  font-family: var(--font-sans);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--olive-deep);
  white-space: nowrap;
}
.carta-foot {
  margin: var(--space-lg) 0;
  color: var(--color-muted);
  font-size: var(--step--1);
  max-width: 42ch;
}

.food-band {
  margin-top: var(--space-3xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(6px, 1vw, 12px);
  padding-inline: clamp(6px, 1vw, 12px);
}
.food-card {
  position: relative;
}
/* legibility scrim so overlaid captions hold on light/busy food frames,
   not text-shadow alone */
.food-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: linear-gradient(
    to top,
    rgba(25, 36, 17, 0.68),
    rgba(25, 36, 17, 0)
  );
  pointer-events: none;
  z-index: 1;
}
.food-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.food-card:nth-child(1) img {
  object-position: 50% 55%;
}
.food-card:nth-child(2) img {
  object-position: 50% 55%;
}
.food-card:nth-child(3) img {
  object-position: 50% 45%;
}
.food-card .photo-cap {
  position: absolute;
  left: var(--space-sm);
  bottom: var(--space-sm);
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

/* =====================================================================
   MIERCOARTE — warm-cream centered interlude, the pieza as a framed plate
   (celebratory hook, breaks the dark-band run; no full-bleed photo)
   ===================================================================== */
.miercoarte {
  position: relative;
  text-align: center;
  color: var(--color-ink);
  background: var(--color-bg);
  padding-block: var(--pad-block);
}
.mierco-figure {
  width: min(380px, 74vw);
  margin: 0 auto var(--space-xl);
}
.mierco-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 42% 55%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
/* vertical rotated running-head — editorial marginal annotation
   (composition.md #5); decorative, hidden where the margin is too tight */
.mierco-vlabel {
  position: absolute;
  left: clamp(12px, 3.5vw, 44px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--olive);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.mierco-inner {
  position: relative;
  max-width: 42rem;
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}
.mierco-inner .display-1 {
  margin: 0 0 var(--space-lg);
  color: var(--color-ink);
}
.mierco-copy {
  font-size: var(--step-2);
  max-width: 40ch;
  margin-inline: auto;
  color: var(--color-ink);
}
/* graceful customer-facing placeholder for an unconfirmed term (draft honesty,
   never a leaked TODO) */
.placeholder-note {
  margin: var(--space-xl) auto 0;
  display: inline-block;
  max-width: 44ch;
  font-family: var(--font-sans);
  font-size: var(--step--2);
  letter-spacing: 0.02em;
  color: var(--olive-deep);
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-sm);
  padding: 0.45em 0.8em;
}

/* =====================================================================
   LA PRUEBA — voices
   ===================================================================== */
.prueba {
  /* calm beat between photo bands: deliberately tighter than --pad-block,
     held at the desktop floor */
  padding-block: var(--space-3xl);
}
/* editorial spread: lead voice left, rail of voices right */
.prueba-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: var(--space-xl) clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}
.prueba .section-head {
  max-width: 34rem;
  margin-bottom: var(--space-xl);
}
.quote-lead {
  margin: 0;
}
.quote-lead p {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem);
  font-style: italic;
  line-height: 1.14;
  max-width: 24ch; /* ch at the display size, NOT the blockquote's body size */
  text-wrap: balance;
  margin: 0 0 var(--space-md);
  color: var(--color-brand);
}
.quote-lead cite,
.quote-item cite {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--color-muted);
}
.quote-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--hairline);
  padding-left: clamp(1.75rem, 3.5vw, 3.25rem);
}
.quote-item {
  padding-block: var(--space-md);
  border-top: 1px solid var(--hairline);
}
.quote-item:first-child {
  border-top: none;
  padding-top: 0;
}
.quote-item:last-child {
  padding-bottom: 0;
}
.quote-item p {
  font-family: var(--font-serif);
  font-size: var(--step-1);
  line-height: 1.34;
  margin: 0 0 var(--space-2xs);
  letter-spacing: 0;
}

/* =====================================================================
   EVENTOS
   ===================================================================== */
.eventos {
  padding-block: var(--pad-block);
}
.eventos-grid {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.eventos-figure img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.eventos-copy .lede {
  margin-block: var(--space-lg);
}

/* =====================================================================
   LA VISITA — full-bleed closing photo
   ===================================================================== */
.visita {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--on-dark);
  min-height: clamp(580px, 92vh, 900px);
  display: flex;
  align-items: center;
  padding-block: var(--pad-block);
}
.visita-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 33% 40%;
}
.visita::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    120deg,
    rgba(25, 36, 17, 0.9) 0%,
    rgba(25, 36, 17, 0.78) 42%,
    rgba(35, 50, 24, 0.52) 100%
  );
}
.visita-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.visita-copy {
  max-width: 30rem;
}
.visita-lede {
  font-size: var(--step-2);
  color: var(--on-dark);
  margin-top: var(--space-lg);
  max-width: 38ch;
}
.visita-panel {
  background: rgba(25, 36, 17, 0.44);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}
.visita-facts {
  margin: 0 0 var(--space-lg);
}
.vf-row {
  padding-block: var(--space-sm);
  border-bottom: 1px solid var(--hairline-dark);
}
.vf-row:last-child {
  border-bottom: none;
}
.vf-row dt {
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--eyebrow-dark);
  margin-bottom: 0.25rem;
}
.vf-row dd {
  margin: 0;
  font-size: var(--step-1);
  color: var(--on-dark);
}
.vf-row dd a {
  color: var(--on-dark);
  text-underline-offset: 3px;
}
.visita-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  padding: var(--space-3xl) 0 var(--space-2xl);
}
.footer-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.footer-mark {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  filter: none;
}
.footer-signoff {
  font-family: var(--font-serif);
  font-size: var(--step-4);
  color: var(--on-dark);
  margin: 0;
  letter-spacing: var(--track-display);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.footer-h {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--eyebrow-dark);
  margin: 0 0 var(--space-sm);
}
.footer-col p {
  color: var(--on-dark-muted);
  font-size: var(--step-0);
  margin: 0 0 var(--space-sm);
  line-height: 1.5;
}
.footer-col a {
  color: var(--on-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-dark);
}
.footer-col a:hover {
  border-bottom-color: var(--eyebrow-dark);
}
/* giant serif wordmark — the final beat (the page's one --step-poster moment) */
.footer-wordmark {
  max-width: var(--wrap);
  margin: var(--space-xl) auto 0;
  padding-inline: var(--pad-inline);
  font-family: var(--font-serif);
  font-size: var(--step-poster);
  line-height: 0.9;
  letter-spacing: var(--track-display);
  color: var(--on-dark);
  opacity: 0.12;
  user-select: none;
}
.footer-legal {
  max-width: var(--wrap);
  margin: var(--space-2xl) auto 0;
  padding: var(--space-lg) var(--pad-inline) 0;
  border-top: 1px solid var(--hairline-dark);
  color: var(--on-dark-muted);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}
.footer-legal .dot {
  margin: 0 0.4em;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 960px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-desktop,
  .nav-reservar {
    display: none;
  }
  .burger {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    grid-column: 1;
    padding: var(--space-2xl) var(--pad-inline) var(--space-xl);
    max-width: none;
    margin-left: 0;
  }
  .hero-figure {
    grid-column: 1;
    height: min(82vh, 620px);
  }

  .concepto-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    min-height: auto;
  }
  .concepto-figure.straddle {
    align-self: stretch;
    width: min(64%, 280px);
    margin-bottom: calc(-1 * var(--space-2xl));
  }
  .la-tarde {
    padding-top: calc(var(--pad-block) + var(--space-2xl));
  }

  .tarde-body {
    grid-template-columns: 1fr;
  }
  .tarde-figure {
    order: -1;
  }

  .carta-scene {
    grid-template-columns: 1fr;
  }
  .carta-media {
    position: static;
  }
  .carta-media img {
    aspect-ratio: 16 / 10;
  }

  .eventos-grid {
    grid-template-columns: 1fr;
  }
  .eventos-figure {
    order: -1;
  }

  .visita {
    min-height: auto;
  }
  .visita-inner {
    grid-template-columns: 1fr;
  }

  .mierco-vlabel {
    display: none;
  }

  .prueba-inner {
    grid-template-columns: 1fr;
  }
  .prueba .section-head {
    margin-bottom: var(--space-xl);
  }
  .quote-rail {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--hairline-dark);
    padding-top: var(--space-lg);
  }
}

@media (max-width: 620px) {
  .piezas-gallery {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "aside";
    gap: var(--space-lg);
  }
  .piezas-aside {
    align-self: start;
  }
  .food-band {
    grid-template-columns: 1fr;
    gap: var(--space-2xs);
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .band-photo img {
    height: clamp(360px, 62vh, 520px);
  }
  .band-cap {
    font-size: var(--step-3);
  }
}

/* mobile motion expression: reveals opacity-only (no transform) */
@media (max-width: 860px) {
  html.js :where([data-reveal]) {
    transform: none;
  }
  html.js [data-stagger] > * {
    transform: none;
  }
}

/* stagger reveal helper (restrained) */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
[data-stagger].is-in > * {
  opacity: 1;
  transform: none;
}
[data-stagger].is-in > *:nth-child(2) {
  transition-delay: 80ms;
}
[data-stagger].is-in > *:nth-child(3) {
  transition-delay: 160ms;
}
[data-stagger].is-in > *:nth-child(4) {
  transition-delay: 240ms;
}
html:not(.js) [data-stagger] > * {
  opacity: 1;
  transform: none;
}
html[data-shot] [data-stagger] > *,
html.no-motion [data-stagger] > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =====================================================================
   LA PRUEBA — composed dark-green band, the voices carried on the brand
   ground (a deliberate calm-between-photos beat in the band rhythm).
   ===================================================================== */
.prueba {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--on-dark);
  background: var(--surface-dark);
}
.prueba::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      130% 100% at 12% 0%,
      rgba(72, 97, 47, 0.5),
      rgba(72, 97, 47, 0) 55%
    ),
    linear-gradient(158deg, #1b2810 0%, #233218 60%, #2b3d1c 100%);
}
.prueba-inner {
  position: relative;
  z-index: 1;
}
.prueba .section-head .eyebrow {
  color: var(--eyebrow-dark);
}
.prueba .section-head .section-intro {
  color: var(--on-dark);
}
.prueba .display-2 {
  color: var(--on-dark);
}
.prueba .quote-lead p {
  color: #eaf0e1;
}
.prueba .quote-lead cite,
.prueba .quote-item cite {
  color: var(--on-dark-muted);
}
.prueba .quote-rail {
  border-left-color: var(--hairline-dark);
}
.prueba .quote-item {
  border-top-color: var(--hairline-dark);
}
.prueba .quote-item p {
  color: var(--on-dark);
}

/* concepto straddle caption sits over the dark band — keep it legible */
.concepto-figure .photo-cap {
  color: var(--on-dark-muted);
}
