#nd-showcase {
  margin-top: 2.75rem;
}
#nd-showcase .nd-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}
#nd-showcase .nd-showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c9ff2f;
  opacity: .95;
}
#nd-showcase .nd-showcase-eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: rgba(201,255,47,.6);
}
#nd-showcase h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.08;
  color: #fff;
}
#nd-showcase p {
  margin: 0;
  max-width: 760px;
  color: rgba(235,239,244,.72);
  line-height: 1.7;
}
.nd-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .75rem;
}
.nd-showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20,24,28,.95), rgba(8,11,15,.98));
  border: 1px solid rgba(201,255,47,.14);
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
}
.nd-showcase-button {
  display: block;
  width: 100%;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.nd-album-collage {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #05070a;
}
.nd-album-tile { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #080b0e; }
.nd-album-tile:first-child { grid-row: 1 / 3; }
.nd-album-count-1 .nd-album-tile:first-child { grid-column: 1 / 3; }
.nd-album-count-2 { grid-template-rows: 1fr; }
.nd-album-count-2 .nd-album-tile:first-child { grid-row: 1; }
.nd-album-count-3 .nd-album-tile:first-child,
.nd-album-count-4 .nd-album-tile:first-child { grid-row: 1 / 3; }
.nd-album-count-4 { grid-template-columns: 1.35fr 1fr 1fr; }
.nd-album-count-4 .nd-album-tile:nth-child(2) { grid-row: 1 / 3; }
.nd-album-collage img,
.nd-album-collage video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, filter .4s ease; }
.nd-showcase-button:hover .nd-album-collage img,
.nd-showcase-button:hover .nd-album-collage video { transform: scale(1.025); filter: brightness(.88); }
.nd-album-more { position:absolute; inset:0; display:grid; place-items:center; color:#fff; background:rgba(0,0,0,.62); font-size:clamp(1.5rem,3vw,2.6rem); font-weight:900; text-shadow:0 2px 14px #000; }
.nd-project-copy { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; padding:1rem; }
.nd-project-copy>div { display:grid; gap:.3rem; min-width:0; }
.nd-project-copy strong { color:#fff; font-size:.98rem; line-height:1.25; }
.nd-project-copy span:not(.nd-showcase-chip) { color:rgba(255,255,255,.62); font-size:.78rem; line-height:1.45; }
.nd-showcase-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #05070a;
}
.nd-showcase-card img,
.nd-showcase-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, filter .45s ease;
}
.nd-showcase-button:hover img,
.nd-showcase-button:focus-visible img,
.nd-showcase-button:hover video,
.nd-showcase-button:focus-visible video {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}
.nd-showcase-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.72));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: .8rem;
}
.nd-showcase-caption {
  display: grid;
  gap: .3rem;
}
.nd-showcase-caption strong {
  font-size: .98rem;
  line-height: 1.2;
  color: #fff;
}
.nd-showcase-caption span {
  font-size: .83rem;
  color: rgba(255,255,255,.72);
}
.nd-video-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #0b0d0f;
  background: #c9ff2f;
  box-shadow: 0 10px 30px rgba(0,0,0,.38);
}
.nd-showcase-chip {
  flex-shrink: 0;
  padding: .42rem .62rem;
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d9ff5c;
  background: rgba(8,11,15,.75);
  border: 1px solid rgba(201,255,47,.22);
}
.nd-gallery-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.4rem;
}
.nd-gallery-more a {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .88rem 1.2rem;
  border-radius: 999px;
  color: #0b0d0f;
  background: #c9ff2f;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-decoration: none;
}
.nd-gallery-more a:hover { background: #dcff74; }
.nd-gallery-more small { color: rgba(235,239,244,.58); }
.nd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(3,6,10,.9);
  backdrop-filter: blur(8px);
}
.nd-lightbox.is-open { display: flex; }
.nd-lightbox-inner {
  position: relative;
  width: min(1200px, 96vw);
  max-height: 94vh;
}
.nd-lightbox img,
.nd-lightbox video {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 18px;
  background: #06080c;
  display: block;
}
.nd-lightbox-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(5,8,12,.72);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.nd-lightbox-prev,
.nd-lightbox-next { position:absolute; top:50%; z-index:2; transform:translateY(-50%); display:grid; place-items:center; width:48px; height:48px; border:1px solid rgba(255,255,255,.18); border-radius:50%; color:#fff; background:rgba(5,8,12,.76); font-size:1.2rem; cursor:pointer; }
.nd-lightbox-prev { left:.8rem; }
.nd-lightbox-next { right:.8rem; }
.nd-lightbox-caption {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  align-items: center;
  padding: .9rem .35rem 0;
  color: #fff;
}
.nd-lightbox-caption strong {
  display: block;
  margin-bottom: .2rem;
}
.nd-lightbox-caption span,
.nd-lightbox-caption small {
  color: rgba(255,255,255,.68);
}
@media (max-width: 1100px) {
  #nd-showcase .nd-showcase-head { grid-template-columns: 1fr; }
  .nd-showcase-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  #nd-showcase { margin-top: 2rem; }
  .nd-showcase-grid { grid-template-columns: 1fr; gap: .85rem; }
  .nd-showcase-card { border-radius: 18px; }
  .nd-showcase-image-wrap { aspect-ratio: 16 / 12; }
  .nd-showcase-overlay { padding: 1.75rem .85rem .85rem; }
  .nd-showcase-caption span { display: none; }
  .nd-gallery-more { flex-direction: column; }
  .nd-lightbox-caption { flex-direction: column; align-items: flex-start; }
  .nd-album-collage { aspect-ratio: 16 / 11; }
  .nd-project-copy { padding:.85rem; }
  .nd-project-copy span:not(.nd-showcase-chip) { display:none; }
  .nd-lightbox-prev,.nd-lightbox-next { top:auto; bottom:5.2rem; transform:none; }
}
