/* Mesa 7: revised investigation files and contemporary kit. */
.production-pattern{inset:0 0 auto;height:var(--banner-split);gap:0;pointer-events:none}
.production-pattern span{background-size:var(--table-size,135px) var(--table-size,135px);animation-duration:4.5s}
@keyframes completeTableFloat{from{transform:translate3d(-3px,-6px,0) rotate(-30deg)}to{transform:translate3d(3px,6px,0) rotate(-14deg)}}
.mesa-cast{background:radial-gradient(ellipse at 50% 40%,#29271f 0,#11110d 70%)}
.mesa-cast .cast-grid{gap:38px 24px;margin-top:52px}
.mesa-cast .cast-card,.mesa-cast .cast-card:nth-child(even){padding:20px 16px 0;border:1px solid #d8d3c2;border-radius:3px;background:linear-gradient(115deg,#faf8ef,#ebe7d9);box-shadow:0 2px 0 #d1c9b6,0 8px 0 -4px #eeeade,0 12px 25px #0005;transform:none}
.mesa-cast .cast-card:before{display:none}
.file-heading{font:700 10px/1.5 'Courier New',monospace;text-transform:uppercase;letter-spacing:1.25px;color:#766b56;border-bottom:1px solid #c5baa1;padding:5px 34px 13px 0}
.file-heading span:last-child{font:inherit;color:inherit;padding:0}
.file-clip{position:absolute;top:-22px;right:15px;width:33px;height:65px;z-index:3;transform:rotate(9deg);filter:drop-shadow(2px 2px 1px #0004);pointer-events:none}
.file-clip svg{width:100%;height:100%;display:block}
.suspect-portrait{aspect-ratio:4/4.6;margin-top:18px;border:1px solid #b9b09b;background:repeating-linear-gradient(0deg,#ddd9cb 0,#ddd9cb 1px,#ede9dd 1px,#ede9dd 30px);box-shadow:inset 0 0 30px #aaa28c22}
.suspect-portrait:before{inset:0;background:linear-gradient(90deg,#b6ac9350 0,#b6ac9350 18px,transparent 18px);border:0;border-radius:0}
.mesa-cast .cast-card .suspect-portrait img{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(3px 0 4px #0002)}
.file-caption{min-height:100px;padding:16px 0 21px}
.mesa-cast .cast-card h3{font:700 23px/1.15 Georgia,serif;margin:0;color:#23251f}
.kit-layout{grid-template-columns:.85fr 1.3fr;gap:20px}
.kit-visual{min-height:380px}
.kit-visual .kit-modern{position:relative;display:block;width:110%;height:auto;max-width:none;left:-5%;top:0;filter:none;animation:kitFloat 6s ease-in-out infinite alternate}
.cafe-layout{grid-template-columns:1fr 1.15fr;gap:28px}
.cafe-visual{min-height:450px;isolation:isolate}
.cafe-visual .cafe-pina{width:39%;height:63%;right:27%;top:0;z-index:0;object-fit:contain}
.cafe-visual .cafe-mojito{width:100%;height:65%;right:-25%;top:3%;z-index:0;object-fit:contain}
.cafe-visual .cafe-mofongo{width:104%;height:80%;left:-5%;bottom:-2%;z-index:1;object-fit:contain}
.cafe-copy .photo-credit{font-size:10px;line-height:1.6;color:#999;max-width:430px;margin-top:20px}
.photo-credit a{text-decoration:underline;text-underline-offset:2px}
@media(max-width:760px){
 .mesa-cast .cast-grid{gap:32px 16px;margin-top:40px}
 .mesa-cast .cast-card{padding:16px 10px 0}
 .file-heading{font-size:8px;letter-spacing:.6px;padding:4px 18px 10px 0}
 .file-heading span:last-child{font:inherit;padding:0}
 .file-clip{width:26px;height:53px;right:9px;top:-19px}
 .suspect-portrait{margin-top:13px}
 .file-caption{min-height:92px;padding:14px 0 17px}
 .mesa-cast .cast-card h3{font-size:19px}
 .kit-layout,.cafe-layout{grid-template-columns:1fr;gap:18px}
 .kit-visual{min-height:0;padding:5px 0 14px}
 .kit-visual .kit-modern{width:112%;left:-6%}
 .cafe-visual{min-height:340px}
}
@media(max-width:360px){.file-heading{font-size:7px;letter-spacing:.2px}.mesa-cast .cast-card h3{font-size:17px}.file-caption{min-height:90px}.cafe-visual{min-height:290px}}
@media(prefers-reduced-motion:reduce){.production-pattern span,.kit-visual .kit-modern{animation:none!important}.mesa-cast .cast-card img{transition:none!important}}

/* Seven independent floating files, always present in the investigation board. */
.mesa-cast .cast-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:62px 28px;padding:14px 12px 36px;align-items:start}
.mesa-cast .cast-card,.mesa-cast .cast-card:nth-child(even){grid-column:span 2;--file-angle:-1.6deg;--file-rise:9px;--file-drift:3px;transform:rotate(var(--file-angle));animation:suspectFileFloat 6.2s ease-in-out infinite alternate;will-change:transform;box-shadow:0 2px 0 #d1c9b6,0 8px 0 -4px #eeeade,0 20px 32px #0007}
.mesa-cast .cast-card:nth-child(2){--file-angle:1.8deg;animation-duration:7s;animation-delay:-3.3s}
.mesa-cast .cast-card:nth-child(3){--file-angle:-.8deg;animation-duration:6.7s;animation-delay:-5.1s}
.mesa-cast .cast-card:nth-child(4){--file-angle:1.5deg;animation-duration:7.4s;animation-delay:-1.9s}
.mesa-cast .cast-card:nth-child(5){grid-column:2/span 2;--file-angle:1.2deg;animation-duration:6.5s;animation-delay:-4.3s}
.mesa-cast .cast-card:nth-child(6){--file-angle:-1.8deg;animation-duration:7.2s;animation-delay:-2.5s}
.mesa-cast .cast-card:nth-child(7){--file-angle:.9deg;animation-duration:6.9s;animation-delay:-5.7s}
@keyframes suspectFileFloat{from{transform:translate3d(calc(-1 * var(--file-drift)),calc(-1 * var(--file-rise)),0) rotate(var(--file-angle))}to{transform:translate3d(var(--file-drift),var(--file-rise),0) rotate(calc(var(--file-angle) + .7deg))}}
@media(hover:hover){.mesa-cast .cast-card:hover{animation-play-state:paused}}
@media(max-width:760px){
 .mesa-cast .cast-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:50px 24px;padding:12px 8px 30px}
 .mesa-cast .cast-card,.mesa-cast .cast-card:nth-child(even),.mesa-cast .cast-card:nth-child(5){grid-column:auto;--file-rise:6px;--file-drift:1px}
 .mesa-cast .cast-card:nth-child(7){grid-column:1/-1;width:calc((100% - 24px)/2);justify-self:center}
 .file-caption{min-height:108px}
}
@media(prefers-reduced-motion:reduce){.mesa-cast .cast-card,.mesa-cast .cast-card:nth-child(even){animation:none!important;transform:none!important;will-change:auto}}

/* Compact profile-picture files: CSS framing preserves original photographs. */
.mesa-cast .cast-card,.mesa-cast .cast-card:nth-child(even){padding:15px 14px 0}
.file-heading{padding:3px 28px 9px 0;font-size:9px;letter-spacing:1px}
.suspect-portrait{width:82%;aspect-ratio:1;margin:12px auto 0;border-radius:3px}
.mesa-cast .cast-card .suspect-portrait img{position:absolute;width:220%;height:220%;max-width:none;left:-60%;top:0;object-fit:contain;object-position:center top;transform:none!important;transition:none;filter:none}
.file-caption{min-height:72px;padding:13px 0 15px}
.mesa-cast .cast-card h3{font-size:21px;line-height:1.12;text-align:center}
@media(max-width:760px){
 .mesa-cast .cast-card,.mesa-cast .cast-card:nth-child(even){padding:13px 9px 0}
 .file-heading{font-size:7px;letter-spacing:.3px;padding:3px 17px 8px 0}
 .suspect-portrait{width:88%;margin-top:10px}
 .file-caption{min-height:68px;padding:11px 0 13px}
 .mesa-cast .cast-card h3{font-size:17px;line-height:1.16}
}
@media(max-width:360px){.mesa-cast .cast-card h3{font-size:15px}.file-caption{min-height:66px}.file-heading{font-size:6.5px;letter-spacing:0}}
.mesa-cast .cast-card:nth-child(3) .suspect-portrait img{width:200%;height:200%;left:-50%}

/* Align each complete head near the top of its profile frame. */
.mesa-cast .cast-card .suspect-portrait img{top:-10%}
.mesa-cast .cast-card:nth-child(2) .suspect-portrait img{top:-13%}
.mesa-cast .cast-card:nth-child(3) .suspect-portrait img{top:-16%}
.mesa-cast .cast-card:nth-child(5) .suspect-portrait img{top:-13%}
.mesa-cast .cast-card:nth-child(6) .suspect-portrait img{top:-7%}
.mesa-cast .cast-card:nth-child(7) .suspect-portrait img{top:-12%}
