:root {
  --ink: #182126;
  --ink-soft: #37444a;
  --paper: #f5ecd8;
  --cream: #efe2c8;
  --cream-light: #fff9e9;
  --cream-deep: #c9b690;
  --navy: #081c25;
  --navy-soft: #102f3a;
  --cyan: #39d9e6;
  --cyan-deep: #087f94;
  --green: #7bd66b;
  --amber: #f3b43d;
  --orange: #e9762c;
  --coral: #e88078;
  --white: #fffdf5;
  --door-motion: 760ms cubic-bezier(.2,.85,.2,1);
  --quick-motion: 180ms ease;
  --crimp-motion: 1350ms;
  --outline: 3px solid #1a8ea0;
}

* { box-sizing: border-box; }

html,
body { min-height: 100%; }

html { color-scheme: light; }

body {
  margin: 0;
  min-width: 320px;
  overflow: hidden;
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, sans-serif;
  background:
    radial-gradient(circle at 50% 110%, rgba(20, 91, 99, .15), transparent 35%),
    linear-gradient(135deg, #f4ead7 0%, #faf5e9 49%, #ede0c9 100%);
}

button,
a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

button:focus-visible,
a:focus-visible { outline: var(--outline); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform var(--quick-motion);
}

.skip-link:focus { transform: translateY(0); }

.studio {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
}

.studio::before,
.studio::after {
  content: "";
  position: absolute;
  z-index: -4;
  pointer-events: none;
}

.studio::before {
  inset: 0;
  background:
    linear-gradient(rgba(68, 48, 27, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 48, 27, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.studio::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 24%;
  background:
    linear-gradient(180deg, rgba(185, 159, 118, 0), rgba(180, 151, 109, .2)),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(95, 68, 35, .07) 71px 72px);
  border-top: 1px solid rgba(71, 53, 31, .12);
  transform: perspective(800px) rotateX(54deg) scaleX(1.25);
  transform-origin: bottom;
}

.studio__glow {
  position: absolute;
  z-index: -3;
  width: 34rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
}

.studio__glow--one {
  top: -13rem;
  left: -9rem;
  background: rgba(57, 217, 230, .12);
}

.studio__glow--two {
  right: -14rem;
  bottom: -16rem;
  background: rgba(243, 180, 61, .17);
}

.studio__grain {
  position: absolute;
  inset: 0;
  z-index: 40;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.studio-mark {
  position: fixed;
  top: clamp(18px, 3vw, 36px);
  left: clamp(18px, 3vw, 42px);
  z-index: 50;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "spark name" "spark copy";
  gap: 0 10px;
  align-items: center;
}

.studio-mark__spark {
  grid-area: spark;
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 14px;
  color: var(--white);
  background: var(--cyan-deep);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 20px;
}

.studio-mark__name {
  grid-area: name;
  font: 800 clamp(17px, 2vw, 23px)/1 "Bricolage Grotesque", sans-serif;
  letter-spacing: -.035em;
}

.studio-mark__copy {
  grid-area: copy;
  margin-top: 4px;
  color: rgba(24, 33, 38, .66);
  font: 700 10px/1 "JetBrains Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.studio-actions {
  position: fixed;
  top: clamp(18px, 3vw, 36px);
  right: clamp(18px, 3vw, 42px);
  z-index: 50;
  display: flex;
  gap: 10px;
}

.studio-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 2px solid rgba(24, 33, 38, .9);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 253, 245, .72);
  box-shadow: 3px 4px 0 rgba(24, 33, 38, .9);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font: 800 12px/1 "Bricolage Grotesque", sans-serif;
  letter-spacing: .03em;
  transition: transform var(--quick-motion), box-shadow var(--quick-motion), background var(--quick-motion);
}

.studio-action svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-action:hover { transform: translateY(-2px); box-shadow: 3px 6px 0 rgba(24, 33, 38, .9); }
.studio-action:active { transform: translate(2px, 2px); box-shadow: 1px 2px 0 rgba(24, 33, 38, .9); }

.studio-action--primary {
  color: var(--white);
  background: var(--ink);
}

.toggle-led {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(123, 214, 107, .16), 0 0 12px var(--green);
}

.hint-card {
  position: absolute;
  z-index: 7;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon title" "icon copy";
  column-gap: 10px;
  width: 170px;
  padding: 12px 14px;
  border: 2px solid rgba(24, 33, 38, .72);
  border-radius: 16px;
  background: rgba(255, 253, 245, .62);
  box-shadow: 4px 5px 0 rgba(24, 33, 38, .78);
  backdrop-filter: blur(9px);
  transform: rotate(var(--hint-rotation));
}

.hint-card::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 2px;
  background: rgba(24, 33, 38, .62);
}

.hint-card--drag {
  --hint-rotation: -3deg;
  top: 25%;
  left: max(24px, calc(50% - 440px));
}

.hint-card--drag::after { top: 50%; right: -38px; transform: rotate(9deg); }

.hint-card--open {
  --hint-rotation: 3deg;
  right: max(24px, calc(50% - 445px));
  bottom: 25%;
}

.hint-card--open::after { top: 42%; left: -38px; transform: rotate(-12deg); }

.hint-card__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--white);
  background: var(--cyan-deep);
  font-weight: 900;
}

.hint-card strong {
  grid-area: title;
  font: 800 13px/1.05 "Bricolage Grotesque", sans-serif;
}

.hint-card small {
  grid-area: copy;
  margin-top: 3px;
  color: rgba(24, 33, 38, .65);
  font-size: 11px;
}

.fridge-stage {
  position: absolute;
  inset: 82px 10px 28px;
  z-index: 10;
  display: grid;
  place-items: center;
  perspective: 2200px;
}

.fridge-shadow {
  position: absolute;
  left: 50%;
  bottom: 1.3%;
  width: min(57vw, 720px);
  height: 7%;
  border-radius: 50%;
  background: rgba(37, 29, 18, .26);
  filter: blur(15px);
  transform: translateX(-50%);
}

.fridge {
  position: relative;
  width: min(48vw, 66svh, 590px);
  min-width: 300px;
  aspect-ratio: .73;
  transform-style: preserve-3d;
  filter: drop-shadow(0 28px 24px rgba(60, 45, 25, .18));
}

.fridge__side {
  position: absolute;
  top: 7%;
  bottom: 5%;
  left: -7.5%;
  z-index: -1;
  width: 18%;
  border: 3px solid var(--ink);
  border-right: 0;
  border-radius: 28% 0 0 16%;
  background:
    linear-gradient(90deg, rgba(24, 33, 38, .14), transparent 24%),
    linear-gradient(180deg, #b7a37e, #d8c6a4 28%, #aa9775 100%);
  box-shadow: inset 15px 0 24px rgba(57, 42, 26, .17);
  transform: skewY(-2deg);
}

.side-vent {
  position: absolute;
  left: 27%;
  width: 42%;
  height: 1.7%;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
}

.side-vent--one { top: 12%; }
.side-vent--two { top: 15%; }
.side-vent--three { top: 18%; }
.side-bolt { position: absolute; left: 24%; width: 9%; aspect-ratio: 1; border: 2px solid rgba(24,33,38,.65); border-radius: 50%; }
.side-bolt--one { top: 28%; }
.side-bolt--two { bottom: 10%; }

.fridge__shell {
  position: absolute;
  inset: 0;
  border: 4px solid var(--ink);
  border-radius: 13% 13% 7% 7% / 9% 9% 5% 5%;
  background:
    radial-gradient(circle at 23% 7%, rgba(255,255,255,.9), transparent 18%),
    linear-gradient(112deg, var(--cream-light) 0%, var(--cream) 47%, #cdbb97 100%);
  box-shadow:
    inset 12px 0 22px rgba(255,255,255,.5),
    inset -16px -12px 26px rgba(76, 56, 31, .13),
    0 4px 0 rgba(24,33,38,.25);
  transform-style: preserve-3d;
}

.fridge__crown {
  position: absolute;
  top: 1.1%;
  left: 11%;
  right: 8%;
  height: 2.1%;
  border-radius: 50%;
  border-top: 3px solid rgba(255,255,255,.9);
  opacity: .9;
}

.brand-plate {
  position: absolute;
  top: 2.8%;
  left: 18%;
  right: 18%;
  z-index: 37;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 7.8%;
  padding: 6px 12px 6px 16px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  color: #e8f9ec;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #29383b, #131d20);
  box-shadow: inset 0 0 0 3px #69716d, 0 5px 0 rgba(24,33,38,.18);
}

.brand-plate__bolt {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #bcae91;
  box-shadow: calc(100% + 4px) 0 0 #bcae91;
}

.brand-plate__eyebrow {
  display: block;
  margin-bottom: 1px;
  color: var(--cyan);
  font: 600 clamp(5px, .6vw, 8px)/1 "JetBrains Mono", monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.brand-plate h1 {
  margin: 0;
  font: 800 clamp(15px, 2.1vw, 27px)/.9 "Bricolage Grotesque", sans-serif;
  letter-spacing: .07em;
}

.brand-plate h1 span { color: var(--amber); }

.brand-plate__ai {
  display: grid;
  place-items: center;
  width: clamp(25px, 3vw, 40px);
  aspect-ratio: 1;
  border: 2px solid #65706d;
  border-radius: 9px;
  color: var(--navy);
  background: var(--green);
  font: 800 clamp(9px, 1vw, 14px)/1 "JetBrains Mono", monospace;
  box-shadow: 0 0 13px rgba(123,214,107,.45);
}

.fridge-status {
  position: absolute;
  top: 11.3%;
  right: 7.8%;
  z-index: 36;
  display: flex;
  align-items: center;
  gap: clamp(3px, .55vw, 7px);
  height: 3.7%;
  padding: 0 clamp(5px, 1vw, 12px);
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(180deg, #344246, #111b1e);
  box-shadow: 0 3px 0 rgba(24,33,38,.2);
}

.fridge-status__wave {
  width: clamp(22px, 4.4vw, 48px);
  height: 1px;
  margin-right: 3px;
  background: var(--green);
  box-shadow: 0 0 7px var(--green);
}

.status-light {
  width: clamp(4px, .65vw, 8px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
}

.status-light--green { background: var(--green); box-shadow: 0 0 7px var(--green); }
.status-light--cyan { background: var(--cyan); box-shadow: 0 0 7px var(--cyan); }
.status-light--amber { background: var(--amber); box-shadow: 0 0 7px var(--amber); }

.fridge__opening,
.door {
  position: absolute;
  top: 16.2%;
  right: 4.6%;
  bottom: 4.2%;
  left: 4.6%;
  border-radius: 7% 7% 5% 5% / 5% 5% 4% 4%;
}

.fridge__opening {
  z-index: 10;
  overflow: hidden;
  border: 4px solid var(--ink);
  background: var(--navy);
  box-shadow: inset 0 0 0 7px #536064, inset 0 0 0 11px #132229;
}

.lab {
  position: absolute;
  inset: 9px;
  overflow: hidden;
  border-radius: 5% 5% 4% 4%;
  background:
    linear-gradient(90deg, rgba(57,217,230,.04) 1px, transparent 1px),
    linear-gradient(rgba(57,217,230,.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 60%, #164452 0%, #0b2630 42%, #06161d 100%);
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: inset 0 0 45px #000;
}

.lab-page {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8%) scale(.985);
  transition: opacity .36s ease, transform .52s cubic-bezier(.2,.85,.2,1), visibility .36s;
}

.lab-page.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.lab-page--system { background: transparent; }

.lab-page--ideas {
  padding: 3.5% 4%;
  background:
    radial-gradient(circle at 18% 19%, rgba(243,180,61,.16), transparent 22%),
    radial-gradient(circle at 82% 34%, rgba(57,217,230,.16), transparent 27%),
    linear-gradient(90deg, rgba(57,217,230,.04) 1px, transparent 1px),
    linear-gradient(rgba(57,217,230,.04) 1px, transparent 1px),
    #071b23;
  background-size: auto, auto, 18px 18px, 18px 18px, auto;
}

.lab-pager {
  position: absolute;
  z-index: 30;
  right: 4%;
  bottom: 2.2%;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 5px;
  border: 1px solid rgba(129, 229, 235, .28);
  border-radius: 999px;
  background: rgba(3, 14, 19, .82);
  box-shadow: 0 0 12px rgba(57,217,230,.14);
}

.lab-pager button {
  display: grid;
  place-items: center;
  width: clamp(18px, 2.5vw, 30px);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  color: rgba(206, 245, 241, .55);
  background: transparent;
  cursor: pointer;
  font: 700 clamp(5px, .55vw, 8px)/1 "JetBrains Mono", monospace;
}

.lab-pager button[aria-pressed="true"] {
  border-color: #b8fbff;
  color: var(--navy);
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
}

.lab-pager i { width: clamp(8px, 1.3vw, 16px); height: 1px; background: rgba(160,230,232,.35); }

.ideas-header {
  position: relative;
  z-index: 4;
  width: 67%;
  min-height: 12%;
  padding: 2.5% 4%;
  border: 2px solid #476067;
  border-radius: 10px;
  color: #ecfffa;
  background: linear-gradient(135deg, rgba(19,58,64,.95), rgba(5,25,32,.92));
  box-shadow: 4px 5px 0 rgba(0,0,0,.28), 0 0 12px rgba(57,217,230,.12);
}

.ideas-header span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font: 600 clamp(3px, .48vw, 6px)/1 "JetBrains Mono", monospace;
  letter-spacing: .11em;
}

.ideas-header span i { width: 5px; aspect-ratio: 1; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }
.ideas-header strong { display: block; margin-top: 2%; font: 800 clamp(10px, 1.45vw, 19px)/.92 "Bricolage Grotesque", sans-serif; letter-spacing: -.04em; }
.ideas-header small { display: block; margin-top: 2%; color: rgba(224,253,249,.58); font: 500 clamp(3px, .45vw, 6px)/1.2 "JetBrains Mono", monospace; }

.idea-bulbs { position: absolute; z-index: 3; top: 0; right: 2%; width: 34%; height: 18%; }

.idea-bulb { position: absolute; top: 0; width: 15%; aspect-ratio: .72; transform-origin: 50% 0; animation: bulb-sway 3.8s ease-in-out infinite; }
.idea-bulb::before { content: ""; position: absolute; top: 0; left: 49%; width: 1px; height: 29%; background: rgba(191,224,222,.55); }
.idea-bulb i { position: absolute; left: 16%; bottom: 14%; width: 68%; aspect-ratio: 1; border: 2px solid #fff2b5; border-radius: 50% 50% 42% 42%; background: var(--amber); box-shadow: 0 0 9px var(--amber), 0 0 21px rgba(243,180,61,.55); }
.idea-bulb i::before { content: ""; position: absolute; left: 43%; bottom: -28%; width: 14%; height: 34%; border-radius: 2px; background: #b5c4bd; box-shadow: -2px 0 0 #53686a, 2px 0 0 #53686a; }
.idea-bulb b { position: absolute; left: 40%; bottom: 0; width: 20%; height: 12%; border-radius: 0 0 4px 4px; background: #42575a; }
.idea-bulb--one { left: 0; animation-delay: -.7s; }
.idea-bulb--two { left: 20%; top: 8%; scale: .72; animation-delay: -1.7s; }
.idea-bulb--three { left: 40%; top: -2%; scale: .88; animation-delay: -2.4s; }
.idea-bulb--four { left: 61%; top: 10%; scale: .66; animation-delay: -.2s; }
.idea-bulb--five { right: 0; top: 1%; scale: .82; animation-delay: -3.1s; }

.concept-grid {
  position: absolute;
  z-index: 5;
  top: 17%;
  right: 4%;
  left: 4%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3%;
  height: 35%;
}

.concept-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: clamp(2px, .35vw, 4px) solid #536970;
  border-radius: 10%;
  color: #effffd;
  background: #0b2731;
  box-shadow: 5px 6px 0 rgba(0,0,0,.32), 0 0 16px rgba(57,217,230,.15);
  cursor: pointer;
  text-align: left;
  transition: transform var(--quick-motion), border-color var(--quick-motion), box-shadow var(--quick-motion);
}

.concept-card:hover,
.concept-card:focus-visible { z-index: 2; border-color: var(--cyan); transform: translateY(-3%) rotate(-.5deg); box-shadow: 5px 8px 0 rgba(0,0,0,.32), 0 0 20px rgba(57,217,230,.3); }

.concept-card__media { position: absolute; inset: 0 0 31%; overflow: hidden; background: #dceef2; }
.concept-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,28,36,.56)); }
.concept-card__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }

.concept-card__copy { position: absolute; z-index: 3; right: 5%; bottom: 5%; left: 5%; display: grid; }
.concept-card__copy small { color: var(--cyan); font: 600 clamp(3px, .43vw, 6px)/1 "JetBrains Mono", monospace; letter-spacing: .08em; }
.concept-card__copy strong { margin-top: 2%; font: 800 clamp(9px, 1.25vw, 17px)/.9 "Bricolage Grotesque", sans-serif; }
.concept-card__copy em { margin-top: 2%; overflow: hidden; color: rgba(239,255,253,.63); font: 500 clamp(3px, .44vw, 6px)/1.15 "JetBrains Mono", monospace; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }

.concept-card__charge { position: absolute; z-index: 4; top: 5%; right: 5%; display: flex; align-items: center; gap: 4px; padding: 3% 4%; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; color: #06222a; background: rgba(239,255,253,.86); font: 700 clamp(3px, .4vw, 6px)/1 "JetBrains Mono", monospace; }
.concept-card__charge i { width: 5px; aspect-ratio: 1; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }

.pcbola-art { position: absolute; top: 0; right: 0; left: 0; height: 68%; overflow: hidden; background: radial-gradient(circle at 50% 58%, #1b6170, #071d27 69%); }
.pcbola-art::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 28%; background: linear-gradient(180deg, transparent, rgba(3,18,24,.7)); }
.pcbola-wave { position: absolute; right: -10%; left: -10%; height: 25%; border-top: clamp(2px, .35vw, 4px) solid var(--cyan); border-radius: 50%; opacity: .6; }
.pcbola-wave--one { bottom: 5%; transform: rotate(4deg); }
.pcbola-wave--two { bottom: -8%; transform: rotate(-4deg); opacity: .32; }
.pc-ball, .power-ball { position: absolute; z-index: 2; display: block; aspect-ratio: 1; border: clamp(2px, .4vw, 5px) solid #d7fbfa; border-radius: 50%; box-shadow: 0 0 16px rgba(57,217,230,.55); }
.pc-ball { top: 15%; left: 19%; width: 36%; background: radial-gradient(circle at 36% 27%, #dbffff, #278da1 44%, #0b3442 76%); }
.power-ball { top: 31%; right: 17%; width: 28%; border-color: #ffe19b; background: radial-gradient(circle at 34% 28%, #fff4b7, #f3b43d 43%, #8f541e 76%); box-shadow: 0 0 16px rgba(243,180,61,.55); }
.pc-ball i { position: absolute; inset: 27%; border: 2px solid rgba(224,255,255,.8); border-radius: 22%; background: rgba(5,28,37,.76); }
.pc-ball b { position: absolute; top: 14%; left: 47%; width: 5%; height: 72%; border-radius: 99px; background: rgba(205,254,255,.3); transform: rotate(32deg); }
.pc-ball em { position: absolute; inset: 0; display: grid; place-items: center; color: #dff; font: 800 clamp(5px, .8vw, 11px)/1 "JetBrains Mono", monospace; font-style: normal; }
.power-ball i { position: absolute; inset: 20%; border: 1px dashed rgba(59,39,13,.62); border-radius: 50%; }
.power-ball b { position: absolute; inset: 0; display: grid; place-items: center; color: #4c3217; font-size: clamp(8px, 1.3vw, 18px); }
.pcbola-link { position: absolute; z-index: 3; top: 48%; left: 49%; width: 21%; height: 4%; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--amber)); box-shadow: 0 0 8px rgba(255,222,132,.5); transform: rotate(13deg); }

.idea-wall {
  position: absolute;
  z-index: 4;
  top: 55%;
  right: 4%;
  left: 4%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3% 2%;
  height: 33%;
}

.idea-note {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 7% 7% 6%;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 8px;
  color: #071b23;
  box-shadow: 2px 3px 0 rgba(0,0,0,.24);
  transform: rotate(var(--note-rotate));
}

.idea-note i { position: absolute; top: 7%; right: 7%; opacity: .48; font: 700 clamp(3px, .38vw, 5px)/1 "JetBrains Mono", monospace; font-style: normal; }
.idea-note strong { overflow: hidden; font: 800 clamp(6px, .75vw, 10px)/.95 "Bricolage Grotesque", sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.idea-note small { margin-top: 5%; overflow: hidden; font: 600 clamp(3px, .4vw, 5px)/1 "JetBrains Mono", monospace; white-space: nowrap; text-overflow: ellipsis; }
.idea-note--cyan { --note-rotate: -1.4deg; background: #8de3df; }
.idea-note--amber { --note-rotate: 1deg; background: #f3c766; }
.idea-note--green { --note-rotate: -.5deg; background: #9bd98c; }
.idea-note--blue { --note-rotate: 1.2deg; background: #7fc5e6; }
.idea-note--cream { --note-rotate: -.8deg; background: #efe2c8; }
.idea-note--coral { --note-rotate: .6deg; background: #e99a83; }

.ideas-sparkline { position: absolute; right: 27%; bottom: 2.2%; left: 4%; display: flex; align-items: end; gap: 2%; height: 4%; opacity: .62; }
.ideas-sparkline i { flex: 1; height: var(--spark, 50%); border-radius: 2px 2px 0 0; background: var(--cyan); box-shadow: 0 0 5px rgba(57,217,230,.45); }
.ideas-sparkline i:nth-child(1) { --spark: 25%; }.ideas-sparkline i:nth-child(2) { --spark: 66%; }.ideas-sparkline i:nth-child(3) { --spark: 42%; }.ideas-sparkline i:nth-child(4) { --spark: 85%; }.ideas-sparkline i:nth-child(5) { --spark: 55%; }.ideas-sparkline i:nth-child(6) { --spark: 92%; }.ideas-sparkline i:nth-child(7) { --spark: 73%; }

.lab__ambient {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .25;
}

.lab__ambient--cyan { right: -16%; top: 16%; background: var(--cyan); }
.lab__ambient--amber { left: -20%; bottom: -12%; background: var(--orange); }

.lab-pipes { position: absolute; inset: 0; }

.pipe {
  position: absolute;
  display: block;
  border: clamp(3px, .55vw, 7px) solid #314449;
  filter: drop-shadow(0 0 4px rgba(57,217,230,.5));
}

.pipe::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--cyan);
  border-radius: inherit;
  opacity: .45;
}

.pipe--one { top: 3%; left: 3%; width: 44%; height: 15%; border-right: 0; border-bottom: 0; border-radius: 18px 0 0 0; }
.pipe--two { top: 4%; right: 2%; width: 14%; height: 38%; border-left: 0; border-bottom: 0; border-radius: 0 18px 0 0; border-color: #66472c; }
.pipe--two::after { border-color: var(--amber); }
.pipe--three { bottom: 15%; left: 3%; width: 22%; height: 28%; border-right: 0; border-top: 0; border-radius: 0 0 0 18px; }

.lab-console {
  position: absolute;
  z-index: 3;
  top: 8%;
  left: 7%;
  width: 53%;
  height: 35%;
  border: clamp(2px, .5vw, 6px) solid #59666a;
  border-radius: 9%;
  background: linear-gradient(145deg, #647176, #27363a 65%);
  box-shadow: 7px 9px 0 rgba(0,0,0,.35), 0 0 18px rgba(57,217,230,.18);
  transform: rotate(-1.2deg);
}

.lab-console__top {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 12%;
  padding: 0 5%;
}

.console-dot { width: 3.2%; aspect-ratio: 1; border-radius: 50%; }
.console-dot--red { background: var(--coral); }
.console-dot--amber { background: var(--amber); }
.console-dot--green { background: var(--green); }

.lab-console__label {
  margin-left: auto;
  color: rgba(255,255,255,.65);
  font: 600 clamp(3px, .45vw, 6px)/1 "JetBrains Mono", monospace;
  letter-spacing: .08em;
}

.lab-console__screen {
  position: absolute;
  top: 13%;
  left: 5%;
  right: 5%;
  bottom: 21%;
  padding: 5% 6%;
  border: 2px solid #081014;
  border-radius: 6%;
  color: var(--green);
  background:
    linear-gradient(rgba(123,214,107,.04) 50%, transparent 50%),
    radial-gradient(circle at 50% 40%, #123c31, #03120e 74%);
  background-size: 100% 4px, auto;
  box-shadow: inset 0 0 18px #000, 0 0 10px rgba(123,214,107,.22);
  font-family: "JetBrains Mono", monospace;
}

.screen-kicker {
  display: block;
  margin-bottom: 3%;
  color: var(--cyan);
  font-size: clamp(4px, .58vw, 8px);
  letter-spacing: .12em;
}

.lab-console__screen strong {
  display: block;
  margin-bottom: 7%;
  color: #e7f6cc;
  font-size: clamp(7px, 1.1vw, 14px);
  line-height: 1;
}

.terminal-line {
  display: block;
  margin: 3.4% 0;
  white-space: nowrap;
  font-size: clamp(3px, .52vw, 7px);
}

.terminal-line i {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px var(--green);
}

.lab-console__keys {
  position: absolute;
  right: 10%;
  bottom: -11%;
  left: 10%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3%;
  height: 26%;
  padding: 5%;
  border: 2px solid #182429;
  border-radius: 5px 5px 12px 12px;
  background: #5b6665;
  transform: perspective(180px) rotateX(54deg);
  transform-origin: top;
}

.lab-console__keys i { border-radius: 2px; background: #151f22; box-shadow: inset 0 -1px 0 var(--cyan); }

.agent-rack {
  position: absolute;
  z-index: 3;
  top: 8%;
  right: 5%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
  width: 31%;
  padding: 4% 3% 3%;
  border: 2px solid #40545b;
  border-radius: 10%;
  color: #c9f7fa;
  background: rgba(5, 19, 25, .78);
  box-shadow: 0 0 14px rgba(57,217,230,.2);
}

.agent-rack__title {
  grid-column: 1 / -1;
  text-align: center;
  font: 600 clamp(3px, .38vw, 5px)/1 "JetBrains Mono", monospace;
  letter-spacing: .09em;
}

.agent-chip { display: grid; justify-items: center; gap: 5%; }
.agent-chip small { font: 600 clamp(3px, .34vw, 5px)/1 "JetBrains Mono", monospace; }

.agent-face {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.15;
  border: 2px solid #62757a;
  border-radius: 35%;
  background: linear-gradient(145deg, #e5ecdf, #8fa8a6);
}

.agent-face::before {
  content: "";
  position: absolute;
  inset: 20% 12% 25%;
  border-radius: 30%;
  background: #061a22;
  box-shadow: inset 0 0 8px rgba(57,217,230,.4);
}

.agent-face i {
  position: absolute;
  z-index: 1;
  top: 44%;
  width: 9%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 4px var(--cyan);
}

.agent-face i:first-of-type { left: 31%; }
.agent-face i:nth-of-type(2) { right: 31%; }
.agent-face b { position: absolute; z-index: 1; left: 42%; bottom: 31%; width: 18%; height: 8%; border-bottom: 1px solid var(--cyan); border-radius: 50%; }
.agent-face--green i { background: var(--green); box-shadow: 0 0 4px var(--green); }
.agent-face--green b { border-color: var(--green); }
.agent-face--amber i { background: var(--amber); box-shadow: 0 0 4px var(--amber); }
.agent-face--amber b { border-color: var(--amber); }

.chain-core {
  position: absolute;
  z-index: 2;
  top: 45%;
  right: 5%;
  width: 39%;
  height: 23%;
  padding: 4% 3% 1%;
  border: 2px solid #40545b;
  border-radius: 10%;
  color: var(--cyan);
  background: rgba(3, 16, 22, .75);
  box-shadow: inset 0 0 18px #000, 0 0 14px rgba(57,217,230,.2);
}

.chain-core__title {
  display: block;
  color: #c8f7f6;
  text-align: center;
  font: 600 clamp(4px, .48vw, 7px)/1 "JetBrains Mono", monospace;
  letter-spacing: .1em;
}

.chain-core svg { width: 100%; height: 84%; }
.chain-links path { fill: none; stroke: var(--cyan); stroke-width: 3; opacity: .6; filter: drop-shadow(0 0 4px var(--cyan)); }
.chain-nodes circle { fill: #0b5f73; stroke: #b1f8ff; stroke-width: 3; filter: drop-shadow(0 0 5px var(--cyan)); }

.lab-robot {
  position: absolute;
  z-index: 5;
  top: 44%;
  left: 10%;
  width: 23%;
  aspect-ratio: .75;
  animation: robot-float 4s ease-in-out infinite;
}

.lab-robot__antenna { position: absolute; top: 0; left: 48%; width: 4%; height: 16%; border-radius: 999px; background: #bccbc6; }
.lab-robot__antenna i { position: absolute; top: -15%; left: -100%; width: 300%; aspect-ratio: 1; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }

.lab-robot__head {
  position: absolute;
  top: 12%;
  left: 9%;
  width: 82%;
  height: 44%;
  border: clamp(2px, .4vw, 5px) solid #c8d6ce;
  border-radius: 43%;
  background: #061a22;
  box-shadow: 0 0 0 3px #64777a, 0 0 15px rgba(57,217,230,.4);
}

.lab-robot__head i { position: absolute; top: 40%; width: 12%; aspect-ratio: 1; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 7px var(--cyan); }
.lab-robot__head i:first-of-type { left: 25%; }
.lab-robot__head i:nth-of-type(2) { right: 25%; }
.lab-robot__head b { position: absolute; left: 39%; bottom: 24%; width: 22%; height: 10%; border-bottom: 2px solid var(--cyan); border-radius: 50%; }

.lab-robot__body {
  position: absolute;
  top: 57%;
  left: 23%;
  width: 54%;
  height: 36%;
  border: clamp(2px, .4vw, 5px) solid #c8d6ce;
  border-radius: 40% 40% 48% 48%;
  background: linear-gradient(145deg, #a5bbb7, #50686c);
}

.lab-robot__body b { position: absolute; inset: 26%; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--cyan); font: 800 clamp(5px, .7vw, 10px)/1 "JetBrains Mono", monospace; }
.lab-robot__arm { position: absolute; top: 62%; width: 29%; height: 11%; border: 3px solid #c8d6ce; border-radius: 999px; background: #526a6e; }
.lab-robot__arm--left { left: 0; transform: rotate(-31deg); }
.lab-robot__arm--right { right: 0; transform: rotate(31deg); }

.race-loop {
  position: absolute;
  z-index: 4;
  right: 2%;
  bottom: 7%;
  left: 2%;
  height: 24%;
  filter: drop-shadow(0 0 7px rgba(57,217,230,.7));
}

.race-loop svg { width: 100%; height: 100%; overflow: visible; }
.race-loop path { fill: none; stroke-linecap: round; }
.race-loop__outer { stroke: #223d46; stroke-width: 34; }
.race-loop__dash { stroke: var(--cyan); stroke-width: 3; stroke-dasharray: 12 13; animation: road-flow 12s linear infinite; }

.mini-kart { position: absolute; left: 52%; bottom: 28%; width: 15%; aspect-ratio: 1.5; transform: rotate(11deg); }
.mini-kart__body { position: absolute; left: 12%; right: 4%; bottom: 12%; height: 42%; border: 2px solid var(--ink); border-radius: 50% 45% 35% 35%; background: var(--orange); }
.mini-kart__bot { position: absolute; z-index: 2; left: 42%; top: 3%; width: 28%; aspect-ratio: 1; border: 2px solid #dbe9e2; border-radius: 50%; background: var(--navy); }
.mini-kart b { position: absolute; bottom: 0; width: 27%; aspect-ratio: 1; border-radius: 50%; background: #05090a; border: 1px solid var(--amber); }
.mini-kart b:first-of-type { left: 6%; }
.mini-kart b:nth-of-type(2) { right: 0; }

.cat-shelf {
  position: absolute;
  z-index: 4;
  right: 7%;
  bottom: 25%;
  width: 29%;
  height: 7%;
  border: 2px solid #66777a;
  border-radius: 5px;
  background: #25383d;
  box-shadow: 0 5px 0 #081216;
}

.cat-shelf__cat { position: absolute; right: 12%; bottom: 40%; width: 63%; aspect-ratio: 1.7; border-radius: 50% 45% 42% 48%; background: #d6924b; border: 2px solid #1c272b; }
.cat-shelf__cat::before, .cat-shelf__cat::after { content: ""; position: absolute; top: -27%; width: 31%; aspect-ratio: 1; background: #d6924b; border: 2px solid #1c272b; transform: rotate(45deg); }
.cat-shelf__cat::before { left: 13%; }
.cat-shelf__cat::after { right: 13%; }
.cat-shelf__cat i { position: absolute; z-index: 1; top: 39%; width: 5%; height: 2px; background: var(--ink); }
.cat-shelf__cat i:first-of-type { left: 34%; transform: rotate(10deg); }
.cat-shelf__cat i:nth-of-type(2) { right: 34%; transform: rotate(-10deg); }
.cat-shelf__cat b { position: absolute; z-index: 1; left: 48%; top: 49%; width: 8%; height: 7%; border-radius: 50%; background: #8a4938; }

.lab-floor { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); height: 9%; perspective: 120px; }
.lab-floor span { border: 1px solid rgba(57,217,230,.2); background: linear-gradient(180deg, rgba(57,217,230,.13), transparent); transform: rotateX(34deg); }

.door {
  z-index: 30;
  transform-origin: calc(100% - 4px) 50%;
  transform-style: preserve-3d;
  transition: transform var(--door-motion), filter var(--door-motion);
  will-change: transform;
}

.door::before {
  content: "LAB / 04";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: end center;
  padding-bottom: 9%;
  border: 4px solid var(--ink);
  border-radius: inherit;
  color: rgba(178,246,251,.72);
  background:
    linear-gradient(90deg, rgba(57,217,230,.09) 1px, transparent 1px),
    linear-gradient(rgba(57,217,230,.09) 1px, transparent 1px),
    radial-gradient(circle at 50% 35%, rgba(57,217,230,.28), transparent 25%),
    #09222b;
  background-size: 22px 22px, 22px 22px, auto, auto;
  box-shadow: inset 0 0 0 8px #34464c, inset 0 0 28px #000;
  font: 700 clamp(8px, 1vw, 13px)/1 "JetBrains Mono", monospace;
  letter-spacing: .18em;
  transform: rotateY(180deg) translateZ(3px);
  backface-visibility: hidden;
}

.door__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: inherit;
  background:
    radial-gradient(circle at 24% 8%, rgba(255,255,255,.9), transparent 23%),
    linear-gradient(110deg, var(--cream-light), var(--cream) 51%, #cfbd98);
  box-shadow:
    inset 10px 0 18px rgba(255,255,255,.6),
    inset -16px -12px 22px rgba(74,55,31,.12),
    0 4px 0 rgba(24,33,38,.18),
    0 14px 24px rgba(35,26,15,.2);
  backface-visibility: hidden;
  touch-action: none;
}

.door__edge {
  position: absolute;
  top: 1.8%;
  right: -2.4%;
  bottom: 1.8%;
  width: 5%;
  border: 3px solid var(--ink);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  background: #aa9978;
  transform: rotateY(90deg);
  transform-origin: left;
}

.fridge[data-fridge-state="open"] .door {
  filter: drop-shadow(18px 20px 12px rgba(9, 17, 19, .35));
  transform: translateX(66%) rotateY(-116deg);
}

.fridge[data-fridge-state="open"] .project-magnet,
.fridge[data-fridge-state="open"] .door-handle { pointer-events: none; }

.door__shine {
  position: absolute;
  top: 2%;
  left: 10%;
  width: 63%;
  height: 2.4%;
  border-top: 3px solid rgba(255,255,255,.85);
  border-radius: 50%;
}

.door__wear { position: absolute; border-radius: 50%; border-top: 1px solid rgba(124,93,49,.36); transform: rotate(-18deg); }
.door__wear--one { top: 18%; left: 4%; width: 6%; height: 1%; }
.door__wear--two { top: 49%; right: 4%; width: 8%; height: 1.3%; }
.door__wear--three { bottom: 8%; left: 28%; width: 5%; height: 1%; }

.door-screen {
  position: absolute;
  top: 4.1%;
  left: 7%;
  width: 61%;
  height: 22%;
  padding: 4.4% 5%;
  border: clamp(2px, .45vw, 5px) solid var(--ink);
  border-radius: 8%;
  color: #effcf3;
  background:
    linear-gradient(rgba(123,214,107,.045) 50%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(57,217,230,.19), transparent 25%),
    linear-gradient(135deg, #153c35, #09241f);
  background-size: 100% 4px, auto, auto;
  box-shadow: inset 0 0 0 3px #52645f, inset 0 0 18px #000, 3px 5px 0 rgba(24,33,38,.18);
  transform: rotate(-.7deg);
}

.door-screen__top {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4%;
  color: var(--green);
  font: 600 clamp(4px, .58vw, 8px)/1 "JetBrains Mono", monospace;
  letter-spacing: .1em;
}

.door-screen__top i { width: 5px; aspect-ratio: 1; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }

.door-screen strong {
  display: block;
  font: 800 clamp(11px, 1.7vw, 24px)/.93 "Bricolage Grotesque", sans-serif;
  letter-spacing: -.04em;
}

.door-screen strong em { color: var(--amber); font-style: normal; }
.door-screen small { display: block; margin-top: 4%; color: rgba(239,252,243,.66); font: 500 clamp(4px, .55vw, 8px)/1.2 "JetBrains Mono", monospace; }

.project-magnet {
  position: absolute;
  z-index: 4;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: none;
  cursor: grab;
  user-select: none;
  touch-action: none;
  filter: drop-shadow(0 5px 3px rgba(37,29,17,.22));
  transition: filter var(--quick-motion), scale var(--quick-motion);
}

.project-magnet:hover { z-index: 12; filter: drop-shadow(0 10px 7px rgba(37,29,17,.25)); scale: 1.035; }
.project-magnet:focus-visible { z-index: 13; outline: var(--outline); outline-offset: 3px; border-radius: 18px; }
.project-magnet.is-dragging { z-index: 20; cursor: grabbing; filter: drop-shadow(0 16px 10px rgba(37,29,17,.34)); scale: 1.06; transition: none; }
.project-magnet.is-settling { animation: magnet-settle .35s ease; }

.project-magnet--trailer { width: 46%; aspect-ratio: 1.25; transform: rotate(-3deg); }
.project-magnet--clean { width: 31%; aspect-ratio: .92; transform: rotate(3deg); }
.project-magnet--chain { width: 39%; aspect-ratio: 1.02; transform: rotate(2deg); }
.project-magnet--pets { width: 37%; aspect-ratio: 1.1; transform: rotate(-2deg); }

.magnet-shadow { position: absolute; inset: 7% 5% 3%; z-index: -1; border-radius: 45%; background: rgba(42,31,17,.22); filter: blur(4px); }
.magnet-art { display: block; width: 100%; height: auto; overflow: visible; pointer-events: none; }

.sticker-cut { fill: #fffaf0; stroke: var(--ink); stroke-width: 7; stroke-linejoin: round; }
.sticker-cut--blue { fill: #dff7f5; }

.magnet-caption {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 72%;
  padding: 4% 8% 5%;
  border: clamp(1px, .24vw, 3px) solid var(--ink);
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 2px 3px 0 rgba(24,33,38,.22);
  text-align: center;
  pointer-events: none;
}

.magnet-caption strong { font: 800 clamp(7px, 1vw, 14px)/1 "Bricolage Grotesque", sans-serif; letter-spacing: .04em; }
.magnet-caption small { margin-top: 4%; color: rgba(255,253,245,.65); font: 600 clamp(4px, .5vw, 7px)/1 "JetBrains Mono", monospace; white-space: nowrap; }
.project-magnet--trailer .magnet-caption { right: 5%; bottom: 0; background: #115e69; }
.project-magnet--clean .magnet-caption { right: 0; bottom: 1%; left: 0; }
.project-magnet--chain .magnet-caption { right: 0; bottom: 0; left: 0; background: #12394d; }
.project-magnet--pets .magnet-caption { right: 0; bottom: 0; left: 0; background: #5f513c; }

.trailer-body { stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; }
.trailer-chassis { fill: none; stroke: var(--ink); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.trailer-wheel circle:first-child { fill: var(--ink); }
.trailer-wheel circle:nth-child(2) { fill: var(--amber); stroke: #fff1c4; stroke-width: 4; }
.trailer-awning { fill: #fff6df; stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.trailer-awning-line { fill: none; stroke: var(--coral); stroke-width: 7; }
.trailer-light { fill: var(--amber); stroke: var(--ink); stroke-width: 4; }
.trailer-smile { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }

.clean-sticker {
  position: absolute;
  inset: 3% 4% 17%;
  display: block;
  border: clamp(2px, .5vw, 6px) solid var(--ink);
  border-radius: 22% 18% 24% 18%;
  background: #fffaf0;
  box-shadow: inset 0 0 0 clamp(5px, 1vw, 11px) #d7f2e8;
}

.clean-window {
  position: absolute;
  inset: 18% 18% 25%;
  overflow: hidden;
  border: clamp(2px, .36vw, 4px) solid var(--ink);
  border-radius: 11%;
  background: linear-gradient(145deg, #e9f8f2, #b7e2d6);
}

.clean-window::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 21%; background: var(--cyan-deep); border-bottom: 2px solid var(--ink); }
.clean-window i { position: absolute; top: 7%; width: 5%; aspect-ratio: 1; border-radius: 50%; background: var(--white); }
.clean-window i:first-of-type { left: 8%; }
.clean-window i:nth-of-type(2) { left: 17%; }
.clean-window i:nth-of-type(3) { left: 26%; }
.clean-window b { position: absolute; left: 16%; right: 16%; bottom: 21%; height: 9%; border-radius: 999px; background: var(--cyan-deep); box-shadow: 0 -18px 0 rgba(8,127,148,.38); }

.clean-spark { position: absolute; color: var(--amber); font-weight: 900; text-shadow: 1px 1px 0 var(--ink); }
.clean-spark--one { top: 7%; right: 9%; font-size: clamp(8px, 1.2vw, 16px); }
.clean-spark--two { left: 10%; bottom: 9%; font-size: clamp(6px, .9vw, 12px); }
.clean-wiper { position: absolute; right: 9%; bottom: 18%; width: 54%; height: 8%; border: 2px solid var(--ink); border-radius: 999px; background: var(--coral); transform: rotate(-27deg); transform-origin: right; }
.clean-wiper::after { content: ""; position: absolute; right: -5%; top: 50%; width: 18%; height: 260%; border: 2px solid var(--ink); border-radius: 7px; background: var(--amber); transform: translateY(-50%); }

.chain-sticker-links path { fill: none; stroke: #0d89a3; stroke-width: 4; opacity: .75; }
.chain-sticker-nodes circle { fill: #1aa6bc; stroke: #d7ffff; stroke-width: 4; filter: drop-shadow(0 0 4px #39d9e6); }
.chain-kart path:first-child { fill: var(--orange); stroke: var(--ink); stroke-width: 5; }
.chain-kart circle { fill: var(--ink); stroke: var(--amber); stroke-width: 4; }
.chain-kart path:nth-of-type(2) { fill: var(--cyan-deep); stroke: var(--ink); stroke-width: 4; }
.chain-kart rect { fill: #e7eee6; stroke: var(--ink); stroke-width: 3; }
.chain-kart circle:nth-last-of-type(-n+2) { fill: var(--cyan); stroke: none; }

.pet-cat path { fill: #d99248; stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.pet-cat ellipse { fill: #e4a459; stroke: var(--ink); stroke-width: 5; }
.pet-cat circle { fill: var(--ink); }
.pet-cat path:last-child { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.pet-dog path:first-child { fill: #6d5b4b; stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.pet-dog ellipse:first-of-type { fill: #f0dfc6; stroke: var(--ink); stroke-width: 5; }
.pet-dog circle { fill: var(--ink); }
.pet-dog ellipse:nth-of-type(2) { fill: var(--ink); }
.pet-dog path:last-child { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.pet-paws { fill: none; stroke: #d99248; stroke-width: 8; stroke-linecap: round; }

.decor-magnet { position: absolute; z-index: 2; pointer-events: none; }
.decor-magnet--coffee { right: 3.5%; bottom: 11%; display: grid; place-items: center; width: 17%; aspect-ratio: 1.08; border: 3px solid var(--ink); border-radius: 8% 8% 30% 30%; color: var(--ink); background: #fff8e7; box-shadow: inset 0 -8px 0 #ddc8a3, 3px 5px 0 rgba(24,33,38,.17); transform: rotate(3deg); }
.decor-magnet--coffee::after { content: ""; position: absolute; right: -25%; top: 28%; width: 31%; height: 35%; border: 3px solid var(--ink); border-left: 0; border-radius: 0 50% 50% 0; }
.decor-magnet--coffee span { text-align: center; font: 800 clamp(5px, .74vw, 10px)/.9 "Bricolage Grotesque", sans-serif; }
.decor-magnet--coffee b { color: var(--cyan-deep); font-size: .8em; }

.decor-magnet--ethernet { left: 3%; bottom: 5%; width: 31%; height: 6%; transform: rotate(-5deg); }
.ethernet-wire { position: absolute; top: 48%; left: 12%; right: 0; height: 20%; border-radius: 999px; background: var(--cyan-deep); border: 1px solid var(--ink); }
.ethernet-plug { position: absolute; left: 0; top: 6%; width: 22%; height: 80%; border: 2px solid var(--ink); border-radius: 4px 8px 8px 4px; background: #d5ece8; }
.ethernet-plug i { position: relative; display: inline-block; width: 9%; height: 30%; margin-left: 5%; background: var(--amber); vertical-align: top; }
.decor-magnet--ethernet small { position: absolute; right: 4%; bottom: 65%; padding: 3% 6%; border: 1px solid var(--ink); border-radius: 5px; background: var(--amber); font: 700 clamp(4px, .48vw, 7px)/1 "JetBrains Mono", monospace; }

.door-handle {
  position: absolute;
  top: 8%;
  right: 4.2%;
  z-index: 22;
  width: 12%;
  height: 36%;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: none;
  cursor: pointer;
}

.door-handle__grip {
  position: absolute;
  top: 8%;
  left: 22%;
  width: 54%;
  height: 78%;
  border: clamp(2px, .5vw, 6px) solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(90deg, #9c8e78, #fff6df 38%, #b5a58c 68%, #7d705e);
  box-shadow: inset 4px 0 4px rgba(255,255,255,.5), 4px 5px 0 rgba(24,33,38,.15);
}

.door-handle__grip::before,
.door-handle__grip::after { content: ""; position: absolute; left: -34%; width: 168%; height: 12%; border: 2px solid var(--ink); border-radius: 999px; background: #c1b196; }
.door-handle__grip::before { top: -3%; }
.door-handle__grip::after { bottom: -3%; }

.door-handle__label {
  position: absolute;
  right: 1%;
  bottom: 0;
  left: 1%;
  font: 700 clamp(4px, .55vw, 8px)/1 "JetBrains Mono", monospace;
  letter-spacing: .08em;
}

.door-handle:hover .door-handle__grip { filter: brightness(1.08); transform: translateX(2px); }

.door-footer {
  position: absolute;
  right: 4%;
  bottom: 2.5%;
  left: 38%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4%;
  color: rgba(24,33,38,.55);
  font: 600 clamp(4px, .5vw, 7px)/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.door-footer i { width: 5px; aspect-ratio: 1; border-radius: 50%; background: var(--green); box-shadow: 0 0 5px var(--green); }

.fridge__feet { position: absolute; right: 7%; bottom: -2%; left: 7%; display: flex; justify-content: space-between; }
.fridge__feet span { width: 13%; height: clamp(10px, 2vw, 25px); border: 3px solid var(--ink); border-radius: 0 0 7px 7px; background: #39484b; }

.floor-cable {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: -1.2%;
  width: min(76vw, 980px);
  height: 16%;
  transform: translateX(-50%);
  pointer-events: none;
}

.floor-cable svg { width: 100%; height: 100%; overflow: visible; }
.floor-cable path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.floor-cable__shadow { stroke: rgba(24,33,38,.34); stroke-width: 12; transform: translateY(5px); filter: blur(1px); }
.floor-cable__core { stroke: #076f82; stroke-width: 9; }
.floor-cable__flow { stroke: #51e5ef; stroke-width: 2.4; stroke-dasharray: 2 22; opacity: .72; filter: drop-shadow(0 0 5px var(--cyan)); animation: cable-flow 2.4s linear infinite; }
.floor-cable.is-crimping .floor-cable__flow,
.floor-cable.is-crimped .floor-cable__flow { stroke: #d8ff70; stroke-width: 3.2; opacity: 1; filter: drop-shadow(0 0 7px #c9ff58); animation-duration: .5s; }

.floor-cable__plug { position: absolute; right: -1%; top: 22%; display: flex; gap: 6%; width: 8%; height: 31%; padding: 3% 1% 0 2%; border: 3px solid var(--ink); border-radius: 5px 12px 12px 5px; background: linear-gradient(145deg, #ecfbf7, #b8d7d6); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 3px 4px 0 rgba(24,33,38,.16); transform: rotate(-5deg); transition: box-shadow .2s, filter .2s; }
.floor-cable__plug i { width: 11%; height: 37%; background: var(--amber); box-shadow: inset 0 -2px 0 #9c671d; }
.floor-cable__plug b { position: absolute; left: -38%; top: 31%; width: 40%; height: 32%; border: 3px solid var(--ink); border-right: 0; border-radius: 5px 0 0 5px; background: #077f91; }
.floor-cable__plug em { position: absolute; right: 9%; bottom: -14%; width: 42%; height: 23%; border: 2px solid var(--ink); border-top: 0; border-radius: 0 0 5px 5px; background: #95b9b8; }
.floor-cable.is-crimped .floor-cable__plug { box-shadow: 0 0 0 3px rgba(201,255,88,.3), 0 0 22px #b5f44b, 3px 4px 0 rgba(24,33,38,.16); filter: brightness(1.08); }

.cable-pause {
  position: absolute;
  z-index: 11;
  left: 41.5%;
  top: 54%;
  display: grid;
  place-items: center;
  width: clamp(20px, 2.2vw, 27px);
  aspect-ratio: 1;
  padding: 0;
  border: 1.5px solid rgba(24,33,38,.38);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,253,245,.76);
  box-shadow: 0 0 0 2px rgba(57,217,230,.08), 1px 2px 0 rgba(24,33,38,.08);
  backdrop-filter: blur(6px);
  opacity: .56;
  pointer-events: auto;
  cursor: pointer;
  transition: transform var(--quick-motion), opacity var(--quick-motion), box-shadow var(--quick-motion), background var(--quick-motion);
}

.cable-pause:hover,
.cable-pause:focus-visible {
  opacity: .92;
  transform: translateY(-1px) scale(1.03);
}

.cable-pause:focus-visible {
  box-shadow: 0 0 0 3px rgba(57,217,230,.16), 1px 2px 0 rgba(24,33,38,.08);
}

.cable-pause__icon {
  position: relative;
  width: 38%;
  height: 48%;
}

.cable-pause__icon::before,
.cable-pause__icon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32%;
  border-radius: 999px;
  background: currentColor;
}

.cable-pause__icon::before { left: 0; }
.cable-pause__icon::after { right: 0; }

.cable-pause[aria-pressed="true"] {
  opacity: .88;
  background: rgba(239,255,253,.92);
  box-shadow: 0 0 0 2px rgba(121,214,107,.12), 0 0 10px rgba(57,217,230,.12), 1px 2px 0 rgba(24,33,38,.08);
}

.floor-cable.is-paused .floor-cable__flow {
  animation-play-state: paused;
  opacity: .28;
  filter: drop-shadow(0 0 2px rgba(57,217,230,.28));
}

.floor-cable.is-paused .cable-zap {
  animation-play-state: paused;
  opacity: .08;
}

.floor-cable.is-paused .cable-pause {
  opacity: .9;
}

.floor-cable.is-paused .cable-pause__icon::before,
.floor-cable.is-paused .cable-pause__icon::after {
  background: var(--cyan-deep);
}

.crimp-tool {
  position: absolute;
  z-index: 8;
  right: -8%;
  top: 15%;
  width: 21%;
  height: 70%;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: none;
  pointer-events: auto;
  cursor: pointer;
  transform: rotate(-9deg);
  transform-origin: 24% 45%;
  animation: crimp-idle 3.4s ease-in-out infinite;
}

.crimp-tool:focus-visible { outline: var(--outline); outline-offset: 2px; border-radius: 18px; }
.crimp-tool:hover { filter: brightness(1.08); }
.crimp-tool:disabled { cursor: wait; }
.crimp-tool__pliers { position: absolute; inset: 0 0 16%; filter: drop-shadow(3px 5px 0 rgba(24,33,38,.28)); }
.crimp-jaw { position: absolute; z-index: 4; left: 0; width: 37%; height: 22%; border: 3px solid var(--ink); background: linear-gradient(135deg, #657177, #222c30); }
.crimp-jaw--top { top: 24%; border-radius: 14px 5px 4px 14px; transform-origin: 100% 100%; transform: rotate(-8deg); }
.crimp-jaw--bottom { top: 47%; border-radius: 14px 4px 5px 14px; transform-origin: 100% 0; transform: rotate(8deg); }
.crimp-jaw i { position: absolute; left: 4%; width: 43%; height: 52%; border: 2px solid #0e171a; background: #a6b2b2; }
.crimp-jaw--top i { bottom: -2px; border-radius: 8px 3px 0 0; }
.crimp-jaw--bottom i { top: -2px; border-radius: 0 0 3px 8px; }
.crimp-pivot { position: absolute; z-index: 7; top: 38%; left: 31%; width: 16%; aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 50%; background: var(--amber); box-shadow: inset 0 0 0 3px #67511d; }
.crimp-handle { position: absolute; z-index: 3; left: 37%; width: 60%; height: 16%; border: 3px solid var(--ink); border-radius: 5px 999px 999px 5px; background: linear-gradient(180deg, #ef8541, #b8412e); transform-origin: 0 50%; }
.crimp-handle::after { content: ""; position: absolute; right: 7%; top: 20%; width: 42%; height: 18%; border-radius: 99px; background: rgba(255,255,255,.25); }
.crimp-handle--top { top: 38%; transform: rotate(-19deg); }
.crimp-handle--bottom { top: 48%; transform: rotate(19deg); }
.crimp-tool__label { position: absolute; right: 2%; bottom: 0; padding: 4% 7%; border: 2px solid var(--ink); border-radius: 7px; background: var(--amber); box-shadow: 2px 3px 0 var(--ink); font: 800 clamp(5px, .65vw, 9px)/1 "Bricolage Grotesque", sans-serif; text-transform: uppercase; }

.floor-cable.is-crimping .crimp-tool { animation: crimp-run var(--crimp-motion) cubic-bezier(.2,.8,.2,1) both; }
.floor-cable.is-crimping .crimp-handle--top { animation: crimp-handle-top var(--crimp-motion) ease both; }
.floor-cable.is-crimping .crimp-handle--bottom { animation: crimp-handle-bottom var(--crimp-motion) ease both; }
.floor-cable.is-crimping .crimp-jaw--top { animation: crimp-jaw-top var(--crimp-motion) ease both; }
.floor-cable.is-crimping .crimp-jaw--bottom { animation: crimp-jaw-bottom var(--crimp-motion) ease both; }

.cable-zap { position: absolute; z-index: 12; right: -2%; top: -5%; display: flex; align-items: center; gap: 3px; color: #efff8a; opacity: 0; text-shadow: 0 0 7px #caff3e, 2px 2px 0 var(--ink); transform: rotate(-7deg) scale(.6); }
.cable-zap i { font: 900 clamp(16px, 2.6vw, 36px)/1 sans-serif; }
.cable-zap b { padding: 5px 7px; border: 2px solid var(--ink); border-radius: 8px; color: var(--ink); background: #dfff54; box-shadow: 2px 3px 0 var(--ink); font: 900 clamp(10px, 1.4vw, 18px)/1 "Bricolage Grotesque", sans-serif; }
.floor-cable.is-crimping .cable-zap { animation: cable-zap var(--crimp-motion) ease both; }

.cable-status { position: absolute; right: 5%; top: 2%; display: flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid rgba(24,33,38,.4); border-radius: 999px; color: rgba(24,33,38,.68); background: rgba(255,253,245,.72); backdrop-filter: blur(7px); font: 700 clamp(5px, .65vw, 9px)/1 "JetBrains Mono", monospace; text-transform: uppercase; }
.cable-status i { width: 6px; aspect-ratio: 1; border-radius: 50%; background: var(--amber); box-shadow: 0 0 5px var(--amber); }
.floor-cable.is-crimped .cable-status { color: #164424; border-color: rgba(72,135,44,.45); background: rgba(228,255,203,.8); }
.floor-cable.is-crimped .cable-status i { background: var(--green); box-shadow: 0 0 6px var(--green); }

.studio-note {
  position: fixed;
  right: 18px;
  bottom: 13px;
  z-index: 50;
  margin: 0;
  color: rgba(24,33,38,.58);
  font: 600 10px/1.2 "JetBrains Mono", monospace;
}

.project-dialog {
  width: min(510px, calc(100% - 28px));
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  overflow: visible;
}

.project-dialog::backdrop {
  background: rgba(8, 28, 37, .64);
  backdrop-filter: blur(8px) saturate(.8);
}

.project-dialog__panel {
  position: relative;
  padding: clamp(26px, 6vw, 48px);
  border: 3px solid var(--ink);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 8%, rgba(57,217,230,.18), transparent 22%),
    linear-gradient(145deg, var(--cream-light), var(--paper));
  box-shadow: 8px 10px 0 var(--ink), 0 35px 80px rgba(0,0,0,.3);
  animation: dialog-in .28s ease;
}

.project-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255,255,255,.55);
  box-shadow: 2px 3px 0 var(--ink);
  cursor: pointer;
  font: 800 24px/1 sans-serif;
}

.project-dialog__status {
  display: inline-flex;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--green);
  font: 800 10px/1 "JetBrains Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-dialog h2 {
  margin: 20px 0 10px;
  font: 800 clamp(34px, 8vw, 58px)/.9 "Bricolage Grotesque", sans-serif;
  letter-spacing: -.055em;
}

.project-dialog p { font-size: 16px; line-height: 1.55; }
.project-dialog__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.project-dialog__meta span { padding: 7px 10px; border: 1px solid rgba(24,33,38,.28); border-radius: 999px; background: rgba(255,255,255,.42); font: 700 11px/1 "JetBrains Mono", monospace; }

.project-dialog__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  color: var(--white);
  background: var(--cyan-deep);
  box-shadow: 3px 4px 0 var(--ink);
  font: 800 13px/1 "Bricolage Grotesque", sans-serif;
  text-decoration: none;
}

.project-dialog__cta[hidden] { display: none; }
.project-dialog__cta span { font-size: 20px; }
.project-dialog__foot { margin: 18px 0 0; color: rgba(24,33,38,.58); font: 600 11px/1.5 "JetBrains Mono", monospace; }

.noscript-note { position: fixed; z-index: 100; right: 18px; bottom: 18px; width: min(380px, calc(100% - 36px)); padding: 18px; border: 2px solid var(--ink); border-radius: 18px; background: var(--white); box-shadow: 5px 6px 0 var(--ink); }
.noscript-note h2 { margin: 0 0 8px; font-family: "Bricolage Grotesque", sans-serif; }
.noscript-note p { margin: 0; line-height: 1.5; }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@keyframes robot-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-7%) rotate(1deg); }
}

@keyframes road-flow { to { stroke-dashoffset: -220; } }

@keyframes cable-flow { to { stroke-dashoffset: -96; } }

@keyframes bulb-sway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

@keyframes crimp-idle {
  0%, 100% { transform: translateY(0) rotate(-9deg); }
  50% { transform: translateY(-5px) rotate(-6deg); }
}

@keyframes crimp-run {
  0% { transform: translate(0,0) rotate(-9deg); }
  27% { transform: translate(-17%, -7%) rotate(-15deg); }
  44%, 66% { transform: translate(-25%, -11%) rotate(-18deg) scale(1.02); }
  76% { transform: translate(-22%, -8%) rotate(-14deg); }
  100% { transform: translate(0,0) rotate(-9deg); }
}

@keyframes crimp-handle-top { 0%,30%,100% { transform: rotate(-19deg); } 45%,67% { transform: rotate(-5deg); } }
@keyframes crimp-handle-bottom { 0%,30%,100% { transform: rotate(19deg); } 45%,67% { transform: rotate(5deg); } }
@keyframes crimp-jaw-top { 0%,30%,100% { transform: rotate(-8deg); } 45%,67% { transform: rotate(-1deg); } }
@keyframes crimp-jaw-bottom { 0%,30%,100% { transform: rotate(8deg); } 45%,67% { transform: rotate(1deg); } }

@keyframes cable-zap {
  0%, 40% { opacity: 0; transform: rotate(-7deg) scale(.55); }
  49% { opacity: 1; transform: rotate(4deg) scale(1.24); }
  58% { opacity: 1; transform: rotate(-3deg) scale(1); }
  72%, 100% { opacity: 0; transform: translateY(-18px) rotate(2deg) scale(.86); }
}

@keyframes magnet-settle {
  0% { scale: 1.05; }
  45% { scale: .97; }
  100% { scale: 1; }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(.97) rotate(-.5deg); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  .hint-card { display: none; }
  .fridge { width: min(58vw, 66svh, 570px); }
}

@media (max-width: 760px) {
  body { overflow: auto; }
  .studio { min-height: 100svh; }
  .studio-mark__copy { display: none; }
  .studio-mark { top: 13px; left: 13px; }
  .studio-mark__spark { width: 37px; border-radius: 12px; }
  .studio-actions { top: 13px; right: 13px; }
  #resetMagnets { width: 44px; padding: 0; }
  #resetMagnets svg { width: 19px; }
  #resetMagnets { font-size: 0; }
  .studio-action--primary { padding: 0 12px; }
  .fridge-stage { inset: 71px 5px 42px; place-items: center; }
  .fridge { width: min(90vw, 67svh, 500px); min-width: 290px; }
  .fridge-shadow { width: 92vw; bottom: 2%; }
  .floor-cable { width: 110vw; bottom: -.5%; opacity: .72; }
  .floor-cable__plug { right: 5%; width: 10%; }
  .cable-pause { left: 43%; top: 53%; width: 24px; }
  .crimp-tool { right: -1%; top: 18%; width: 27%; }
  .crimp-tool__label { display: none; }
  .cable-status { right: 14%; top: -1%; }
  .studio-note { display: none; }
  .project-magnet { cursor: pointer; }
  .fridge[data-fridge-state="open"] .door { transform: translateX(48%) rotateY(-112deg); }
}

@media (max-width: 460px) {
  .studio-action--primary [data-door-label] { font-size: 0; }
  .studio-action--primary [data-door-label]::after { content: attr(data-short); font-size: 12px; }
  .fridge { min-width: 280px; }
  .brand-plate { left: 15%; right: 15%; }
}

@media (max-height: 570px) and (orientation: landscape) {
  .studio-mark { top: 9px; left: 10px; }
  .studio-actions { top: 9px; right: 10px; }
  .fridge-stage { inset: 48px 10px 10px; }
  .fridge { width: min(40vw, 58svh); min-width: 0; }
  .studio-mark__copy, .studio-note, .hint-card, .floor-cable { display: none; }
}

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