/* soon.css: "Coming soon. Stay tuned." Teaser capsules behind a CRT veil + a three-shot peek screen. */
.soon { padding-block: clamp(64px, 8vw, 120px); }
.soon-head h2 { font-size: clamp(36px, 5.5vw, 80px); }
.soon-head .lede { font-family: var(--f-pixel); letter-spacing: .2em; text-transform: uppercase; font-size: 15px; color: var(--gold); }

.soon-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
}

/* ── Capsules ─────────────────────────────────────────────────────────── */
.soon-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  -webkit-tap-highlight-color: transparent;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.soon-art img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.5) saturate(.75);
  transform: scale(1.03);
  transition: filter .6s var(--ease-out), transform 1s var(--ease-out);
}
/* the veil: scanlines + a slow rolling bar, like a cabinet warming up */
.soon-veil {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .34) 0 2px, transparent 2px 4px),
    linear-gradient(180deg, transparent 0%, rgba(239, 230, 214, .05) 48%, transparent 52%);
  background-size: auto, 100% 300%;
  animation: soonRoll 6s linear infinite;
  transition: opacity .5s var(--ease-out);
}
@keyframes soonRoll { from { background-position: 0 0, 0 0; } to { background-position: 0 0, 0 -300%; } }

.soon-art.is-open img { filter: none; transform: scale(1); }
.soon-art.is-open .soon-veil { opacity: .35; }
.soon-art.is-open { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 26px 40px -22px rgba(0, 0, 0, .9), 0 0 0 1px var(--gold); }
@media (hover: hover) {
  .soon-art:hover img { filter: brightness(.85) saturate(.95); transform: scale(1); }
}
.soon-art:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.soon-title {
  margin-top: 12px;
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--bone-2);
}
.soon-tag {
  margin-top: 4px;
  font-family: var(--f-pixel);
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold);
  animation: soonBlink 2.4s steps(1) infinite;
}
@keyframes soonBlink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: .4; } }

/* ── The peek screen ──────────────────────────────────────────────────── */
.soon-peek {
  margin-top: clamp(28px, 3.5vw, 48px);
  border: 1px solid var(--line-2);
  background: #0a0806;
  box-shadow: var(--shadow-hard);
}
.soon-peek-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.soon-peek-dot { width: 9px; height: 9px; background: var(--seal); box-shadow: 0 0 10px var(--seal); animation: soonBlink 1.2s steps(1) infinite; }
.soon-peek.is-idle .soon-peek-dot { background: var(--fog-2); box-shadow: none; animation: none; }
.soon-peek-title { color: var(--bone); min-height: 1em; }
.soon-peek-tag { margin-left: auto; color: var(--gold); }

.soon-peek-screen { position: relative; padding: clamp(10px, 1.4vw, 18px); min-height: 120px; }
.soon-peek-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
}
.soon-shot { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.soon-shot img { width: 100%; height: 100%; object-fit: cover; }
.soon-shot::after { /* a whisper of scanlines so it reads as a cabinet screen */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px);
}
.soon-peek-shots.is-in .soon-shot { animation: soonTune .6s var(--ease-out) both; animation-delay: calc(var(--k) * 90ms); }
@keyframes soonTune {
  0% { opacity: 0; transform: scaleY(.02); filter: brightness(3); }
  45% { opacity: 1; transform: scaleY(1.02); filter: brightness(1.6); }
  100% { opacity: 1; transform: none; filter: none; }
}

/* idle: static + "no signal" in the space the shots will take */
.soon-peek-idle {
  display: none;
  place-items: center;
  align-content: center;
  gap: 8px;
  aspect-ratio: 16 / 3;
  min-height: 140px;
  font-family: var(--f-pixel);
  text-transform: uppercase;
  color: var(--bone-2);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, #1a1612 0%, #0a0806 75%);
}
.soon-peek-idle span { font-size: 18px; letter-spacing: .4em; animation: soonBlink 1.6s steps(1) infinite; }
.soon-peek-idle small { font-size: 11px; letter-spacing: .22em; color: var(--fog); }
.soon-peek.is-idle .soon-peek-idle { display: grid; }
.soon-peek.is-idle .soon-peek-shots { display: none; }

@media (max-width: 1000px) {
  .soon-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .soon-title { font-size: 10.5px; letter-spacing: .08em; }
  .soon-tag { font-size: 9px; letter-spacing: .14em; }
}
/* phones: capsules swipe, the peek screen's three shots swipe too */
@media (max-width: 700px) {
  .soon-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 40%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    scrollbar-width: none;
  }
  .soon-grid::-webkit-scrollbar { display: none; }
  .soon-card { scroll-snap-align: start; }
  .soon-title { font-size: 11px; }
  .soon-peek-shots {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .soon-peek-shots::-webkit-scrollbar { display: none; }
  .soon-shot { scroll-snap-align: center; }
  .soon-peek-idle { aspect-ratio: auto; min-height: 150px; }
  .soon-peek-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .soon-veil, .soon-tag, .soon-peek-dot, .soon-peek-idle span { animation: none; }
}

/* show the whole frame (4:3 PS1-era shots get pillarboxed, like an old TV) */
.soon-shot { background: #000; }
.soon-shot img { object-fit: contain; }
