/* FeliFam V5.8 — home-only corrections from the 07.11 client document.
   Site-wide components and all other page layouts remain untouched. */

/* 01 / Room photo replaces the old portrait. Frame follows the actual new image. */
.philosophy .philosophy-grid{
  grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);
  gap:clamp(28px,5.1vw,86px);
  align-items:center;
}
.philosophy .image-holder{
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  min-height:0;
  aspect-ratio:1.22 / 1;
  margin:0;
  overflow:hidden;
  background:#ece4da;
}
.philosophy .image-holder img{
  display:block;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center center;
  filter:none;
}
.philosophy .image-tag{bottom:14px;right:14px}

/* 02 / Fixed arrow anchoring for both equal category cards. */
.spaces .space-overlay{position:absolute;isolation:isolate}
.spaces .space-overlay h3{padding-right:42px}
.spaces .space-overlay h3::after{content:none!important}
.spaces .space-arrow{
  position:absolute;
  z-index:3;
  right:clamp(20px,2.2vw,32px);
  bottom:clamp(24px,2.3vw,34px);
  width:40px;height:40px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:50%;
  display:grid;place-items:center;
  font:400 23px/1 "Open Sans",sans-serif;
  color:#fff;
  background:rgba(18,49,39,.16);
  transition:background .3s ease,transform .3s ease;
}
.spaces .space-card:is(:hover,:focus-visible) .space-arrow{
  background:rgba(255,255,255,.2);
  transform:translate(2px,-2px);
}

/* 03 / Requested closer crop of the real materials photo (not stretched). */
.materials .materials-compact{
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
  grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr)!important;
  gap:clamp(16px,2vw,30px);
  align-items:stretch;
}
.materials .materials-compact .material-primary{
  width:100%!important;
  aspect-ratio:1 / 1!important;
  height:auto!important;
  min-height:0!important;
  max-height:580px!important;
  align-self:stretch;
  overflow:hidden;
  background:#e9e2d7;
}
.materials .materials-compact .material-primary img{
  display:block;width:100%;height:100%;
  object-fit:cover!important;
  object-position:center 52%!important;
  transform:none!important;
}
.materials .materials-side{min-width:0;align-content:center;grid-template-rows:auto auto}

/* 04 / All four publications get the same-sized visual frame. */
.about .recognition .recognition-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(12px,1.5vw,22px);
  align-items:stretch;
}
.about .recognition .recognition-tile{
  width:100%;min-width:0;
  height:100%;
  display:flex;flex-direction:column;
  gap:0;
}
.about .recognition .recognition-tile > div{flex:1;min-width:0}

/* 05 / Two lower project cards use real images #2 and #3, fill equally. */
.projects .project-card:nth-child(5) .project-photo img,
.projects .project-card:nth-child(6) .project-photo img{
  width:100%;height:100%;
  object-fit:cover!important;
  object-position:50% 50%!important;
  max-width:none;max-height:none;
}

/* 06 / Genuine pink details original in the brand-story editorial portrait. */
.about .about-image{
  width:min(100%,460px);
  aspect-ratio:4 / 5;
  height:auto;
  min-height:0;
  overflow:hidden;
  background:#eee6dc;
  margin-inline:auto 0;
}
.about .about-image img{
  display:block;
  width:100%;height:100%;
  object-fit:cover;
  object-position:50% 50%;
}

/* 07 / Editorial closing: latest supplied interior image #5 left, legible copy right. */
.final-cta.final-cta--editorial{
  display:block;
  min-height:0;
  height:auto;
  padding:clamp(54px,6vw,95px) 0;
  background:#f7f3ed;
  border-top:1px solid #e3d8ca;
  overflow:hidden;
}
.final-cta--editorial .final-editorial-grid{
  display:grid;
  grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);
  align-items:center;
  gap:clamp(34px,6vw,100px);
}
.final-cta--editorial .final-editorial-media{
  position:relative;
  aspect-ratio:1.22 / 1;
  overflow:hidden;
  background:#ece5db;
}
.final-cta--editorial .final-editorial-media .final-image{
  display:block;
  position:relative!important;
  inset:auto!important;
  width:100%;height:100%;
  object-fit:cover;
  object-position:50% 50%;
  transform:none;
}
.final-cta--editorial .final-content{
  width:100%;
  margin:0;
  padding:0;
  position:relative;
  min-width:0;
}
.final-cta--editorial .final-content h2{
  color:#1c382f;
  font-size:clamp(38px,3.8vw,66px);
  line-height:1.04;
  max-width:10ch;
  text-wrap:balance;
}
.final-cta--editorial .final-content p{
  color:#737771;
  font-size:clamp(13px,1.05vw,16px);
  line-height:1.75;
  max-width:48ch;
  margin:22px 0 26px;
}
.final-cta--editorial .final-content .overline{color:#b98a5e}
.final-cta--editorial .pill-green{color:#fff}

@media(max-width:1050px){
  .philosophy .philosophy-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
  .materials .materials-compact{grid-template-columns:1fr!important}
  .materials .materials-compact .material-primary{max-height:550px!important;aspect-ratio:1.3 / 1!important}
  .about .recognition .recognition-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .final-cta--editorial .final-editorial-grid{gap:28px}
}
@media(max-width:760px){
  .philosophy .philosophy-grid{grid-template-columns:1fr;gap:20px}
  .philosophy .image-holder{max-width:none;aspect-ratio:5 / 4;height:auto;min-height:0;margin:0}
  .spaces .space-arrow{width:36px;height:36px;right:20px;bottom:20px}
  .spaces .space-overlay h3{padding-right:36px}
  .materials .materials-compact{grid-template-columns:1fr!important;gap:14px}
  .materials .materials-compact .material-primary{aspect-ratio:1.04 / 1!important;max-height:440px!important}
  .about .about-image{width:100%;max-width:400px;aspect-ratio:4 / 5;margin:0 auto}
  .about .recognition .recognition-list{grid-template-columns:1fr!important}
  .about .recognition .recognition-tile{height:auto}
  .final-cta.final-cta--editorial{padding:46px 0 64px}
  .final-cta--editorial .final-editorial-grid{grid-template-columns:1fr;gap:26px}
  .final-cta--editorial .final-editorial-media{aspect-ratio:5 / 4}
  .final-cta--editorial .final-content h2{font-size:clamp(37px,9.3vw,52px);max-width:100%}
  .final-cta--editorial .final-content{padding-bottom:16px}
}
@media (prefers-reduced-motion:reduce){
  .spaces .space-arrow{transition:none}
}
/* Keep the materials editorial within a comfortable desktop scroll height. */
@media (min-width:1060px){
  .materials{padding-top:52px;padding-bottom:48px}
  .materials .materials-head{margin-bottom:24px}
  .materials .materials-compact .material-primary{max-height:510px!important}
}
