/* ===========================================================
   Hyperjump Coffee — "retraso de señal"
   Tokens muestreados de material real de marca (stories/perfil
   de @hyperjumpcoffee), no inventados.
   =========================================================== */

:root {
  /* --- Acto 2: universo de marca --- */
  --void:        #0b0e14;   /* fondo espacio profundo */
  --void-raised: #131826;
  --paper:       #f3efe6;   /* blanco hueso, no puro */
  --ink:         #14151c;
  --static:      #8891a8;   /* gris/lila apagado, texto secundario */
  --signal:      #fb611b;   /* naranja real de la etiqueta Yamazaki */

  /* --- acentos por variedad (muestreados de sus tarjetas de story) --- */
  --antares-a:   #a1c1b2;
  --antares-b:   #6d937a;
  --kepler:      #b7a071;
  --europa-a:    #d7d3c6;
  --europa-b:    #a6a7a9;
  --casiopea-a:  #3b416f;
  --casiopea-b:  #4c558a;
  --starlight:   #d58391;
  --yamazaki:    #fb611b;

  /* --- tipografía --- */
  --f-display: 'Big Shoulders Display', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, monospace;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--void);
  font-family: var(--f-body);
}

img { max-width: 100%; display: block; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

button { font: inherit; }

/* ===========================================================
   Portada — foto de marca real, botón de entrada
   =========================================================== */

.act-splash {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  background: var(--void);
}

.splash-cover {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
}

.splash-overlay {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px calc(56px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent 60%, rgba(11,14,20,.85) 100%);
}

.btn-warp {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--signal);
  border: none;
  border-radius: 999px;
  padding: 15px 34px;
  cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(251,97,27,.6);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-warp:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -6px rgba(251,97,27,.7); }
.btn-warp:active { transform: translateY(0) scale(.98); }

/* ===========================================================
   Transición — warp
   =========================================================== */

.warp {
  position: fixed;
  inset: 0;
  background: var(--void);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}

.warp.is-active {
  opacity: 1;
  pointer-events: auto;
}

.warp-lines {
  position: absolute;
  inset: 0;
  background:
    repeating-conic-gradient(from 0deg,
      rgba(243,239,230,.9) 0deg 0.6deg,
      transparent 0.6deg 6deg);
  transform: scale(0.2);
  opacity: 0;
}

.warp.is-active .warp-lines {
  animation: warp-burst .7s cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes warp-burst {
  0%   { transform: scale(0.15); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ===========================================================
   ACTO 2 — la tienda real
   =========================================================== */

.act-store {
  background: var(--void);
  color: var(--paper);
  min-height: 100vh;
  padding-bottom: 64px;
}

.store-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  position: sticky;
  top: 0;
  background: rgba(11,14,20,.85);
  backdrop-filter: blur(8px);
  z-index: 5;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-badge { width: 34px; height: 34px; border-radius: 50%; }
.brand-word {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .03em;
}

.brand-ig {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--static);
  text-decoration: none;
}
.brand-ig:hover { color: var(--paper); }

.hero {
  text-align: center;
  padding: 56px 20px 40px;
  max-width: 640px;
  margin-inline: auto;
}

.hero-badge {
  width: 108px; height: 108px;
  border-radius: 50%;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 50px -20px rgba(251,97,27,.35);
}

.hero-word {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 11vw, 4.6rem);
  line-height: .92;
  letter-spacing: .01em;
  margin: 0 0 20px;
}

.hero-tag {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--static);
  max-width: 42ch;
  margin-inline: auto;
}

.shelf {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 460px;
  margin: 0 auto 48px;
  padding: 0 20px;
  text-align: center;
}

.shelf-img {
  width: 100%;
  max-width: 320px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
}

.shelf-caption {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--static);
  max-width: 40ch;
}

.catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 8px 20px 0;
  max-width: 1160px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .catalog { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .catalog { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--void-raised);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.06);
}

.card-panel {
  padding: 26px 20px 22px;
  color: #fff;
}

.card-name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: .02em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.card-quote {
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0;
  opacity: .92;
  max-width: 30ch;
}

.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-field { font-size: 13.5px; line-height: 1.4; }
.card-field-label {
  font-weight: 600;
  color: var(--paper);
  margin-right: 4px;
}
.card-field-value {
  font-style: italic;
  color: var(--static);
}

.roast {
  display: flex;
  align-items: center;
  gap: 8px;
}

.roast-dots { display: inline-flex; gap: 3px; }
.roast-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}
.roast-dot.is-full { background: var(--paper); }
.roast-dot.is-half {
  background: linear-gradient(90deg, var(--paper) 50%, rgba(255,255,255,.15) 50%);
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.card-price {
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 600;
}
.card-price small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--static);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.card-add {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13.5px;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.card-add:hover { border-color: var(--signal); background: rgba(251,97,27,.1); }
.card-add:active { transform: scale(.97); }

.store-footer {
  text-align: center;
  padding: 40px 20px 0;
  font-size: 12.5px;
  color: var(--static);
}
.store-footer a { text-decoration: underline; text-underline-offset: 2px; }

/* ===========================================================
   Accesibilidad de movimiento
   =========================================================== */

@media (prefers-reduced-motion: reduce) {
  .warp-lines {
    transition: none !important;
    animation: none !important;
  }
}
