/* One clean trace of the supplied logo, then reveal the already-loading scene. */
html.nf-entering { overflow: hidden; }
.nullform-art-intro { overscroll-behavior: none; touch-action: none; }
.nullform-art-intro svg { width: clamp(220px,32vw,340px); max-width: 72vw; height: auto; overflow: visible; }
.nullform-art-intro .trace-stroke { stroke-dasharray: 1; stroke-dashoffset: 1; }
.nf-tracing .nullform-art-intro .trace-stroke {
  animation: nf-logo-draw var(--trace-duration,650ms) ease-in-out var(--trace-delay,900ms) forwards;
}
.nf-tracing .nullform-art-intro { animation: nf-intro-out 400ms ease 2950ms forwards; }
/* Remove dashing at completion so closed paths join cleanly at their seam. */
@keyframes nf-logo-draw {
  99.9% { stroke-dasharray: 1; stroke-dashoffset: 0; }
  100% { stroke-dasharray: none; stroke-dashoffset: 0; }
}
@keyframes nf-intro-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  html.nf-entering { overflow: auto; }
  html.nf-entering .nullform-art-intro { display: none; }
}

/* Original architecture; exact Nullform mark and palette from the supplied brand guide. */

:root {
  color-scheme: dark;
  --bg: #181818;
  --fg: #e1e1e1;
  --muted: #a9a9a9;
  --line: #4e4e4e;
  --accent: #b9b9b9;
  --mono: 'JetBrains Mono',Consolas,monospace;
  --door-open: 0;
  --lobby-depth: 0;
  --lobby-caption: 0;
  --intro-opacity: 1;
  --lift-open: 0;
  --travel: 0;
  --ride: 0;
  --paper: #e1e1e1;
  --dim: #9d9d9d;
  --void: #121212;
  --stock: #262626;
  --stock-2: #2f2f2f;
  --steel: #565656;
  --rule: #434343;
  --recess: #0d0d0d;
  --cyan: #9a9a9a;
  --magenta: #929292;
  --gold: #9a9a9a;
  --violet: #9e9e9e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 13px/1.65 var(--mono);
  overflow-x: clip;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 6px;
}

button:disabled {
  cursor: default;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

[hidden] {
  display: none!important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 1000;
  padding: 14px;
  background: var(--fg);
  color: var(--bg);
}

.skip-link:focus {
  top: 12px;
}

.wayfinding {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 3vw;
  gap: 20px;
  pointer-events: none;
}

.wayfinding a,
.wayfinding button,
.route-menu {
  pointer-events: auto;
}

.brand-slot {
  font-size: 12px;
  letter-spacing: .1em;
  background: #181818;
  padding: 10px 13px;
  border: 1px solid #666666;
}

.brand-slot small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .08em;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  min-height: 48px;
  font-size: 10px;
}

.hamburger {
  display: block;
  width: 20px;
  height: 12px;
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--fg);
  position: relative;
}

.hamburger:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  border-top: 1px solid var(--fg);
}

.menu-toggle[aria-expanded=true] .hamburger {
  transform: rotate(45deg);
  height: 0;
  border-bottom: 0;
}

.menu-toggle[aria-expanded=true] .hamburger:after {
  transform: rotate(90deg);
  top: -1px;
}

.route-menu {
  position: absolute;
  right: 3vw;
  top: 86px;
  width: min(350px,calc(100vw - 32px));
  padding: 24px;
  background: #181818;
  border: 1px solid var(--line);
  box-shadow: 10px 10px 0 #0008;
}

.route-menu p {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.route-menu a {
  display: block;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.route-menu a span {
  color: var(--muted);
  margin-right: 18px;
}

.route-menu a:hover {
  color: #fff;
}

.route-menu button {
  border: 1px solid var(--line);
  background: none;
  padding: 12px;
  margin: 16px 0;
  width: 100%;
  text-align: left;
  font-size: 11px;
}

.route-menu .portfolio-link {
  font-size: 10px;
  color: var(--muted);
}

.journey {
  position: relative;
}

.pinned {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 630px;
  overflow: clip;
}

.lobby {
  height: 220svh;
}

.lobby-world {
  position: absolute;
  inset: 0;
  transform: scale(calc(1 + var(--lobby-depth)*.3));
  transform-origin: 50% 58%;
  will-change: transform;
}

.lobby-drawing {
  width: 100%;
  height: 100%;
  display: block;
}

.front-door {
  position: absolute;
  inset: 0;
  pointer-events: none;
  perspective: 1000px;
}

.door-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: #1818183d;
  border: 13px solid #1a1a1a;
  box-shadow: inset 0 0 0 2px #929292;
  will-change: transform;
}

.door-left {
  left: 0;
  transform: translateX(calc(var(--door-open)*-102%));
}

.door-right {
  right: 0;
  transform: translateX(calc(var(--door-open)*102%));
}

.door-leaf i {
  position: absolute;
  top: 44%;
  height: 20%;
  width: 12px;
  background: #a2a2a2;
  box-shadow: 4px 0 0 #1e1e1e;
}

.door-left i {
  right: 23px;
}

.door-right i {
  left: 23px;
}

.lobby-intro {
  position: absolute;
  left: 7vw;
  bottom: 16%;
  padding: 28px 32px;
  background: #191919;
  max-width: 440px;
  opacity: var(--intro-opacity);
  transform: translateY(calc(var(--door-open)*-20px));
}

.overline {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
}

.lobby-intro h1 {
  font: 500 clamp(44px,4.5vw,76px)/1.02 Arial,sans-serif;
  letter-spacing: -.045em;
  margin: 0 0 20px;
}

.lobby-intro>p:not(.overline) {
  font-size: 12px;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  font-size: 11px;
  border-bottom: 1px solid var(--muted);
  padding: 8px 0;
  margin-top: 8px;
}

.text-link:hover {
  color: #fff;
  border-color: #fff;
}

.scene-coordinate {
  position: absolute;
  right: 3vw;
  bottom: 32px;
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--fg);
  background: #181818;
  padding: 5px 8px;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 3vw;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: .1em;
  background: #181818;
  padding: 5px 8px;
}

.scroll-cue span {
  height: 27px;
  width: 1px;
  background: var(--fg);
}

.desk-anchor {
  position: absolute;
  top: 85svh;
}

.desk-interaction {
  position: absolute;
  left: 25%;
  top: 64%;
  opacity: var(--lobby-caption);
  transform: rotate(5deg);
  z-index: 3;
}

.keycard {
  display: flex;
  align-items: center;
  position: relative;
  width: 130px;
  min-height: 76px;
  padding: 12px;
  background: #cfcfcf;
  color: #1c1c1c;
  border: 1px solid #e5e5e5;
  box-shadow: 5px 5px 0 #18181866;
  text-align: left;
  transition: transform .25s;
}

.keycard:hover {
  transform: translateY(-6px) rotate(-5deg);
}

.card-print {
  font-size: 8px;
  letter-spacing: .13em;
  line-height: 2;
}

.card-action {
  position: absolute;
  top: calc(100% + 9px);
  left: -6px;
  background: #1b1b1b;
  color: #ededed;
  padding: 6px 10px;
  font-size: 9px;
  white-space: nowrap;
}

.keycard.collected {
  background: #282828;
  color: #dbdbdb;
  border: 1px solid #919191;
  transform: rotate(-5deg);
}

.lobby-caption {
  position: absolute;
  right: 6vw;
  bottom: 15%;
  max-width: 340px;
  background: #191919;
  padding: 25px 30px;
  opacity: var(--lobby-caption);
}

.lobby-caption .overline {
  margin-bottom: 12px;
}

.lobby-caption p {
  font-size: 12px;
}

.lobby-intro,
.lobby-caption,
.desk-interaction {
  transition: visibility .1s;
}

.elevator {
  height: 360svh;
  background: #131313;
}

.elevator-pin {
  background: #161616;
}

.shaft {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #232323;
}

.shaft:before,
.shaft:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  background: repeating-linear-gradient(0deg,#373737 0 10px,#262626 10px 180px,#404040 180px 184px);
}

.shaft:after {
  right: 0;
}

.shaft-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12px;
  background: #888888;
  border-left: 4px solid #141414;
  border-right: 3px solid #474747;
  z-index: 1;
}

.shaft-rail.left {
  left: 24%;
}

.shaft-rail.right {
  right: 24%;
}

.shaft-levels {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  transform: translateY(calc(var(--travel)*-1px));
  will-change: transform;
}

.shaft-floor {
  height: 64svh;
  border-top: 28px solid #4b4b4b;
  border-bottom: 8px solid #121212;
  position: relative;
  background: #2e2e2e;
  padding: 35px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #8b8b8b;
}

.shaft-floor:after {
  content: '';
  position: absolute;
  left: 22%;
  right: 22%;
  top: 0;
  bottom: 0;
  background: #151515;
  border-left: 16px solid #464646;
  border-right: 16px solid #464646;
}

.shaft-floor span {
  font: 700 clamp(75px,12vw,185px)/1 Arial,sans-serif;
  letter-spacing: -.07em;
}
.floor-prefix { font-style: normal; }

.shaft-floor b {
  font-weight: 400;
  font-size: 9px;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
}

.elevator-label {
  position: absolute;
  left: 5vw;
  top: 18%;
  z-index: 3;
  background: #161616;
  padding: 24px;
  max-width: 250px;
}

.elevator-label h2 {
  font: 400 clamp(30px,3.2vw,52px)/1.05 Arial,sans-serif;
  letter-spacing: -.04em;
  margin: 0 0 16px;
}

.elevator-label .overline {
  margin-bottom: 18px;
}

.elevator-label>p:last-child {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 0;
}

.lift-assembly {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(260px,31vw,490px);
  height: min(69svh,650px);
  transform: translate(-50%,-50%);
  z-index: 2;
}

.floor-display {
  height: 56px;
  background: #131313;
  border: 8px solid #707070;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 16px;
  color: #d4d4d4;
}

.floor-display output {
  font: 400 23px/1 var(--mono);
  min-width: 34px;
}

.floor-display span:first-child {
  font-size: 20px;
}

.floor-display span:last-child {
  font-size: 9px;
  letter-spacing: .1em;
  margin-left: auto;
}

.lift-frame {
  position: absolute;
  top: 56px;
  bottom: 16px;
  left: 0;
  right: 0;
  border: 15px solid #7a7a7a;
  border-bottom: 4px solid #232323;
  overflow: hidden;
  background: #171717;
  box-shadow: inset 0 0 0 5px #2e2e2e;
}

.lift-cabin {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cabin-back {
  position: absolute;
  inset: 13% 14% 20%;
  background: #484848;
  border: 1px solid #676767;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cabin-back>span {
  font-size: 8px;
  letter-spacing: .22em;
  color: #c7c7c7;
}

.cabin-ceiling {
  position: absolute;
  inset: 0 0 78%;
  background: #d2d2d2;
  clip-path: polygon(0 0,100% 0,86% 60%,14% 60%);
}

.cabin-floor {
  position: absolute;
  inset: 80% 0 0;
  background: repeating-linear-gradient(0deg,#505050 0 1px,#292929 1px 23px);
  clip-path: polygon(14% 0,86% 0,100% 100%,0 100%);
}

.cabin-side {
  position: absolute;
  inset: 0 auto 0 0;
  width: 14%;
  background: #5f5f5f;
  clip-path: polygon(0 0,100% 13%,100% 80%,0 100%);
}

.side-right {
  left: auto;
  right: 0;
  transform: scaleX(-1);
  background: #323232;
}

.cabin-handrail {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 20%;
  height: 10px;
  background: #999999;
  box-shadow: 0 6px 0 #1a1a1a;
}

.lift-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: repeating-linear-gradient(90deg,#686868 0 2px,#616161 2px 38px);
  border: 1px solid #888888;
  box-shadow: inset 5px 0 0 #8c8c8c;
  will-change: transform;
}

.lift-door-left {
  left: 0;
  transform: translateX(calc(var(--lift-open)*-101%));
}

.lift-door-right {
  right: 0;
  transform: translateX(calc(var(--lift-open)*101%));
  background: repeating-linear-gradient(90deg,#525252 0 2px,#4b4b4b 2px 38px);
}

.lift-sill {
  position: absolute;
  bottom: 0;
  height: 17px;
  width: 100%;
  background: repeating-linear-gradient(0deg,#8f8f8f 0 2px,#343434 2px 5px);
}

.panel-note {
  font-size: 8px;
  line-height: 1.8;
  color: #b3b3b3;
  margin-bottom: 0;
}

.travel-progress {
  position: absolute;
  left: 3vw;
  bottom: 40px;
  right: 3vw;
  height: 2px;
  background: #5c5c5c;
}

.travel-progress span {
  display: block;
  height: 100%;
  width: calc(var(--ride)*100%);
  background: #d7d7d7;
}

.lift-caption {
  position: absolute;
  bottom: 45px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: .08em;
}

.elevator .scene-coordinate {
  bottom: 11px;
  background: none;
}

.orientation {
  position: relative;
  background: #878787;
  color: #1b1b1b;
  min-height: 100svh;
  padding: 110px 8vw 95px;
  box-shadow: inset 0 20px 0 #272727;
  scroll-margin-top: 0;
}

.orientation:before {
  content: '';
  position: absolute;
  left: 3vw;
  top: 0;
  bottom: 0;
  width: 18px;
  background: #515151;
  box-shadow: 8px 0 0 #a0a0a0;
}

.orientation-sign {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #4a4a4a;
  border-bottom: 1px solid #4a4a4a;
  padding: 18px 0;
  font-size: 10px;
  letter-spacing: .12em;
}

.orientation-sign>span {
  font-size: 24px;
  font-weight: 700;
}

.orientation-sign b {
  margin-left: auto;
  font-size: 25px;
}

.rodney-layout {
  display: grid;
  grid-template-columns: minmax(180px,300px) 1fr;
  gap: 7vw;
  align-items: center;
  max-width: 1100px;
  margin: 65px auto 0;
}

.personnel-file {
  background: #bbbbbb;
  border: 0;
  padding: 14px;
  transform: rotate(-2deg);
  box-shadow: 10px 12px 0 #484848;
}

.file-top {
  border-bottom: 1px solid #656565;
  font-size: 8px;
  padding: 0 0 12px;
  letter-spacing: .13em;
}

.portrait-placeholder {
  aspect-ratio: 4/5;
  background: #5a5a5a;
  position: relative;
  display: grid;
  place-items: center;
  margin: 14px 0;
  overflow: hidden;
}

.portrait-placeholder>span {
  font-size: 10px;
  letter-spacing: .13em;
  text-align: center;
  color: #d4d4d4;
  z-index: 1;
  background: #2f2f2f;
  padding: 10px;
}

.portrait-lines {
  position: absolute;
  inset: 15px;
  border: 1px solid #898989;
}

.portrait-lines:after {
  content: '';
  position: absolute;
  left: 50%;
  top: -15px;
  bottom: -15px;
  width: 1px;
  background: #898989;
}

.file-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
}

.file-bottom>span {
  font-size: 8px;
  letter-spacing: .14em;
}

.redacted {
  font-size: 12px;
  letter-spacing: -2px;
}

.rodney-copy .overline {
  color: #343434;
}

.rodney-copy h2 {
  font: 400 clamp(35px,4.3vw,65px)/1.06 Arial,sans-serif;
  letter-spacing: -.04em;
  margin: 0 0 30px;
}

.dialogue {
  max-width: 57ch;
  font-size: 13px;
  line-height: 1.9;
}

.dialogue p {
  margin: 0 0 20px;
}

.card-response {
  font-size: 11px;
  border-left: 2px solid #373737;
  padding-left: 16px;
  max-width: 52ch;
}

.outline-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding: 17px 20px;
  border: 1px solid #373737;
  font-size: 10px;
  max-width: 430px;
}

.outline-button:hover {
  background: #262626;
  color: #e1e1e1;
}

.containment {
  background: #131313;
  scroll-margin-top: 0;
  padding-bottom: 90px;
}

.containment-doorway {
  height: 120px;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0 6vw;
  background: #3c3c3c;
  border-bottom: 15px solid #272727;
  box-shadow: 0 12px 0 #0c0c0c;
  font-size: 30px;
  letter-spacing: .1em;
}

.containment-doorway div {
  height: 12px;
  flex: 1;
  background: #aaaaaa;
  border: 3px solid #1d1d1d;
}

.collection-wrap {
  max-width: 1250px;
  margin: auto;
  padding: 65px 6vw 0;
}

.collection-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}

.collection-title h2 {
  font: 400 clamp(44px,5.6vw,80px)/1 Arial,sans-serif;
  letter-spacing: -.05em;
  margin: 0;
}

.collection-count {
  font-size: 9px;
  color: var(--muted);
  text-align: right;
  line-height: 2;
  letter-spacing: .12em;
}

.collection-copy {
  font-size: 11px;
  color: var(--muted);
  margin: 30px 0 60px;
}

.archive-note {
  margin-top: 30px;
  color: var(--muted);
  font-size: 10px;
}

.experience-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 30px 6vw;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
}

.experience-foot p {
  margin: 0;
}

.experience-foot p span {
  margin-left: 10px;
}

.experience-foot a {
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.record-dialog {
  width: min(760px,calc(100% - 32px));
  max-height: 85svh;
  padding: 0;
  background: #131313;
  color: var(--fg);
  border: 2px solid var(--hue,var(--accent));
  overflow: auto;
}

.record-dialog::backdrop {
  background: #0a0a0ae8;
}

.record-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--hue,var(--accent));
  color: #111111;
  font-size: 12px;
}

.record-band button {
  background: none;
  color: inherit;
  border: 1px solid currentColor;
  padding: 8px 14px;
  font-size: 11px;
}

.record-imaging {
  height: 210px;
  display: grid;
  place-items: center;
  background: #1f1f1f;
  position: relative;
}

.record-imaging>span {
  font-size: 9px;
  letter-spacing: .15em;
  color: var(--muted);
  position: absolute;
  bottom: 18px;
}

.record-imaging i {
  width: 65px;
  height: 65px;
  transform: rotate(45deg);
  border: 2px solid var(--hue);
}

.record-content {
  padding: 28px;
}

.record-content h2 {
  font-size: 23px;
  line-height: 1.3;
}

.record-content p {
  font-size: 12px;
  color: var(--muted);
}

.record-content dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.record-content dt {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .15em;
}

.record-content dd {
  margin: 8px 0 0;
  font-size: 12px;
}

@media(min-width:1500px) {
  .elevator-label {
    left: 8vw;
  }
}

@media(max-width:1050px) {
  .elevator-label {
    top: 17%;
    left: 3vw;
    padding: 16px;
    max-width: 190px;
  }

  .elevator-label h2 {
    font-size: 30px;
  }

  .elevator-label>p:last-child {
    display: none;
  }

  .lift-assembly {
    width: 34vw;
    left: 46%;
    height: 65svh;
  }

  .rodney-layout {
    gap: 5vw;
  }

  .lobby-caption {
    right: 4vw;
    max-width: 300px;
    padding: 22px;
  }

  .lobby-intro {
    left: 4vw;
    max-width: 370px;
  }

  .desk-interaction {
    left: 20%;
    top: 65%;
  }
}

@media(max-width:700px) {
  html {
    scroll-padding-top: 85px;
  }

  .wayfinding {
    padding: 14px 16px;
  }

  .brand-slot {
    font-size: 9px;
    padding: 8px 10px;
  }

  .brand-slot small {
    font-size: 7px;
  }

  .menu-word {
    display: none;
  }

  .menu-toggle {
    min-width: 46px;
    min-height: 46px;
    justify-content: center;
    padding: 12px;
  }

  .route-menu {
    top: 76px;
    right: 16px;
  }

  .pinned {
    min-height: 650px;
  }

  .lobby {
    height: 200svh;
    min-height: 1300px;
  }

  .lobby-world {
    width: 180%;
    left: -40%;
    right: auto;
  }

  .door-leaf {
    border-width: 8px;
  }

  .door-leaf i {
    width: 8px;
  }

  .lobby-intro {
    left: 20px;
    right: 20px;
    bottom: 15%;
    padding: 22px;
    max-width: 360px;
  }

  .lobby-intro h1 {
    font-size: 48px;
  }

  .overline {
    font-size: 9px;
  }

  .desk-anchor {
    top: 82svh;
  }

  .desk-interaction {
    top: 58%;
    left: 13%;
  }

  .keycard {
    width: 110px;
    min-height: 68px;
    padding: 9px;
  }

  .lobby-caption {
    left: 20px;
    right: 20px;
    bottom: 11%;
    max-width: none;
    padding: 17px 20px;
  }

  .lobby-caption .overline {
    font-size: 8px;
  }

  .lobby-caption p {
    font-size: 11px;
  }

  .scene-coordinate {
    bottom: 20px;
    font-size: 8px;
  }

  .scroll-cue {
    bottom: 20px;
    font-size: 8px;
  }

  .elevator {
    height: 320svh;
    min-height: 2080px;
  }

  .elevator-label {
    top: 90px;
    left: 20px;
    background: none;
    padding: 0;
    max-width: none;
  }

  .elevator-label .overline {
    font-size: 8px;
    margin-bottom: 10px;
  }

  .elevator-label h2 {
    font-size: 34px;
  }

  .lift-assembly {
    width: 57%;
    left: 34%;
    top: 56%;
    height: 56svh;
    max-height: 510px;
    min-height: 330px;
  }

  .lift-frame {
    border-width: 10px;
    border-bottom-width: 3px;
    top: 48px;
  }

  .floor-display {
    height: 48px;
    border-width: 6px;
    gap: 8px;
    padding: 0 8px;
  }

  .floor-display output {
    font-size: 20px;
  }

  .floor-display span:last-child {
    font-size: 7px;
    letter-spacing: 0;
  }

  .panel-note {
    font-size: 7px;
  }

  .shaft-floor {
    padding: 25px 5vw;
  }

  .shaft-floor span {
    position: absolute;
    left: auto;
    right: calc(78% + 8px);
    font-size: clamp(48px,15vw,80px);
    letter-spacing: 0;
    text-align: right;
    opacity: .55;
  }
  .shaft-floor .floor-prefix { display: none; }

  .shaft-floor b {
    font-size: 8px;
  }

  .lift-caption {
    font-size: 8px;
    bottom: 42px;
  }

  .orientation {
    padding: 95px 25px 60px 36px;
  }

  .orientation:before {
    left: 10px;
    width: 8px;
    box-shadow: 4px 0 0 #a0a0a0;
  }

  .orientation-sign {
    font-size: 8px;
  }

  .rodney-layout {
    grid-template-columns: 1fr;
    margin-top: 35px;
    gap: 35px;
  }

  .personnel-file {
    max-width: 190px;
    transform: rotate(-2deg);
    padding: 10px;
    box-shadow: 6px 7px 0 #484848;
  }

  .portrait-placeholder {
    aspect-ratio: 1.6;
    margin: 10px 0;
  }

  .portrait-placeholder>span {
    font-size: 8px;
    padding: 6px;
  }

  .file-top {
    font-size: 7px;
    padding-bottom: 8px;
  }

  .file-bottom {
    font-size: 9px;
  }

  .file-bottom>span {
    font-size: 7px;
  }

  .rodney-copy h2 {
    font-size: 42px;
  }

  .dialogue {
    font-size: 12px;
    line-height: 1.85;
  }

  .outline-button {
    font-size: 9px;
    padding: 14px 13px;
  }

  .containment-doorway {
    height: 105px;
    padding-top: 28px;
    font-size: 20px;
    gap: 18px;
  }

  .collection-wrap {
    padding: 40px 24px 0;
  }

  .collection-title {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .collection-title h2 {
    font-size: 49px;
  }

  .collection-count {
    text-align: left;
    font-size: 8px;
  }

  .collection-copy {
    margin: 22px 0 38px;
  }

  .archive-note {
    font-size: 9px;
  }

  .experience-foot {
    flex-direction: column;
    align-items: start;
    padding: 26px 24px;
    gap: 20px;
  }

  .experience-foot p span {
    display: block;
    margin: 8px 0 0;
    font-size: 8px;
  }

  .record-imaging {
    height: 170px;
  }

  .record-content {
    padding: 20px;
  }
}

/* Fully usable static sequence without scripting or with reduced motion. */

html:not(.motion-on) .journey {
  height: auto;
  min-height: 0;
}

html:not(.motion-on) .pinned {
  position: relative;
}

html:not(.motion-on) .front-door,
html:not(.motion-on) .scroll-cue,
html:not(.motion-on) .desk-anchor {
  display: none;
}

html:not(.motion-on) .lobby-caption,
html:not(.motion-on) .desk-interaction {
  opacity: 1;
}

html:not(.motion-on) .lift-door {
  display: none;
}

html:not(.motion-on) .shaft-levels {
  transform: none;
}

html:not(.motion-on) .travel-progress {
  display: none;
}

html:not(.motion-on) .elevator-label>p:last-child {
  display: none;
}

html:not(.motion-on) .lift-caption {
  display: none;
}

html:not(.motion-on) {
  scroll-behavior: auto;
}

html:not(.motion-on) .keycard {
  transition: none;
}

html:not(.motion-on) .keycard:hover {
  transform: none;
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    animation: none!important;
    transition: none!important;
  }
}

/* Visitor routing and readable phone controls. */

html:not(.motion-on) .lobby-intro {
  display: block;
  top: 110px;
  bottom: auto;
  padding: 18px 24px;
  opacity: 1;
  transform: none;
  max-width: 340px;
}

html:not(.motion-on) .lobby-intro h1 {
  font-size: 38px;
}

html:not(.motion-on) .lobby-intro .text-link {
  display: none;
}

@media(max-width:700px) {
  .panel-note {
    font-size: 8px;
  }

  .floor-display span:last-child {
    font-size: 8px;
  }

  .card-print {
    font-size: 9px;
  }

  .file-top {
    font-size: 8px;
  }

  .file-bottom>span {
    font-size: 9px;
  }

  html:not(.motion-on) .lobby-intro {
    top: 100px;
    max-width: 300px;
  }

  .lobby-intro .overline {
    font-size: 9px;
  }
}

/* Brand materials and lighting. The architectural shading is static; only
   transforms and opacity change during the journey. */

@font-face {
  font-family: Geologica;
  src: url('../../images/projects/nullform-art/geologica.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #151215;
  --fg: #F4F4F4;
  --muted: #C3CACA;
  --line: #50555b;
  --accent: #83DEDE;
  --sans: Geologica,Calibri,Arial,sans-serif;
  --mono: Consolas,'Courier New',monospace;
  --paper: #F4F4F4;
  --dim: #A5ADAD;
  --void: #101014;
  --stock: #292c31;
  --stock-2: #363b41;
  --steel: #747c83;
  --rule: #3D434A;
  --recess: #0b0c10;
  --cyan: #83DEDE;
  --magenta: #b8bec4;
  --gold: #8a929a;
  --violet: #d3d7db;
}

body {
  background: #151215;
  font-family: var(--sans);
}

h1,
h2,
h3 {
  font-family: var(--sans)!important;
  font-weight: 400!important;
}

.overline,
.scene-coordinate,
.scroll-cue,
.card-print,
.card-action,
.file-top,
.file-bottom,
.orientation-sign,
.collection-count,
.archive-note,
.record-band,
.record-content dt,
.scanner-panel,
.inventory-label,
.inventory-top,
.inventory-foot,
.pickup-toast small {
  font-family: var(--mono);
}

.wayfinding {
  padding: 22px 3vw;
}

.brand-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #151215eb;
  border-color: #ffffff24;
  padding: 4px 15px 4px 4px;
  font: 500 12px/1.2 var(--sans);
  letter-spacing: .08em;
}

.brand-slot img {
  display: block;
  width: 44px;
  height: 44px;
}

.brand-slot small {
  font: 9px/1.5 var(--mono);
  color: #c3caca;
  letter-spacing: .23em;
  margin-top: 5px;
}

.header-controls {
  gap: 9px;
}

.menu-toggle,
.inventory-toggle {
  background: #151215eb;
  border: 1px solid #ffffff29;
  min-height: 54px;
}

.menu-toggle {
  padding: 16px;
  font: 11px var(--sans);
}

.inventory-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  font: 11px var(--sans);
}

.inventory-toggle:hover,
.menu-toggle:hover {
  background: #3D434A;
}

.inventory-toggle>span:last-child {
  color: #C3CACA;
  font-family: var(--mono);
  font-size: 12px;
}

.inventory-toggle.has-card>span:last-child {
  color: #83DEDE;
}

.card-icon {
  display: inline-block;
  width: 20px;
  height: 26px;
  border: 1px solid currentColor;
  position: relative;
  color: #C3CACA;
  flex-shrink: 0;
}

.card-icon:before {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  top: 5px;
  height: 5px;
  border-top: 2px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.card-icon:after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  border-top: 1px solid currentColor;
}

.route-menu {
  background: #151215f7;
  border: 1px solid #ffffff32;
  box-shadow: 0 24px 70px #0007;
}

.route-menu a {
  font-family: var(--sans);
}

.route-menu a:hover {
  background: #f4f4f4;
  color: #151215;
  padding-left: 12px;
}

.route-menu button {
  font-family: var(--sans);
}

.lobby-world:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#03040870,transparent 35%,transparent 65%,#03040880);
  pointer-events: none;
}

.door-leaf {
  background: linear-gradient(105deg,#ffffff0a,transparent 48%,#ffffff12 49%,transparent 55%),linear-gradient(90deg,#10131a40,#d8e2ed0d),rgb(16 19 26 / 20%);
  border-color: #191c22;
  box-shadow: inset 0 0 0 1px #89939c80,4px 0 22px #0008;
}

.door-leaf i {
  background: linear-gradient(90deg,#252b31,#d3d9de 45%,#9ba5ad 56%,#373e46);
  box-shadow: 5px 2px 8px #0009;
}

.lobby-intro,
.lobby-caption {
  background: linear-gradient(120deg,#111216f5,#191c21ef);
  border: 1px solid #ffffff1c;
  box-shadow: 0 15px 55px #0004;
  border-left: 2px solid #a5adad;
}

.lobby-intro h1 {
  font-size: clamp(42px,4.5vw,76px);
  letter-spacing: -.055em;
}

.lobby-caption {
  padding: 22px 26px;
}

.text-link {
  font-family: var(--sans);
  font-size: 12px;
}

.scene-coordinate,
.scroll-cue {
  background: #151215c9;
  color: #dfe3e7;
}

.keycard {
  background: linear-gradient(120deg,#fff,#c3caca);
  border-color: var(--action-cyan);
  color: #151215;
  box-shadow: 2px 5px 0 #3d434a,5px 12px 20px #0008;
  gap: 10px;
  transition: transform .5s cubic-bezier(.2,.75,.2,1),opacity .3s;
}

.keycard::before,
.keycard::after,
.scanner-reader::before,
.scanner-reader::after {
  content: '';
  position: absolute;
  inset: var(--cue-inset, -2px);
  border: 3px solid var(--action-cyan);
  box-shadow: 0 0 12px #00ffff45;
  opacity: 0;
  transform-origin: center;
  pointer-events: none;
}

html.motion-on .desk-interaction:not([inert]) .keycard:not(.collected)::before,
html.motion-on .desk-interaction:not([inert]) .keycard:not(.collected)::after,
html.motion-on .scanner-panel:is([data-state="locked"], [data-state="prompted"]) .scanner-reader:not(:disabled)::before,
html.motion-on .scanner-panel:is([data-state="locked"], [data-state="prompted"]) .scanner-reader:not(:disabled)::after {
  animation: cue-ripple 2.4s cubic-bezier(.2,.5,.4,1) infinite;
}

html.motion-on .desk-interaction:not([inert]) .keycard:not(.collected)::after,
html.motion-on .scanner-panel:is([data-state="locked"], [data-state="prompted"]) .scanner-reader:not(:disabled)::after {
  animation-delay: -1.2s;
}

/* Each ring travels outward, fades completely, then restarts invisibly. */
@keyframes cue-ripple {
  0% { opacity: 0; transform: scale(1); }
  8% { opacity: .85; transform: scale(1.015); }
  70% { opacity: .3; transform: scale(1.18); }
  100% { opacity: 0; transform: scale(1.26); }
}

.keycard-mark {
  width: 30px;
  height: 30px;
}

.card-action {
  background: var(--action-cyan);
  color: #101419;
  border: 1px solid var(--action-cyan);
  font-size: 10px;
  padding: 9px 12px;
}

.keycard:hover {
  transform: translateY(-5px) rotate(-5deg);
}

.keycard.collected {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-30px) rotate(-10deg);
}

.elevator-pin {
  background: #111217;
}

.shaft {
  background: linear-gradient(90deg,#101216,#3d434a 48%,#101216);
}

.shaft:before,
.shaft:after {
  background: repeating-linear-gradient(0deg,#43494f 0 10px,#262b31 10px 180px,#5d666e 180px 184px);
}

.shaft-rail {
  background: linear-gradient(90deg,#89939c,#2b3137);
  border-left-color: #111318;
  border-right-color: #4b555e;
  box-shadow: 8px 0 15px #0008;
}

.shaft-floor {
  background: linear-gradient(110deg,#272c32,#525b63 50%,#30353c);
  border-top-color: #50565e;
  border-bottom-color: #14151a;
  color: #a5adad;
  box-shadow: inset 0 18px 25px #0005;
}

.shaft-floor:after {
  background: #101217;
  border-color: #373e45;
  box-shadow: 0 0 35px #0009;
}

.shaft-floor>span {
  color: #8d959d;
}

.elevator-pin:after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 35%,transparent 20%,#06070b85 100%);
  pointer-events: none;
  z-index: 1;
}

.elevator-label {
  background: #151215dc;
  border-left: 2px solid #a5adad;
  padding: 22px;
  box-shadow: 0 18px 40px #0003;
}

.elevator-label h2 {
  font-size: clamp(28px,3.2vw,52px);
}

.floor-display {
  background: #101115;
  border-color: #818b95;
  color: #f4f4f4;
  box-shadow: 0 -1px 0 #c3caca,0 -10px 30px #e7f3ff0a;
}

.floor-display output {
  color: #f4f4f4;
  text-shadow: 0 0 14px #ffffff35;
}

.floor-display span:last-child {
  font-family: var(--mono);
  font-size: 9px;
}

.lift-frame {
  border-color: #818b95;
  border-bottom-color: #31383f;
  background: #101115;
  box-shadow: 0 0 0 1px #c3caca60,0 10px 36px #000c,inset 0 0 25px #000;
}

.lift-door {
  background: linear-gradient(100deg,#929da7 0,#64717d 28%,#7d8995 49%,#53616c 75%,#323c46 100%);
  border-color: #a5adad;
  box-shadow: inset 4px 0 0 #acb6bf80,inset -2px 0 0 #0008;
}

.lift-door:after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,#fff0 0 2px,#ffffff05 2px 3px),linear-gradient(0deg,#05070a60,transparent 60%,#ffffff18);
  pointer-events: none;
}

.lift-door-right {
  background: linear-gradient(100deg,#586570,#84929e 35%,#5a6875 62%,#8b98a3 85%,#424e58);
}

.lift-sill {
  background: repeating-linear-gradient(0deg,#a5adad 0 2px,#343c45 2px 5px);
  box-shadow: 0 8px 18px #0008;
}

.cabin-back {
  background: linear-gradient(110deg,#474d56,#707780 48%,#343b44);
  border-color: #838b93;
  box-shadow: inset 0 20px 25px #0004;
}

.cabin-back>span {
  color: #f4f4f4;
  font-family: var(--mono);
}

.cabin-ceiling {
  background: linear-gradient(#a5adad,#fff 25%,#d6dfe7);
  box-shadow: 0 20px 40px #fff5;
}

.cabin-floor {
  background: repeating-linear-gradient(0deg,#717a83 0 1px,#282e36 1px 23px);
}

.cabin-side {
  background: linear-gradient(90deg,#252b33,#8e99a5);
}

.side-right {
  background: linear-gradient(90deg,#252b33,#6b7884);
}

.cabin-handrail {
  background: linear-gradient(#dce2e8,#4e5966);
  box-shadow: 0 9px 8px #0007;
}

.call-lift {
  position: absolute;
  inset: 56px 15px 18px;
  z-index: 3;
  background: none;
  border: 0;
  display: grid;
  place-items: center;
}

.call-lift span {
  padding: 13px 17px;
  background: #151215db;
  border: 1px solid #ffffff70;
  font: 11px var(--sans);
  box-shadow: 0 8px 20px #0003;
  transition: background .2s;
}

.call-lift:hover span {
  background: #F4F4F4;
  color: #151215;
}

.call-lift b {
  margin-left: 14px;
  font-weight: 400;
}

.lift-caption {
  z-index: 3;
  color: #c3caca;
  font-family: var(--mono);
}

.travel-progress {
  z-index: 3;
  background: #636b72;
}

.travel-progress span {
  background: #83DEDE;
}

/* The scanner is the only gate. Its state is readable without relying on color. */

.scanner-panel {
  position: absolute;
  left: calc(50% + clamp(130px,15.5vw,245px) + 3vw);
  top: 52%;
  transform: translateY(-40%);
  z-index: 4;
  width: 190px;
  padding: 18px;
  background: linear-gradient(130deg,#343a42,#1c2026);
  border: 1px solid #a5adad80;
  box-shadow: inset 1px 1px 0 #ffffff30,8px 12px 25px #0009;
  transition: border-color .3s, opacity .35s ease, visibility 0s;
}
.scanner-panel.is-departed { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s ease, visibility 0s .35s; }

.scanner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 9px;
  letter-spacing: .05em;
  color: #C3CACA;
}

.scanner-light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fb625b;
  box-shadow: 0 0 10px #ff4e4659,inset 0 1px 2px #fff8;
}

.scanner-display {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 18px 0 14px;
  background: #0b0d11;
  border: 1px solid #ffffff1c;
  color: #f4f4f4;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .06em;
}

.scanner-reader {
  width: 100%;
  min-height: 89px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 10px 12px;
  border: 1px solid #9aa5af6b;
  background: linear-gradient(#697581,#414c59);
  box-shadow: 0 3px 0 #0d1116;
  position: relative;
  text-align: left;
  font: 10px/1.4 var(--sans);
}

.scanner-reader:hover {
  border-color: var(--action-cyan);
  background: linear-gradient(#7a8590,#526171);
}

/* The card disappears behind the slot's front lip, never across its label. */
.scanner-mechanism {
  position: relative;
  display: block;
  width: 100%;
  height: 42px;
  flex: 0 0 100%;
}
.scanner-slot {
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: #06070b;
  border: 1px solid #11151a;
  box-shadow: 0 1px 0 #c3caca70, inset 0 2px 4px #000;
}
.scanner-slot::after {
  content: '';
  position: absolute;
  inset: auto -1px -2px;
  height: 3px;
  background: linear-gradient(#bec7ce,#424c55);
  z-index: 3;
}
.scanner-card-window {
  position: absolute;
  inset: -14px 12% 4px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}
.scanner-reader b {
  font-size: 15px;
  font-weight: 400;
}
.scanner-card {
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 36px;
  border: 1px solid #fff;
  border-radius: 2px;
  background: linear-gradient(90deg,#f4f4f4 70%,#151215 70% 80%,#c3caca 80%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}
.scanner-panel[data-state=scanning] .scanner-card {
  animation: insert-card .65s cubic-bezier(.4,0,.2,1) both;
}

.scanner-panel[data-state=unlocked] .scanner-light {
  background: #7cde9f;
  box-shadow: 0 0 12px #60dc8c60;
}

.scanner-panel[data-state=unlocked] {
  border-color: #a5adad80;
}

.scanner-panel[data-state=prompted] {
  border-color: #a5adad80;
}

.scanner-panel[data-state=prompted] .scanner-display {
  color: var(--action-cyan);
}

.scanner-panel .panel-note {
  font-size: 10px;
  color: #C3CACA;
  line-height: 1.65;
  min-height: 33px;
  margin: 16px 0 10px;
}

.scanner-help {
  font: 10px/1.5 var(--sans);
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 6px 0;
  min-height: 32px;
  color: #c3caca;
}

@keyframes insert-card {
  0% { opacity: 0; transform: translateY(-12px); }
  20% { opacity: 1; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(100%); }
}

html.card-gated .elevator,
html.boarding-gated .elevator {
  height: 100svh;
  min-height: 630px;
}

html.card-gated .travel-progress {
  display: none;
}

html.card-gated .lift-door {
  display: block;
}

html.card-gated .lift-door-left,
html.card-gated .lift-door-right {
  transform: none;
}

html:not(.motion-on) .call-lift {
  inset: 56px 15px 18px;
}

.orientation {
  background: radial-gradient(ellipse at 65% 0,#d2d7da,#a5adad 50%,#8b939a);
  color: #151215;
  box-shadow: inset 0 20px 0 #333940;
}

.orientation:before {
  background: #575f67;
  box-shadow: 8px 0 0 #d0d5d9;
}

.orientation-sign {
  border-color: #636d75;
}

.personnel-file {
  background: #e2e5e5;
  box-shadow: 4px 8px 4px #15121522,15px 20px 40px #1512152b;
}

.file-top {
  border-color: #8a939b;
}

.portrait-placeholder {
  background: linear-gradient(140deg,#6b747c,#363c45);
  box-shadow: inset 0 0 30px #0003;
}

.portrait-placeholder>span {
  background: #252a30;
  color: #f4f4f4;
}

.portrait-lines,
.portrait-lines:after {
  border-color: #8b98a3;
}

.portrait-lines:after {
  background: #8b98a3;
}

.rodney-copy .overline {
  color: #3d434a;
}

.rodney-copy {
  position: relative;
  min-width: 0;
  padding: clamp(24px,3vw,42px);
  background: #eff1f1;
  border: 0;
  box-shadow: 6px 8px 0 #66707824,0 18px 42px #15121516;
}

.rodney-copy::before {
  content: '';
  position: absolute;
  top: 72px;
  left: -13px;
  width: 24px;
  height: 24px;
  background: #eff1f1;
  border: 0;
  transform: rotate(45deg);
}

.rodney-copy h2 { font-size: clamp(32px,3.6vw,54px); }
.rodney-copy .dialogue p:last-child { margin-bottom: 0; }
.rodney-copy .card-response { margin: 22px 0 0; }

@media(max-width:700px) {
  .rodney-copy { padding: 24px; }
  .rodney-copy::before { top: -13px; left: 36px; transform: rotate(135deg); }
}

.dialogue {
  font-family: var(--sans);
  font-size: 14px;
}

.card-response,
.outline-button {
  border-color: #555d65;
}

.outline-button {
  font-family: var(--sans);
  font-size: 11px;
}

.outline-button:hover {
  background: #151215;
  color: #f4f4f4;
}

.containment {
  background: radial-gradient(ellipse at 50% 0,#2e333b,#101115 80%);
}

.containment-doorway {
  background: linear-gradient(#686f77,#3d434a);
  border-color: #21262c;
  box-shadow: 0 12px 0 #0b0d11;
}

.containment-doorway div {
  background: #c3caca;
  border-color: #242a30;
  box-shadow: 0 0 20px #c3caca18;
}

.record-dialog {
  background: #151215;
}

.record-dialog::backdrop {
  background: #08090eea;
}

.record-imaging {
  background: radial-gradient(ellipse at top,#3d434a,#191b20);
}

.record-band {
  color: #151215;
}

/* Quiet inventory overlay: one selected credential, with room for future finds. */

.inventory-dialog {
  width: min(1050px,calc(100% - 40px));
  max-height: 88svh;
  background: linear-gradient(115deg,#111318f7,#1c2027f5);
  color: #f4f4f4;
  border: 1px solid #89949f69;
  padding: 32px 40px;
  overflow: auto;
  box-shadow: 0 24px 90px #0008;
}

.inventory-dialog::backdrop {
  background: #090b10dc;
}

.inventory-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #ffffff26;
  padding-bottom: 20px;
  font-size: 11px;
  letter-spacing: .08em;
}

.inventory-top p {
  margin: 0;
}

.inventory-top p span {
  color: #a5adad;
}

.inventory-top button {
  background: none;
  border: 0;
  font: 12px var(--sans);
  padding: 10px;
}

.inventory-top kbd {
  border: 1px solid #c3caca;
  padding: 3px 4px;
  margin-left: 10px;
  font-size: 10px;
}

.inventory-dialog h2 {
  font-size: 42px;
  letter-spacing: -.045em;
  margin: 28px 0 36px;
}

.inventory-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  min-height: 275px;
}

.inventory-label {
  font-size: 10px;
  letter-spacing: .12em;
  color: #c3caca;
  margin: 0 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.inventory-label>span {
  color: #89939d;
}

.inventory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.inventory-item,
.empty-grid {
  height: 115px;
  border: 1px solid #ffffff1a;
  background: repeating-linear-gradient(130deg,#ffffff00 0 3px,#ffffff04 3px 4px);
  position: relative;
}

.inventory-item {
  background: #f4f4f4;
  color: #151215;
  display: grid;
  place-items: center;
}

.inventory-item.empty {
  background: repeating-linear-gradient(130deg,#ffffff00 0 3px,#ffffff04 3px 4px);
  cursor: default;
  color: #67717d;
}

.inventory-card-art {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 10px;
  text-align: left;
  font-family: var(--mono);
}

.inventory-card-art img {
  grid-row: 1/3;
}

.inventory-card-art b {
  font-size: 10px;
  align-self: end;
}

.inventory-card-art small {
  font-size: 9px;
  align-self: start;
  margin-top: 5px;
}

.inventory-item.empty .inventory-card-art,
.inventory-item.empty .item-selected {
  display: none;
}

.inventory-item:not(.empty) .empty-slot {
  display: none;
}

.item-selected {
  position: absolute;
  right: 9px;
  top: 3px;
  font-size: 16px;
}

.inventory-details h3 {
  font-size: 28px;
  letter-spacing: -.04em;
  line-height: 1.2;
  margin: 0 0 16px;
}

.inventory-details>p:not(.inventory-label) {
  font-size: 13px;
  color: #a5adad;
  line-height: 1.8;
  max-width: 40ch;
}

.inventory-details dl {
  margin: 25px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  border-top: 1px solid #ffffff29;
}

.inventory-details dl>div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #ffffff18;
}

.inventory-details dt {
  color: #a5adad;
}

.inventory-details dd {
  margin: 0;
  text-align: right;
}

.inventory-details .outline-button {
  background: #f4f4f4;
  color: #151215;
  width: 100%;
  margin-top: 24px;
  border: 0;
}

.inventory-details .outline-button:hover {
  background: #c3caca;
}

.inventory-foot {
  margin: 40px 0 0;
  border-top: 1px solid #ffffff26;
  padding-top: 18px;
  font-size: 9px;
  letter-spacing: .1em;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #a5adad;
}

.pickup-toast {
  position: fixed;
  right: 3vw;
  top: 100px;
  z-index: 101;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f4f4f4;
  color: #151215;
  box-shadow: 0 12px 40px #0006;
  padding: 18px 26px;
  border-left: 3px solid #83DEDE;
  pointer-events: none;
  animation: pickup-notice 4s ease both;
}

@keyframes pickup-notice {
  0%, 100% { opacity: 0; }
  4.5%, 95% { opacity: 1; }
}

html:not(.motion-on) .pickup-toast { animation: none; }

@media(prefers-reduced-motion:reduce) {
  .pickup-toast { animation: none; }
}

.pickup-toast .card-icon {
  color: #3d434a;
}

.pickup-toast small {
  font-size: 9px;
  letter-spacing: .12em;
  color: #3d434a;
  display: block;
}

.pickup-toast b {
  font-size: 14px;
  font-weight: 400;
}

.noscript-note {
  padding: 24px;
  background: #3d434a;
}

@media(min-width:1500px) {
  .scanner-panel {
    width: 210px;
  }
}

@media(max-width:1050px) {
  .scanner-panel {
    left: calc(63% + 3vw);
    width: 165px;
    padding: 16px;
  }

  .elevator-label {
    padding: 16px;
    max-width: 190px;
  }

  .elevator-label h2 {
    font-size: 30px;
  }

  .inventory-layout {
    gap: 35px;
  }

  .inventory-dialog {
    padding: 28px;
  }

  .inventory-card-art {
    grid-template-columns: 32px 1fr;
  }

  .inventory-card-art img {
    width: 32px;
    height: 32px;
  }

  .inventory-card-art b {
    font-size: 9px;
  }
}

@media(max-width:700px) {
  .wayfinding {
    padding: 14px 16px;
    gap: 8px;
  }

  .brand-slot {
    padding: 3px 9px 3px 3px;
    gap: 7px;
    font-size: 9px;
  }

  .brand-slot img {
    width: 36px;
    height: 36px;
  }

  .brand-slot small {
    font-size: 7px;
    letter-spacing: .18em;
    margin-top: 3px;
  }

  .menu-toggle,
  .inventory-toggle {
    min-height: 44px;
  }

  .inventory-toggle {
    gap: 8px;
    padding: 9px 11px;
  }

  .inventory-word {
    display: none;
  }

  .inventory-toggle .card-icon {
    width: 16px;
    height: 22px;
  }

  .inventory-toggle>span:last-child {
    font-size: 10px;
  }

  .header-controls {
    gap: 7px;
  }

  .menu-toggle {
    min-width: 44px;
    padding: 12px;
  }

  .lobby-intro h1 {
    font-size: 44px;
  }

  .lobby-caption {
    padding: 17px 20px;
  }

  .lobby-world {
    width: 190%;
    left: -45%;
  }

  .card-print {
    font-size: 9px;
  }

  .keycard {
    width: 119px;
  }

  .keycard-mark {
    width: 28px;
    height: 28px;
  }

  .desk-interaction {
    top: 55%;
    left: 14%;
  }

  .elevator-label {
    top: 100px;
    left: 20px;
    background: none;
    box-shadow: none;
    border: 0;
    padding: 0;
    max-width: none;
  }

  .elevator-label h2 {
    font-size: 32px;
  }

  .lift-assembly {
    width: 55%;
    left: 32%;
    top: 56%;
    height: 56svh;
    min-height: 330px;
  }

  .floor-display {
    padding: 0 7px;
    gap: 6px;
  }

  .floor-display span:last-child {
    font-size: 8px;
  }

  .floor-display span:first-child {
    font-size: 16px;
  }

  .floor-display output {
    min-width: 26px;
    font-size: 19px;
  }

  .scanner-panel {
    left: auto;
    right: 4%;
    width: 32%;
    top: 56%;
    padding: 12px;
    transform: translateY(-32%);
  }

  .scanner-head {
    font-size: 8px;
    gap: 5px;
  }

  .scanner-light {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
  }

  .scanner-display {
    font-size: 11px;
    letter-spacing: 0;
    padding: 8px;
    min-height: 50px;
    margin: 14px 0;
  }

  .scanner-reader {
    padding: 14px 8px 10px;
    font-size: 10px;
    gap: 8px;
    min-height: 93px;
  }

  .scanner-reader b {
    font-size: 14px;
  }

  .scanner-panel .panel-note {
    font-size: 10px;
    margin: 14px 0 6px;
    min-height: 45px;
  }

  .scanner-help {
    font-size: 10px;
    min-height: 44px;
  }

  .call-lift span {
    font-size: 10px;
    padding: 12px 9px;
  }

  .call-lift b {
    margin-left: 4px;
  }

  .lift-caption {
    font-size: 8px;
    padding: 0 16px;
    bottom: 44px;
  }

  .orientation:before {
    box-shadow: 4px 0 0 #d0d5d9;
  }

  .personnel-file {
    box-shadow: 5px 8px 15px #15121535;
  }

  .dialogue {
    font-size: 13px;
  }

  .inventory-dialog {
    width: calc(100% - 24px);
    padding: 20px;
    max-height: 88svh;
  }

  .inventory-top {
    font-size: 9px;
    letter-spacing: 0;
    padding-bottom: 10px;
  }

  .inventory-top p span {
    display: none;
  }

  .inventory-top button {
    font-size: 11px;
    padding: 10px 0;
  }

  .inventory-top kbd {
    font-size: 9px;
    margin-left: 7px;
  }

  .inventory-dialog h2 {
    font-size: 32px;
    margin: 22px 0 26px;
  }

  .inventory-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .inventory-grid {
    grid-template-columns: repeat(4,1fr);
    gap: 4px;
  }

  .inventory-item,
  .empty-grid {
    height: 75px;
  }

  .inventory-card-art {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  .inventory-card-art img {
    width: 26px;
    height: 26px;
    margin: 0 auto;
    grid-row: auto;
  }

  .inventory-card-art b {
    font-size: 7px;
    margin-top: 5px;
  }

  .inventory-card-art small {
    display: none;
  }

  .item-selected {
    font-size: 10px;
    right: 4px;
    top: 0;
  }

  .inventory-label {
    font-size: 9px;
    margin-bottom: 12px;
  }

  .inventory-details h3 {
    font-size: 25px;
  }

  .inventory-details>p:not(.inventory-label) {
    font-size: 12px;
  }

  .inventory-details dl {
    margin-top: 18px;
  }

  .inventory-foot {
    font-size: 8px;
    flex-direction: column;
    gap: 6px;
    margin-top: 25px;
    padding-top: 16px;
  }

  .pickup-toast {
    top: 77px;
    right: 16px;
    padding: 14px 20px;
  }

  .pickup-toast b {
    font-size: 12px;
  }

  html.card-gated .elevator,
  html.boarding-gated .elevator {
    min-height: 650px;
  }
}

@media(max-height:650px) and (min-width:701px) {
  .pinned {
    min-height: 540px;
  }

  .lift-assembly {
    height: 72svh;
    min-height: 370px;
  }

  .scanner-panel {
    top: 42%;
    transform: translateY(-20%);
  }

  .elevator-label {
    top: 105px;
  }

  html.card-gated .elevator,
  html.boarding-gated .elevator {
    min-height: 540px;
  }
}

html:not(.motion-on) .lobby-world {
  transform: none;
}

html:not(.motion-on) .scanner-card {
  animation: none;
}

html:not(.motion-on) .keycard,
html:not(.motion-on) .scanner-panel {
  transition: none;
}

html:not(.motion-on) .lobby-intro {
  border-left-color: #a5adad;
}

@media(max-width:700px) {
  .collection-title h2 {
    font-size: clamp(36px,12.55vw,49px);
  }
}

/* Keep the directory usable in landscape and when text is enlarged. */
.route-menu {
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.route-menu a[href^="#"],
.route-menu a[href^="#"]:hover { position: relative; padding-left: 14px; }
.route-menu a[aria-current="location"]::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 4px;
  background: var(--action-cyan);
}


/* Shared action placement and button treatment. */
:root { --action-cyan: #00ffff; --action-inset: clamp(20px,3vw,56px); }
.action-button,
.call-lift span {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding: 13px 18px;
  border: 1px solid var(--action-cyan);
  background: var(--action-cyan);
  color: #101419;
  font: 400 12px/1.4 var(--sans);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  transition: background .2s, border-color .2s;
}
.action-button:hover,
.call-lift:hover span { background: #b3ffff; border-color: #b3ffff; color: #101419; }
.action-button--secondary { background: #15191e; color: #83dede; border-color: #83dede80; }
.inventory-details .action-button { background: var(--action-cyan); border-color: var(--action-cyan); color: #101419; }
.inventory-details .action-button:hover { background: #b3ffff; border-color: #b3ffff; }
.action-button:focus-visible { outline-color: #fff; outline-offset: 4px; }
.lobby-intro,
.lobby-caption {
  inset: auto var(--action-inset) var(--action-inset) auto;
  width: min(420px,calc(100% - 2 * var(--action-inset)));
  max-width: none;
  padding: clamp(20px,2.5vw,32px);
  transform: none;
}
.lobby-intro .overline { margin-bottom: 18px; }
.lobby-intro h1 { font-size: clamp(38px,3.6vw,62px); }
.lobby-intro .action-button,
.lobby-caption .action-button { width: 100%; margin-top: 12px; }
.desk-interaction { transform: translate(-50%,-100%); }
.call-lift,
html:not(.motion-on) .call-lift {
  inset: auto var(--action-inset) var(--action-inset) auto;
  display: block;
  padding: 0;
  min-height: 44px;
  z-index: 4;
}
.scanner-panel {
  inset: auto var(--action-inset) calc(var(--action-inset) + 70px) auto;
  transform: none;
}
.scanner-help.action-button { font-size: 10px; gap: 6px; padding: 10px; width: 100%; }
.scanner-reader { --cue-inset: -4px; border: 4px solid var(--action-cyan); padding-top: 8px; }
.scanner-panel .panel-note:empty { display: none; }
.scanner-reader #scannerAction,
.scanner-reader > b { color: var(--action-cyan); }
.elevator .scene-coordinate { right: auto; left: var(--action-inset); }
.rodney-copy .action-button { display: flex; width: fit-content; margin-left: auto; margin-top: 32px; }
.collection-tools { display: grid; justify-items: end; gap: 14px; }
.collection-tools .action-button { font-size: 11px; }
#copyLinkStatus { font: 10px/1.4 var(--mono); color: var(--muted); }
#copyLinkStatus:empty { display: none; }

/* With motion off, one readable panel replaces the two overlapping scenes. */
html:not(.motion-on) .lobby-intro {
  display: block;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
html:not(.motion-on) .lobby-caption { opacity: 1; }
html:not(.motion-on) .lobby-intro h1 { display: block; }
@media(max-width:700px) {
  :root { --action-inset: 20px; }
  .reception-desk { transform: translate(140px,-80px); }
  .lobby-intro,
  .lobby-caption { width: min(360px,calc(100% - 40px)); padding: 22px; }
  .lobby-intro h1 { font-size: clamp(36px,10vw,44px); }
  .scanner-panel { right: 4%; width: 34%; bottom: 86px; padding: 10px; }
  .scanner-reader { padding: 8px; gap: 8px; }
  .scanner-help.action-button { padding: 9px 6px; font-size: 9px; }
  .call-lift,
  html:not(.motion-on) .call-lift { right: 4%; bottom: 24px; }
  .lift-caption { max-width: 60%; text-align: left; left: 0; bottom: 54px; }
  .collection-tools { align-self: end; }
}
@media(max-height:650px) and (min-width:701px) {
  .lobby-intro, .lobby-caption { padding: 20px; width: 340px; }
  .scanner-panel { bottom: 82px; padding: 12px; }
  .scanner-display { margin: 10px 0; min-height: 40px; }
  .scanner-panel .panel-note { margin: 10px 0 6px; }
}
@media(max-width:360px) {
  .keycard { width: 105px; gap: 8px; }
  .keycard-mark { width: 24px; height: 24px; }
  .card-print { font-size: 8px; }
}

/* Three portrait columns on desktop, two on smaller screens. */
.containment-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 28px 18px;
}
.gallery-object { min-width: 0; }
.object-cell {
  width: 100%;
  min-width: 0;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fg);
  text-align: left;
}
.object-window {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid #58616c;
  padding: 0;
  background: radial-gradient(ellipse at 50% 0,#30353b,#111419 75%);
  box-shadow: inset 0 0 0 5px #1c2026,inset 0 12px 26px #0006,0 1px 0 #ffffff12;
  transition: border-color .2s,background .2s,box-shadow .2s;
}
.object-window img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  box-shadow: 0 4px 16px #0005;
}
.cell-corners {
  position: absolute;
  inset: 7px;
  pointer-events: none;
  background:
    linear-gradient(#a5adad,#a5adad) left top / 10px 1px no-repeat,
    linear-gradient(#a5adad,#a5adad) left top / 1px 10px no-repeat,
    linear-gradient(#a5adad,#a5adad) right top / 10px 1px no-repeat,
    linear-gradient(#a5adad,#a5adad) right top / 1px 10px no-repeat,
    linear-gradient(#a5adad,#a5adad) left bottom / 10px 1px no-repeat,
    linear-gradient(#a5adad,#a5adad) left bottom / 1px 10px no-repeat,
    linear-gradient(#a5adad,#a5adad) right bottom / 10px 1px no-repeat,
    linear-gradient(#a5adad,#a5adad) right bottom / 1px 10px no-repeat;
  opacity: .55;
}
.object-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 13px 2px 0;
  font: 11px/1.4 var(--mono);
}
.object-id { color: #f4f4f4; letter-spacing: .1em; }
.object-status { color: #a5adad; font-size: 9px; }
.object-status > span { padding-left: 5px; color: #83dede; }
.object-cell:hover .object-window,
.object-cell:focus-visible .object-window { border-color: var(--action-cyan); box-shadow: 0 0 14px #00ffff24; }
.object-window::after { content: ''; position: absolute; inset: -1px; border: 7px solid var(--action-cyan); opacity: 0; pointer-events: none; transition: opacity .18s; }
.object-cell:hover .object-window::after,
.object-cell:focus-visible .object-window::after { opacity: 1; }
.object-cell:hover .object-id,
.object-cell:focus-visible .object-id { color: var(--action-cyan); }
.object-cell:focus-visible { outline: 2px solid var(--action-cyan); outline-offset: 5px; }
.object-pending { display: grid; justify-items: center; gap: 18px; font-family: var(--mono); }
.pending-brackets {
  padding: 5px 15px;
  border-inline: 1px solid #66717c;
  color: #c3caca;
  font-size: clamp(14px,2.2vw,26px);
  letter-spacing: .1em;
}
.object-pending small { color: #89939d; font-size: 10px; }
.collection-copy { margin-bottom: 32px; }
.collection-tools .action-button--secondary { background: #15191e; color: #83dede; }
.collection-tools .action-button--secondary:hover { background: #b3ffff; color: #101419; }
.record-dialog { width: min(1440px,calc(100% - 40px)); max-width: none; height: calc(100dvh - 40px); max-height: calc(100dvh - 40px); border-color: #6a7580; --photo-padding: 8px; overflow: hidden; }
.record-dialog[open], .record-dialog.is-measuring:not([open]) { display: grid; grid-template-rows: auto minmax(0,1fr) auto auto; }
.record-dialog.is-measuring:not([open]) { visibility: hidden; pointer-events: none; position: fixed; top: 0; left: -10000px; }
.record-band { background: #252b32; color: #f4f4f4; border-bottom: 1px solid #56616c; }
.record-imaging { height: auto; min-height: 0; padding: 0; overflow: hidden; }
.record-band { padding: 5px 12px; gap: 12px; }
.record-toolbar, .record-zoom { display: flex; align-items: center; gap: 6px; }
.record-zoom input {
  -webkit-appearance: none;
  appearance: none;
  width: clamp(60px,8vw,110px);
  height: 44px;
  margin: 0 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  /* Track ends and fill follow the diamond's centre, including at either limit. */
  background-color: transparent;
  background-image: linear-gradient(var(--action-cyan),var(--action-cyan)), linear-gradient(#89949f,#89949f);
  background-repeat: no-repeat;
  background-position: 7px center, center;
  background-size: calc((100% - 14px) * var(--zoom-progress,0)) 7px, calc(100% - 14px) 3px;
  box-shadow: none;
  cursor: pointer;
}
.record-zoom input:focus-visible { outline: 2px solid var(--action-cyan); outline-offset: 3px; }
.record-zoom input::-webkit-slider-runnable-track { height: 3px; border: 0; border-radius: 0; background: transparent; }
.record-zoom input::-moz-range-track { height: 3px; border: 0; border-radius: 0; background: transparent; }
.record-zoom input::-moz-range-progress { height: 3px; border: 0; border-radius: 0; background: transparent; }
.record-zoom input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5.5px;
  border: 0;
  border-radius: 0;
  background: var(--action-cyan);
  box-shadow: none;
  transform: rotate(45deg);
}
.record-zoom input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 0;
  background: var(--action-cyan);
  box-shadow: none;
  transform: rotate(45deg);
}
.record-band .zoom-step { min-width: 36px; min-height: 36px; padding: 4px; font: 20px var(--sans); border-color: #89949f55; }
.record-band .zoom-step:disabled { opacity: .3; cursor: default; }
.record-band #closeRecord { min-height: 40px; padding: 6px 12px; }
.record-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.record-carousel::-webkit-scrollbar { display: none; }
.record-carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.record-carousel.is-zoomed { overflow-x: hidden; touch-action: none; }
.record-carousel.is-panning { cursor: grabbing; }
.record-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: var(--photo-padding);
  display: grid;
  place-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}
.record-slide img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; user-select: none; }
.record-photo-state { position: absolute; color: var(--muted); font: 11px var(--mono); letter-spacing: .08em; }
.record-slide[data-state="loaded"] .record-photo-state,
.record-slide[data-state="preview"] .record-photo-state { display: none; }
.record-imaging > #recordImagePending { inset: 0; display: grid; place-items: center; }
.record-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #89949f80;
  background: #0d1117e8;
  color: #f4f4f4;
  font: 24px var(--sans);
}
.record-arrow--previous { left: 14px; }
.record-arrow--next { right: 14px; }
.record-arrow:hover:not([aria-disabled="true"]) { background: #83dede; border-color: #83dede; color: #11151b; }
.record-arrow[aria-disabled="true"] { opacity: .25; cursor: default; }
.record-navigation {
  display: grid;
  min-height: 44px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 2px 20px;
  border-bottom: 1px solid #89949f36;
  background: #111419;
}
.record-gesture, .record-counter { color: #aab3bc; font: 10px var(--mono); }
.record-counter { justify-self: end; white-space: nowrap; }
.record-diamonds { display: flex; justify-content: center; }
.record-diamond { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; }
.record-diamond::before { content: ''; width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid #89949f; background: transparent; }
.record-diamond[aria-pressed="true"]::before { border-color: #83dede; background: #83dede; }
.record-diamond:hover::before { border-color: #c9ffff; }
.mobile-gesture { display: none; }
.record-content { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; min-height: 40px; padding: 10px 18px; }
.record-content .overline { color: #83dede; margin: 0; font-size: 9px; }
.record-content h2 { margin: 0; font-size: 14px; }
.record-content #recordLog { margin: 0; font-size: 11px; }
.record-content > p:last-child { margin-bottom: 0; }
@media(max-width:700px) {
  .collection-wrap { padding-inline: 16px; }
  .containment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 7px; }
  .cell-corners { inset: 4px; opacity: .4; }
  .object-caption { padding-top: 9px; font-size: 10px; }
  .object-status { display: none; }
  .object-pending { gap: 10px; }
  .pending-brackets { padding: 3px 8px; font-size: 13px; }
  .object-pending small { font-size: 8px; }
  .record-dialog { width: calc(100% - 12px); height: calc(100dvh - 12px); max-height: calc(100dvh - 12px); --photo-padding: 4px; }
  .record-band { padding: 4px 8px; gap: 6px; }
  .record-toolbar, .record-zoom { gap: 2px; }
  .record-band .zoom-step { min-width: 32px; min-height: 44px; border: 0; }
  .record-band #closeRecord { min-height: 44px; padding: 6px 8px; }
  .record-arrow { display: none; }
  .record-navigation { grid-template-columns: 1fr auto; padding: 0 10px; gap: 0; }
  .record-diamonds { grid-column: 1; grid-row: 1; }
  .record-gesture { display: none; }
  .record-counter { grid-column: 2; grid-row: 1; }
  .desktop-gesture { display: none; }
  .mobile-gesture { display: inline; }
  .record-content { min-height: 50px; padding: 8px 12px; gap: 3px 10px; }
  .record-content #recordLog { flex-basis: 100%; font-size: 10px; }
}
html:not(.motion-on) .object-window { transition: none; }

/* The return link stays separate from the mark's entrance shortcut. */
.brand-navigation { display: flex; align-items: center; gap: 8px; min-width: 0; }
.portfolio-back { display: grid; place-items: center; width: 44px; height: 54px; flex: none; background: #151215eb; border: 1px solid #ffffff29; color: #f4f4f4; font: 24px var(--sans); }
.portfolio-back:hover { color: #83dede; border-color: #83dede; }
.lift-cabin { z-index: 0; }
.lift-door { z-index: 1; }
.lift-actions { position: absolute; z-index: 2; top: 48%; left: 17%; right: 17%; transform: translateY(-50%); display: flex; justify-content: center; }
.lift-actions .action-button { width: 100%; max-width: 200px; justify-content: space-between; gap: 8px; padding: 12px 10px; box-shadow: 0 5px 18px #0004; }
.ride-skip { position: absolute; z-index: 5; right: var(--action-inset); bottom: 24px; min-height: 44px; padding: 12px 4px 12px 18px; border: 0; background: transparent; color: #c3caca; font: 11px var(--mono); }
.ride-skip:hover { color: #83dede; }
.ride-skip span { margin-left: 12px; }
.scanner-panel[data-state="unlocked"] .scanner-reader { cursor: default; border-color: #89949f; color: #aab3bc; }
.scanner-panel[data-state="unlocked"] #scannerAction { color: #c3caca; }
.scanner-panel[data-state="unlocked"] .scanner-reader > b { display: none; }
@media(max-width:700px) {
  .brand-navigation { gap: 5px; }
  .portfolio-back { height: 44px; }
  .ride-skip { right: 4%; }
}
@media(max-width:360px) {
  .brand-slot > span { display: none; }
  .brand-slot { padding: 3px; }
}

/* Personnel headshot: keep the full shirt, tie and mosaic in view. */
.personnel-portrait { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: contain; margin: 14px 0; }
