/* ==========================================================================
   Iguana Bleu · Website · v3.0
   Built on tokens.css (Design System v1.0). Palette, type and rules follow
   Iguana Bleu Brand/07_Brand_Guidelines/Design_System/AI_INSTRUCTIONS.md
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; src: url("../assets/fonts/instrument-serif-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../assets/fonts/work-sans-var.woff2") format("woff2"); font-weight: 200 500; font-style: normal; font-display: swap; }

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ib-hueso);
  color: var(--ib-grafito);
  font-family: var(--ib-font-sans);
  font-weight: 300;
  font-size: var(--ib-body-size);
  line-height: var(--ib-body-lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.29 0 0 0 0 0.31 0 0 0 0 0.32 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ib-font-serif); font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 400; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--ib-arena); color: var(--ib-grafito); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.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; }

.container { width: 100%; max-width: calc(var(--ib-container) + var(--ib-gutter-x) * 2); margin-inline: auto; padding-inline: var(--ib-gutter-x); }
.container--wide { max-width: calc(var(--ib-container-wide) + var(--ib-gutter-x) * 2); }
.skip { position: absolute; left: var(--ib-gutter-x); top: -100px; z-index: 200; background: var(--ib-grafito); color: var(--ib-hueso); padding: 0.75rem 1.25rem; }
.skip:focus { top: 1rem; }
.bg-arena { background: var(--ib-arena); }

/* ---- Type ---------------------------------------------------------------- */
.label { font-family: var(--ib-font-sans); font-weight: 500; font-size: var(--ib-label-size); line-height: var(--ib-label-lh); letter-spacing: var(--ib-label-ls); text-transform: uppercase; margin: 0; }
.label--muted { color: var(--ib-text-note); }
.display { font-size: var(--ib-display-size); line-height: var(--ib-display-lh); letter-spacing: var(--ib-display-ls); }
.h1 { font-size: var(--ib-h1-size); line-height: var(--ib-h1-lh); letter-spacing: var(--ib-h1-ls); }
.h1--xl { font-size: clamp(2.5rem, 1.7rem + 2.6vw, 4rem); line-height: 1.06; letter-spacing: -0.012em; }
.h2 { font-size: var(--ib-h2-size); line-height: var(--ib-h2-lh); }
.lead { font-size: var(--ib-lead-size); line-height: var(--ib-lead-lh); font-weight: 300; }
.note { font-size: var(--ib-note-size); line-height: var(--ib-note-lh); color: var(--ib-text-note); }

/* Section heads: label, headline, optional lead on the right */
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ib-grid-gap); row-gap: 1.75rem; align-items: end; margin-bottom: clamp(3rem, 2rem + 3.5vw, 5.5rem); }
.head > div { grid-column: 1 / span 6; }
.head > div .label { margin-bottom: var(--ib-space-5); }
.head > .lead, .head > p { grid-column: 8 / span 5; margin: 0; }
.head > .textlink { grid-column: 8 / span 5; justify-self: end; margin-bottom: 0.6rem; }
@media (max-width: 960px) {
  .head > * { grid-column: 1 / -1 !important; justify-self: start !important; }
  .head > .lead { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); }
}

/* ---- Buttons & links ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 3rem; padding: 0.95rem 2rem;
  font-family: var(--ib-font-sans); font-weight: 500; font-size: var(--ib-label-size);
  letter-spacing: var(--ib-label-ls); text-transform: uppercase; line-height: 1;
  border: 1px solid var(--ib-grafito); border-radius: 0; text-align: center;
  transition: background-color var(--ib-dur) var(--ib-ease), color var(--ib-dur) var(--ib-ease);
}
.btn--primary { background: var(--ib-grafito); color: var(--ib-hueso); }
.btn--primary:hover { background: transparent; color: var(--ib-grafito); }
.btn--ghost { background: transparent; color: var(--ib-grafito); }
.btn--ghost:hover { background: var(--ib-grafito); color: var(--ib-hueso); }

.textlink { display: inline-flex; align-items: center; gap: 0.75rem; font-weight: 500; font-size: var(--ib-label-size); letter-spacing: var(--ib-label-ls); text-transform: uppercase; line-height: 1.4; }
.textlink i { font-style: normal; transition: transform var(--ib-dur) var(--ib-ease); }
.textlink:hover i { transform: translateX(5px); }
.textlink--back:hover i { transform: translateX(-5px); }

.link { font-weight: 400; background: linear-gradient(var(--ib-barro), var(--ib-barro)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size var(--ib-dur) var(--ib-ease); }
.link:hover { background-size: 0% 1px; background-position: 100% 100%; }

/* ---- Language switch ------------------------------------------------------- */
.lang { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.16em; }
.lang span { opacity: 0.35; }
.lang a { opacity: 0.45; padding: 0.35rem 0.1rem; transition: opacity var(--ib-dur-fast) var(--ib-ease); }
.lang a[aria-current="true"], .lang a:hover { opacity: 1; }

.langbar { display: none; }
.langbar.is-on { display: flex; position: fixed; left: 50%; bottom: 1.25rem; z-index: 70; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2rem); align-items: center; gap: 1.25rem; padding: 0.85rem 1rem 0.85rem 1.35rem; background: var(--ib-grafito); color: var(--ib-hueso); font-size: 0.9375rem; animation: rise 600ms var(--ib-ease) both 1.2s; }
.langbar a { font-weight: 500; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.langbar button { opacity: 0.6; font-size: 1.25rem; line-height: 1; padding: 0.25rem 0.4rem; }
.langbar button:hover { opacity: 1; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 520px) { .langbar.is-on { font-size: 0.875rem; gap: 0.75rem; } .langbar .langbar__text { display: none; } }

/* ---- Intro ---------------------------------------------------------------- */
.intro { display: none; }
.has-intro .intro {
  position: fixed; inset: 0; z-index: 150;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  background: var(--ib-hueso);
  transition: opacity 800ms var(--ib-ease), visibility 0s linear 800ms;
}
.intro__mark { width: clamp(96px, 12vw, 140px); clip-path: inset(0 100% 0 0); animation: draw 1300ms cubic-bezier(0.65, 0, 0.35, 1) 150ms forwards; }
.intro__label { font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ib-text-note); opacity: 0; animation: fade 800ms var(--ib-ease) 700ms forwards; }
.intro-done .intro { opacity: 0; visibility: hidden; }
@keyframes draw { to { clip-path: inset(0 0 0 0); } }
@keyframes fade { to { opacity: 1; } }

/* ---- Header --------------------------------------------------------------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: transform 700ms var(--ib-ease), background-color var(--ib-dur) var(--ib-ease), box-shadow var(--ib-dur) var(--ib-ease); }
.header__inner { display: flex; align-items: center; gap: 2.5rem; height: 5.5rem; max-width: calc(var(--ib-container-wide) + var(--ib-gutter-x) * 2); margin-inline: auto; padding-inline: var(--ib-gutter-x); }
.header__logo { flex: none; }
.header__logo img { width: 168px; height: auto; }
.header__nav { display: flex; gap: clamp(1.25rem, 0.2rem + 1.6vw, 2.25rem); margin-left: auto; }
.header__nav a { font-weight: 500; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; position: relative; padding-block: 0.4rem; white-space: nowrap; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ib-barro); transform: scaleX(0); transform-origin: right; transition: transform var(--ib-dur) var(--ib-ease); }
.header__nav a:hover::after, .header__nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header.is-solid { background: var(--ib-hueso); box-shadow: 0 1px 0 var(--ib-rule); }
.header.is-hidden { transform: translateY(-100%); }
.header__toggle { display: none; margin-left: auto; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.9rem 0; min-width: 3rem; text-align: right; }
@media (max-width: 1120px) {
  .header__inner { height: 4.5rem; }
  .header__nav, .header .lang { display: none; }
  .header__toggle { display: block; }
  .header__logo img { width: 148px; }
}

/* ---- Mobile overlay ------------------------------------------------------- */
.overlay { position: fixed; inset: 0; z-index: 55; background: var(--ib-hueso); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 6.5rem var(--ib-gutter-x) 2rem; overflow-y: auto; opacity: 0; transition: opacity 500ms var(--ib-ease); }
.overlay[hidden] { display: none; }
.overlay:not(.is-open) { pointer-events: none; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.overlay__nav { display: flex; flex-direction: column; gap: 0.35rem; }
.overlay__nav a { font-family: var(--ib-font-serif); font-size: clamp(2.125rem, 1.5rem + 3vw, 2.75rem); line-height: 1.2; letter-spacing: -0.01em; opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ib-ease), transform 600ms var(--ib-ease); }
.overlay.is-open .overlay__nav a { opacity: 1; transform: none; }
.overlay.is-open .overlay__nav a:nth-child(2) { transition-delay: 50ms; }
.overlay.is-open .overlay__nav a:nth-child(3) { transition-delay: 100ms; }
.overlay.is-open .overlay__nav a:nth-child(4) { transition-delay: 150ms; }
.overlay.is-open .overlay__nav a:nth-child(5) { transition-delay: 200ms; }
.overlay.is-open .overlay__nav a:nth-child(6) { transition-delay: 250ms; }
.overlay__foot { display: grid; gap: 1.25rem; border-top: 1px solid var(--ib-rule); padding-top: 1.5rem; font-size: 1rem; }
.overlay__foot address { line-height: 1.55; }
.overlay__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
body.menu-open { overflow: hidden; }

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero__inner {
  position: relative; z-index: 1; flex: 1;
  width: 100%; max-width: calc(var(--ib-container-wide) + var(--ib-gutter-x) * 2); margin-inline: auto;
  padding: 7.5rem var(--ib-gutter-x) 2.5rem;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ib-grid-gap); align-items: center;
}
.hero__text { grid-column: 1 / span 5; padding-left: clamp(0rem, 3vw, 3rem); }
.hero h1 { margin: 0; }
.hero__label { display: grid; gap: 0.55rem; margin-bottom: 2rem; }
.hero__brand { font-family: var(--ib-font-sans); font-weight: 500; font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.0625rem); letter-spacing: 0.26em; text-transform: uppercase; line-height: 1.3; }
.hero__label .label { color: var(--ib-text-note); font-size: 0.75rem; letter-spacing: 0.18em; }
.hero__title { display: block; font-size: clamp(3.25rem, 2.3rem + 3vw, 5.5rem); line-height: 1.02; letter-spacing: -0.015em; margin-bottom: 2rem; }
.hero__lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4375rem); line-height: var(--ib-lead-lh); max-width: 27rem; margin-bottom: 2.75rem; }
.hero__actions { display: flex; align-items: center; gap: 1.5rem 2.25rem; flex-wrap: wrap; }
.hero__media { grid-column: 7 / span 6; position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-height: calc(100svh - 17rem); min-height: 400px; justify-self: end; width: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.08); }

/* Quick facts under the hero: what a visitor needs first */
.facts-bar { position: relative; z-index: 1; width: 100%; max-width: calc(var(--ib-container-wide) + var(--ib-gutter-x) * 2); margin-inline: auto; padding: 0 var(--ib-gutter-x) 2.5rem; }
.facts-bar ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--ib-grid-gap); border-top: 1px solid var(--ib-rule); padding-top: 1.35rem; margin-inline: clamp(0rem, 3vw, 3rem) 0; }
.facts-bar li { display: grid; gap: 0.3rem; font-size: 1rem; line-height: 1.5; }
.facts-bar .label { font-size: 0.6875rem; color: var(--ib-text-note); }
.facts-bar a { width: fit-content; }

.js [data-hero] { opacity: 0; transform: translateY(14px); }
.js [data-hero-media] { clip-path: inset(100% 0 0 0); }
.is-loaded [data-hero] { opacity: 1; transform: none; transition: opacity 1100ms var(--ib-ease), transform 1100ms var(--ib-ease); }
.is-loaded .hero__lead { transition-delay: 200ms; }
.is-loaded .hero__actions { transition-delay: 340ms; }
.is-loaded .facts-bar[data-hero] { transition-delay: 520ms; }
.js [data-hero-media] { clip-path: inset(18% 0 0 0); }
.is-loaded [data-hero-media] { clip-path: inset(0 0 0 0); transition: clip-path 1200ms cubic-bezier(0.65, 0, 0.35, 1); }
.is-loaded [data-hero-media] img { transform: scale(1); transition: transform 2400ms var(--ib-ease); }
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 7rem; padding-bottom: 2.5rem; row-gap: 2.75rem; }
  .hero__text, .hero__media { grid-column: 1; padding-left: 0; }
  .hero__media { max-height: none; min-height: 0; aspect-ratio: 4 / 3; }
  .facts-bar ul { grid-template-columns: 1fr; row-gap: 1.1rem; margin-left: 0; }
  .facts-bar li { grid-template-columns: 7rem 1fr; align-items: baseline; }
}
@media (max-width: 420px) { .facts-bar li { grid-template-columns: 1fr; } }

/* ---- Komorebi -------------------------------------------------------------- */
.komorebi { position: absolute; inset: -6% -4% -6% 0; z-index: 2; pointer-events: none; mix-blend-mode: multiply; }
.komorebi span { position: absolute; inset: 0; background: url("../assets/img/komorebi.svg") right top / cover no-repeat; transform-origin: 100% 0; will-change: transform; }
.komorebi__far { opacity: 0.075; filter: blur(14px); animation: sway 17s ease-in-out infinite alternate; }
.komorebi__near { opacity: 0.06; filter: blur(5px); animation: sway-near 11s ease-in-out infinite alternate; inset: 4% -2% 0 6%; }
@keyframes sway { 0% { transform: translate3d(0, 0, 0) rotate(0deg); } 100% { transform: translate3d(-1.5%, 1%, 0) rotate(-1.6deg) skewX(1.2deg); } }
@keyframes sway-near { 0% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(-0.8%, 0.6%, 0) rotate(1deg); } 100% { transform: translate3d(0.6%, -0.4%, 0) rotate(-0.8deg) skewY(0.6deg); } }
.js .komorebi { opacity: 0; transition: opacity 3s var(--ib-ease) 600ms; }
.is-loaded .komorebi { opacity: 1; }
@media (max-width: 960px) { .komorebi { inset: -2% -30% 50% 0; } }

/* ---- Reveal ---------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 1000ms var(--ib-ease) var(--d, 0ms), transform 1000ms var(--ib-ease) var(--d, 0ms); }
.js [data-reveal="image"] { transform: none; opacity: 1; }
.js [data-reveal="image"] figure, .js figure[data-reveal="image"] { clip-path: inset(12% 0 0 0); transition: clip-path 1400ms cubic-bezier(0.65, 0, 0.35, 1) var(--d, 0ms); }
.js [data-reveal="image"] img, .js figure[data-reveal="image"] img { transform: scale(1.06); transition: transform 2200ms var(--ib-ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="image"].is-in figure, .js figure[data-reveal="image"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="image"].is-in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal] figure, .js [data-hero], .js [data-hero-media], .js .komorebi { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .js [data-reveal] img, .js [data-hero-media] img { transform: none !important; }
  .komorebi span { animation: none !important; }
}

/* ---- Seasonal drinks ---------------------------------------------------------- */
.season { background: var(--ib-arena); padding-block: var(--ib-section-y) clamp(3.5rem, 2rem + 4vw, 6rem); overflow: hidden; }
.season .head { margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.reel { position: relative; }
/* The list moves with a GPU transform (sub-pixel smooth); JS handles the drift and the drag.
   touch-action: pan-y keeps vertical page scrolling while horizontal drags move the reel. */
.reel__track { overflow: hidden; padding-inline: var(--ib-gutter-x); cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.reel__track.is-dragging { cursor: grabbing; }
.reel__list { display: flex; gap: clamp(0.5rem, 0.2rem + 1vw, 1.5rem); width: max-content; will-change: transform; transform: translate3d(0, 0, 0); backface-visibility: hidden; }
.no-js .reel__track, .reduce .reel__track { overflow-x: auto; scrollbar-width: none; }
.drink { flex: none; width: clamp(15rem, 11rem + 14vw, 23rem); }
.drink__img { position: relative; aspect-ratio: 900 / 1100; }
.drink__img img { width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.drink__text { padding: 1.35rem clamp(0.5rem, 2vw, 1.5rem) 0; text-align: center; }
.drink h3 { font-size: var(--ib-h2-size); line-height: 1.2; margin-bottom: 0.45rem; }
.drink p { font-size: 0.9375rem; line-height: 1.55; max-width: 17rem; margin-inline: auto; }
.reel__foot { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(73, 78, 81, 0.22); }
.reel__foot .note { color: var(--ib-grafito); font-size: 1rem; max-width: 36rem; margin: 0; }

/* ---- La carta --------------------------------------------------------------- */
.carta { padding-block: var(--ib-section-y); }
.carta__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ib-grid-gap); align-items: start; }
.carta__side { grid-column: 1 / span 4; position: sticky; top: 7.5rem; }
.carta__side .label { margin-bottom: var(--ib-space-5); }
.carta__side .h1 { margin-bottom: 1.5rem; }
.carta__side .lead { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.375rem); }
.carta__side .note { margin-top: 1.5rem; }
.carta__img { margin-top: 2.75rem; aspect-ratio: 4 / 3; overflow: hidden; }
.carta__img img { width: 100%; height: 100%; object-fit: cover; }
.carta__menu { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 1rem + 4vw, 5rem); row-gap: clamp(3rem, 2.5rem + 2vw, 4.5rem); align-items: start; }
.group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--ib-grafito); }
.group__title { font-size: clamp(1.875rem, 1.6rem + 0.9vw, 2.375rem); line-height: 1.1; letter-spacing: -0.01em; }
.group__num { font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.2em; color: var(--ib-text-note); }
.group__note { margin: 0.9rem 0 0; font-size: 0.9375rem; line-height: 1.55; color: var(--ib-text-note); }
.dish { display: grid; gap: 0.15rem; padding: 0.95rem 0; border-bottom: 1px solid var(--ib-rule); }
.dish:last-child { border-bottom: 0; }
.dish__name { font-family: var(--ib-font-serif); font-size: var(--ib-h2-size); line-height: 1.2; }
.dish__desc { font-size: 0.9375rem; line-height: 1.55; }
.group--feature { grid-column: 1 / -1; background: var(--ib-arena); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.group--feature .group__head { border-bottom-color: rgba(73, 78, 81, 0.5); }
.group--feature ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.25rem, 0.5rem + 2vw, 2.5rem); }
.group--feature .dish { border-bottom: 0; padding-top: 1.25rem; }
.group--feature .group__foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(73, 78, 81, 0.2); }
@media (max-width: 1100px) {
  .carta__side { grid-column: 1 / -1; position: static; margin-bottom: 4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ib-grid-gap); }
  .carta__side > * { grid-column: 1; }
  .carta__img { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
  .carta__menu { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .carta__side { display: block; }
  .carta__img { margin-top: 2.5rem; }
  .carta__menu { grid-template-columns: 1fr; }
  .group--feature { margin-inline: calc(var(--ib-gutter-x) * -1); padding-inline: var(--ib-gutter-x); }
  .group--feature ul { grid-template-columns: 1fr; }
  .group--feature .dish { padding-top: 1rem; border-bottom: 1px solid rgba(73, 78, 81, 0.14); }
  .group--feature .dish:last-child { border-bottom: 0; }
}

/* ---- El local · gallery on a locked grid so every edge lines up ---------------- */
.local { padding-block: var(--ib-section-y); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--ib-grid-gap); aspect-ratio: 12 / 7.2; }
.gallery figure { overflow: hidden; min-height: 0; background: var(--ib-arena); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g1 { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.g2 { grid-column: 6 / span 7; grid-row: 1; }
.g3 { grid-column: 6 / span 3; grid-row: 2; }
.g4 { grid-column: 9 / span 4; grid-row: 2; }
.g4 img { object-position: 50% 70%; }
@media (max-width: 760px) {
  .gallery { aspect-ratio: auto; grid-template-rows: none; grid-auto-rows: auto; }
  .gallery figure { grid-row: auto; }
  .g1 { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .g2 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .g3 { grid-column: 1 / span 6; aspect-ratio: 1; }
  .g4 { grid-column: 7 / span 6; aspect-ratio: 1; }
}

/* ---- Nuestro café (farm teaser) ------------------------------------------------ */
.cafe { padding-block: var(--ib-section-y); background: var(--ib-arena); }
.statement { font-family: var(--ib-font-serif); font-size: clamp(2.375rem, 1rem + 4.2vw, 5rem); line-height: 1.04; letter-spacing: -0.015em; max-width: 13em; margin: 0 0 clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.statement .w { transition: opacity 500ms var(--ib-ease); }
.js .statement .w { opacity: 0.16; }
.js .statement .w.on { opacity: 1; }
.cafe__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ib-grid-gap); row-gap: 3rem; align-items: center; }
.cafe__media { grid-column: 1 / span 6; aspect-ratio: 4 / 5; overflow: hidden; }
.cafe__media img { width: 100%; height: 100%; object-fit: cover; }
.cafe__text { grid-column: 8 / span 5; }
.cafe__text .label { margin-bottom: var(--ib-space-5); }
.cafe__text .h1 { margin-bottom: 1.5rem; }
.cafe__text .lead { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem); margin-bottom: 1.25rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--ib-grid-gap); margin: 2.75rem 0 0; padding-top: 2.25rem; border-top: 1px solid rgba(73, 78, 81, 0.25); }
.facts div { display: grid; gap: 0.3rem; align-content: start; }
.facts dt { color: var(--ib-text-note); font-size: 0.6875rem; }
.facts dd { margin: 0; font-family: var(--ib-font-serif); font-size: clamp(1.625rem, 1.4rem + 0.8vw, 2.125rem); line-height: 1.1; }
.facts dd.note { font-family: var(--ib-font-sans); font-size: 0.9375rem; line-height: 1.5; }
.cafe__more { margin-top: 2.75rem; }
@media (max-width: 960px) { .cafe__media, .cafe__text { grid-column: 1 / -1; } .cafe__media { aspect-ratio: 4 / 3; } }

.family { margin-top: clamp(5rem, 3rem + 6vw, 9rem); }
.family__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.25rem; border-bottom: 1px solid var(--ib-grafito); margin-bottom: 2.5rem; }
.family__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ib-grid-gap); }
.family__list a { display: block; }
.family__list figure { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 1.35rem; background: var(--ib-hueso); }
.family__list img { width: 100%; height: 100%; object-fit: cover; transition: transform 1600ms var(--ib-ease); }
.family__list a:hover img { transform: scale(1.03); }
.family__list .h2 { margin: 0.45rem 0 0.6rem; }
.family__list p:last-child { max-width: 22rem; font-size: 1rem; line-height: 1.6; }
@media (max-width: 760px) {
  .family__list { grid-template-columns: 1fr; row-gap: 2.75rem; }
  .family__list figure { aspect-ratio: 4 / 3; }
}

/* ---- Beans · Blue Iguana ----------------------------------------------------- */
.beans { padding-block: var(--ib-section-y); }
.beans__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 1rem + 5vw, 6rem); }
.bag { display: flex; flex-direction: column; }
.bag__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 5 / 4; background: var(--ib-arena); margin-bottom: 2.25rem; overflow: hidden; padding: clamp(1.25rem, 4%, 2.5rem); }
.bag__img img { width: 100%; height: 100%; object-fit: contain; transition: transform 1600ms var(--ib-ease); }
.bag__img:hover img { transform: scale(1.025); }
.roast-scale { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-bottom: 1.75rem; color: var(--ib-text-note); }
.roast-scale .label { font-size: 0.6875rem; }
.roast-scale i { position: relative; height: 1px; background: rgba(73, 78, 81, 0.3); }
.roast-scale i::after { content: ""; position: absolute; top: 50%; left: var(--pos); width: 9px; height: 9px; border-radius: 50%; background: var(--ib-grafito); transform: translate(-50%, -50%); }
.bag .h2 { margin-bottom: 0.5rem; }
.bag__notes { font-family: var(--ib-font-serif); font-style: italic; font-size: clamp(1.5rem, 1.25rem + 1vw, 2.25rem); line-height: 1.15; margin-bottom: 1rem; }
.bag p:not(.bag__notes) { max-width: 28rem; margin-bottom: 1.75rem; }
.bag .textlink { margin-top: auto; }
.beans__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; margin: clamp(4rem, 3rem + 3vw, 6rem) 0 0; padding-top: 1.75rem; border-top: 1px solid var(--ib-rule); }
.beans__foot em { font-family: var(--ib-font-serif); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); }
@media (max-width: 760px) { .beans__grid { grid-template-columns: 1fr; } }

/* ---- Quote ------------------------------------------------------------------ */
.quote { background: var(--ib-grafito); color: var(--ib-hueso); padding-block: clamp(6rem, 4rem + 10vw, 12rem); }
.quote__mark { width: 64px; margin-bottom: 3rem; }
.quote__text { font-family: var(--ib-font-serif); font-size: clamp(2.5rem, 1.2rem + 4.4vw, 5.25rem); line-height: 1.05; letter-spacing: var(--ib-display-ls); margin: 0; }
.quote__text > span { display: block; }
.quote__text .q3 { font-style: italic; color: var(--ib-arena); margin-top: 0.14em; }

/* ---- Journal cards --------------------------------------------------------------- */
.journal { background: var(--ib-arena); padding-block: var(--ib-section-y); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 1rem + 3vw, 3rem) clamp(1.5rem, 1rem + 2vw, 3rem); }
.journal__more { display: flex; justify-content: center; margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.card a { display: flex; flex-direction: column; height: 100%; }
.card__img { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 1.5rem; background: var(--ib-hueso); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1600ms var(--ib-ease); }
.card__img--contain img { object-fit: contain; padding: 8%; }
.card a:hover .card__img img { transform: scale(1.04); }
.card .label { margin-bottom: 0.9rem; font-size: 0.6875rem; }
.card__title { font-size: clamp(1.5rem, 1.3rem + 0.7vw, 2rem); line-height: 1.15; }
.card__title span { background: linear-gradient(var(--ib-grafito), var(--ib-grafito)) 0 100% / 0% 1px no-repeat; transition: background-size 700ms var(--ib-ease); }
.card a:hover .card__title span { background-size: 100% 1px; }
.card__excerpt { font-size: 1rem; line-height: 1.6; margin-top: 0.9rem; max-width: 26rem; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .card__img { aspect-ratio: 4 / 3; } }

/* ---- Visita ------------------------------------------------------------------------ */
.visita { padding-block: var(--ib-section-y); }
.visita__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ib-grid-gap); row-gap: 3.5rem; align-items: stretch; }
.visita__media { grid-column: 1 / span 5; position: relative; min-height: 34rem; overflow: hidden; background: var(--ib-arena); }
.visita__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.visita__text { grid-column: 7 / span 6; align-self: center; }
.visita__text > .label { margin-bottom: var(--ib-space-5); }
.visita__text .h1 { margin-bottom: 1.5rem; }
.details { margin: 2.5rem 0; display: grid; }
.details > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--ib-rule); }
.details > div:last-child { border-bottom: 1px solid var(--ib-rule); }
.details dt { color: var(--ib-text-note); padding-top: 0.3rem; font-size: 0.6875rem; }
.details dd { margin: 0; }
.visita__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Map: palette panel first, Google Maps only loads on request */
.map { position: absolute; inset: 0; display: none; }
.map.is-on { display: block; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(0.12) contrast(0.92) brightness(1.02); }
.map-toggle { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; background: var(--ib-hueso); padding: 0.8rem 1.1rem; min-height: 2.75rem; }
.map-toggle:hover { background: var(--ib-grafito); color: var(--ib-hueso); }
@media (max-width: 960px) {
  .visita__media, .visita__text { grid-column: 1 / -1; }
  .visita__media { min-height: 0; aspect-ratio: 4 / 5; max-height: 38rem; }
}
@media (max-width: 480px) { .details > div { grid-template-columns: 1fr; gap: 0.35rem; } }

/* ---- FAQ ------------------------------------------------------------------------- */
.faq { padding-block: 0 var(--ib-section-y); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ib-grid-gap); row-gap: 2rem; border-top: 1px solid var(--ib-grafito); padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.faq__head { grid-column: 1 / span 4; }
.faq__head .label { margin-bottom: var(--ib-space-5); }
.faq__list { grid-column: 6 / span 7; }
.faq details { border-bottom: 1px solid var(--ib-rule); }
.faq details:first-child { border-top: 1px solid var(--ib-rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.35rem 0; font-family: var(--ib-font-serif); font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--ib-font-sans); font-weight: 200; font-size: 1.75rem; line-height: 1; transition: transform var(--ib-dur) var(--ib-ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 3rem 1.5rem 0; max-width: 40rem; font-size: 1.0625rem; }
@media (max-width: 960px) { .faq__head, .faq__list { grid-column: 1 / -1; } }

/* ---- Footer ---------------------------------------------------------------------- */
.footer { background: var(--ib-grafito); color: var(--ib-hueso); padding-block: clamp(5rem, 3rem + 6vw, 8rem) 2rem; }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ib-grid-gap); row-gap: 3.5rem; padding-bottom: clamp(4rem, 3rem + 4vw, 6rem); }
.footer__brand { grid-column: 1 / span 4; }
.footer__logo { width: 200px; margin-bottom: 2.5rem; }
.beans.bg-arena .bag__img { background: var(--ib-hueso); }
.beans.bg-arena .beans__foot { border-top-color: rgba(73, 78, 81, 0.22); }
.quote__text .w { transition: opacity 500ms var(--ib-ease); }
.js .quote__text .w { opacity: 0.16; }
.js .quote__text .w.on { opacity: 1; }
.footer__phrase { font-family: var(--ib-font-serif); font-style: italic; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); line-height: 1.2; color: var(--ib-arena); margin: 0; }
.footer__col { display: flex; flex-direction: column; gap: 0.55rem; font-size: 1rem; line-height: 1.55; }
.footer__col--visit { grid-column: 6 / span 3; }
.footer__col--explore { grid-column: 9 / span 2; }
.footer__col--contact { grid-column: 11 / span 2; }
.footer .label { color: rgba(241, 240, 235, 0.6); margin-bottom: 0.75rem; font-size: 0.6875rem; }
.footer a { width: fit-content; opacity: 0.85; transition: opacity var(--ib-dur-fast) var(--ib-ease); }
.footer a:hover { opacity: 1; }
.footer address { margin-bottom: 0.4rem; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; padding-top: 1.75rem; border-top: 1px solid rgba(241, 240, 235, 0.16); font-size: 0.875rem; color: rgba(241, 240, 235, 0.7); }
.footer__bottom p { margin: 0; }
.footer__end { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.footer .credit { font-size: 0.8125rem; letter-spacing: 0.04em; opacity: 0.8; border-bottom: 1px solid rgba(241, 240, 235, 0.3); padding-bottom: 1px; }
.footer .credit span { font-weight: 500; }
.footer .credit:hover { opacity: 1; border-bottom-color: var(--ib-hueso); }
@media (max-width: 960px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__logo { width: 160px; }
  .footer__col--visit { grid-column: 1 / span 5; }
  .footer__col--explore { grid-column: 6 / span 3; }
  .footer__col--contact { grid-column: 9 / span 4; }
}
@media (max-width: 640px) {
  .footer__col--visit { grid-column: 1 / -1; }
  .footer__col--explore { grid-column: 1 / span 6; }
  .footer__col--contact { grid-column: 7 / span 6; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page main { padding-top: 5.5rem; }
@media (max-width: 1120px) { .page main { padding-top: 4.5rem; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ib-text-note); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.crumbs a:hover { color: var(--ib-grafito); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }

/* Page intro (story + journal index) */
.pintro { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(3rem, 2rem + 4vw, 6rem); }
.pintro__inner { max-width: 50rem; }
.pintro .label { margin-bottom: 1.5rem; }
.pintro h1 { font-size: clamp(2.75rem, 1.5rem + 4.2vw, 5.5rem); line-height: 1.02; letter-spacing: -0.015em; margin-bottom: 1.75rem; }
.pintro .lead { max-width: 40rem; }

/* Our story */
.story-hero { max-width: calc(var(--ib-container-wide) + var(--ib-gutter-x) * 2); margin-inline: auto; padding-inline: var(--ib-gutter-x); }
.story-hero figure { aspect-ratio: 21 / 9; overflow: hidden; }
.story-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .story-hero figure { aspect-ratio: 4 / 3; } }
.gen { padding-block: var(--ib-section-y) 0; }
.gen__item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ib-grid-gap); row-gap: 2rem; align-items: center; }
.gen__item + .gen__item { margin-top: clamp(5rem, 3rem + 6vw, 9rem); }
.gen__item figure { grid-column: 1 / span 5; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ib-arena); }
.gen__item figure img { width: 100%; height: 100%; object-fit: cover; }
.gen__text { grid-column: 7 / span 5; }
.gen__item:nth-child(even) figure { grid-column: 8 / span 5; grid-row: 1; }
.gen__item:nth-child(even) .gen__text { grid-column: 2 / span 5; grid-row: 1; }
.gen__text .label { margin-bottom: 1rem; }
.gen__text h2 { font-size: var(--ib-h1-size); line-height: 1.12; margin-bottom: 1.5rem; }
.gen__text p { max-width: 32rem; }
@media (max-width: 860px) {
  .gen__item figure, .gen__text, .gen__item:nth-child(even) figure, .gen__item:nth-child(even) .gen__text { grid-column: 1 / -1; grid-row: auto; }
  .gen__item figure { aspect-ratio: 4 / 3; }
}
.story-close { padding-block: var(--ib-section-y); }
.story-close .inner { max-width: 44rem; }
.story-close h2 { margin-bottom: 1.5rem; }
.story-close .lead { margin-bottom: 2.5rem; }
.story-close .visita__actions { margin-top: 0.5rem; }

/* Process (story page) */
.process { padding-block: var(--ib-section-y); }
.process__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ib-grid-gap); }
.process__stage { grid-column: 1 / span 6; position: sticky; top: 7rem; align-self: start; height: calc(100vh - 10rem); max-height: 780px; display: flex; flex-direction: column; }
.process__frame { position: relative; flex: 1; overflow: hidden; background: var(--ib-arena); }
.process__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 1200ms var(--ib-ease), transform 3000ms var(--ib-ease); }
.process__frame img.is-active { opacity: 1; transform: scale(1); }
.process__count { margin-top: 1rem; color: var(--ib-text-note); }
.process__count span { color: var(--ib-grafito); }
.process__steps { grid-column: 8 / span 5; position: relative; padding-left: 2.5rem; }
.process__steps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--ib-rule); }
.process__steps::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--ib-grafito); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 800ms var(--ib-ease); }
.step:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 8vh; }
.step:last-child { min-height: 60vh; }
.step.is-active { opacity: 1; }
.step h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.75rem); line-height: 1.12; margin: 1.25rem 0 1rem; }
.step p { max-width: 26rem; }
.step__img { display: none; }
@media (max-width: 960px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__stage { display: none; }
  .process__steps { grid-column: 1; padding-left: 0; }
  .process__steps::before, .process__steps::after { display: none; }
  .step, .step:first-child, .step:last-child { min-height: 0; opacity: 1; padding: 0 0 3.5rem; }
  .step__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.5rem; }
}

/* Journal index */
.jindex { padding-bottom: var(--ib-section-y); }
.jlist { display: grid; border-top: 1px solid var(--ib-grafito); }
.jitem a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ib-grid-gap); row-gap: 1.5rem; align-items: center; padding: clamp(2rem, 1.5rem + 2vw, 3.25rem) 0; border-bottom: 1px solid var(--ib-rule); }
.jitem figure { grid-column: 1 / span 4; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ib-arena); }
.jitem figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1600ms var(--ib-ease); }
.jitem figure.is-contain img { object-fit: contain; padding: 6%; }
.jitem a:hover figure img { transform: scale(1.04); }
.jitem__text { grid-column: 6 / span 6; }
.jitem__text .label { margin-bottom: 1rem; font-size: 0.6875rem; }
.jitem__text h2 { font-size: clamp(1.875rem, 1.4rem + 1.5vw, 3rem); line-height: 1.08; margin-bottom: 1rem; }
.jitem__text p:last-child { max-width: 34rem; }
.jitem__arrow { grid-column: 12; justify-self: end; font-size: 1.5rem; transition: transform var(--ib-dur) var(--ib-ease); }
.jitem a:hover .jitem__arrow { transform: translateX(6px); }
@media (max-width: 760px) {
  .jitem figure, .jitem__text { grid-column: 1 / -1; }
  .jitem__arrow { display: none; }
}

/* Article */
.article__head { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.article__head .inner { max-width: 52rem; }
.article__meta { color: var(--ib-text-note); margin-bottom: 1.5rem; font-size: 0.6875rem; }
.article__title { font-size: clamp(2.5rem, 1.3rem + 4vw, 5rem); line-height: 1.04; letter-spacing: -0.015em; margin-bottom: 1.75rem; }
.article__lead { font-size: var(--ib-lead-size); line-height: var(--ib-lead-lh); max-width: 42rem; }
.article__hero { max-width: calc(var(--ib-container-wide) + var(--ib-gutter-x) * 2); margin-inline: auto; padding-inline: var(--ib-gutter-x); }
.article__hero figure { aspect-ratio: 16 / 8; overflow: hidden; background: var(--ib-arena); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__hero figure.is-contain img { object-fit: contain; padding: 3%; }
.article__hero figcaption, .prose figcaption { margin-top: 0.9rem; font-size: 0.9375rem; color: var(--ib-text-note); }
@media (max-width: 760px) { .article__hero figure { aspect-ratio: 4 / 3; } }

.prose { max-width: 42rem; margin: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) auto 0; padding-inline: var(--ib-gutter-x); box-sizing: content-box; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.8; }
.prose > * + * { margin-top: 1.35em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.875rem, 1.6rem + 1vw, 2.5rem); line-height: 1.15; margin-top: 2.4em; margin-bottom: -0.35em; }
.prose h3 { font-size: 1.625rem; line-height: 1.2; margin-top: 2em; margin-bottom: -0.5em; }
.prose a:not(.btn) { font-weight: 400; background: linear-gradient(var(--ib-barro), var(--ib-barro)) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; }
.prose a:not(.btn):hover { background-size: 0% 1px; background-position: 100% 100%; transition: background-size var(--ib-dur) var(--ib-ease); }
.prose .dropcap::first-letter { font-family: var(--ib-font-serif); float: left; font-size: 4.6em; line-height: 0.82; padding: 0.08em 0.1em 0 0; }
.prose blockquote { margin: 2.2em 0; padding: 0; font-family: var(--ib-font-serif); font-style: italic; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.2; }
.prose figure { margin: 2.6em calc(-1 * clamp(0rem, 10vw, 8rem)); }
.prose figure img { width: 100%; }
.prose figure.is-contain { background: var(--ib-arena); padding: 4% 12%; }
.prose figure.portrait { margin-inline: 0; max-width: 28rem; }
.prose ul.plain li, .prose ol.steps li { position: relative; padding-left: 1.5rem; margin-top: 0.55em; }
.prose ul.plain li::before { content: ""; position: absolute; left: 0; top: 0.9em; width: 0.75rem; height: 1px; background: var(--ib-barro); }
.prose ol.steps { counter-reset: s; }
.prose ol.steps li { padding-left: 2.25rem; }
.prose ol.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0.35em; font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--ib-text-note); }
.prose .aside { background: var(--ib-arena); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); font-size: 1rem; line-height: 1.7; }
.prose .aside .label { margin-bottom: 0.9rem; }
.recipe { background: var(--ib-arena); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.recipe .label { margin-bottom: 1.25rem; }
.recipe dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 0 0 1.25rem; }
.recipe dt { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ib-text-note); }
.recipe dd { margin: 0.35rem 0 0; font-family: var(--ib-font-serif); font-size: 1.75rem; line-height: 1.1; }
.recipe p { font-size: 1rem; line-height: 1.7; }
@media (max-width: 640px) { .recipe dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .prose figure { margin-inline: 0; } }

.article__end { max-width: 42rem; margin: clamp(3.5rem, 3rem + 3vw, 5.5rem) auto 0; padding-inline: var(--ib-gutter-x); box-sizing: content-box; }
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; border-top: 1px solid var(--ib-grafito); padding-top: 2rem; }
.cta-box p { font-family: var(--ib-font-serif); font-style: italic; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.3; margin: 0; }
@media (max-width: 640px) { .cta-box { grid-template-columns: 1fr; } }
.more { background: var(--ib-arena); margin-top: var(--ib-section-y); padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
.more .head { margin-bottom: 3rem; }
.more .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.more .card__img { aspect-ratio: 3 / 2; }
@media (max-width: 640px) { .more .cards { grid-template-columns: 1fr; } }

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; padding-block: var(--ib-section-y); }
.notfound h1 { font-size: var(--ib-display-size); line-height: 1.05; margin: 1.5rem 0; }
.notfound .visita__actions { margin-top: 2.5rem; }
