/* Scena zauzima jedan ekran; ispod nje je podnožje, do kojeg se dolazi skrolom. */
.gridel-experience{min-height:100vh;overflow-x:hidden;background:#2F2A4E}
.gridel-experience main{height:100vh;height:100svh}
.gridel-experience .topbar{position:absolute;inset:0 0 auto;z-index:9;height:68px;background:linear-gradient(#241a2ce6,#241a2c8c);border-color:#dbc2a734}
.gridel-experience .topbar nav{position:static;display:flex;width:auto;padding:0;background:none;gap:clamp(10px,2.6vw,39px);align-items:center}
.gridel-experience .topbar nav button{background:none;border:0;color:#f7eadc;min-height:44px;padding:4px 0}
.gridel-experience .topbar nav button:hover{color:var(--sand);text-decoration:underline;text-underline-offset:5px}
.gridel-experience .topbar nav button:last-child{color:var(--sand)}
.gridel-experience .hero{height:100%;min-height:0;padding:68px var(--edge) 125px;display:flex;align-items:center;overflow:hidden}
.gridel-experience .hero-heading{width:min(50vw,670px);max-width:none;pointer-events:auto}
.gridel-experience .hero-heading h1{font-size:clamp(52px,7vw,112px)}
.gridel-experience .hero-heading h1 br{display:initial}
.gridel-experience .hero-description{margin:17px 0 0;max-width:28ch}
.enter-project{display:inline-flex;align-items:center;gap:23px;min-height:47px;padding:4px 15px;margin-top:22px;background:#e5cbb0;border:0;color:#2b2130;font-weight:500}
.enter-project:hover,.next-decision:not(:disabled):hover{background:#f4deca}
.enter-project span,.next-decision span{margin-left:auto}
.gridel-experience .construction{position:absolute;inset:0;pointer-events:none}
.gridel-experience .render-window{position:absolute;height:auto;inset:0 0 0 21%;margin:0;pointer-events:auto;
 mask-image:linear-gradient(90deg,transparent,#000b 34%,#000 56%),linear-gradient(180deg,#0002,#000 17%,#000 73%,transparent 99%);mask-composite:intersect}
.gridel-experience .film-caption{top:84px;right:var(--edge);left:auto;text-align:right}
.gridel-experience .film-caption span:last-child{max-width:unset}
.gridel-experience .scene-controls{position:absolute;inset:auto var(--edge) 60px;background:linear-gradient(#2a1d2b20,#2a1d2bb0);margin:0;pointer-events:auto}
.gridel-experience .scene-chapters{display:none}
.gridel-experience #scene-position{margin-bottom:8px}
.gridel-experience .is-exploring .scene-controls{display:none}
.gridel-experience .is-exploring .hero-heading{visibility:hidden;opacity:0;transform:translateY(-10px)}
.gridel-experience .is-exploring .render-window .lb.tag,.gridel-experience .is-exploring .render-window .lb.pg{visibility:hidden}
.project-path{position:absolute;z-index:8;inset:auto var(--edge) 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #e9cdaa5c}
.project-path button{min-height:58px;position:relative;display:grid;align-content:center;justify-items:start;gap:1px;padding:7px 9px 8px;border:0;border-right:1px solid #e9cdaa29;color:#f7eadc;background:#271d2b95;text-align:left}
.project-path button:last-child{border-right:0}
.project-path button:hover{background:#4a3748be}
.project-path button[aria-pressed=true]{background:#503c4bc2;color:#ffead6}
.path-meter{position:absolute;inset:0 0 auto;height:2px;background:#e5c3a0;transform-origin:left;transform:scaleX(0);transition:transform .5s cubic-bezier(.23,.65,.24,1)}
.project-path button[aria-pressed=true] .path-meter{transform:scaleX(1)}
.project-path strong{font-size:clamp(13px,1.3vw,21px);font-weight:500}
.project-path small{color:#dcc3b1;font-size:clamp(9px,.9vw,13px)}
.journey-dock{position:absolute;z-index:4;inset:86px auto 78px var(--edge);width:min(40vw,530px);overflow:auto;overscroll-behavior:contain;padding:0 16px 5px 0;background:none;scrollbar-width:thin;scrollbar-color:#997866 transparent}
.journey-dock .desk{border:0;height:100%}
.journey-dock .desk-stage{padding:0;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:15px;max-width:460px}
.journey-dock .desk-note{padding-top:clamp(10px,3.2vh,41px)}
.journey-dock .desk-note h3{font-size:clamp(28px,3.7vw,56px);line-height:.98;margin:9px 0;letter-spacing:-.045em}
.journey-dock .desk-note .record-type{font-size:10px;margin-bottom:7px}
.journey-dock .desk-note>p:not(.record-type){font-size:14px;line-height:1.4}
.journey-dock .desk-note .desk-result{min-height:0;margin-top:6px}
.journey-dock .desk-visual{background:#271d2bb3;padding:10px 11px;min-height:0}
.journey-dock .desk-steps{margin:10px 0 4px}
.journey-dock .desk-steps button{min-height:36px}
.journey-dock .desk-input{margin-top:10px}
.journey-dock .desk-note input[type=range]{margin:4px 0}
.journey-dock #cage-view{height:clamp(105px,23vh,200px)}
.journey-dock .desk-gantt{margin:4px 0 7px}
.journey-dock .desk-gantt>div{min-height:22px}
.journey-dock .desk-axis{margin-top:8px}
.journey-dock .quantity-total{margin:7px 0}
.journey-dock .quantity-total strong{font-size:clamp(22px,3vw,37px)}
.journey-dock .quantity-key{margin:6px 0}
.next-decision{display:inline-flex;gap:17px;align-items:center;min-height:40px;margin-top:9px;padding:4px 9px;color:#2b2130;background:#e5cbb0;border:0;font-size:13px;font-weight:500}
.next-decision:disabled{opacity:.45;cursor:default}
@keyframes info-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:760px){
 .gridel-experience .topbar{height:56px;padding-inline:var(--edge)}
 .gridel-experience .topbar .brand{width:101px}
 .gridel-experience .topbar nav{gap:13px}
 .gridel-experience .topbar nav button{font-size:12px}
 .gridel-experience .hero{padding-top:73px;padding-bottom:117px;align-items:flex-start}
 .gridel-experience .hero-heading{width:100%;max-width:100%;margin:0}
 .gridel-experience .hero-heading h1{font-size:clamp(40px,11vw,67px);line-height:.92;margin-top:9px}
 .gridel-experience .hero-description{font-size:14px;margin-top:9px}
 .enter-project{min-height:38px;margin-top:10px;font-size:13px}
 .gridel-experience .hero .render-window{inset:28% 0 91px;height:auto;mask-image:linear-gradient(180deg,transparent,#000 21%,#000 76%,transparent 100%)}
 .gridel-experience .is-exploring .render-window{inset:51px 0 49%;height:auto;mask-image:linear-gradient(180deg,#0004,#000 18%,#000 76%,transparent)}
 .gridel-experience .scene-controls{inset:auto 13px 51px}
 .gridel-experience .film-caption{top:auto;bottom:124px;right:var(--edge);left:auto}
 .gridel-experience .is-exploring .film-caption{bottom:50%}
 .gridel-experience .film-caption span:last-child{font-size:10px}
 .gridel-experience .g3-kota{display:none}
 .project-path{inset:auto 0 0}
 .project-path button{min-height:50px;padding:6px 6px 8px}
 .project-path small{font-size:9px}
 .journey-dock{inset:49% var(--edge) 52px;width:auto;padding:2px 4px 6px 0}
 .journey-dock .desk-note{padding-top:0}
 .journey-dock .desk-stage{gap:8px}
 .journey-dock .desk-note h3{font-size:clamp(24px,7vw,35px);margin:4px 0}
 .journey-dock .desk-note>p:not(.record-type){font-size:12px}
 .journey-dock .desk-steps button{min-height:33px;font-size:11px}
 .journey-dock #cage-view{height:92px}
 .journey-dock .desk-note .record-type{font-size:9px;margin-bottom:3px}
 .journey-dock .desk-visual figcaption{padding-bottom:4px;font-size:9px}
 .journey-dock .desk-visual{padding:5px 8px}
 .journey-dock .quantity-total strong{font-size:27px}
 .journey-dock .desk-input{margin-top:5px}
}
@media(prefers-reduced-motion:reduce){.path-meter{transition:none;animation:none}}
