html.portfolio-intro-embed, html.portfolio-intro-embed body {
  width: 100%; height: 100%; min-height: 0; overflow: hidden;
}
.portfolio-intro-embed .observatory {
  width: 100%;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  transform-origin:50% 49%;
  animation:portfolio-enter-horizon .95s cubic-bezier(.16,.75,.25,1) both;
}
.portfolio-intro-embed .masthead,
.portfolio-intro-embed .controls,
.portfolio-intro-embed .gesture-hint,
.portfolio-intro-embed .scene-error { display: none !important; }
.portfolio-intro-embed .scroll-journey { width: 100%; height: 100svh; min-height: 0; overflow: hidden; }
.portfolio-intro-embed .universe { position: absolute; inset: 0; width: 100%; height: 100svh; min-height: 0; }
.portfolio-intro-embed .journey-copy { display: none; }
.portfolio-intro-embed .feed-dock {
  bottom: clamp(18px, 3vh, 28px);
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.portfolio-intro-embed .zoom-controls { display: none; }
.portfolio-return { display:none; }
.portfolio-intro-embed .portfolio-return {
  position:fixed;
  z-index:20;
  top:22px;
  right:26px;
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 13px;
  border:1px solid rgba(255,163,106,.46);
  background:rgba(8,9,11,.78);
  color:#ffc49d;
  font:10px/1 var(--mono);
  letter-spacing:.08em;
  text-decoration:none;
  transition:background .2s,border-color .2s;
}
.portfolio-intro-embed .portfolio-return:hover,.portfolio-intro-embed .portfolio-return:focus-visible {
  border-color:#ffc49d;
  background:rgba(32,17,11,.92);
}
.portfolio-intro-embed .portfolio-return:focus-visible {outline:2px solid #ffd0ae;outline-offset:3px;}
.ascii-mass-transition {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  contain: strict;
}
@keyframes portfolio-enter-horizon {
  from {opacity:0;transform:scale(.72);filter:blur(9px) brightness(.55);}
  to {opacity:1;transform:scale(1);filter:none;}
}
@media (prefers-reduced-motion:reduce) {
  .portfolio-intro-embed .observatory {animation:none;}
}
@media (max-width: 600px) {
  .portfolio-intro-embed .journey-copy { top: 82px; left: 20px; }
  .portfolio-intro-embed .feed-dock { bottom: 48px; }
  .portfolio-intro-embed .portfolio-return {top:12px;right:12px;min-height:34px;padding:0 9px;font-size:9px;}
}

.outburst-preview {
  position:fixed;top:26px;left:26px;z-index:20;padding:10px 0;
  border:0;background:transparent;color:#ab9c90;font:10px/1 var(--mono);
  letter-spacing:.06em;cursor:pointer;transition:color .2s;
}
.outburst-preview:hover,.outburst-preview:focus-visible {color:#ffc49d;}
.outburst-preview:focus-visible {outline:1px solid #ffc49d;outline-offset:5px;}
.critical-mass-sequence .feed-dock,.critical-mass-sequence .portfolio-return,
.critical-mass-sequence .outburst-preview,.critical-mass-sequence .controls {visibility:hidden;}
.mass-returning body::before {content:'';position:fixed;inset:0;background:#000;z-index:9999;}
@media(max-width:600px){.outburst-preview{top:14px;left:14px;font-size:9px;}}
