.fs-frame {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template: minmax(0,1fr) / minmax(0,1fr);
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #30332a;
}
.fs-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.fs-louver { display: flex; align-items: stretch; background: #263731; perspective: 650px; }
.fs-fin { flex: 1; position: relative; height: 100%; transform-style: preserve-3d; animation: fs-fin 5.4s cubic-bezier(.5,.12,.25,1) infinite; animation-delay: calc(var(--n) * .09s); }
.fs-fin b { position: absolute; inset: 0; background: url("residences/images/towers.webp") var(--at) center / 600% 100%; backface-visibility: hidden; box-shadow: inset -1px 0 #1c352854; }
.fs-fin b:last-child { transform: rotateY(180deg); background-image: url("residences/images/garden.webp"); }
@keyframes fs-fin { 0%,14%,100% { transform: rotateY(0deg); } 48%,70% { transform: rotateY(180deg); } }

.fs-contact { background: #302d28; padding: 6% 8%; }
.fs-sheet { display: grid; position: relative; grid-template: repeat(2,minmax(0,1fr)) / repeat(3,minmax(0,1fr)); width: 100%; height: 100%; border: 3px solid #e9ddc5; background: #e9ddc5; box-shadow: 2px 4px 7px #14131066; }
.fs-sheet img { border: 2px solid #e9ddc5; min-width: 0; min-height: 0; filter: saturate(.72); }
.fs-selector { position: absolute; left: 0; top: 0; width: 33.333%; height: 50%; border: 2px solid #f04f2d; box-shadow: 0 0 0 1px #542b1d7a; animation: fs-select 5.5s cubic-bezier(.62,.04,.24,1) infinite; }
@keyframes fs-select { 0%,14%,100% { transform: translate(0,0) rotate(-2deg); } 26%,43% { transform: translate(100%,0) rotate(2deg); } 56%,76% { transform: translate(200%,100%) rotate(-3deg); } }

.fs-fan { background: radial-gradient(ellipse at center,#e4dbc7,#bdb099); }
.fs-print { position: absolute; width: 38%; height: 67%; padding: 3px 3px 7px; background: #fff9e8; box-shadow: 1px 3px 4px #52463355; transform-origin: 50% 108%; animation: fs-fan 4.9s ease-in-out infinite; }
@keyframes fs-fan { 0%,12%,100% { transform: rotate(calc(var(--angle)*.23)); } 46%,76% { transform: rotate(var(--angle)) translateY(-2%); } }

.fs-lenticular > img,.fs-ribs,.fs-ribs img,.fs-focus > img,.fs-focus-band,.fs-focus-band img,.fs-burn .fs-photo,.fs-burn-light { position: absolute; inset: 0; }
@property --fs-slit { syntax: "<length>"; initial-value: 1px; inherits: false; }
.fs-ribs { mask-image: repeating-linear-gradient(90deg,#000 0 var(--fs-slit),transparent var(--fs-slit) 6px); animation: fs-lens 4.8s ease-in-out infinite; }
.fs-lenticular:after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg,transparent 0 5px,#102a2466 5px 6px); pointer-events: none; }
@keyframes fs-lens {
  0%,14%,100% { --fs-slit: 1px; mask-position: 0 0; }
  48%,76% { --fs-slit: 5.7px; mask-position: 3px 0; }
}

.fs-develop { background: #471f1b; }
.fs-tray { width: 76%; height: 79%; padding: 5px; background: #c7b5a3; border: 3px solid #2c2321; outline: 1px solid #b8a48a; transform: rotate(-3deg); box-shadow: 3px 4px 7px #230d0c99; }
.fs-tray img { animation: fs-develop 5.6s ease-in-out infinite; }
@keyframes fs-develop {
  0%,15%,100% { filter: grayscale(1) invert(.8) sepia(1) saturate(3) brightness(.72); }
  43% { filter: grayscale(.7) sepia(.4) saturate(.7); }
  57%,80% { filter: grayscale(0) invert(0) sepia(0) saturate(1); }
}

.fs-projector { background: radial-gradient(ellipse,#54493a,#201f1c); }
.fs-gate { width: 75%; height: 80%; overflow: hidden; border: 3px solid #171817; box-shadow: 0 0 0 1px #716c5f,2px 4px 8px #1118; }
.fs-carrier { display: flex; width: 212%; height: 100%; gap: 5.66%; animation: fs-project 5.4s cubic-bezier(.74,.06,.25,.96) infinite; }
.fs-carrier i { flex: 0 0 47.17%; background: #e9dfcc; padding: 4% 5%; }
@keyframes fs-project { 0%,24%,100% { transform: translateX(0); } 42%,76% { transform: translateX(-52.83%); } }

.fs-fold { background: linear-gradient(135deg,#eee7d8,#b9beaa); perspective: 600px; }
.fs-map { display: flex; width: 83%; height: 72%; box-shadow: 2px 6px 7px #354b4155; animation: fs-unfold 5.2s ease-in-out infinite; transform: rotate(-3deg); }
.fs-map i { flex: 1; height: 100%; background: url("residences/images/skyline.webp") var(--at) center / 400% 100%; animation: fs-crease 5.2s ease-in-out infinite; }
.fs-map i:nth-child(even) { --shade: .56; --slant: -12deg; }.fs-map i:nth-child(odd) { --shade: .91; --slant: 12deg; }
@keyframes fs-unfold { 0%,15%,100% { transform: rotate(-4deg) scaleX(.62); } 50%,77% { transform: rotate(0) scaleX(1); } }
@keyframes fs-crease { 0%,15%,100% { filter: brightness(var(--shade)); transform: skewY(var(--slant)); } 50%,77% { filter: brightness(.97); transform: skewY(0); } }

.fs-register { background: #e7dfd3; }
.fs-proof { position: relative; width: 78%; height: 76%; background: #fffdf4; border: 4px solid #fffbef; box-shadow: 2px 3px 4px #624a3526; isolation: isolate; }
.fs-proof .fs-photo { position: absolute; inset: 0; filter: grayscale(1) contrast(1.2); }
.fs-proof .fs-cyan { mix-blend-mode: multiply; filter: grayscale(1) sepia(1) saturate(3) hue-rotate(131deg); opacity: .75; --offset: -6%; animation: fs-register 5.1s ease-in-out infinite; }
.fs-proof .fs-red { mix-blend-mode: screen; filter: grayscale(1) sepia(1) saturate(6) hue-rotate(301deg); opacity: .65; --offset: 6%; animation: fs-register 5.1s ease-in-out infinite; }
@keyframes fs-register { 0%,19%,100% { transform: translateX(var(--offset)); } 49%,78% { transform: translateX(0); opacity: 0; } }

.fs-focus > img { filter: blur(2.7px) saturate(.7); transform: scale(1.08); }
.fs-focus-band { animation: fs-focus 5.3s ease-in-out infinite; }
.fs-focus-band img { transform: scale(1.08); }
@keyframes fs-focus {
  0%,16%,100% { clip-path: polygon(-15% 0,21% 0,57% 100%,21% 100%); }
  48%,73% { clip-path: polygon(49% 0,83% 0,119% 100%,83% 100%); }
}

.fs-burn-next { opacity: 0; animation: fs-expose 5.7s ease-in-out infinite; }
.fs-burn-light { background: radial-gradient(ellipse at 18% 80%,#ffe6a6 0%,#f9bb64 13%,#dc6232ab 34%,transparent 65%); mix-blend-mode: screen; animation: fs-burn 5.7s ease-in-out infinite; }
@keyframes fs-expose { 0%,26%,100% { opacity: 0; } 48%,76% { opacity: 1; } }
@keyframes fs-burn { 0%,12%,57%,74%,100% { opacity: 0; transform: translateX(-62%) scale(.9); } 35%,85% { opacity: .94; transform: translateX(18%) scale(1.65); } }

.fs-letter { background: #eae7da; }
.fs-knockout { font: 900 clamp(2rem,4vw,3.8rem)/1 Georgia,serif; letter-spacing: -.1em; padding-right: .1em; background: url("residences/images/towers.webp") 0% 50% / 180% auto; background-clip: text; color: transparent; animation: fs-type 6s ease-in-out infinite; }
@keyframes fs-type { 0%,12%,100% { background-position: 0% 50%; } 57%,80% { background-position: 100% 50%; } }

.fs-eject { background: linear-gradient(145deg,#879b94,#546b62); }
.fs-slot { position: absolute; top: 16%; left: 22%; right: 22%; height: 5px; border-radius: 4px; background: #25332d; box-shadow: 0 1px 1px #c8d5c3; }
.fs-ejection { position: absolute; inset: calc(16% + 3px) 0 0; overflow: hidden; display: flex; justify-content: center; }
.fs-instant { width: 44%; height: 84%; background: #fff8e6; padding: 4px 4px 9px; box-shadow: 2px 3px 6px #263b3159; transform-origin: top center; animation: fs-eject 5.2s cubic-bezier(.32,.15,.33,.95) infinite; }
@keyframes fs-eject { 0%,13%,100% { transform: translateY(-54%) rotate(0); } 44% { transform: translateY(-4%) rotate(0); } 62%,80% { transform: translateY(4%) rotate(5deg); } }
