/* Studio homepage story: a real, pannable workflow instead of a static collage. */
#studio-tease.stz2-section { padding: 22px 0 64px; scroll-margin-top: calc(var(--nav-h) + 18px); }
.stz2 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(22px, 3.5vw, 50px);
  padding: clamp(18px, 2.5vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(207, 166, 244, .23);
  border-radius: 28px;
  background: linear-gradient(130deg, rgba(32, 19, 44, .94), rgba(21, 15, 34, .96) 54%, rgba(29, 19, 43, .93));
  box-shadow: 0 28px 65px rgba(7, 4, 15, .33), inset 0 1px rgba(255, 255, 255, .07);
  color: #f8f2ff;
}
.stz2::before {
  content: "";
  position: absolute;
  inset: -30% 35% auto -20%;
  height: 110%;
  background: radial-gradient(closest-side, rgba(116, 58, 170, .22), transparent 72%);
  pointer-events: none;
}
.stz2__copy { position: relative; z-index: 1; max-width: 46ch; }
.stz2__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid rgba(227, 176, 137, .42);
  border-radius: 999px;
  background: rgba(217, 161, 106, .14);
  color: #f5d4b2;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .08em;
}
.stz2__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f6cb9b; box-shadow: 0 0 12px #d99470; }
.stz2__eyebrow { margin: 28px 0 9px; color: #cba6ec; font-size: .68rem; font-weight: 800; letter-spacing: .2em; }
.stz2 h2 { margin: 0 0 15px; max-width: 13ch; color: #fff; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.1; letter-spacing: -.045em; }
.stz2__lead { margin: 0; color: rgba(245, 232, 255, .74); font-size: .98rem; line-height: 1.7; }
.stz2__steps { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 22px; color: #e6d2f6; font-size: .74rem; font-weight: 700; }
.stz2__steps span { padding: 6px 9px; border: 1px solid rgba(198, 149, 236, .22); border-radius: 7px; background: rgba(148, 89, 195, .13); }
.stz2__steps i { width: 13px; height: 1px; background: rgba(218, 176, 248, .5); }
.stz2__status { display: flex; align-items: center; gap: 8px; margin: 24px 0 0; color: rgba(234, 218, 245, .6); font-size: .78rem; }
.stz2__status-dot { width: 7px; height: 7px; border-radius: 50%; background: #89d7b2; box-shadow: 0 0 12px rgba(110, 214, 159, .65); }
.stz2__visual { position: relative; z-index: 1; min-width: 0; }
.stz2-canvas {
  position: relative;
  height: clamp(350px, 32vw, 430px);
  overflow: hidden;
  border: 1px solid rgba(215, 174, 238, .21);
  border-radius: 19px;
  background: radial-gradient(ellipse at 60% 42%, #21162f 0%, #14101e 62%, #100d18 100%);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .055);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.stz2-canvas.is-dragging { cursor: grabbing; }
.stz2-canvas:focus-visible { outline: 2px solid #d4a8ff; outline-offset: 3px; }
.stz2-canvas.has-pointer-focus:focus-visible { outline: none; }
.stz2-world {
  position: absolute;
  top: 0; left: 0;
  width: 1200px; height: 820px;
  transform-origin: 0 0;
  will-change: transform;
  background-image: radial-gradient(rgba(193, 149, 227, .2) .8px, transparent .8px);
  background-size: 24px 24px;
  pointer-events: none;
}
.stz2-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stz2-wire { fill: none; stroke: rgba(184, 139, 221, .47); stroke-width: 2; stroke-linecap: round; }
.stz2-wire--pulse { stroke: #deaaf7; stroke-width: 2.5; stroke-dasharray: 7 145; filter: drop-shadow(0 0 5px rgba(216, 148, 255, .5)); animation: stz2-flow 5s linear infinite; }
@keyframes stz2-flow { to { stroke-dashoffset: -304; } }
.stz2-node {
  position: absolute;
  box-sizing: border-box;
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(223, 183, 248, .28);
  border-radius: 16px;
  background: linear-gradient(155deg, #271b33, #1a1424 82%);
  box-shadow: 0 18px 36px rgba(3, 2, 8, .48), inset 0 1px rgba(255, 255, 255, .08);
  color: #f9f3ff;
}
.stz2-node::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border-top: 1px solid rgba(255, 232, 255, .2); pointer-events: none; }
.stz2-node__head { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 2px 7px; color: #f9f3ff; font-size: 13px; font-weight: 750; white-space: nowrap; }
.stz2-node__head b { margin-left: auto; color: rgba(220, 187, 241, .5); font-size: 10px; font-variant-numeric: tabular-nums; }
.stz2-node__glyph { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(145deg, #663d88, #322044); color: #eacafb; font-size: 14px; line-height: 1; box-shadow: inset 0 1px rgba(255,255,255,.16); }
.stz2-node__glyph--idea { color: #ffd3ac; background: linear-gradient(145deg, #775037, #3b2637); }
.stz2-node__glyph--video { color: #ffd4ac; font-size: 10px; }
.stz2-node img { display: block; width: 100%; object-fit: cover; border-radius: 9px; }
.stz2-node p { margin: 9px 2px 1px; color: rgba(240, 221, 251, .72); font-size: 11px; line-height: 1.45; }
.stz2-node__tag { display: inline-flex; margin: 16px 2px 0; padding: 4px 7px; border-radius: 5px; background: rgba(220, 170, 129, .13); color: #f3c9a5; font-size: 10px; }
.stz2-node__port { position: absolute; z-index: 1; width: 10px; height: 10px; border: 2px solid #d7a8ef; border-radius: 50%; background: #25192f; box-shadow: 0 0 0 3px rgba(212, 158, 236, .12); }
.stz2-node__port--out { right: -6px; top: 50%; transform: translateY(-50%); }
.stz2-node__port--in { left: -6px; top: 50%; transform: translateY(-50%); }
.stz2-node__port--in-top { top: 22%; }
.stz2-node__port--in-bottom { top: 50%; }
.stz2-node--brief { left: 70px; top: 80px; width: 250px; height: 150px; }
.stz2-node--brief p { font-size: 13px; line-height: 1.43; }
.stz2-node--ref { left: 70px; top: 480px; width: 275px; min-height: 224px; }
.stz2-node--ref img { height: 143px; }
.stz2-node--still { left: 470px; top: 270px; width: 300px; min-height: 310px; border-color: rgba(231, 176, 250, .48); box-shadow: 0 20px 50px rgba(16, 4, 28, .58), 0 0 32px rgba(137, 65, 200, .1); }
.stz2-node--still img { height: 225px; }
.stz2-node--video { left: 870px; top: 270px; width: 280px; min-height: 254px; }
.stz2-node--video img { height: 157px; }
.stz2-canvas__top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; pointer-events: none; }
.stz2-canvas__label, .stz2-canvas__reset { display: inline-flex; align-items: center; min-height: 29px; padding: 0 10px; border: 1px solid rgba(220, 185, 242, .19); border-radius: 8px; background: rgba(24, 17, 34, .77); color: #eee0fa; backdrop-filter: blur(9px); font-size: 10px; font-weight: 750; letter-spacing: .08em; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.stz2-canvas__live { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #bf8fdf; box-shadow: 0 0 9px rgba(190, 137, 219, .8); }
.stz2-canvas__reset { pointer-events: auto; cursor: pointer; letter-spacing: 0; font-family: inherit; font-size: 11px; }
.stz2-canvas__reset:hover { border-color: rgba(220, 185, 242, .45); background: rgba(63, 40, 86, .93); }
.stz2-canvas__reset:focus-visible { outline: 2px solid #d4a8ff; outline-offset: 2px; }
.stz2-canvas__hint, .stz2-canvas__corner { position: absolute; bottom: 11px; color: rgba(233, 207, 249, .7); font-size: 10px; font-weight: 650; text-shadow: 0 1px 6px #0f0b17; pointer-events: none; }
.stz2-canvas__hint { left: 14px; }
.stz2-canvas__corner { right: 14px; font-size: 14px; letter-spacing: 2px; }
@media (max-width: 900px) {
  #studio-tease.stz2-section { padding: 10px 0 48px; }
  .stz2 { grid-template-columns: 1fr; gap: 22px; }
  .stz2__visual { order: -1; }
  .stz2__copy { max-width: none; }
  .stz2 h2 { max-width: 20ch; }
  .stz2-canvas { height: 360px; }
  .stz2__eyebrow { margin-top: 17px; }
}
@media (max-width: 600px) {
  .stz2 { padding: 12px 12px 22px; border-radius: 21px; }
  .stz2-canvas { height: 300px; border-radius: 13px; }
  .stz2 h2 { font-size: 2rem; }
  .stz2__lead { font-size: .88rem; }
  .stz2__steps { gap: 5px; }
  .stz2__steps span { padding: 5px 6px; font-size: .66rem; }
  .stz2__steps i { width: 7px; }
}
@media (prefers-reduced-motion: reduce) { .stz2-wire--pulse { animation: none; } }
