/* ===================================================================
   MOTION ADDITIONS — smooth scroll, scroll-reveal support, lightbox
   Loaded after the page's own inline <style> block on every page.
   =================================================================== */

html.lenis-active{ scroll-behavior:auto; }
html.lenis-active body{ overscroll-behavior:none; }

.btn, .filter-btn{ will-change:transform; }

/* ---------- LIGHTBOX ---------- */
.lightbox-overlay{
  position:fixed; inset:0; z-index:999;
  display:flex; align-items:center; justify-content:center;
  background:rgba(8,1,1,.92);
  backdrop-filter:blur(8px);
  opacity:0; visibility:hidden;
  transition:opacity .35s ease, visibility .35s ease;
  padding:40px;
}
.lightbox-overlay.active{ opacity:1; visibility:visible; }

.lightbox-figure{ position:relative; max-width:min(92vw,1100px); max-height:88vh; text-align:center; }

.lightbox-figure img{
  max-width:100%; max-height:78vh; width:auto; display:block; margin:0 auto;
  border-radius:16px;
  box-shadow:0 40px 90px rgba(0,0,0,.55);
  opacity:0; transform:scale(.97);
  transition:opacity .35s ease, transform .35s ease;
}
.lightbox-overlay.active .lightbox-figure img{ opacity:1; transform:scale(1); }

.lightbox-caption{ margin-top:18px; }
.lightbox-caption .work-cat{
  font-family:'Space Mono',monospace; font-size:11px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--orange); font-weight:700; margin-bottom:6px;
}
.lightbox-caption .work-title{
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:19px;
  text-transform:uppercase; color:#fff;
}

.lightbox-close, .lightbox-nav{
  position:absolute; display:flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:50%;
  background:rgba(255,247,247,.08); border:1px solid var(--line);
  color:#fff; font-size:20px; line-height:1; cursor:pointer;
  transition:background .2s, border-color .2s, transform .2s;
}
.lightbox-close:hover, .lightbox-nav:hover{ background:var(--orange); border-color:var(--orange); }
.lightbox-close{ top:-60px; right:0; }
.lightbox-nav.prev{ left:-64px; top:50%; transform:translateY(-50%); }
.lightbox-nav.next{ right:-64px; top:50%; transform:translateY(-50%); }
.lightbox-nav:hover{ transform:translateY(-50%) scale(1.08); }

@media (max-width:860px){
  .lightbox-overlay{ padding:20px; }
  .lightbox-close{ position:fixed; top:16px; right:16px; }
  .lightbox-nav{ position:fixed; top:auto; bottom:24px; transform:none; }
  .lightbox-nav.prev{ left:16px; }
  .lightbox-nav.next{ right:16px; }
  .lightbox-nav:hover{ transform:scale(1.08); }
}

@media (prefers-reduced-motion: reduce){
  .lightbox-overlay, .lightbox-figure img{ transition:none; }
}

/* ---------- CONTACT FORM STATUS ---------- */
.form-status{
  margin-top:14px;
  font-family:'Inter',sans-serif;
  font-size:13px;
  line-height:1.5;
  min-height:1.5em;
}
.form-status.success{ color:#1a7f37; }
.form-status.error{ color:#c62828; }
button[type="submit"]:disabled{ opacity:.7; cursor:not-allowed; }
