/* ============================================================
   DJ WIZ HOFFA — MERCH page layout
   css/pages/merch.css?v=3 — loads AFTER tokens.css + site.css.
   Page-scoped classes only. Never restyles the shared shell.
   No :root, no token overrides.

   Honesty law (ASSETS.md): merch is a CONCEPT lookbook.
   Nothing here is a store, price, size or checkout. Every card
   is labelled "Concept", and the page states "not for sale — yet".

   Editorial rhythm (top -> bottom):
     hero      black + haze, typographic cover, ghost "MOB"
     01 line   black, framed concept-card grid (the payload)
     drop      black, dashed status slab (concepts / dropping soon)
     close     black, ivory-lifted conversion band
   ============================================================ */

/* Crimson punctuation accent — decorative only, never body text */
.tint { color: var(--crimson-hot); }

/* ============================================================
   HERO — "Rep the Mob. The Merch."
   ============================================================ */
.merch-hero {
  position: relative;
  overflow: clip;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6.5rem));
  padding-bottom: var(--sect-pad);
  border-bottom: 1px solid var(--line);
}

/* Oversized ghost letterform — depth, never read */
.merch-ghost {
  position: absolute;
  right: -0.04em;
  bottom: -0.14em;
  z-index: var(--z-base);
  font-family: var(--font-display);
  font-size: clamp(6rem, 24vw, 19rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(242, 239, 228, 0.035);
  pointer-events: none;
  user-select: none;
}

.merch-hero-inner {
  position: relative;
  z-index: var(--z-content);
  max-width: 46rem;
}

.merch-hero-inner .eyebrow { margin-bottom: var(--sp-5); }

.merch-h1 {
  font-size: clamp(3.2rem, 11vw, 8.25rem);
  line-height: 0.94;
}

/* Two-beat lockup: the rally line reads first, "The Merch." is the display mass */
.merch-h1 .l1 {
  display: block;
  font-size: 0.5em;
  letter-spacing: 0.04em;
  color: var(--ivory-80);
  margin-bottom: 0.1em;
}

.merch-h1 .l2 { display: block; }

.merch-lead {
  margin-top: var(--sp-5);
  max-width: 42ch;
}

/* Inline "concepts / dropping soon" flag under the hero copy */
.drop-flag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--ivory-80);
  white-space: nowrap;
}

.merch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

/* Fact rail — three quiet anchors under the fold line */
.merch-meta {
  display: grid;
  gap: 0;
  margin-top: var(--sp-7);
  border-top: 1px solid var(--line);
}

.merch-meta li {
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--line);
}

.merch-meta .m-k {
  display: block;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--smoke);
  margin-bottom: var(--sp-1);
}

.merch-meta .m-v {
  display: block;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ivory);
  line-height: 1.25;
}

@media (min-width: 560px) {
  .merch-meta {
    grid-template-columns: repeat(3, 1fr);
  }
  .merch-meta li {
    padding-inline: 0;
    padding-right: var(--sp-5);
    border-bottom: none;
    border-top: 1px solid var(--line);
    margin-top: -1px;
  }
}

/* ============================================================
   01 — THE LINE: concept lookbook grid
   ============================================================ */
/* Cindy: the lookbook is the page's content payload but sat on a flat --bg
   slab running unbroken from the hero through the drop band. A top-edge ivory
   lift (mirrors the shell's .sect--band arrival-lift, kept lighter at 3.5% so
   the ground stays --bg and the flyer-ground cards keep their elevation pop).
   background-IMAGE only — no ground fill — so cards still read darker-frame. */
.line-sect {
  background-image: linear-gradient(to bottom,
    color-mix(in srgb, var(--ivory) 3.5%, transparent) 0, transparent 220px);
}

.merch-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
  /* Cindy: cards size to their own art+caption — no stretch-to-tallest void
     under the short landscape sheets (a clean gallery rack, not a broken column). */
  align-items: start;
}

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

.merch-card {
  display: flex;
  flex-direction: column;
  background: var(--flyer-ground);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: var(--sp-3);
  box-shadow: var(--shadow-2);
  transition:
    transform var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease),
    box-shadow var(--dur-2) var(--ease);
}

.merch-card:hover,
.merch-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--crimson-hot);
  box-shadow: var(--shadow-2), var(--glow-crimson-soft);
}

.merch-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--bg);
}

.merch-frame img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform var(--dur-3) var(--ease);
}

/* Premium zoom-on-hover — frame overflow:hidden clips the crop leak */
.merch-card:hover .merch-frame img,
.merch-card:focus-within .merch-frame img {
  transform: scale(1.03);
}

.merch-cap {
  padding: var(--sp-4) 0 var(--sp-2);
}

.merch-tag {
  color: var(--ivory-80);
  margin-bottom: var(--sp-2);
}

.merch-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  text-transform: uppercase;
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: var(--ivory);
  margin-bottom: var(--sp-2);
}

.merch-note {
  font-size: var(--fs-small);
  color: var(--ivory-60);
  max-width: 42ch;
}

/* ============================================================
   DROP STATUS — clearly labelled "concept, coming soon" slab
   ============================================================ */
/* Cindy: scoped top-lift mirroring .line-sect so the honesty band joins the
   page's depth rhythm (light -> lifted-dark -> light). NOT full .sect--band —
   its bottom border-block would double against .close-sect's border-top.
   Smoke copy stays on the .drop-slab panel gradient, so AA is unaffected. */
.drop-band {
  background-image: linear-gradient(to bottom,
    color-mix(in srgb, var(--ivory) 3.5%, transparent) 0, transparent 200px);
}

.drop-slab {
  position: relative;
  display: grid;
  gap: var(--sp-5);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: clamp(1.75rem, 4.5vw, 3rem);
  background: linear-gradient(180deg, var(--panel), rgba(18, 18, 20, 0));
}

@media (min-width: 768px) {
  .drop-slab {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: var(--sp-7);
  }
}

.drop-status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--smoke);
  white-space: nowrap;
}

.drop-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: var(--glow-crimson);
  animation: drop-pulse 2.6s var(--ease-io) infinite;
}

@keyframes drop-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.drop-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  text-transform: uppercase;
  line-height: 1.08;
  color: var(--ivory);
  margin-bottom: var(--sp-3);
}

.drop-slab p { max-width: 54ch; }

/* ============================================================
   CLOSING CTA — ivory-lifted conversion band
   (mirrors the house close pattern used site-wide)
   ============================================================ */
.close-sect {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 50% 100%,
      color-mix(in srgb, var(--ivory) 6%, transparent), transparent 72%),
    var(--bg);
}

.close-sect .eyebrow--center { margin-bottom: var(--sp-4); }

.close-title {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  max-width: 16ch;
  margin-inline: auto;
}

.close-lead {
  margin: var(--sp-4) auto 0;
  max-width: 46ch;
}

.close-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.close-kicker {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--ivory-60);
  max-width: 40ch;
  margin-inline: auto;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .merch-card { transition: none; }
  .merch-card:hover,
  .merch-card:focus-within { transform: none; }
  .merch-frame img { transition: none; }
  .merch-card:hover .merch-frame img,
  .merch-card:focus-within .merch-frame img { transform: none; }
  .drop-dot { animation: none; }
}

/* ============================================================
   SMALL-SCREEN GUARD (360px design floor)
   ============================================================ */
@media (max-width: 400px) {
  .drop-flag {
    white-space: normal;
    text-align: left;
  }
}
