/* Resonika 1.9.3 - Mural: report + inline 4x5 gallery, backstage video lightbox. */

html body .res-project-document .res-mural-unveiling {
  display:grid !important;
  grid-template-columns:minmax(0,.92fr) minmax(500px,1.08fr);
  column-gap:clamp(30px,4.5vw,78px);
  row-gap:clamp(22px,2.5vw,34px);
  align-items:start;
  padding-top:clamp(56px,7vw,100px);
  border-top:1px solid var(--line);
}

html body .res-project-document .res-mural-unveiling > .res-mural-report-title {
  grid-column:1 / -1;
  margin:0;
}

html body .res-project-document .res-mural-unveiling > .res-mural-report-copy {
  grid-column:1;
  max-width:none;
  margin:0;
}

html body .res-project-document .res-mural-unveiling > .res-mural-event-gallery-inline {
  grid-column:2;
  grid-row:2;
  align-self:start;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}

html body .res-project-document .res-mural-event-gallery-inline .res-event-gallery-head { display:none; }
html body .res-project-document .res-mural-event-gallery-inline .res-event-gallery { width:100%; }
html body .res-project-document .res-mural-event-gallery-inline .res-event-gallery-grid,
html body .res-project-document .res-mural-event-gallery-inline .res-event-gallery-placeholder-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
}

html body .res-project-document .res-mural-event-gallery-inline .res-gallery-tile,
html body .res-project-document .res-mural-event-gallery-inline .res-event-gallery-placeholder-grid > span {
  aspect-ratio:1 / 1;
  min-width:0;
}

html body .res-project-document .res-mural-event-gallery-inline .res-gallery-tile img {
  width:100%;
  height:100%;
  object-fit:cover;
}

html body .res-project-document .res-mural-event-gallery-inline .res-event-gallery-placeholder-grid > span {
  display:grid;
  place-items:center;
  border:1px dashed rgba(245,242,237,.24);
  background:rgba(245,242,237,.035);
  color:rgba(245,242,237,.32);
  font:500 9px/1 var(--res-font-menu,'Courier New',monospace);
}

html body .res-project-document .res-mural-event-gallery-inline .res-gallery-empty-inline {
  display:flex;
  min-height:0;
  margin-top:8px;
  padding:12px 0 0;
  border:0;
  border-top:1px solid rgba(245,242,237,.15);
  justify-content:space-between;
  gap:20px;
}

html body .res-project-document .res-mural-event-gallery-inline .res-event-gallery-credit {
  margin:14px 0 0;
  padding-top:10px;
  border-top:1px solid rgba(245,242,237,.15);
  text-align:right;
}

html body .res-project-document .res-mural-local-video {
  width:100%;
  margin-top:clamp(70px,9vw,138px);
  margin-bottom:clamp(64px,8vw,116px);
  padding-top:clamp(54px,7vw,96px);
  border-top:1px solid var(--line);
}

html body .res-local-video-block {
  display:grid;
  grid-template-columns:minmax(300px,.74fr) minmax(480px,1.26fr);
  gap:clamp(34px,6vw,100px);
  align-items:center;
  width:100%;
}

html body .res-local-video-head {
  position:static;
  padding:0;
}

html body .res-local-video-head h3 {
  max-width:720px;
  margin:14px 0 22px;
  font-family:var(--res-font-display,Arial,sans-serif);
  font-size:clamp(42px,5.3vw,82px);
  font-weight:650;
  line-height:.88;
  letter-spacing:-.055em;
  text-transform:uppercase;
  color:#f5f2ed;
}

html body .res-local-video-description {
  max-width:680px;
  margin:0;
  color:#d1cbc2;
  font:400 clamp(16px,1.35vw,20px)/1.7 var(--res-font-body,Arial,sans-serif);
}

html body .res-local-video-media { min-width:0; }

html body .res-local-video-trigger,
html body .res-local-video-frame {
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  overflow:hidden;
  padding:0;
  border:1px solid rgba(245,242,237,.24);
  border-radius:0;
  background:#090909;
  color:#f5f2ed;
}

html body button.res-local-video-trigger {
  appearance:none;
  cursor:pointer;
  text-align:inherit;
}

html body .res-local-video-trigger img,
html body .res-local-video-frame > img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(.78) contrast(1.08) brightness(.56);
  transform:scale(1.002);
  transition:filter .35s ease, transform .55s cubic-bezier(.2,.75,.2,1);
}

html body .res-local-video-trigger::after,
html body .res-local-video-frame::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.18)),linear-gradient(90deg,rgba(0,0,0,.18),transparent 48%);
}

html body .res-local-video-trigger:hover img,
html body .res-local-video-trigger:focus-visible img {
  filter:grayscale(.2) contrast(1.06) brightness(.7);
  transform:scale(1.025);
}

html body .res-local-video-trigger:focus-visible { outline:2px solid #f5f2ed; outline-offset:4px; }

html body .res-local-video-overlay {
  position:absolute;
  z-index:2;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  pointer-events:none;
}

html body .res-local-video-overlay i {
  position:relative;
  display:block;
  width:68px;
  height:68px;
  border:1px solid rgba(245,242,237,.92);
  border-radius:50%;
  background:rgba(0,0,0,.12);
  backdrop-filter:blur(2px);
}

html body .res-local-video-overlay i::after {
  content:"";
  position:absolute;
  left:28px;
  top:23px;
  width:0;
  height:0;
  border-top:10px solid transparent;
  border-bottom:10px solid transparent;
  border-left:15px solid #f5f2ed;
}

html body .res-local-video-overlay b {
  font:500 10px/1.2 var(--res-font-menu,'Courier New',monospace);
  letter-spacing:.08em;
  text-transform:uppercase;
  text-shadow:0 2px 14px rgba(0,0,0,.7);
}

html body .res-local-video-editor-empty {
  position:absolute;
  z-index:3;
  inset:auto 18px 18px;
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:12px 14px;
  border:1px dashed rgba(245,242,237,.38);
  background:rgba(0,0,0,.72);
  color:#f5f2ed;
  text-align:left;
}

html body .res-local-video-editor-empty strong {
  font:600 11px/1.2 var(--res-font-menu,'Courier New',monospace);
  letter-spacing:.08em;
  text-transform:uppercase;
}

html body .res-local-video-editor-empty span,
html body .res-local-video-caption {
  font:400 10px/1.55 var(--res-font-menu,'Courier New',monospace);
  letter-spacing:.035em;
  color:#aaa298;
}

html body .res-local-video-caption {
  margin:12px 0 0;
  padding-top:10px;
  border-top:1px solid rgba(245,242,237,.15);
}

.res-video-lightbox {
  position:fixed;
  z-index:100050;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:clamp(18px,4vw,54px);
  background:rgba(0,0,0,.94);
  backdrop-filter:blur(10px);
}

.res-video-lightbox.is-open { display:flex; }
.res-video-lightbox-stage {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:min(100%,1040px);
  height:min(90vh,940px);
}
.res-video-lightbox video {
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:88vh;
  background:#000;
  box-shadow:0 28px 90px rgba(0,0,0,.48);
}
.res-video-lightbox-close {
  position:fixed;
  right:18px;
  top:18px;
  width:46px;
  height:46px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:50%;
  background:rgba(0,0,0,.5);
  color:#fff;
  font:300 28px/1 Arial,sans-serif;
  cursor:pointer;
}
.res-video-lightbox-close:hover,
.res-video-lightbox-close:focus-visible { background:#fff; color:#111; outline:0; }
body.res-video-lightbox-open { overflow:hidden; }

@media (max-width:1100px) {
  html body .res-project-document .res-mural-unveiling {
    grid-template-columns:1fr;
  }
  html body .res-project-document .res-mural-unveiling > .res-mural-report-title,
  html body .res-project-document .res-mural-unveiling > .res-mural-report-copy,
  html body .res-project-document .res-mural-unveiling > .res-mural-event-gallery-inline {
    grid-column:1;
    grid-row:auto;
  }
  html body .res-project-document .res-mural-event-gallery-inline { margin-top:18px; }
  html body .res-local-video-block { grid-template-columns:1fr; }
}

@media (max-width:720px) {
  html body .res-project-document .res-mural-event-gallery-inline .res-event-gallery-grid,
  html body .res-project-document .res-mural-event-gallery-inline .res-event-gallery-placeholder-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
  }
  html body .res-project-document .res-mural-event-gallery-inline .res-event-gallery-credit { text-align:left; }
  html body .res-local-video-head h3 { font-size:clamp(40px,13vw,64px); }
  html body .res-local-video-trigger,
  html body .res-local-video-frame { aspect-ratio:4 / 3; }
  .res-video-lightbox { padding:12px; }
  .res-video-lightbox-close { right:10px; top:10px; }
}
