/* Homepage spacing after removing the marked secondary content. */
body[data-page="home"] .ed-hero-photo-foot{justify-content:flex-end}
body[data-page="home"] .ed-hero-dots{margin-right:0}
body[data-page="home"] .ed-product-rows{margin-bottom:0}
body[data-page="home"] .ed-technical-copy h2,
body[data-page="home"] .ed-home-company .ed-company-intro h2{margin-top:0}
body[data-page="home"] .ed-path-meta{justify-content:flex-end}

/* Keep the shorter content in a balanced, consistent section rhythm. */
body[data-page="home"] .ed-home-hero{padding-top:144px;padding-bottom:32px}
body[data-page="home"] .ed-hero-intro{margin-bottom:36px;gap:0 48px}
body[data-page="home"] .ed-hero-photo{height:clamp(440px,38vw,600px)}
body[data-page="home"] .ed-product-directory{padding-top:28px;padding-bottom:44px}
body[data-page="home"] .ed-section-head{margin-bottom:24px}
body[data-page="home"] .ed-home-applications{padding-top:52px;padding-bottom:56px}
body[data-page="home"] .ed-application-layout{gap:36px}
body[data-page="home"] .ed-application-layout>figure{min-height:400px}
body[data-page="home"] .ed-application-layout figure img{min-height:0;height:100%}
body[data-page="home"] .ed-application-index{display:grid;grid-template-rows:repeat(5,minmax(64px,1fr));gap:8px;margin:0}
body[data-page="home"] .ed-application-index>a:not(.ed-app-install){margin:0;display:flex;align-items:center;justify-content:space-between}
body[data-page="home"] .ed-home-company{min-height:360px;padding:56px max(64px,6vw);gap:0;grid-template-columns:minmax(0,1fr);align-items:center}
body[data-page="home"] .ed-company-intro{padding:32px 34px}
body[data-page="home"] .ed-home-company .ed-company-intro>p:last-child{margin-bottom:0}
body[data-page="home"] .ed-company-paths{gap:14px;max-width:none}
body[data-page="home"] .ed-company-paths>a{min-height:154px;padding:26px}
body[data-page="home"] .ed-path-meta{position:absolute;top:24px;right:26px}
body[data-page="home"] .ed-company-paths h3{margin-top:0;padding-right:32px}
body[data-page="home"] .ed-company-paths>a>.koid-symbol{bottom:22px;right:26px;width:32px;height:34px}

@media(max-width:1250px) and (min-width:761px){
 body[data-page="home"] .ed-home-hero{padding-top:140px}
 body[data-page="home"] .ed-hero-intro{gap:0 32px}
 body[data-page="home"] .ed-application-layout{gap:28px}
 body[data-page="home"] .ed-application-layout>figure{min-height:370px}
 body[data-page="home"] .ed-home-company{padding:48px 40px;gap:32px}
 body[data-page="home"] .ed-company-intro{padding:28px}
}
@media(max-width:1050px) and (min-width:761px){
 body[data-page="home"] .ed-home-hero{padding-top:162px}
}
@media(max-width:760px){
 body[data-page="home"] .ed-home-hero{padding:154px 20px 24px}
 body[data-page="home"] .ed-hero-intro{margin-bottom:28px}
 body[data-page="home"] .ed-hero-story{margin-top:20px}
 body[data-page="home"] .ed-hero-actions{margin-top:20px}
 body[data-page="home"] .ed-hero-photo{height:auto}
 body[data-page="home"] .ed-hero-caption{padding:22px 24px 18px;gap:20px}
 body[data-page="home"] .ed-product-directory{padding:24px}
 body[data-page="home"] .ed-section-head{margin-bottom:20px}
 body[data-page="home"] .ed-home-applications{padding:32px 24px}
 body[data-page="home"] .ed-application-layout>figure{min-height:0}
 body[data-page="home"] .ed-application-layout figure img{height:auto;aspect-ratio:4/3}
 body[data-page="home"] .ed-application-index{margin-top:20px;grid-template-rows:repeat(5,minmax(60px,1fr))}
 body[data-page="home"] .ed-home-company{min-height:0;grid-template-columns:1fr;padding:32px 24px;gap:0}
 body[data-page="home"] .ed-company-intro{padding:26px 24px;max-width:none}
 body[data-page="home"] .ed-home-company .ed-company-intro h2{margin-bottom:16px}
 body[data-page="home"] .ed-company-paths{gap:12px}
 body[data-page="home"] .ed-company-paths>a{min-height:150px;padding:22px 19px}
 body[data-page="home"] .ed-company-paths h3{font-size:22px;padding-right:20px}
 body[data-page="home"] .ed-path-meta{top:22px;right:19px}
 body[data-page="home"] .ed-company-paths>a>.koid-symbol{bottom:20px;right:19px;width:26px;height:28px}
}

/* Scene carousel: crossfade between the five categories without a white flash. */
body[data-page="home"] .ed-application-layout .ed-scene-image-link{position:relative;min-height:inherit;isolation:isolate}
body[data-page="home"] .ed-application-layout .ed-scene-image{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover;opacity:0;transition:opacity .65s ease;pointer-events:none}
body[data-page="home"] .ed-application-layout .ed-scene-image.is-active{opacity:1}
body[data-page="home"] .ed-home-applications .ed-application-index>a.is-active{background:#28664d;color:#fff}
body[data-page="home"] .ed-home-applications .ed-application-index>a.is-active>span:last-child,
body[data-page="home"] .ed-home-applications .ed-application-index>a.is-active .koid-symbol{color:#d7ffb9}
@media(max-width:760px){
 body[data-page="home"] .ed-application-layout .ed-scene-image-link{height:auto;min-height:0;aspect-ratio:4/3}
 body[data-page="home"] .ed-application-layout .ed-scene-image{height:100%;aspect-ratio:auto}
}
@media(prefers-reduced-motion:reduce){
 body[data-page="home"] .ed-application-layout .ed-scene-image{transition:none}
}

/* CMS homepage: the selected project's picture is itself the project link. */
[data-home-scenes] .ed-application-layout > figure {
 display:grid;
}
[data-home-scenes] .ed-application-layout .ed-scene-image-link {
 grid-area:1 / 1;
 display:block;
 height:auto;
 pointer-events:none;
}
[data-home-scenes] .ed-application-layout .ed-scene-image-link.is-active {
 pointer-events:auto;
}
[data-home-scenes] .ed-application-layout .ed-scene-image-link.is-active .ed-scene-image {
 opacity:1;
}
[data-home-scenes] .ed-application-layout figcaption {
 z-index:1;
}
body[data-page="home"] [data-home-scenes] .ed-application-index {
 grid-template-rows:none;
 grid-auto-rows:minmax(64px,1fr);
}
.ed-scene-icon {
 background-color:currentColor;
 mask:var(--scene-icon) center / contain no-repeat;
}

[data-home-banner] {
 position:relative;
 max-width:1540px;
 margin:0 auto;
}
[data-home-banner].is-ready {
 display:grid;
 isolation:isolate;
}
body[data-page="home"] [data-home-banner].is-ready [data-home-banner-slide] {
 grid-area:1 / 1;
 opacity:0;
 z-index:0;
 pointer-events:none;
 transition:opacity 1s ease-in-out;
}
body[data-page="home"] [data-home-banner].is-ready [data-home-banner-slide].is-active {
 opacity:1;
 z-index:1;
 pointer-events:auto;
}
.ed-home-banner-controls {
 position:absolute;
 z-index:3;
 right:clamp(24px,3.35vw,48px);
 bottom:32px;
 display:flex;
}
@media(max-width:760px){
 body[data-page="home"] [data-home-scenes] .ed-application-index {
  grid-auto-rows:minmax(60px,1fr);
 }
 body[data-page="home"] [data-home-banner]:has(.ed-home-banner-controls:not([hidden])) .ed-hero-caption {
  padding-bottom:74px;
 }
 body[data-page="home"] .ed-home-banner-controls {
  display:flex;
  left:24px;
  right:24px;
  bottom:18px;
  justify-content:flex-start;
 }
}

body[data-page="home"] .ed-hero-caption .ed-hero-caption-description {
 color:#edf5ef;
 font-size:14px;
 line-height:1.9;
 max-width:285px;
 margin-top:24px;
}
@media(max-width:760px){
 body[data-page="home"] .ed-hero-caption .ed-hero-caption-description {
  font-size:13px;
  max-width:none;
  margin-top:16px;
 }
}

/* The title link fills the space formerly occupied by the product arrow. */
body[data-page="home"] .ed-product-identity{grid-column:3 / -1}
