/* Sound Paintings 2.8 — polish layer.
   Stronger Solid Pleasure palette, calmer section seams, animated studio mark,
   link to the YELLO Video Universe. Everything else stays as it was. */

/* ---- calmer seams between the coloured blocks ---- */
.section { border-bottom: 0; }
.section.orange, .section.green, .section.cream, .section.pink, .section.yellow { box-shadow: inset 0 3px 0 var(--ink); }

/* ---- cream block: less pale, with the collage circles of the album palette ---- */
.section.cream {
  background:
    radial-gradient(circle at 92% 14%, rgba(242, 71, 158, .20) 0 70px, transparent 71px),
    radial-gradient(circle at 86% 30%, rgba(63, 207, 42, .22) 0 120px, transparent 121px),
    radial-gradient(circle at 6% 88%, rgba(255, 214, 10, .38) 0 90px, transparent 91px),
    radial-gradient(circle at 14% 74%, rgba(247, 134, 26, .20) 0 46px, transparent 47px),
    #f7e2b6;
}
.influence { transition: transform .25s cubic-bezier(.2, .75, .2, 1), box-shadow .25s; }
.influence:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 6px 6px 0 var(--ink); }

/* ---- the studio mark: alive, but quiet ---- */
.creator-mark { opacity: .9; }
.creator-mark img {
  width: 38px; height: 38px; flex-basis: 38px; border-radius: 50%;
  transform-origin: 50% 60%;
  animation: studio-bob 4.8s cubic-bezier(.45, 0, .55, 1) infinite;
  filter: drop-shadow(0 0 0 rgba(63, 207, 42, 0));
  transition: filter .3s;
}
.creator-mark { position: relative; }
.creator-mark::before {
  content: ""; position: absolute; left: -4px; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--acid, #3fcf2a); border-right-color: var(--pink, #f2479e); border-bottom-color: var(--yellow, #ffd60a); border-left-color: var(--orange, #f7861a);
  opacity: .55; animation: studio-orbit 9s linear infinite; pointer-events: none;
}
.creator-mark:hover img { animation: studio-wiggle .7s ease-in-out 1, studio-bob 4.8s cubic-bezier(.45, 0, .55, 1) .7s infinite; filter: drop-shadow(0 0 10px rgba(63, 207, 42, .55)); }
.creator-mark:hover::before { opacity: 1; animation-duration: 2.2s; }
.creator-mark small { font-size: 8px; }
.creator-mark strong { font-size: 11px; }
@keyframes studio-bob { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-3px) rotate(-4deg); } 60% { transform: translateY(1px) rotate(3deg); } }
@keyframes studio-wiggle { 0%, 100% { transform: rotate(0) scale(1); } 25% { transform: rotate(-12deg) scale(1.08); } 50% { transform: rotate(10deg) scale(1.08); } 75% { transform: rotate(-6deg) scale(1.04); } }
@keyframes studio-orbit { to { transform: rotate(360deg); } }

/* ---- YELLO Video Universe promo ---- */
.universe-promo { background: var(--ink); color: var(--cream, #f5e6c7); box-shadow: inset 0 3px 0 var(--ink); overflow: hidden; }
.universe-promo-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(46px, 6vw, 80px) 0; }
.universe-copy { position: relative; z-index: 1; max-width: 640px; }
.universe-copy .micro { color: var(--yellow, #ffd60a); }
.universe-copy h2 { margin: 10px 0 12px; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .92; font-size: clamp(2rem, 4.4vw, 3.9rem); }
.universe-copy p { margin: 0; max-width: 54ch; line-height: 1.55; color: rgba(245, 230, 199, .82); }
.universe-btn { position: relative; z-index: 1; background: var(--acid, #3fcf2a); color: var(--ink); border-color: var(--acid, #3fcf2a); font-size: .78rem; padding: 15px 22px; transition: background .2s, transform .2s, box-shadow .2s; }
.universe-btn:hover { background: var(--yellow, #ffd60a); border-color: var(--yellow, #ffd60a); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--pink, #f2479e); }
.universe-orbs { position: absolute; inset: 0; pointer-events: none; }
.universe-orbs i { position: absolute; border-radius: 50%; opacity: .9; animation: orb-drift 11s ease-in-out infinite; }
.universe-orbs i:nth-child(1) { width: 140px; height: 140px; right: 26%; top: -60px; background: var(--acid, #3fcf2a); opacity: .16; }
.universe-orbs i:nth-child(2) { width: 46px; height: 46px; right: 21%; bottom: 18px; background: var(--pink, #f2479e); opacity: .5; animation-delay: -3s; }
.universe-orbs i:nth-child(3) { width: 22px; height: 22px; right: 33%; bottom: 46px; background: var(--yellow, #ffd60a); animation-delay: -6s; }
.universe-orbs i:nth-child(4) { width: 90px; height: 90px; left: -30px; bottom: -40px; background: var(--orange, #f7861a); opacity: .22; animation-delay: -8s; }
@keyframes orb-drift { 50% { transform: translate(10px, -12px) scale(1.06); } }

@media (max-width: 760px) {
  .universe-promo-inner { grid-template-columns: minmax(0, 1fr); }
  .universe-btn { justify-self: start; }
  .section.cream { background-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .creator-mark img, .creator-mark::before, .universe-orbs i { animation: none !important; }
  .influence:hover, .universe-btn:hover { transform: none; }
}

/* ======================= Sound Lab 2.8 ======================= */
/* Figure pads: breathe at rest, bounce on every hit. */
.figure-node { transform-box: fill-box; transform-origin: center; }
.figure-pad { animation: pad-breathe 3.8s ease-in-out infinite; }
.figure-pad:nth-of-type(3n)   { animation-delay: -1.1s; animation-duration: 4.4s; }
.figure-pad:nth-of-type(3n+1) { animation-delay: -2.3s; animation-duration: 3.4s; }
.figure-pad.is-hit { animation: pad-pop .34s cubic-bezier(.2, 1.7, .35, 1) 1; }
.figure-pad:hover .pad-shape { filter: brightness(1.12) drop-shadow(0 0 10px var(--pad-color)); }
.figure-svg { filter: drop-shadow(10px 14px 0 rgba(0, 0, 0, .45)) drop-shadow(0 18px 30px rgba(0, 0, 0, .3)); }
@keyframes pad-breathe { 50% { transform: translateY(-4px) scale(1.015); } }
@keyframes pad-pop { 0% { transform: scale(1); } 35% { transform: scale(1.14, .9); } 65% { transform: scale(.95, 1.06); } 100% { transform: scale(1); } }

/* Sequencer: a clearer playhead and livelier cells. */
.seq-cell { transition: transform .12s ease, box-shadow .12s ease; }
.seq-cell:hover { transform: translateY(-1px); box-shadow: 0 0 0 2px rgba(11, 10, 8, .35); }
.is-playhead { box-shadow: inset 0 -4px 0 #ffd60a; }
.track-row.is-hit .track-label b { animation: pad-pop .3s cubic-bezier(.2, 1.7, .35, 1) 1; }

/* Transport: press feedback. */
.transport-button { transition: transform .12s ease, filter .12s ease; }
.transport-button:active { transform: translateY(2px); }
.transport-button.primary:hover { filter: brightness(1.08); }

@media (prefers-reduced-motion: reduce) {
  .figure-pad, .figure-pad.is-hit, .track-row.is-hit .track-label b { animation: none !important; }
}
