/**
 * Story / Shop / Club — primitivos v-* y utilidad .fs
 * Tarea 1–4 — primitivos v-* + Story sf-* + Shop shf-* + Club suf-*
 * Ref: docs/agents/_proposal-extract.html
 */

:root {
  --color-line: rgba(201, 169, 110, 0.18);
  --color-gold-glass: rgba(201, 169, 110, 0.08);
  /* Pase tipográfico sitio — alineado con carta V3 (jun 2026) */
  --type-body-min: 14px;
  --type-body-sm: clamp(14px, 2.2vw, 18px);
  --type-body-md: clamp(16px, 2.4vw, 19px);
  --type-meta-min: 11px;
  --type-meta: clamp(11px, 1.6vw, 13px);
  --type-eyebrow: clamp(10px, 1.4vw, 13px);
}

/* === Section shell === */
.fs {
  padding: clamp(80px, 10vw, 120px) clamp(24px, 6vw, 8vw);
}
.fs--alt {
  background: var(--color-bg-dark);
}

/* === Eyebrow + title + lead === */
.v-eyebrow {
  font-size: var(--type-eyebrow);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
}
.v-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--color-gold);
}
.v-eyebrow--center {
  justify-content: center;
}

.v-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.v-title em {
  font-style: italic;
  color: var(--color-gold);
  font-weight: 300;
}

.v-lead {
  font-size: clamp(17px, 2.4vw, 19px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.v-note {
  font-size: var(--type-meta);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 400;
}

.fs-story > .v-note {
  text-transform: none;
  letter-spacing: 0.05em;
}

.v-line {
  width: 120px;
  height: 1px;
  background: var(--color-gold);
  display: block;
}
.v-line--center {
  margin: 0 auto;
}

/* === CTA === */
.v-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: 999px;
  border: 1px solid var(--color-gold);
  background: transparent;
  color: var(--color-gold);
  cursor: pointer;
  transition: background 0.3s var(--easing), color 0.3s, transform 0.3s;
}
.v-cta--solid {
  background: var(--color-gold);
  color: var(--color-on-gold, var(--color-bg-darkest));
  font-weight: 500;
}
.v-cta--solid:hover,
.v-cta--solid:focus-visible {
  color: var(--color-on-gold, var(--color-bg-darkest));
}
.v-cta--ghost {
  border-color: rgba(201, 169, 110, 0.4);
}
.v-cta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* === Chip === */
.v-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: rgba(13, 26, 18, 0.55);
  backdrop-filter: blur(8px);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 400;
}
.v-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 12px var(--color-gold);
}

/* === Photo placeholder (Story fallback) === */
.v-photo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 30% 25%, rgba(201, 169, 110, 0.18), transparent 60%),
    radial-gradient(80% 80% at 80% 80%, rgba(61, 99, 80, 0.55), transparent 55%),
    linear-gradient(135deg, #1a2e20, #0d1a12);
  border: 1px solid var(--color-line);
}
.v-photo::after {
  content: attr(data-photo);
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.55;
  white-space: nowrap;
  font-weight: 400;
}
.v-photo--noplaceholder::after {
  display: none;
}

/* === Coffee bag mockup === */
.v-bag {
  position: relative;
  width: 220px;
  height: 300px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1c2a22 0%, #0e1812 100%);
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 6px 6px 14px 14px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.v-bag::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 20px;
  right: 20px;
  height: 18px;
  background: linear-gradient(180deg, #0a140e, #1a2820);
  border-radius: 4px 4px 0 0;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-bottom: none;
}
.v-bag-inner {
  position: absolute;
  inset: 34px 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}
.v-bag-brand {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold);
  font-size: 18px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.v-bag-name {
  font-family: var(--font-display);
  color: var(--color-text);
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
}
.v-bag-name em {
  font-style: italic;
  color: var(--color-gold);
  font-weight: 300;
  display: block;
  margin-top: 6px;
}
.v-bag-meta {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* === Price === */
.v-price {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--color-text);
}
.v-price small {
  font-size: 0.42em;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: uppercase;
  align-self: flex-start;
  margin-top: 0.5em;
}
.v-price sup {
  font-size: 0.45em;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-weight: 400;
  align-self: flex-start;
  margin-top: 0.4em;
}

/* === Layout utilities === */
.v-stack {
  display: flex;
  flex-direction: column;
}
.v-row {
  display: flex;
}
.v-spacer {
  flex: 1;
}

/* === Story — manifiesto + capítulos interactivos (v2 propuesta) === */
.fs-story {
  gap: clamp(56px, 8vw, 80px);
}

.fs-story > .fs-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.sf-chip {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 8px 14px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 999px;
  font-weight: 500;
  background: rgba(201, 169, 110, 0.05);
}

.sf-mani {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  grid-template-rows: auto auto auto;
  gap: 24px 36px;
  align-items: stretch;
}

.sf-h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--color-text);
  grid-column: 1 / 3;
  grid-row: 1;
  text-wrap: balance;
  margin: 0;
}
.sf-h1 b {
  font-style: normal;
  color: var(--color-gold);
  font-weight: 400;
}

.sf-img-1,
.sf-img-2 {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-bg-darkest);
}
.sf-img-1 {
  grid-column: 3;
  grid-row: 1 / 3;
  min-height: 320px;
}
.sf-img-2 {
  grid-column: 1;
  grid-row: 3;
  min-height: 200px;
}
.sf-img-1 img,
.sf-img-2 img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}
.sf-img-1 img {
  min-height: 320px;
  object-position: 50% 38%;
}
.sf-img-2 img {
  min-height: 200px;
}

.sf-p1 {
  grid-column: 1;
  grid-row: 2;
  font-size: 19px;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 36ch;
  border-left: 1px solid var(--color-gold);
  padding-left: 28px;
  align-self: center;
  margin: 0;
}
.sf-p1 b {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold);
  font-size: 23px;
  line-height: 1.28;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  text-wrap: balance;
}

.sf-h2 {
  grid-column: 2;
  grid-row: 2;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  text-wrap: balance;
  align-self: center;
  margin: 0;
}
.sf-h2 em {
  font-style: italic;
  color: var(--color-gold);
}

.sf-h3 {
  grid-column: 2 / 4;
  grid-row: 3;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
  color: var(--color-gold);
  letter-spacing: -0.015em;
  text-wrap: balance;
  align-self: center;
  margin: 0;
}
.sf-h3 b {
  color: var(--color-text);
  font-style: normal;
  font-weight: 400;
}

#story .sf-bridge {
  padding-block: clamp(48px, 6vw, 64px);
  padding-inline: clamp(12px, 3vw, 20px);
  text-align: center;
}

#story .sf-bridge__frame {
  display: grid;
  grid-template-columns: clamp(28px, 5vw, 48px) minmax(0, 1fr) clamp(28px, 5vw, 48px);
  column-gap: clamp(14px, 2.5vw, 22px);
  max-width: min(920px, 92%);
  margin-inline: auto;
  align-items: center;
}

#story .sf-bridge__frame::before,
#story .sf-bridge__frame::after {
  content: "";
  width: 100%;
  height: 1px;
  background: rgba(201, 169, 110, 0.28);
}

#story .sf-bridge__frame::before {
  grid-column: 1;
  grid-row: 1 / -1;
}

#story .sf-bridge__frame::after {
  grid-column: 3;
  grid-row: 1 / -1;
}

#story .sf-bridge__line {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 20px);
  line-height: 1.45;
  color: #e8d5b0;
  text-wrap: balance;
}

#story .sf-bridge__line--accent {
  margin-top: clamp(12px, 2vw, 16px);
  padding-top: clamp(12px, 2vw, 16px);
  border-top: 1px solid rgba(201, 169, 110, 0.28);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  opacity: 0.85;
}

#story-chapters .sf-closing {
  max-width: 720px;
  margin-inline: auto;
  padding-block: clamp(48px, 6vw, 72px);
  padding-inline: clamp(16px, 4vw, 24px);
  text-align: center;
}

#story-chapters .sf-closing__quote {
  margin: 0 0 clamp(24px, 3vw, 32px);
  padding: 0;
  border: none;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.25;
  color: var(--color-gold);
  text-wrap: balance;
}

#story-chapters .sf-closing__body {
  margin: 0 0 clamp(28px, 3.5vw, 40px);
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
  color: #e8d5b0;
  text-wrap: balance;
}

#story-chapters .sf-closing__line1 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.5;
  color: #e8d5b0;
}

#story-chapters .sf-closing__line2 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.55;
  color: rgba(232, 213, 176, 0.78);
  text-wrap: balance;
}

.sf-tl-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--color-line);
}

.sf-tl-h {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 48px);
  line-height: 1.05;
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
}
.sf-tl-h em {
  font-style: italic;
  color: var(--color-gold);
}

.sf-tl {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 48px;
}
.sf-tl::before {
  content: "";
  position: absolute;
  top: var(--sf-tl-line-y, 18px);
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-gold) 8%,
    var(--color-gold) 92%,
    transparent
  );
}

.sf-mile {
  position: relative;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
  width: 100%;
  cursor: pointer;
  transition: transform 0.4s var(--easing);
}
.sf-mile:hover {
  transform: translateY(-4px);
}
.sf-mile:focus-visible,
.v-cta:focus-visible,
.shf-buy:focus-visible,
.shf-alt:focus-visible {
  outline: 2px solid rgba(201, 169, 110, 0.55);
  outline-offset: 3px;
}
.sf-mile::before {
  content: "";
  position: absolute;
  top: -58px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-bg-dark);
  border: 2px solid var(--color-gold);
  transition: all 0.4s var(--easing);
  z-index: 2;
}
.sf-mile::after {
  content: "";
  position: absolute;
  top: -58px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  transform: translateX(-50%) scale(1);
  opacity: 0.55;
  animation: sf-pulse 2.8s ease-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes sf-pulse {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 0.55;
  }
  80%,
  100% {
    transform: translateX(-50%) scale(2.4);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sf-mile::after {
    animation: none;
    opacity: 0;
  }
  .sf-mile:hover {
    transform: none;
  }
  .sf-detail-anim {
    animation: none;
  }
}
.sf-mile:hover::before {
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.12);
}
.sf-mile.is-active::before {
  background: var(--color-gold-bright);
  box-shadow: 0 0 0 6px rgba(201, 169, 110, 0.16);
}
.sf-mile.is-active::after {
  animation: none;
  opacity: 0;
}

.sf-mile__date {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}

.sf-mile__more {
  margin-top: 4px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--type-meta-min);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 8px 14px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 999px;
  background: transparent;
  transition: all 0.3s var(--easing);
}
.sf-mile__more svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s var(--easing);
}
.sf-mile:hover .sf-mile__more {
  background: rgba(201, 169, 110, 0.12);
  color: var(--color-gold-bright);
  border-color: var(--color-gold);
}
.sf-mile:hover .sf-mile__more svg {
  transform: translateY(2px);
}
.sf-mile.is-active .sf-mile__more {
  background: var(--color-gold);
  color: var(--color-on-gold, var(--color-bg-darkest));
  border-color: var(--color-gold);
}
.sf-mile.is-active .sf-mile__more svg {
  transform: rotate(180deg);
}

.sf-tl-hint {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  font-size: var(--type-meta-min);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  font-weight: 400;
  margin-top: -16px;
}
.sf-tl-hint::before,
.sf-tl-hint::after {
  content: "";
  flex: 0 0 36px;
  height: 1px;
  background: rgba(201, 169, 110, 0.28);
}

.sf-detail {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(201, 169, 110, 0.08), transparent 60%),
    rgba(13, 26, 18, 0.55);
  padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.sf-detail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--color-gold) 20%,
    var(--color-gold) 80%,
    transparent
  );
}
.sf-detail__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(88px, 12vw, 140px);
  line-height: 0.82;
  color: var(--color-gold);
  letter-spacing: -0.03em;
  opacity: 0.95;
  min-width: 1.4ch;
}
.sf-detail__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 62ch;
}
.sf-detail__eye {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}
.sf-detail__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
.sf-detail__title em {
  font-style: italic;
  color: var(--color-gold);
}
.sf-detail__p {
  font-size: var(--type-body-md);
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 58ch;
}
.sf-detail__p + .sf-detail__p {
  margin-top: 1em;
}
.sf-detail__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-gold);
  text-decoration: none;
  margin-top: 1.5rem;
  transition: opacity 0.2s var(--easing);
}
.sf-detail__cta:hover {
  opacity: 0.75;
}
.sf-detail__cta[hidden] {
  display: none;
}
.sf-detail__read-more,
.sf-detail__next-ch {
  display: none;
  margin-top: 1.25rem;
  align-self: flex-start;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--type-meta-min);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 10px 18px;
  border: 1px solid rgba(201, 169, 110, 0.45);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s var(--easing), border-color 0.25s var(--easing), color 0.25s var(--easing);
}
.sf-detail__read-more:hover,
.sf-detail__next-ch:hover {
  background: rgba(201, 169, 110, 0.12);
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
}
.sf-detail__read-more[hidden],
.sf-detail__next-ch[hidden] {
  display: none !important;
}
.sf-detail-anim {
  animation: sf-fade 0.5s var(--easing) both;
}
@keyframes sf-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sf-mile__h {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}
.sf-mile__h em {
  font-style: italic;
  color: var(--color-gold);
}

.sf-mile__p {
  font-size: var(--type-body-min);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 28ch;
  margin: 0 auto;
  text-wrap: pretty;
}

.sf-mile__p--teaser {
  display: none;
}

/* DSK-2 — capítulos desktop: nodos centrados en columnas, CTAs misma baseline */
@media (min-width: 901px) {
  .sf-tl {
    --sf-node: 18px;
    --sf-tl-line-y: 18px;
    --sf-tl-rail-gap: 26px;
    align-items: stretch;
    padding-top: calc(var(--sf-tl-line-y) + var(--sf-node) / 2 + var(--sf-tl-rail-gap));
  }

  .sf-tl::before {
    top: var(--sf-tl-line-y);
    left: calc(100% / 6);
    right: calc(100% / 6);
  }

  .sf-mile {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    justify-items: center;
    align-content: start;
    height: 100%;
    min-height: 100%;
    padding-inline: clamp(12px, 1.5vw, 22px);
  }

  .sf-mile__date,
  .sf-mile__h {
    width: 100%;
  }

  .sf-mile::before,
  .sf-mile::after {
    top: calc(
      var(--sf-tl-line-y) - var(--sf-node) / 2 -
        (var(--sf-tl-line-y) + var(--sf-node) / 2 + var(--sf-tl-rail-gap))
    );
    left: 50%;
    transform: translateX(-50%);
  }

  .sf-mile__p--full {
    grid-row: 3;
    align-self: start;
    width: 100%;
    max-width: 30ch;
    margin-bottom: 0;
  }

  .sf-mile__more {
    grid-row: 4;
    margin-top: 12px;
    min-height: 36px;
    align-self: end;
    justify-self: center;
  }
}

/* Story capítulos — recorrido vertical en móvil */
@media (max-width: 900px) {
  .sf-tl-head {
    padding-top: 24px;
  }

  .sf-tl {
    --sf-rail-x: 11px;
    --sf-node-size: 18px;
    --sf-rail-gap: 26px;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 12px;
    padding-left: calc(var(--sf-rail-x) + var(--sf-rail-gap));
    margin-left: 0;
  }

  .sf-tl::before {
    display: block;
    top: calc(var(--sf-node-size) + 10px);
    bottom: calc(var(--sf-node-size) + 10px);
    left: var(--sf-rail-x);
    right: auto;
    width: 1px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(
      180deg,
      transparent,
      var(--color-gold) 8%,
      var(--color-gold) 92%,
      transparent
    );
  }

  .sf-mile {
    position: relative;
    text-align: left;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 16px 16px 18px;
    margin-bottom: 12px;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    background: rgba(13, 26, 18, 0.4);
  }

  .sf-mile:hover {
    transform: none;
  }

  .sf-mile:last-child {
    margin-bottom: 0;
  }

  .sf-mile::before,
  .sf-mile::after {
    top: 30px;
    left: calc(-1 * var(--sf-rail-gap));
    width: var(--sf-node-size);
    height: var(--sf-node-size);
    transform: translateX(-50%);
  }

  .sf-mile.is-active {
    border-color: rgba(201, 169, 110, 0.55);
    background: rgba(13, 26, 18, 0.62);
  }

  .sf-mile.is-active::before {
    box-shadow: 0 0 0 8px rgba(201, 169, 110, 0.22);
  }

  .sf-mile__date {
    font-size: var(--type-meta-min);
    letter-spacing: 0.28em;
  }

  .sf-mile__h {
    font-size: 22px;
    line-height: 1.12;
  }

  .sf-mile__p--full {
    display: none;
  }

  .sf-mile__p--teaser {
    display: block;
    font-size: var(--type-body-min);
    line-height: 1.45;
    max-width: none;
    margin: 0;
    color: rgba(245, 240, 232, 0.62);
  }

  .sf-mile__more {
    margin-top: 6px;
    align-self: flex-start;
  }

  .sf-tl-hint {
    display: none;
  }

  #storyDetail {
    scroll-margin-top: calc(var(--nav-height, 72px) + 16px);
  }

  .sf-detail {
    margin-top: 20px;
    padding: 28px 22px;
  }

  .sf-detail__num {
    font-size: 72px;
  }

  .sf-detail__title {
    font-size: 24px;
  }

  .sf-detail__p {
    font-size: var(--type-body-md);
  }
}

/* M4 — historia read-more: colapsar párrafos 3+ en cap. I–II (móvil) */
@media (max-width: 768px) {
  #storyDetail.is-collapsed #storyDetailBody .sf-detail__p:nth-child(n + 3) {
    display: none;
  }

  #storyDetail.is-collapsed .sf-detail__next-ch,
  #storyDetail.is-collapsed .sf-detail__cta {
    display: none !important;
  }

  .sf-detail__read-more:not([hidden]),
  .sf-detail__next-ch:not([hidden]),
  .about-founder__read-more:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* M5/M9 — about read-more: colapsar párrafos 3+ por fundadora (móvil; p1+p2 visibles) */
@media (max-width: 768px) {
  #about .about-founder:not(.is-expanded) .about-founder__bio-p:nth-child(n + 3) {
    display: none;
  }
}

/* DSK-1 — manifiesto desktop: grid 3 cols + 2 fotos (portátil = PC adaptado) */
@media (min-width: 901px) {
  #story-chapters .sf-detail {
    grid-template-columns: 1fr;
  }

  #story-chapters .sf-detail__num {
    position: absolute;
    right: clamp(12px, 2.5vw, 36px);
    top: clamp(12px, 2vw, 28px);
    left: auto;
    bottom: auto;
    font-size: clamp(88px, 10vw, 120px);
    line-height: 0.85;
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
    min-width: unset;
  }

  #story-chapters .sf-detail__body {
    position: relative;
    z-index: 1;
    max-width: none;
    width: 100%;
    isolation: isolate;
  }

  #story-chapters .sf-detail__p {
    max-width: none;
    width: 100%;
  }

  .fs-story .sf-mani {
    width: 100%;
    max-width: min(1280px, 100%);
    margin-inline: auto;
    gap: clamp(18px, 2vw, 36px) clamp(22px, 2.8vw, 48px);
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr) minmax(200px, 1.1fr);
  }

  .sf-img-1 {
    min-height: clamp(280px, 32vw, 380px);
  }

  .sf-img-1 img {
    min-height: clamp(280px, 32vw, 380px);
  }

  .sf-img-2 {
    min-height: clamp(160px, 18vw, 220px);
  }

  .sf-img-2 img {
    min-height: clamp(160px, 18vw, 220px);
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .sf-h1 {
    font-size: clamp(72px, 9vw, 112px);
  }

  .sf-h2 {
    font-size: clamp(28px, 3.2vw, 44px);
  }

  .sf-h3 {
    font-size: clamp(44px, 5.5vw, 64px);
  }

  .sf-p1 {
    font-size: clamp(17px, 1.6vw, 19px);
    padding-left: clamp(18px, 2vw, 28px);
  }
}

@media (max-width: 1100px) {
  .sf-detail {
    padding: 36px 28px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sf-detail__num {
    font-size: 88px;
  }
}

@media (max-width: 640px) {
  .sf-h1 {
    font-size: 64px;
  }
  .sf-h2 {
    font-size: 30px;
  }
  .sf-h3 {
    font-size: 36px;
  }
  /* Manifiesto móvil: texto legible a la izquierda + foto fábrica compacta a la derecha */
  .sf-mani {
    grid-template-columns: minmax(0, 1fr) clamp(118px, 34vw, 152px);
    gap: 18px 14px;
    align-items: start;
  }
  .sf-h1 {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .sf-p1 {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    font-size: 17px;
    line-height: 1.62;
    padding-left: 18px;
    align-self: center;
  }
  .sf-p1 b {
    font-size: 20px;
    line-height: 1.32;
    margin-bottom: 10px;
  }
  .sf-img-1 {
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
    align-self: center;
  }
  .sf-img-1 img {
    min-height: 0;
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: min(42vw, 204px);
    object-position: 50% 32%;
  }
  .sf-h2 {
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .sf-img-2 {
    grid-column: 1 / -1;
    grid-row: 4;
    min-height: 180px;
  }
  .sf-h3 {
    grid-column: 1 / -1;
    grid-row: 5;
  }
}

/* === Story — H4 pase visual (scoped #story.fs-story, #story-chapters.fs-story) === */
#story.fs-story, #story-chapters.fs-story {
  --story-bg: #102419;
  --story-cream: #e8d5b0;
  --story-gold: #c9a96e;
  --story-white: #ffffff;
  background: var(--story-bg);
  overflow-x: clip;
}

#story.fs-story .sf-h1, #story-chapters.fs-story .sf-h1,
#story.fs-story .sf-h2, #story-chapters.fs-story .sf-h2,
#story.fs-story .sf-h3 b, #story-chapters.fs-story .sf-h3 b,
#story.fs-story .sf-tl-h, #story-chapters.fs-story .sf-tl-h,
#story.fs-story .sf-detail__title, #story-chapters.fs-story .sf-detail__title,
#story.fs-story .sf-mile__h, #story-chapters.fs-story .sf-mile__h{
  color: var(--story-white);
}

#story.fs-story .sf-h2 em, #story-chapters.fs-story .sf-h2 em,
#story.fs-story .sf-h3 em, #story-chapters.fs-story .sf-h3 em,
#story.fs-story .sf-tl-h em, #story-chapters.fs-story .sf-tl-h em,
#story.fs-story .sf-detail__title em, #story-chapters.fs-story .sf-detail__title em,
#story.fs-story .sf-mile__h em, #story-chapters.fs-story .sf-mile__h em{
  color: var(--story-gold);
  font-style: italic;
}

#story.fs-story .sf-p1 span, #story-chapters.fs-story .sf-p1 span,
#story.fs-story .sf-detail__p, #story-chapters.fs-story .sf-detail__p,
#story.fs-story .sf-mile__p, #story-chapters.fs-story .sf-mile__p,
#story.fs-story .sf-bridge__line, #story-chapters.fs-story .sf-bridge__line,
#story.fs-story .sf-closing__body, #story-chapters.fs-story .sf-closing__body,
#story.fs-story .sf-closing__line1, #story-chapters.fs-story .sf-closing__line1,
#story.fs-story .sf-closing__line2, #story-chapters.fs-story .sf-closing__line2{
  color: var(--story-cream);
}

#story.fs-story .sf-p1 b, #story-chapters.fs-story .sf-p1 b{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--story-gold);
  font-size: clamp(20px, 2.4vw, 22px);
  line-height: 1.32;
}

#story.fs-story .sf-detail__num, #story-chapters.fs-story .sf-detail__num{
  color: var(--story-gold);
  opacity: 0.25;
}

#story.fs-story .sf-mile::before, #story-chapters.fs-story .sf-mile::before{
  background: var(--story-bg);
}

@media (max-width: 480px) {
  #story.fs-story .sf-detail__p, #story-chapters.fs-story .sf-detail__p,
  #story.fs-story .sf-mile__p, #story-chapters.fs-story .sf-mile__p,
  #story.fs-story .sf-p1, #story-chapters.fs-story .sf-p1,
  #story.fs-story .sf-p1 span, #story-chapters.fs-story .sf-p1 span,
  #story.fs-story .sf-bridge__line, #story-chapters.fs-story .sf-bridge__line,
  #story.fs-story .sf-closing__body, #story-chapters.fs-story .sf-closing__body,
  #story.fs-story .sf-closing__line1, #story-chapters.fs-story .sf-closing__line1,
  #story.fs-story .sf-closing__line2, #story-chapters.fs-story .sf-closing__line2{
    font-size: max(16px, 1rem);
    line-height: 1.7;
  }

  #story.fs-story .sf-detail, #story-chapters.fs-story .sf-detail{
    padding: clamp(24px, 6vw, 32px) clamp(18px, 5vw, 24px);
  }
}

/* === About — M3 pase visual (scoped #about) === */
#about {
  --about-bg: #102419;
  --about-cream: #e8d5b0;
  --about-gold: #c9a96e;
  --about-white: #ffffff;
  --about-glass: rgba(16, 36, 25, 0.58);
  --about-glass-border: rgba(201, 169, 110, 0.24);
  background: var(--about-bg);
  overflow-x: clip;
}

#about .section__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(11px, 1.2vw, 12px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--about-gold);
}

#about .section__eyebrow::before {
  background: var(--about-gold);
}

#about .section__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--about-white);
}

#about .section__title em,
#about .section__title em.gold {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--about-gold);
}

#about .section__lead {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.6;
  color: var(--about-cream);
  text-align: center;
}

#about .gold-line {
  background: var(--about-gold);
}

#about .about-founder {
  border: 1px solid var(--about-glass-border);
  background: var(--about-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#about .about-founder__frame {
  border-color: rgba(201, 169, 110, 0.28);
  background: radial-gradient(
    ellipse at 50% 20%,
    rgba(201, 169, 110, 0.1),
    var(--about-bg) 75%
  );
}

#about .about-founder__frame::before {
  border-color: rgba(201, 169, 110, 0.24);
}

#about .about-founder__bio {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.7;
  color: var(--about-cream);
  max-width: none;
}

#about .about-founder__bio-p {
  margin: 0;
}

#about .about-founder__bio-p:first-child {
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 24px);
  line-height: 1.35;
  color: var(--about-gold);
}

#about .about-founder__bio-p + .about-founder__bio-p {
  margin-top: 1em;
}

#about .about-closing {
  text-align: center;
  max-width: 720px;
  margin: clamp(48px, 8vw, 72px) auto 0;
  padding-inline: clamp(16px, 5vw, 24px);
}

#about .about-closing__line1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 28px);
  line-height: 1.35;
  color: var(--about-cream);
  margin: 0 0 0.35em;
}

#about .about-closing__line2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 28px);
  line-height: 1.35;
  color: var(--about-cream);
  margin: 0;
}

#about .about-closing__line2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--about-gold);
}

@media (max-width: 768px) {
  #about .about-founder__bio,
  #about .about-founder__bio-p:not(:first-child) {
    font-size: max(16px, 1rem);
    line-height: 1.7;
  }

  #about .about-closing__line1,
  #about .about-closing__line2 {
    font-size: clamp(24px, 6.5vw, 28px);
  }
}

/* === Shop — editorial layout (Tarea 3) === */
.fs-shop {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.shf-head {
  display: block;
  width: 100%;
}
.shf-head__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: none;
}
.shf-title {
  font-size: clamp(48px, 7vw, 88px);
  max-width: none;
  text-wrap: balance;
}
.fs-shop .v-lead {
  max-width: min(68ch, 100%);
}
.fs-shop .shop-demo-note {
  max-width: min(62ch, 100%);
}

/* Nota de tostado — fila superior del escenario (puede extenderse sobre hueco de la bolsa) */
.shf-roast-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
}
.shf-roast-note__origin {
  flex-shrink: 0;
}
.shf-roast-note__desc,
.shf-roast-note__blend {
  font-size: var(--type-body-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
  font-weight: 300;
}
.shf-roast-note__blend {
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.shf-roast-note__origin {
  text-transform: none;
  letter-spacing: 0.05em;
}

.shf-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 48px;
  row-gap: clamp(20px, 2.5vw, 32px);
  min-height: 480px;
  overflow: visible;
}
.shf-spec-l {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
  text-align: right;
  align-items: flex-end;
  align-self: start;
}
.shf-spec-r {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.shf-spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 26ch;
}
.shf-spec__k {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}
.shf-spec__v {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text);
}
.shf-spec__v em {
  font-style: italic;
  color: var(--color-gold);
}
.shf-spec__sub {
  font-size: var(--type-body-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 2px;
}

.shf-bag-wrap {
  position: relative;
  display: flex;
  isolation: isolate;
}
.shf-bag-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 147%;
  height: 147%;
  background: radial-gradient(closest-side, rgba(201, 169, 110, 0.22), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.shf-bag-shadow {
  position: absolute;
  left: 50%;
  bottom: -3%;
  transform: translateX(-50%);
  width: 87%;
  height: 5.8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.shf-bag {
  position: relative;
  z-index: 1;
}
.shf-bag-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  transform: rotate(-2.5deg);
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.55));
  mix-blend-mode: lighten;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .shf-bag-photo {
    transition: transform 0.45s var(--easing, ease);
  }
  .shf-bag-wrap:hover .shf-bag-photo {
    transform: rotate(-1.25deg) translateY(-4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .shf-bag-photo {
    transform: rotate(-1.5deg);
  }
}

.shf-profile {
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: rgba(13, 26, 18, 0.4);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.shf-profile__h {
  font-size: var(--type-meta-min);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
  text-align: left;
}
.shf-bar {
  display: grid;
  grid-template-columns: 72px 1fr 32px;
  gap: 12px;
  align-items: center;
  text-align: left;
}
.shf-bar b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text);
  font-style: normal;
}
.shf-bar span {
  font-size: var(--type-meta-min);
  letter-spacing: 0.22em;
  color: var(--color-gold);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.shf-bar__track {
  height: 5px;
  border-radius: 3px;
  background: rgba(201, 169, 110, 0.12);
  overflow: hidden;
}
.shf-bar__fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(201, 169, 110, 0.5), var(--color-gold));
}

.shf-foot {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 32px;
  align-items: center;
  padding-top: 36px;
  border-top: 1px solid var(--color-line);
}
.shf-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--color-text);
}
.shf-price small {
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: uppercase;
}
.shf-price .num {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-gold);
  line-height: 0.88;
}
.shf-price sup {
  font-size: 28px;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-style: italic;
  align-self: flex-start;
  margin-top: 0.4em;
}
.shf-price__sub {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-transform: none;
  margin-top: 6px;
}

.shf-buy {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 22px 36px;
  border-radius: 999px;
  background: var(--color-gold);
  color: var(--color-on-gold, var(--color-bg-darkest));
  border: 1px solid var(--color-gold);
  cursor: pointer;
  transition: all 0.3s var(--easing);
  white-space: nowrap;
}
.shf-buy:hover {
  background: var(--color-gold-bright);
  color: var(--color-on-gold, var(--color-bg-darkest));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.14);
}
.shf-buy svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.shf-alt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 400;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.3s;
}
.shf-alt:hover {
  color: var(--color-gold);
}

/* SHOP DESKTOP LOCK — ≥1024px — NO EDITAR SIN PROBAR ≤1023px */
@media (min-width: 1024px) {
  .fs-shop {
    gap: clamp(36px, 5vw, 56px);
  }

  .shf-head__copy {
    gap: clamp(14px, 1.8vw, 20px);
  }

  .shf-title {
    font-size: clamp(56px, 6.5vw, 96px);
    line-height: 0.98;
  }

  .fs-shop .v-lead {
    font-size: clamp(18px, 1.5vw, 21px);
    max-width: min(78ch, 100%);
  }

  .fs-shop .shop-demo-note {
    max-width: min(72ch, 100%);
  }

  .shf-roast-note {
    display: none;
  }

  .shf-credentials {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 12px 0;
    margin: 0;
    border-top: 1px solid var(--color-line);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(201, 169, 110, 0.72);
    font-weight: 400;
    line-height: 1.55;
    text-wrap: balance;
  }

  .shf-stage {
    --shf-bag-col: clamp(300px, 28vw, 469px);
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: clamp(20px, 2.5vw, 32px) 48px;
    overflow: visible;
  }

  .shf-spec-l,
  .shf-spec-r {
    display: contents;
  }

  .shf-spec-l .shf-spec:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    align-items: flex-end;
    justify-self: end;
  }

  .shf-spec-l .shf-spec:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    text-align: right;
    align-items: flex-end;
    justify-self: end;
  }

  .shf-spec-l .shf-spec:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
    text-align: right;
    align-items: flex-end;
    justify-self: end;
  }

  .shf-spec-r > .shf-spec:first-child {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
    align-items: flex-start;
    justify-self: start;
  }

  .shf-profile {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    width: 100%;
    max-width: 100%;
  }

  .shf-spec-r > .shf-spec:last-child {
    grid-column: 3;
    grid-row: 3;
    text-align: left;
    align-items: flex-start;
    justify-self: start;
  }

  .shf-bag-wrap {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    overflow: visible;
    margin-right: 0;
    transform: none;
    width: auto;
    max-width: 100%;
  }

  .shf-bag {
    width: 469px;
    height: 656px;
  }

  .shf-bag-photo {
    height: 100%;
    object-position: center bottom;
    transform-origin: 50% 88%;
  }

  .shf-foot {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    justify-items: stretch;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .shf-stage {
    --shf-bag-col: clamp(300px, 28vw, 420px);
    column-gap: clamp(24px, 3.2vw, 40px);
    min-height: clamp(380px, 42vw, 480px);
  }

  .shf-spec__v {
    font-size: clamp(20px, 2.2vw, 26px);
  }

  .shf-bag {
    width: clamp(300px, 28vw, 420px);
    height: auto;
    aspect-ratio: 469 / 656;
    max-height: min(580px, 72vh);
  }

  .shf-bag-glow {
    width: 133%;
    height: 133%;
  }

  .shf-foot {
    gap: clamp(16px, 2.5vw, 32px);
  }

  .shf-price .num {
    font-size: clamp(64px, 7vw, 88px);
  }
}

/* SHOP MÓVIL+TABLET LOCK — ≤1023px — NO EDITAR SIN PROBAR ≥1024px */
@media (max-width: 1023px) {
  .fs-shop .shf-bag-wrap,
  .fs-shop .shf-bag,
  .fs-shop .shf-bag-photo {
    margin-right: 0;
    transform: none;
    width: auto;
    height: auto;
    max-width: none;
    flex-shrink: initial;
  }

  .shf-credentials {
    display: none;
  }

  .fs-shop.fs {
    padding: clamp(56px, 12vw, 72px) clamp(16px, 5vw, 24px);
    gap: 28px;
    overflow-x: clip;
  }

  .shf-head__copy {
    gap: 10px;
  }
  .shf-title {
    font-size: clamp(36px, 9vw, 48px);
  }
  .shf-roast-note {
    padding-top: 22px;
    gap: 10px;
  }
  .shf-roast-note__origin::after,
  .shf-roast-note__desc::after {
    content: none;
  }
  .fs-shop .v-lead {
    font-size: 17px;
    max-width: none;
  }
  .fs-shop .shop-demo-note {
    font-size: 16px;
    max-width: none;
    line-height: 1.5;
  }
  .shf-roast-note__desc {
    font-size: 16px;
  }
  .shf-roast-note__blend {
    font-size: var(--type-body-min);
    line-height: 1.45;
  }

  .shf-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(108px, 34%);
    grid-template-rows: auto repeat(4, auto) auto auto;
    column-gap: clamp(12px, 3.5vw, 18px);
    row-gap: 14px;
    min-height: 0;
    align-items: start;
    overflow: visible;
  }
  .shf-spec-l,
  .shf-spec-r {
    display: contents;
  }
  .shf-spec {
    min-width: 0;
    max-width: none;
    gap: 5px;
    text-align: left;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-line);
  }
  .shf-roast-note {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .shf-spec-l .shf-spec:nth-child(1) {
    grid-column: 1;
    grid-row: 2;
  }
  .shf-spec-l .shf-spec:nth-child(2) {
    grid-column: 1;
    grid-row: 3;
  }
  .shf-spec-l .shf-spec:nth-child(3) {
    grid-column: 1;
    grid-row: 4;
  }
  .shf-spec-r > .shf-spec:first-child {
    grid-column: 1;
    grid-row: 5;
    padding-bottom: 0;
    border-bottom: none;
  }

  .fs-shop .shf-bag-wrap {
    grid-column: 2;
    grid-row: 1 / 6;
    align-self: start;
    justify-self: stretch;
    align-items: flex-start;
    justify-content: flex-end;
    position: sticky;
    top: clamp(72px, 14vw, 96px);
    z-index: 3;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    margin-right: calc(-1 * clamp(16px, 5vw, 24px));
    transform: translateX(0);
  }

  .fs-shop .shf-bag {
    width: 100%;
    max-width: min(280px, 100%);
    height: auto;
    aspect-ratio: 5 / 7;
    align-self: flex-start;
  }

  .shf-spec {
    position: relative;
    z-index: 1;
  }
  .shf-bag-glow {
    width: 157%;
    height: 157%;
  }
  .shf-bag-shadow {
    width: 93%;
    height: 7.2%;
    bottom: -2.6%;
  }
  .fs-shop .shf-bag-photo {
    width: 100%;
    max-width: 100%;
    object-position: right top;
    transform-origin: 92% 6%;
    transform: rotate(-2.5deg);
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.5));
  }
  .shf-profile {
    grid-column: 1 / -1;
    grid-row: 6;
    margin-top: 8px;
    padding: 14px 16px;
    gap: 10px;
  }
  .shf-spec-r > .shf-spec:last-child {
    grid-column: 1 / -1;
    grid-row: 7;
    margin-top: 4px;
    padding-bottom: 0;
    border-bottom: none;
  }

  .shf-spec__k {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-wrap: balance;
  }
  .shf-spec__v {
    font-size: clamp(19px, 4.8vw, 23px);
    line-height: 1.22;
    text-wrap: pretty;
  }
  .shf-spec__sub {
    font-size: 16px;
    line-height: 1.45;
    margin-top: 0;
    max-width: 36ch;
  }

  .shf-bar {
    grid-template-columns: minmax(56px, 22%) 1fr 28px;
    gap: 8px;
  }
  .shf-bar b {
    font-size: 16px;
  }
  .shf-bar span {
    font-size: var(--type-meta-min);
  }

  .shf-foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-top: 22px;
  }
  .shf-foot .v-spacer {
    display: none;
  }
  .shf-price .num {
    font-size: clamp(56px, 14vw, 64px);
  }
  .shf-price sup {
    font-size: 22px;
  }
  .shf-price__sub {
    font-size: 11px;
  }
  .shf-alt {
    font-size: 12px;
    letter-spacing: 0.18em;
    line-height: 1.45;
  }
  .shf-buy {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 18px 24px;
    font-size: var(--type-body-min);
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .shf-stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(120px, 40%);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .shf-stage {
    grid-template-columns: minmax(0, 1.15fr) minmax(140px, 38%);
  }

  .fs-shop .shf-bag {
    max-width: min(307px, 100%);
  }
}

@media (max-width: 390px) {
  .shf-stage {
    grid-template-columns: minmax(0, 1.02fr) minmax(120px, 42%);
    column-gap: 10px;
    row-gap: 12px;
  }
  .shf-spec__v {
    font-size: 18px;
  }
  .shf-spec__sub {
    font-size: var(--type-body-md);
    max-width: none;
  }
}

/* Shop — lightbox bolsa (todos los breakpoints) */
.shf-bag-hit {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.shf-bag-hit:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.shf-bag-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--easing, ease);
}
.shf-bag-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.shf-bag-lightbox__scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 8, 0.38);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.shf-bag-lightbox__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shf-bag-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 32px));
  max-height: min(82vh, 640px);
  padding: clamp(40px, 9vw, 52px) clamp(18px, 4.5vw, 28px) clamp(18px, 4vw, 24px);
  background: linear-gradient(165deg, rgba(28, 56, 41, 0.98), rgba(13, 26, 18, 0.99));
  border: 1px solid rgba(201, 169, 110, 0.38);
  border-radius: 6px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.42);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.35s var(--easing, ease);
}
.shf-bag-lightbox.is-open .shf-bag-lightbox__panel {
  transform: scale(1) translateY(0);
}
.shf-bag-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: clamp(40px, 9vw, 46px);
  height: clamp(40px, 9vw, 46px);
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.65);
  background: rgba(13, 26, 18, 0.92);
  color: var(--color-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.shf-bag-lightbox__close:hover {
  background: var(--color-gold);
  color: var(--color-bg-darkest);
  border-color: var(--color-gold);
}
.shf-bag-lightbox__close:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}
.shf-bag-lightbox__close svg {
  width: clamp(18px, 4.5vw, 22px);
  height: clamp(18px, 4.5vw, 22px);
}
.shf-bag-lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: min(62vh, 520px);
}
.shf-bag-lightbox__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 105%;
  height: 105%;
  background: radial-gradient(closest-side, rgba(201, 169, 110, 0.2), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.shf-bag-lightbox__img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: min(58vh, 480px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: none;
  mix-blend-mode: normal;
  user-select: none;
  -webkit-user-drag: none;
}

/* Lightbox — escritorio: imagen claramente mayor que la bolsa inline (~469px) */
@media (min-width: 1024px) {
  .shf-bag-lightbox__panel {
    width: min(780px, calc(100vw - 48px));
    max-height: min(92vh, 1080px);
    padding: 56px 40px 36px;
  }
  .shf-bag-lightbox__stage {
    max-height: min(80vh, 900px);
  }
  .shf-bag-lightbox__img {
    max-height: min(78vh, 860px);
    max-width: min(100%, 700px);
  }
  .shf-bag-lightbox__close {
    top: 14px;
    right: 14px;
    width: 48px;
    height: 48px;
  }
  .shf-bag-lightbox__close svg {
    width: 22px;
    height: 22px;
  }
}

@media (min-width: 1280px) {
  .shf-bag-lightbox__panel {
    width: min(920px, calc(100vw - 72px));
    max-height: min(94vh, 1200px);
    padding: 60px 44px 40px;
  }
  .shf-bag-lightbox__stage {
    max-height: min(84vh, 1020px);
  }
  .shf-bag-lightbox__img {
    max-height: min(82vh, 980px);
    max-width: min(100%, 820px);
  }
}

@media (min-width: 1440px) {
  .shf-bag-lightbox__panel {
    width: min(980px, calc(100vw - 96px));
  }
  .shf-bag-lightbox__img {
    max-height: min(86vh, 1040px);
    max-width: min(100%, 880px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shf-bag-lightbox,
  .shf-bag-lightbox__panel {
    transition: none;
  }
}

/* === Club (SubFinal) === */
.fs-sub {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.suf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.suf-left {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.suf-h {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0;
}

.suf-h em {
  font-style: italic;
  color: var(--color-gold);
}

.suf-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 38ch;
  font-weight: 300;
}

.suf-meta {
  display: flex;
  gap: 48px;
  margin-top: 12px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}

.suf-meta__cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.suf-meta__num {
  font-family: var(--font-display);
  font-size: 46px;
  font-style: italic;
  color: var(--color-gold);
  font-weight: 300;
  line-height: 1;
}

.suf-meta__lbl {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.suf-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.suf-card {
  position: relative;
  border-radius: 28px;
  padding: 44px;
  border: 1px solid var(--color-gold);
  background:
    radial-gradient(140% 80% at 50% 0%, rgba(201, 169, 110, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(44, 71, 54, 0.55), rgba(13, 26, 18, 0.75));
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.45);
}

.suf-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-line);
}

.suf-card__brand {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold);
  font-size: 14px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.suf-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-top: 8px;
}

.suf-card__seal {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold);
  font-size: 22px;
  flex-shrink: 0;
}

.suf-card__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  font-weight: 400;
  margin: 0;
}

.suf-card__title em {
  font-style: italic;
  color: var(--color-gold);
}

.suf-perks {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.suf-perks li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
}

.suf-perks li .n {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--color-gold);
  font-weight: 300;
  width: 40px;
  line-height: 1;
}

.suf-perks li h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 6px;
}

.suf-perks li p {
  font-size: var(--type-body-md);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
  font-weight: 300;
}

.suf-card__foot {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--color-line);
  flex-wrap: wrap;
}

.suf-card__price {
  font-family: var(--font-display);
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--color-text);
  flex-wrap: wrap;
}

.suf-card__price .num {
  font-size: 60px;
  font-style: italic;
  color: var(--color-gold);
  font-weight: 300;
  line-height: 0.9;
}

.suf-card__price small {
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--color-gold);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 400;
}

.suf-card__price sup {
  font-size: 22px;
  color: var(--color-text-muted);
  font-style: italic;
}

.suf-card__price__sub {
  display: block;
  width: 100%;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 6px;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 300;
}

.suf-card__save {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}

@media (max-width: 1100px) {
  .suf-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* === Móvil-2 — padding global .fs + Club + App (≤768 / ≤390) === */
@media (max-width: 768px) {
  .section.fs {
    padding: clamp(56px, 12vw, 72px) clamp(16px, 5vw, 24px);
  }

  #app.section {
    padding: clamp(56px, 12vw, 72px) clamp(16px, 5vw, 24px);
    overflow-x: clip;
  }

  /* —— Club —— */
  .fs-sub {
    gap: clamp(40px, 8vw, 56px);
  }

  .suf-grid {
    gap: clamp(36px, 7vw, 48px);
  }

  .suf-left {
    gap: 20px;
  }

  .suf-h {
    font-size: clamp(36px, 9vw, 52px);
    line-height: 1.02;
  }

  .suf-lead {
    font-size: 17px;
    max-width: none;
    line-height: 1.55;
  }

  .suf-meta {
    gap: clamp(20px, 5vw, 32px);
    margin-top: 8px;
    padding-top: 22px;
  }

  .suf-meta__num {
    font-size: clamp(32px, 8vw, 40px);
  }

  .suf-meta__lbl {
    font-size: 11px;
    letter-spacing: 0.28em;
  }

  .suf-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 10px;
  }

  .suf-cta-row .v-cta {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 16px 24px;
  }

  .suf-card {
    padding: clamp(24px, 5vw, 32px);
    gap: 22px;
    border-radius: 22px;
  }

  .suf-perks {
    gap: 22px;
  }

  .suf-perks li {
    gap: 16px;
  }

  .suf-perks li h4 {
    font-size: clamp(18px, 4.5vw, 22px);
  }

  .suf-perks li p {
    font-size: 16px;
    line-height: 1.55;
  }

  .suf-card__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .suf-card__price .num {
    font-size: clamp(48px, 12vw, 56px);
  }

  .suf-card__save {
    font-size: 11px;
    letter-spacing: 0.2em;
    line-height: 1.45;
  }

  /* —— App —— */
  #app .section__title {
    font-size: clamp(36px, 9vw, 56px);
    margin-bottom: 16px;
  }

  #app .section__lead {
    font-size: 17px;
    max-width: none;
  }

  #app .section__eyebrow {
    font-size: 11px;
  }

  .app-wrap {
    margin-top: clamp(32px, 6vw, 48px);
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 40px);
    min-width: 0;
    overflow-x: clip;
  }

  .app-features {
    gap: 20px;
    min-width: 0;
  }

  .app-feature {
    padding: 18px 0;
    gap: 16px;
  }

  .app-feature__body h3 {
    font-size: clamp(20px, 5vw, 24px);
    margin-bottom: 8px;
  }

  .app-feature__body p {
    font-size: 16px;
    line-height: 1.55;
  }

  .app-features .cta-pill {
    width: 100%;
    justify-content: center;
    align-self: stretch;
    min-height: 48px;
    margin-top: 8px;
  }

  .phones {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    overflow: hidden;
    height: clamp(380px, 52vw, 480px);
  }

  .phone {
    width: clamp(150px, 20vw, 188px);
  }

  .phone--left {
    left: 0;
    transform: translateX(-48px) rotate(-8deg);
  }

  .phone--right {
    right: 0;
    transform: translateX(48px) rotate(8deg);
  }

  .phones.in .phone--left {
    transform: translateX(-8px) rotate(-6deg);
  }

  .phones.in .phone--right {
    transform: translateX(8px) rotate(6deg);
  }

  .phone--center {
    transform: translateY(40px) scale(1.04);
  }

  .phones.in .phone--center {
    transform: translateY(0) scale(1.04);
  }
}

@media (max-width: 540px) {
  .phones {
    height: clamp(300px, 72vw, 400px);
  }

  .phone {
    width: clamp(140px, 42vw, 172px);
  }

  .phone--left,
  .phone--right {
    display: none;
  }

  .phone--center {
    position: relative;
    left: auto;
    right: auto;
    transform: none;
  }

  .phones.in .phone--center {
    transform: scale(1);
  }
}

@media (max-width: 390px) {
  .suf-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .suf-meta__cell:last-child {
    grid-column: 1 / -1;
  }

  .suf-meta__num {
    font-size: 34px;
  }

  .suf-card {
    padding: 24px 20px;
  }

  .suf-perks li .n {
    font-size: 20px;
    width: 32px;
  }

  #app .section__title {
    font-size: clamp(32px, 8.5vw, 44px);
  }
}

/* DSK-4 — About desktop: columna única, cards horizontales (foto + bio) */
@media (min-width: 961px) {
  #about .about__grid {
    grid-template-columns: 1fr;
    gap: clamp(24px, 3vw, 36px);
    max-width: min(720px, 100%);
    margin-inline: auto;
  }

  #about .about-founder {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(120px, 14vw, 160px);
    grid-template-rows: auto;
    gap: 20px 24px;
    align-items: center;
    min-height: 0;
    padding: clamp(24px, 2.8vw, 32px) clamp(22px, 2.5vw, 28px);
  }

  #about .about-founder__frame {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 160px;
    margin-left: auto;
    aspect-ratio: 3 / 4;
    max-height: 200px;
    justify-self: end;
  }

  #about .about-founder__frame::before {
    inset: 12px;
  }

  #about .about-founder__photo {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }

  #about .about-founder__bio {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    max-width: none;
  }
}

/* === Móvil-3 — Location + About + Footer + QA global (≤768 / ≤390) === */
@media (max-width: 768px) {
  #location.section,
  #about.section {
    padding: clamp(56px, 12vw, 72px) clamp(16px, 5vw, 24px);
    overflow-x: clip;
    min-width: 0;
  }

  #location .section__title,
  #about .section__title {
    font-size: clamp(36px, 9vw, 56px);
    margin-bottom: 16px;
  }

  #about .section__lead {
    max-width: none;
  }

  #location .section__eyebrow,
  #about .section__eyebrow {
    font-size: 11px;
    margin-bottom: 18px;
  }

  /* —— Location —— */
  #location .loc {
    margin-top: clamp(28px, 6vw, 40px);
    min-width: 0;
    max-width: 100%;
    padding: 12px;
  }

  #location .loc__panel {
    padding: clamp(20px, 5vw, 32px);
    gap: 20px;
  }

  #location .loc__title {
    font-size: clamp(32px, 8vw, 44px);
  }

  #location .loc__sub {
    font-size: 16px;
    line-height: 1.55;
    max-width: none;
  }

  #location .loc__chip {
    font-size: 11px;
    letter-spacing: 0.28em;
  }

  #location .loc__row {
    grid-template-columns: minmax(88px, 32%) minmax(0, 1fr);
    gap: 12px 16px;
    padding: 16px 0;
    font-size: 15px;
  }

  #location .loc__row dt {
    font-size: 11px;
    letter-spacing: 0.28em;
    word-break: break-word;
    hyphens: auto;
  }

  #location .loc__row dd {
    font-size: 16px;
    line-height: 1.55;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #location .loc__row dd small {
    font-size: var(--type-body-min);
    margin-top: 4px;
  }

  #location .loc__row dd a {
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
    min-height: 44px;
    line-height: 1.45;
  }

  #location .loc__map {
    min-height: clamp(220px, 52vw, 280px);
    max-width: 100%;
  }

  #location .loc__map iframe {
    display: block;
    min-height: inherit;
  }

  /* —— About —— */
  .about {
    margin-top: clamp(28px, 6vw, 40px);
    gap: clamp(28px, 6vw, 40px);
    min-width: 0;
    max-width: 100%;
  }

  .about__grid {
    gap: clamp(20px, 5vw, 28px);
    min-width: 0;
  }

  #about .about-founder {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    padding: clamp(20px, 5vw, 28px);
    min-width: 0;
  }

  #about .about-founder__frame {
    grid-column: unset;
    grid-row: unset;
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0;
    justify-self: stretch;
    aspect-ratio: 4 / 5;
  }

  #about .about-founder__photo {
    max-width: 100%;
    object-fit: cover;
  }

  #about .about-founder__bio {
    grid-column: unset;
    grid-row: unset;
    margin: 0;
    max-width: none;
  }

  /* —— Footer —— */
  footer.footer {
    padding: clamp(48px, 10vw, 64px) clamp(16px, 5vw, 24px)
      clamp(28px, 6vw, 40px);
    overflow-x: clip;
    min-width: 0;
  }

  footer.footer .footer__grid {
    gap: clamp(28px, 6vw, 40px);
    margin-bottom: clamp(36px, 8vw, 48px);
  }

  footer.footer h3.footer__col-title {
    font-size: 13px;
    margin-bottom: 14px;
  }

  footer.footer .footer__col p,
  footer.footer .footer__col a {
    font-size: 15px;
    line-height: 1.65;
  }

  footer.footer .footer__col a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 2px 0;
  }

  footer.footer .footer__brand-mark {
    width: clamp(72px, 18vw, 90px);
    height: clamp(72px, 18vw, 90px);
    max-width: 100%;
    margin-bottom: 16px;
    padding: 10px 8px;
  }

  footer.footer .footer__brand-mark b {
    font-size: clamp(12px, 3.2vw, 14px);
    letter-spacing: 0.14em;
    text-align: center;
  }

  footer.footer .footer__brand-mark i {
    font-size: clamp(5px, 1.4vw, 6px);
    letter-spacing: 0.32em;
    text-align: center;
  }

  footer.footer .footer__col > p {
    max-width: 42ch;
  }

  footer.footer .footer-news__open {
    min-height: 44px;
    font-size: 12px;
  }

  footer.footer .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 12px;
    letter-spacing: 0.14em;
    padding-top: 20px;
  }

  footer.footer .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }

  footer.footer .footer__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
  }

  footer.footer .footer__legal-note {
    font-size: 12px;
    letter-spacing: 0.04em;
    line-height: 1.5;
    margin-top: 4px;
    max-width: 48ch;
  }
}

@media (max-width: 390px) {
  /* —— Location —— */
  #location .loc__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  #location .loc__row dt {
    padding-top: 0;
  }

  #location .loc__map {
    min-height: 240px;
  }

  /* —— About —— */
  #about .about-founder {
    padding: 20px 18px;
  }

  #about .about-founder__frame::before {
    inset: 12px;
  }

  /* —— Footer —— */
  footer.footer .footer__legal-note {
    font-size: 12px;
  }

  footer.footer .footer__bottom > span:first-child,
  footer.footer .footer__bottom > span:last-child {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  /* —— Hero / nav (fix mínimo si desborda en 390) —— */
  html .nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  html .nav.is-scrolled {
    padding-left: 16px;
    padding-right: 16px;
  }

  html .nav__brand b {
    font-size: 21px;
    letter-spacing: 0.16em;
  }

  html .nav__menu-btn {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }

  html .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  html .hero__slogan {
    font-size: clamp(26px, 7vw, 34px);
    max-width: 20ch;
  }
}

/* === Pase tipográfico sitio — Hero + Marquee + P1 tablet (jun 2026) === */
@media (max-width: 768px) {
  html .hero__sub {
    font-size: clamp(14px, 3.2vw, 16px);
    letter-spacing: 0.26em;
    line-height: 1.55;
  }

  html .hero__scroll {
    font-size: var(--type-meta-min);
    letter-spacing: 0.36em;
  }
}

@media (max-width: 520px) {
  html .marquee {
    padding: 18px 0;
  }

  html .marquee__item:nth-child(2n) {
    font-size: clamp(14px, 3.6vw, 16px);
    letter-spacing: 0.32em;
  }

  .v-lead {
    font-size: var(--type-body-md);
  }

  .sf-p1 {
    font-size: var(--type-body-md);
  }

  .shf-roast-note__desc {
    font-size: var(--type-body-md);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .v-lead {
    font-size: clamp(17px, 2vw, 19px);
  }

  .v-eyebrow {
    font-size: clamp(11px, 1.2vw, 13px);
  }

  .fs-shop .v-lead,
  .suf-lead,
  #about .section__lead {
    font-size: clamp(18px, 1.8vw, 20px);
  }

  #app .section__lead,
  #location .loc__sub {
    font-size: clamp(17px, 1.8vw, 19px);
  }
}

/* === Shop quiz teaser (Entry Point A — fuera del LOCK grid/bolsa) === */
.shf-quiz-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 16px;
  background: rgba(13, 26, 18, 0.35);
}

.shf-quiz-teaser__copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 42ch;
}

.shf-quiz-teaser__btn {
  flex-shrink: 0;
}

/* === Club / Rhythmus (Fase B) === */
.fs-club {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.clb-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 52ch;
}

.clb-title {
  margin: 0;
}

.clb-lead {
  margin: 0;
}

.clb-cadence {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.clb-cadence__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: none;
  color: var(--color-text-muted);
  font-weight: 500;
}

.clb-cadence__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.clb-cadence__opt {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.28);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.clb-cadence__opt.is-active,
.clb-cadence__opt:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201, 169, 110, 0.08);
}

.clb-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.clb-options--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clb-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  border: 1px solid rgba(201, 169, 110, 0.22);
  background: linear-gradient(180deg, rgba(44, 71, 54, 0.35), rgba(13, 26, 18, 0.55));
}

.clb-opt--featured {
  border-color: var(--color-gold);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(201, 169, 110, 0.14), transparent 65%),
    linear-gradient(180deg, rgba(44, 71, 54, 0.5), rgba(13, 26, 18, 0.7));
}

.clb-opt__badge {
  align-self: flex-start;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-on-gold, var(--color-bg-darkest));
  background: var(--color-gold);
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 500;
}

.clb-opt__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.1;
}

.clb-opt__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 300;
}

.clb-opt__interval {
  margin: 4px 0 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}

.clb-opt__price {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.clb-opt__price small {
  font-size: 0.45em;
  letter-spacing: 0.05em;
}

.clb-opt__price sup {
  font-size: 0.42em;
}

.clb-opt__price-sub,
.clb-opt__ship {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-text-muted);
  font-weight: 300;
}

.clb-opt__save {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--color-gold);
  font-weight: 400;
}

.clb-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.clb-cta__note {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 300;
}

@media (max-width: 900px) {
  .clb-options,
  .clb-options--two {
    grid-template-columns: 1fr;
  }
}

/* === Rhythm quiz modal === */
.rhythm-quiz {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.rhythm-quiz.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.rhythm-quiz__scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 8, 0.72);
  backdrop-filter: blur(8px);
}

.rhythm-quiz__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(90vh, 880px);
  overflow-y: auto;
  border-radius: 24px;
  border: 1px solid rgba(201, 169, 110, 0.35);
  background: #102419;
  padding: 28px 24px;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.75);
}

@media (min-width: 681px) {
  .rhythm-quiz__panel {
    padding: 36px 40px;
  }
}

.rhythm-quiz__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.28);
  background: transparent;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.rhythm-quiz__title {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.08;
  max-width: 20ch;
}

.rhythm-quiz__lead,
.rhythm-quiz__cadence-note,
.rhythm-quiz__foot {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 300;
}

.rhythm-quiz__slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.rhythm-quiz__cups-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-style: italic;
  color: var(--color-gold);
  letter-spacing: 0;
  text-transform: none;
}

.rhythm-quiz__slider {
  width: 100%;
  accent-color: var(--color-gold);
  margin-bottom: 24px;
}

.rhythm-quiz__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.rhythm-quiz__results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 8px;
}

.rhythm-quiz__results--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rhythm-quiz__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  background: rgba(13, 26, 18, 0.5);
}

.rhythm-quiz__card--featured {
  border-color: var(--color-gold);
}

.rhythm-quiz__badge {
  align-self: flex-start;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--color-gold);
  color: var(--color-on-gold, var(--color-bg-darkest));
  padding: 4px 8px;
  border-radius: 999px;
}

.rhythm-quiz__card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
}

.rhythm-quiz__card-desc,
.rhythm-quiz__card-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.rhythm-quiz__card-interval {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.rhythm-quiz__card-price {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 28px;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.rhythm-quiz__choose {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

@media (max-width: 680px) {
  .rhythm-quiz__results,
  .rhythm-quiz__results--two {
    grid-template-columns: 1fr;
  }
}

/* ===== CART DRAWER (B.3) ===== */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 999px;
  background: rgba(13, 26, 18, 0.4);
  color: var(--color-gold);
  cursor: none;
  transition: border-color 0.35s var(--easing), color 0.35s var(--easing);
}
.nav-cart svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-cart:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
}
.nav-cart__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--color-gold);
  color: var(--color-on-gold, var(--color-bg-darkest));
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}
body.cart-open {
  overflow: hidden;
}
.v-cart {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.4s var(--easing);
}
.v-cart.is-open {
  pointer-events: auto;
  visibility: visible;
}
.v-cart__scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 8, 0.72);
  opacity: 0;
  transition: opacity 0.4s var(--easing);
}
.v-cart.is-open .v-cart__scrim {
  opacity: 1;
}
.v-cart__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 20px 24px 28px;
  background: linear-gradient(165deg, rgba(18, 32, 24, 0.98), rgba(10, 18, 14, 0.99));
  border-left: 1px solid rgba(201, 169, 110, 0.18);
  transform: translateX(100%);
  transition: transform 0.45s var(--easing);
  overflow-y: auto;
}

@media (min-width: 481px) {
  .v-cart__panel {
    padding: 32px 28px 32px 32px;
  }
}
.v-cart.is-open .v-cart__panel {
  transform: translateX(0);
}
.v-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.v-cart__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 34px);
  font-weight: 400;
  margin: 0;
}
.v-cart__close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 999px;
  background: transparent;
  color: var(--color-gold);
  cursor: none;
}
.v-cart__feedback {
  min-height: 1.25em;
  font-size: 12px;
  color: var(--color-gold);
  letter-spacing: 0.04em;
}
.v-cart__empty {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0;
  color: var(--color-text-muted);
}
.v-cart__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.v-cart__item {
  padding: 18px 0;
  border-top: 1px solid rgba(201, 169, 110, 0.12);
  border-bottom: 1px solid rgba(201, 169, 110, 0.12);
}
.v-cart__mode {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 8px;
}
.v-cart__bags,
.v-cart__interval-row {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.v-cart__interval-row {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.v-cart__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.v-cart__qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.v-cart__qty-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 999px;
  background: transparent;
  color: var(--color-gold);
  font-size: 18px;
  line-height: 1;
  cursor: none;
}
.v-cart__qty-value {
  min-width: 24px;
  text-align: center;
  font-size: 16px;
  color: var(--color-text);
}
.v-cart__totals {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.v-cart__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.v-cart__row dt {
  margin: 0;
  color: var(--color-text-muted);
  font-weight: 300;
}
.v-cart__row dd {
  margin: 0;
  font-weight: 500;
}
.v-cart__row--total {
  padding-top: 10px;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  font-size: 16px;
}
.v-cart__row--total dt,
.v-cart__row--total dd {
  color: var(--color-text);
}
.v-cart__per-delivery {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.v-cart__checkout {
  width: 100%;
  justify-content: center;
}
.v-cart__note {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.clb-opt__cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
