/* ── Work: one lit wall in the night gallery ── */
body:has(.wl), body:has(.pv) { background: #050606; }
@media (min-width: 981px) { body:has(.wl) .nav, body:has(.pv) .nav { padding-inline: clamp(20px, 4.4vw, 110px); } }
.wl { position: relative; --edge: clamp(20px, 4.4vw, 110px); padding: 0 var(--edge) clamp(70px, 9vw, 140px); min-height: 100vh; isolation: isolate; }
.wl-hall { position: fixed; z-index: -2; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; opacity: .8; }
.wl-shade { position: fixed; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,6,6,.82) 0, rgba(5,6,6,.3) 34%, rgba(5,6,6,.66) 100%); }
.wl-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 48px; padding: clamp(116px, 15vh, 168px) 0 clamp(22px, 3.4vh, 44px); }
.wl-head h1 { margin: 0; font: 900 clamp(2.8rem, 4.9vw, 5.8rem)/.86 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.wl-head h1 em { font-style: normal; color: var(--green); }
.wl-wall { display: grid; gap: clamp(36px, 3.4vw, 70px); }
.wl-row { display: flex; gap: var(--gap); }
.wl-item { display: block; flex: none; min-width: 0; color: inherit; text-decoration: none; }
.wl-art { position: relative; display: block; background: #0c0e0e; box-shadow: 0 34px 70px -20px rgba(0,0,0,.85), 0 0 90px -10px color-mix(in srgb, var(--accent) 24%, transparent); transition: box-shadow .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.wl-art img { display: block; width: 100%; height: 100%; max-width: none; filter: brightness(.24); transition: filter 1.3s ease; transition-delay: calc(var(--n) * 130ms); }
.wl-item.lit .wl-art img { filter: none; }
.wl-cap { display: grid; gap: 3px; padding: 16px 2px 0; }
.wl-cap b { font: 800 clamp(1.15rem, 1.45vw, 1.75rem)/1.02 "Barlow Condensed", sans-serif; text-transform: uppercase; overflow-wrap: anywhere; transition: color .25s ease; }
.wl-cap span { color: rgba(255,255,255,.66); font-size: clamp(.84rem, .9vw, 1rem); line-height: 1.35; }
.wl-item:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
@media (hover: hover) {
  .wl-wall:has(.wl-item:hover) .wl-item.lit:not(:hover) .wl-art img { filter: brightness(.42); transition-duration: .45s; transition-delay: 0s; }
  .wl-item:hover .wl-art { transform: translateY(-6px); box-shadow: 0 46px 80px -20px rgba(0,0,0,.9), 0 0 130px 0 color-mix(in srgb, var(--accent) 46%, transparent); }
  .wl-item:hover .wl-cap b { color: var(--green); }
}

.wl-empty .wl-art { display: grid; place-content: center; justify-items: center; gap: 22px; padding: 20px; text-align: center; background: radial-gradient(70% 60% at 50% 0, rgba(0,255,100,.16), transparent 70%), rgba(8,10,10,.86); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 0 110px -20px rgba(0,255,100,.3); }
.wl-empty b { font: 900 clamp(2.2rem, 3.8vw, 5rem)/.9 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.wl-empty em { font-style: normal; color: var(--green); }
.wl-empty .wl-art > span { display: inline-grid; place-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--green); color: #050505; font-weight: 800; font-size: .95rem; }

/* ── Project ── */
.pv { --edge: clamp(20px, 4.4vw, 110px); --g: clamp(8px, .9vw, 18px); }
.pv-light { position: absolute; max-width: none; filter: blur(90px) saturate(1.4); pointer-events: none; }
.pv-hero { position: relative; min-height: max(100svh, 620px); padding: clamp(104px, 13vh, 150px) var(--edge) clamp(60px, 9vh, 110px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 110px); align-items: center; overflow: hidden; isolation: isolate; background: #050606; }
.pv-hero .wl-hall { position: absolute; opacity: .8; object-position: 50% 62%; }
.pv-hero .pv-light { z-index: -1; right: -4vw; top: 4%; width: 62vw; height: 90%; object-fit: cover; opacity: .34; mix-blend-mode: screen; border-radius: 50%; }
.pv-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(5,6,6,.7) 0, transparent 22%, transparent 74%, #050606 100%), linear-gradient(90deg, rgba(5,6,6,.8) 0, transparent 60%); }
.pv-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0 0 clamp(10px, 2vh, 26px) -4px; color: rgba(255,255,255,.74); font-size: .94rem; font-weight: 600; text-decoration: none; }
.pv-back svg { width: 18px; } .pv-back:hover { color: var(--green); }
.pv-copy h1 { margin: 0; max-width: 5.4em; font: 900 clamp(3.4rem, 8.2vw, 11rem)/.84 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.pv-line { margin: clamp(16px, 2.4vh, 28px) 0 0; font-size: clamp(1.1rem, 1.4vw, 1.6rem); color: #fff; }
.pv-meta { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 12px 0 0; color: rgba(255,255,255,.66); font-size: clamp(.9rem, .95vw, 1.05rem); }
.pv-lead { --h: min(74svh, 980px); position: relative; display: block; width: calc(var(--h) * var(--r)); max-width: 52vw; padding: 0; border: 0; background: none; cursor: zoom-in; animation: pvOn 1.6s .15s cubic-bezier(.2,.7,.2,1) both; }
.pv-lead > img { display: block; width: 100%; height: auto; max-width: none; box-shadow: 0 0 120px -10px color-mix(in srgb, var(--accent) 40%, transparent); }
.pv-lead .pv-mirror { position: absolute; left: 0; top: calc(100% + 10px); transform: scaleY(-1); opacity: .22; filter: blur(3px); box-shadow: none; -webkit-mask: linear-gradient(0deg, #000 0, transparent 13%); mask: linear-gradient(0deg, #000 0, transparent 13%); pointer-events: none; }
.pv-hero.wide { grid-template-columns: minmax(0, 1fr); align-content: center; gap: clamp(14px, 2vh, 30px); }
.pv-hero.wide { padding-top: clamp(96px, 12vh, 130px); padding-bottom: clamp(30px, 4vh, 60px); }
.pv-hero.wide .pv-copy { order: 2; width: calc(min(56svh, 820px) * var(--r)); max-width: 100%; justify-self: center; }
.pv-hero.wide .pv-back { margin-bottom: 2px; }
.pv-hero.wide .pv-line { margin-top: 12px; }
.pv-hero.wide .pv-copy h1 { max-width: none; font-size: clamp(2.6rem, 4.2vw, 5.4rem); }
.pv-hero.wide .pv-lead { --h: min(56svh, 820px); max-width: 100%; justify-self: center; }
.pv-hero.wide .pv-mirror { display: none; }
@keyframes pvOn { from { filter: brightness(.2); } }

.pv-brief { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 130px); padding: clamp(54px, 7vw, 120px) var(--edge); }
.pv-brief h2 { margin: 0 0 14px; color: var(--green); font: 800 clamp(1.3rem, 1.6vw, 1.9rem)/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.pv-brief p { margin: 0; max-width: 46ch; font-size: clamp(1.08rem, 1.35vw, 1.6rem); line-height: 1.6; color: rgba(255,255,255,.88); text-wrap: pretty; }

.pv-reel { display: grid; gap: var(--g); width: min(100% - 2 * var(--edge), 170vh); margin: 0 auto; }
.pv-shot { display: block; position: relative; padding: 0; border: 0; background: #0c0e0e; overflow: hidden; cursor: zoom-in; min-width: 0; }
.pv-shot img { display: block; width: 100%; height: auto; max-width: none; filter: brightness(.24); transition: filter 1.1s ease; }
.pv-shot.lit img { filter: none; }
.pv-shot:focus-visible, .pv-lead:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.pv-row { display: flex; gap: var(--g); justify-content: center; }
.pv-row .pv-shot { flex: var(--r) 1 0; max-width: calc(86vh * var(--r)); align-self: start; }
.pv-mix { --w: calc((100% - (2 + var(--r)) * var(--g)) / 4); display: grid; grid-template-columns: calc(var(--w) * 2 + var(--r) * var(--g)) var(--w) var(--w); gap: var(--g); }
.pv-mix .pv-shot:first-child { grid-row: 1 / 3; }
.pv-mix.flip { grid-template-columns: var(--w) var(--w) calc(var(--w) * 2 + var(--r) * var(--g)); }
.pv-mix.flip .pv-shot:first-child { grid-column: 3; grid-row: 1 / 3; }
@media (hover: hover) {
  .pv-shot img { transition: filter .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
  .pv-shot:hover img { transform: scale(1.025); }
}

.pv-end { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(90px, 12vw, 200px) var(--edge); }
.pv-end .pv-light { z-index: -1; left: 50%; top: 50%; width: 60vw; height: 70%; translate: -50% -50%; object-fit: cover; opacity: .2; border-radius: 50%; }
.pv-end h2 { margin: 0 0 34px; font: 900 clamp(2.8rem, 6vw, 7.6rem)/.88 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.pv-end h2 em { font-style: normal; color: var(--green); display: block; }
.pv-do { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.pv-next { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; min-height: 46vh; padding: 0 var(--edge); overflow: hidden; isolation: isolate; background: #070909; color: inherit; text-decoration: none; }
.pv-next .pv-light { z-index: -1; right: 0; top: 0; width: 60vw; height: 100%; object-fit: cover; opacity: .3; transition: opacity .6s ease; }
.pv-next:hover .pv-light { opacity: .5; }
.pv-nt { display: grid; gap: 10px; }
.pv-nt small, .pv-nt > span { color: rgba(255,255,255,.7); font-size: clamp(.95rem, 1.1vw, 1.2rem); }
.pv-nt b { font: 900 clamp(2.6rem, 5.4vw, 7rem)/.88 "Barlow Condensed", sans-serif; text-transform: uppercase; transition: color .3s ease; }
.pv-next:hover b { color: var(--green); }
.pv-ni { align-self: end; display: block; height: 38vh; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.pv-ni img { display: block; height: 46vh; width: auto; max-width: 50vw; object-fit: cover; object-position: top; }
.pv-next:hover .pv-ni { transform: translateY(-14px); }

.pv-box { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3,4,4,.97); color: #fff; overflow: hidden; }
.pv-box[open] { display: grid; place-items: center; }
.pv-box::backdrop { background: #000; }
.pv-box img { max-width: min(86vw, 1600px); max-height: 90dvh; width: auto; height: auto; display: block; }
.pv-box p { position: absolute; left: 24px; bottom: 20px; margin: 0; font-size: .95rem; color: rgba(255,255,255,.76); font-variant-numeric: tabular-nums; }
.pv-box button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.pv-box button:hover { background: var(--green); color: #050505; }
.pv-box svg { width: 24px; }
.pv-box.one .pv-a, .pv-box.one p { display: none; }
.pv-x { top: 18px; right: 18px; }
.pv-a { top: calc(50% - 26px); } .pv-a.prev { left: 18px; } .pv-a.next { right: 18px; }

@media (max-width: 900px) {
  .pv-hero.wide .pv-copy { width: auto; justify-self: stretch; }
  .pv-hero, .pv-hero.wide { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 128px; padding-bottom: 40px; gap: 30px; }
  .pv-copy h1, .pv-hero.wide .pv-copy h1 { font-size: clamp(3rem, 15vw, 6.4rem); }
  .pv-lead, .pv-hero.wide .pv-lead { width: 100%; max-width: calc(78svh * var(--r)); justify-self: center; order: -1; }
  .pv-hero .pv-light { width: 130vw; right: -15vw; height: 60%; }
  .pv-mirror { display: none !important; }
  .pv-back { position: absolute; top: 74px; left: var(--edge); margin: 0; }
  .pv-brief { grid-template-columns: minmax(0, 1fr); }
  .pv-next { grid-template-columns: minmax(0, 1fr); padding-top: 54px; gap: 26px; }
  .pv-ni, .pv-ni img { height: 34vh; } .pv-ni img { max-width: 100%; }
}
@media (max-width: 680px) {
  .wl-head { padding: 100px 0 12px; }
  .wl-head .wk-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--edge)); padding: 0 var(--edge); width: calc(100% + 2 * var(--edge)); }
  .wl-head .wk-filters button { flex: none; white-space: nowrap; min-height: 44px; }
  .wl-cap { padding-top: 10px; }
  .pv-reel { width: 100%; }
  .pv-mix, .pv-mix.flip { grid-template-columns: 1fr 1fr; }
  .pv-mix .pv-shot:first-child, .pv-mix.flip .pv-shot:first-child { grid-column: 1 / -1; grid-row: auto; }
  .pv-row { flex-wrap: wrap; }
  .pv-row .pv-shot { flex: 1 0 40%; max-width: none; }
  .pv-row .pv-shot:first-child:nth-last-child(odd) { flex-basis: 100%; }
  .pv-do a { width: 100%; justify-content: center; }
  .pv-a { top: auto; bottom: 14px; } .pv-a.prev { left: auto; right: 80px; }
  .pv-box img { max-width: 100vw; max-height: 78dvh; }
}
@media (prefers-reduced-motion: reduce) {
  .wl *, .pv * { animation: none !important; transition: none !important; }
  .wl-art img, .pv-shot img { filter: none !important; }
}
