/* ==========================================================
   BRUMA — Tienda del Sur · Boceto v0.1
   ========================================================== */

/* ---------- Tokens + temporadas ---------- */
:root {
  --bg: #09090a;
  --bg-2: #111112;
  --fg: #ecebe6;
  --mute: #8d8c86;
  --line: rgba(236, 235, 230, .13);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 68px;

  /* Primavera por defecto */
  --acc: #c9bfd6;
  --acc-ink: #121016;
  --fog: 212, 208, 220;
}
/* Colores sobrios por temporada: tonos apagados, nada flúor */
[data-season="verano"]    { --acc: #d6bf98; --acc-ink: #17120a; --fog: 226, 212, 190; }
[data-season="otono"]     { --acc: #c49072; --acc-ink: #170d08; --fog: 210, 190, 178; }
[data-season="invierno"]  { --acc: #aebfd0; --acc-ink: #0c1117; --fog: 208, 216, 228; }
[data-season="primavera"] { --acc: #c9bfd6; --acc-ink: #121016; --fog: 212, 208, 220; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .6s var(--ease);
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
::selection { background: var(--acc); color: var(--acc-ink); }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.mtn { width: 1.9em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -.1em; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--acc); color: var(--acc-ink); padding: 10px 14px; transition: top .2s; }
.skip:focus { top: 12px; }
.todo { color: var(--acc); border-bottom: 1px dashed currentColor; }

/* ---------- Grano de película ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--bg);
  display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s;
}
.loader__mtn { width: min(220px, 50vw); fill: none; stroke: var(--fg); stroke-width: 1.2; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s var(--ease) forwards; }
.loader__meta { position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad); display: flex; justify-content: space-between; color: var(--mute); }
.loader__meta b { color: var(--fg); font-weight: 500; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.is-loaded .loader { opacity: 0; visibility: hidden; }
html:not(.js) .loader { display: none; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none;
    width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
    border: 1px solid var(--fg); mix-blend-mode: difference;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, opacity .3s;
    opacity: 0;
  }
  .cursor.is-on { opacity: 1; }
  .cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--fg); }
  .cursor__label { position: absolute; inset: 0; display: grid; place-items: center; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
  .cursor.is-big .cursor__label { opacity: 1; }
}

/* ---------- Botones ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--h); padding: 0 24px; overflow: hidden; isolation: isolate;
  font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px;
  transition: color .4s var(--ease), border-color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--acc);
  transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--acc-ink); border-color: var(--acc); }
.btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--ghost { color: var(--fg); }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--pad);
  transition: background-color .4s, backdrop-filter .4s, transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(9, 9, 10, .72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 22px; width: auto; filter: invert(1) brightness(.93); }
.nav__links { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.nav__links a { position: relative; padding: 6px 0; color: rgba(236, 235, 230, .8); text-shadow: 0 1px 10px rgba(0,0,0,.35); transition: color .3s; }
.nav__links a:hover { color: var(--fg); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.season-pill, .bag-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; transition: border-color .3s, background-color .3s;
}
.season-pill:hover, .bag-btn:hover { border-color: var(--fg); }
.season-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); transition: background-color .6s; }
.bag-btn__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--acc); color: var(--acc-ink); font-size: 10.5px; transition: transform .4s var(--ease); }
.bag-btn__n.bump { transform: scale(1.35); }
@media (max-width: 980px) { .nav__links { display: none; } }
@media (max-width: 420px) { .season-pill span { display: none; } .season-pill { padding: 0 11px; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #000; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.08); filter: saturate(.9) contrast(1.05); }
.is-loaded .hero__photo img { animation: heroIn 2.6s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(9,9,10,.55) 0%, transparent 22%, transparent 55%, rgba(9,9,10,.92) 100%); }
.hero__word { position: absolute; inset: 0; z-index: 1; display: flex; justify-content: center; align-items: flex-start; padding-top: calc(var(--nav-h) + clamp(28px, 7vh, 80px)); pointer-events: none; }
.hero__word img { width: clamp(260px, calc((100svh - 590px) * 4), min(86vw, 1150px)); height: auto; filter: invert(1); opacity: .9; mix-blend-mode: overlay; }
.hero__fog { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }
html:not(.has-webgl) .hero__fog { background: radial-gradient(ellipse at 30% 40%, rgba(var(--fog), .55), transparent 60%), radial-gradient(ellipse at 70% 70%, rgba(var(--fog), .45), transparent 55%); animation: fogFallback 14s ease-in-out infinite alternate; }
@keyframes fogFallback { to { transform: translateX(-4%) scale(1.06); } }

.hero__ui { position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: clamp(120px, 17vh, 170px); display: grid; gap: 22px; pointer-events: none; }
.hero__ui a, .hero__ui button { pointer-events: auto; }
.hero__kicker { display: flex; align-items: center; gap: 10px; color: var(--fg); }
.hero__kicker .mtn { color: var(--acc); }
.hero__title { margin: 0; font-weight: 800; font-stretch: 112%; font-size: clamp(32px, 5vw, 80px); line-height: .9; letter-spacing: -.035em; text-transform: uppercase; }
.hero__title em { font-style: italic; font-weight: 300; font-stretch: 80%; color: rgba(236, 235, 230, .78); letter-spacing: -.02em; transition: color .6s; }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.line:nth-child(2) > span { transition-delay: .1s; }
.is-loaded .line > span { transform: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__hint { display: flex; align-items: center; gap: 10px; color: var(--fg); opacity: .85; transition: opacity .8s; }
.hero__hint.is-gone { opacity: 0; }
.hero__hint .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: pulse 1.6s ease-in-out infinite; }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }
@keyframes pulse { 50% { transform: scale(1.8); opacity: .4; } }

.hud {
  position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: 22px; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line);
}
.hud div { padding: 12px 0 0; }
.hud dt { color: var(--mute); margin-bottom: 4px; }
.hud dd { margin: 0; color: var(--fg); white-space: nowrap; }
.wind-arrow { display: inline-block; font-style: normal; color: var(--acc); transition: transform 1.2s var(--ease); }
.hero__note { position: absolute; z-index: 4; right: var(--pad); top: calc(var(--nav-h) + 14px); margin: 0; max-width: 260px; text-align: right; color: var(--mute); font-size: 10.5px; }
@media (max-width: 760px) {
  .hud { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .hud div:nth-child(1) { display: none; }
  .hud div:nth-child(2) { display: none; }
  .hero__ui { bottom: 98px; }
  .hero__note { display: none; }
}

/* ---------- Marquesina ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); padding: 16px 0; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; font-size: 13px; }
.marquee__track .mtn { color: var(--acc); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones comunes ---------- */
section { position: relative; }
.eyebrow { color: var(--acc); margin: 0 0 18px; transition: color .6s; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(30px, 5vw, 60px); }
.sec-title { margin: 0; font-weight: 800; font-stretch: 112%; font-size: clamp(42px, 7vw, 104px); line-height: .9; letter-spacing: -.035em; text-transform: uppercase; }
.sec-title em { font-style: italic; font-weight: 300; font-stretch: 80%; }
.sec-title__count { font-size: 13px; letter-spacing: .08em; vertical-align: top; color: var(--mute); font-stretch: 100%; }
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: #cfcec8; max-width: 34ch; margin: 0; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- Black Mist ---------- */
.bm { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 110px); align-items: center; padding: clamp(80px, 12vw, 180px) var(--pad); }
/* El marco tiene exactamente la proporción del video (9:16): se ve entero, sin cortar cabezas */
.bm__media { position: relative; aspect-ratio: 9 / 16; justify-self: center; width: min(100%, 420px, calc((100vh - var(--nav-h) - 80px) * 9 / 16)); background: #000; }
.bm__media video { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.corner { position: absolute; width: 18px; height: 18px; border: 0 solid var(--acc); transition: border-color .6s; }
.corner.tl { left: -10px; top: -10px; border-left-width: 1px; border-top-width: 1px; }
.corner.tr { right: -10px; top: -10px; border-right-width: 1px; border-top-width: 1px; }
.corner.bl { left: -10px; bottom: -10px; border-left-width: 1px; border-bottom-width: 1px; }
.corner.br { right: -10px; bottom: -10px; border-right-width: 1px; border-bottom-width: 1px; }
.bm__rec { position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 7px; font-size: 10.5px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.bm__rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; animation: pulse 1.2s infinite; }
.bm__sound { position: absolute; right: 12px; bottom: 12px; padding: 8px 12px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid var(--line); backdrop-filter: blur(6px); font-size: 10.5px; }
.bm__sound[aria-pressed="true"] { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.bm__title { margin: 0 0 32px; font-weight: 900; font-stretch: 125%; font-size: clamp(56px, 9vw, 160px); white-space: nowrap; line-height: .82; letter-spacing: -.05em; }
.split { display: block; }
.split--outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.split .ch { display: inline-block; transform: translateY(60%) rotate(6deg); opacity: 0; filter: blur(10px); transition: transform 1s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.in .ch { transform: none; opacity: 1; filter: none; }
.specs { list-style: none; margin: 36px 0; padding: 0; border-top: 1px solid var(--line); max-width: 560px; }
.specs li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs li span:first-child { color: var(--mute); }
.specs li span:last-child { text-align: right; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--acc); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@media (max-width: 860px) {
  .bm { grid-template-columns: 1fr; }
  .bm__media { width: min(100%, 360px, calc((100vh - var(--nav-h) - 60px) * 9 / 16)); order: 2; }
}

/* ---------- Drop / grilla ---------- */
.drop { padding: clamp(60px, 9vw, 140px) var(--pad); border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) { .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); width: calc(100% + var(--pad) * 2); } .filters button { flex: 0 0 auto; } }
.filters button { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--mute); transition: all .3s var(--ease); }
.filters button:hover { color: var(--fg); border-color: var(--fg); }
.filters button[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; text-align: left; opacity: 0; transform: translateY(30px); animation: cardIn .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms); }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); perspective: 900px; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .6s, clip-path .9s var(--ease); }
.card__media .alt { clip-path: inset(0 0 100% 0); transform: scale(1.12); }
.card:hover .card__media .alt, .card:focus-visible .card__media .alt { clip-path: inset(0 0 0 0); transform: scale(1); }
.card:hover .card__media .main { transform: scale(1.06); }
.card__scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--acc); opacity: 0; z-index: 2; }
.card:hover .card__scan { animation: scan .9s var(--ease) forwards; }
@keyframes scan { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.card__hud { position: absolute; inset: 12px; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; font-size: 10.5px; }
.card__tag { background: var(--acc); color: var(--acc-ink); padding: 5px 8px; transition: background-color .6s; }
.card__idx { color: var(--fg); text-shadow: 0 1px 6px rgba(0,0,0,.6); margin-left: auto; }
.card__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; height: 42px; border-radius: 999px; background: var(--fg); color: var(--bg); font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; transform: translateY(140%); transition: transform .5s var(--ease), background-color .3s; }
.card:hover .card__quick, .card__quick:focus-visible { transform: none; }
.card__quick:hover { background: var(--acc); color: var(--acc-ink); }
@media (hover: none) { .card__quick { transform: none; height: 38px; } }
.card__info { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card__name { font-weight: 600; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.2; margin: 0 0 4px; }
.card__line { color: var(--mute); }
.card__price { white-space: nowrap; color: var(--fg); }
.card__price.soon { color: var(--mute); }
.card__open { position: absolute; inset: 0; z-index: 1; }
@media (max-width: 560px) { .card__info { flex-direction: column; gap: 4px; } .card__hud .card__idx { display: none; } }

.acc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); margin-top: clamp(60px, 9vw, 130px); padding-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.acc__video { aspect-ratio: 1; background: #000; overflow: hidden; }
.acc__video video { width: 100%; height: 100%; object-fit: cover; }
.acc__text h3 { margin: 0 0 16px; font-weight: 800; font-stretch: 110%; font-size: clamp(28px, 3.6vw, 52px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.acc__text p:not(.eyebrow) { color: #cfcec8; max-width: 40ch; margin: 0 0 28px; }
@media (max-width: 760px) { .acc { grid-template-columns: 1fr; } }

/* ---------- Lookbook ---------- */
.ruta { border-top: 1px solid var(--line); }
.ruta__sticky { padding: clamp(60px, 9vw, 120px) 0; }
.ruta__head { padding: 0 var(--pad); margin-bottom: 40px; }
.ruta__sub { color: #cfcec8; max-width: 38ch; margin: 18px 0 0; }
.ruta__progress { display: flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--mute); }
.ruta__progress span { color: var(--fg); }
.ruta__progress i { position: relative; width: 120px; height: 1px; background: var(--line); }
.ruta__progress b { position: absolute; inset: 0 auto 0 0; width: 16.6%; background: var(--acc); transition: width .3s; }
.ruta__track {
  display: flex; gap: 14px; padding: 18px var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  background:
    radial-gradient(circle at 50% 50%, var(--bg) 3px, transparent 3.5px) 0 4px / 22px 12px repeat-x,
    radial-gradient(circle at 50% 50%, var(--bg) 3px, transparent 3.5px) 0 calc(100% - 4px) / 22px 12px repeat-x,
    #161514;
}
.ruta__track::-webkit-scrollbar { display: none; }
.frame { position: relative; flex: 0 0 auto; margin: 0; width: min(78vw, 520px); scroll-snap-align: center; }
.frame--wide { width: min(92vw, 900px); }
.frame img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: saturate(.95) contrast(1.04); }
.frame--wide img { aspect-ratio: 2000 / 1168; }
.frame figcaption { display: flex; justify-content: space-between; margin-top: 10px; color: #e0a24d; font-size: 10.5px; }

/* Desktop: scroll vertical => desplazamiento horizontal fijado */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .ruta.is-pinned { height: var(--ruta-h, 300vh); }
  .ruta.is-pinned .ruta__sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(320px, 34vw) minmax(0, 1fr); align-items: center; padding: 0; overflow: hidden; }
  .ruta.is-pinned .ruta__head { margin: 0; position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; background: var(--bg); box-shadow: 30px 0 40px -10px var(--bg); }
  .ruta.is-pinned .ruta__track { position: relative; z-index: 1; }
  .ruta.is-pinned .ruta__head .sec-title { font-size: clamp(40px, 4.4vw, 76px); }
  .ruta.is-pinned .ruta__track { width: max-content; overflow: visible; scroll-snap-type: none; padding-right: 8vw; will-change: transform; }
  .ruta.is-pinned .frame { width: min(46vh, 520px); }
  .ruta.is-pinned .frame--wide { width: min(78vh, 900px); }
}

/* ---------- Temporadas ---------- */
.seasons { padding: clamp(80px, 11vw, 160px) var(--pad); border-top: 1px solid var(--line); }
.seasons__intro { color: #cfcec8; max-width: 36ch; margin: 0; }
.seasons__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.season {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left;
  min-height: clamp(260px, 32vw, 420px); padding: 26px; overflow: hidden;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .5s var(--ease), color .5s;
}
.season::before { content: ""; position: absolute; inset: 0; background: var(--acc); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); z-index: -1; }
.season { isolation: isolate; }
.season:hover::before { transform: scaleY(.04); }
.season.is-active::before { transform: scaleY(1); }
.season.is-active { color: var(--acc-ink); }
.season__glyph { font-size: 34px; line-height: 1; margin-bottom: auto; transition: transform 1s var(--ease); }
.season:hover .season__glyph { transform: rotate(90deg); }
.season__name { font-weight: 800; font-stretch: 115%; font-size: clamp(26px, 2.8vw, 42px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.season__months { opacity: .7; }
.season__line { font-size: 15px; line-height: 1.4; max-width: 26ch; opacity: .85; }
.season__now { position: absolute; top: 26px; right: 26px; padding: 4px 8px; border: 1px solid currentColor; border-radius: 999px; display: none; }
.season.is-now .season__now { display: block; }
@media (max-width: 900px) { .seasons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .seasons__grid { grid-template-columns: 1fr; } .season { min-height: 0; padding: 22px; } .season__glyph { margin-bottom: 18px; } .season__now { top: 22px; right: 22px; } }

/* ---------- Visitanos ---------- */
.store { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; padding: clamp(80px, 11vw, 160px) var(--pad); border-top: 1px solid var(--line); }
.store__img { position: relative; overflow: hidden; }
.store__img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.store__pin { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 10px; background: var(--bg); border: 1px solid var(--acc); border-radius: 999px; transform: translate(-50%, -50%); }
.ping { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--acc); }
.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--acc); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { to { transform: scale(4); opacity: 0; } }
.store__data { margin: 34px 0; border-top: 1px solid var(--line); }
.store__data div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.store__data dt { color: var(--mute); }
.store__data dd { margin: 0; text-transform: none; letter-spacing: .02em; font-size: 13px; }
.store__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.socials { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 2px; }
.socials a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); transition: color .3s, padding .4s var(--ease); }
.socials a span { color: var(--mute); text-transform: none; }
.socials a:hover { color: var(--acc); padding-left: 10px; }
@media (max-width: 860px) { .store { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { padding: clamp(60px, 8vw, 120px) var(--pad) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.foot__big img { width: 100%; height: auto; filter: invert(1); opacity: .95; }
.foot__big { position: relative; }
.foot__big::after { content: ""; position: absolute; inset: -10% -5%; background: radial-gradient(ellipse at 50% 60%, rgba(var(--fog), .5), transparent 45%); mix-blend-mode: normal; pointer-events: none; animation: footFog 12s ease-in-out infinite alternate; will-change: transform; }
@keyframes footFog { 0% { transform: translateX(-20%); } 100% { transform: translateX(20%); } }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 40px; color: var(--mute); }
.foot__row a:hover { color: var(--fg); }

/* ---------- Modal ---------- */
.modal, .bag { position: fixed; inset: 0; z-index: 220; }
.modal[hidden], .bag[hidden] { display: none; }
.modal__backdrop, .bag__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.modal__panel { position: absolute; left: 50%; top: 50%; width: min(1040px, 94vw); max-height: 92vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); border: 1px solid var(--line); transform: translate(-50%, -50%); animation: pop .6s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } }
.modal__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.modal__body { padding: clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.modal__body h3 { margin: 0; font-weight: 800; font-stretch: 110%; font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.modal__body > p:not(.mono) { color: #cfcec8; margin: 0; }
.modal__price { font-size: 14px; margin: 0; }
.modal__label { margin: 10px 0 0; color: var(--mute); }
.modal__label span { color: var(--fg); text-transform: none; }
.modal__id { margin: 4px 0 0; color: var(--mute); }
.modal__close { position: absolute; right: 14px; top: 14px; z-index: 2; padding: 8px 12px; border-radius: 999px; background: rgba(0,0,0,.5); border: 1px solid var(--line); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.sizes button { min-width: 50px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; transition: all .25s; }
.sizes button:hover { border-color: var(--fg); }
.sizes button[aria-checked="true"] { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.sizes.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (max-width: 760px) {
  .modal__panel { grid-template-columns: 1fr; top: auto; bottom: 0; left: 0; width: 100%; max-height: 92vh; transform: none; animation: up .5s var(--ease); border-radius: 16px 16px 0 0; }
  .modal__media img { aspect-ratio: 1; }
  @keyframes up { from { transform: translateY(40%); opacity: 0; } }
}

/* ---------- Bolsa ---------- */
.bag__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--bg-2); border-left: 1px solid var(--line); animation: slide .55s var(--ease); }
@keyframes slide { from { transform: translateX(100%); } }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.bag__list { list-style: none; margin: 0; padding: 0 24px; overflow: auto; flex: 1; }
.bag__item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.bag__item img { width: 76px; height: 95px; object-fit: cover; }
.bag__item h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.bag__item p { margin: 0; color: var(--mute); }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; }
.qty button:hover { background: var(--fg); color: var(--bg); }
.bag__rm { color: var(--mute); align-self: start; }
.bag__rm:hover { color: var(--fg); }
.bag__empty { flex: 1; display: none; place-content: center; text-align: center; padding: 40px; font-size: 20px; font-weight: 600; }
.bag__empty .mono { color: var(--mute); font-weight: 400; }
.bag.is-empty .bag__empty { display: grid; }
.bag.is-empty .bag__list, .bag.is-empty .bag__foot { display: none; }
.bag__foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.bag__total { display: flex; justify-content: space-between; margin: 0; font-size: 12.5px; }
.bag__note { color: var(--mute); text-align: center; margin: 0; font-size: 10.5px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 260; padding: 12px 18px; background: var(--fg); color: var(--bg); border-radius: 999px; transform: translate(-50%, 200%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* ---------- Menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
}

/* ==========================================================
   v0.3 — menú celular, stock, compra, cómo comprar
   ========================================================== */

/* Menú del celular */
.menu-btn { display: none; width: 40px; height: 34px; border: 1px solid var(--line); border-radius: 999px; position: relative; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--fg); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn i:first-child { top: 13px; } .menu-btn i:last-child { top: 19px; }
.menu-btn[aria-expanded="true"] i:first-child { top: 16px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { top: 16px; transform: rotate(-45deg); }
@media (max-width: 980px) { .menu-btn { display: inline-block; } }
.menu { position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 20px) var(--pad) 40px; background: var(--bg); animation: fade .35s var(--ease); }
.menu[hidden] { display: none; }
.menu__links { display: grid; gap: 4px; }
.menu__links a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 800; font-stretch: 112%; font-size: clamp(30px, 9vw, 52px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.menu__links a span { color: var(--acc); font-size: 11px; font-weight: 400; letter-spacing: .08em; }
.menu__close { margin-top: 30px; align-self: flex-start; color: var(--mute); }
/* el nav queda por encima del menú abierto */
body:has(.menu:not([hidden])) .nav { background: transparent; border-color: transparent; transform: none; backdrop-filter: none; }

/* Stock / precios */
.card__tag--out { background: var(--fg); color: var(--bg); }
.card--out .card__media img { filter: grayscale(.7) brightness(.7); }
.card__price s, .modal__price s { color: var(--mute); margin-right: 6px; }
.sizes button { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; line-height: 1; }
.sizes button small { font-size: 8.5px; letter-spacing: .04em; color: var(--mute); }
.sizes button[aria-checked="true"] small { color: inherit; }
.sizes button[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Bolsa por pasos */
.bag[data-step="list"] .step-form, .bag[data-step="list"] .step-done,
.bag[data-step="form"] .step-list, .bag[data-step="form"] .step-done, .bag[data-step="form"] .bag__empty,
.bag[data-step="done"] .step-list, .bag[data-step="done"] .step-form, .bag[data-step="done"] .bag__empty { display: none !important; }
.ck { flex: 1; overflow: auto; padding: 20px 24px 26px; display: flex; flex-direction: column; gap: 16px; }
.ck__field { display: grid; gap: 8px; }
.ck__field span { color: var(--mute); }
.ck__field input, .ck__field textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 10px; font: 16px/1.4 var(--display); }
.ck__field textarea { resize: vertical; min-height: 72px; }
.ck__field input:focus, .ck__field textarea:focus { outline: none; border-color: var(--acc); }
.ck__entrega { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ck__entrega legend { color: var(--mute); margin-bottom: 8px; }
.ck__entrega label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14.5px; }
.ck__entrega label:has(input:checked) { border-color: var(--acc); background: rgba(255,255,255,.03); }
.ck__entrega input { accent-color: var(--acc); width: 18px; height: 18px; }
.ck__err { color: #e79a8c; margin: 0; min-height: 1em; font-size: 14px; }
.ck__actions { margin-top: auto; display: grid; gap: 12px; }
.ck__back { color: var(--mute); padding: 8px; justify-self: center; }
.ck__back:hover { color: var(--fg); }
.done { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 30px 24px; text-align: center; }
.done__mtn { width: 90px; margin: 0 auto 6px; fill: var(--acc); }
.done h3 { margin: 0; font-weight: 800; font-stretch: 110%; font-size: 28px; letter-spacing: -.02em; text-transform: uppercase; outline: none; }
.done p { color: #cfcec8; margin: 0 0 8px; }

/* Cómo comprar */
.how { padding: clamp(80px, 11vw, 150px) var(--pad); border-top: 1px solid var(--line); }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.how__steps li { padding: 26px; border: 1px solid var(--line); border-radius: 4px; display: grid; align-content: start; gap: 10px; min-height: 220px; }
.how__n { color: var(--acc); }
.how__steps h3 { margin: 24px 0 0; font-weight: 800; font-stretch: 112%; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; text-transform: uppercase; line-height: 1; }
.how__steps p { margin: 0; color: #cfcec8; max-width: 34ch; }
@media (max-width: 760px) { .how__steps { grid-template-columns: 1fr; } .how__steps li { min-height: 0; } }

.marquee--aviso .marquee__track span { color: var(--fg); }
