
/* Projects v23 — symmetric project cards */
#projects .projects-grid{
  align-items:stretch!important;
}
#projects .feature-card{
  display:grid!important;
  grid-template-rows:380px minmax(300px,1fr)!important;
  height:100%!important;
  overflow:hidden!important;
}
#projects .feature-card > .feature-visual{
  height:380px!important;
  min-height:380px!important;
  max-height:380px!important;
  margin:0!important;
}
#projects .feature-card > div:not(.feature-visual){
  padding:34px 38px 36px!important;
  position:relative!important;
  z-index:3!important;
  background:#fff!important;
  min-height:300px!important;
}
#projects .feature-card h3{
  margin-top:14px!important;
}
.project-carousel{
  position:relative;
  overflow:hidden;
  background:#111;
}
.project-slide{
  position:absolute;
  inset:0;
  margin:0;
  opacity:0;
  transition:opacity .65s ease;
}
.project-slide.is-active{
  opacity:1;
  z-index:2;
}
.project-slide img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.project-slide figcaption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:20px 24px 17px;
  color:#fff;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.82) 100%);
  display:flex;
  flex-direction:column;
  gap:4px;
}
.project-slide figcaption strong{
  font-size:1.05rem;
  line-height:1.15;
}
.project-slide figcaption span{
  font-size:.93rem;
  line-height:1.2;
}
.project-slide figcaption small{
  font-size:.72rem;
  line-height:1.3;
  opacity:.9;
}
.feature-soon{
  display:inline-block;
  margin-top:18px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  position:relative;
  padding-bottom:6px;
}
.feature-soon::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:3px;
  background:#f2c500;
}
@media(max-width:900px){
  #projects .feature-card{
    grid-template-rows:320px auto!important;
  }
  #projects .feature-card > .feature-visual{
    height:320px!important;
    min-height:320px!important;
    max-height:320px!important;
  }
  #projects .feature-card > div:not(.feature-visual){
    min-height:0!important;
  }
}
@media(max-width:640px){
  #projects .feature-card{
    grid-template-rows:280px auto!important;
  }
  #projects .feature-card > .feature-visual{
    height:280px!important;
    min-height:280px!important;
    max-height:280px!important;
  }
  #projects .feature-card > div:not(.feature-visual){
    padding:26px 24px 30px!important;
  }
  .project-slide figcaption{
    padding:15px 16px 13px;
  }
}


/* Services v25 — visual cards with rotating figures */
#services .services-headline{margin-bottom:34px}
#services .services-rich-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
#services .service-card-rich{display:grid;grid-template-rows:260px auto;background:#fff;border:1px solid var(--gray-300);overflow:hidden;min-height:100%;box-shadow:0 10px 30px rgba(0,0,0,.04)}
#services .service-visual{position:relative;background:#f7f7f7;border-bottom:1px solid var(--gray-300);overflow:hidden}
#services .service-slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .6s ease;background:#fafafa}
#services .service-slide.is-active{opacity:1;z-index:2}
#services .service-slide img{width:100%;height:100%;object-fit:contain;display:block;background:#fff}
#services .service-card-copy{padding:24px 24px 28px}
#services .service-card-copy h3{font-size:1.32rem;text-transform:uppercase;margin:0 0 12px;line-height:1.12}
#services .service-card-copy p{margin:0;color:var(--gray-700);line-height:1.7}
@media(max-width:1100px){
  #services .services-rich-grid{grid-template-columns:1fr;gap:22px}
  #services .service-card-rich{grid-template-rows:280px auto}
}
@media(max-width:640px){
  #services .service-card-rich{grid-template-rows:220px auto}
  #services .service-card-copy{padding:20px 20px 24px}
  #services .service-card-copy h3{font-size:1.18rem}
}


.collaboration-section {
  background: #eceeef;
}
.collaboration-map-frame {
  width: 100%;
  height: min(54vh, 540px);
  min-height: 405px;
  overflow: hidden;
  border-radius: 18px;
  background: #dfe2e3;
  border: 1px solid rgba(16, 34, 48, .10);
  box-shadow: 0 14px 34px rgba(16, 34, 48, .08);
}
.collaboration-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 720px) {
  .collaboration-map-frame {
    height: 420px;
    min-height: 375px;
    border-radius: 14px;
  }
}
