/* LOS demo: case-study pages with device-mockup VIDEOS (added 2026-10-21 for demo/turkish-restaurant/).
   Loads after demo.css. Video frames, the TV, the four-restaurant row, the alternating feature blocks. */

/* video frame: 16:9, dark stage, same border as the sheet cards */
.vframe{position:relative;aspect-ratio:16/9;background:#060910;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.5)}
.vframe video,.vframe img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.vframe img,.tv .screen img{z-index:1;transition:opacity .5s ease}   /* the still sits over the video until it has faded in */
.vframe .cap{position:absolute;z-index:2;left:14px;bottom:12px;padding:6px 11px;border-radius:999px;background:rgba(7,11,20,.78);border:1px solid var(--line);font-size:12px;font-weight:700;color:#fff;letter-spacing:.3px}

/* hero with the video on the right */
.hero .grid.vid-hero{grid-template-columns:1fr 1.15fr;align-items:center}
.hero .btns{display:flex;gap:10px;flex-wrap:wrap}

/* four restaurants */
.four{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.four a{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.four .vframe{border-radius:0;border:0;box-shadow:none}
.four .body{padding:12px 14px 14px}
.four b{display:block;color:#fff;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.four span{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.four .tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}
.four .tags i{font-style:normal;font-size:11px;font-weight:700;padding:4px 8px;border-radius:999px;border:1px solid var(--line);background:var(--card2);color:var(--text)}

/* feature blocks: text one side, video the other */
.feat{display:grid;grid-template-columns:1fr 1.15fr;gap:40px;align-items:center}
.feat.flip .copy{order:2}
.feat .copy h2{margin-bottom:10px}
.feat .copy p{color:var(--text);max-width:52ch;margin-bottom:14px}
.feat .copy ul{list-style:none;display:grid;gap:8px;margin:14px 0 18px}
.feat .copy li{display:flex;gap:10px;align-items:flex-start;font-size:14.5px}
.feat .copy li svg{width:16px;height:16px;flex-shrink:0;margin-top:3px;color:#5fd35f}
.feat .where{font-size:12.5px;color:var(--muted)}
.feat .where b{color:var(--text);font-weight:700}
.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}

/* the TV */
.tv{position:relative;padding:0 0 46px}
.tv .screen{position:relative;aspect-ratio:16/9;background:#000;border:10px solid #0b0f17;border-radius:10px;box-shadow:0 0 0 2px #2b3653,0 30px 60px rgba(0,0,0,.55);overflow:hidden}
.tv .screen video,.tv .screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.tv .neck{width:12%;height:18px;margin:0 auto;background:#0b0f17;box-shadow:inset 0 0 0 2px #2b3653}
.tv .foot{width:42%;height:12px;margin:0 auto;border-radius:0 0 8px 8px;background:#0b0f17;box-shadow:0 0 0 2px #2b3653}

/* CTA band */
.cta-band{border-top:1px solid var(--line);background:var(--card);padding:44px 0}
.cta-band .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.cta-band h2{margin:0}
.cta-band .sub{margin:4px 0 0}

@media (max-width:900px){
  .hero .grid.vid-hero,.feat,.feat.flip{grid-template-columns:1fr}
  .feat.flip .copy{order:0}
  .four{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
  .four,.two{grid-template-columns:1fr}
  .hero .btns .btn{width:100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){ .vframe video,.tv .screen video{display:none} }
@media print{
  .vframe video,.tv .screen video{display:none}
  .vframe,.tv .screen{box-shadow:none}
}
