/* Home uses the reading edge shared by the portfolio project pages. */
body #sequence[data-route="home"] .projects-editorial {padding-inline:0!important}
body #sequence[data-route="home"] :is(.home-editorial,.projects-introduction,.project-grid-sections),
body:has(#sequence[data-route="home"]) .portfolio-contact .contact-inner {
  box-sizing:border-box;
  width:var(--project-reading-width)!important;
  max-width:100%!important;
  margin-inline:auto!important;
  padding-inline:0!important;
  text-align:left;
}
body #sequence[data-route="home"] .home-project-spread {margin-inline:0}
body #sequence[data-route="home"] .home-about-body,
body #sequence#sequence[data-route="home"] .project-chapter>header,
body:has(#sequence[data-route="home"]) .contact-columns {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:var(--space-small)!important;
}
body #sequence#sequence[data-route="home"] .project-chapter>header>* {
  grid-area:auto!important;
  margin:0!important;
  text-align:left;
}
body #sequence[data-route="home"] .home-about-body p {margin:0;max-width:64ch}
body #sequence[data-route="home"] .home-about-body>div {display:grid;gap:var(--space-small)}
body:has(#sequence[data-route="home"]) .contact-heading {text-align:left!important}
body:has(#sequence[data-route="home"]) .contact-columns {gap:var(--space-medium)!important}
@media(min-width:1024px){
  .home-project-spread:has(.featured-film){grid-template-columns:repeat(4,minmax(0,1fr))}
}
.featured-film{min-width:0}
body #sequence#sequence .featured-film .portfolio-film-host{position:relative;width:100%;margin:0 0 var(--space-medium);background:transparent}
body #sequence#sequence .featured-film video{display:block;width:100%!important;height:auto!important;aspect-ratio:9/16;object-fit:contain;background:transparent}
body #sequence#sequence .featured-film .film-play-control::before{position:static!important;inset:auto!important;color:white;filter:drop-shadow(0 1px 2px #2d2d2d)}

@media(max-width:1023px){
 .home-project-spread:has(.featured-film){
   display:grid;grid-template-columns:none;grid-auto-flow:column;
   grid-auto-columns:min(74%,320px);gap:var(--space-small);
   overflow-x:auto;scroll-snap-type:x proximity;
 }
 .featured-film{scroll-snap-align:start}
}
