:root {
  color-scheme: light;
  color: #253237;
  background: #f4f2ea;
  --ink: #253237;
  --muted: #49595b;
  --mint-ink: #19483e;
  --focus: #236c58;
  --panorama: url("assets/panorama.png");
  --room: url("assets/communications.png");
  --text-face: 'Mulish', Inter, system-ui, sans-serif;
  --heading-face: 'Geist', Inter, system-ui, sans-serif;
  --room-face: 'Tenor Sans', Inter, system-ui, sans-serif;
  --glass-fill: linear-gradient(145deg, #fffdf787 8%, #fff8ef3f 52%, #d9f2e661);
  font-family: var(--text-face);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
main:focus { outline: none; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--heading-face); font-weight: 500; line-height: 1.14; letter-spacing: -.026em; }
p { line-height: 1.52; }
button, textarea { font: inherit; }
button, summary { cursor: pointer; }
:where(button, summary, textarea):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.topbar {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  width: min(100%, 100rem);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem .8rem;
  padding: clamp(.65rem, 2.2vw, 1.5rem) clamp(.8rem, 4vw, 3.5rem);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.wordmark, .quiet, .primary, .glass-copy {
  min-height: 44px;
  border: 1px solid #ffffffec;
  border-radius: 999px;
  padding: .58rem 1rem;
  color: var(--ink);
  font-size: .91rem;
  font-weight: 650;
}
.wordmark, .quiet {
  background: linear-gradient(158deg, #fffdf7a8, #edf5ef57);
  box-shadow: inset 0 1px 1px #fffffff0, inset 0 -2px 3px #bdcfc124, 0 4px 13px #414e502e;
  backdrop-filter: blur(6px) saturate(1.12);
}
.wordmark { display: inline-flex; align-items: center; gap: .45rem; text-align: left; }
.wordmark:hover, .quiet:hover { background-color: #fff7; box-shadow: inset 0 1px 0 white, 0 7px 16px #414e5038; }
.pearl {
  display: inline-block;
  width: 1.15rem;
  flex: 0 0 1.15rem;
  aspect-ratio: 1;
  border: 1px solid #fff;
  border-radius: 45% 55% 52% 48%;
  background: radial-gradient(circle at 25% 20%, #fff 7%, transparent 47%), linear-gradient(140deg, #f2bfd1, #b3e3dd 62%, #bacee6);
  box-shadow: 0 1px 7px #5177744f;
}
.primary, .glass-copy {
  color: var(--mint-ink);
  background: linear-gradient(155deg, #ecfff8b8 6%, #c6eee097 56%, #a5d8c7a6);
  border-color: #effff7e8;
  box-shadow: inset 0 1px 1px #fff, inset 0 -2px 2px #76b49f45, 0 5px 14px #28614e2e;
}
.primary:hover, .glass-copy:hover { background: linear-gradient(155deg, #f5fffbd6, #afe7d4b5); }
.glass {
  position: relative;
  border: 1px solid #fffefaec;
  border-radius: clamp(1.1rem, 2.5vw, 2rem);
  background: var(--glass-fill);
  box-shadow: inset 0 2px 2px #fff9, inset 0 -3px 4px #99bbb253,
    inset -3px 0 7px #ecd0e843, 0 13px 36px #304f4c2b;
  backdrop-filter: blur(7px) saturate(1.13);
}
.scene {
  isolation: isolate;
  position: relative;
  min-height: 100svh;
  padding: clamp(5.1rem, 8vw, 7rem) clamp(1rem, 5.2vw, 5.5rem) clamp(2rem, 5vw, 4rem);
  overflow: clip;
  background-color: #eee7de;
}
.scene::before, .scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.scene::before { background: var(--scene-art, var(--panorama)) var(--scene-position, center) / cover no-repeat; }
.scene::after { z-index: -1; background: linear-gradient(135deg, #fff7ec28, transparent 44%, #d2eee522); }

.lobby {
  display: grid;
  justify-items: center;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  text-align: center;
  gap: clamp(.8rem, 3.6vh, 2.65rem);
  padding-bottom: clamp(.9rem, 3.2vh, 2.35rem);
  --floor-light: radial-gradient(ellipse 57% 32% at 50% 100%,
    #cf8aab91, #dc9bb16b 37%, #efbaa942 63%, #f6d6ad1a 83%, transparent 100%);
}
.lobby::after {
  background: var(--floor-light),
    radial-gradient(ellipse 62% 48% at 50% 38%, #fffaf3c9 9%, #fff8f083 53%, transparent 100%);
}
.hero-copy {
  align-self: center;
  display: grid;
  gap: clamp(.56rem, 1.25vw, 1rem);
  width: min(100%, 59rem);
  padding: 0 .55rem;
  text-shadow: 0 1px 12px #fff9, 0 0 28px #fff7;
}
.hero-copy h1 {
  font-size: clamp(1.85rem, 5.2vw, 4.55rem);
  font-weight: 500;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.hero-lead {
  max-width: 59ch;
  margin: auto;
  font-family: inherit;
  font-size: clamp(1rem, 1.39vw, 1.22rem);
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -.014em;
  text-wrap: balance;
}
.hero-context, .welcome-panel {
  color: #354043;
  font-size: clamp(.875rem, 1.12vw, .98rem);
  text-wrap: pretty;
}
.hero-context {
  max-width: 68ch;
  margin-inline: auto;
  line-height: 1.42;
}
.welcome-panel {
  --glass-fill: linear-gradient(131deg, #f4cddd83 1%, #fff9f185 56%, #c8eee5a1);
  width: min(100%, 41rem);
  margin: .25rem auto 0;
  padding: .75rem clamp(.8rem, 2vw, 1.35rem) .85rem;
  border-radius: 1rem;
  display: grid;
  justify-items: center;
  gap: .28rem;
  text-shadow: 0 1px 3px #fff9;
  animation: welcome-in 540ms 140ms cubic-bezier(.19,.74,.28,1) both;
}
.welcome-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  color: #583a50;
  font-size: clamp(.97rem, 1.52vw, 1.24rem);
  font-weight: 700;
  line-height: 1.2;
}
.welcome-panel p:last-child { max-width: 66ch; line-height: 1.43; }
.welcome-mark {
  flex: 0 0 1.18rem;
  aspect-ratio: 1;
  display: grid;
  place-items: start;
  border: 1px solid #fffdf4df;
  border-radius: .32rem;
  box-shadow: 0 2px 4px #72465c25;
  background: linear-gradient(145deg, #fff5faa9, #d4f0e9ad);
}
.welcome-mark::before {
  content: "";
  width: .29rem;
  aspect-ratio: 1;
  margin: .16rem;
  border-radius: .07rem;
  background: #a4678a;
  box-shadow: .43rem 0 #cc95b0, 0 .43rem #6d9e92, .43rem .43rem #a0c4b6;
}
@keyframes welcome-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.activation-platform {
  position: relative;
  isolation: isolate;
  width: min(35vw, 35rem);
  aspect-ratio: 766 / 310;
}
.activation-platform::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Show just the glass pedestal and power switch from the approved drawing. */
  background: linear-gradient(165deg, #ffe7baad, #ffe8d35c 58%, #ebb1c86e),
    url("assets/entrance-reference.png") 50.1% 95.4% / 218.28% auto no-repeat;
  background-blend-mode: soft-light, normal;
  filter: sepia(.12) saturate(.9);
  clip-path: polygon(1% 64%, 2% 59%, 8% 33%, 9% 27%, 12% 23%, 19% 16%, 25% 12%,
    35% 8%, 39% 4%, 45% 2%, 55% 2%, 61% 4%, 65% 8%, 75% 12%, 82% 16%, 89% 22%,
    92% 27%, 93% 35%, 99% 64%, 99% 69%, 97% 75%, 93% 80%, 84% 86%, 72% 91%, 62% 94%,
    51% 96%, 37% 94%, 25% 91%, 15% 87%, 7% 81%, 3% 75%, 1% 69%);
  pointer-events: none;
}
.activation-platform::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -22% -8%;
  height: 29%;
  background: radial-gradient(ellipse at 50% 42%, #84566757, #c890a652 36%, #edabc143 58%, transparent 73%);
  pointer-events: none;
}
.activation-cue {
  position: absolute;
  top: -.72rem;
  left: 50%;
  width: .55rem;
  aspect-ratio: 1;
  border-right: 1.5px solid #8a5179;
  border-bottom: 1.5px solid #8a5179;
  transform: translateX(-50%) rotate(45deg);
  animation: cue-in 800ms 420ms ease both;
  pointer-events: none;
}
@keyframes cue-in {
  from { opacity: 0; translate: 0 -7px; }
  to { opacity: 1; translate: 0; }
}
.activation {
  position: absolute;
  z-index: 1;
  inset: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 48% 48% 42% 42% / 62% 62% 29% 29%;
  background: transparent;
}
.activation::after {
  content: "";
  position: absolute;
  inset: 3% 33% 70%;
  border-radius: 50%;
  pointer-events: none;
  transition: background 160ms ease, box-shadow 160ms ease;
}
.activation:is(:hover, :focus-visible)::after {
  box-shadow: inset 0 0 13px #fff6, 0 0 24px #ff9bc3bc;
}
.activation:active::after {
  background: #df83ad26;
  box-shadow: inset 0 5px 13px #ad52786c, 0 0 20px #ff9bc3a3;
}
.activation-copy {
  position: absolute;
  z-index: 0;
  inset: 37% 12% 14%;
  isolation: isolate;
  display: grid;
  align-content: center;
  gap: clamp(.14rem, .36vw, .32rem);
  color: #5b3e52;
  pointer-events: none;
}
.activation-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #b89cae, #dbbfcd 28%, #edd4db 62%, #f5dce1);
  mask-image: linear-gradient(90deg, transparent, black 13% 87%, transparent),
    linear-gradient(180deg, transparent, black 10% 90%, transparent);
  mask-composite: intersect;
}
.activation-label {
  font-size: clamp(.72rem, 1.35vw, 1.2rem);
  line-height: 1.07;
  font-weight: 650;
}
.activation-caption { font-size: clamp(.67rem, 1.06vw, .93rem); line-height: 1.12; }
.lobby-copy, .map-copy { animation: materialize 460ms ease both; }
@keyframes materialize { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
.introduction-scene { display: grid; place-items: center; }
.intro-layout {
  --lavi-lift: 1rem;
  display: grid;
  justify-items: center;
  gap: .75rem;
  width: min(100%, 36rem);
  text-align: center;
  animation: materialize 460ms ease both;
}
.intro-lavi {
  width: clamp(9.5rem, 23vw, 17rem);
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 13px 12px #334a4c3f);
  animation: lavi-hover 4.6s ease-in-out infinite;
}
.intro-layout .lavi-line { top: 0; width: 100%; }
.intro-layout .lavi-line b { display: none; }
.intro-layout .lavi-line::after {
  left: 48%;
  top: -.42rem;
  bottom: auto;
  transform: rotate(225deg);
}
.intro-layout .actions { justify-content: center; }
.map-scene {
  /* Match the scale of the 1672 × 941 panorama when it fills the map. */
  --art-width: max(100vw, calc(100svh * 1672 / 941));
  --art-height: max(100svh, calc(100vw * 941 / 1672));
  text-align: center;
}
.map-copy { width: fit-content; max-width: 100%; margin: 0 auto; padding: .8rem clamp(1rem, 3vw, 1.85rem); }
.map-copy h1 { font-size: clamp(1.52rem, 3.1vw, 2.5rem); }
.map-copy p { color: var(--muted); margin-top: .3rem; font-size: .93rem; }
.door-label, .room-name { font-family: var(--room-face); font-weight: 400; letter-spacing: .055em; text-transform: uppercase; }
.door-label {
  position: absolute;
  top: calc(50% + var(--art-height) * var(--door-y));
  left: clamp(7.4rem, calc(50% + var(--art-width) * var(--door-x)), calc(100% - 7.4rem));
  translate: -50% -50%;
  width: max-content;
  max-width: min(27ch, 22vw);
  padding: .5rem .8rem;
  color: #425553;
  display: grid;
  gap: .25rem;
  align-content: center;
  min-height: 48px;
  min-width: min(100%, 10.5rem);
  background: linear-gradient(140deg, #fcfffbac, #def3e68c);
  border: 1px solid #fff;
  border-radius: .8rem;
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px #354f4e25;
  font-size: .84rem;
  backdrop-filter: blur(6px) saturate(1.12);
  transition: transform 175ms ease, border-color 175ms ease, box-shadow 175ms ease, background 175ms ease;
}
.door-label:is(:hover, :focus-visible, :active) {
  border-color: #cb75a7;
  background: linear-gradient(150deg, #fff8fdbf, #f1d4e699 76%, #f3e3ed83);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 2px #efb6d9a8, 0 0 23px #d75fa784, 0 8px 22px #72436138;
}
.door-focus { --door-x: -.388; --door-y: -.211; }
.door-content { --door-x: -.224; --door-y: -.047; }
.door-business { --door-x: .216; --door-y: -.047; }
.door-comms { --door-x: .388; --door-y: -.211; }
.door-label.room-complete {
  background: linear-gradient(145deg, #fbfff9ad, #cbf3e589 70%, #edd3e485);
  color: var(--mint-ink);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 #89c4b54d, 0 11px 25px #235e4c49;
}
.door-label:is(:hover, :focus-visible) { transform: translateY(-3px); }
.door-label:active { transform: translateY(1px) scale(.975); }
.door-label span { font: 600 .84rem / 1.28 var(--text-face); text-transform: none; letter-spacing: 0; }
.door-label strong { font-size: clamp(.84rem, 1.26vw, 1rem); font-weight: 400; }

.room-scene { padding-top: clamp(4.8rem, 6.2vw, 6.2rem); background-color: #efded5; }
.room-scene::after { background: linear-gradient(100deg, #ffeadd05 20%, #fff9ed10 45%, #f8f7ea66); }
.room-scene::before { display: none; }
.room-scene.arrival { background: #eee7de var(--panorama) center / cover no-repeat; }
.room-art {
  --art-ratio: 1024 / 528;
  --art-position: 36%;
  --art-props: url("assets/focus-furnished.jpg");
  position: absolute;
  z-index: -2;
  inset: 0 0 auto;
  height: var(--room-art-height, 100svh);
  container-type: size;
  overflow: clip;
  pointer-events: none;
  background-color: #ead7cc;
}
.room-art[data-art-room="communications"] {
  --art-ratio: 1672 / 941;
  --art-position: 47%;
  --art-props: url("assets/communications-furnished.jpg");
}
.room-art[data-art-room="content"] {
  --art-ratio: 1024 / 481;
  --art-props: url("assets/content-furnished.jpg");
}
.room-art[data-art-room="business"] {
  --art-ratio: 1024 / 505;
  --art-position: 49%;
  --art-props: url("assets/business-furnished.jpg");
}
.arrival .room-art {
  animation: room-arrive 470ms cubic-bezier(.2,.74,.23,1) both;
  transform-origin: 22% 46%;
}
.room-art-frame {
  position: absolute;
  top: 50%;
  left: var(--art-position);
  width: max(100cqw, calc(100cqh * var(--art-ratio)));
  aspect-ratio: var(--art-ratio);
  transform: translate(calc(-1 * var(--art-position)), -50%);
}
.room-art-base, .room-prop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.room-prop {
  background: var(--art-props) center / 100% 100% no-repeat;
  mask-image: linear-gradient(90deg, transparent var(--x0), black var(--x1) var(--x2), transparent var(--x3)),
    linear-gradient(180deg, transparent var(--y0), black var(--y1) var(--y2), transparent var(--y3));
  mask-composite: intersect;
  opacity: 0;
}
.room-prop.visible { opacity: 1; }
.room-prop.reveal-prop { animation: room-prop-in 460ms var(--prop-delay, 0ms) ease-out both; }
@keyframes room-prop-in { from { opacity: 0; } to { opacity: 1; } }
.focus-prop-desk, .focus-prop-charts { background-image: url("assets/focus-planning.jpg"); }
.focus-prop-pencils, .focus-prop-lamp { background-image: url("assets/focus-desk.jpg"); }
.focus-prop-desk {
  --x0: 10.1%; --x1: 12.6%; --x2: 51%; --x3: 55%;
  --y0: 50.8%; --y1: 53.8%; --y2: 92.5%; --y3: 100%;
}
.focus-prop-pencils {
  --x0: 41.4%; --x1: 42.1%; --x2: 44.1%; --x3: 44.8%;
  --y0: 57.1%; --y1: 57.9%; --y2: 63.8%; --y3: 64.4%;
}
.focus-prop-notebooks {
  inset: 63.2% auto auto 44.7%;
  width: 4.65%;
  height: 1.65%;
  border-radius: 12% 9% 12% 7%;
  mask-image: none;
  background: linear-gradient(173deg, #c8b3a5 0 59%, #f8eddb 63% 82%, #ae9481 91%);
  box-shadow: .03em .08em .12em #6f483f66;
  transform: skewX(-24deg) rotate(-2deg);
}
.focus-prop-notebooks::before {
  content: "";
  position: absolute;
  inset: -35% 12% 50% 4%;
  border-radius: inherit;
  background: linear-gradient(165deg, #acb7a4 0 65%, #eee4cf 68% 88%, #798675 94%);
  box-shadow: 0 .025em .07em #6b594b3d;
}
.focus-prop-laptop {
  --x0: 31.7%; --x1: 33.3%; --x2: 40.7%; --x3: 42.8%;
  --y0: 55%; --y1: 56.9%; --y2: 64.5%; --y3: 67.4%;
}
.focus-prop-lamp {
  --x0: 16.7%; --x1: 17.2%; --x2: 24.2%; --x3: 24.8%;
  --y0: 49.5%; --y1: 50.2%; --y2: 65%; --y3: 65.7%;
  clip-path: polygon(16.8% 55.2%, 17.4% 53.5%, 18.8% 51.3%, 20.6% 49.7%, 22.5% 51%, 24.4% 53.4%,
    24.7% 55.3%, 21.6% 55.6%, 21.6% 63.9%, 22.8% 64.2%, 22.8% 65.6%, 18.6% 65.6%,
    18.6% 64.3%, 19.8% 64%, 19.8% 55.6%, 16.8% 55.5%);
}
.focus-prop-charts {
  --x0: 33.5%; --x1: 34.6%; --x2: 58.7%; --x3: 60%;
  --y0: 29.5%; --y1: 31%; --y2: 49.5%; --y3: 51.6%;
}
.communications-prop-envelopes {
  --x0: 30.7%; --x1: 32%; --x2: 37.7%; --x3: 38.9%;
  --y0: 58.8%; --y1: 59.8%; --y2: 63.6%; --y3: 65%;
}
.communications-prop-tablet {
  --x0: 38.6%; --x1: 39.5%; --x2: 45.1%; --x3: 46.5%;
  --y0: 55.8%; --y1: 56.9%; --y2: 63.7%; --y3: 65%;
}
.communications-prop-tablet-light {
  inset: 57.65% auto auto 40.1%;
  width: 4.25%;
  height: 4.95%;
  transform: skewX(-17deg);
  mask-image: none;
  border-radius: .18rem;
  background: radial-gradient(ellipse at 57% 64%, #cbf8df33, transparent 76%);
  box-shadow: 0 0 .58rem #e3fff260;
}
.communications-prop-messages {
  --x0: 58.5%; --x1: 59.5%; --x2: 65.2%; --x3: 67%;
  --y0: 31.4%; --y1: 33.4%; --y2: 55%; --y3: 57.5%;
}
.content-prop-camera {
  --x0: 17.7%; --x1: 19%; --x2: 30.35%; --x3: 32.7%;
  --y0: 36.9%; --y1: 39%; --y2: 79.8%; --y3: 84%;
}
.content-prop-microphone {
  --x0: 39.9%; --x1: 41.1%; --x2: 44.1%; --x3: 45.7%;
  --y0: 44.8%; --y1: 46.5%; --y2: 57.7%; --y3: 59.5%;
}
.content-prop-studio-light {
  --x0: 44.9%; --x1: 46%; --x2: 52.7%; --x3: 54.9%;
  --y0: 33.5%; --y1: 36%; --y2: 74.4%; --y3: 78%;
}
.business-prop-first-monitor {
  --x0: 30.9%; --x1: 32.3%; --x2: 40.6%; --x3: 42%;
  --y0: 45%; --y1: 47.4%; --y2: 56.6%; --y3: 58.2%;
}
.business-prop-second-monitor {
  --x0: 50%; --x1: 51.3%; --x2: 59.3%; --x3: 61%;
  --y0: 45%; --y1: 47.4%; --y2: 56.6%; --y3: 58.2%;
}
.business-prop-console {
  --x0: 44.8%; --x1: 45.75%; --x2: 47.2%; --x3: 48.2%;
  --y0: 50.5%; --y1: 52%; --y2: 56.2%; --y3: 57.9%;
}
.business-prop-statuses {
  --x0: 26.4%; --x1: 28.1%; --x2: 77.1%; --x3: 79.2%;
  --y0: 24.7%; --y1: 26.5%; --y2: 44.5%; --y3: 46.7%;
}
.room-scene.arrival .room-layout { animation: room-controls-in 300ms 105ms cubic-bezier(.21,.77,.31,1) both; }
@keyframes room-arrive {
  from { transform: translate3d(15%, 4%, 0) scale(.72); opacity: .5; border-radius: 2rem; }
  to { transform: none; opacity: 1; border-radius: 0; }
}
@keyframes room-controls-in {
  from { opacity: 0; transform: translate3d(1.8rem, .7rem, 0); }
  to { opacity: 1; transform: none; }
}
.room-layout {
  margin: auto;
  max-width: 84rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(23rem, .93fr);
  gap: clamp(1.5rem, 5vw, 6rem);
  align-items: start;
}
.lavi-guide {
  --lavi-lift: clamp(1rem, 1.85vw, 1.65rem);
  display: grid;
  gap: .45rem;
  align-content: start;
  justify-items: center;
  margin-block-start: clamp(5.75rem, 24svh, 13.5rem);
  margin-right: clamp(0rem, 3vw, 3.2rem);
  min-width: 0;
}
.lavi-guide img {
  display: block;
  width: clamp(11rem, 24vw, 23rem);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 14px #334a4c42);
  transform: translateY(-.5rem);
  animation: lavi-hover 4.6s ease-in-out infinite;
}
@keyframes lavi-hover {
  0%, 100% { translate: 0; }
  50% { translate: .25rem calc(-1 * var(--lavi-lift)); }
}
.lavi-line {
  width: min(100%, 29rem);
  position: relative;
  top: -.88rem;
  z-index: 1;
  padding: .85rem 1.12rem;
  border: 1px solid #fffcfac9;
  border-radius: 1.25rem;
  color: var(--ink);
  background: var(--speech-fill, linear-gradient(145deg, #fffaf4b5, #f2fff3a1 69%, #c5e7d991));
  box-shadow: inset 0 1px 3px #fff, inset 0 -2px 4px #9ebdb27d, 0 10px 24px #35544b39;
  backdrop-filter: blur(6px) saturate(1.15);
  animation: line-in 340ms cubic-bezier(.17,.8,.27,1) both;
}
.lavi-line::before {
  position: absolute;
  content: "";
  inset: -1px;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(112deg, #e4a8c6, #fffef6 29%, #a6cfc1 62%, #edd0e0 88%, #e4a8c6);
  background-size: 170% 100%;
  mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
  mask-composite: exclude;
  animation: glass-rim 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glass-rim { from { background-position: 12% 50%; } to { background-position: 89% 50%; } }
.lavi-line::after {
  position: absolute;
  content: "";
  left: 54%;
  bottom: -.46rem;
  width: .85rem;
  aspect-ratio: 1;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  background: #edf9efb3;
  transform: rotate(45deg);
}
.lavi-line b { display: block; color: var(--mint-ink); font-size: .92rem; margin-bottom: .15rem; }
.lavi-line p { font-size: clamp(.95rem, 1.36vw, 1.13rem); font-weight: 600; line-height: 1.36; }
.lavi-message { position: relative; }
.lavi-message.is-typing .lavi-full { opacity: 0; }
.lavi-writing { position: absolute; inset: 0; }
.lavi-writing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: .88em;
  margin-inline-start: .13em;
  background: #996583;
}
@keyframes line-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }

.panel { padding: clamp(1.1rem, 2.65vw, 2.25rem); display: grid; gap: .95rem; min-width: 0; font-size: .94rem; }
.panel h1 { font-size: clamp(1.5rem, 2.28vw, 2.12rem); }
.panel h2 { font-size: clamp(1.12rem, 1.62vw, 1.46rem); }
.question-panel {
  --glass-fill: linear-gradient(147deg, #fffdf5a1, #f7f3eb69 52%, #dcf3ea79);
  gap: .72rem;
  padding: clamp(.9rem, 1.8vw, 1.6rem);
}
.question-panel h1 {
  font-size: clamp(1rem, 1.49vw, 1.38rem);
  line-height: 1.28;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.question-panel .muted { font-size: .84rem; }
.eyebrow { color: var(--mint-ink); font-size: .86rem; font-weight: 650; }
.eyebrow.room-name { font-size: .82rem; font-weight: 400; }
.muted { color: var(--muted); }
.answers { display: grid; gap: .52rem; }
.answer {
  min-height: 48px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: .68rem;
  padding: .55rem .73rem;
  text-align: left;
  color: var(--ink);
  border-radius: .9rem;
  border: 1px solid #fffdf6e6;
  background: linear-gradient(152deg, #fffdfb95, #fffaf540 58%, #d7f3e664);
  box-shadow: inset 0 1px 1px #fff9, inset 0 -2px 3px #86ada143, 0 3px 10px #39564d20;
  line-height: 1.35;
}
.answer::before {
  content: ""; width: .78rem; height: .78rem; flex: 0 0 .78rem; margin-top: .16rem;
  border: 1px solid #668780; border-radius: 50%; background: #fff8;
}
.answer-text { display: grid; gap: .14rem; font-size: .93rem; font-weight: 650; }
.answer-example { color: #334542; font-size: .87rem; line-height: 1.4; font-weight: 400; }
.answer:not(:disabled):is(:hover, :focus-visible, [aria-current="true"]) {
  background: linear-gradient(145deg, #fff9feb5, #e1f5ed9b 78%);
  border-color: #cf91b4;
  box-shadow: inset 0 1px 1px #fff, inset 0 -2px 2px #86ada14f, 0 0 0 1px #e9bbd77d, 0 6px 13px #75516d2e;
}
.answer[aria-current="true"]::before { background: var(--focus); border-color: var(--focus); }
.answer:disabled { cursor: default; color: #425250; }
.answer:disabled::before { opacity: .5; }
.back { justify-self: start; }
.result-scene {
  --scene-position: 24% center;
  padding-top: clamp(4.45rem, 5.2vw, 5.65rem);
}
.result-scene::after {
  background: radial-gradient(ellipse at 30% 51%, #fff6ed20, #f0ded57b 80%),
    linear-gradient(105deg, #6a4d5b29, #d2eee331);
}
.result-scene .room-layout {
  max-width: 74rem;
  grid-template-columns: minmax(23rem, 1fr) minmax(0, .82fr);
  align-items: start;
  gap: clamp(.85rem, 3.5vw, 3.4rem);
}
.result-scene .lavi-guide {
  margin-block-start: clamp(.35rem, 6svh, 3.5rem);
  margin-right: 0;
}
.result-scene .lavi-guide img {
  width: clamp(14rem, 30vw, 30rem);
  animation: lavi-present 600ms cubic-bezier(.19,.73,.21,1) both, lavi-hover 4.6s 600ms ease-in-out infinite;
}
@keyframes lavi-present {
  0% { opacity: .35; transform: perspective(650px) translate3d(-1.7rem, 1.4rem, 0) rotateY(-52deg) scale(.68); }
  64% { opacity: 1; transform: perspective(650px) translate3d(.72rem, -.6rem, 0) rotateY(16deg) scale(1.025); }
  100% { opacity: 1; transform: perspective(650px) rotateY(0); }
}
.result-scene .lavi-line {
  --speech-fill: linear-gradient(145deg, #fffefab8, #fff3f9a8 70%, #eaf8ee98);
  animation-delay: 240ms;
}
.result-scene .lavi-line::after { background: #f8f4f4b3; }
.lavi-line .lavi-insight { margin: .25rem 0 .35rem; font-size: clamp(1.1rem, 1.7vw, 1.42rem); line-height: 1.18; font-weight: 700; }
.lavi-line .lavi-insight + p { font-weight: 500; font-size: clamp(.91rem, 1.25vw, 1.06rem); }
.finding-card {
  --glass-fill: linear-gradient(148deg, #fffcf9b6 2%, #fff2f18c 45%, #e2f4e9a8);
  gap: .72rem;
  padding: clamp(.95rem, 1.9vw, 1.72rem);
  box-shadow: inset 0 2px 2px #fff, inset 0 -2px 2px #a5c7b761, 0 17px 45px #624e5f33;
  animation: finding-in 450ms 130ms cubic-bezier(.19,.74,.27,1) both;
}
@keyframes finding-in {
  from { opacity: 0; transform: translate3d(-1.8rem, 1.1rem, 0) scale(.96); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 1000px) {
  .room-scene:not(.result-scene) .lavi-guide {
    justify-items: start;
    margin: .55rem 0 0;
  }
  .room-scene:not(.result-scene) .lavi-guide .lavi-line { width: min(100%, 19rem); }
  .room-scene:not(.result-scene) .lavi-guide img { width: clamp(7rem, 11vw, 11rem); }
  .result-scene .room-layout {
    max-width: none;
    grid-template-columns: minmax(0, 29vw) minmax(0, 24vw);
    justify-content: space-between;
  }
  .result-scene .lavi-guide img { width: min(100%, 17rem); }
}
.finding-title { display: grid; gap: .45rem; padding-bottom: .1rem; }
.finding-title {
  border-bottom: 1px solid #fff9f0e0;
  padding-bottom: .75rem;
  text-wrap: balance;
}
.finding-title .eyebrow { color: #79435f; letter-spacing: .085em; text-transform: uppercase; }
.finding-title h1 { font-size: clamp(1.48rem, 2.25vw, 2.16rem); }
.finding-card[data-result="assistant"] .finding-title h1 { font-size: clamp(1.38rem, 1.94vw, 1.9rem); }
.finding-growth { display: grid; gap: .2rem; }
.finding-growth h2 { font-size: 1rem; letter-spacing: 0; }
.finding-growth p { color: #3f504f; }
.finding-growth .prompt-intro { margin-top: .23rem; color: #28574b; font-size: .9rem; }

.prompt {
  position: relative;
  background: linear-gradient(142deg, #effff5a8 3%, #c8eadcaa 53%, #d0f0e29c 95%);
  border: 1px solid #fff;
  border-radius: .8rem;
  padding: .34rem .68rem;
  display: grid;
  gap: .52rem;
  min-width: 0;
  color: #224b3f;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 #79baa53a, 0 8px 15px #2c695626;
}
.glass-copy { padding: .4rem .78rem; background: linear-gradient(156deg, #fffef9b8, #d9f6e9a6); }
.prompt .glass-copy { position: absolute; inset: .34rem .55rem auto auto; }
.prompt summary {
  min-height: 44px;
  align-content: center;
  padding-inline-end: 7.75rem;
  color: var(--mint-ink);
  font-weight: 650;
}
.prompt pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.47; margin: .1rem 0 .45rem; }
.copy-notice {
  position: absolute;
  bottom: calc(100% + .65rem);
  right: .55rem;
  z-index: 2;
  max-width: calc(100% - 1.1rem);
  padding: .42rem .8rem;
  border: 1px solid white;
  border-radius: .75rem;
  background: #2a6453;
  color: white;
  box-shadow: 0 5px 14px #254f4761;
  font-weight: 650;
  font-size: .93rem;
  animation: copy-in 180ms ease both;
}
@keyframes copy-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.finding-solution {
  --solution-edge: .53rem;
  position: relative;
  isolation: isolate;
  padding: var(--solution-edge);
  border-radius: 1.38rem;
  background: #f6e3d630;
  box-shadow: 0 0 2px 1px #fff5ed91, 0 0 10px 2px #ffeddfb8,
    0 0 18px 1px #fce0c9d6, 0 12px 24px 1px #ad788b76;
}
.finding-solution::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  padding: var(--solution-edge);
  border-radius: inherit;
  background: linear-gradient(119deg,
    #fff4eb 1%, #e1c8b2b5 15%, #fffdfa 24%, #f0e0d9c4 29%, #cdb1ae87 39%,
    #fffdf8 51%, #f1dcc3d1 60%, #c0a8a9ba 72%, #fff9f1 82%, #e9d0bfbf 97%);
  background-size: 190% 100%;
  mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
  mask-composite: exclude;
  animation: glass-rim 6.8s ease-in-out infinite alternate;
  pointer-events: none;
}
.finding-solution::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid #fff7efd9;
  border-radius: 1.24rem;
  box-shadow: inset 0 1px 2px #fffaf5e8, inset 0 -2px 2px #f4e2d5eb, inset 0 -5px 6px #94766f25;
  pointer-events: none;
}
.solution-face {
  display: grid;
  gap: .32rem;
  padding: .5rem .68rem .56rem;
  font-size: .9rem;
  border: 1px solid #fffaf2d9;
  border-radius: calc(1.38rem - var(--solution-edge));
  background: linear-gradient(145deg, #f9eeead9 2%, #fdf5efbc 55%, #e8cdd890);
  box-shadow: inset 0 2px 6px #fff9, inset 0 -2px 4px #ceabba4d;
  backdrop-filter: blur(7px);
}
.solution-face p { line-height: 1.43; }
.finding-solution .eyebrow { color: #774762; }
.finding-solution h2 { font-size: clamp(1.1rem, 1.65vw, 1.44rem); }
.solution-lead { font-weight: 700; }
.feedback { color: var(--mint-ink); font-size: .94rem; }
.feedback:empty { display: none; }
.manual-copy { width: 100%; resize: vertical; border: 1px solid #83af9e; color: var(--ink); border-radius: .6rem; padding: .6rem; }
.summary { width: min(100%, 37rem); margin-inline: auto; }
.summary-scene .summary { width: min(100%, 48rem); }
.summary-group { display: grid; gap: .62rem; }
.summary-group h2 { margin-top: .38rem; }
.summary-item, .summary-feature {
  display: grid;
  gap: .42rem;
  justify-items: start;
  width: 100%;
  padding: .8rem .95rem;
  border-radius: .85rem;
}
.summary-item-title { font-weight: 700; }
.secret-door {
  --glass-fill: linear-gradient(127deg, #fff7ecb8, #f4dfeb80 51%, #e2f2e8ad);
  border-color: #fff9e8;
  border-radius: .95rem;
  box-shadow: inset 0 1px 2px #fff, 0 1px 10px #c68d7449, 0 4px 14px #694d4629;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) .65rem;
  align-items: center;
  gap: .65rem;
  padding: .55rem .8rem;
  width: 100%;
  text-align: left;
  color: var(--ink);
}
.secret-door:hover { background-color: #ffffff42; }
.secret-door-label { display: block; color: #684b53; font-size: .8rem; font-weight: 650; }
.secret-door-handle {
  position: relative;
  width: 1.8rem;
  height: 2.35rem;
  margin-inline: auto;
  border: 1px solid #fffdf1;
  border-radius: 1rem 1rem .16rem .16rem;
  background: linear-gradient(120deg, #fffef4a6, #dab5d37a 48%, #b3ded499);
  box-shadow: inset 0 0 0 2px #fffc, inset 0 -5px 9px #77608347, 0 0 7px #c68f9599;
  transition: background 250ms ease, box-shadow 250ms ease;
}
.secret-door-handle::after {
  content: "";
  position: absolute;
  right: .32rem;
  top: 58%;
  width: .25rem;
  height: .25rem;
  border-radius: 50%;
  background: #fff8e3;
  box-shadow: 0 0 5px #a96963;
}
.secret-door-arrow {
  width: .48rem;
  height: .48rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
}
.portal-scene {
  display: grid;
  align-items: start;
  padding-top: clamp(5.5rem, 7vw, 7.5rem);
  background: #efded5;
}
.portal-scene::before { display: none; }
.portal-scene::after {
  background: linear-gradient(90deg, #f8ece846, transparent 56%);
}
.portal-scene:is(:not(.portal-opened), .studio-connection) .room-art-frame {
  --art-width: max(100cqw, calc(100cqh * var(--art-ratio)));
  left: clamp(
    calc(100cqw - var(--art-width) * (1 - var(--wall-door-center))),
    var(--portal-camera, calc(100cqw * var(--wall-door-center))),
    calc(var(--art-width) * var(--wall-door-center))
  );
  transform: translate(calc(-100% * var(--wall-door-center)), -50%);
}
.room-art[data-art-room="focus"] {
  --wall-door-center: .754;
  --wall-door-floor: 74.4%;
  --wall-door-width: 14.5%;
}
.room-art[data-art-room="communications"] {
  --wall-door-center: .759;
  --wall-door-floor: 68.6%;
  --wall-door-width: 14%;
}
.room-art[data-art-room="content"] {
  --wall-door-center: .754;
  --wall-door-floor: 71.4%;
  --wall-door-width: 15%;
}
.room-art[data-art-room="business"] {
  --wall-door-center: .887;
  --wall-door-floor: 70.7%;
  --wall-door-width: 10.4%;
}
.portal-wall-door {
  --wall-door-slant: 3.2deg;
  position: absolute;
  left: calc(100% * var(--wall-door-center));
  bottom: calc(100% - var(--wall-door-floor));
  width: var(--wall-door-width);
  height: 39%;
  min-width: 78px;
  min-height: 120px;
  padding: 0;
  border: 0;
  border-radius: .75rem .75rem .12rem .12rem;
  background: transparent;
  color: var(--ink);
  transform: translateX(-50%) skewY(var(--wall-door-slant));
  perspective: 700px;
  pointer-events: auto;
}
.portal-wall-door:disabled { cursor: default; }
.portal-door-leaf, .portal-room-beyond, .portal-door-outline {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.portal-room-beyond {
  inset: 4px 4px 1px;
  background: linear-gradient(180deg, #f6e5d42b, #5a454254), var(--room-beyond) 47% center / auto 100% no-repeat;
  box-shadow: inset 0 0 12px #77645875, 0 0 10px #ffe4c960;
  opacity: 0;
  transition: opacity 460ms 110ms ease;
}
.portal-door-leaf {
  border: 1px solid #fff4e8cf;
  background: linear-gradient(112deg, #ffdbba13 6%, #fff8f20a 24%, #fff5e545 55%, #cbd9d626 73%, #b497972a);
  box-shadow: inset 0 0 0 3px #a8878742, inset 0 0 14px #fff3da68;
  transform-origin: right center;
  animation: portal-surface 370ms 530ms both;
  transition: transform 620ms cubic-bezier(.27,.75,.22,1);
}
.portal-door-leaf::after {
  content: "";
  position: absolute;
  top: 55%;
  left: 10%;
  width: clamp(.19rem, .45vw, .39rem);
  height: 11%;
  border-radius: 999px;
  background: linear-gradient(90deg, #a37c68, #fff4dc 54%, #c5a285);
  box-shadow: 0 1px 5px #644b5b79;
}
.portal-door-outline i {
  position: absolute;
  display: block;
  background: #fff6e8;
  box-shadow: 0 0 4px #fff6db, 0 0 10px #f8d2ae98;
}
.portal-door-outline i:nth-child(odd) { inset-inline: .12rem; height: 2px; animation: portal-outline-x 250ms both; }
.portal-door-outline i:nth-child(1) { top: 0; transform-origin: left center; animation-delay: 80ms; }
.portal-door-outline i:nth-child(2), .portal-door-outline i:nth-child(4) {
  inset-block: .08rem;
  width: 2px;
  transform-origin: center top;
  animation: portal-outline-y 310ms both;
}
.portal-door-outline i:nth-child(2) { right: 0; animation-delay: 310ms; }
.portal-door-outline i:nth-child(3) { bottom: 0; transform-origin: right center; animation-delay: 540ms; }
.portal-door-outline i:nth-child(4) { left: 0; animation-delay: 220ms; }
.portal-wall-door:is(:hover, :focus-visible) .portal-door-outline i { box-shadow: 0 0 5px #fff, 0 0 13px #ffe1ba; }
.portal-door-sign {
  position: absolute;
  left: 50%;
  bottom: calc(100% + .45rem);
  width: max-content;
  max-width: min(14rem, 43vw);
  transform: translateX(-50%) skewY(calc(-1 * var(--wall-door-slant)));
  border-radius: .55rem;
  padding: .38rem .55rem;
  font-size: clamp(.69rem, 1.05vw, .87rem);
  line-height: 1.22;
  background: #fff5ebe0;
  animation: portal-surface 270ms 640ms both;
}
.portal-door-sign > span { display: block; color: var(--muted); font-size: .88em; }
.portal-crossing .portal-room-beyond { opacity: 1; }
.portal-crossing .portal-door-leaf { transform: rotateY(103deg); }
.portal-crossing .room-art {
  animation: portal-walk-in 780ms 70ms both;
  transform-origin: var(--portal-walk-origin, calc(var(--wall-door-center) * 100%)) 55%;
}
.portal-layout {
  width: min(100%, 80rem);
  margin-inline: auto;
  display: grid;
  align-items: start;
  pointer-events: none;
}
.portal-guide {
  --lavi-lift: .85rem;
  width: min(100%, 22rem);
  display: grid;
  justify-items: start;
  gap: .75rem;
  animation: portal-guide-move 520ms cubic-bezier(.22,.75,.22,1) both;
}
.portal-guide img {
  display: block;
  width: min(58%, 11rem);
  filter: drop-shadow(0 13px 10px #49394042);
  animation: lavi-hover 4.6s 530ms ease-in-out infinite;
}
.portal-guide .lavi-line { top: 0; }
.portal-guide button, .portal-solution { pointer-events: auto; }
.portal-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .36rem;
  width: fit-content;
  padding: .44rem .6rem;
  border-radius: .7rem;
  color: var(--mint-ink);
  background: #fff8eadc;
  font-size: .79rem;
  font-weight: 700;
}
.portal-route-arrow { color: #825c73; }
.portal-opened .portal-layout { justify-items: end; }
.portal-solution {
  width: min(100%, 33rem);
  --glass-fill: linear-gradient(135deg, #fff8efdc, #fbf0efcd 58%, #e4f4e3ba);
  box-shadow: inset 0 2px 3px #fff, 0 0 21px #fff1dcb8, 0 17px 55px #654f5547;
  animation: portal-card-out 520ms 100ms cubic-bezier(.15,.77,.25,1) both;
}
.portal-entered .room-art { animation: portal-entered 480ms ease-out both; }
.portal-solution h1 { font-size: clamp(1.5rem, 2.75vw, 2.45rem); }
.portal-solution .eyebrow { color: #79435f; }
.portal-uses { display: grid; gap: .48rem; margin: 0; }
.portal-uses > div {
  padding: .62rem .75rem;
  border: 1px solid #fff;
  border-radius: .7rem;
  background: #e3f0e292;
}
.portal-uses dt { color: var(--mint-ink); font-weight: 700; }
.portal-uses dd { margin: .16rem 0 0; line-height: 1.42; }
.portal-example { color: var(--mint-ink); font-weight: 650; }
.portal-check { color: var(--muted); }
@keyframes portal-outline-x { from { transform: scaleX(0); } to { transform: none; } }
@keyframes portal-outline-y { from { transform: scaleY(0); } to { transform: none; } }
@keyframes portal-surface { from { opacity: 0; } to { opacity: 1; } }
@keyframes portal-guide-move {
  from { opacity: .7; transform: translateX(24%) scale(1.1); }
  to { opacity: 1; transform: none; }
}
@keyframes portal-walk-in {
  0% { transform: none; opacity: 1; }
  75% { opacity: 1; }
  100% { transform: scale(1.26); opacity: .5; }
}
@keyframes portal-entered {
  from { transform: scale(1.055); opacity: .56; }
  to { transform: none; opacity: 1; }
}
@keyframes portal-card-out {
  from { opacity: 0; transform: translateY(1.25rem) scale(.97); }
  to { opacity: 1; transform: none; }
}
.studio-passage {
  --studio-art-ratio: 1829 / 860;
  --studio-door-center: .3876;
  --studio-door-half-width: .04075;
}
.room-art.studio-passage-art {
  --art-ratio: var(--studio-art-ratio);
  --portal-camera: 50cqw;
  --wall-door-center: var(--studio-door-center);
  --wall-door-floor: 68.45%;
  --wall-door-width: calc(200% * var(--studio-door-half-width));
}
.studio-passage .portal-layout { justify-items: end; }
.studio-passage-art .portal-wall-door {
  --wall-door-slant: 0deg;
  height: 40.6%;
  min-width: 65px;
  border-radius: .18rem;
}
.studio-passage .portal-door-outline { transform: skewY(2deg); transform-origin: left top; }
.studio-passage .portal-door-outline i {
  overflow: hidden;
  background: #fff2dedb;
  box-shadow: 0 0 3px #fff9e8, 0 0 8px #fbcab7d4;
}
.studio-passage .portal-door-outline i:nth-child(odd) { height: 2.35px; }
.studio-passage .portal-door-outline i:nth-child(even) { width: 2.35px; }
.studio-passage .portal-door-outline i:nth-child(2) { bottom: auto; height: 45.6%; }
.studio-passage .portal-door-outline i:nth-child(3) { display: none; }
.studio-passage .portal-door-outline i:nth-child(4) { bottom: auto; height: 64.5%; }
.studio-passage .portal-door-outline i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 10%, #fffef9 49%, transparent 90%);
  animation: studio-trace-shine 650ms 230ms ease-out both;
}
.studio-passage .portal-door-outline i:nth-child(even)::after {
  background: linear-gradient(180deg, transparent 10%, #fffef9 49%, transparent 90%);
  animation-name: studio-trace-shine-down;
  animation-delay: 600ms;
}
.studio-passage-art .portal-door-leaf {
  opacity: 0;
  animation: none;
  transition: none;
  border: 0;
  background: url("assets/studio-passage-clear.jpg") 37.8% 46.9% / 1227% 246% no-repeat;
}
.studio-passage-art .portal-door-leaf::after { display: none; }
.studio-guide {
  position: absolute;
  z-index: 1;
  inset: 34.2% auto auto 24%;
  width: 10.5%;
  animation: studio-lavi-approach 620ms 300ms cubic-bezier(.22,.74,.23,1) both;
}
.studio-guide > img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 6px 6px #64495a50);
}
.studio-guide .lavi-line {
  position: absolute;
  inset: auto 45% calc(100% + .26rem) auto;
  width: clamp(8.7rem, 17vw, 14.5rem);
  padding: .53rem .65rem;
  animation: portal-surface 240ms 845ms both;
}
.studio-guide .lavi-line::after { left: auto; right: 12%; }
.studio-passage .portal-room-beyond {
  inset: 3px 3px 1px;
  background: linear-gradient(90deg, #7d584545, transparent 17% 83%, #6f483f45),
    var(--room-beyond) 47% center / auto 100% no-repeat;
}
.studio-passage-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 10% 27% at 38.76% 57%, #fff1c97a, #ffe9bf32 61%, transparent 95%);
  opacity: 0;
  pointer-events: none;
}
.studio-passage-path {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(72deg, transparent 39%, #fff8eaa6 46% 47%, #f8ecbe33 48% 54%, #fff8e8a1 55% 56%, transparent 57%),
    linear-gradient(180deg, #f8e6e200 67%, #f9e9c85c 76%, #d2e8de51 100%);
  clip-path: polygon(37.85% 68.45%, 39.65% 68.45%, 52% 100%, 37% 100%);
  pointer-events: none;
}
.studio-props, .studio-props span { position: absolute; inset: 0; pointer-events: none; }
.studio-props { visibility: hidden; }
.studio-props span { background: url("assets/studio-passage.jpg") center / 100% 100% no-repeat; }
.studio-camera {
  clip-path: polygon(18.25% 38%, 29.5% 38%, 29.4% 69%, 30.7% 76.35%, 30.7% 80%, 18.25% 80%);
  mask-image: linear-gradient(90deg, transparent 18.25%, black 19% 30.2%, transparent 30.7%),
    linear-gradient(180deg, transparent 38%, black 39% 78.9%, transparent 80%);
  mask-composite: intersect;
}
.studio-chair {
  clip-path: polygon(29.63% 55.00%, 29.80% 53.95%, 30.51% 53.49%, 32.31% 53.49%, 33.68% 53.84%, 34.39% 54.65%,
    34.94% 56.74%, 35.59% 60.70%, 35.92% 62.91%, 37.34% 63.14%, 38.82% 64.07%, 39.48% 65.00%,
    39.69% 66.74%, 39.48% 67.91%, 38.87% 68.49%, 36.96% 68.95%, 36.14% 69.53%, 35.65% 70.23%,
    35.59% 74.07%, 39.69% 75.70%, 39.80% 76.28%, 39.80% 76.86%, 39.53% 77.09%, 35.70% 75.81%,
    36.03% 77.21%, 36.36% 78.26%, 36.30% 78.60%, 35.98% 78.72%, 35.48% 77.44%, 35.10% 76.16%,
    34.99% 75.93%, 30.89% 77.79%, 30.73% 77.67%, 30.67% 77.09%, 34.72% 74.30%, 34.72% 70.70%,
    34.55% 69.77%, 33.90% 69.07%, 32.42% 68.84%, 31.27% 68.60%, 30.51% 67.79%, 30.02% 65.93%,
    29.80% 63.14%, 29.63% 58.37%);
}
.studio-table {
  clip-path: polygon(36.75% 57%, 38% 56.43%, 41.35% 56.15%, 41.7% 55.97%, 42.12% 52.3%, 41.76% 51.5%,
    41.61% 49.5%, 41.79% 49.45%, 41.98% 50.85%, 41.9% 47.2%, 42.16% 46.4%, 42.85% 46.35%, 43.07% 47.02%,
    43.25% 50.8%, 43.36% 49.45%, 43.57% 49.45%, 43.33% 51.75%, 42.77% 52.4%, 42.86% 55.99%, 43.63% 56.18%,
    47.9% 56.59%, 48.63% 57%, 48.61% 58%, 46.56% 58.59%, 45.5% 60.29%, 45.4% 74.8%, 44.8% 75.51%,
    43.05% 75.86%, 40.54% 75.63%, 40.11% 74.95%, 40.1% 60.2%, 39.3% 59.04%, 37.11% 58.55%, 36.65% 57.82%);
}
.studio-ring {
  mask-image: radial-gradient(ellipse 3.25% 7.36% at 49.31% 43.27%,
    transparent 73%, black 76% 97%, transparent 101%);
}
.studio-stand {
  clip-path: polygon(48.95% 49.9%, 49.68% 49.88%, 49.6% 51.6%, 49.45% 51.9%, 49.43% 71.52%, 50.85% 71.88%,
    51.54% 72.25%, 51.48% 73%, 50.72% 73.34%, 48% 73.38%, 47.17% 73.13%, 47.2% 72.15%, 48.13% 71.87%,
    49.09% 71.61%, 49.11% 51.7%, 48.97% 51.2%);
}
.studio-passage.portal-crossing .studio-passage-still { visibility: hidden; }
.studio-passage.portal-crossing .portal-door-outline { opacity: 0; }
.studio-passage.portal-crossing .studio-passage-glow { animation: studio-spill-light 610ms 60ms ease-out both; }
.studio-passage.portal-crossing .studio-props { visibility: visible; }
.studio-passage.portal-crossing :is(.studio-props-left, .studio-props-right) {
  animation: studio-clear-path 790ms cubic-bezier(.27,.72,.24,1) both;
}
.studio-props-left { --slide-distance: -4.9%; }
.studio-props-right { --slide-distance: 7.4%; }
.studio-passage.portal-crossing .studio-passage-path { animation: studio-path-light 1230ms 200ms ease-out both; }
.studio-passage.portal-crossing .room-art {
  animation: studio-walk-in 1110ms 910ms cubic-bezier(.4,.05,.22,1) both;
  transform-origin: 50% 48%;
}
.studio-passage.portal-crossing .portal-room-beyond {
  opacity: 0;
  animation: studio-reveal-neighbor 440ms 1620ms ease-out both;
  transition: none;
}
.studio-passage.portal-crossing .portal-door-leaf {
  animation: studio-hinge-open 570ms 1580ms cubic-bezier(.26,.64,.24,1) both;
}
.studio-passage.portal-crossing .portal-guide,
.studio-passage.portal-crossing .studio-guide {
  opacity: 0;
  animation: none;
  transition: opacity 310ms ease;
}
@keyframes studio-clear-path {
  from { transform: none; }
  to { transform: translateX(var(--slide-distance)); }
}
@keyframes studio-path-light {
  0% { opacity: 0; mask-image: linear-gradient(transparent 96%, black 100%); }
  65%, 100% { opacity: 1; }
}
@keyframes studio-walk-in {
  from { transform: none; }
  to { transform: scale(var(--studio-approach, 1.49)); }
}
@keyframes studio-lavi-approach {
  from { transform: translate(-23%, 62%) scale(.8); }
  to { transform: none; }
}
@keyframes studio-trace-shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes studio-trace-shine-down { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@keyframes studio-spill-light { from { opacity: 0; } to { opacity: .9; } }
@keyframes studio-reveal-neighbor { from { opacity: 0; } to { opacity: 1; } }
@keyframes studio-hinge-open {
  from { opacity: 1; transform: rotateY(0); }
  to { opacity: .8; transform: rotateY(107deg); }
}
.studio-connection .portal-layout {
  grid-template-columns: minmax(0, 20rem) minmax(0, 29rem);
  justify-content: space-between;
  align-items: start;
  gap: clamp(.85rem, 2.3vw, 2rem);
}
.studio-connection .room-art {
  animation: none;
  transform: scale(var(--studio-approach, 1.49));
  transform-origin: 50% 48%;
}
.studio-connection .studio-passage-still { visibility: hidden; }
.studio-connection .studio-props { visibility: visible; }
.studio-connection :is(.studio-props-left, .studio-props-right) { transform: translateX(var(--slide-distance)); }
.studio-connection .studio-passage-path { opacity: 1; }
.studio-connection .studio-passage-glow { opacity: .9; }
.studio-connection .portal-room-beyond { opacity: 1; }
.studio-connection .portal-door-leaf { opacity: .8; transform: rotateY(107deg); }
.studio-connection .portal-wall-door { pointer-events: none; }
.studio-arrival-lavi {
  --arrival-width: clamp(12rem, min(22.8vw, 45svh), 21rem);
  --arrival-art-width: max(100vw, calc(var(--room-art-height, 100svh) * var(--studio-art-ratio)));
  --arrival-door-center: min(50vw, calc(var(--arrival-art-width) * var(--studio-door-center)));
  --arrival-door-left: calc(50vw + (var(--arrival-door-center) - 50vw -
    var(--arrival-art-width) * var(--studio-door-half-width)) * var(--studio-approach, 1.49));
  position: absolute;
  isolation: isolate;
  top: calc(var(--room-art-height, 100svh) * .969);
  left: max(.45rem, calc(var(--arrival-door-left) - .38 * var(--arrival-width)));
  width: var(--arrival-width);
  transform: translateY(-100%);
  transform-origin: left top;
  visibility: hidden;
  pointer-events: none;
}
.studio-arrival-lavi img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 6px 6px #64495a4a);
}
.studio-arrival-lavi::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 30%;
  bottom: 1.5%;
  width: 40%;
  height: 6%;
  border-radius: 50%;
  background: #724e5840;
  filter: blur(6px);
}
.studio-passage:is(.portal-crossing, .studio-connection) .studio-arrival-lavi { visibility: visible; }
.studio-passage.portal-crossing .studio-arrival-lavi::after { animation: portal-surface 360ms 1450ms both; }
.studio-passage.portal-crossing .studio-guide { visibility: hidden; }
.studio-explanation {
  justify-self: start;
  width: min(100%, 19rem);
  margin-top: clamp(.85rem, 11svh, 6rem);
}
.studio-explanation .lavi-line {
  top: 0;
  background: linear-gradient(150deg, #fff5ebf5, #e8eee1e8);
}
.studio-connection .portal-solution {
  --glass-fill: linear-gradient(138deg, #fff9f3f5 4%, #f6e5e9f4 52%, #e8f1e5f4);
  width: 100%;
  gap: .82rem;
  padding: clamp(1.05rem, 2.55vw, 2rem);
  border: 1px solid #fff9e9;
  border-radius: 1.5rem;
  box-shadow: inset 0 1px 5px #fff, inset 0 -2px 6px #dcc2ae5e, 0 0 21px #fff1dcb8, 0 19px 51px #654f5547;
  animation: none;
}
.studio-connection .portal-solution .eyebrow {
  width: fit-content;
  padding: .24rem .61rem;
  border: 1px solid #ecbfae8a;
  border-radius: 999px;
  background: #fff2ebd5;
  color: #77465d;
  letter-spacing: .078em;
}
.studio-connection .portal-solution h1 { font-size: clamp(1.6rem, 2.61vw, 2.4rem); }
.studio-connection .portal-solution .portal-route {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.studio-connection .portal-uses > div {
  padding: .56rem .15rem 0;
  border: none;
  border-top: 1px solid #bca8a488;
  border-radius: 0;
  background: none;
}
.studio-connection.studio-listening .portal-solution { visibility: hidden; }
.studio-connection.portal-entered:not(.studio-listening) .portal-solution {
  animation: studio-unveil-solution 740ms cubic-bezier(.18,.73,.24,1) both;
}
@keyframes studio-unveil-solution {
  0% { opacity: 0; transform: perspective(760px) translate3d(1.85rem, .7rem, -92px) rotateY(-7deg); }
  21% { opacity: .55; }
  32% { opacity: .35; }
  50% { opacity: .86; }
  61% { opacity: .76; }
  100% { opacity: 1; transform: none; }
}
.summary-feature {
  border: 1px solid #fff9ead4;
  background: linear-gradient(151deg, #fae2ea9c, #eef5e5a1);
  box-shadow: inset 0 1px #fff9, 0 6px 15px #6749562c;
}
dialog {
  width: min(calc(100% - 2rem), 33rem);
  padding: clamp(1rem, 4vw, 1.75rem);
  border: 1px solid white;
  border-radius: 1.35rem;
  background: linear-gradient(145deg, #fffdf5db, #ecf8efc7);
  color: var(--ink);
  font-size: .94rem;
  backdrop-filter: blur(10px) saturate(1.12);
  box-shadow: 0 20px 60px #283c384d;
}
dialog::backdrop { background: #243c3a75; }
dialog h2 { font-size: 1.45rem; }
dialog h2, dialog p, dialog .actions { margin-bottom: .7rem; }
.telegram-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #effff7e8;
  border-radius: 999px;
  padding: .58rem 1rem;
  font-size: .91rem;
  font-weight: 650;
  text-decoration: none;
}
.telegram-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.notice { padding: 1rem; color: var(--muted); }

@media (max-width: 760px) {
  .topbar { padding: .65rem .75rem; }
  .topbar :where(.quiet, .wordmark) { padding-inline: .65rem; font-size: .9rem; }
  .scene { padding-inline: .88rem; padding-top: 5.1rem; }
  .lobby {
    gap: clamp(.85rem, 3.5vh, 1.8rem);
    --floor-light: radial-gradient(ellipse 96% 23% at 50% 100%,
      #cf8aab91, #dc9bb16b 37%, #efbaa942 63%, #f6d6ad1a 83%, transparent 100%);
  }
  .lobby::before { background-position: 52% center; }
  .lobby::after {
    background: var(--floor-light),
      radial-gradient(ellipse 116% 56% at 50% 39%, #fffaf3ca 12%, #fff8f098 52%, transparent);
  }
  .activation-platform { width: min(76vw, 28rem); }
  .map-scene::before { background-position: 86% center; }
  .map-rooms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    width: min(100%, 33rem);
    margin: clamp(2.25rem, 10svh, 5.5rem) auto 1rem;
  }
  .map-rooms .door-label {
    position: relative;
    inset: auto;
    translate: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 4.65rem;
    align-content: center;
    padding: .55rem .62rem;
  }
  .room-layout { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .room-scene {
    --room-art-height: clamp(14.75rem, 37svh, 20rem);
    padding-top: var(--room-art-height);
  }
  .intro-layout .lavi-line { padding: .76rem .82rem; }
  .intro-layout .lavi-line::after { left: 49%; bottom: auto; transform: rotate(225deg); }
  .lavi-guide {
    --lavi-lift: .8rem;
    margin-block-start: 0;
    margin-right: 0;
    grid-template-columns: minmax(4.8rem, .4fr) minmax(0, 1fr);
    align-items: center;
    gap: .25rem;
  }
  .lavi-guide img { grid-column: 1; grid-row: 1; width: min(100%, 6.7rem); transform: none; }
  .lavi-line { top: -.4rem; grid-column: 2; grid-row: 1; padding: .58rem .7rem; border-radius: .9rem; }
  .lavi-line p { font-size: .94rem; }
  .lavi-line::after { left: -.36rem; bottom: 30%; width: .7rem; transform: rotate(135deg); }
  .result-scene .room-layout { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .result-scene .lavi-guide {
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr) minmax(4.5rem, .32fr);
    margin-block-start: 0;
  }
  .result-scene .lavi-guide img { grid-column: 2; }
  .result-scene .lavi-line { grid-column: 1; }
  .result-scene .lavi-line::after { left: auto; right: -.36rem; transform: rotate(-45deg); }
  .result-scene .lavi-guide img { width: min(100%, 8.5rem); }
  .result-scene .lavi-line { width: 100%; }
  .lavi-line .lavi-insight { font-size: 1.17rem; }
  .portal-scene {
    --room-art-height: clamp(22rem, 54svh, 29rem);
    --portal-camera: 62cqw;
    --portal-walk-origin: 62%;
    padding-top: var(--room-art-height);
  }
  .portal-opened { --room-art-height: clamp(14.75rem, 37svh, 20rem); }
  .studio-passage {
    --room-art-height: clamp(20rem, 46svh, 25rem);
    --studio-approach: 1.08;
  }
  .studio-connection .portal-layout { grid-template-columns: minmax(0, 1fr); }
  .studio-explanation { width: 100%; margin-top: .55rem; }
  .studio-explanation .lavi-line::after { display: none; }
  .studio-arrival-lavi {
    --arrival-width: clamp(7.5rem, 36vw, 10rem);
    top: calc(var(--room-art-height) * .98);
  }
  .studio-guide { left: 24.9%; width: 9.6%; }
  .studio-guide .lavi-line {
    right: 0;
    width: clamp(7.5rem, 33vw, 9.75rem);
    padding: .36rem .45rem;
  }
  .studio-guide .lavi-line p, .studio-guide .lavi-line b { font-size: .79rem; }
  .studio-props-left { --slide-distance: -2.25%; }
  .studio-props-right { --slide-distance: 6.25%; }
  .studio-passage.portal-crossing .studio-chair {
    animation: studio-chair-aside 790ms cubic-bezier(.27,.72,.24,1) both;
  }
  .studio-connection .studio-chair { transform: translateX(-2.65%); }
  .portal-layout { max-width: 34rem; }
  .portal-guide {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(4.25rem, .3fr);
    gap: .5rem;
    align-items: center;
  }
  .portal-guide img { width: 100%; }
  .portal-guide .portal-route { grid-column: 1 / -1; }
  .portal-guide .lavi-line { grid-column: 1; }
  .portal-guide .lavi-line::after { left: auto; right: -.36rem; transform: rotate(-45deg); }
  .portal-solution .actions > .primary { flex: 1 1 100%; }
  .finding-card > .actions > .primary { flex: 1 0 100%; }
  .finding-card > .actions > .quiet:not(.back) { flex: 1 1 auto; }
  .finding-card .prompt summary { min-height: 44px; align-content: center; }
  dialog .actions > .telegram-link { flex: 1 0 100%; justify-content: center; }
}
@keyframes studio-chair-aside {
  from { transform: none; }
  to { transform: translateX(-2.65%); }
}
@media (max-width: 460px) {
  .topbar:has(nav button:not([hidden]) + button:not([hidden])) { display: grid; justify-items: start; }
}
@media (max-width: 355px) {
  .topbar nav { gap: .28rem; }
  .topbar :where(.quiet, .wordmark) { font-size: .84rem; padding-inline: .48rem; }
  .topbar .pearl { width: .85rem; flex-basis: .85rem; }
  .room-layout { gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
