:root {
  --bg: #17231c;
  --green: #2c4637;
  --paper: #f1ece4;
  --steel: #e2e5e2;
  --ink: #1a1410;
  --brick: #a34a33;
  --brick-d: #7b3524;
  --amber: #dd9a45;
  --muted: #b3bcb5;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--paper);
  font-family: var(--display); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 78%; line-height: .95; letter-spacing: -.02em; }
h2 em, .label-claim em { font-style: normal; color: var(--amber); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; }
.skip:focus { top: 12px; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  background: var(--brick); color: var(--paper); text-decoration: none;
  font: 600 16px/1 var(--display); padding: 16px 24px; border-radius: 999px; border: 1.5px solid var(--brick);
  transition: translate .2s, background-color .2s;
}
.btn:hover { translate: 0 -2px; background: var(--brick-d); }
.btn .ico { width: 20px; height: 20px; }
.btn-ghost { background: transparent; border-color: color-mix(in srgb, var(--paper) 55%, transparent); }
.btn-ghost:hover { background: color-mix(in srgb, var(--paper) 12%, transparent); }
.btn-ghost-dark { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost-dark:hover { background: var(--paper); color: var(--ink); }
.btn-sm { padding: 11px 18px; font-size: 15px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 4vw, 48px); transition: background-color .3s, box-shadow .3s;
}
.nav.is-solid { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(241,236,228,.1); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 78%; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; margin-right: auto; }
.nav-brand .moka { width: 26px; height: 32px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--amber); }

/* HERO: etiqueta */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 112px 16px 72px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(.35) brightness(.42) blur(3px); transform: scale(1.08); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 40%, rgba(23,35,28,.35), rgba(23,35,28,.92)); }
.label {
  position: relative; width: min(1000px, 100%); background: var(--paper); color: var(--ink);
  padding: clamp(18px, 3vw, 36px) clamp(18px, 4.2vw, 56px) clamp(18px, 2.6vw, 30px);
  border-radius: 4px; rotate: -1.2deg;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 2px 0 rgba(0,0,0,.2);
  background-image: radial-gradient(rgba(26,20,16,.05) 1px, transparent 1px); background-size: 4px 4px;
}
.label::before, .label::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: radial-gradient(circle at 5px 0, transparent 4px, var(--paper) 4.5px) repeat-x; background-size: 10px 10px; }
.label::before { top: -9px; transform: scaleY(-1); }
.label::after { bottom: -9px; }
.label-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 14px; padding-right: clamp(64px, 8vw, 110px); border-bottom: 1.5px solid var(--ink); }
.label-name { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(12px, 2.4vw, 34px); align-items: end; margin: clamp(14px, 2vw, 24px) 0 clamp(10px, 1.4vw, 18px); font-size: clamp(84px, 16.5vw, 236px); font-stretch: 75%; line-height: .8; letter-spacing: -.01em; }
.label-moka { grid-row: 1 / span 2; width: clamp(64px, 11vw, 160px); height: auto; align-self: center; }
.ln-pan, .ln-dora { display: block; }
.o-photo { display: inline-block; width: .7em; height: .7em; margin: 0 .015em; border-radius: 50%; overflow: hidden; border: .045em solid var(--ink); position: relative; }
.o-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 62%; transform: scale(1.9); }
.label-claim { font-size: clamp(18px, 2.1vw, 26px); font-weight: 500; line-height: 1.25; max-width: 34ch; margin-bottom: clamp(16px, 2.2vw, 26px); }
.label-claim em { color: var(--brick); }
.label-specs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1.5px solid var(--ink); }
.label-specs div { padding: 12px 14px 4px 0; }
.label-specs div + div { padding-left: 14px; border-left: 1px solid rgba(26,20,16,.25); }
.label-specs dt { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.label-specs dd { margin: 2px 0 0; font-family: var(--mono); font-size: 15px; font-weight: 600; }
.stamp { position: absolute; right: clamp(-14px, -2vw, -40px); top: clamp(-54px, -4vw, -30px); width: clamp(96px, 11vw, 140px); aspect-ratio: 1; border-radius: 50%; background: var(--brick); color: var(--paper); display: grid; place-items: center; rotate: 8deg; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.stamp > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp text { font-family: var(--mono); font-size: 9.6px; font-weight: 600; letter-spacing: .14em; fill: currentColor; }
.stamp-moka { width: 32%; height: auto; }
@keyframes spin { to { rotate: 360deg; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(30px, 4vw, 46px); }

/* Frase */
.manifesto { background: var(--brick-d); padding: clamp(90px, 14vw, 200px) clamp(16px, 6vw, 96px); }
.big-quote { font-size: clamp(46px, 8.6vw, 150px); font-weight: 800; font-stretch: 76%; line-height: .9; letter-spacing: -.025em; max-width: 14ch; }
.big-quote .w { display: inline-block; }
.manifesto-sub { margin-top: clamp(30px, 4vw, 56px); max-width: 52ch; margin-left: auto; font-size: clamp(18px, 1.6vw, 22px); color: #f1d9cc; }

/* Proceso */
.process { background: var(--bg); padding: clamp(70px, 9vw, 120px) 0; }
.process-track { display: flex; gap: clamp(24px, 4vw, 64px); padding: 0 clamp(16px, 6vw, 96px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: center; }
.process-track::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 auto; width: clamp(260px, 27vw, 380px); scroll-snap-align: start; position: relative; }
.pcard figure { margin: 0 0 18px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; }
.pcard figure img { width: 100%; height: 100%; object-fit: cover; }
.pcard h3 { font-size: clamp(30px, 2.8vw, 42px); margin-bottom: 8px; }
.pcard p { color: var(--muted); max-width: 30ch; }
.pnum { position: absolute; top: -18px; left: -10px; z-index: 2; font-family: var(--mono); font-size: 14px; font-weight: 600; background: var(--amber); color: var(--ink); padding: 6px 10px; border-radius: 999px; }
.pcard-intro { width: clamp(300px, 40vw, 600px); }
.pcard-intro h2 { font-size: clamp(42px, 5.6vw, 92px); margin-bottom: 22px; }
.pcard-intro p { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 40ch; }
.drag-hint { display: inline-block; margin-top: 28px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.process.is-pinned .process-pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.process.is-pinned { padding: 0; }
.process.is-pinned .process-track { overflow: visible; }

/* Espresso / filtrado */
.methods { background: var(--steel); color: var(--ink); padding: clamp(80px, 10vw, 140px) clamp(16px, 5vw, 72px); }
.methods h2 em { color: var(--brick); }
.methods .kicker { color: var(--brick-d); }
.methods-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.methods-head .kicker { grid-column: 1 / -1; margin: 0; }
.methods-head h2 { font-size: clamp(42px, 6.4vw, 108px); max-width: 13ch; }
.team { display: flex; gap: 8px; }
.team-btn { font: 600 15px/1 var(--display); padding: 14px 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.team-btn:hover, .team-btn[aria-pressed="true"] { background: var(--ink); color: var(--steel); }
.compare { position: relative; aspect-ratio: 16 / 8.2; border-radius: 6px; overflow: hidden; background: #000; touch-action: pan-y; }
.cmp { position: absolute; inset: 0; margin: 0; }
.cmp img { width: 100%; height: 100%; object-fit: cover; }
.cmp-filtrado img { object-position: 50% 44%; }
.cmp-espresso img { object-position: 50% 40%; }
.cmp-espresso { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp figcaption { position: absolute; bottom: clamp(12px, 2vw, 28px); max-width: min(340px, 42%); padding: 16px 18px; border-radius: 4px; background: rgba(26,20,16,.74); backdrop-filter: blur(6px); color: var(--paper); }
.cmp-espresso figcaption { left: clamp(12px, 2vw, 28px); }
.cmp-filtrado figcaption { right: clamp(12px, 2vw, 28px); text-align: right; }
.cmp figcaption b { display: block; font-size: clamp(26px, 3vw, 44px); font-stretch: 78%; line-height: 1; margin-bottom: 6px; }
.cmp figcaption span { font-size: 15px; line-height: 1.4; display: block; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; font-size: 22px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare:focus-within .cmp-handle span { outline: 3px solid var(--amber); outline-offset: 3px; }
.compare.is-anim .cmp-espresso { transition: clip-path .6s cubic-bezier(.2,.7,.2,1); }
.compare.is-anim .cmp-handle { transition: left .6s cubic-bezier(.2,.7,.2,1); }
.methods-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(24px, 5vw, 80px); margin-top: clamp(28px, 4vw, 44px); font-size: clamp(17px, 1.4vw, 20px); max-width: 1100px; }
.methods-notes em { font-style: normal; color: var(--brick-d); font-weight: 600; }

/* Para casa */
.home { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; padding: clamp(80px, 10vw, 150px) clamp(16px, 7vw, 120px); background: var(--green); }
.bag { position: relative; width: min(100%, 360px); aspect-ratio: 3 / 4.1; margin-inline: auto; rotate: -4deg; filter: drop-shadow(0 34px 40px rgba(0,0,0,.45)); }
.bag-fold { position: absolute; inset: 0 0 auto; height: 15%; background: #d7cfc2; border-radius: 4px 4px 0 0; background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 2px, transparent 2px 14px); }
.bag-face { position: absolute; inset: 13% 0 0; background: var(--paper); border-radius: 0 0 10px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ink); }
.bag-face svg { width: 30%; height: auto; }
.bag-name { font-size: clamp(42px, 5vw, 64px); font-weight: 800; font-stretch: 75%; line-height: .82; text-align: center; }
.bag-tag { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: var(--amber); padding: 8px 14px; border-radius: 2px; }
.home-copy h2 { font-size: clamp(42px, 5.6vw, 90px); margin-bottom: 22px; }
.home-copy > p:not(.kicker):not(.fine) { font-size: clamp(17px, 1.4vw, 20px); color: #d9ddd8; max-width: 44ch; margin-bottom: 28px; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(0,0,0,.25); margin-bottom: 20px; }
.seg button { font: 600 16px/1 var(--display); padding: 13px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--paper); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--paper); color: var(--ink); }
.home-copy .btn { display: flex; width: fit-content; }
.fine { margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Comida */
.food { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); min-height: 90vh; }
.food-img { margin: 0; overflow: hidden; }
.food-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.food-copy { padding: clamp(60px, 8vw, 120px) clamp(20px, 6vw, 100px); align-self: center; }
.food-copy h2 { font-size: clamp(40px, 5vw, 84px); margin-bottom: 24px; }
.food-copy > p:not(.kicker) { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 40ch; margin-bottom: 30px; }

/* Comunidad */
.community { padding: clamp(80px, 10vw, 150px) clamp(16px, 5vw, 72px); }
.community h2 { font-size: clamp(40px, 6vw, 100px); max-width: 15ch; margin-bottom: clamp(36px, 5vw, 70px); }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 2vw, 28px); align-items: start; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: 3px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.m1 { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.m1 img { object-position: 50% 90%; }
.m2 { grid-column: 9 / span 4; aspect-ratio: 3 / 4; margin-top: 18% !important; }
.m3 { grid-column: 2 / span 4; aspect-ratio: 4 / 5; }
.m3 img { object-position: 50% 30%; }
.m4 { grid-column: 7 / span 5; margin: 8% 0 0; }
.m4 p { font-size: clamp(26px, 2.8vw, 42px); font-weight: 700; font-stretch: 80%; line-height: 1.08; }
.m4 cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--amber); letter-spacing: .04em; }

/* Visita */
.visit { background: var(--paper); color: var(--ink); padding: clamp(80px, 10vw, 150px) clamp(16px, 5vw, 72px); }
.visit .kicker { color: var(--brick); }
.visit-addr { font-size: clamp(62px, 14.5vw, 250px); font-stretch: 75%; text-transform: uppercase; line-height: .82; letter-spacing: -.02em; }
.visit-corner { font-size: clamp(22px, 2.6vw, 38px); font-weight: 600; margin-top: 10px; }
.visit-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(40px, 5vw, 64px) 0; border-top: 2px solid var(--ink); }
.visit-grid div { padding: 18px 18px 0 0; }
.visit-grid dt { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brick); }
.visit-grid dd { margin: 6px 0 0; font-size: clamp(20px, 1.9vw, 26px); font-weight: 700; }
.visit-grid small { display: block; font-size: 14px; font-weight: 400; opacity: .75; }
.visit-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.visit .btn-ghost { color: var(--ink); border-color: var(--ink); }
.visit .btn-ghost:hover { background: var(--ink); color: var(--paper); }

.foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px clamp(16px, 5vw, 72px); background: var(--ink); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.foot .moka { width: 22px; height: 28px; color: var(--amber); }
.foot a { margin-left: auto; color: var(--paper); }

.mbar { display: none; }

/* Reveal (solo si JS + GSAP) */
.js .reveal { opacity: 0; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .label-specs { grid-template-columns: 1fr 1fr; }
  .label-specs div:nth-child(3) { border-left: 0; padding-left: 0; }
  .label-specs div:nth-child(n+3) { border-top: 1px solid rgba(26,20,16,.25); }
  .methods-head { grid-template-columns: 1fr; }
  .methods-notes { grid-template-columns: 1fr; }
  .home { grid-template-columns: 1fr; }
  .bag { width: min(70%, 280px); }
  .food { grid-template-columns: 1fr; min-height: 0; }
  .food-img { aspect-ratio: 4 / 4.4; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .m1 { grid-column: 1 / -1; }
  .m2 { grid-column: 1 / span 6; margin-top: 0 !important; }
  .m3 { grid-column: 7 / span 6; margin-top: 24%; }
  .m4 { grid-column: 1 / -1; margin-top: 10px; }
}
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .nav .btn-sm { display: none; }
  .hero { padding: 96px 16px 56px; min-height: 0; }
  .label { rotate: 0deg; }
  .label-top span:last-child { display: none; }
  .label-name { font-size: clamp(72px, 25vw, 110px); }
  .label-moka { width: 54px; }
  .stamp { right: -8px; top: -40px; width: 86px; }
  .stamp text { font-size: 9px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .compare { aspect-ratio: 4 / 5.2; }
  .cmp figcaption { max-width: 46%; padding: 12px; }
  .cmp figcaption span { font-size: 13px; }
  .cmp-filtrado img { object-position: 50% 40%; }
  .cmp-espresso img { object-position: 50% 30%; }
  .pcard { width: 76vw; }
  .pcard-intro { width: 84vw; }
  .visit-addr { font-size: clamp(56px, 19vw, 90px); }
  .visit-cta .btn { flex: 1 1 100%; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); box-shadow: 0 -1px 0 rgba(241,236,228,.14); }
  .mbar a { display: grid; place-items: center; min-height: 50px; border-radius: 999px; text-decoration: none; font-weight: 700; background: var(--brick); color: var(--paper); }
  .mbar a + a { background: var(--paper); color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp > svg:first-child { animation: none; }
  .btn, .compare.is-anim .cmp-espresso, .compare.is-anim .cmp-handle { transition: none; }
}
