/* Plak — home. One orchestrated moment (the pressing, driven by scroll); everything after it
   moves only when someone touches it. */

section {
  position: relative;
}

/* ============================================================== hero: the pressing */

.hero {
  --S: min(41vw, 62svh, 600px);
}
.hero.is-live {
  height: 470vh;
}
.stage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}
.hero.is-live .stage {
  position: sticky;
  top: 0;
  height: 100svh;
}
.cover-page {
  position: relative;
  height: 100svh;
  min-height: 560px;
}
.hero.is-live .cover-page {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
}
.hero:not(.is-live) .stage {
  min-height: 0;
}

.masthead {
  position: absolute;
  left: calc(var(--gutter) - 0.04em);
  top: calc(var(--nav-h) - 0.06em);
  margin: 0;
  display: flex;
  font-weight: 800;
  font-size: clamp(6.5rem, min(28vw, 40svh), 32rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  font-variation-settings: 'opsz' 96;
  user-select: none;
}
.masthead > span {
  display: inline-block;
  will-change: transform;
}
.masthead i {
  display: inline-block;
  font-style: normal;
  animation: rise 1.1s var(--glide) both;
}
.masthead > span:nth-child(1) i { animation-delay: 0.5s; }
.masthead > span:nth-child(2) i { animation-delay: 0.58s; }
.masthead > span:nth-child(3) i { animation-delay: 0.66s; }
.masthead > span:nth-child(4) i { animation-delay: 0.74s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.35em);
  }
}

.issue {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--nav-h) + 10px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--graphite);
  letter-spacing: 0.01em;
  animation: fade 1s 1.3s both;
}

.deck {
  position: absolute;
  width: var(--S);
  aspect-ratio: 1;
  left: calc(63% - var(--S) / 2);
  top: calc(53% - var(--S) / 2);
  animation: drop 1.3s 0.15s var(--glide) both;
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-40px) rotate(4deg) scale(0.96);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}

.paint {
  position: absolute;
  width: 175%;
  left: -40%;
  top: -38%;
  pointer-events: none;
  overflow: visible;
}
.paint circle,
.paint path {
  transform-box: fill-box;
  transform-origin: center;
  animation: splash 1.4s var(--glide) both;
}
.paint .paint-corn {
  animation-delay: 0.25s;
}
.paint .paint-dot {
  animation-delay: 0.4s;
}
@keyframes splash {
  from {
    transform: scale(0.2);
    opacity: 0;
  }
}

.platter {
  position: absolute;
  inset: 2%;
  will-change: transform;
}
.h-disc {
  position: absolute !important;
  inset: 0;
}
.h-disc .disc-spin {
  will-change: transform;
}
.label-art {
  position: absolute;
  left: 30%;
  top: 30%;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
}
.label-art svg {
  width: 100%;
  height: 100%;
}
.label-art::after {
  content: '';
  position: absolute;
  left: 44.75%;
  top: 44.75%;
  width: 10.5%;
  height: 10.5%;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.35);
}
.h-arm {
  position: absolute;
  width: 50%;
  left: 73%;
  top: 19%;
  transform-origin: 87% 13%;
  transform: rotate(-34deg);
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 6px 8px rgba(27, 26, 23, 0.25));
}
.h-stamp {
  pointer-events: none;
  position: absolute;
  width: 34%;
  left: -12%;
  bottom: -10%;
  opacity: 0;
}
.h-sleeve {
  position: absolute !important;
  inset: 0;
  transform: rotate(-4deg);
  will-change: transform, opacity;
}

.intro {
  position: absolute;
  left: var(--gutter);
  bottom: max(8svh, 48px);
  width: min(30rem, 37vw);
  display: grid;
  gap: 18px;
  justify-items: start;
  animation: lift 1s 1s var(--glide) both;
}
@keyframes lift {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
.hero-title {
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.intro .lede {
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: var(--gutter);
  bottom: calc(max(8svh, 48px) + 30px);
  width: min(29rem, 36vw);
  height: 17rem;
}
.step {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 14px;
  opacity: 0;
}
.step-n {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 1rem;
}
.step h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.step p {
  color: var(--graphite);
  font-size: 1.08rem;
  max-width: 34ch;
}

.groove {
  position: absolute;
  left: var(--gutter);
  bottom: max(8svh, 48px);
  width: min(14rem, 30vw);
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
  opacity: 0;
}
.groove span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--coral);
  transform-origin: left;
  transform: scaleX(0);
}

.cue {
  position: absolute;
  right: calc(var(--gutter) * 1.4);
  bottom: 4.5svh;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--graphite);
  animation: fade 1s 1.8s both;
}
.cue-disc {
  width: 12px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 8px;
  position: relative;
}
.cue-disc::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 4px;
  width: 2px;
  height: 5px;
  margin-left: -1px;
  border-radius: 2px;
  background: currentColor;
  animation: wheel 1.6s var(--glide) infinite;
}
@keyframes wheel {
  60%,
  100% {
    transform: translateY(7px);
    opacity: 0;
  }
}

/* Without scroll-driven motion (reduced motion or no JS): one still composition. */
.hero:not(.is-live) .platter {
  transform: translateX(34%);
}
.hero:not(.is-live) .h-arm {
  opacity: 1;
  transform: none;
}
.hero:not(.is-live) .h-sleeve {
  transform: translateX(-22%) rotate(-5deg);
}
.hero:not(.is-live) .groove,
.hero:not(.is-live) .cue {
  display: none;
}
.hero:not(.is-live) .steps {
  position: relative;
  left: auto;
  bottom: auto;
  width: auto;
  height: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0 var(--gutter) 64px;
  max-width: var(--max);
  margin-inline: auto;
}
.hero:not(.is-live) .step {
  position: static;
  opacity: 1;
}
.hero:not(.is-live) .step h2 {
  font-size: 2rem;
}

@media (max-width: 760px) {
  .hero {
    --S: min(76vw, 44svh);
  }
  .masthead {
    font-size: 34vw;
  }
  .issue {
    display: none;
  }
  .deck {
    left: calc(50% - var(--S) / 2);
    top: calc(var(--nav-h) + 36vw);
  }
  .deck .paint {
    width: 150%;
    left: -25%;
    top: -18%;
  }
  .intro,
  .steps,
  .groove {
    width: auto;
    right: var(--gutter);
  }
  .intro {
    bottom: 4svh;
    gap: 14px;
  }
  .hero-title {
    font-size: 2.05rem;
  }
  .steps {
    bottom: calc(4svh + 22px);
    height: 13rem;
  }
  .step h2 {
    font-size: 2.1rem;
  }
  .step p {
    font-size: 1rem;
  }
  .groove {
    bottom: 4svh;
    width: 9rem;
  }
  .cue {
    display: none;
  }
  .hero:not(.is-live) .stage {
    min-height: 100svh;
  }
  .hero:not(.is-live) .steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) and (max-height: 720px) {
  .intro .lede {
    display: none;
  }
  .hero {
    --S: min(70vw, 38svh);
  }
}

/* ============================================================== A2: finding */

.find {
  padding-block: clamp(96px, 12vw, 180px) clamp(40px, 6vw, 80px);
}
.find-head,
.shelf-head,
.press-head,
.pages-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.find-head .lede,
.shelf-head .lede,
.press-head .lede,
.pages-head .lede {
  padding-bottom: 0.35em;
}
@media (max-width: 860px) {
  .find-head,
  .shelf-head,
  .press-head,
  .pages-head {
    grid-template-columns: 1fr;
  }
}

.find-stage {
  margin-top: clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .find-stage {
    grid-template-columns: 1fr;
  }
}

.venue {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  align-items: center;
}
.venue-stamp {
  width: clamp(90px, 10vw, 128px);
}
.venue-copy h3 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}
.venue-copy p {
  color: var(--graphite);
  margin-top: 6px;
}
.venue-copy .venue-hint {
  color: var(--ink);
  font-weight: 600;
  margin-top: 10px;
}

.fan {
  grid-column: 1 / -1;
  position: relative;
  height: clamp(250px, 30vw, 360px);
  margin-top: 28px;
}
.fan-sleeve {
  --w: clamp(150px, 17vw, 220px);
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: var(--w);
  margin-left: calc(var(--w) / -2);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform-origin: 50% 160%;
  transform: rotate(var(--r)) translateY(0);
  transition: transform 0.5s var(--glide);
  border-radius: 4px;
}
.fan-sleeve .sleeve {
  pointer-events: none;
  transition: box-shadow 0.4s var(--glide);
}
.fan-sleeve:hover,
.fan-sleeve:focus-visible {
  transform: rotate(var(--r)) translateY(-18px);
  z-index: 6;
}
.fan-sleeve[aria-pressed='true'] {
  transform: rotate(var(--r)) translateY(-38px);
  z-index: 7;
}
.fan-sleeve[aria-pressed='true'] .sleeve {
  box-shadow: 0 0 0 3px var(--ink), 0 26px 36px -16px rgba(60, 40, 18, 0.6);
}
.fan-month {
  position: absolute;
  left: 18%;
  bottom: 6%;
  font-size: clamp(0.62rem, 0.8vw, 0.75rem);
  font-weight: 700;
  color: #5e4428;
  opacity: 0.8;
}

/* the reveal: a sleeve lands, you pull the record out, it spins and flips (app: reveal/[dropId]) */
.reveal {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: center;
  min-height: clamp(400px, 40vw, 540px);
}
.rv-sleeve-wrap,
.rv-open {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  transition: opacity 0.5s var(--glide), transform 0.7s var(--glide);
}
.rv-sleeve {
  width: clamp(220px, 25vw, 330px);
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.rv-sleeve:active {
  cursor: grabbing;
}
.rv-sleeve .sleeve {
  transition: transform 0.5s var(--glide);
}
.rv-sleeve.is-landing .sleeve {
  animation: sleeve-land 0.95s var(--glide) both;
}
@keyframes sleeve-land {
  from {
    opacity: 0;
    transform: translateY(-46px) rotate(5deg) scale(0.96);
  }
}
.rv-caption {
  color: var(--graphite);
  font-weight: 600;
  max-width: 30ch;
}
.rv-pull {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 700 1rem/1 var(--sans);
  cursor: pointer;
  transition: transform 0.3s var(--glide);
}
.rv-pull:hover {
  transform: translateY(-2px);
}
.rv-pull svg {
  width: 16px;
  height: 16px;
  animation: nudge 1.6s var(--glide) infinite;
}
@keyframes nudge {
  40% {
    transform: translateY(-4px);
  }
}
.rv-open {
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
}
.reveal[data-state='open'] .rv-sleeve-wrap {
  opacity: 0;
  pointer-events: none;
  transform: translateY(70px) rotate(-4deg);
}
.reveal[data-state='open'] .rv-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.rv-flip {
  width: min(66%, 360px);
  translate: -16% 0;
}
.rv-who {
  font-weight: 600;
}
.rv-who button {
  font: inherit;
  color: var(--coral-ink);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rv-hint,
.ov-hint {
  color: var(--graphite);
  font-size: 0.92rem;
}

/* ------------------------------------------------------------- flip record (app: record/FlipRecord) */
.flip {
  position: relative;
  aspect-ratio: 1;
}
.flip-shadow {
  position: absolute;
  left: 0;
  right: 0;
  top: 93%;
  height: 14%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.42), transparent 72%);
  pointer-events: none;
}
.flip-disc {
  position: absolute !important;
  left: 4%;
  top: 4%;
  width: 92%;
  opacity: 0;
  cursor: grab;
  touch-action: pan-y;
}
.flip-disc:active {
  cursor: grabbing;
}
.flip-card {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  border-radius: 6px;
  outline-offset: 6px;
}
.flip-card:active {
  cursor: grabbing;
}
.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
.flip-face .cover {
  width: 100%;
  box-shadow: 0 1px 1px rgba(27, 26, 23, 0.16), 0 26px 40px -24px rgba(27, 26, 23, 0.55);
}
.flip-face .cover-tag {
  width: 30%;
}

.back {
  --tint: #f06860;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  padding: 7%;
  display: flex;
  flex-direction: column;
  background: color-mix(in srgb, var(--tint) 24%, var(--paper));
  box-shadow: 0 1px 1px rgba(27, 26, 23, 0.14), 0 26px 40px -24px rgba(27, 26, 23, 0.55);
  container-type: inline-size;
  text-align: left;
}
.back::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.14), rgba(255, 255, 255, 0.14) 3.5%, transparent 7%, transparent 96%, rgba(0, 0, 0, 0.1));
  pointer-events: none;
}
.back-meta {
  font-family: var(--mono);
  font-size: 3.4cqw;
  opacity: 0.72;
}
.back-title {
  font-size: 8.6cqw;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-top: 2cqw;
}
.back-artist {
  font-size: 4.3cqw;
  opacity: 0.8;
  margin-top: 1cqw;
}
.back-note {
  margin-top: 5cqw;
  padding: 4.4cqw;
  border-radius: 1.4cqw;
  background: rgba(255, 255, 255, 0.88);
  font-family: var(--hand);
  font-weight: 700;
  font-size: 6.4cqw;
  line-height: 1.02;
  color: var(--ink);
  transform: rotate(-1.2deg);
}
.back-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.back-stamp {
  width: 24cqw;
}
.back-sign {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 6cqw;
  padding: 1.4cqw 3.4cqw;
  border-radius: 10cqw;
  background: rgba(255, 255, 255, 0.88);
}

/* ------------------------------------------------------------- record page (a shelf record, opened) */
.ov {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}
.ov[hidden] {
  display: none;
}
.ov-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  opacity: 0;
  transition: opacity 0.55s var(--glide);
}
.ov.is-open .ov-backdrop {
  opacity: 1;
}
.ov-body {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 30px;
  padding: var(--gutter);
}
.ov-flip {
  width: min(58vw, 54svh, 440px);
  translate: -16% 0;
  transform-origin: 0 0;
}
.ov-meta {
  text-align: center;
  display: grid;
  gap: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--glide), transform 0.6s var(--glide);
}
.ov.is-open.is-settled .ov-meta {
  opacity: 1;
  transform: none;
}
.ov-meta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
}
.ov-meta p:first-of-type {
  color: var(--graphite);
}
.ov-close {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 18px);
  right: var(--gutter);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.4s var(--glide), transform 0.3s var(--glide);
}
.ov-close:hover {
  transform: rotate(90deg);
}
.ov.is-open .ov-close {
  opacity: 1;
}
.ov-close svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 760px) {
  .ov-flip {
    width: min(66vw, 46svh);
  }
}

/* discs you can grab and spin */
.spinnable {
  cursor: grab;
  touch-action: pan-y;
}
.spinnable:active {
  cursor: grabbing;
}


/* ============================================================== A3: the shelf */

.shelf-sec {
  padding-block: clamp(80px, 10vw, 150px) 0;
}
.shelf {
  --wall: #e9e3d6;
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  padding: 90px 0 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.55), transparent 60%),
    var(--wall);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.shelf::-webkit-scrollbar {
  display: none;
}
.shelf-row {
  display: flex;
  align-items: flex-end;
  gap: clamp(10px, 1.4vw, 18px);
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  width: max-content;
  min-width: 100%;
  justify-content: center;
}
.item {
  position: relative;
  flex: none;
}
.item--record {
  --w: clamp(140px, 10.8vw, 190px);
  width: var(--w);
  cursor: pointer;
  outline-offset: 6px;
}
.item--record .cover {
  position: relative;
  z-index: 2;
  box-shadow: 0 1px 1px rgba(27, 26, 23, 0.2), 6px -2px 18px -8px rgba(27, 26, 23, 0.45);
  transition: transform 0.5s var(--glide);
  transform-origin: 50% 100%;
}
.item-disc {
  position: absolute !important;
  z-index: 1;
  left: 4%;
  top: 4%;
  width: 92%;
  transition: transform 0.7s var(--glide);
}
.item--record:hover .item-disc,
.item--record:focus-within .item-disc {
  transform: translateY(-52%);
}
.item--record:hover .item-disc .disc-spin,
.item--record:focus-within .item-disc .disc-spin {
  animation: turn 1.8s linear infinite;
}
.item--record:hover .cover,
.item--record:focus-within .cover {
  transform: rotate(-1.5deg);
}
.item--lean {
  transform: rotate(-7deg);
  transform-origin: 0 100%;
  margin-right: 14px;
}
.item--object {
  width: clamp(70px, 7vw, 96px);
}
.item--small {
  width: clamp(80px, 8vw, 110px);
}
.item--trophy {
  width: clamp(70px, 7vw, 92px);
  filter: drop-shadow(0 8px 8px rgba(27, 26, 23, 0.25));
}
.plank {
  height: 30px;
  width: 100%;
  min-width: max-content;
  background:
    linear-gradient(180deg, #e9cfa3 0, #e9cfa3 22%, #d2b07e 23%, #c9a472 70%, #a98556 100%),
    #d8bb8e;
  box-shadow: 0 18px 24px -14px rgba(60, 40, 18, 0.55);
  position: relative;
}
.plank::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(120, 84, 44, 0.07) 0 2px, transparent 2px 38px, rgba(255, 245, 225, 0.12) 38px 40px, transparent 40px 97px);
}

/* ============================================================== B1: pressings */

.press {
  margin-top: clamp(96px, 12vw, 170px);
  background: var(--vinyl);
  color: var(--paper);
  padding-block: clamp(80px, 10vw, 150px);
  overflow: hidden;
}
.press .lede {
  color: rgba(246, 245, 241, 0.72);
}
.pressings {
  list-style: none;
  margin: clamp(48px, 7vw, 96px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 32px);
}
.pressings li {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  font-weight: 600;
}
.pressings li:nth-child(even) {
  translate: 0 36%;
}
.press-disc {
  width: 100%;
  cursor: pointer;
}
.press-disc::before {
  box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.65);
}
.press-disc .disc-spin {
  animation: turn 12s linear infinite;
}
.pressings p {
  color: rgba(246, 245, 241, 0.8);
}
@media (max-width: 900px) {
  .pressings {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
  .pressings li:nth-child(even) {
    translate: none;
  }
}

.club {
  margin-top: clamp(96px, 12vw, 160px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  max-width: 44rem;
  padding: 28px 32px 28px 28px;
  border-radius: 28px;
  background: rgba(246, 245, 241, 0.06);
  box-shadow: inset 0 0 0 1px rgba(246, 245, 241, 0.12);
}
.club-seal {
  width: 96px;
}
@media (max-width: 560px) {
  .club {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .club-seal {
    width: 72px;
  }
}
.club-seal .disc-spin {
  animation: turn 6s linear infinite;
}
.club h3 {
  font-size: 2rem;
  color: var(--sun);
  letter-spacing: -0.04em;
}
.club p {
  margin-top: 8px;
  color: rgba(246, 245, 241, 0.76);
}

/* ============================================================== B2: pages */

.pages-sec {
  padding-block: clamp(96px, 12vw, 170px) 0;
}
.pages {
  margin-top: clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 36px);
  align-items: start;
}
.page {
  position: relative;
  aspect-ratio: 9 / 15;
  border-radius: 30px;
  padding: 26px 22px;
  overflow: hidden;
  box-shadow: 0 1px 1px rgba(27, 26, 23, 0.14), 0 34px 50px -30px rgba(27, 26, 23, 0.6);
  transition: transform 0.6s var(--glide);
  container-type: inline-size;
}
.page:nth-child(1) {
  transform: rotate(-3deg);
}
.page:nth-child(2) {
  transform: rotate(1.5deg) translateY(56px);
}
.page:nth-child(3) {
  transform: rotate(-1deg) translateY(18px);
}
.page:hover {
  transform: rotate(0) translateY(-6px);
}
.page-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}
.page-avatar {
  width: 22cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}
.page-avatar svg {
  width: 100%;
  height: 100%;
}
.page-name {
  font-size: 15cqw;
  line-height: 0.85;
}
.page-bio {
  margin-top: 6px;
  font-size: 4.4cqw;
  line-height: 1.3;
}
.page-sec {
  margin-top: 8cqw;
  margin-bottom: 3cqw;
  font-size: 4.4cqw;
  font-weight: 700;
}
.page-music {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 3cqw;
  border-radius: 4cqw;
  font-size: 4.4cqw;
  line-height: 1.2;
}
.page-music b {
  display: block;
}
.page-music-disc {
  width: 18cqw;
  flex: none;
}
.page-music-disc .disc-spin {
  animation: turn 1.8s linear infinite;
}
.page-records {
  display: flex;
  gap: 3cqw;
}
.page-records > div {
  width: 24cqw;
}
.page-note {
  font-size: 5cqw;
  line-height: 1.3;
  padding: 4cqw;
  border-radius: 3cqw;
}
.page-tape {
  display: inline-block;
  padding: 2.4cqw 5cqw;
  font-family: var(--mono);
  font-size: 4.6cqw;
  transform: rotate(-2deg);
}
.page-sticker {
  position: absolute;
  width: 26cqw;
}

/* ece: risograph zine */
.page--ece {
  background: radial-gradient(circle, #ffb0d8 1.3px, transparent 1.6px) 0 0 / 9px 9px, #ffe3f1;
  color: #1b3fa0;
}
.page--ece .page-name {
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #1b3fa0;
}
.page--ece .page-music {
  background: #1b3fa0;
  color: #ffe3f1;
}
.page--ece .page-sec {
  font-family: var(--mono);
  font-weight: 400;
  color: #ff48b0;
}
.page--ece .s1 {
  right: 6%;
  top: 30%;
  width: 18cqw;
  transform: rotate(12deg);
}
.page--ece .s2 {
  right: 8%;
  bottom: 5%;
  transform: rotate(-10deg);
}

/* mert: night ferry */
.page--mert {
  background:
    radial-gradient(1.4px 1.4px at 20% 12%, #f4f0d0 99%, transparent),
    radial-gradient(1.4px 1.4px at 70% 8%, #f4f0d0 99%, transparent),
    radial-gradient(1.2px 1.2px at 85% 30%, #f4f0d0 99%, transparent),
    radial-gradient(1.2px 1.2px at 40% 46%, #f4f0d0 99%, transparent),
    radial-gradient(1.4px 1.4px at 12% 70%, #f4f0d0 99%, transparent),
    linear-gradient(#0e1846, #1c2a66);
  color: #f4f0d0;
  font-family: var(--mono);
}
.page--mert .page-name {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13cqw;
  letter-spacing: -0.04em;
}
.page--mert .page-tape {
  background: #f4c96c;
  color: #0e1846;
  box-shadow: 0 0 22px rgba(244, 201, 108, 0.55);
}
.page--mert .page-note {
  background: #16204f;
  font-size: 4.6cqw;
}
.page--mert .s1 {
  right: 8%;
  top: 4%;
  width: 20cqw;
}
.page--mert .s2 {
  left: 8%;
  bottom: 4%;
  width: 34cqw;
  transform: rotate(-4deg);
}

/* selin: cyanotype herbarium */
.page--selin {
  background: radial-gradient(90% 60% at 30% 20%, #2a62a6, transparent), #1e4e8c;
  color: #fbfaf6;
}
.page--selin .page-name {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 19cqw;
}
.page--selin .page-bio {
  font-family: var(--hand);
  font-size: 6cqw;
  line-height: 1;
}
.page--selin .page-sec {
  font-family: var(--hand);
  font-size: 6.4cqw;
}
.page--selin .page-note {
  background: #fbfaf6;
  color: #1e4e8c;
  font-family: var(--serif);
  font-size: 5.6cqw;
  line-height: 1.2;
  border-radius: 1cqw;
  transform: rotate(1.5deg);
  box-shadow: 0 6px 12px -8px rgba(0, 0, 0, 0.5);
  position: relative;
}
.page--selin .page-note::before {
  content: '';
  position: absolute;
  top: -3cqw;
  left: 40%;
  width: 22cqw;
  height: 6cqw;
  background: rgba(244, 201, 108, 0.75);
  transform: rotate(-4deg);
}
.page--selin .page-music {
  background: #fbfaf6;
  color: #1e4e8c;
  border-radius: 1cqw;
}
.page--selin .s1 {
  right: -2%;
  bottom: 3%;
  width: 34cqw;
  transform: rotate(-8deg);
}
.page--selin .s2 {
  right: 8%;
  top: 36%;
  width: 16cqw;
}

@media (max-width: 900px) {
  .pages {
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    overflow-x: auto;
    padding: 20px 4px 80px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .page {
    scroll-snap-align: center;
  }
}

/* ============================================================== B3: widget */

.widget-sec {
  padding-block: clamp(120px, 14vw, 200px) 0;
}
.widget-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) {
  .widget-grid {
    grid-template-columns: 1fr;
  }
}
.widget-copy .lede {
  margin-top: 24px;
}
.home-screen {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: 40px;
  overflow: hidden;
  padding: 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 5%;
  align-content: start;
  box-shadow: 0 40px 60px -40px rgba(27, 26, 23, 0.7);
  container-type: inline-size;
}
.home-bg {
  position: absolute;
  inset: -4%;
  filter: blur(10px) saturate(1.1);
}
.home-bg svg {
  width: 100%;
  height: 100%;
}
.lock-time {
  position: relative;
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 19cqw;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 20px rgba(59, 58, 120, 0.4);
}
.w {
  position: relative;
  background: var(--paper);
  border-radius: 7cqw;
  box-shadow: 0 16px 30px -18px rgba(20, 16, 40, 0.7);
}
.w--small {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, #fff, transparent 60%), #f4c96c;
}
.w--small .w-disc {
  width: 78%;
}
.w--medium {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: center;
  gap: 6%;
  padding: 5%;
  aspect-ratio: 2.1 / 1;
}
.w--medium .w-disc {
  width: 38%;
  flex: none;
}
.w-text {
  display: grid;
  line-height: 1.1;
}
.w-text small {
  font-size: 3.6cqw;
  color: var(--graphite);
  font-weight: 600;
}
.w-text b {
  font-size: 8cqw;
  letter-spacing: -0.04em;
  margin-top: 1cqw;
}
.w-text span {
  font-size: 4cqw;
  color: var(--graphite);
}
.w--round {
  align-self: center;
  justify-self: center;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.w--round .w-disc {
  width: 76%;
}

/* ============================================================== trust */

.trust {
  padding-block: clamp(120px, 14vw, 200px) 0;
}
.trust-list {
  list-style: none;
  margin: clamp(40px, 6vw, 72px) 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.trust-list li {
  padding: 30px 32px 34px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  align-content: start;
}
.trust-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.trust-list li:nth-child(even) {
  padding-left: 32px;
}
.trust-list h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.035em;
}
.trust-list p {
  color: var(--graphite);
  max-width: 44ch;
}
@media (max-width: 760px) {
  .trust-list {
    grid-template-columns: 1fr;
  }
  .trust-list li:nth-child(odd) {
    border-right: 0;
  }
  .trust-list li:nth-child(even) {
    padding-left: 0;
  }
}

/* ============================================================== download */

.cta {
  padding-block: clamp(120px, 14vw, 200px) 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.cta-title {
  font-size: clamp(3.6rem, 10vw, 9.5rem);
  letter-spacing: -0.045em;
  line-height: 0.86;
}
.cta-copy {
  display: grid;
  gap: 28px;
  justify-items: start;
}
.btn-store--big {
  --h: 68px;
}
.cta-deck {
  position: relative;
  width: min(100%, 520px);
  justify-self: center;
  aspect-ratio: 1;
}
.cta-deck .paint {
  width: 150%;
  left: -30%;
  top: -22%;
}
.cta-deck .paint circle {
  animation: none;
}
.cta-platter {
  position: absolute;
  inset: 4%;
}
.cta-disc {
  position: absolute !important;
  inset: 0;
}
.cta-arm {
  pointer-events: none;
  position: absolute;
  width: 50%;
  left: 73%;
  top: 19%;
  transform-origin: 87% 13%;
  filter: drop-shadow(0 6px 8px rgba(27, 26, 23, 0.25));
}
@media (max-width: 760px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .cta-deck {
    width: 78%;
    margin-top: 24px;
  }
}

/* footer tracklist */
.tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.tracks a {
  display: grid;
  grid-template-columns: 2.4em 1fr;
  text-decoration: none;
  font-weight: 600;
}
.tracks span {
  color: var(--kraft);
  font-weight: 700;
}
.tracks a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============================================================== shelf interactions */
.item-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  border-radius: 4px;
  outline-offset: 6px;
}
.item--record.is-away .cover,
.item--record.is-away .item-disc {
  visibility: hidden;
}
button.item {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 8px;
}
button.item > * {
  transform-origin: 50% 100%;
}
button.item.is-wobbling > * {
  animation: wobble 0.56s cubic-bezier(0.3, 0.7, 0.4, 1);
}
@keyframes wobble {
  16% {
    transform: rotate(7deg);
  }
  41% {
    transform: rotate(-4.9deg);
  }
  66% {
    transform: rotate(2.45deg);
  }
  100% {
    transform: rotate(0);
  }
}
.shelf-hint {
  margin-top: 18px;
  text-align: center;
  color: var(--graphite);
  font-size: 0.92rem;
}
