/* ============================================================
   THE CARTOGRAPHER'S GUILD — Featured 3D Coverflow
   A circular depth carousel for the showcase band.
   ============================================================ */

.showcase {
  position: relative;
  padding: 70px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-2);
}

/* ---- Lander: brand masthead sitting above the coverflow ----- */
.lander {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--line-2);
}
.lander__head {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  text-align: center;
}
.lander__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: .94; letter-spacing: -.015em;
  margin: 14px 0 0; color: var(--text);
}
.lander__title em { font-style: italic; color: var(--accent); }
.lander__lede {
  font-size: 18px; line-height: 1.5; color: var(--dim);
  max-width: 56ch; margin: 16px auto 0; text-wrap: pretty;
}
.lander__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 22px 0 0; }
.lander__cta .btn { padding: 14px 22px; font-size: 12px; }
.lander .coverflow { margin-top: 6px; }
@media (max-width: 720px){
  .lander { padding: 38px 0 48px; }
  .lander__lede { font-size: 17px; }
}
.showcase__map {
  position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image:
    linear-gradient(color-mix(in oklab, var(--accent) 18%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--accent) 18%, transparent) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 0%, transparent 58%);
          mask-image: radial-gradient(120% 100% at 50% 0%, #000 0%, transparent 58%);
}
.showcase__head {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  text-align: center;
}
.showcase__rule {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent);
}
.showcase__rule::before, .showcase__rule::after { content: ""; width: 34px; height: 1px; background: var(--accent); opacity: .6; }
.showcase__title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 54px);
  line-height: 1; letter-spacing: -.01em; margin: 0; color: var(--text);
}
.showcase__sub { margin: 14px auto 0; max-width: 52ch; color: var(--dim); font-size: 18px; }

/* ---- Stage ------------------------------------------------- */
.coverflow {
  position: relative;
  height: 430px;
  margin-top: 30px;
  perspective: 1700px;
  perspective-origin: 50% 42%;
}
.coverflow__stage {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
}

/* ground shadow that lives under whichever cover is centered */
.cf__floor {
  position: absolute; left: 50%; top: 50%;
  width: 240px; height: 46px;
  transform: translate(-50%, 188px);
  background: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 70%);
  filter: blur(7px);
  z-index: 1; pointer-events: none;
  transition: opacity .5s ease;
}

.cf__item {
  position: absolute; left: 50%; top: 50%;
  width: 234px; height: 348px;
  margin: -174px 0 0 -117px;            /* center anchor */
  transform-style: preserve-3d;
  transition: transform .68s cubic-bezier(.22,.61,.36,1), opacity .55s ease;
  will-change: transform, opacity;
  cursor: pointer;
}
.cf__card {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
}

/* the cover plate (image-slot or <img>) */
.cf__cover {
  width: 100%; height: 100%;
  display: block; border-radius: 3px;
  color: oklch(0.30 0.02 60);
  background: linear-gradient(135deg, oklch(0.93 0.02 86), oklch(0.87 0.03 80));
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.7);
  transition: box-shadow .5s ease;
}
.cf__cover::part(frame) {
  background: linear-gradient(135deg, oklch(0.93 0.02 86), oklch(0.87 0.03 80));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), inset 0 2px 16px rgba(0,0,0,.08);
}
img.cf__cover { object-fit: cover; }

/* spine sliver for tactile book weight */
.cf__card::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 7px;
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0));
  border-radius: 3px 0 0 3px; z-index: 4; pointer-events: none;
}

.cf__item[data-active="true"] { cursor: zoom-in; }
.cf__item[data-active="true"] .cf__cover {
  box-shadow:
    0 40px 70px -24px rgba(0,0,0,.78),
    0 10px 26px -8px rgba(0,0,0,.5),
    0 0 0 1px color-mix(in oklab, var(--accent) 30%, transparent);
}
.cf__item[data-hidden="true"] { pointer-events: none; }

/* shortlist stamp, reused from the grid vocabulary */
.cf__shortlist {
  position: absolute; right: 12px; top: 12px; z-index: 6;
  width: 32px; height: 32px; display: grid; place-items: center;
  opacity: 0; transition: opacity .3s ease;
}
.cf__item[data-active="true"] .cf__shortlist { opacity: 1; }
.cf__shortlist input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.cf__shortlist__stamp {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: color-mix(in oklab, var(--ink-bg) 62%, transparent);
  backdrop-filter: blur(4px);
  display: grid; place-items: center; color: var(--ink-text);
  font-family: var(--mono); font-size: 15px; transition: all .16s ease;
}
.cf__shortlist__stamp::before { content: "+"; }
.cf__shortlist input:hover + .cf__shortlist__stamp { border-color: var(--accent); color: var(--accent); }
.cf__shortlist input:checked + .cf__shortlist__stamp {
  background: var(--accent); border-color: var(--accent); color: var(--ink-bg); transform: rotate(8deg);
}
.cf__shortlist input:checked + .cf__shortlist__stamp::before { content: "\2713"; }

/* format badge on featured cover */
.cf__badge {
  position: absolute; left: 14px; top: 12px; z-index: 5;
  font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 7px; border-radius: 2px;
  background: var(--ink-bg); color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 55%, transparent);
  opacity: 0; transition: opacity .3s ease;
}
.cf__item[data-active="true"] .cf__badge { opacity: 1; }

/* ---- Nav arrows (outside the scaled stage) ----------------- */
.cf__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 30;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); background: color-mix(in oklab, var(--ink-bg) 55%, transparent);
  backdrop-filter: blur(6px); color: var(--text);
  font-family: var(--serif); font-size: 26px; line-height: 1;
  display: grid; place-items: center; transition: all .18s ease;
}
.cf__nav:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-50%) scale(1.06); }
.cf__nav:active { transform: translateY(-50%) scale(.96); }
.cf__nav--prev { left: max(20px, calc(50% - 560px)); }
.cf__nav--next { right: max(20px, calc(50% - 560px)); }

/* ---- Meta readout below stage ------------------------------ */
.cf__readout {
  position: relative; z-index: 2;
  max-width: 640px; margin: 14px auto 0; padding: 0 32px;
  text-align: center;
  transition: opacity .25s ease;
}
.cf__readout__series { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.cf__readout__title { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.05; margin: 8px 0 4px; color: var(--text); text-wrap: balance; }
.cf__readout__desc { color: var(--dim); font-size: 17px; line-height: 1.5; margin: 0 0 18px; }
.cf__readout__buy { display: inline-flex; align-items: center; gap: 18px; }
.cf__readout__buy .card__price { font-size: 26px; }

.cf__dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.cf__dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; border: 0;
  background: var(--line); transition: all .2s ease; cursor: pointer;
}
.cf__dot:hover { background: var(--dim); }
.cf__dot[aria-current="true"] { background: var(--accent); width: 22px; border-radius: 4px; }

@media (max-width: 720px){
  .coverflow { height: 360px; }
  .cf__item { width: 188px; height: 282px; margin: -141px 0 0 -94px; }
  .cf__nav { width: 44px; height: 44px; font-size: 20px; }
  .cf__nav--prev { left: 14px; } .cf__nav--next { right: 14px; }
}
