/* FeliFam V4.9 — remove project-photo letterboxing and let NIDO live
   on the page, not inside a mismatched grey photo panel. */

/* Uniform, edge-to-edge project previews. Crop to fill, do not stretch. */
.projects .project-grid{
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 31px 22px;
  align-items: start;
}
.projects .project-photo{
  display: block;
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  background: #e9e3da;
  overflow: hidden;
}
.projects .project-photo img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover !important;
  object-position:50% 50% !important;
  transform:scale(1);
  transition:transform .65s cubic-bezier(.25,.8,.25,1);
}
/* Individual art-direction preserves the subjects while the photo fills the card. */
.projects .project-card:nth-child(1) .project-photo img {object-position: 50% 53% !important;}
.projects .project-card:nth-child(2) .project-photo img {object-position: 50% 50% !important;}
.projects .project-card:nth-child(3) .project-photo img {object-position: 52% 47% !important;}
.projects .project-card:nth-child(4) .project-photo img {object-position: 50% 52% !important;}
.projects .project-card:nth-child(5) .project-photo img {object-position: 50% 57% !important;}
.projects .project-card:nth-child(6) .project-photo img {object-position: 50% 54% !important;}
.projects .project-card:hover .project-photo img,
.projects .project-card:focus-visible .project-photo img {transform:scale(1.035) !important;}
/* Let the actual image show at rest; the detailed overlay appears on intent. */
.projects .project-hover{background:linear-gradient(0deg,rgba(12,40,31,.8),rgba(12,40,31,.14));}

/* NIDO — photo has a light neutral studio backdrop. Brighten that neutral
   to white and multiply it into the cream page ground; actual NIDO pieces
   remain from the original manufacturer's composition. */
.collection{
  background: #eee6dc;
  padding-top:clamp(52px,5.2vw,78px);
  padding-bottom:clamp(52px,5.2vw,76px);
}
.collection .collection-grid{
  width:min(calc(100% - 80px),1440px);
  grid-template-columns:minmax(300px,.76fr) minmax(0,1.24fr);
  gap:clamp(28px,4.4vw,76px);
  align-items:center;
  margin-inline:auto;
}
.collection .collection-copy{max-width:515px;justify-self:start;}
.collection .collection-copy h2{font-size:clamp(54px,5.3vw,88px);}
.collection .collection-visual{
  display:block;
  width:100%;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  background:transparent !important;
  overflow:visible !important;
  position:relative;
  justify-self:center;
}
.collection .collection-visual img{
  display:block;
  width:100%;
  height:auto !important;
  max-height:none !important;
  object-fit:contain;
  object-position:center center;
  mix-blend-mode:multiply;
  filter:brightness(1.105) contrast(1.005);
  transform:none !important;
  transition:filter .4s ease;
}
.collection .collection-visual:hover img{filter:brightness(1.105) contrast(1.005) saturate(1.05);transform:none !important;}
.collection .collection-stamp{
  position:static;
  display:table;
  margin:5px auto 0;
  padding:8px 13px;
  background:transparent;
  border-top:1px solid rgba(66,85,76,.2);
  color:#526257;
  font-size:10px;
  text-align:center;
}
.collection .nido-nav{
  width:min(calc(100% - 80px),1440px);
  margin:26px auto 0;
}

@media (max-width:1050px){
  .projects .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .collection .collection-grid{width:calc(100% - 52px);grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;}
  .collection .nido-nav{width:calc(100% - 52px);}
}
@media (max-width:760px){
  .projects .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px;}
  .projects .project-photo{height:auto;aspect-ratio:4/3;}
  .collection .collection-grid{grid-template-columns:1fr;width:calc(100% - 36px);gap:12px;}
  .collection .collection-copy{max-width:none;}
  .collection .collection-copy h2{font-size:clamp(50px,10vw,69px);}
  .collection .collection-visual{width:100%;}
  .collection .nido-nav{width:calc(100% - 36px);margin-top:19px;}
}
@media (max-width:420px){
  .projects .project-grid{grid-template-columns:1fr;gap:25px;}
  .projects .project-photo{height:auto;aspect-ratio:4/3;}
  .collection .collection-grid,.collection .nido-nav{width:calc(100% - 30px);}
}
@media (prefers-reduced-motion:reduce){
  .projects .project-photo img{transition:none;}
}
