:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --paper-deep: #e9e4d8;
  --ink: #20221f;
  --ink-soft: #5c6159;
  --line: rgba(32, 34, 31, .16);
  --accent: #a34e35;
  --accent-dark: #6f392b;
  --display: "Manrope", "Avenir Next", Arial, sans-serif;
  --body: "DM Sans", "Avenir Next", Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.25,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
button, a, input { font: inherit; }
a { color: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, canvas:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-160%); background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; padding: 0 clamp(22px, 5.3vw, 84px); border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--accent); color: var(--paper); font: 800 15px/1 var(--display); }
.brand-name { display: inline-flex; align-items: baseline; gap: 4px; font: 800 13px/1 var(--display); letter-spacing: .08em; }
.brand-name span { color: var(--accent); font-size: 11px; letter-spacing: .1em; }
.brand-demo { padding: 4px 6px; border: 1px solid var(--line); color: var(--ink-soft); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 3.4vw, 52px); }
.menu-toggle { display: none; }
.main-nav a, .header-cta { text-decoration: none; font-size: 11px; font-weight: 600; transition: color .18s ease; }
.main-nav a { color: var(--ink-soft); }
.main-nav a:hover, .header-cta:hover { color: var(--accent); }
.header-cta { justify-self: end; padding-bottom: 5px; border-bottom: 1px solid var(--accent); }
.header-cta span { margin-left: 8px; color: var(--accent); }
.story-journey { position: relative; height: 300svh; isolation: isolate; }
.story-sticky { position: sticky; z-index: 1; top: 0; display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); align-items: center; gap: clamp(28px,5vw,76px); height: calc(100svh - 78px); min-height: 540px; padding: clamp(22px,4vw,64px) clamp(22px,5.3vw,84px); overflow: hidden; }
.story-copy { position: relative; z-index: 2; max-width: 420px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--accent); }
.story-count { margin: 0 0 10px; color: var(--accent); font: 700 10px var(--display); letter-spacing: .13em; }
.story-count span { color: #92958b; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.055em; }
h1 { margin-bottom: 18px; font-size: clamp(42px,5.25vw,72px); line-height: .99; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.story-lede { max-width: 365px; margin-bottom: 18px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.story-instruction { max-width: 340px; margin: 0 0 18px; color: #797d73; font-size: 10px; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 13px; padding: 0 0 6px; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 11px; font-weight: 700; transition: gap .2s var(--ease), color .2s ease; }
.text-link:hover { gap: 19px; color: var(--accent); }
.fiction-label { display: flex; align-items: center; gap: 8px; margin: 25px 0 0; color: var(--accent-dark); font-size: 9px; font-weight: 600; }
.story-visual { display: grid; grid-template-rows: minmax(0,1fr) auto; align-self: stretch; gap: 13px; min-width: 0; min-height: 0; padding: 18px 0; }
.viewer-shell { position: relative; isolation: isolate; min-width: 0; min-height: 300px; overflow: hidden; background: #d9d7c8; box-shadow: 0 24px 70px rgba(32,34,31,.12); }
.viewer-shell::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,rgba(243,240,232,.04),rgba(35,35,32,.08)); content: ""; pointer-events: none; }
.viewer-shell[data-solar="dawn"] { background: linear-gradient(180deg,#596779 0%,#c88969 58%,#d4bc94 100%); }
.viewer-shell[data-solar="day"] { background: linear-gradient(180deg,#9bbbc4 0%,#e1d8c3 63%,#b6b99d 100%); }
.viewer-shell[data-solar="dusk"] { background: linear-gradient(180deg,#69576b 0%,#d07d55 55%,#e0bd83 100%); }
.viewer-shell[data-solar="night"] { background: linear-gradient(180deg,#232b3a 0%,#465060 62%,#6f7067 100%); }
#plaza-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: pan-y pinch-zoom; opacity: 0; transition: opacity .55s var(--ease); }
.viewer-shell[data-state="ready"] #plaza-canvas { opacity: 1; }
.viewer-poster { position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: 1; transition: opacity .55s var(--ease), visibility .55s; }
.viewer-shell[data-state="ready"] .viewer-poster { visibility: hidden; opacity: 0; pointer-events: none; }
.viewer-poster img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.poster-shade { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(25,29,27,.4),transparent 40%); }
.poster-caption { position: absolute; left: 19px; bottom: 16px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .14em; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #d1a47b; }
.viewer-loading { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; gap: 14px; background: rgba(31,35,32,.42); color: #fff; font-size: 11px; text-align: center; backdrop-filter: blur(3px); }
.viewer-loading[hidden], .viewer-message[hidden], .viewer-hotspots[hidden], .viewer-tools[hidden], .cutaway-overlay[hidden] { display: none; }
.loading-line { display: block; width: min(220px,50vw); height: 2px; background: linear-gradient(90deg,#d7c4a0 0 55%,rgba(255,255,255,.22) 55%); animation: loading 1.1s ease-in-out infinite alternate; }
@keyframes loading { from { transform: scaleX(.68); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.viewer-message { position: absolute; z-index: 4; inset: 0; display: grid; place-content: center; gap: 12px; padding: 24px; background: rgba(243,240,232,.96); text-align: center; }
.viewer-message strong { font: 700 16px var(--display); }
.viewer-message p { max-width: 420px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.6; }
.viewer-message button { justify-self: center; padding: 9px 14px; border: 1px solid var(--ink); background: transparent; font-size: 10px; cursor: pointer; }
.viewer-badge { position: absolute; z-index: 2; top: 14px; right: 14px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.38); background: rgba(30,34,31,.52); color: white; font-size: 7px; font-weight: 700; letter-spacing: .14em; backdrop-filter: blur(8px); }
.viewer-badge span:first-child { color: #e3c49c; }
.viewer-hotspots { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.map-pin { position: absolute; display: grid; width: 32px; height: 32px; place-items: center; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.92); border-radius: 50%; background: var(--accent); color: white; box-shadow: 0 0 0 5px rgba(163,78,53,.2); font-size: 8px; pointer-events: auto; cursor: pointer; }
.pin-one { top: 43%; left: 58%; }.pin-two { top: 58%; left: 74%; }.pin-three { top: 35%; left: 39%; }
.viewer-tools { position: absolute; z-index: 3; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 4px; padding: 4px; background: rgba(28,31,29,.78); color: white; backdrop-filter: blur(9px); }
.viewer-shell:not([data-stage="orbit"]) .viewer-tools { display: none; }
.viewer-shell[data-stage="cutaway"] .viewer-hotspots { display: none; }
.viewer-tools button { pointer-events: auto; display: grid; width: 33px; height: 32px; place-items: center; border: 1px solid transparent; background: transparent; color: white; font-size: 16px; cursor: pointer; }
.viewer-tools button:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.13); }
.orbit-hint { padding: 0 8px; color: rgba(255,255,255,.85); font-size: 8px; }
.cutaway-overlay { position: absolute; z-index: 3; right: 14px; bottom: 58px; left: 14px; display: grid; gap: 8px; padding: 11px; border: 1px solid rgba(255,255,255,.68); background: rgba(243,240,232,.95); box-shadow: 0 12px 32px rgba(20,24,22,.2); transition: opacity .3s ease, transform .3s ease; }
.viewer-shell[data-stage="cutaway"] .cutaway-overlay { opacity: 1; transform: translateY(0); }
.viewer-shell:not([data-stage="cutaway"]) .cutaway-overlay { opacity: 0; transform: translateY(8px); pointer-events: none; }
.cutaway-heading { display: flex; justify-content: space-between; gap: 9px; color: var(--accent-dark); font-size: 7px; font-weight: 700; letter-spacing: .1em; }
.cutaway-units { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.cutaway-unit { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 48px; padding: 6px; border: 1px solid rgba(32,34,31,.15); background: #fffefa; }
.cutaway-unit.is-available { border: 1px dashed var(--accent); background: #f8e9e0; }
.cutaway-unit.is-targeted { outline: 2px solid var(--accent); outline-offset: 1px; }
.mock-logo { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--accent); color: white; font: 700 12px var(--display); }
.cutaway-unit strong, .cutaway-unit small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cutaway-unit strong { font: 700 8px var(--display); }
.cutaway-unit small { margin-top: 4px; color: #6a6f66; font-size: 6px; letter-spacing: .06em; }
.cutaway-overlay > p { margin: 0; color: #666b62; font-size: 7px; line-height: 1.45; }
.visual-footer { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; }
.light-control { min-width: 0; }
.light-label-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.light-label-row label { font-size: 9px; font-weight: 700; }
.light-label-row output { color: var(--accent); font-size: 9px; font-weight: 700; }
input[type="range"] { display: block; width: 100%; height: 4px; accent-color: var(--accent); cursor: pointer; }
.time-ends { display: flex; justify-content: space-between; margin-top: 6px; color: #777b73; font-size: 7px; }
.tour-state { max-width: 145px; margin: 0; color: var(--ink-soft); font-size: 8px; line-height: 1.45; text-align: right; }
.story-track { position: absolute; z-index: 0; inset: 0; display: grid; grid-template-rows: repeat(3,100svh); pointer-events: none; }
.story-step { min-height: 100svh; }
.noscript-note { position: absolute; bottom: 8px; left: 24px; z-index: 5; padding: 8px; background: var(--paper); font-size: 10px; }
.services-section { display: grid; grid-template-columns: 70px minmax(250px,1fr) auto; align-items: center; gap: 36px; min-height: 290px; padding: 65px clamp(22px,5.3vw,84px); border-top: 1px solid var(--line); }
.services-mark { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: 600 25px var(--display); }
.services-copy .eyebrow { margin-bottom: 14px; }
.services-copy h2 { max-width: 600px; margin: 0; font-size: clamp(26px,3vw,38px); line-height: 1.08; }
.services-copy > p:last-child { max-width: 500px; margin: 14px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.65; }
.services-actions { display: grid; gap: 12px; justify-items: start; }
.button-primary, .button-secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 43px; padding: 0 14px; text-decoration: none; font-size: 9px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button-secondary { min-height: 30px; padding: 0 0 4px; border-bottom: 1px solid var(--line); }
.button-secondary:hover { color: var(--accent); }
.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; min-height: 72px; padding: 0 clamp(22px,5.3vw,84px); border-top: 1px solid var(--line); color: var(--ink-soft); }
.site-footer p { margin: 0; text-align: center; font-size: 8px; }
.site-footer > a:last-child { justify-self: end; font-size: 8px; text-decoration: none; }
.brand-footer .brand-mark { width: 24px; height: 24px; font-size: 11px; }
.brand-footer .brand-name { font-size: 9px; }
.brand-footer .brand-name span { font-size: 8px; }
@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .site-header { grid-template-columns: 1fr auto auto; min-height: 68px; padding-inline: 18px; }
  .brand-demo { display: none; }
  .menu-toggle { display: grid; gap: 5px; width: 36px; height: 36px; align-content: center; justify-items: center; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 14px; height: 1px; background: var(--ink); transition: transform .18s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .main-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; padding: 9px 18px 15px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .main-nav.is-open { display: grid; gap: 0; }
  .main-nav a { padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 9px; }
  .main-nav a:last-child { border-bottom: 0; }
  .header-cta { grid-column: 3; grid-row: 1; margin-left: 10px; font-size: 8px; white-space: nowrap; }
  .story-sticky { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 12px; height: calc(100svh - 68px); min-height: 560px; padding: 14px 18px 17px; }
  .story-copy { align-self: center; }
  .eyebrow { margin-bottom: 12px; font-size: 7px; }
  .story-count { margin-bottom: 7px; font-size: 8px; }
  h1 { margin-bottom: 12px; font-size: clamp(31px,7vw,45px); }
  .story-lede { margin-bottom: 11px; font-size: 10px; line-height: 1.5; }
  .story-instruction { margin-bottom: 11px; font-size: 8px; }
  .text-link { gap: 8px; font-size: 9px; }
  .fiction-label { margin-top: 17px; font-size: 7px; }
  .story-visual { gap: 10px; padding-block: 8px; }
  .viewer-shell { min-height: 390px; }
  .viewer-badge { top: 9px; right: 9px; gap: 5px; padding: 6px 7px; font-size: 6px; }
  .viewer-tools { right: 8px; bottom: 8px; left: 8px; justify-content: center; gap: 1px; }
  .viewer-tools button { width: 29px; height: 29px; }
  .orbit-hint { display: none; }
  .cutaway-overlay { right: 8px; bottom: 48px; left: 8px; gap: 6px; padding: 7px; }
  .cutaway-heading { font-size: 6px; }
  .cutaway-unit { min-height: 42px; gap: 4px; padding: 4px; }
  .mock-logo { flex-basis: 18px; width: 18px; height: 18px; font-size: 10px; }
  .cutaway-unit strong { font-size: 7px; }
  .cutaway-unit small { font-size: 5px; }
  .cutaway-overlay > p { font-size: 6px; }
  .visual-footer { grid-template-columns: 1fr; gap: 6px; }
  .light-label-row { margin-bottom: 6px; }
  .light-label-row label, .light-label-row output { font-size: 8px; }
  .time-ends { margin-top: 4px; font-size: 6px; }
  .tour-state { max-width: none; font-size: 7px; text-align: left; }
  .services-section { grid-template-columns: 40px 1fr; gap: 18px 12px; min-height: 0; padding: 58px 20px 62px; }
  .services-mark { width: 38px; height: 38px; font-size: 18px; }
  .services-copy h2 { font-size: 27px; }
  .services-actions { grid-column: 2; }
  .site-footer { grid-template-columns: 1fr auto; gap: 8px; padding: 15px 18px; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}
@media (max-width: 500px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .header-cta { grid-column: 3; grid-row: 1; margin-right: 0; }
  .story-journey { height: 300svh; }
  .story-sticky { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px; height: calc(100svh - 68px); min-height: 600px; padding: 14px 16px 12px; }
  .story-copy { flex: 0 0 auto; max-width: 100%; }
  .eyebrow { margin-bottom: 7px; }
  .story-count { display: none; }
  h1 { margin-bottom: 6px; font-size: clamp(28px,8.7vw,39px); }
  .story-lede { max-width: 390px; margin-bottom: 5px; font-size: 9px; line-height: 1.4; }
  .story-instruction { display: none; }
  .text-link { font-size: 8px; }
  .fiction-label { position: absolute; top: 2px; right: 0; margin: 0; font-size: 6px; }
  .story-visual { flex: 1 1 auto; grid-template-rows: minmax(0,1fr) auto; gap: 7px; padding: 0; }
  .viewer-shell { min-height: 0; }
  .visual-footer { gap: 5px; }
  .light-label-row { margin-bottom: 5px; }
  .light-label-row label, .light-label-row output { font-size: 7px; }
  .tour-state { display: none; }
  .cutaway-overlay { bottom: 43px; }
  .cutaway-unit { min-height: 39px; }
  .cutaway-unit strong { font-size: 6px; }
  .cutaway-heading { font-size: 5px; }
  .cutaway-overlay > p { font-size: 5px; }
  .services-section { padding-inline: 16px; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 11px; }
  .brand-name span { font-size: 9px; }
  .story-sticky { padding-inline: 12px; }
  .cutaway-unit small { letter-spacing: 0; }
  .viewer-tools button { width: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Fullbleed composition: the transparent canvas and the page share one atmosphere. */
.story-journey { background: #07182f; transition: background-color .8s ease; }
.site-header { position: absolute; z-index: 10; top: 0; right: 0; left: 0; background: transparent; border: 0; }
.story-sticky { display: block; height: 100svh; padding: 0; overflow: clip; isolation: isolate; }
.story-sticky::before { position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg,rgba(3,11,24,.7) 0%,rgba(3,11,24,.48) 21%,rgba(3,11,24,.16) 39%,transparent 64%),linear-gradient(0deg,rgba(3,11,24,.28),transparent 24%); content: ""; pointer-events: none; }
.story-copy { position: absolute; z-index: 4; top: 19%; left: clamp(28px,7vw,112px); width: min(38vw,450px); max-width: 450px; pointer-events: auto; }
.story-copy h1, .story-copy p { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.56); }
.story-copy h1 em { color: #ffc287; }
.story-copy .eyebrow, .story-copy .story-count, .story-copy .fiction-label { color: #fff; }
.story-copy .eyebrow-dot { background: #ffc287; }
.story-copy .story-count span { color: rgba(255,255,255,.7); }
.story-copy .story-lede, .story-copy .story-instruction { color: rgba(255,255,255,.88); }
.story-copy .text-link { color: #fff; border-color: rgba(255,255,255,.8); }
.story-visual { position: absolute; z-index: 3; inset: 0; display: block; min-width: 0; min-height: 0; padding: 0; pointer-events: none; }
.viewer-shell { position: absolute; inset: 0; z-index: 0; min-width: 0; min-height: 0; overflow: visible; background: transparent; box-shadow: none; pointer-events: none; }
.viewer-shell::after { content: none; }
#plaza-canvas { pointer-events: auto; }
.viewer-poster { position: absolute; inset: 0; z-index: 1; }
.viewer-poster img { object-position: center 50%; opacity: .24; mix-blend-mode: multiply; }
.poster-shade { background: linear-gradient(90deg,rgba(243,240,232,.82),rgba(243,240,232,.08) 65%),linear-gradient(0deg,rgba(32,34,31,.14),transparent 50%); }
.poster-caption { left: clamp(24px,7vw,100px); bottom: 8%; color: var(--ink-soft); text-shadow: none; }
.viewer-loading { background: rgba(243,240,232,.42); color: var(--ink); backdrop-filter: none; }
.viewer-badge { top: 8%; right: clamp(24px,7vw,100px); gap: 7px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 8px; letter-spacing: .13em; text-shadow: 0 1px 9px rgba(0,0,0,.55); backdrop-filter: none; }
.viewer-badge span:first-child { color: #ffc287; }
.viewer-hotspots { z-index: 3; }
.viewer-tools { z-index: 4; bottom: 6%; left: clamp(24px,7vw,100px); gap: 5px; padding: 0; background: transparent; backdrop-filter: none; }
.viewer-tools button { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; background: rgba(4,13,30,.42); color: #fff; box-shadow: none; }
.viewer-tools button:hover { border-color: #ffc287; background: rgba(4,13,30,.72); }
.orbit-hint { padding-left: 9px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.cutaway-overlay { right: clamp(24px,8vw,120px); bottom: 18%; left: auto; width: min(410px,40vw); gap: 10px; padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.cutaway-heading { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.72); }
.cutaway-units { gap: 8px; }
.cutaway-unit { min-height: 43px; padding: 6px 4px; border: 0; background: transparent; }
.cutaway-unit.is-available { border: 0; border-bottom: 1px solid var(--accent); background: transparent; }
.cutaway-unit.is-targeted { outline: 0; border-bottom: 2px solid var(--accent); }
.cutaway-unit strong, .cutaway-unit small { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.cutaway-overlay > p { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.visual-footer { position: absolute; z-index: 4; right: clamp(24px,7vw,100px); bottom: 6%; display: block; width: min(330px,30vw); pointer-events: auto; }
.light-control { padding: 0; background: transparent; }
.light-label-row label, .light-label-row output, .time-ends { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.72); }
.tour-state { max-width: none; margin-top: 8px; color: #fff; font-size: 8px; text-align: right; text-shadow: 0 1px 8px rgba(0,0,0,.72); }
.services-section { background: var(--paper); }
@media (max-width: 760px) {
  .story-sticky { height: 100svh; min-height: 560px; }
  .story-copy { top: 21%; left: 5vw; width: min(42vw,320px); }
  .story-sticky::before { background: linear-gradient(90deg,rgba(3,11,24,.67) 0%,rgba(3,11,24,.42) 28%,rgba(3,11,24,.08) 56%,transparent 78%),linear-gradient(0deg,rgba(3,11,24,.2),transparent 24%); }
  .viewer-badge { top: 8%; right: 5vw; }
  .viewer-tools { bottom: 5%; left: 5vw; }
  .visual-footer { right: 5vw; bottom: 4.5%; width: min(285px,36vw); }
  .cutaway-overlay { right: 5vw; bottom: 17%; width: min(350px,42vw); }
}
@media (max-width: 500px) {
  .story-sticky { height: 100svh; min-height: 600px; }
  .story-sticky::before { background: linear-gradient(180deg,rgba(3,11,24,.74) 0%,rgba(3,11,24,.52) 25%,rgba(3,11,24,.14) 44%,transparent 61%),linear-gradient(0deg,rgba(3,11,24,.2),transparent 25%); }
  .story-copy { top: 12%; left: 16px; width: calc(100% - 32px); max-width: 360px; }
  .story-copy h1 { max-width: 320px; font-size: clamp(31px,8.8vw,38px); }
  .story-lede { max-width: 330px; }
  .fiction-label { position: static; margin-top: 12px; }
  .viewer-poster img { opacity: .2; }
  .viewer-badge { top: 43%; right: 16px; }
  .poster-caption { left: 16px; bottom: 8%; }
  .viewer-tools { right: 16px; bottom: 5%; left: 16px; justify-content: flex-start; }
  .viewer-tools button { width: 31px; height: 31px; }
  .visual-footer { right: 16px; bottom: 5%; width: min(44vw,185px); }
  .light-label-row { display: grid; gap: 4px; margin-bottom: 5px; }
  .light-label-row output { font-size: 7px; }
  .tour-state { display: none; }
  .cutaway-overlay { right: 14px; bottom: 16%; left: 14px; width: auto; }
  .cutaway-units { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .cutaway-unit { gap: 4px; padding: 4px 2px; }
  .cutaway-unit strong { font-size: 6px; }
  .cutaway-unit small { font-size: 5px; }
  .cutaway-overlay > p { max-width: 300px; font-size: 5px; }
}
.cutaway-overlay { z-index: 5; pointer-events: auto; width: min(460px,44vw); gap: 9px; }
.cutaway-heading { display: grid; gap: 4px; font-size: 8px; letter-spacing: .08em; }
.cutaway-heading span:last-child { color: var(--ink-soft); font-size: 7px; letter-spacing: .01em; }
.stair-access { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; color: var(--ink); font-size: 7px; line-height: 1.3; }
.stair-access span { border-left: 2px solid var(--accent); padding-left: 5px; }
.cutaway-controls { display: grid; grid-template-columns: auto minmax(100px,1fr) auto; align-items: center; gap: 8px; pointer-events: auto; }
.floor-toggle { display: flex; gap: 3px; min-width: 0; }
.floor-toggle button, .opening-close { padding: 7px 8px; border: 1px solid rgba(32,34,31,.28); background: rgba(243,240,232,.72); color: var(--ink); font: inherit; font-size: 8px; cursor: pointer; }
.floor-toggle button { flex: 1; min-width: 0; white-space: nowrap; }
.floor-toggle button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: white; }
.opening-control { grid-column: 2; display: flex; justify-content: space-between; gap: 8px; font-size: 8px; }
#opening-progress { grid-column: 2; }
.opening-close { grid-column: 3; grid-row: 1 / span 2; }
.cutaway-units { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
.cutaway-unit { min-height: 36px; justify-content: flex-start; text-align: left; cursor: pointer; }
.cutaway-unit:focus-visible, .floor-toggle button:focus-visible, .opening-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cutaway-unit strong { font-size: 8px; }
.cutaway-unit small { font-size: 6px; }
.cutaway-overlay > p { font-size: 7px; }
.cutaway-unit:hover, .cutaway-unit:focus-visible { background: #fff; border-color: var(--accent); }
#cutaway-selection { min-height: 1.4em; }
@media (max-width: 760px) {
  .cutaway-overlay { right: 5vw; bottom: 17%; left: auto; width: min(440px,50vw); }
  .cutaway-controls { grid-template-columns: 1fr auto; gap: 6px; }
  .floor-toggle { grid-column: 1 / -1; }
  .opening-control, #opening-progress { grid-column: 1; }
  .opening-close { grid-column: 2; grid-row: 2 / span 2; }
}
@media (max-width: 500px) {
  .cutaway-overlay { right: 14px; bottom: 4%; left: 14px; width: auto; max-height: 46svh; overflow-y: auto; overscroll-behavior: auto; -webkit-overflow-scrolling: touch; gap: 7px; }
  .cutaway-heading { font-size: 7px; }
  .cutaway-heading span:last-child { font-size: 6px; }
  .floor-toggle button, .opening-close { padding: 6px 7px; font-size: 7px; }
  .stair-access { font-size: 6px; }
  .cutaway-units { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
  .cutaway-unit { min-height: 34px; gap: 5px; padding: 5px; }
  .mock-logo { flex-basis: 20px; width: 20px; height: 20px; font-size: 10px; }
  .cutaway-unit strong { font-size: 8px; }
  .cutaway-unit small { font-size: 6px; }
  .cutaway-overlay > p { max-width: 100%; font-size: 6px; }
  #cutaway-selection { line-height: 1.5; }
}
.story-journey[data-scene="cutaway"] .story-copy { top: 15%; }
.story-journey[data-scene="cutaway"] .story-copy h1 { max-width: 390px; font-size: clamp(42px,5vw,66px); }
@media (max-width: 760px) {
  .story-journey[data-scene="cutaway"] .story-copy { top: 12%; width: calc(100% - 32px); }
  .story-journey[data-scene="cutaway"] .story-copy h1 { max-width: 330px; font-size: clamp(30px,8vw,42px); }
}

/* V47 interaction pass: readable directory, projected unit marks, clear orbit cue. */
.viewer-shell[data-stage="cutaway"] .viewer-badge { z-index: 2; }
.story-journey[data-scene="cutaway"] .story-copy { top: 10%; left: clamp(28px,5vw,72px); width: min(28vw,350px); }
.story-journey[data-scene="cutaway"] .story-copy h1 { max-width: 340px; font-size: clamp(34px,4vw,54px); }
.story-journey[data-scene="cutaway"] .story-copy .story-lede { max-width: 310px; margin-bottom: 8px; font-size: 12px; }
.story-journey[data-scene="cutaway"] .story-copy .story-instruction { display: none; }
.cutaway-overlay {
  top: 16%; right: clamp(18px,3.2vw,54px); bottom: 10%; left: auto; display: grid;
  width: min(440px,36vw); max-height: 74svh; overflow-y: auto; overscroll-behavior: auto;
  gap: 14px; padding: 18px; border: 1px solid rgba(255,255,255,.72); border-radius: 3px;
  background: rgba(248,246,239,.97); color: #202820; box-shadow: 0 18px 48px rgba(7,14,18,.35);
  backdrop-filter: blur(14px);
}
.cutaway-heading { display: grid; gap: 5px; color: #713f2c; font-size: 11px; letter-spacing: .11em; }
.cutaway-heading-copy { display: grid; gap: 9px; }
.cutaway-heading span:last-child { color: #515a51; font-size: 10px; font-weight: 500; letter-spacing: 0; line-height: 1.45; }
.cutaway-controls { grid-template-columns: 1fr auto; gap: 9px 12px; }
.floor-toggle { grid-column: 1 / -1; gap: 5px; }
.floor-toggle button, .opening-close { min-height: 36px; padding: 8px 10px; border: 1px solid #c9c6bd; background: #fff; color: #232923; font-size: 11px; }
.floor-toggle button[aria-pressed="true"] { border-color: #8d432d; background: #8d432d; color: white; }
.opening-control { align-self: center; color: #313b33; font-size: 11px; }
#opening-progress { align-self: center; }
.opening-close { border-color: #272c26; background: #272c26; color: white; }
.stair-access { gap: 8px; font-size: 10px; }
.stair-access span { padding: 5px 0 5px 9px; border-left-width: 3px; }
.cutaway-units { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.cutaway-unit {
  display: grid; grid-template-columns: 34px minmax(0,1fr); min-height: 64px; gap: 8px; padding: 9px;
  border: 1px solid #d9d8ce; border-radius: 2px; background: #fffefa; text-align: left; cursor: pointer;
}
.cutaway-unit.is-available { border-style: solid; border-color: #8e6540; background: #fbf3e7; }
.cutaway-unit.is-targeted, .cutaway-unit[aria-pressed="true"] { outline: 2px solid #8d432d; outline-offset: 1px; }
.mock-logo { display: grid; width: 32px; height: 32px; flex: none; place-items: center; border-radius: 0; background: transparent; color: #fff; }
.mock-logo svg { display: block; width: 32px; height: 32px; }
.cutaway-unit strong, .cutaway-unit small { white-space: normal; }
.cutaway-unit strong { color: #1f2821; font-size: 12px; line-height: 1.2; }
.cutaway-unit small { margin-top: 5px; color: #4d5a4d; font-size: 10px; letter-spacing: .01em; line-height: 1.25; }
.cutaway-overlay > p { margin: 0; padding-top: 10px; border-top: 1px solid #d8d8ce; color: #303a31; font-size: 10px; line-height: 1.5; }
.cutaway-overlay > #cutaway-selection { position: sticky; bottom: -12px; z-index: 1; background: #f8f6ef; }
.tenant-markers { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.tenant-markers[hidden] { display: none; }
.tenant-marker {
  position: absolute; display: grid; width: 44px; height: 44px; place-items: center; padding: 4px;
  transform: translate(-50%,calc(-50% + var(--floor-offset,0px))); border: 2px solid white; border-radius: 50%;
  background: rgba(30,39,33,.9); color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.28);
  cursor: pointer; pointer-events: auto; transition: transform .16s ease, box-shadow .16s ease;
}
.tenant-marker.is-available { background: #f3e5c9; color: #262d25; border-color: #fff; }
.tenant-marker:hover, .tenant-marker:focus-visible, .tenant-marker[aria-pressed="true"] { z-index: 5; transform: translate(-50%,calc(-50% + var(--floor-offset,0px))) scale(1.15); box-shadow: 0 0 0 4px rgba(245,190,122,.85),0 4px 16px rgba(0,0,0,.34); }
.tenant-marker svg { width: 30px; height: 30px; }
.tenant-marker.is-available svg { width: 24px; height: 24px; }
.viewer-tools button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.orbit-cue {
  position: absolute; z-index: 4; left: clamp(24px,5vw,72px); bottom: 12%; display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border: 1px solid rgba(255,255,255,.48); border-radius: 3px;
  background: rgba(16,28,30,.72); color: white; box-shadow: 0 8px 24px rgba(0,0,0,.2); backdrop-filter: blur(8px);
  pointer-events: none;
}
.orbit-cue[hidden] { display: none; }
.orbit-cue svg { width: 28px; height: 28px; fill: none; stroke: #f4bf88; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; animation: hand-nudge 1.8s ease-in-out infinite; }
.orbit-cue span { display: grid; gap: 3px; }
.orbit-cue strong { font-size: 12px; }
.orbit-cue small { color: rgba(255,255,255,.83); font-size: 10px; }
@keyframes hand-nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.story-journey[data-scene="orbit"] .story-copy { top: 13%; width: min(31vw,380px); }
.story-journey[data-scene="orbit"] .story-copy h1 { font-size: clamp(37px,4.5vw,60px); }
.story-journey[data-scene="cutaway"] .visual-footer { right: auto; bottom: 8%; left: clamp(28px,5vw,72px); width: min(290px,27vw); }
@media (max-width: 760px) {
  .story-journey[data-scene="cutaway"] .story-copy { top: 8%; left: 5vw; width: min(35vw,270px); }
  .story-journey[data-scene="cutaway"] .story-copy h1 { font-size: clamp(28px,6vw,36px); }
  .cutaway-overlay { top: 11%; right: 4vw; bottom: 9%; width: min(385px,48vw); max-height: 80svh; gap: 11px; padding: 13px; }
  .cutaway-unit { min-height: 58px; padding: 7px; }
  .cutaway-unit strong { font-size: 11px; }
  .cutaway-unit small { font-size: 9px; }
  .tenant-marker { width: 40px; height: 40px; }
  .orbit-cue { left: 5vw; bottom: 14%; }
  .story-journey[data-scene="cutaway"] .visual-footer { top: 29%; right: auto; bottom: auto; left: 5vw; width: min(230px,30vw); }
}
@media (max-width: 900px) and (orientation: portrait) {
  .cutaway-overlay { top: auto; right: 12px; bottom: 12px; left: 12px; width: auto; max-height: 45svh; padding: 12px; }
  .story-journey[data-scene="cutaway"] .visual-footer { top: 25%; right: 16px; bottom: auto; left: 16px; width: auto; }
}
/* Keep the floor progression scroll-led; the local 01/02/03 hotspot labels remain separate. */
.story-journey[data-scene="cutaway"] .story-copy .text-link { display: none; }
@media (max-width: 500px) {
  .story-journey[data-scene="cutaway"] .story-copy { top: 13%; left: 16px; width: calc(100% - 32px); }
  .story-journey[data-scene="cutaway"] .story-copy h1 { max-width: 280px; font-size: clamp(27px,7vw,34px); }
  .story-journey[data-scene="cutaway"] .story-copy .story-lede { max-width: 310px; font-size: 11px; }
  .cutaway-overlay { top: auto; right: 12px; bottom: 12px; left: 12px; width: auto; max-height: 45svh; gap: 10px; padding: 12px; }
  .cutaway-heading { font-size: 10px; }
  .cutaway-heading span:last-child { font-size: 9px; }
  .cutaway-controls { gap: 7px; }
  .floor-toggle { gap: 4px; }
  .floor-toggle button, .opening-close { min-height: 34px; padding: 7px 6px; font-size: 10px; }
  .stair-access { font-size: 9px; }
  .cutaway-units { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .cutaway-unit { grid-template-columns: 30px minmax(0,1fr); min-height: 56px; gap: 6px; padding: 6px; }
  .mock-logo, .mock-logo svg { width: 28px; height: 28px; }
  .cutaway-unit strong { font-size: 10px; }
  .cutaway-unit small { margin-top: 3px; font-size: 8px; }
  .cutaway-overlay > p { font-size: 9px; }
  .tenant-marker { width: 34px; height: 34px; padding: 2px; }
  .tenant-marker svg { width: 25px; height: 25px; }
  .orbit-cue { left: 16px; bottom: 13%; gap: 9px; padding: 9px 11px; }
  .orbit-cue svg { width: 24px; height: 24px; }
  .orbit-cue strong { font-size: 11px; }
  .orbit-cue small { font-size: 9px; }
  .story-journey[data-scene="cutaway"] .visual-footer { top: 25%; right: 16px; left: 16px; width: auto; }
  .story-journey[data-scene="cutaway"] .light-label-row label, .story-journey[data-scene="cutaway"] .light-label-row output { font-size: 10px; }
  .story-journey[data-scene="cutaway"] .time-ends { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-cue svg { animation: none; }
  .tenant-marker, .orbit-cue { transition: none; }
}
.site-header {
  position: fixed; z-index: 10; min-height: 70px; border-bottom: 1px solid rgba(255,255,255,.18);
  background: rgba(7,20,28,.43); backdrop-filter: blur(12px);
}
.site-header .brand-name, .site-header .main-nav a, .site-header .header-cta { color: #fff; }
.site-header .brand-name span { color: #f2bd8a; }
.site-header .header-cta { border-color: rgba(255,255,255,.72); }
.site-header .header-cta span { color: #f2bd8a; }
@media (max-width: 760px) {
  .site-header .main-nav { background: #f3f0e8; border-bottom-color: #c9c4b7; }
  .site-header .main-nav a { color: #26312a; }
  .site-header .menu-toggle { border-color: rgba(255,255,255,.42); }
  .site-header .menu-toggle span { background: #fff; }
  .site-header .menu-toggle[aria-expanded="true"] span { background: #26312a; }
}
.viewer-message { pointer-events: auto; }
@media (max-width: 900px) and (orientation: portrait) {
  .story-sticky { position: sticky; top: 0; }
  .story-journey[data-scene="cutaway"] .story-copy { top: calc(70px + 3svh); }
  .story-journey[data-scene="cutaway"] .visual-footer {
    position: fixed; top: auto; right: 16px; bottom: calc(env(safe-area-inset-bottom) + 47svh + 64px);
    left: 16px; width: auto; z-index: 11;
  }
  .light-control { padding: 8px 12px; border: 1px solid rgba(255,255,255,.26); border-radius: 3px; background: rgba(20,31,37,.64); backdrop-filter: blur(8px); }
  .story-journey[data-scene="cutaway"] .visual-footer {
    pointer-events: auto;
  }
  .cutaway-overlay { max-height: 47svh; overflow-y: auto; scroll-padding-block: 12px; }
}
@media (max-width: 500px) and (orientation: portrait) {
  .story-journey[data-scene="cutaway"] .story-copy { top: calc(70px + 2svh); }
  .story-journey[data-scene="cutaway"] .visual-footer { bottom: calc(env(safe-area-inset-bottom) + 47svh + 62px); }
  .cutaway-overlay { max-height: min(47svh, 440px); padding-bottom: 14px; }
  .cutaway-unit strong { font-size: 10px; }
  .cutaway-unit small { font-size: 9px; }
}
.story-journey { height: 440svh; }
.story-track { grid-template-rows: repeat(4,100svh) 40svh; }


/* Mobile portrait release hotfix: keep the model dominant and reveal the directory on demand. */
#cutaway-directory { display: grid; gap: 14px; min-height: 0; }
#cutaway-selection { margin: 0; padding-top: 10px; border-top: 1px solid #d8d8ce; color: #303a31; font-size: 10px; line-height: 1.5; }
#cutaway-selection[aria-live] { position: sticky; bottom: -12px; z-index: 1; background: #f8f6ef; }
.directory-toggle, #light-toggle { display: none; }
.light-label-row button { font: inherit; }
@media (max-width: 900px) and (orientation: portrait) {
  .story-journey[data-scene="cutaway"] .story-copy {
    top: calc(env(safe-area-inset-top, 0px) + 78px); right: auto; left: 14px; width: min(58vw, 258px); max-width: 258px;
    max-height: 29dvh; overflow: hidden;
  }
  .story-journey[data-scene="cutaway"] .story-copy .eyebrow { margin-bottom: 7px; font-size: 9px; }
  .story-journey[data-scene="cutaway"] .story-copy .story-count { margin-bottom: 5px; font-size: 9px; }
  .story-journey[data-scene="cutaway"] .story-copy h1 { max-width: 240px; margin-bottom: 8px; font-size: clamp(26px,6.8vw,32px); line-height: 1; }
  .story-journey[data-scene="cutaway"] .story-copy .story-lede { max-width: 245px; margin: 0; font-size: 12px; line-height: 1.35; }
  .story-journey[data-scene="cutaway"] .story-copy .fiction-label,
  .story-journey[data-scene="cutaway"] .story-copy .story-instruction,
  .story-journey[data-scene="cutaway"] .story-copy .text-link { display: none; }
  .story-journey[data-scene="cutaway"] .cutaway-overlay {
    top: auto; right: 10px; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); left: 10px; width: auto;
    max-height: min(42dvh, 380px); overflow-y: auto; overscroll-behavior: auto; -webkit-overflow-scrolling: touch;
    gap: 9px; padding: 10px; border: 1px solid rgba(255,255,255,.72); border-radius: 14px;
    background: rgba(248,246,239,.97); color: #202820; box-shadow: 0 10px 28px rgba(7,14,18,.32); backdrop-filter: blur(12px);
    touch-action: pan-y pinch-zoom;
  }
  .cutaway-overlay[data-directory-open="false"] { max-height: none; overflow: visible; }
  .cutaway-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; color: #713f2c; text-shadow: none; }
  .cutaway-heading-copy { display: grid; gap: 4px; min-width: 0; }
  .cutaway-heading-copy > span:first-child { font-size: 12px; letter-spacing: .06em; }
  .cutaway-heading-copy > span:last-child { overflow: hidden; color: #515a51; font-size: 12px; line-height: 1.2; text-overflow: ellipsis; }
  .cutaway-overlay[data-directory-open="false"] #conceptual-caption { display: none; }
  .directory-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 38px; padding: 0 10px; border: 1px solid #8d432d; border-radius: 999px; background: #fffefa; color: #713f2c; font-size: 12px; font-weight: 700; cursor: pointer; }
  .cutaway-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 8px; }
  .floor-toggle { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .floor-toggle button { min-width: 0; min-height: 38px; padding: 5px 3px; border-radius: 6px; font-size: 12px; line-height: 1.1; white-space: normal; }
  .opening-control { grid-column: 1; align-self: center; font-size: 12px; }
  #opening-progress { grid-column: 1; min-height: 24px; }
  .opening-close { grid-column: 2; grid-row: 2 / span 2; align-self: center; min-height: 38px; padding: 6px 9px; border-radius: 6px; font-size: 12px; }
  .cutaway-overlay[data-directory-open="false"] #cutaway-directory,
  .cutaway-overlay[data-directory-open="false"] .opening-control,
  .cutaway-overlay[data-directory-open="false"] #opening-progress { display: none; }
  .cutaway-overlay[data-directory-open="false"] .opening-close { grid-row: 2; align-self: start; }
  #cutaway-directory { gap: 8px; }
  #cutaway-directory .stair-access { gap: 6px; font-size: 12px; }
  #cutaway-directory .cutaway-units { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; max-height: min(18dvh, 165px); overflow-y: auto; overscroll-behavior: auto; }
  #cutaway-directory .cutaway-unit { grid-template-columns: 28px minmax(0,1fr); min-height: 48px; gap: 6px; padding: 6px; }
  #cutaway-directory .mock-logo, #cutaway-directory .mock-logo svg { width: 25px; height: 25px; }
  #cutaway-directory .cutaway-unit strong { font-size: 12px; }
  #cutaway-directory .cutaway-unit small { margin-top: 3px; font-size: 12px; letter-spacing: 0; }
  #cutaway-selection { padding-top: 7px; font-size: 12px; }
  .story-journey[data-scene="cutaway"] .visual-footer {
    position: fixed; z-index: 9; top: auto; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 170px); left: auto; width: auto; max-width: calc(100vw - 24px);
    pointer-events: auto;
  }
  .light-control { padding: 7px 10px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; background: rgba(20,31,37,.72); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.18); backdrop-filter: blur(9px); }
  .light-label-row { display: flex; align-items: center; gap: 8px; margin: 0; }
  .light-label-row label { font-size: 12px; }
  .light-label-row output { font-size: 12px; white-space: nowrap; }
  #light-toggle { display: inline-grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 15px; cursor: pointer; }
  .light-details { width: min(230px, 60vw); padding-top: 8px; }
  .light-details .time-ends { color: rgba(255,255,255,.86); font-size: 12px; }
  .viewer-badge { font-size: 12px; }
  .story-journey[data-scene="cutaway"]:has(.cutaway-overlay[data-directory-open="true"]) .visual-footer { top: calc(env(safe-area-inset-top, 0px) + 78px); right: 12px; bottom: auto; left: auto; }
  .story-journey[data-scene="cutaway"]:has(.cutaway-overlay[data-directory-open="true"]) .light-label-row label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tour-state { display: none; }
}
@media (max-width: 500px) and (orientation: portrait) {
  .story-journey[data-scene="cutaway"] .story-copy { top: calc(env(safe-area-inset-top, 0px) + 76px); left: 12px; width: min(58vw, 235px); }
  .story-journey[data-scene="cutaway"] .story-copy h1 { max-width: 225px; font-size: clamp(25px,6.7vw,30px); }
  .story-journey[data-scene="cutaway"] .story-copy .story-lede { max-width: 220px; font-size: 12px; }
  .cutaway-overlay[data-directory-open="false"] { padding: 9px; }
  .floor-toggle button { font-size: 12px; }
  .opening-close { padding-inline: 8px; }
  .story-journey[data-scene="cutaway"] .visual-footer { right: 10px; bottom: calc(env(safe-area-inset-bottom, 0px) + 170px); }
}
@media (max-height: 700px) and (orientation: portrait) {
  .story-journey[data-scene="cutaway"] .story-copy { top: calc(env(safe-area-inset-top, 0px) + 72px); max-height: 24dvh; }
  .story-journey[data-scene="cutaway"] .story-copy .story-lede { font-size: 12px; }
  .story-journey[data-scene="cutaway"] .visual-footer { bottom: calc(env(safe-area-inset-bottom, 0px) + 166px); }
  .story-journey[data-scene="cutaway"] .cutaway-overlay { max-height: min(46dvh, 330px); }
}

/* Compact floor control follows the PB → P1 scroll sequence without moving the camera. */
.cutaway-controls { grid-template-columns: 58px minmax(0,1fr) auto; }
.floor-toggle {
  grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; align-self: stretch;
  justify-content: center; gap: 4px; width: 58px; touch-action: pan-y pinch-zoom; user-select: none;
}
.floor-toggle-label { color: #596257; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-align: center; }
.floor-toggle button {
  display: grid; min-height: 42px; place-items: center; padding: 4px; border-radius: 8px;
  font-size: 13px; font-weight: 700; touch-action: pan-y pinch-zoom; transition: background-color 160ms ease-out, color 160ms ease-out, transform 160ms ease-out;
}
.floor-toggle button:active { transform: scale(.97); }
.opening-control, #opening-progress { grid-column: 2; }
.opening-close { grid-column: 3; grid-row: 1 / span 2; }
.floor-toggle button:focus-visible { outline: 2px solid #8d432d; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .floor-toggle button { transition: none; }
}
@media (max-width: 900px) and (orientation: portrait) {
  .cutaway-controls { grid-template-columns: 50px minmax(0,1fr) auto; }
  .floor-toggle { grid-column: 1; grid-row: 1 / span 2; width: 50px; }
  .floor-toggle-label { font-size: 8px; }
  .floor-toggle button { min-height: 40px; font-size: 12px; }
  .opening-control, #opening-progress { grid-column: 2; }
  .opening-close { grid-column: 3; grid-row: 1 / span 2; }
}

/* Local framing proposal: give the model the central portrait space. */
@media (max-width: 900px) and (orientation: portrait) {
  .viewer-badge { top: calc(var(--plaza-frame-top, 310px) - 26px); right: 16px; }
}
@media (max-width: 600px) and (orientation: portrait) {
  .story-journey[data-scene="orbit"] .story-copy { top: calc(env(safe-area-inset-top, 0px) + 80px); width: calc(100% - 32px); max-width: none; }
  .story-journey[data-scene="orbit"] .story-copy h1 { max-width: none; font-size: clamp(30px, 8.2vw, 36px); }
  .story-journey[data-scene="cutaway"] .story-copy { width: calc(100% - 28px); max-width: none; max-height: none; }
  .story-journey[data-scene="cutaway"] .story-copy h1 { max-width: none; font-size: clamp(24px, 6.4vw, 28px); line-height: 1.06; }
  .story-journey[data-scene="cutaway"] .story-copy h1 br { display: none; }
  .story-journey[data-scene="cutaway"] .story-copy h1 em { margin-left: .18em; }
  .story-journey[data-scene="cutaway"] .story-copy .story-lede { max-width: none; }
}

/* Local wide-frame proposal: keep a complete model beside the copy/panel. */
.viewer-badge { top: calc(var(--plaza-frame-top, 310px) - 26px); right: var(--plaza-frame-right, 16px); }
@media (max-width: 900px) and (orientation: portrait) {
  .story-journey[data-scene="orbit"] .story-copy { top: calc(env(safe-area-inset-top, 0px) + 80px); width: calc(100% - 32px); max-width: 560px; }
  .story-journey[data-scene="orbit"] .story-copy h1 { max-width: none; font-size: clamp(30px, 5.4vw, 44px); }
}
@media (max-width: 900px) and (orientation: landscape) {
  .story-sticky { min-height: 0; }
  .story-journey[data-scene="orbit"] .story-copy { top: 78px; width: min(38vw, 310px); }
  .story-journey[data-scene="orbit"] .story-copy h1 { font-size: 24px; max-width: none; }
  .story-journey[data-scene="cutaway"] .story-copy { top: 78px; left: 14px; width: calc(55vw - 28px); max-width: none; max-height: none; }
  .story-journey[data-scene="cutaway"] .story-copy h1 { max-width: none; font-size: 24px; line-height: 1.06; }
  .story-journey[data-scene="cutaway"] .story-copy h1 br { display: none; }
  .story-journey[data-scene="cutaway"] .story-copy h1 em { margin-left: .18em; }
  .story-journey[data-scene="cutaway"] .story-copy .story-lede { max-width: none; font-size: 12px; }
  .story-journey[data-scene="cutaway"] .story-copy .story-instruction,
  .story-journey[data-scene="cutaway"] .story-copy .fiction-label { display: none; }
  #light-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: transparent; color: white; }
  .light-control { padding: 7px 10px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; background: rgba(20,31,37,.72); color: white; }
  .light-label-row { align-items: center; gap: 10px; margin-bottom: 0; }
}

@media (max-width: 900px) and (orientation: landscape) {
  .story-journey[data-scene="cutaway"] .visual-footer { position: absolute; top: auto; right: auto; bottom: 12px; left: 14px; width: auto; max-width: calc(55vw - 28px); }
}
