/* Szklarz Toruń na komponentach koncepcji 25 (alusso-film.css). Tylko różnice marki: logo piętrowe zamiast
   poziomego, telefon zamiast koszyka w nagłówku, lista osób w kontakcie. Kolory z tokenów --film-*. */

[data-brand="szklarz"] .l-logo { height: 30px; }
[data-brand="szklarz"] .l-top__logo .l-logo { height: 52px; }
[data-brand="szklarz"] .l-brand .l-logo { height: 36px; }
[data-brand="szklarz"] .l-catbar__logo .l-logo { height: 24px; }
[data-brand="szklarz"] .l-minifoot .l-logo { height: 22px; }
[data-brand="szklarz"] .l-wfoot__brand .l-logo { height: 40px; }
[data-brand="szklarz"] .l-cart__label { font-family: var(--font-mono); letter-spacing: 0; }

.l-people { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 1px; max-width: 420px; border: 1px solid var(--film-line); border-radius: var(--film-r-m); overflow: hidden; background: var(--film-line); }
.l-people li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 16px; background: var(--film-bg-2); }
.l-people b { font-weight: 600; }
.l-people span { grid-row: 2; font: 400 12px/1.4 var(--font-mono); color: var(--film-ink-3); text-transform: lowercase; }
.l-people a { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 500 16px/1 var(--font-mono); color: var(--film-acc-l); text-decoration: none; }
.l-people a:hover { text-decoration: underline; }

/* Spot (scena 01): duże logo na środku każdego ujęcia. Siedzi w .l-cap, więc wchodzi i gaśnie razem z napisem
   (js/alusso-film.js), a stoi 40px nad napisem ujęcia (bottom: 100% = góra napisu). Wysokość 300px (decyzja
   klienta), ale nie więcej, niż mieści się między nagłówkiem a napisem (100svh − 360px), więc na niskich ekranach maleje.
   Cień trzyma białe logo czytelnym także na jasnym kadrze. */
[data-brand="szklarz"] .l-cap__logo { position: absolute; left: 50%; bottom: calc(100% + 40px); width: auto; height: min(300px, calc(100svh - 360px)); translate: -50% 0; pointer-events: none; transform-origin: 50% 100%;
  filter: invert(1) drop-shadow(0 0 24px rgba(0, 0, 0, .7)) drop-shadow(0 2px 6px rgba(0, 0, 0, .55)); }

/* Spot, ujęcie 04 „Realizacje”: podzielony ekran, 4 pionowe tafle ze zdjęciami z albumów (2×2 na telefonie).
   Tafle odsłaniają się po kolei (na przemian z dołu i z góry), zdjęcie w środku powoli się oddala, a po
   odsłonięciu przez każdą tafle przechodzi odblask jak po szkle. Animacje ruszają, gdy JS doda ujęciu .is-on
   (przy każdym okrążeniu od nowa), i stoją razem z pauzą spotu (.is-paused). */
.l-split { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--film-black); }
.l-split__p { position: relative; overflow: hidden; clip-path: inset(100% 0 0 0); }
.l-split__p:nth-child(even) { clip-path: inset(0 0 100% 0); }
.l-split__p img { width: 100%; height: 100%; object-fit: cover; max-width: none; filter: brightness(.8) saturate(.95); }
.l-split__p::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, 0) 62%) 0 0 / 300% 100% no-repeat; }
.l-split__t { position: absolute; left: 16px; top: 112px; display: flex; align-items: baseline; gap: 9px; padding: 8px 12px; border-radius: var(--film-r); background: rgba(10, 12, 11, .72); font: 400 10px/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--film-ink); opacity: 0; }
.l-split__t b { font: 500 11px/1 var(--font-mono); letter-spacing: .04em; color: var(--film-acc-l); }
.l-shot.is-on .l-split__p { animation: l-split-up 1.1s var(--film-ease-out) calc(.2s + var(--i) * .18s) both; }
.l-shot.is-on .l-split__p:nth-child(even) { animation-name: l-split-down; }
.l-shot.is-on .l-split__p img { animation: l-split-zoom 7.5s cubic-bezier(.2, .6, .2, 1) calc(.2s + var(--i) * .18s) both; }
.l-shot.is-on .l-split__p::after { animation: l-split-glint 1.6s ease-in-out calc(1.5s + var(--i) * .14s) both; }
.l-shot.is-on .l-split__t { animation: l-split-label .8s var(--film-ease-out) calc(1.1s + var(--i) * .18s) both; }
.is-paused .l-split__p, .is-paused .l-split__p img, .is-paused .l-split__p::after, .is-paused .l-split__t { animation-play-state: paused; }
@keyframes l-split-up { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes l-split-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes l-split-zoom { from { transform: scale(1.2); } to { transform: scale(1.02); } }
@keyframes l-split-glint { 0% { opacity: 1; background-position: 100% 0; } 100% { opacity: 1; background-position: 0 0; } }
@keyframes l-split-label { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Spot: „Zobacz nasze realizacje” w prawym dolnym rogu, w wolnej trzeciej kolumnie .l-fbar (ten sam rząd co pauza
   i „przewiń”). Szklana pigułka jak .l-menu-btn, kółko ze strzałką w akcencie; siedzi w sekcji spotu (pod
   .l-view__shade), więc znika razem ze sceną 01. */
.l-spot-go { position: absolute; z-index: 7; right: 40px; bottom: 30px; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 0 6px 0 18px; border: 1px solid var(--film-line-2); border-radius: 22px; background: rgba(10, 12, 11, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 400 10.5px/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--film-ink); text-decoration: none; transition: border-color .25s, background-color .25s; }
.l-spot-go__i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--film-acc-l); color: var(--film-acc-l); transition: background-color .25s, color .25s; }
.l-spot-go__i svg { width: 13px; height: 13px; transition: transform .25s var(--film-ease-out); }
.l-spot-go:hover, .l-site .l-spot-go:focus-visible { border-color: var(--film-acc-l); background: rgba(10, 12, 11, .72); outline: none; }
.l-spot-go:hover .l-spot-go__i, .l-spot-go:focus-visible .l-spot-go__i { background: var(--film-acc-l); color: var(--film-on-acc); }
.l-spot-go:hover svg, .l-spot-go:focus-visible svg { transform: translateX(2px); }
.l-spot-go__short { display: none; }

@media (max-width: 760px) {
  .l-spot-go { right: 12px; bottom: 16px; gap: 10px; min-height: 40px; padding: 0 4px 0 14px; font-size: 9.5px; letter-spacing: .14em; }
  .l-spot-go__i { width: 30px; height: 30px; }
  .l-split { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
  .l-split__t { display: none; }
  .l-spot-go__long { display: none; }
  .l-spot-go__short { display: inline; }
  [data-brand="szklarz"] .l-cap__logo { bottom: calc(100% + 32px); width: min(calc(100vw - 48px), 420px); height: auto; max-height: calc(100svh - 300px); object-fit: contain; }
  [data-brand="szklarz"] .l-top__logo .l-logo { height: 36px; }
  [data-brand="szklarz"] .l-brand .l-logo { height: 26px; }
}

/* Realizacje: galeria działu (siatka zdjęć z albumów pracowni) i powiększenie l-lb (js/szklarz-galeria.js). */
.l-albums .l-card__img { aspect-ratio: 4 / 5; }
.l-gallery { padding-bottom: 72px; }
.l-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 8px; }
.l-photos a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--film-r); background: var(--film-panel); }
.l-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--film-ease-out); }
.l-photos a:hover img { transform: scale(1.04); }
.l-photos a:focus-visible { outline: 2px solid var(--film-acc-l); outline-offset: 2px; }
.l-gallery__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.l-gallery__count { margin: 0 auto 0 0; font: 400 12px/1.4 var(--font-mono); color: var(--film-ink-2); }
.l-gallery__foot [aria-busy="true"] { opacity: .6; pointer-events: none; }

.l-lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(var(--film-scrim), .97); color: var(--film-ink); }
.l-lb::backdrop { background: transparent; }
.l-lb[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.l-lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 64px 88px 8px; touch-action: pan-y; }
.l-lb__stage img { max-width: 100%; max-height: calc(100dvh - 128px); object-fit: contain; border-radius: var(--film-r); transition: opacity .2s; user-select: none; }
.l-lb.is-loading .l-lb__stage img { opacity: .35; }
.l-lb__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0; padding: 14px var(--film-gut) 18px; font: 400 12px/1.4 var(--font-mono); color: var(--film-ink-2); }
.l-lb__bar b { font-weight: 400; color: var(--film-ink); }
.l-lb__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; padding: 0; display: grid; place-items: center; border: 1px solid var(--film-line-2); border-radius: 50%; background: rgba(var(--film-scrim), .55); color: var(--film-ink); cursor: pointer; transition: border-color .15s, color .15s; }
.l-lb__btn:hover, .l-lb__btn:focus-visible { border-color: var(--film-acc-l); color: var(--film-acc-l); }
.l-lb__btn svg { width: 18px; height: 18px; }
.l-lb__prev { left: 20px; }
.l-lb__next { right: 20px; }
.l-lb__close { top: 12px; right: 20px; transform: none; }

@media (max-width: 760px) {
  .l-photos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; }
  .l-gallery { padding-bottom: 48px; }
  .l-lb__stage { padding: 60px 8px 8px; }
  .l-lb__btn { width: 42px; height: 42px; }
  .l-lb__prev, .l-lb__next { top: auto; bottom: 16px; transform: none; }
  .l-lb__prev { left: 12px; }
  .l-lb__next { right: 12px; }
  .l-lb__close { right: 12px; }
}
