/* GPT Chat landing: the Hub, floor by floor.
   Grammar: stacked floors. The lift panel is the only chrome. Each floor is a
   hard slab change on its own ground (no drift). A real post shows itself: its
   own screenshots, or its title. Amber is the Join button (and the roof). */

:root { --lift-w: 10.75rem; --lift-gap: 1.1rem; }
html { background: var(--sc-canvas); }
body.lp { overflow-x: clip; }

/* ================================================================ lift == */
.lift {
  position: fixed; z-index: 70;
  right: var(--lift-gap); top: 50%; translate: 0 -50%;
  width: var(--lift-w);
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 0.7rem;
  background: color-mix(in oklab, var(--sc-surface) 94%, transparent);
  border: 1px solid var(--gc-line);
  border-radius: var(--sc-r-lg);
  box-shadow: var(--sc-e3), var(--sc-edge);
}
.lift__plate {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.25rem 0.3rem 0.55rem;
  border-bottom: 1px solid var(--gc-line);
  color: var(--sc-ink); text-decoration: none;
}
.lift__mark { width: 1.35rem; height: 1.35rem; flex: none; color: var(--sc-ink); }
.lift__brand {
  font-family: var(--sc-font-display); font-stretch: 125%; font-weight: 720;
  font-size: 0.95rem; letter-spacing: -0.01em; line-height: 1;
}
.lift__display {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 0.55rem; align-items: center;
  padding: 0.55rem 0.65rem;
  background: var(--gc-sunk);
  border: 1px solid var(--gc-line); border-radius: var(--sc-r-md);
  box-shadow: inset 0 2px 6px hsl(var(--sc-shadow-color) / 0.6);
  text-align: left; cursor: default;
}
.lift__arrow {
  grid-row: 1 / span 2; font-size: 0.7rem; color: var(--gc-neon); text-shadow: 0 0 8px color-mix(in oklab, var(--gc-neon) 70%, transparent);
  transition: transform 240ms var(--sc-ease-out), opacity 240ms var(--sc-ease-out);
}
.lift__arrow[data-dir="up"] { transform: rotate(180deg); }
.lift__arrow[data-dir="idle"] { opacity: 0.35; }
.lift__floor {
  font-family: var(--sc-font-display); font-stretch: 125%; font-weight: 800;
  font-size: 1.6rem; line-height: 1; letter-spacing: -0.02em; color: var(--sc-ink);
  font-variant-numeric: tabular-nums;
}
.lift__name { grid-column: 2; font-family: var(--sc-font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-ink-soft); line-height: 1.2; }
.lift__keys { display: flex; flex-direction: column; gap: 0.6rem; }
.lift__buttons { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.lift__buttons a {
  display: flex; align-items: center; gap: 0.6rem;
  min-height: 2.25rem; padding: 0.25rem 0.4rem 0.25rem 0.3rem;
  border-radius: var(--sc-r-sm);
  color: var(--sc-ink-soft); text-decoration: none;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out);
}
.lift__code {
  display: inline-grid; place-items: center; flex: none;
  min-width: 2.15rem; height: 1.75rem; padding: 0 0.3rem;
  border: 1px solid var(--gc-line-2); border-radius: var(--sc-r-sm);
  background: linear-gradient(to bottom, #171c25, #0f1319);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 1px 2px hsl(var(--sc-shadow-color) / 0.5);
  font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 760; font-size: 0.74rem;
  color: var(--sc-ink); letter-spacing: 0;
  transition: border-color 200ms var(--sc-ease-out), box-shadow 200ms var(--sc-ease-out), color 200ms var(--sc-ease-out);
}
.lift__label { font-size: 0.84rem; line-height: 1.15; }
.lift__buttons a[aria-current="true"] { color: var(--sc-ink); }
/* the lit key: you are here, in the building's neon */
.lift__buttons a[aria-current="true"] .lift__code {
  border-color: var(--gc-neon); color: var(--gc-neon-soft);
  box-shadow: var(--gc-neon-glow);
}
@media (hover: hover) and (pointer: fine) {
  .lift__buttons a:hover { background: color-mix(in oklab, var(--sc-ink) 5%, transparent); color: var(--sc-ink); }
}
.lift__actions { display: grid; gap: 0.45rem; padding-top: 0.6rem; border-top: 1px solid var(--gc-line); }
.lift__actions .btn { width: 100%; padding-inline: 0.6rem; font-size: 0.82rem; }
.lift__signin { text-align: center; font-size: 0.82rem; color: var(--sc-ink-soft); padding: 0.3rem; }
.lift__signin:hover { color: var(--sc-ink); }

@media (max-height: 700px) and (min-width: 861px) {
  .lift__buttons a { min-height: 1.9rem; }
  .lift__code { height: 1.5rem; }
  .lift { gap: 0.45rem; padding: 0.55rem; }
}

/* ===================================================== content offsets == */
@media (min-width: 861px) {
  .floor .sc-wrap { padding-right: max(var(--sc-gutter), calc(var(--lift-w) + var(--lift-gap) * 2.4)); }
}

/* ================================================================ hero == */
.hero__stage { background: #070a0e; }
.hero__gl, .hero__poster, .hero__poster img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.hero__poster img { object-fit: cover; }
.hero__poster { z-index: 0; transition: opacity 600ms var(--sc-ease-out); }
.hero__gl { z-index: 1; opacity: 0; transition: opacity 700ms var(--sc-ease-out); touch-action: pan-y; }
.gl-ready .hero__gl { opacity: 1; }
.gl-ready .hero__poster { opacity: 0; }
/* no-WebGL: the inside poster takes over halfway through the walk-in */
.hero__poster--inside { opacity: 0; }
.gl-off .hero__poster--inside { opacity: clamp(0, calc((var(--sc-p, 0) - 0.46) * 9), 1); }

.hero__scrim { z-index: 2; }
/* a second, softer pool of shade right under the copy: the neon is bright */
.hero__stage::after {
  content: ""; position: absolute; z-index: 3; pointer-events: none;
  left: 0; bottom: 0; width: min(66rem, 76vw); height: 86%;
  background: radial-gradient(120% 90% at 0% 100%, color-mix(in oklab, var(--sc-canvas) 88%, transparent) 0%, color-mix(in oklab, var(--sc-canvas) 64%, transparent) 45%, transparent 78%);
}
@media (max-width: 860px) {
  .hero__scrim { background: linear-gradient(to top, color-mix(in oklab, var(--sc-canvas) 96%, transparent) 0%, color-mix(in oklab, var(--sc-canvas) 88%, transparent) 30%, color-mix(in oklab, var(--sc-canvas) 40%, transparent) 52%, transparent 66%); }
  .hero__stage::after { width: 100%; height: 62%; background: linear-gradient(to top, color-mix(in oklab, var(--sc-canvas) 70%, transparent), transparent); }
}
.hero__copy, .hero__inside { z-index: 20; max-width: min(44rem, 62vw); }
.hero__h1 {
  font-size: clamp(2.5rem, 1.15rem + 3.9vw, 5.1rem);
  line-height: 0.98; letter-spacing: -0.038em; font-weight: 680;
  max-width: 12ch;
}
.hero__sub {
  margin: 1.1rem 0 0; max-width: 34ch;
  font-size: var(--sc-t-lg); line-height: 1.42; letter-spacing: -0.012em;
  color: #c9d0d9;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin: 1.7rem 0 0; }
.hero__look { color: var(--sc-ink); font-weight: 500; text-underline-offset: 0.3em; text-decoration-color: var(--gc-line-2); }
.hero__look:hover { text-decoration-color: var(--sc-ink); }
.hero__h2 {
  font-size: clamp(2.3rem, 1.1rem + 3.5vw, 4.6rem);
  line-height: 0.98; letter-spacing: -0.036em;
}
.hero__inside-p { margin: 1rem 0 0; max-width: 40ch; color: #c9d0d9; font-size: var(--sc-t-base); }
.hero__inside-p strong { color: var(--sc-ink); font-weight: 600; }

/* floor signs inside the atrium, pinned to the slab edges by world.js */
.hero__floors {
  list-style: none; margin: 0; padding: 0;
  position: absolute; inset: 0; z-index: 8; pointer-events: none;
}
.hero__floors li {
  position: absolute; left: 0; top: 0; opacity: 0;
  translate: 0 14%;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.24rem 0.55rem 0.24rem 0.24rem;
  background: rgb(10 13 17 / 0.82);
  border: 1px solid var(--gc-line-2); border-radius: var(--sc-r-sm);
  white-space: nowrap; will-change: transform, opacity;
}
.hero__floors b {
  display: inline-grid; place-items: center; min-width: 1.45rem; height: 1.45rem;
  border: 1px solid var(--gc-neon); border-radius: 3px; box-shadow: var(--gc-neon-glow);
  font-family: var(--sc-font-display); font-stretch: 118%; font-weight: 780; font-size: 0.72rem; color: var(--gc-neon-soft);
}
.hero__floors span { font-size: 0.8rem; font-weight: 520; color: var(--sc-ink); letter-spacing: 0; }

/* the blade sign on the corner of the building */
.hero__blade {
  position: absolute; left: 0; top: 0; z-index: 7; pointer-events: none; opacity: 0;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.hero__blade span {
  display: block; writing-mode: vertical-rl;
  font-family: var(--sc-font-display); font-stretch: 125%; font-weight: 800;
  font-size: 2.6rem; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1;
  color: #ffe9f4;
  text-shadow: 0 0 4px var(--gc-neon), 0 0 14px var(--gc-neon), 0 0 34px color-mix(in oklab, var(--gc-neon) 60%, transparent);
}
/* the neon sign hanging in the atrium */
.hero__sign {
  position: absolute; left: 0; top: 0; z-index: 7; pointer-events: none; opacity: 0;
  display: grid; justify-items: center; gap: 0.5rem; transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.hero__sign-t {
  font-family: var(--sc-font-display); font-stretch: 125%; font-weight: 760;
  font-size: 4.2rem; letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
  color: #ffeaf5;
  text-shadow: 0 0 3px #fff, 0 0 10px var(--gc-neon), 0 0 26px var(--gc-neon), 0 0 60px color-mix(in oklab, var(--gc-neon) 65%, transparent);
}
.hero__sign-s {
  font-family: var(--sc-font-mono); font-size: 1rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: #ffeaf5; text-shadow: 0 0 6px var(--gc-neon), 0 0 18px color-mix(in oklab, var(--gc-neon) 70%, transparent);
}

/* what a lit window is, when you point at it */
.hero__tip {
  position: absolute; left: 0; top: 0; z-index: 30;
  display: grid; gap: 0.2rem; max-width: 19rem;
  padding: 0.7rem 0.85rem 0.75rem;
  background: var(--sc-surface); border: 1px solid var(--gc-line-2);
  border-radius: var(--sc-r-md); box-shadow: var(--sc-e3), var(--sc-edge);
  pointer-events: none;
}
.hero__tip[hidden] { display: none; }
.hero__tip strong { font-weight: 600; font-size: 0.98rem; line-height: 1.3; color: var(--sc-ink); }
.hero__tip-by { font-size: 0.85rem; color: var(--sc-ink-soft); }
.hero__tip-hint { font-family: var(--sc-font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gc-neon-soft); margin-top: 0.2rem; }

.hero__meter {
  position: absolute; z-index: 20; margin: 0;
  right: calc(var(--lift-w) + var(--lift-gap) * 2.4); bottom: clamp(1.4rem, 4vh, 2.6rem);
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: #aab3bf;
}
.hero__meter::before {
  content: ""; width: 0.55rem; height: 0.55rem; border-radius: 1px;
  background: var(--gc-neon); box-shadow: 0 0 0 3px color-mix(in oklab, var(--gc-neon) 18%, transparent);
}
.hero__meter[data-state="off"]::before { background: var(--gc-dim); box-shadow: none; }

/* ============================================================== floors == */
.floor { position: relative; isolation: isolate; }
.floor__slab {
  position: absolute; inset: 0 0 auto; height: 14px; z-index: 2;
  background: linear-gradient(to bottom, #161c25, #0f141a);
  border-top: 1px solid var(--gc-line-2); border-bottom: 1px solid var(--gc-line);
}
/* a soffit strip under each slab: cool, structural */
.floor__slab::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -3px; height: 2px; border-radius: 2px;
  background: color-mix(in oklab, var(--gc-neon) 85%, #fff);
  box-shadow: 0 0 6px var(--gc-neon), 0 2px 18px color-mix(in oklab, var(--gc-neon) 55%, transparent);
}
.floor__paint {
  position: absolute; z-index: 0; top: 4.2rem; left: 0.4rem;
  writing-mode: vertical-rl; rotate: 180deg;
  font-family: var(--sc-font-display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(3.4rem, 6.5vw, 7rem); line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in oklab, var(--gc-neon) 45%, transparent);
  pointer-events: none; user-select: none;
}
.floor__inner { position: relative; z-index: 1; }
.floor__head { max-width: 50rem; }
/* the floor sign: what this floor is, at a glance */
.fsign { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0 0 1.3rem; }
.fsign__code {
  display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.3rem; padding: 0 0.5rem;
  border: 1.5px solid var(--gc-neon); border-radius: var(--sc-r-sm); box-shadow: var(--gc-neon-glow);
  font-family: var(--sc-font-display); font-stretch: 125%; font-weight: 800; font-size: 1rem; color: #ffe1f0;
  text-shadow: 0 0 8px color-mix(in oklab, var(--gc-neon) 80%, transparent);
}
.fsign__name { font-family: var(--sc-font-display); font-stretch: 125%; font-weight: 760; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink); }
.fsign__what { font-family: var(--sc-font-mono); font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gc-neon-soft); }
.floor__more { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.floor__where { margin: 0 0 1.1rem; }
.floor__h {
  font-size: clamp(2.1rem, 1.3rem + 2.5vw, 3.8rem);
  line-height: 1.0; letter-spacing: -0.034em; max-width: 18ch;
}
.floor__head .sc-body { margin-top: 1.25rem; }
.floor__lede { font-size: var(--sc-t-lg); line-height: 1.5; max-width: 44ch; }
.floor__more { margin: 2.6rem 0 0; }

/* --------------------------------------------------- 1 · on show (act 2) -- */
/* Builds shown whole: every screenshot at its own shape in a device frame,
   one shared height per row (justified), never cropped and never stretched. */
.floor--onshow { --f-1: #3de3ff; background: #0b0e12; padding-block: clamp(5rem, 9vw, 9rem) clamp(4rem, 7vw, 7rem); }
.floor--onshow .fsign__code { border-color: var(--f-1); color: #d8f9ff; box-shadow: 0 0 0 1px color-mix(in oklab, var(--f-1) 35%, transparent), 0 0 12px -1px color-mix(in oklab, var(--f-1) 55%, transparent); text-shadow: 0 0 8px color-mix(in oklab, var(--f-1) 80%, transparent); }
.floor--onshow .fsign__what { color: #9beeff; }
.onshow__head { position: relative; }
.onshow__skip { display: inline-block; margin-top: 0.9rem; color: var(--sc-ink); font-size: 0.92rem; text-underline-offset: 0.3em; }
.onshow__cards { margin-top: clamp(2.2rem, 4.5vw, 3.6rem); }
.onshow__cards.is-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.onshow__note { margin: clamp(2rem, 4vw, 3rem) 0 0; max-width: 44ch; color: #c3cad3; }
.onshow__more { margin-top: 1.2rem; align-items: center; }
.onshow__all { margin-left: 0.4rem; color: var(--sc-ink); text-underline-offset: 0.3em; text-decoration-color: var(--gc-line-2); font-size: 0.92rem; }
.onshow__all:hover { text-decoration-color: var(--sc-ink); }
.builds__empty { margin: 0; color: var(--sc-ink-soft); }
.builds__empty .btn { margin-left: 0.6rem; }
.onshow__still { display: block; width: 100%; max-width: 56rem; height: auto; margin-top: 1.2rem; border-radius: 12px; border: 1px solid var(--gc-line-2); }

.ob-mat { --hmax: 150px; display: grid; place-items: end center; padding: 14px; background: #0c1016; border: 1px solid var(--gc-line); border-radius: 10px; }
.dframes { display: flex; align-items: flex-end; justify-content: center; gap: 10px; width: 100%; margin-inline: auto; }
.dframes__none { margin: 0; padding: 2rem 0; font-family: var(--sc-font-mono); font-size: 0.8rem; color: var(--sc-ink-soft); }
.dframe { position: relative; display: block; min-width: 0; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: zoom-in; }
.dframe img { display: block; width: 100%; height: auto; }
.dframe--browser { border: 1px solid #2c3440; border-radius: 7px; overflow: hidden; background: #0a0d12; }
.dframe__bar { display: flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px; background: #161b23; border-bottom: 1px solid #232a34; }
.dframe__bar i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #3a4350; }
.dframe__host { min-width: 0; margin-left: 6px; padding: 0 7px; border-radius: 4px; background: #0b0e13; font: 500 0.64rem/1.55 var(--sc-font-mono); color: #aab3bf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dframe--phone { padding: 5px; background: #000; border: 1px solid #2c3440; border-radius: 14px; }
.dframe--phone img { border-radius: 9px; }
.dframe--plain { border: 1px solid #2c3440; border-radius: 4px; overflow: hidden; }
.dframe__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgb(7 9 12 / 0.82); color: #eceef1; font-size: 0.8rem; }
.dframe:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .dframe:hover img { filter: brightness(1.06); } }

.ob-card { display: flex; flex-direction: column; min-width: 0; background: #10151c; border: 1px solid var(--gc-line-2); border-radius: 12px; overflow: hidden; }
.ob-card__body { display: flex; flex-direction: column; gap: 0.7rem; padding: 1rem 1rem 1.15rem; flex: 1; }
.ob-title { margin: 0; font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 650; font-size: 1.15rem; line-height: 1.22; letter-spacing: -0.015em; }
.ob-title a, .plate__title a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .ob-title a:hover, .plate__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; } }
.ob-meta { margin: 0; font-size: 0.9rem; color: var(--sc-ink-soft); }
.ob-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: auto 0 0; padding-top: 0.2rem; }
.ob-btn { padding: 0.55rem 0.9rem; font-size: 0.88rem; }
.ob-clip { position: relative; aspect-ratio: 4 / 5; background: #07090c; border-bottom: 1px solid var(--gc-line); }
.ob-clip__poster, .ob-clip__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.ob-clip__v { opacity: 0; transition: opacity 300ms var(--sc-ease-out); }
.ob-clip.is-playing .ob-clip__v { opacity: 1; }
.ob-clip__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; min-height: 44px; padding: 0.6rem 1.1rem; border-radius: var(--sc-r-sm); border: 1px solid color-mix(in oklab, var(--gc-neon) 75%, transparent); background: rgb(7 9 12 / 0.88); color: var(--sc-ink); font: 600 0.9rem/1 var(--sc-font-text); cursor: pointer; }

/* phones (and the clips flag): a scroll-snap carousel that never moves on its own */
.onshow__cards.is-carousel { display: grid; gap: 0.8rem; }
.ob-ctrl { display: flex; align-items: center; gap: 0.6rem; }
.ob-ctrl__btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--sc-r-md); border: 1px solid var(--gc-line-2); background: #10151c; color: var(--sc-ink); font-size: 1.3rem; cursor: pointer; }
.ob-ctrl__btn:disabled { opacity: 0.35; cursor: default; }
.ob-ctrl__label { flex: 1; min-width: 0; font-family: var(--sc-font-mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sc-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.ob-track { display: flex; gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 2px; }
.ob-track::-webkit-scrollbar { display: none; }
.ob-track:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 4px; }
.ob-track > .ob-card { flex: 0 0 min(86%, 25rem); scroll-snap-align: center; }
.ob-track .ob-mat { --hmax: 110px; }

/* desktop: the walk round the room, pinned and scrubbed by scroll */
.floor--onshow.is-walk { padding-top: 0; }
.walk { position: relative; }
.walk__stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(1rem, 3vh, 2rem); padding-block: clamp(1.2rem, 3vh, 2.4rem); }
.is-walk .onshow__head { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; align-items: end; }
.is-walk .onshow__head > :not(.onshow__skip) { grid-column: 1; }
.is-walk .onshow__head .fsign { margin-bottom: 0.8rem; }
.is-walk .onshow__h { font-size: clamp(2.1rem, 1.1rem + 2.4vw, 3.6rem); max-width: none; }
.is-walk .onshow__lede { margin-top: 0.8rem; font-size: var(--sc-t-base); max-width: 52ch; }
.is-walk .onshow__skip { grid-column: 2; grid-row: 3; margin: 0 0 0.2rem; }
.walk__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.walk__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #07090c; border: 1px solid color-mix(in oklab, var(--neon) 60%, transparent); box-shadow: var(--sc-e3), 0 0 40px -12px var(--neon); }
.walk__poster, .walk__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.walk__v { opacity: 0; transition: opacity 400ms var(--sc-ease-out); }
.has-film .walk__v { opacity: 1; }
.walk__under { display: flex; justify-content: space-between; gap: 1rem; margin: 0.7rem 0 0; }
.walk__rail { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.walk__seg { display: grid; align-content: start; gap: 0.45rem; width: 100%; min-height: 44px; padding: 0.35rem 0 0; border: 0; background: none; color: #7d8796; font: 500 0.8rem/1.25 var(--sc-font-text); text-align: left; cursor: pointer; }
.walk__seg span { overflow-wrap: anywhere; }
.walk__seg i { display: block; height: 3px; border-radius: 2px; background: #2a313c; transition: background-color 200ms var(--sc-ease-out); }
.walk__seg[data-state="past"] { color: var(--sc-ink-soft); }
.walk__seg[data-state="past"] i { background: color-mix(in oklab, var(--f-1) 40%, #2a313c); }
.walk__seg[data-state="now"] { color: var(--sc-ink); }
.walk__seg[data-state="now"] i { background: var(--f-1); box-shadow: 0 0 10px -1px var(--f-1); }
.walk__seg:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 3px; border-radius: 2px; }
.walk__plates { display: grid; }
.plate { grid-area: 1 / 1; display: grid; gap: 0.75rem; align-content: start; padding: clamp(1rem, 1.6vw, 1.4rem); background: #10151c; border: 1px solid var(--gc-line-2); border-radius: 14px; opacity: 0; visibility: hidden; transition: opacity 260ms var(--sc-ease-out), visibility 0s linear 260ms; }
.plate.is-current { opacity: 1; visibility: visible; transition-delay: 0s; }
.plate__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0; }
.plate__n { font-family: var(--sc-font-display); font-stretch: 118%; font-weight: 760; font-size: 1.9rem; line-height: 1; color: var(--f-1); }
.plate__mat { --hmax: 166px; }
.plate__title { margin: 0.2rem 0 0; font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 650; font-size: clamp(1.15rem, 0.9rem + 0.7vw, 1.5rem); line-height: 1.18; letter-spacing: -0.015em; }
.plate__ex { margin: 0; font-size: 0.92rem; line-height: 1.5; color: #c3cad3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* a window narrowed after the walk was built: stack it and let it scroll */
@media (max-width: 1024px) {
  .is-walk .walk { height: auto !important; }
  .is-walk .walk__stage { position: relative; height: auto; }
  .is-walk .walk__grid { grid-template-columns: minmax(0, 1fr); }
  .is-walk .onshow__head { display: block; }
}

/* the screenshot, full size */
.lb { width: min(96vw, 90rem); max-width: none; height: min(92vh, 60rem); max-height: none; padding: 0; border: 1px solid var(--gc-line-2); border-radius: 12px; background: #07090c; color: var(--sc-ink); overflow: hidden; }
.lb::backdrop { background: rgb(5 7 10 / 0.86); }
.lb[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lb__img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 3rem 3.6rem 0.6rem; box-sizing: border-box; }
.lb__cap { margin: 0; padding: 0.6rem 1rem 0.9rem; text-align: center; font-size: 0.86rem; color: var(--sc-ink-soft); }
.lb__close, .lb__nav { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gc-line-2); background: rgb(16 20 26 / 0.9); color: var(--sc-ink); font-size: 1.4rem; cursor: pointer; }
.lb__close { top: 0.6rem; right: 0.6rem; }
.lb__nav { top: 50%; translate: 0 -50%; }
.lb__nav--prev { left: 0.6rem; } .lb__nav--next { right: 0.6rem; }
@media (max-width: 860px) { .lb__img { padding: 3.4rem 0.6rem 0.4rem; } .lb__nav { top: auto; bottom: 0.5rem; translate: none; } }

/* ----------------------------------------------------------------- lab -- */
.lab__stage {
  background-color: #0c1015;
  background-image:
    linear-gradient(color-mix(in oklab, var(--sc-ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--sc-ink) 4%, transparent) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  display: flex; align-items: center;
}
.lab__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}
.lab__copy .sc-body { margin-top: 1.2rem; }
.lab__copy em { font-style: normal; color: var(--sc-ink); border-bottom: 1px dashed var(--gc-line-2); }
.review {
  margin: 0; padding: 1.15rem 1.25rem 1.1rem;
  background: var(--sc-surface); border: 1px solid var(--gc-line-2); border-radius: var(--sc-r-lg);
  box-shadow: var(--sc-e3), var(--sc-edge);
}
.review__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--gc-line); }
.review__of { font-size: 0.86rem; color: var(--sc-ink-soft); }
.review__of strong { color: var(--sc-ink); font-weight: 600; }
.review__row { margin: 0; padding: 0.75rem 0; border: 0; border-bottom: 1px solid var(--gc-line); min-width: 0; }
.review__row legend, .review__q { padding: 0; margin: 0 0 0.45rem; font-size: 0.86rem; font-weight: 560; color: var(--sc-ink); }
.review__a {
  margin: 0; min-height: 1.5em; font-size: 0.92rem; line-height: 1.45; color: #cbd2db;
}
.review__a.is-typing::after { content: ""; display: inline-block; width: 1px; height: 1.05em; vertical-align: -0.15em; margin-left: 1px; background: var(--sc-ink); }
.seg { display: inline-flex; border: 1px solid var(--gc-line-2); border-radius: var(--sc-r-sm); overflow: hidden; }
.seg span { padding: 0.32rem 0.8rem; font-size: 0.82rem; color: var(--sc-ink-soft); border-right: 1px solid var(--gc-line); transition: background-color 200ms var(--sc-ease-out), color 200ms var(--sc-ease-out); }
.seg span:last-child { border-right: 0; }
.seg span.is-on { background: var(--sc-ink); color: #0b0e12; font-weight: 600; }
.review__row--rate { display: flex; align-items: center; justify-content: space-between; }
.review__row--rate .review__q { margin: 0; }
.stars { margin: 0; letter-spacing: 0.12em; font-size: 1.05rem; color: #2c3440; }
.stars span { transition: color 200ms var(--sc-ease-out); }
.stars span.is-on { color: var(--sc-ink); }
.review__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding-top: 0.85rem; opacity: 0.25; transition: opacity 260ms var(--sc-ease-out); }
.review__stamp {
  font-family: var(--sc-font-display); font-stretch: 118%; font-weight: 760; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.35rem 0.6rem; border-radius: var(--sc-r-sm);
  border: 1px solid var(--gc-line-2); color: var(--sc-ink-soft);
  transition: background-color 260ms var(--sc-ease-out), color 260ms var(--sc-ease-out), border-color 260ms var(--sc-ease-out);
}
.review.is-posted .review__foot { opacity: 1; }
.review.is-posted .review__stamp { background: var(--sc-ink); color: #0b0e12; border-color: var(--sc-ink); }
.review__plus { color: var(--sc-ink-soft); }

/* ------------------------------------------------------------- library -- */
.floor--library { background: #0a0d11; padding-block: clamp(5rem, 9vw, 9rem); }
.library__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; position: relative; z-index: 1; }
.library__head { position: sticky; top: 6rem; }
.library__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 1.6rem 0 0; }
.library__links a { color: var(--sc-ink); font-weight: 500; text-underline-offset: 0.3em; text-decoration-color: var(--gc-line-2); }
.library__links a:hover { text-decoration-color: var(--sc-ink); }
.skill {
  background: #11161e; border: 1px solid var(--gc-line-2); border-radius: var(--sc-r-lg);
  box-shadow: var(--sc-e2), var(--sc-edge); overflow: hidden;
}
.skill__head { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--gc-line); background: #0e1218; }
.skill__by { font-size: 0.86rem; color: var(--sc-ink-soft); }
.skill__by a { color: var(--sc-ink); }
.skill__title { margin: 1.3rem 1.2rem 0; font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 660; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.12; letter-spacing: -0.02em; }
.skill__why { margin: 0.7rem 1.2rem 0; color: var(--sc-ink-soft); max-width: 52ch; }
.skill__code {
  margin: 1.2rem 1.2rem 0; padding: 1.05rem 1.15rem;
  background: var(--gc-sunk); border: 1px solid var(--gc-line); border-radius: var(--sc-r-md);
  font-family: var(--sc-font-mono); font-size: 0.86rem; line-height: 1.7; color: #d7dde5;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.skill__foot { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.2rem 1.2rem; }
.skill__copied { color: var(--sc-ink); }

/* ---------------------------------------------------------------- roof -- */
.floor--roof {
  background: linear-gradient(to bottom, #05070a 0%, #0a0e14 46%, #10151c 100%);
  padding-block: clamp(6rem, 11vw, 11rem) clamp(5rem, 8vw, 8rem);
  overflow: clip;
}
.roof__sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.roof__skyline { position: absolute; left: -4%; width: 108%; height: 46%; bottom: 18%; }
.roof__skyline--far { bottom: 24%; height: 50%; opacity: 0.9; }
.roof__skyline--near { bottom: 12%; height: 40%; }
.roof__rail {
  position: absolute; left: 0; right: 0; bottom: 9%; height: 2.6rem;
  border-top: 1px solid color-mix(in oklab, var(--gc-cool) 32%, transparent);
  background: repeating-linear-gradient(to right, color-mix(in oklab, var(--sc-ink) 14%, transparent) 0 1px, transparent 1px 64px);
  opacity: 0.8;
}
.roof__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.threads { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.thread {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.3rem 0.9rem; align-items: start;
  padding: 0.95rem 1.05rem;
  background: rgb(16 20 26 / 0.94); border: 1px solid var(--gc-line-2); border-radius: var(--sc-r-md);
  box-shadow: var(--sc-e2);
}
.thread:nth-child(2) { margin-left: clamp(0rem, 3vw, 2.5rem); }
.thread:nth-child(3) { margin-left: clamp(0rem, 1.2vw, 1rem); }
.thread__code {
  display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; border-radius: 3px;
  border: 1px solid var(--gc-line-2); font-family: var(--sc-font-display); font-stretch: 118%; font-weight: 780; font-size: 0.72rem;
}
.thread__title { margin: 0; font-weight: 580; font-size: 0.98rem; line-height: 1.35; }
.thread__title a { text-decoration: none; }
.thread__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.thread__meta { grid-column: 2; margin: 0; font-size: 0.82rem; color: var(--sc-ink-soft); }
.thread__count { font-family: var(--sc-font-mono); font-size: 0.78rem; color: var(--sc-ink-soft); white-space: nowrap; }
.thread--empty { display: block; color: var(--sc-ink-soft); }
.thread--empty p { margin: 0; }
@media (hover: hover) and (pointer: fine) {
  .thread:not(.thread--empty):hover { border-color: color-mix(in oklab, var(--sc-ink) 30%, transparent); }
  .thread:not(.thread--empty):hover .thread__title { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
}

/* ------------------------------------------------------------ landlord -- */
.floor--landlord { background: #0b0e12; padding-block: clamp(4.5rem, 8vw, 7.5rem); border-top: 1px solid var(--gc-line); }
.landlord { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 82rem; }
.landlord > * { margin-left: clamp(0rem, 20vw, 18rem); max-width: 34rem; }
.landlord__h { margin: 0 0 1.4rem; font-weight: 450; }
.landlord__note p { margin: 0 0 1rem; color: #c3cad3; font-size: var(--sc-t-base); line-height: 1.7; }
.landlord__note p:first-child { color: var(--sc-ink); font-size: var(--sc-t-lg); line-height: 1.5; letter-spacing: -0.01em; }
.landlord__sig { display: flex; align-items: baseline; gap: 0.8rem; margin: 1.6rem 0 0; }
.landlord__sig a { font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 650; font-size: 1.05rem; text-decoration: none; }
.landlord__sig a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ----------------------------------------------------------------- key -- */
.key__stage { background: var(--sc-canvas); display: flex; flex-direction: column; justify-content: center; }
.key__grid {
  position: relative; z-index: 1; flex: 1;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem);
  align-items: center; padding-block: 3rem 7rem;
}
.key__h { font-size: clamp(2.5rem, 1.3rem + 3.8vw, 5.2rem); line-height: 0.98; letter-spacing: -0.04em; }
.key__p { margin-top: 1.2rem; max-width: 42ch; }
.key__form { margin-top: 2rem; max-width: 34rem; }
.key__label { display: block; margin-bottom: 0.5rem; }
.key__field {
  display: flex; align-items: stretch;
  background: var(--gc-sunk); border: 1px solid var(--gc-line-2); border-radius: var(--sc-r-md);
  padding: 0.3rem; gap: 0.3rem;
  transition: border-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.key__field:focus-within { border-color: color-mix(in oklab, var(--sc-ink) 40%, transparent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--sc-ink) 10%, transparent); }
.key__at { display: grid; place-items: center; padding-left: 0.65rem; color: var(--sc-ink-soft); font-family: var(--sc-font-mono); }
.key__field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  padding: 0.55rem 0.4rem; font-family: var(--sc-font-mono); font-size: 1rem; color: var(--sc-ink);
}
.key__field input::placeholder { color: var(--gc-dim); }
.key__field input:focus-visible { outline: none; }
.key__status { margin: 0.6rem 0 0; min-height: 1.5em; font-size: 0.86rem; color: var(--sc-ink-soft); }
.key__status[data-state="free"] { color: var(--gc-ok); }
.key__status[data-state="taken"], .key__status[data-state="invalid"] { color: var(--gc-danger); }
.key__founding { margin: 2rem 0 0; display: flex; align-items: baseline; gap: 0.6rem; color: var(--sc-ink-soft); font-size: 0.92rem; }
.key__count { font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 720; font-size: 2rem; color: var(--sc-ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* the key desk: a builder's room entrance with your handle on the sign.
   Drawn in CSS until the recorded door (door-blank.webp) exists. */
.door { position: relative; margin: 0; justify-self: end; width: min(100%, 28rem, 56vh); aspect-ratio: 4 / 5; container-type: inline-size; border-radius: 16px; overflow: hidden; background: linear-gradient(#14171d, #0c0e12); border: 1px solid var(--gc-line-2); box-shadow: var(--sc-e2); }
.door__scene, .door__wall { position: absolute; inset: 0; }
.door__wall { background: repeating-linear-gradient(90deg, #12151b 0 22cqw, #0f1217 22cqw 22.4cqw); }
.door__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 12%; background: linear-gradient(#1a1d23, #0d0f13); border-top: 1px solid #262b33; }
.door__carpet { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: 60%; height: 12%; background: linear-gradient(#5b1030, #300818); clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); }
.door__portal { position: absolute; left: 50%; bottom: 12%; translate: -50% 0; width: 48%; height: 47%; border-radius: 1.6cqw 1.6cqw 0 0; background: linear-gradient(#1b1210, #0a0807); border: 0.7cqw solid #b88a4a; box-shadow: 0 0 0 2.2cqw #15110c, 0 0 0 2.4cqw #2d2418; }
.door__portal::after { content: ""; position: absolute; left: 50%; top: 4%; bottom: 0; width: 0.4cqw; background: #2d2418; }
.door__handle { position: absolute; top: 50%; width: 1cqw; height: 13%; border-radius: 1cqw; background: linear-gradient(#e8c58a, #8f6a34); }
.door__handle:first-child { left: 44%; } .door__handle:last-child { right: 44%; }
.door__canopy { position: absolute; left: 50%; bottom: 61%; translate: -50% 0; width: 70%; height: 7%; display: grid; place-items: center; border-radius: 0.6cqw; background: linear-gradient(#24272d, #111317); box-shadow: 0 1.6cqw 3cqw -1cqw #000; }
.door__canopy::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -0.5cqw; height: 0.5cqw; background: #3de3ff; box-shadow: 0 0 3cqw 0.4cqw #3de3ff; }
.door__canopy span { font: 780 3.6cqw/1 var(--sc-font-display); font-stretch: 125%; letter-spacing: 0.12em; color: #d8f9ff; text-shadow: 0 0 1cqw #3de3ff, 0 0 3cqw #3de3ff; }
.door__marquee { position: absolute; left: 50%; bottom: 71%; translate: -50% 0; max-width: 88%; margin: 0; padding: 1.4cqw 3.6cqw 1.8cqw; border-radius: 1.4cqw; background: #07080b; border: 1px solid #262b33; white-space: nowrap; overflow: hidden; }
.door__marquee span { display: inline-block; vertical-align: top; font: 700 calc(min(9cqw, calc(150cqw / var(--len, 9))) * var(--fit, 1)) / 1.05 var(--sc-font-display); font-stretch: 112%; color: #5c4452; transition: color 200ms var(--sc-ease-out), text-shadow 200ms var(--sc-ease-out); }
.door[data-state="free"] .door__marquee span { color: #ffe1f0; text-shadow: 0 0 1.2cqw #ff4fa3, 0 0 3.6cqw #ff4fa3, 0 0 8cqw #ff4fa3; animation: sign-on 520ms steps(1, end) both; }
.door[data-state="checking"] .door__marquee span { color: #8a6478; }
@keyframes sign-on { 0% { opacity: 0.35; } 18% { opacity: 1; } 30% { opacity: 0.5; } 44% { opacity: 1; } }
.door__post { position: absolute; bottom: 4%; width: 2.6cqw; height: 17%; border-radius: 1.3cqw 1.3cqw 0.4cqw 0.4cqw; background: linear-gradient(90deg, #8f6a34, #e8c58a 45%, #8f6a34); }
.door__post--l { left: 10%; } .door__post--r { right: 10%; }
.door__rope { position: absolute; bottom: 14%; width: 17%; height: 4%; border-bottom: 1cqw solid #8c1238; border-radius: 0 0 50% 50%; }
.door__rope--l { left: 12%; } .door__rope--r { right: 12%; }
.door__tag { position: absolute; left: 4%; top: 3.6%; right: 4%; font-size: max(0.62rem, 2.4cqw); color: #c9d1db; }
.door__url { position: absolute; left: 0; right: 0; bottom: 3.6%; text-align: center; font-size: max(0.66rem, 2.6cqw); letter-spacing: 0.04em; text-transform: none; color: #eceef1; }

.foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem;
  padding: 1.1rem var(--sc-gutter) calc(1.1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--gc-line);
  font-size: 0.82rem; color: var(--sc-ink-soft);
}
@media (min-width: 861px) { .foot { padding-right: calc(var(--lift-w) + var(--lift-gap) * 2.4); } }
.foot p { margin: 0; }
.foot__brand b { color: var(--sc-ink); font-weight: 600; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; }
.foot__links a { color: var(--sc-ink-soft); }
.foot__links a:hover { color: var(--sc-ink); }
.foot__small { margin-left: auto !important; }

/* =============================================================== phones == */
@media (max-width: 860px) {
  :root { --lift-bar: 4.1rem; }
  body.lp { padding-bottom: 0; }
  .lift {
    top: auto; bottom: 0; left: 0; right: 0; translate: none; width: auto;
    flex-direction: row; align-items: center; gap: 0.5rem;
    padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
    border-radius: var(--sc-r-lg) var(--sc-r-lg) 0 0; border-bottom: 0;
  }
  .lift__plate { border: 0; padding: 0.2rem; }
  .lift__brand { display: none; }
  .lift__display { flex: 1; cursor: pointer; padding: 0.4rem 0.6rem; }
  .lift__floor { font-size: 1.25rem; }
  .lift__keys {
    position: absolute; left: 0.5rem; right: 0.5rem; bottom: calc(100% + 0.5rem);
    padding: 0.7rem; background: var(--sc-surface); border: 1px solid var(--gc-line-2); border-radius: var(--sc-r-lg);
    box-shadow: var(--sc-e3);
    opacity: 0; translate: 0 10px; pointer-events: none; visibility: hidden;
    transition: opacity 200ms var(--sc-ease-out), translate 240ms var(--sc-ease-out), visibility 0s linear 240ms;
  }
  .lift.is-open .lift__keys { opacity: 1; translate: 0 0; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .lift__buttons a { min-height: 2.75rem; }
  .lift__mobile-join { display: inline-flex !important; }

  .floor__paint { display: none; }
  .hero__copy, .hero__inside { max-width: none; bottom: calc(var(--lift-bar) + 1.6rem); }
  .hero__h1 { font-size: clamp(2.35rem, 1.2rem + 6.2vw, 3.4rem); max-width: 11ch; }
  .hero__sub { font-size: var(--sc-t-base); max-width: 30ch; }
  .hero__h2 { font-size: clamp(2.1rem, 1.1rem + 6vw, 3.1rem); }
  .hero__meter { right: auto; left: var(--sc-gutter); top: calc(env(safe-area-inset-top) + 1rem); bottom: auto; }
  .hero__blade span { font-size: 2.1rem; }


  .lab__grid { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .lab__stage { align-items: flex-start; padding-top: max(3.2rem, 7svh); }
  .lab__copy .floor__where { margin-bottom: 0.6rem; }
  .lab__copy .floor__h { font-size: clamp(1.6rem, 1rem + 4.2vw, 2.2rem); }
  .lab__copy .sc-body { font-size: 0.9rem; line-height: 1.5; margin-top: 0.6rem; }
  .review { padding: 0.8rem 0.9rem; }
  .review__row { padding: 0.5rem 0; }
  .review__row legend, .review__q { margin-bottom: 0.3rem; font-size: 0.8rem; }
  .review__a { font-size: 0.84rem; }
  .seg span { padding: 0.25rem 0.65rem; font-size: 0.78rem; }

  .library__grid, .roof__grid { grid-template-columns: minmax(0, 1fr); }
  .library__head { position: static; }
  .thread:nth-child(n) { margin-left: 0; }
  .landlord > * { margin-left: 0; }

  .key__grid { grid-template-columns: minmax(0, 1fr); padding-block: 4rem 2.5rem; gap: 2rem; align-content: start; }
  .floor--key.is-flow .key__stage { position: relative; height: auto; min-height: 0; display: block; }
  .floor--key.is-flow .foot { position: static; padding-bottom: calc(var(--lift-bar) + 1.4rem + env(safe-area-inset-bottom)); }
  .key__h { font-size: clamp(2.2rem, 1.2rem + 6vw, 3.2rem); }
  .door { justify-self: start; width: min(100%, 24rem); }
  .key__field { flex-wrap: wrap; }
  .key__field input { flex-basis: 60%; }
  .key__field .btn { flex: 1 1 100%; }
  .floor--key:not(.is-flow) .foot { bottom: var(--lift-bar); padding-bottom: 0.9rem; }
  .foot__small { margin-left: 0 !important; }
}
@media (min-width: 861px) { .lift__mobile-join { display: none !important; } }

/* ======================================================= reduced motion == */
.rm .hero { height: auto !important; }
.rm .hero__stage { position: relative; height: auto; display: grid; }
.rm .hero__gl, .rm .hero__floors, .rm .hero__blade { display: none; }
.rm .hero__frame { position: relative; min-height: 92svh; overflow: hidden; }
.rm .hero__frame .hero__poster { opacity: 1 !important; }
.rm .hero__copy, .rm .hero__inside { opacity: 1 !important; }
.rm .hero__inside .sc-split__i { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .door[data-state="free"] .door__marquee span { animation: none; }
  .lift__arrow, .lift__keys { transition: none; }
}

/* poster capture: the scene alone, no text baked into the fallback images */
.poster-mode .lift, .poster-mode .hero__copy, .poster-mode .hero__inside, .poster-mode .hero__floors,
.poster-mode .hero__meter, .poster-mode .sc-grain, .poster-mode .hero__scrim, .poster-mode .hero__blade,
.poster-mode .hero__tip, .poster-mode .hero__poster { display: none !important; }
.poster-mode .hero__gl { opacity: 1 !important; transition: none; }
.lab__copy .floor__more { margin-top: 1.4rem; }

/* phones: the Lab is pinned, so it has to fit one screen above the lift bar */
@media (max-width: 860px) {
  .lab__stage { padding-top: max(2.2rem, 4.5svh); }
  .lab__copy .fsign { margin-bottom: 0.6rem; }
  .lab__copy .fsign__code { height: 1.9rem; min-width: 2.2rem; font-size: 0.85rem; }
  .lab__copy .floor__more { margin-top: 0.7rem; }
  .lab__copy .floor__more .btn { min-height: 36px; padding: 0.45em 0.85em; font-size: 0.8rem; }
  .review__head { padding-bottom: 0.5rem; }
  .review__foot { padding-top: 0.55rem; }
  .review__stamp { padding: 0.25rem 0.5rem; font-size: 0.74rem; }
  .fsign { margin-bottom: 0.9rem; }
}
/* short phones: the Lab reads in normal flow (it can't fit one pinned screen) */
.floor--lab.is-flow .lab__stage { padding-block: 3.5rem 3rem; }


/* ------------------------------------------------------------- v2: rooms -- */
.hero__portal { margin: 1.3rem 0 0; }
.floor--rooms { background: #0a0d11; padding-block: clamp(5rem, 9vw, 9rem); overflow: clip; }
.rooms__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tour { margin: 0; min-width: 0; }
.tour__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--sc-r-lg); overflow: hidden; background: #07090c; border: 1px solid color-mix(in oklab, var(--gc-neon) 55%, transparent); box-shadow: var(--sc-e3), 0 0 40px -12px var(--gc-neon); }
.tour__v, .tour__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.tour__cap { position: absolute; left: 0.75rem; right: 4.3rem; bottom: 0.75rem; z-index: 2; display: flex; align-items: flex-start; gap: 0.55rem; margin: 0; }
.tour__code, .tour__chipcode { flex: none; display: inline-grid; place-items: center; min-width: 1.8rem; height: 1.6rem; padding: 0 0.32rem; border: 1.5px solid var(--c); border-radius: 4px; background: #07090c; color: var(--c); font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 780; font-size: 0.72rem; line-height: 1; }
.tour__text { padding: 0.42rem 0.7rem; border-radius: var(--sc-r-md); background: rgb(7 9 12 / 0.88); backdrop-filter: blur(6px); color: #eceef1; font-size: 0.92rem; line-height: 1.4; }
.tour__text b { font-weight: 650; }
.tour__go { color: #eceef1; white-space: nowrap; text-underline-offset: 0.25em; }
.tour__pause { position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gc-line-2); background: rgb(7 9 12 / 0.88); color: #eceef1; font-size: 0.85rem; letter-spacing: -0.1em; cursor: pointer; }
.tour__icon { display: block; width: 12px; height: 14px; border-inline: 4px solid currentColor; box-sizing: border-box; }
.tour:not(.is-playing) .tour__icon { width: 0; height: 0; border: 0; border-left: 13px solid currentColor; border-block: 8px solid transparent; margin-left: 3px; }
.tour__pause:focus-visible, .tour__chip:focus-visible, .tour__stillbtn:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 3px; }
.tour__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; background: rgb(7 9 12 / 0.88); }
.tour__chips { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(6.6rem, 1fr)); gap: 0.5rem; }
.tour__chip { display: grid; gap: 0.4rem; justify-items: start; width: 100%; min-height: 44px; padding: 0.5rem 0.6rem 0.6rem; border-radius: var(--sc-r-md); border: 1px solid var(--gc-line-2); background: #0f131a; color: var(--sc-ink-soft); font: 500 0.84rem/1.25 var(--sc-font-text); text-align: left; cursor: pointer; }
.tour__chip[aria-current="true"] { border-color: color-mix(in oklab, var(--c) 70%, transparent); color: var(--sc-ink); }
.tour__bar { position: relative; display: block; width: 100%; height: 3px; border-radius: 2px; background: #232a34; overflow: hidden; }
.tour__bar::after { content: ""; position: absolute; inset: 0; background: var(--c); transform-origin: 0 50%; transform: scaleX(var(--k, 0)); }
.tour__stills { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.5rem; }
.tour__stillbtn { display: grid; gap: 0.4rem; width: 100%; padding: 0; border: 0; background: none; color: var(--sc-ink); font: 500 0.84rem/1.3 var(--sc-font-text); text-align: left; cursor: pointer; }
.tour__stillbtn img { width: 100%; height: auto; display: block; border-radius: var(--sc-r-sm); border: 1px solid var(--gc-line-2); }
.tour__stillcap { display: flex; align-items: center; gap: 0.45rem; }
.tour__stillcap b { font-weight: 600; }
.tour__under { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 1rem; margin-top: 0.8rem; color: var(--sc-ink-soft); }
@media (max-width: 560px) {
  .tour__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour__cap { left: 0.5rem; right: 3.6rem; bottom: 0.5rem; }
  .tour__text { font-size: 0.8rem; padding: 0.35rem 0.55rem; }
  .tour__text span:not(.tour__go) { display: none; }
  .tour__pause { right: 0.5rem; bottom: 0.5rem; }
}
.lift__code--glyph, .fsign__code--glyph { letter-spacing: 0.02em; }
.fsign__code--glyph { border-color: #cfe0f2; color: #eceef1; box-shadow: none; text-shadow: none; font-size: 0.86rem; }

.crew { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--gc-line); max-width: 34rem; }
.crew__h { margin: 0 0 0.9rem; font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 650; font-size: 1.15rem; color: var(--sc-ink); }
.crew__list { list-style: none; margin: 0 0 0.9rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.crew__list li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.4rem 0.3rem 0.65rem; border: 1px solid rgb(61 227 255 / 0.45); border-radius: 999px; font-size: 0.86rem; }
.crew__ai { font-family: var(--sc-font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; padding: 0.05rem 0.32rem; border-radius: 3px; background: #3de3ff; color: #031418; }
.crew__p { margin: 0; color: #c3cad3; font-size: 0.94rem; line-height: 1.6; }
.crew__p a { color: var(--sc-ink); }
.key__peek { margin: 0.9rem 0 0; font-size: 0.9rem; }
.key__peek a { color: var(--sc-ink); text-decoration-color: color-mix(in oklab, var(--gc-neon) 60%, transparent); }
@media (max-width: 860px) {
  .rooms__grid { grid-template-columns: minmax(0, 1fr); }
  .landlord > .crew { margin-left: 0; }
}

/* ---------------------------------------------------- portal into the world -- */
.portal { position: fixed; inset: 0; z-index: 200; pointer-events: auto; background-color: rgb(5 7 10 / 0); overflow: hidden; }
.portal::before { content: ""; position: absolute; left: var(--px); top: var(--py); width: 24px; height: 24px; translate: -50% -50%; border-radius: 50%; border: 3px solid #ffd6ea; box-shadow: 0 0 12px var(--gc-neon), 0 0 40px var(--gc-neon), inset 0 0 22px var(--gc-neon); }
.portal.is-open { background-color: rgb(5 7 10 / 1); transition: background-color 380ms cubic-bezier(.7,0,.3,1) 240ms; }
.portal.is-open::before { width: 260vmax; height: 260vmax; transition: width 640ms cubic-bezier(.55,0,.25,1), height 640ms cubic-bezier(.55,0,.25,1); }
