/* 출발 신호 = C 실물 그대로(사용자 10/21 "실물그대로로 가자", A · B 안과 비교판은 10/21 정리) — lights.css(다른 세션) 위에 사진만 바꿈
   렌더 = planning/start-lights/build_lights_real.py --variant C → post_lights_real.py --look C → img/lights_real/C/
   바탕 L0 = 다 꺼진 갠트리(기둥 · 보 · 꺼진 렌즈 유리), C1–C5 = 그 기둥 빛만 → 더하기(plus-lighter)로 겹침. v3.js 가 i 를 하나씩 .on 으로 켜고 끝나면 한꺼번에 뺌
   켜지는 순간 0.3초 번쩍 → 자리, 켜져 있는 동안 아주 약한 떨림(카메라로 찍은 LED) */
.lights .gantry { background: #000 url(../img/lights_real/C/L0.webp) center / contain no-repeat; }
.lights .gantry i { background-color: transparent; background-position: center; background-size: contain; mix-blend-mode: plus-lighter; transition: opacity .07s linear; }
.lights .gantry i:nth-child(1) { background-image: url(../img/lights_real/C/C1.webp); }
.lights .gantry i:nth-child(2) { background-image: url(../img/lights_real/C/C2.webp); }
.lights .gantry i:nth-child(3) { background-image: url(../img/lights_real/C/C3.webp); }
.lights .gantry i:nth-child(4) { background-image: url(../img/lights_real/C/C4.webp); }
.lights .gantry i:nth-child(5) { background-image: url(../img/lights_real/C/C5.webp); }
.lights .gantry i.on { animation: lrIgn .24s cubic-bezier(.2,.7,.3,1) both, lrFlick 2.6s steps(1) .24s infinite; }
@keyframes lrIgn { 0% { opacity: 0; filter: brightness(2.1); } 14% { opacity: 1; filter: brightness(1.7); } 100% { opacity: 1; filter: brightness(1); } }
@keyframes lrFlick { 0% { filter: brightness(1); } 37% { filter: brightness(.965); } 38% { filter: brightness(1); } 71% { filter: brightness(.98); } 72% { filter: brightness(1); } }
@media (max-aspect-ratio: 5/4) {   /* 세로 화면: 기둥 다섯이 폭에 차게 + 사진 위아래 끝(높이 약 96vw)을 검게 녹임 */
  .lights .gantry, .lights .gantry i { background-size: 170% auto; }
  .lights .gantry::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(#000 calc(50% - 48vw), transparent calc(50% - 30vw), transparent calc(50% + 30vw), #000 calc(50% + 48vw)); }
}
@media (prefers-reduced-motion: reduce) { .lights .gantry i.on { animation: none; } }
