:root{
  --pad:72px;
  --gap-x:90px;
  --gap-y:120px;
  --text:#111;
  --muted:#444;
  --line:#d7d7d7;

}
*{ box-sizing:border-box; }
html{ overflow-y:scroll; }
html.lightbox-open{ overflow:hidden; }
body{
  margin:0;
  font-family:Roboto, system-ui, Arial, sans-serif;
  font-weight:400;
  color:var(--text);
  background:#fff;
}
body.lightbox-open{ overflow:hidden; }
.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:#fff;
  padding:24px var(--pad) 18px;
}
.site-header-top{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap:48px;
}
.site-header-inner{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.top-nav{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin:0;
}

.filter-bar{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:18px;
}
.brand{
  color:var(--text);
  text-decoration:none;
  letter-spacing:.08em;
  font-size:20px;
  line-height:1;
}
.top-nav{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}
.top-nav a,
.filter-pill{
  color:var(--text);
  text-decoration:none;
  font-size:18px;
  background:none;
  border:0;
  padding:0;
  font-family:inherit;
  cursor:pointer;
}
.top-nav a.active,
.filter-pill.active{ font-weight:700; }
.filter-bar{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:18px;
}
.site-main{ padding:0 var(--pad) 80px; }
.grid{
  column-count:4;
  column-gap:var(--gap-x);
  margin-top:30px;
}
.tile{
  break-inside:avoid;
  margin:0 0 var(--gap-y);
  cursor:pointer;
}
.tile--text{ cursor:default; }
.tile--span-2{
  column-span:all;
  width:calc(50% - (var(--gap-x) / 2));
}
.tile-media{
  width:100%;
  display:block;
  background:#fff;
}
.tile-media img,
.tile-media video{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.tile-title{
  margin:14px 0 14px;
  font-size:16px;
  line-height:1.25;
  text-transform:uppercase;
  font-weight:700;
}
.tile-meta-lines,
.lb-meta,
.lb-text{
  font-size:16px;
  line-height:1.5;
}
.tile-meta-lines > div + div,
.lb-meta > div + div{ margin-top:4px; }
.tile-meta-lines a,
.lb-meta a,
.lb-text a{ color:inherit; text-decoration:underline; }
strong{ font-weight:700; }
em{ font-style:italic; }
.lightbox{
  border:0;
  padding:0;
  margin:auto;
  width:100vw;
  height:100vh;
  max-width:none;
  max-height:none;
  background:#fff;
}
.lightbox::backdrop{ background:rgba(255,255,255,.98); }
.lb-shell,
.lb-scroller{ width:100%; height:100%; }
.lb-scroller{ overflow:auto; }
.lb-stage{ padding:18px 0 34px; }
.lb-close,
.iframe-close{
  position:fixed;
  z-index:40;
  top:24px;
  right:24px;
  width:37px;
  height:37px;
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:transparent;
  box-shadow:none;
  outline:none;
  border-radius:0;
  padding:0;
  cursor:pointer;
}

.meta-filter-link{
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.lb-close:focus,
.lb-close:focus-visible,
.iframe-close:focus,
.iframe-close:focus-visible{
  outline:none;
  box-shadow:none;
}

.lb-close img,
.iframe-close img{
  display:block;
  width:100%;
  height:100%;
  border:0;
  box-shadow:none;
  background:transparent;
}
.lb-media-stack,
.lb-media-rest{
  width:100%;
  padding:0 76px;
}
.lb-media-item + .lb-media-item{ margin-top:56px; }
.lb-media-item{
  display:flex;
  justify-content:center;
  align-items:center;
}

.lb-media-item img,
.lb-media-item video{
  display:block;
  width:auto;
  max-width:100%;
  height:calc(100vh - 120px);
  max-height:calc(100vh - 120px);
  background:#fff;
  object-fit:contain;
}
.lb-info{
  max-width:860px;
  margin:20px auto 0;
  padding:0 24px 34px;
}
.lb-title{
  margin:0 0 12px;
  font-size:18px;
  line-height:1.2;
  text-transform:uppercase;
  font-weight:700;
}
.lb-text{ margin-top:12px; }
.iframe-lightbox{
  border:0;
  padding:0;
  width:100vw;
  height:100vh;
  max-width:none;
  max-height:none;
  background:#fff;
}
.iframe-lightbox::backdrop{ background:rgba(255,255,255,.98); }
.iframe-shell,
.iframe-wrap{ width:100%; height:100%; }
.iframe-wrap{ padding:20px; }
.iframe-frame{ width:100%; height:100%; border:0; background:#fff; }

@media (max-width:1440px){
  :root{ --pad:52px; --gap-x:54px; --gap-y:86px; }
  .grid{ column-count:3; }
}
@media (orientation:portrait) and (min-width:701px) and (max-width:1100px){
  .grid{ column-count:2; }
}
@media (orientation:portrait){
  .lb-media-item img,
  .lb-media-item video{
    width:100%;
    max-width:100%;
    height:auto;
    max-height:none;
  }
}
@media (max-width:700px){
  :root{ --pad:18px; --gap-x:28px; --gap-y:58px; }
  .site-header{ padding:22px var(--pad) 14px; }
  .site-header-top{ flex-direction:column; gap:12px; }
  .brand{ font-size:18px; }
  .top-nav a, .filter-pill{ font-size:16px; }
  .grid{ column-count:1; }
  .tile,
  .tile--span-2{ width:80% !important; margin:0 auto var(--gap-y); }
  .lb-close,
  .iframe-close{ top:8px; right:8px; width:40px; height:40px; }
  .lb-stage{ padding:52px 0 28px; }
  .lb-media-stack,
  .lb-media-rest{ padding:0; }
  .lb-info{ margin:0; padding:0 18px 28px; }
  .iframe-wrap{ padding:18px 10px 10px; }
    .lb-media-item img,
  .lb-media-item video{
    width:100%;
    max-width:100%;
    height:auto;
    max-height:none;
  }
}
