/* 현장 스케치 — 프로젝트별 사진첩 (2026-12-03) */
.sketch-list {list-style:none;margin:0 0 clamp(4rem,8vw,8rem);padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(2rem,3.4vw,3.4rem) clamp(1rem,2vw,2rem)}
.sketch-list a {display:block;color:inherit;text-decoration:none}
.sketch-list figure {margin:0;aspect-ratio:4/5;overflow:hidden;background:#17181b}
.sketch-list img {width:100%;height:100%;object-fit:cover;transition:transform .9s cubic-bezier(.2,.7,.2,1),filter .5s;filter:brightness(.9)}
.sketch-list a:hover img,.sketch-list a:focus-visible img {transform:scale(1.035);filter:brightness(1)}
.sketch-list small {display:block;margin-top:1rem;color:var(--muted);font-size:.8rem;letter-spacing:.02em}
.sketch-list strong {display:block;margin-top:.3rem;font-size:clamp(1.05rem,1.4vw,1.25rem);font-weight:500;line-height:1.35}

.album-back {padding-top:clamp(2rem,4vw,3.5rem)}
.album-head {padding-block:clamp(2.5rem,5vw,4.5rem) clamp(2rem,4vw,3.5rem)}
.album-kind {margin:0 0 .6rem;color:var(--muted);font-size:.9rem}
.album-head h1 {margin:0;font-size:clamp(2rem,4.4vw,3.6rem);font-weight:500;line-height:1.15;outline:none}
.album-count {margin:.9rem 0 0;font-size:.88rem}
.album-photos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.8rem,1.6vw,1.4rem);grid-auto-flow:row dense}
.album-photos figure {margin:0;cursor:zoom-in;background:#17181b}
.album-photos figure.wide {grid-column:1/-1}
.album-photos img {width:100%;height:auto}
.album-end {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem;padding-block:clamp(3rem,6vw,5rem) clamp(4rem,8vw,7rem);margin-top:clamp(2.5rem,5vw,4rem);border-top:1px solid var(--rule)}
.album-work {font-size:1.05rem}
.album-next {display:flex;gap:1.6rem;font-size:.9rem;color:var(--muted)}
.album-next a {color:inherit}
.album-next a:hover {color:var(--ink)}

.sketch-box {width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(8,9,11,.97);color:var(--ink)}
.sketch-box[open] {display:grid;grid-template-rows:auto minmax(0,1fr)}
.sketch-box::backdrop {background:rgba(0,0,0,.85)}
.sk-bar {display:flex;justify-content:space-between;align-items:center;padding:1rem var(--margin);font-size:.88rem;color:var(--muted)}
.sketch-box button {background:none;border:0;color:var(--ink);font:inherit;cursor:pointer}
.sketch-box img {width:100%;height:100%;object-fit:contain;padding:0 clamp(3rem,6vw,6rem) clamp(1rem,3vw,2.5rem);box-sizing:border-box}
.sk-prev,.sk-next {position:absolute;top:50%;translate:0 -50%;font-size:2.6rem!important;padding:1rem;opacity:.7}
.sk-prev:hover,.sk-next:hover {opacity:1}
.sk-prev {left:.5rem} .sk-next {right:.5rem}

/* 작품 상세의 '촬영 현장' 칸 (catalog.css와 함께 work.html에서 사용) */
.field-shots {margin-top:clamp(3rem,6vw,5rem)}
.field-shots .field-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.7rem,1.4vw,1.2rem)}
.field-shots .field-grid a {display:block;aspect-ratio:4/5;overflow:hidden;background:#17181b}
.field-shots .field-grid img {width:100%;height:100%;object-fit:cover;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.field-shots .field-grid a:hover img {transform:scale(1.035)}
.field-shots .field-more {margin-top:1.4rem}

@media (max-width:900px){ .sketch-list {grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:640px){
  .album-photos {grid-template-columns:1fr}
  .album-photos figure.wide {grid-column:auto}
  .field-shots .field-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .field-shots .field-grid a:nth-child(3) {display:none}
  .sketch-box img {padding:0 .5rem 1rem}
  .sk-prev,.sk-next {top:auto;bottom:.5rem;translate:none}
}
@media (max-width:480px){ .sketch-list {grid-template-columns:1fr 1fr;gap:1.6rem .8rem} }
