/* === stills (06) · centered carousel === */
.stills{--still-h:clamp(280px,48vh,480px)}
.stills-stage{position:relative;margin-top:44px;height:calc(var(--still-h) + 48px);overflow:hidden;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.still{position:absolute;top:0;left:50%;margin:0;display:flex;flex-direction:column;gap:14px;transform-origin:50% calc(var(--still-h) / 2);transition:transform 1.1s cubic-bezier(.16,1,.3,1),opacity .8s cubic-bezier(.16,1,.3,1);will-change:transform,opacity;backface-visibility:hidden}
.still-frame{height:var(--still-h);border:1px solid var(--rule);background:var(--surface);overflow:hidden}
.still-frame img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.still-hit{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:pointer}
.still-hit:focus-visible{outline:1px solid var(--accent);outline-offset:3px}
.still-more-card{display:flex;align-items:center;justify-content:center;text-decoration:none;color:var(--fg-2);background:transparent;transition:color .4s ease,border-color .4s ease}
.still-more-card:hover{color:var(--fg);border-color:var(--rule-2)}
.still-more-card:focus-visible{outline:1px solid var(--accent);outline-offset:3px}
.still-more-title{font-family:var(--font-mono);font-size:var(--t-micro);letter-spacing:.22em;text-transform:uppercase}
.still-more-title span{display:inline-block;margin-left:6px;transition:transform .4s cubic-bezier(.22,.61,.36,1)}
.still-more-card:hover .still-more-title span{transform:translate(3px,-3px)}
.still-caption{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;font-family:var(--font-mono);font-size:var(--t-micro);letter-spacing:.22em;text-transform:uppercase}
.still-id{display:flex;justify-content:center;align-items:baseline;gap:14px}
.still-exp{color:var(--fg-2);letter-spacing:.16em;white-space:nowrap}
.still-num{color:var(--fg)}
.still-file{color:var(--fg-2)}
.stills-foot{display:flex;flex-direction:column;align-items:center;gap:28px;margin-top:32px}
.stills-nav{display:flex;align-items:center;gap:20px}
.stills-count{font-family:var(--font-mono);font-size:var(--t-micro);letter-spacing:.22em;color:var(--fg-2);min-width:7ch;text-align:center}
.stills-all{display:inline-flex;align-items:center;gap:10px;font-family:var(--font-mono);font-size:var(--t-micro);letter-spacing:.22em;text-transform:uppercase;color:var(--fg);text-decoration:none;border-bottom:1px solid var(--rule-2);padding-bottom:6px;transition:border-color .4s ease,color .4s ease}
.stills-all span{display:inline-block;transition:transform .4s cubic-bezier(.22,.61,.36,1)}
.stills-all:hover{color:var(--accent);border-color:var(--accent)}
.stills-all:hover span{transform:translate(3px,-3px)}
@media (max-width:600px){
  .stills{--still-h:min(52vh,380px)}
  .stills-stage{margin-top:30px}
}
@media (prefers-reduced-motion:reduce){.still{transition:none}}

/* === stills.html (full gallery page) === */
.sp-main{padding-top:150px}
.sp-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:16px}
.sp-title{font-family:var(--font-display);font-weight:500;font-size:var(--t-h1);letter-spacing:.04em;text-transform:uppercase;margin:28px 0 14px;color:var(--fg);text-align:center}
.sp-sub{color:var(--fg-2);max-width:560px;margin:0 auto;text-align:center;line-height:1.6}
/* gallery: justified rows that run the full width of the screen (laid out in stills-page.js) */
.sp-grid{position:relative;left:50%;transform:translateX(-50%);width:calc(100vw - 48px);margin-top:56px}
.sp-row{display:flex;justify-content:center;gap:16px;margin-bottom:28px}
.sp-item{flex:none;margin:0;display:flex;flex-direction:column;gap:12px;min-width:0}
.sp-open{display:block;width:100%;aspect-ratio:var(--r,0.667);padding:0;border:1px solid var(--rule);background:var(--surface);cursor:zoom-in;overflow:hidden}
.sp-open img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.4s cubic-bezier(.22,.61,.36,1)}
.sp-open:hover img{transform:scale(1.02)}
.sp-open:focus-visible{outline:1px solid var(--accent);outline-offset:3px}
.sp-fade{opacity:0;transform:translateY(20px);transition:opacity 1.1s cubic-bezier(.22,.61,.36,1),transform 1.1s cubic-bezier(.22,.61,.36,1)}
.sp-fade.in{opacity:1;transform:none}
.sp-book{margin:72px 0 0;padding:48px 0;border-top:1px solid var(--rule);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px}
.sp-book h2{font-family:var(--font-display);font-weight:500;font-size:var(--t-h2);letter-spacing:.06em;text-transform:uppercase;margin:0;color:var(--fg)}
.sp-book p{margin:8px 0 0;color:var(--fg-2)}
.sp-back{font-family:var(--font-mono);font-size:var(--t-micro);letter-spacing:.22em;text-transform:uppercase;color:var(--fg-2);text-decoration:none}
.sp-back:hover{color:var(--accent)}
/* lightbox */
.sp-lb{position:fixed;inset:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;border:0;padding:0;background:rgba(0,0,0,.94);color:#f4f4f3}
.sp-lb::backdrop{background:rgba(0,0,0,.94)}
.sp-lb-inner{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:64px 80px}
.sp-lb img{max-width:100%;max-height:calc(100vh - 160px);width:auto;height:auto;display:block}
.sp-lb-cap{font-family:var(--font-mono);font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:#b8b9bd}
.sp-lb button{position:absolute;background:transparent;border:1px solid rgba(255,255,255,.16);color:#f4f4f3;width:44px;height:44px;font-size:16px;cursor:pointer;transition:border-color .4s ease}
.sp-lb button:hover{border-color:#6f8aa1}
.sp-lb-close{top:20px;right:20px}
.sp-lb-prev{left:20px;top:50%;transform:translateY(-50%)}
.sp-lb-next{right:20px;top:50%;transform:translateY(-50%)}
@media (max-width:900px){.sp-main{padding-top:120px}.sp-grid{width:calc(100vw - 32px)}.sp-row{gap:12px;margin-bottom:22px}}
@media (max-width:600px){.sp-head{flex-direction:column;align-items:flex-start;gap:8px}.sp-grid{width:calc(100vw - 24px)}.sp-row{gap:8px;margin-bottom:18px}.sp-lb-inner{padding:72px 16px}.sp-lb-prev,.sp-lb-next{top:auto;bottom:20px;transform:none}.sp-lb-prev{left:calc(50% - 54px)}.sp-lb-next{right:calc(50% - 54px)}}
@media (prefers-reduced-motion:reduce){.sp-fade{opacity:1;transform:none;transition:none}.sp-open img{transition:none}}

/* pictures (WebP + JPEG fallback) lay out like the img inside them */
.still-frame picture,.sp-open picture,.sp-lb picture{display:contents}
/* Book a shoot */
.sp-book-cta{display:flex;flex-direction:column;align-items:center;gap:12px}
.sp-book-cta .email-copy{text-decoration:none}
.sp-copy{appearance:none;background:none;border:0;padding:4px 0;cursor:pointer;font-family:var(--font-mono);font-size:var(--t-micro);letter-spacing:.22em;text-transform:uppercase;color:var(--fg-2);border-bottom:1px solid var(--rule-2)}
.sp-copy:hover{color:var(--accent);border-color:var(--accent)}
.sp-copy:focus-visible{outline:1px solid var(--accent);outline-offset:4px}

/* stills page captions: parts joined by · on one line; stacked and small on portrait screens */
.sp-item .still-exp{white-space:nowrap}
.sp-item .still-exp-part+.still-exp-part::before{content:'·';margin:0 .55em;color:var(--fg-3)}
@media (max-width:600px),(orientation:portrait) and (max-width:1024px){
  .sp-item{gap:7px}
  .sp-item .still-caption{gap:0}
  .sp-item .still-exp{display:flex;flex-direction:column;align-items:center;gap:1px;font-size:8px;letter-spacing:.1em;line-height:1.3;white-space:nowrap}
  .sp-item .still-exp-part+.still-exp-part::before{content:none}
}

/* === photos sit above the site grain/texture layer (.site-atmosphere, z 40), below the nav (z 50) === */
.stills-stage,.sp-grid{z-index:45}
