/* Pass 24.9. Homepage-only correction. No artwork or existing server/CSS modifications. */
/* The pre-existing .matte transform rotated the entire artwork framing. */
.page-home .home-hero-work .matte {transform:none;}
.page-home .home-hero-work .gold-frame {transform:none;}
.page-home .home-hero-work .gold-frame img {
  display:block; width:100%; height:auto; aspect-ratio:auto;
  object-fit:contain; object-position:center;
}
/* The physical-room image is displayed uncropped, without perspective correction. */
.page-home .featured-story .split-photo {min-width:0;}
.page-home .featured-story .split-photo img {
  display:block; width:100%; height:auto; max-height:none;
  aspect-ratio:auto; object-fit:contain; object-position:center;
}
.page-home .featured-story .section-copy p {max-width:37rem;}
/* Homepage portal section had no dedicated padding outside page-extension. */
.page-home .new-room-doors {
  padding:clamp(3.1rem,7vw,6rem) clamp(1.5rem,5vw,5.5rem);
  box-sizing:border-box;
}
.page-home .new-room-doors > div:first-child {max-width:70rem;margin:0 auto clamp(1.5rem,3vw,3rem);}
.page-home .two-door-grid {max-width:85rem;margin:0 auto;min-width:0;}
.page-home .portal-door {min-width:0;overflow-wrap:break-word;}
.page-home .home-room-links > * {min-width:0;overflow-wrap:break-word;}
@media (max-width:850px) {
  .page-home .home-hero {grid-template-columns:minmax(0,1fr);gap:2.4rem;}
  .page-home .featured-story {grid-template-columns:minmax(0,1fr);gap:2rem;}
  .page-home .home-artist-rooms {padding:3.4rem 1.4rem;}
  .page-home .home-room-links {grid-template-columns:minmax(0,1fr);gap:1.15rem;}
  .page-home .two-door-grid {grid-template-columns:minmax(0,1fr);gap:1.1rem;}
}
@media (max-width:620px) {
  .page-home main {max-width:100%;overflow-x:clip;}
  .page-home .home-hero {padding:2.6rem 1.35rem 3.2rem;gap:2.25rem;}
  .page-home .home-copy,.page-home .home-hero-work {min-width:0;max-width:100%;}
  .page-home .home-copy h1 {font-size:clamp(2.6rem,10.7vw,4.2rem);line-height:1.09;overflow-wrap:normal;}
  .page-home .home-hero-work .matte {padding:.72rem;}
  .page-home .home-hero-work .gold-frame {padding:.4rem;}
  .page-home .home-hero-work .gold-frame img {border-width:4px;}
  .page-home .featured-story {padding:3.5rem 1.35rem;gap:2.1rem;}
  .page-home .featured-story .section-copy h2 {font-size:clamp(2.1rem,8.5vw,3.25rem);line-height:1.13;margin:.7rem 0 1.25rem;}
  .page-home .featured-story .section-copy p {font-size:1.04rem;line-height:1.75;margin:0 0 1.45rem;}
  .page-home .featured-story .split-photo img {box-shadow:8px 10px 0 #e6dacb;}
  .page-home .home-artist-rooms {padding:3.4rem 1.35rem;}
  .page-home .home-artist-rooms .section-intro {margin-bottom:1.6rem;}
  .page-home .home-artist-rooms .section-intro h2 {font-size:clamp(2rem,8vw,3rem);line-height:1.17;}
  .page-home .home-room {min-height:0;padding:1.65rem 1.4rem;gap:1rem;}
  .page-home .home-room h3 {font-size:clamp(1.9rem,8.2vw,2.6rem);line-height:1.15;margin:.25rem 0;}
  .page-home .home-room small {display:block;letter-spacing:.12em;line-height:1.5;}
  .page-home .home-room > span {display:block;line-height:1.55;}
  .page-home .new-room-doors {padding:3.5rem 1.35rem;}
  .page-home .new-room-doors h2 {font-size:clamp(2rem,8.4vw,3rem);line-height:1.17;margin:1rem 0 1.65rem;}
  .page-home .portal-door {min-height:0;padding:1.6rem 1.35rem;gap:.85rem;}
  .page-home .portal-door strong {font-size:clamp(1.9rem,7.8vw,2.65rem);line-height:1.15;}
}
