:root {
  --lab-ink: #030506;
  --lab-paper: #f4e7c4;
  --lab-gold: #e3b866;
  --lab-cyan: #63eae5;
  --lab-line: rgba(244, 231, 196, .24);
}

.layout-lab {
  position: relative;
  color: var(--lab-paper);
  background: var(--lab-ink);
  border-top: 1px solid rgba(227, 184, 102, .28);
  isolation: isolate;
}

.lab-intro {
  min-height: 58vh;
  display: grid;
  grid-template-columns: minmax(100px, .45fr) minmax(320px, 1.35fr) minmax(260px, .75fr);
  gap: clamp(28px, 6vw, 110px);
  align-items: end;
  padding: clamp(96px, 12vw, 180px) clamp(22px, 5vw, 84px) clamp(60px, 8vw, 120px);
  background:
    linear-gradient(112deg, transparent 0 47%, rgba(99, 234, 229, .08) 47.1% 47.25%, transparent 47.35%),
    #030506;
}

.lab-intro-index,
.lab-kicker,
.exp-heading span {
  color: var(--lab-cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.lab-intro h2 {
  max-width: 850px;
  margin: 14px 0 0;
  color: var(--lab-paper);
  font: 400 clamp(50px, 7.2vw, 118px)/.88 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.lab-intro p {
  max-width: 410px;
  margin: 0;
  color: rgba(244, 231, 196, .64);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.5;
}

.lab-controls {
  position: sticky;
  top: 90px;
  z-index: 18;
  width: max-content;
  margin: 0 22px -50px auto;
  color: #f5edd9;
  font-size: 12px;
}

.lab-control-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(99, 234, 229, .35);
  border-radius: 4px;
  color: inherit;
  background: rgba(3, 5, 6, .92);
  font: 700 11px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.lab-control-trigger span:first-child {
  color: var(--lab-cyan);
  font-size: 18px;
}

.lab-control-body {
  width: 206px;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid rgba(244, 231, 196, .16);
  background: rgba(3, 5, 6, .96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
}

.lab-control-body label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  color: rgba(244, 231, 196, .76);
}

.lab-control-body input {
  accent-color: var(--lab-cyan);
}

.exp-section {
  position: relative;
  min-height: 980px;
  height: 112vh;
  max-height: 1220px;
  overflow: hidden;
  border-top: 1px solid rgba(244, 231, 196, .13);
  background: #030506;
  isolation: isolate;
}

.exp-heading {
  position: absolute;
  top: clamp(42px, 6vw, 82px);
  left: clamp(22px, 5vw, 82px);
  z-index: 12;
  pointer-events: none;
}

.exp-heading-right {
  right: clamp(22px, 5vw, 82px);
  left: auto;
  text-align: right;
}

.exp-heading h3 {
  margin: 8px 0 0;
  color: var(--lab-paper);
  font: 400 clamp(34px, 4.4vw, 72px)/.95 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .75);
}

.exp-section img,
.exp-section video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.order-tag {
  display: none;
  position: absolute;
  z-index: 20;
  top: 10px;
  left: 10px;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #101010;
  font: 800 10px/1 Inter, ui-sans-serif, system-ui, sans-serif;
}

.point-map {
  display: none;
  position: absolute;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  width: min(480px, calc(100% - 36px));
  padding: 12px;
  border: 1px solid var(--lab-cyan);
  color: var(--lab-cyan);
  background: rgba(0, 0, 0, .94);
  font-size: 10px;
  line-height: 1.5;
}

.point-map code {
  display: block;
  white-space: normal;
}

/* Experiment 05: one living column and one angular system exchange structure at a central suture. */
.splice-section {
  background:
    linear-gradient(90deg, rgba(15, 68, 55, .22), transparent 42%),
    #030506;
}

.splice-organic,
.splice-organic-echo,
.splice-math,
.splice-copy,
.splice-branch {
  position: absolute;
}

.splice-organic {
  z-index: 2;
  top: 13%;
  bottom: 7%;
  left: 0;
  width: 51%;
  overflow: hidden;
  clip-path: polygon(0 0, 82% 0, 100% 16%, 84% 31%, 100% 49%, 78% 66%, 100% 85%, 83% 100%, 0 100%);
  transform: translate3d(calc(var(--lab-progress, 0) * -2.4vw), 0, 0);
}

.splice-organic::after,
.splice-math::after,
.music-chamber::after,
.silence-wedge::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(3, 5, 6, .1), rgba(3, 5, 6, .66));
}

.splice-organic video {
  object-position: 28% center;
  filter: saturate(1.06) contrast(1.05) brightness(.99);
  transform: scale(1.025);
}

.splice-organic::after {
  background: linear-gradient(90deg, rgba(3, 5, 6, .68) 0%, rgba(3, 5, 6, .34) 38%, rgba(3, 5, 6, .08) 68%, transparent 88%);
}

.splice-organic-echo {
  z-index: 1;
  top: 9%;
  bottom: 3%;
  left: 1.5%;
  width: 51%;
  border: 1px solid rgba(99, 234, 229, .33);
  clip-path: polygon(0 0, 82% 0, 100% 16%, 84% 31%, 100% 49%, 78% 66%, 100% 85%, 83% 100%, 0 100%);
}

.splice-copy {
  z-index: 7;
  left: clamp(24px, 5vw, 82px);
  bottom: 13%;
  width: min(390px, 34vw);
  padding-left: 18px;
  border-left: 1px solid var(--lab-gold);
}

.splice-copy p {
  margin: 10px 0 0;
  color: #fff4d3;
  font: 400 clamp(25px, 3vw, 48px)/1.04 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.splice-axis,
.fragment-label {
  color: var(--lab-cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}

.splice-math {
  right: 0;
  overflow: hidden;
  border-left: 1px solid rgba(244, 231, 196, .32);
  transition: filter 400ms ease;
}

.splice-math video {
  filter: saturate(1.08) contrast(1.16) brightness(.86);
  transform: scale(1.04);
  transition: scale 900ms cubic-bezier(.2, .7, .2, 1), filter 500ms ease;
}

.splice-math:hover video {
  scale: 1.11;
  filter: saturate(1.28) contrast(1.12) brightness(1.02);
}

.splice-math-a {
  z-index: 3;
  top: 0;
  width: 57%;
  height: 40%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 88%, 13% 56%, 0 24%);
  transform: translate3d(calc(var(--lab-progress, 0) * 1.8vw), 0, 0);
}

.splice-math-b {
  z-index: 4;
  top: 38.7%;
  width: 50%;
  height: 32%;
  clip-path: polygon(14% 0, 100% 8%, 100% 88%, 0 100%, 12% 64%, 0 32%);
  transform: translate3d(calc(var(--lab-progress, 0) * 2.8vw), 0, 0);
}

.splice-math-c {
  z-index: 3;
  right: -2%;
  bottom: 0;
  width: 62%;
  height: 34%;
  clip-path: polygon(11% 11%, 100% 0, 100% 100%, 0 100%, 16% 63%, 0 34%);
  transform: translate3d(calc(var(--lab-progress, 0) * 1.2vw), 0, 0);
}

.splice-math .fragment-label {
  position: absolute;
  z-index: 3;
  right: 5%;
  bottom: 10%;
  color: #fff4d3;
}

.splice-suture {
  position: absolute;
  z-index: 8;
  top: 13%;
  bottom: 8%;
  left: 46%;
  width: 10%;
  pointer-events: none;
}

.splice-suture::before,
.splice-suture::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, var(--lab-cyan), var(--lab-gold), transparent);
}

.splice-suture::before { left: 22%; transform: rotate(4deg); }
.splice-suture::after { right: 22%; transform: rotate(-5deg); }

.splice-suture i {
  position: absolute;
  left: 15%;
  width: 72%;
  height: 1px;
  background: rgba(244, 231, 196, .65);
  transform: rotate(var(--stitch-angle, 14deg));
}

.splice-suture i:nth-child(1) { top: 10%; --stitch-angle: 16deg; }
.splice-suture i:nth-child(2) { top: 25%; --stitch-angle: -13deg; }
.splice-suture i:nth-child(3) { top: 40%; --stitch-angle: 18deg; }
.splice-suture i:nth-child(4) { top: 56%; --stitch-angle: -17deg; }
.splice-suture i:nth-child(5) { top: 72%; --stitch-angle: 11deg; }
.splice-suture i:nth-child(6) { top: 88%; --stitch-angle: -15deg; }

.splice-branch {
  z-index: 9;
  left: 43%;
  height: 25px;
  padding: 5px 12px;
  border-top: 1px solid rgba(99, 234, 229, .7);
  color: rgba(244, 231, 196, .78);
  background: rgba(3, 5, 6, .74);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  white-space: nowrap;
  transform-origin: left center;
}

.branch-one { top: 31%; width: 26%; transform: rotate(-10deg); }
.branch-two { top: 51%; width: 21%; transform: rotate(7deg); }
.branch-three { top: 70%; width: 29%; transform: rotate(-6deg); }

/* Experiment 07: eight wedges terminate around an untouched irregular void. */
.silence-section {
  background: #000;
}

.silence-wedge {
  position: absolute;
  overflow: hidden;
  background: #111;
  transition: transform 600ms cubic-bezier(.2, .7, .2, 1), filter 500ms ease;
}

.wedge-nw,
.wedge-se { z-index: 1; }

.wedge-ne,
.wedge-sw { z-index: 2; }

.wedge-n,
.wedge-s { z-index: 3; }

.wedge-w,
.wedge-e { z-index: 4; }

.silence-wedge video {
  filter: saturate(1.14) contrast(1.18) brightness(.82);
  transform: scale(1.035);
  scale: 1;
  transition: scale 700ms cubic-bezier(.2, .75, .2, 1), filter 500ms ease;
  animation: shardLens 8s ease-in-out infinite alternate;
}

.silence-wedge::after {
  background: linear-gradient(120deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .38));
}

.silence-wedge:hover video {
  scale: 1.14;
  filter: saturate(1.38) contrast(1.12) brightness(1.04);
}

.wedge-frame {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.wedge-frame polygon {
  fill: none;
  stroke: rgba(255, 252, 242, .78);
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  transition: stroke 280ms ease, stroke-width 280ms ease;
}

.silence-wedge:hover .wedge-frame polygon {
  stroke: #fff;
  stroke-width: 2.6;
}

.silence-wedge > span:not(.order-tag) {
  position: absolute;
  z-index: 4;
  color: rgba(244, 231, 196, .72);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .22em;
}

.wedge-nw { inset: 0 47% 57% 0; clip-path: polygon(0 0, 100% 0, 72% 100%, 0 70%); }
.wedge-nw > span:not(.order-tag) { left: 8%; bottom: 22%; }
.wedge-n { top: 0; left: 35%; width: 34%; height: 35%; clip-path: polygon(0 0, 100% 0, 65% 100%, 38% 82%); }
.wedge-n > span:not(.order-tag) { top: 20%; right: 14%; }
.wedge-ne { inset: 0 0 55% 62%; clip-path: polygon(0 0, 100% 0, 100% 76%, 23% 100%); }
.wedge-ne > span:not(.order-tag) { right: 8%; bottom: 19%; }
.wedge-w { top: 31%; left: 0; width: 37%; height: 39%; clip-path: polygon(0 0, 100% 35%, 82% 68%, 0 100%); }
.wedge-w > span:not(.order-tag) { left: 7%; top: 45%; }
.wedge-e { top: 30%; right: 0; width: 37%; height: 41%; clip-path: polygon(18% 34%, 100% 0, 100% 100%, 0 68%); }
.wedge-e > span:not(.order-tag) { right: 7%; top: 46%; }
.wedge-sw { inset: 64% 58% 0 0; clip-path: polygon(0 0, 76% 16%, 100% 100%, 0 100%); }
.wedge-sw > span:not(.order-tag) { left: 8%; top: 17%; }
.wedge-s { bottom: 0; left: 31%; width: 39%; height: 34%; clip-path: polygon(22% 0, 71% 12%, 100% 100%, 0 100%); }
.wedge-s > span:not(.order-tag) { left: 44%; bottom: 15%; }
.wedge-se { inset: 63% 0 0 61%; clip-path: polygon(19% 14%, 100% 0, 100% 100%, 0 100%); }
.wedge-se > span:not(.order-tag) { right: 8%; top: 17%; }

.silence-void {
  position: absolute;
  z-index: 7;
  top: 33%;
  left: 36%;
  width: 30%;
  height: 35%;
  display: grid;
  place-items: center;
  clip-path: polygon(15% 0, 82% 6%, 100% 34%, 87% 82%, 58% 100%, 14% 88%, 0 54%);
  background: #000;
  pointer-events: none;
}

.silence-void video {
  width: 76%;
  height: 76%;
  display: block;
  object-fit: contain;
  filter: saturate(1.05) contrast(1.06) brightness(.92);
}

.silence-statement {
  position: absolute;
  z-index: 9;
  left: clamp(22px, 5vw, 82px);
  bottom: 4.5%;
  width: min(420px, 34vw);
  margin: 0;
  color: rgba(244, 231, 196, .88);
  font: 400 clamp(22px, 2.6vw, 42px)/1.06 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.silence-section:hover .wedge-nw { transform: translate(-8px, -5px); }
.silence-section:hover .wedge-n { transform: translateY(-8px); }
.silence-section:hover .wedge-ne { transform: translate(8px, -5px); }
.silence-section:hover .wedge-w { transform: translateX(-8px); }
.silence-section:hover .wedge-e { transform: translateX(8px); }
.silence-section:hover .wedge-sw { transform: translate(-7px, 7px); }
.silence-section:hover .wedge-s { transform: translateY(8px); }
.silence-section:hover .wedge-se { transform: translate(7px, 7px); }

/* Experiment 13: the staff is the structural skeleton; content occupies the changing spaces between its beams. */
.music-section {
  background: #020506;
}

.music-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 67% 42%, rgba(99, 234, 229, .13), transparent 28%),
    radial-gradient(circle at 17% 72%, rgba(227, 184, 102, .12), transparent 30%),
    #020506;
}

.music-chamber {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
}

.music-chamber video {
  filter: saturate(1.08) contrast(1.18) brightness(.76);
  transform: scale(1.045) translateY(calc(var(--lab-progress, 0) * -1.8vh));
  transition: scale 800ms cubic-bezier(.2, .7, .2, 1), filter 500ms ease;
}

.music-chamber:hover video {
  scale: 1.08;
  filter: saturate(1.26) contrast(1.12) brightness(.96);
}

.music-chamber::after {
  background: linear-gradient(90deg, rgba(2, 5, 6, .86), rgba(2, 5, 6, .18), rgba(2, 5, 6, .72));
}

.music-chamber > div {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 8px;
}

.music-chamber span:not(.order-tag) {
  color: var(--lab-cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .22em;
}

.music-chamber strong {
  max-width: 560px;
  color: var(--lab-paper);
  font: 400 clamp(24px, 2.6vw, 42px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.chamber-one { top: 14%; height: 25%; clip-path: polygon(0 15%, 18% 0, 45% 43%, 73% 7%, 100% 24%, 100% 85%, 78% 60%, 49% 100%, 22% 54%, 0 84%); }
.chamber-one > div { left: 6%; top: 30%; }
.chamber-two { top: 31%; height: 28%; clip-path: polygon(0 21%, 22% 0, 49% 42%, 78% 4%, 100% 22%, 100% 79%, 77% 60%, 52% 100%, 24% 62%, 0 88%); }
.chamber-two > div { right: 8%; top: 34%; text-align: right; }
.chamber-three { top: 49%; height: 28%; clip-path: polygon(0 18%, 24% 0, 52% 46%, 77% 7%, 100% 27%, 100% 82%, 80% 58%, 56% 100%, 27% 63%, 0 89%); }
.chamber-three > div { left: 8%; top: 38%; }
.chamber-four { top: 67%; height: 28%; clip-path: polygon(0 18%, 27% 0, 56% 40%, 80% 6%, 100% 28%, 100% 100%, 0 100%); }
.chamber-four > div { right: 9%; top: 39%; text-align: right; }

.living-staff {
  position: absolute;
  z-index: 6;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.living-staff path {
  fill: none;
  stroke: url(#staffGradient);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 18 10 3 10;
  animation: staffTravel 8s linear infinite;
}

.living-staff path:nth-child(2) { animation-duration: 11s; animation-direction: reverse; }
.living-staff path:nth-child(3) { animation-duration: 7s; }
.living-staff path:nth-child(4) { animation-duration: 13s; animation-direction: reverse; }
.living-staff path:nth-child(5) { animation-duration: 9s; }

.music-note {
  position: absolute;
  z-index: 9;
  width: clamp(100px, 12vw, 190px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(244, 231, 196, .62);
  border-radius: 50%;
  background: #030506;
  box-shadow: 0 0 0 9px rgba(3, 5, 6, .5);
  animation: noteBreathe 5s ease-in-out infinite;
}

.music-note img {
  filter: saturate(.75) contrast(1.15);
}

.note-one { top: 20%; left: 44%; }
.note-two { top: 45%; right: 10%; animation-delay: -1.8s; }
.note-three { top: 68%; left: 18%; animation-delay: -3.4s; }

.music-bars {
  position: absolute;
  z-index: 10;
  top: 27%;
  right: 4%;
  bottom: 10%;
  width: 58px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border-right: 1px solid var(--lab-gold);
  border-left: 1px solid rgba(99, 234, 229, .5);
}

.music-bars a {
  color: rgba(244, 231, 196, .76);
  text-decoration: none;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.music-rest {
  position: absolute;
  z-index: 8;
  top: 39%;
  left: 31%;
  width: 16%;
  height: 13%;
  clip-path: polygon(0 19%, 78% 0, 100% 67%, 21% 100%);
  background: #020506;
}

@keyframes staffTravel {
  to { stroke-dashoffset: -82; }
}

@keyframes noteBreathe {
  0%, 100% {
    transform: scale(.96);
    box-shadow:
      0 0 0 5px rgba(3, 5, 6, .86),
      0 0 0 7px rgba(227, 184, 102, .5),
      0 0 0 13px rgba(3, 5, 6, .64),
      0 0 0 14px rgba(99, 234, 229, .24),
      0 18px 32px rgba(0, 0, 0, .68);
  }
  50% {
    transform: scale(1.025);
    box-shadow:
      0 0 0 5px rgba(3, 5, 6, .9),
      0 0 0 7px rgba(227, 184, 102, .7),
      0 0 0 13px rgba(3, 5, 6, .68),
      0 0 0 15px rgba(99, 234, 229, .42),
      0 0 38px rgba(99, 234, 229, .26),
      0 22px 38px rgba(0, 0, 0, .72);
  }
}

@keyframes shardLens {
  0% { transform: scale(1.025) translate3d(-.6%, 0, 0); }
  100% { transform: scale(1.09) translate3d(.6%, -.5%, 0); }
}

/* Shared material pass: clipped compositions now read as layered glass objects. */
.exp-section {
  perspective: 1600px;
  transform-style: preserve-3d;
}

.splice-section::before,
.silence-section::before,
.music-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(99, 234, 229, .06) 50%, transparent 50.1%),
    repeating-linear-gradient(90deg, transparent 0 11.8%, rgba(244, 231, 196, .025) 12%, transparent 12.2%);
  opacity: .8;
}

.splice-organic,
.splice-math {
  transform-style: preserve-3d;
  filter:
    drop-shadow(0 1px 0 rgba(244, 231, 196, .68))
    drop-shadow(0 0 1px rgba(99, 234, 229, .82))
    drop-shadow(-7px 12px 0 rgba(0, 0, 0, .54))
    drop-shadow(0 20px 22px rgba(0, 0, 0, .7));
}

.splice-organic::before,
.splice-math::before,
.silence-wedge::before,
.music-chamber::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(124deg, rgba(255, 255, 255, .22), transparent 12% 72%, rgba(99, 234, 229, .12)),
    linear-gradient(180deg, rgba(227, 184, 102, .16), transparent 22% 82%, rgba(0, 0, 0, .3));
  mix-blend-mode: screen;
  opacity: .62;
}

.splice-organic-echo {
  border-color: rgba(227, 184, 102, .48);
  background: linear-gradient(115deg, rgba(99, 234, 229, .09), transparent 42%, rgba(227, 184, 102, .08));
  filter:
    drop-shadow(0 0 1px rgba(99, 234, 229, .8))
    drop-shadow(-12px 17px 0 rgba(14, 35, 33, .4))
    drop-shadow(0 24px 24px rgba(0, 0, 0, .62));
}

.splice-math {
  border-left: 0;
}

.splice-math:hover {
  filter:
    drop-shadow(0 1px 0 rgba(255, 244, 211, .88))
    drop-shadow(0 0 4px rgba(99, 234, 229, .82))
    drop-shadow(-9px 14px 0 rgba(0, 0, 0, .58))
    drop-shadow(0 24px 28px rgba(0, 0, 0, .72));
}

.splice-suture::before,
.splice-suture::after {
  width: 2px;
  box-shadow: 0 0 12px rgba(99, 234, 229, .44), 0 0 20px rgba(227, 184, 102, .22);
}

.splice-suture i {
  box-shadow: 0 0 7px rgba(244, 231, 196, .3);
}

.splice-branch {
  border-top-color: rgba(99, 234, 229, .76);
  border-bottom: 1px solid rgba(227, 184, 102, .22);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .52), inset 0 0 12px rgba(99, 234, 229, .06);
  backdrop-filter: blur(8px);
}

.silence-section {
  background:
    linear-gradient(115deg, rgba(30, 23, 30, .2), transparent 42%, rgba(15, 45, 46, .13)),
    #000;
}

.silence-wedge {
  transform-style: preserve-3d;
  filter:
    drop-shadow(0 1px 0 rgba(255, 252, 242, .58))
    drop-shadow(0 0 1px rgba(227, 184, 102, .72))
    drop-shadow(0 12px 0 rgba(6, 11, 12, .8))
    drop-shadow(0 22px 22px rgba(0, 0, 0, .68));
}

.silence-wedge::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .25), transparent 10% 70%, rgba(99, 234, 229, .14)),
    linear-gradient(180deg, rgba(227, 184, 102, .12), transparent 26% 76%, rgba(0, 0, 0, .42));
  opacity: .56;
}

.silence-wedge:hover {
  filter:
    drop-shadow(0 1px 0 rgba(255, 252, 242, .92))
    drop-shadow(0 0 4px rgba(99, 234, 229, .72))
    drop-shadow(0 13px 0 rgba(5, 10, 11, .84))
    drop-shadow(0 26px 28px rgba(0, 0, 0, .76));
}

.wedge-frame {
  filter: drop-shadow(0 0 2px rgba(227, 184, 102, .52));
}

.wedge-frame polygon {
  stroke: rgba(255, 246, 220, .72);
  stroke-width: 1.45;
}

.silence-wedge:hover .wedge-frame polygon {
  stroke: #fff4cf;
  stroke-width: 2;
}

.silence-void {
  filter:
    drop-shadow(0 0 1px rgba(244, 231, 196, .74))
    drop-shadow(0 0 16px rgba(99, 234, 229, .18))
    drop-shadow(0 18px 20px rgba(0, 0, 0, .88));
  box-shadow: inset 0 0 44px rgba(0, 0, 0, .88);
}

.silence-void::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 3%;
  pointer-events: none;
  border: 1px solid rgba(227, 184, 102, .38);
  clip-path: inherit;
  box-shadow: inset 0 0 18px rgba(99, 234, 229, .12);
}

.silence-void video {
  position: relative;
  z-index: 1;
}

.music-section {
  background: #020506;
}

.music-backdrop {
  background:
    linear-gradient(90deg, transparent 9.8%, rgba(99, 234, 229, .04) 10%, transparent 10.2%, transparent 89.8%, rgba(227, 184, 102, .04) 90%, transparent 90.2%),
    radial-gradient(circle at 67% 42%, rgba(99, 234, 229, .13), transparent 28%),
    radial-gradient(circle at 17% 72%, rgba(227, 184, 102, .12), transparent 30%),
    #020506;
}

.music-chamber {
  transform-style: preserve-3d;
  filter:
    drop-shadow(0 1px 0 rgba(244, 231, 196, .52))
    drop-shadow(0 0 1px rgba(99, 234, 229, .64))
    drop-shadow(0 13px 0 rgba(2, 8, 9, .82))
    drop-shadow(0 22px 22px rgba(0, 0, 0, .64));
}

.music-chamber::before {
  background:
    linear-gradient(128deg, rgba(255, 255, 255, .18), transparent 14% 76%, rgba(99, 234, 229, .14)),
    linear-gradient(180deg, rgba(227, 184, 102, .12), transparent 22% 78%, rgba(0, 0, 0, .42));
  opacity: .52;
}

.music-chamber:hover {
  filter:
    drop-shadow(0 1px 0 rgba(255, 244, 211, .82))
    drop-shadow(0 0 4px rgba(99, 234, 229, .62))
    drop-shadow(0 14px 0 rgba(2, 8, 9, .88))
    drop-shadow(0 26px 28px rgba(0, 0, 0, .72));
}

.living-staff {
  filter: drop-shadow(0 0 5px rgba(99, 234, 229, .3));
}

.music-note {
  border-color: rgba(244, 231, 196, .74);
  box-shadow:
    0 0 0 5px rgba(3, 5, 6, .86),
    0 0 0 7px rgba(227, 184, 102, .5),
    0 0 0 13px rgba(3, 5, 6, .64),
    0 0 0 14px rgba(99, 234, 229, .24),
    0 18px 32px rgba(0, 0, 0, .68);
}

.music-bars {
  background: rgba(2, 5, 6, .62);
  box-shadow: inset 0 0 18px rgba(99, 234, 229, .06), 0 16px 32px rgba(0, 0, 0, .34);
  backdrop-filter: blur(10px);
}

/* Local development overlays. These classes affect only the appended experiments. */
.lab-show-boundaries [data-panel] {
  outline: 1px solid #ff4bd8 !important;
  outline-offset: -1px;
}

.lab-show-boundaries [data-panel]::before {
  content: attr(data-panel);
  position: absolute;
  z-index: 25;
  top: 2px;
  right: 2px;
  padding: 3px 5px;
  color: #fff;
  background: #b5008f;
  font: 700 8px/1 monospace;
}

.lab-show-cuts [data-panel] {
  filter: drop-shadow(0 0 3px #00fff2) drop-shadow(0 0 1px #00fff2);
}

.lab-show-order .order-tag {
  display: grid;
}

.lab-show-points .point-map {
  display: block;
}

.lab-freeze *,
.lab-freeze *::before,
.lab-freeze *::after {
  animation-play-state: paused !important;
  transition: none !important;
}

.lab-solids .exp-section img,
.lab-solids .exp-section video {
  opacity: 0;
}

.lab-solids [data-panel] { background: #173c39 !important; }
.lab-solids [data-panel]:nth-of-type(3n + 1) { background: #684d29 !important; }
.lab-solids [data-panel]:nth-of-type(3n + 2) { background: #452f58 !important; }

.lab-simulate-mobile {
  width: min(430px, 100%);
  margin-inline: auto;
  box-shadow: 0 0 0 1px rgba(99, 234, 229, .8), 0 0 80px rgba(0, 0, 0, .8);
}

.lab-simulate-mobile .lab-intro {
  min-height: 72vh;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: center;
  padding: 100px 20px 72px;
}

.lab-simulate-mobile .lab-intro p { grid-column: 2; }
.lab-simulate-mobile .exp-section { min-height: 820px; height: 105vh; max-height: 980px; }
.lab-simulate-mobile .exp-heading { top: 34px; left: 18px; max-width: 80%; }
.lab-simulate-mobile .exp-heading-right { right: 18px; left: auto; }
.lab-simulate-mobile .exp-heading h3 { font-size: clamp(31px, 10vw, 48px); }
.lab-simulate-mobile .splice-organic { top: 18%; bottom: 7%; width: 59%; }
.lab-simulate-mobile .splice-organic-echo { top: 17%; bottom: 5%; width: 59%; }
.lab-simulate-mobile .splice-math-a { top: 13%; width: 61%; height: 31%; }
.lab-simulate-mobile .splice-math-b { top: 43%; width: 55%; height: 28%; }
.lab-simulate-mobile .splice-math-c { width: 66%; height: 31%; }
.lab-simulate-mobile .splice-suture { left: 52%; width: 16%; top: 19%; }
.lab-simulate-mobile .splice-copy { left: 18px; bottom: 10%; width: 48%; padding-left: 10px; }
.lab-simulate-mobile .splice-copy p { font-size: clamp(20px, 6.6vw, 31px); }
.lab-simulate-mobile .splice-axis { font-size: 7px; }
.lab-simulate-mobile .splice-branch { left: 48%; font-size: 7px; padding-inline: 6px; }
.lab-simulate-mobile .branch-one { top: 35%; width: 42%; }
.lab-simulate-mobile .branch-two { top: 53%; width: 35%; }
.lab-simulate-mobile .branch-three { top: 72%; width: 46%; }
.lab-simulate-mobile .silence-void { top: 36%; left: 31%; width: 39%; height: 29%; }
.lab-simulate-mobile .wedge-nw { right: 42%; bottom: 59%; }
.lab-simulate-mobile .wedge-n { left: 30%; width: 43%; height: 35%; }
.lab-simulate-mobile .wedge-ne { left: 59%; bottom: 57%; }
.lab-simulate-mobile .wedge-w { width: 34%; }
.lab-simulate-mobile .wedge-e { width: 34%; }
.lab-simulate-mobile .wedge-sw { right: 53%; }
.lab-simulate-mobile .wedge-s { left: 26%; width: 48%; }
.lab-simulate-mobile .wedge-se { left: 56%; }
.lab-simulate-mobile .silence-statement { left: 18px; bottom: 3%; width: 52%; font-size: 22px; }
.lab-simulate-mobile .silence-wedge > span:not(.order-tag) { font-size: 7px; letter-spacing: .1em; }
.lab-simulate-mobile .music-chamber strong { font-size: clamp(19px, 6vw, 29px); }
.lab-simulate-mobile .chamber-one > div { left: 5%; top: 35%; width: 55%; }
.lab-simulate-mobile .chamber-two > div { right: 7%; top: 37%; width: 55%; }
.lab-simulate-mobile .chamber-three > div { left: 6%; top: 39%; width: 52%; }
.lab-simulate-mobile .chamber-four > div { right: 9%; top: 43%; width: 58%; }
.lab-simulate-mobile .music-note { width: clamp(76px, 24vw, 110px); }
.lab-simulate-mobile .note-one { left: 48%; }
.lab-simulate-mobile .note-two { right: 5%; }
.lab-simulate-mobile .note-three { left: 10%; }
.lab-simulate-mobile .music-bars { right: 3%; width: 38px; }
.lab-simulate-mobile .music-rest { left: 28%; width: 22%; }

@media (max-width: 780px) {
  .lab-intro {
    min-height: 72vh;
    grid-template-columns: 58px 1fr;
    gap: 22px;
    align-items: center;
    padding: 100px 20px 72px;
  }

  .lab-intro p {
    grid-column: 2;
  }

  .lab-controls {
    top: 118px;
    margin-right: 10px;
  }

  .lab-control-trigger span:last-child {
    display: none;
  }

  .exp-section {
    min-height: 820px;
    height: 105vh;
    max-height: 980px;
  }

  .exp-heading {
    top: 34px;
    left: 18px;
    max-width: 80%;
  }

  .exp-heading-right {
    right: 18px;
    left: auto;
  }

  .exp-heading h3 {
    font-size: clamp(31px, 10vw, 48px);
  }

  .splice-organic {
    top: 18%;
    bottom: 7%;
    width: 59%;
  }

  .splice-organic-echo {
    top: 17%;
    bottom: 5%;
    width: 59%;
  }

  .splice-math-a { top: 13%; width: 61%; height: 31%; }
  .splice-math-b { top: 43%; width: 55%; height: 28%; }
  .splice-math-c { width: 66%; height: 31%; }
  .splice-suture { left: 52%; width: 16%; top: 19%; }
  .splice-copy { left: 18px; bottom: 10%; width: 48%; padding-left: 10px; }
  .splice-copy p { font-size: clamp(20px, 6.6vw, 31px); }
  .splice-axis { font-size: 7px; }
  .splice-branch { left: 48%; font-size: 7px; padding-inline: 6px; }
  .branch-one { top: 35%; width: 42%; }
  .branch-two { top: 53%; width: 35%; }
  .branch-three { top: 72%; width: 46%; }

  .silence-void {
    top: 36%;
    left: 31%;
    width: 39%;
    height: 29%;
  }

  .wedge-nw { right: 42%; bottom: 59%; }
  .wedge-n { left: 30%; width: 43%; height: 35%; }
  .wedge-ne { left: 59%; bottom: 57%; }
  .wedge-w { width: 34%; }
  .wedge-e { width: 34%; }
  .wedge-sw { right: 53%; }
  .wedge-s { left: 26%; width: 48%; }
  .wedge-se { left: 56%; }
  .silence-statement { left: 18px; bottom: 3%; width: 52%; font-size: 22px; }
  .silence-wedge > span:not(.order-tag) { font-size: 7px; letter-spacing: .1em; }

  .music-chamber strong { font-size: clamp(19px, 6vw, 29px); }
  .chamber-one > div { left: 5%; top: 35%; width: 55%; }
  .chamber-two > div { right: 7%; top: 37%; width: 55%; }
  .chamber-three > div { left: 6%; top: 39%; width: 52%; }
  .chamber-four > div { right: 9%; top: 43%; width: 58%; }
  .music-note { width: clamp(76px, 24vw, 110px); }
  .note-one { left: 48%; }
  .note-two { right: 5%; }
  .note-three { left: 10%; }
  .music-bars { right: 3%; width: 38px; }
  .music-rest { left: 28%; width: 22%; }
}

@media (prefers-reduced-motion: reduce) {
  .layout-lab *,
  .layout-lab *::before,
  .layout-lab *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

.lab-intro.lab-intro-video {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.lab-intro-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
