/* Towers -> floor (app.js, "towers -> floor (T1)"): the tower splits on the picked home's top line, the part above lifts away,
   the home's band glows, its model rises out of the cut. These are the move's own layers; every value they animate is set by
   Web Animations in app.js, so here they only rest hidden.
   While the move runs (#app.fe-run) the towers sit over the blurred city (#veil), so the gap opened by the lifted part, and
   then the whole tower as it dissolves, show the floor page's own city in the same light. They stay there, unseen, while the
   floor is open, so nothing about them is redrawn as the model lands; Back starts from that. */
#app.fe-run #tower { z-index: 16; background: none; }
#feCut { position: absolute; inset: 0; z-index: 17; pointer-events: none; overflow: hidden; }
#app:not(.fe-move) #feCut { display: none; }      /* only while the move runs: no idle layers left to draw */
/* No will-change on the copy of the towers (.fe-lift and its .fe-cam): the move's own animation gives it a layer, drawn no larger than
   the screen needs. With the hint the browser drew it at the screen's full pixel ratio (on a dense phone 3.75 times the picture's own
   detail), and all at once at the instant the tower splits. The two line layers (shade, glow) keep theirs: they are nearly empty */
.fe-cam { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fe-cam > img { position: absolute; display: block; pointer-events: none; }
.fe-cam > svg { position: absolute; left: 0; top: 0; overflow: visible; }
.fe-lift { position: absolute; inset: 0; visibility: hidden; will-change: opacity, filter; }
.fe-shade, .fe-glow { opacity: 0; will-change: transform, opacity; }
.fe-shade path { fill: none; stroke: #0b0c08; stroke-opacity: .7; }
.fe-glow .a { fill: rgba(255, 243, 222, .3); }
.fe-glow .e { fill: none; stroke: #FFF8EC; stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
/* the rising home's shadow, under it while it rides up; the model's own contact shadow takes over as it lands */
#feDrop { position: absolute; pointer-events: none; opacity: 0; border-radius: 50%; will-change: transform, opacity;
  background: radial-gradient(closest-side, rgba(6, 7, 4, .55), rgba(6, 7, 4, .26) 52%, rgba(6, 7, 4, 0)); }

/* landing: once the model has settled, the panel comes in, then the way back, then the level switch and the time switch;
   the room dots follow (app.js staggerHotspots) */
#app.fe-land #backToTower { transition-delay: .05s; }
#app.fe-land #levelCtl, #app.fe-land #planNote, #app.fe-land #tod { transition-delay: .1s; }
/* the panel comes and goes on the page's even curve, not the quick-out one: on a phone it is half the screen, and the quick-out
   curve shows most of it in the first frame */
#app.fe-land #panel { transition-timing-function: var(--ease); }
/* leaving: the panel goes as the model starts down (not in one jump), the room dots fade with it instead of vanishing */
#app.fe-run[data-view="leaving"] #panel { transition-duration: .3s; }
#app.phone.fe-run[data-view="leaving"] #panel { transition-duration: .4s; transition-timing-function: var(--ease); }
#app[data-view="leaving"] .hs { transition: opacity .15s, visibility 0s linear .15s; }
