/* Moving creative shelves, built on the product-first landing page.
   Every CSS loop is static until the motion runtime sees its region onscreen. */
.kinetic-home .product-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:40px;max-width:none;text-align:left;padding:32px 0 45px}
.kinetic-home .product-hero-copy{min-width:0;max-width:580px}
.kinetic-home .product-hero-copy h1{font-size:clamp(44px,3.8vw,54px);line-height:1.04;letter-spacing:-2.1px;max-width:20ch;margin:11px 0 17px;text-wrap:balance}
.kinetic-home .product-hero-copy .product-hero-description{font-size:14px;line-height:1.7;color:var(--muted);max-width:49ch;margin:0}
.kinetic-home .product-hero-copy .product-hero-actions{justify-content:flex-start;gap:12px 23px;margin-top:23px}
.kinetic-home .product-hero-copy .signup-note{font-size:10px;line-height:1.7;color:var(--muted);max-width:none;margin:12px 0 0}
.kinetic-home .hero-motion-stage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,2fr) minmax(0,1fr);gap:12px;height:clamp(330px,31vw,430px);min-width:0}
.kinetic-home .hero-motion-card{display:block;position:relative;isolation:isolate;min-width:0;min-height:0;overflow:hidden;border-radius:13px;background:#e4dfd8;color:#fffcf6}
.kinetic-home .hero-motion-card:first-child{grid-column:1/-1}
.kinetic-home .hero-motion-card>img,.kinetic-home .hero-motion-card>.motion-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.kinetic-home .hero-motion-card:after{content:'';position:absolute;inset:42% 0 0;z-index:1;background:linear-gradient(transparent,#211e23a6);pointer-events:none}
.kinetic-home .hero-motion-card>.hero-motion-caption,.kinetic-home .hero-motion-card>span,.kinetic-home .hero-motion-card>figcaption{position:absolute;inset:auto 15px 14px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;font-weight:500;line-height:1.3;pointer-events:none}
.kinetic-home .hero-motion-card:first-child>.hero-motion-caption,.kinetic-home .hero-motion-card:first-child>span,.kinetic-home .hero-motion-card:first-child>figcaption{font-size:15px;inset:auto 18px 17px}
.kinetic-home .hero-motion-card:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.kinetic-home .product-features .featured-rail{grid-auto-columns:calc((100% - 54px)/4);gap:18px}
.kinetic-home .product-features .feature-media{aspect-ratio:4/3;border-radius:14px}
.kinetic-home .product-media-label{font-size:17px}
.kinetic-home .motion-animated{animation-play-state:paused!important}
html[data-motion=running] .kinetic-home [data-motion-region][data-motion-visible=true] .motion-animated{animation-play-state:running!important}
.kinetic-home [data-motion-region][hidden] .motion-animated,
.kinetic-home [hidden] [data-motion-region] .motion-animated{animation-play-state:paused!important}

/* Three complete frames dissolve rather than swapping URLs or changing layout. */
.kinetic-home .motion-sequence{display:block;position:relative;isolation:isolate;overflow:hidden;background:var(--soft)}
.kinetic-home .motion-sequence>.motion-frame{position:absolute;inset:0;display:block;opacity:0;transform:scale(1.02);animation-duration:12s;animation-timing-function:linear;animation-iteration-count:infinite;animation-delay:var(--sequence-delay,0s);animation-fill-mode:both;pointer-events:none}
.kinetic-home .motion-sequence>.motion-frame:first-child{opacity:1;animation-name:bloopo-frame-one}
.kinetic-home .motion-sequence>.motion-frame:nth-child(2){animation-name:bloopo-frame-two}
.kinetic-home .motion-sequence>.motion-frame:nth-child(3){animation-name:bloopo-frame-three}
.kinetic-home .motion-frame>img{display:block;width:100%;height:100%;object-fit:cover}
@keyframes bloopo-frame-one{0%,100%{opacity:1;transform:scale(1.02)}50%{opacity:1;transform:scale(1)}}
@keyframes bloopo-frame-two{0%,25%{opacity:0;transform:scale(1.02)}33%,58%{opacity:1}66%,100%{opacity:0;transform:scale(1)}}
@keyframes bloopo-frame-three{0%,58%{opacity:0;transform:scale(1.02)}66%,92%{opacity:1}100%{opacity:0;transform:scale(1)}}
/* The base frame stays underneath the dissolves, preventing an empty frame. */
.kinetic-home .motion-sequence:before{content:'';position:absolute;inset:0;background:var(--soft);z-index:-1}
.kinetic-home .world-card:focus-visible{outline:2px solid var(--accent);outline-offset:6px;border-radius:13px}
html[data-motion=running] .kinetic-home [data-motion-region]:focus-within .motion-animated,
html[data-motion=running] .kinetic-home a:focus-visible [data-motion-region] .motion-animated{animation-play-state:paused!important}
@media(hover:hover){
  html[data-motion=running] .kinetic-home .motion-sequence:hover .motion-animated,
  html[data-motion=running] .kinetic-home .world-card:hover .motion-animated{animation-play-state:paused!important}
}

/* Twelve worlds stay visible as a dense, coherent collection. */
.kinetic-home .world-overview{padding:36px 0 58px}
.kinetic-home .world-overview .narrative-heading{margin-bottom:25px}
.kinetic-home .world-overview .narrative-heading h2{max-width:20ch}
.kinetic-home .world-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:29px 18px}
.kinetic-home .world-card{display:block;min-width:0;color:var(--ink)}
.kinetic-home .world-cover{aspect-ratio:4/5;border-radius:13px}
.kinetic-home .world-cover:after{content:'↗';position:absolute;right:13px;bottom:13px;z-index:4;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fffcf6ed;color:var(--ink);font-size:22px;pointer-events:none}
.kinetic-home .world-caption{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:12px 1px 0;line-height:1.4}
.kinetic-home .world-caption strong,.kinetic-home .world-caption h3{font-size:14px;font-weight:500;letter-spacing:-.2px}
.kinetic-home .world-caption>span{font-size:10px;white-space:nowrap;color:var(--muted)}
.kinetic-home .world-card:hover .world-caption strong,.kinetic-home .world-card:hover .world-caption h3{color:var(--accent)}

/* A cinematic interlude: two widescreen films, then three smaller stories. */
.kinetic-home .motion-cinema{position:relative;padding:34px;margin:24px 0 48px;border-radius:22px;background:#211e23;color:#fffcf6;isolation:isolate}
.kinetic-home .motion-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin:0 0 25px}
.kinetic-home .motion-heading .narrative-eyebrow{color:#c5b9c8}
.kinetic-home .motion-heading h2{font-size:clamp(32px,3.3vw,49px);line-height:1.08;letter-spacing:-1.7px;margin:8px 0 10px;max-width:19ch}
.kinetic-home .motion-heading p:not(.narrative-eyebrow){font-size:13px;line-height:1.65;color:#d4cbd5;max-width:46ch}
.kinetic-home .motion-heading>a{display:inline-flex;align-items:center;gap:20px;min-height:44px;padding:11px 16px;border:1px solid #807182;border-radius:8px;color:#fffcf6;font-size:12px;white-space:nowrap}
.kinetic-home .motion-heading>a:hover{background:#3e2d3d;border-color:#b39cb4}
.kinetic-home .world-overview .motion-heading .narrative-eyebrow,.kinetic-home .world-overview .motion-heading p:not(.narrative-eyebrow){color:var(--muted)}
.kinetic-home .world-overview .motion-heading>a{color:var(--ink);border-color:#bcb0bf}
.kinetic-home .world-overview .motion-heading>a:hover{color:var(--accent);background:var(--paper);border-color:var(--accent)}
.kinetic-home .motion-film-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}
.kinetic-home .motion-film-card{grid-column:span 2;display:block;position:relative;isolation:isolate;overflow:hidden;border-radius:11px;aspect-ratio:4/3;background:#39313c;color:#fffdf8;min-width:0}
.kinetic-home .motion-film-card:nth-child(-n+2){grid-column:span 3;aspect-ratio:16/9}
.kinetic-home .motion-film-card:nth-child(9){grid-column:1/-1;aspect-ratio:21/8}
.kinetic-home .motion-film-card>img,.kinetic-home .motion-film-card>.motion-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.kinetic-home .motion-film-card:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#121013c9);z-index:1;pointer-events:none}
.kinetic-home .motion-film-label{position:absolute;inset:auto 19px 18px;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;align-items:end;pointer-events:none}
.kinetic-home .motion-film-kind{grid-column:1;font-size:9px;font-weight:400;letter-spacing:1.2px;text-transform:uppercase;color:#ece5ed}
.kinetic-home .motion-film-label>strong{grid-column:1;font-size:19px;line-height:1.2;letter-spacing:-.4px;font-weight:500}
.kinetic-home .motion-film-play{grid-column:2;grid-row:1/span 2;display:grid;place-items:center;min-width:39px;min-height:39px;padding:7px 10px;border:1px solid #fffcf6a8;border-radius:99px;font-size:10px;line-height:1;color:#fffdf8;background:#211e2329}
.kinetic-home .motion-film-card:nth-child(-n+2) .motion-film-label>strong{font-size:24px}
.kinetic-home .motion-film-card:focus-visible{outline:2px solid #fffdf8;outline-offset:4px}
.kinetic-home .motion-film-card:hover .motion-film-play{background:#fffcf6;color:#211e23}
.kinetic-home .motion-cinema>.collection-note,.kinetic-home .motion-cinema>.motion-note,.kinetic-home .motion-cinema>.motion-cinema-note{font-size:10px;line-height:1.6;color:#bdb1c0;margin:18px 0 0}

/* A slow, quiet typographic seam between visual chapters. */
.kinetic-home .kinetic-divider{display:flex;overflow:hidden;gap:0;max-width:100%;margin:20px 0 26px;padding:18px 0;border-block:1px solid var(--line);color:var(--accent);font-size:clamp(34px,5.8vw,88px);font-weight:500;line-height:1.1;letter-spacing:-2.2px;user-select:none;pointer-events:none}
.kinetic-home .kinetic-divider>span{display:block;flex:0 0 auto;min-width:100%;white-space:nowrap;padding-right:45px;animation:bloopo-type-track 45s linear infinite;animation-play-state:paused}
@keyframes bloopo-type-track{from{transform:translateX(0)}to{transform:translateX(-100%)}}

/* Demonstrate the actual saved edit without moving the user's comparison slider. */
.kinetic-home .product-edit-preview{position:relative;isolation:isolate}
.kinetic-home .auto-edit-original,.kinetic-home .auto-edit-after{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:#eae0cf}
.kinetic-home .auto-edit-original>img,.kinetic-home .auto-edit-after>img{width:100%;height:100%;display:block;object-fit:contain;background:#eae0cf}
.kinetic-home .auto-edit-after{clip-path:inset(0 50% 0 0);animation:bloopo-edit-wipe 8s ease-in-out infinite}
.kinetic-home .auto-edit-line{position:absolute;inset:0;width:100%;border-left:1px solid #fffcf6c9;transform:translateX(50%);z-index:1;animation:bloopo-edit-line 8s ease-in-out infinite}
@keyframes bloopo-edit-wipe{0%,12%,100%{clip-path:inset(0 82% 0 0)}45%,62%{clip-path:inset(0 12% 0 0)}}
@keyframes bloopo-edit-line{0%,12%,100%{transform:translateX(18%)}45%,62%{transform:translateX(88%)}}

/* Decorative audio artwork; the real audio preview is explicitly playable. */
.kinetic-home .sound-visual{position:relative;display:block;width:100%;height:100%;overflow:hidden;background:#342238}
.kinetic-home .sound-visual>img{display:block;width:100%;height:100%;object-fit:cover}
.kinetic-home .sound-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#211e230a,#211e231a 35%,#211e2366)}
.kinetic-home .sound-bars{position:absolute;inset:25% 14% 28%;z-index:1;display:flex;align-items:center;justify-content:center;gap:4px;pointer-events:none}
.kinetic-home .sound-bars>span{display:block;flex:1;max-width:7px;height:calc(100% * var(--bar,.5));min-height:7px;background:#fffcf6;transform-origin:center;border-radius:5px;animation:bloopo-sound-bars 1.65s ease-in-out infinite alternate;animation-delay:var(--beat-delay,0s);box-shadow:0 1px 6px #211e2322}
.kinetic-home .sound-bars>span:nth-child(3n){animation-duration:1.35s}
.kinetic-home .sound-bars>span:nth-child(3n+2){animation-duration:2.1s}
@keyframes bloopo-sound-bars{0%{transform:scaleY(.28);opacity:.7}100%{transform:scaleY(1);opacity:1}}

@media(min-width:1101px){.kinetic-home .product-features .rail-controls{display:none}}
@media(max-width:1100px){
 .kinetic-home .product-hero{gap:28px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .kinetic-home .product-hero-copy h1{font-size:44px;letter-spacing:-1.8px}
 .kinetic-home .hero-motion-stage{height:355px;gap:10px}
 .kinetic-home .product-features .featured-rail{grid-auto-columns:41%;gap:16px}
 .kinetic-home .world-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}
 .kinetic-home .motion-cinema{padding:27px}
 .kinetic-home .motion-film-label{inset:auto 14px 15px}
 .kinetic-home .motion-film-label>strong{font-size:17px}
 .kinetic-home .motion-film-card:nth-child(-n+2) .motion-film-label>strong{font-size:22px}
}
@media(max-width:800px){
 .kinetic-home .product-hero{grid-template-columns:1fr;gap:28px;padding-top:27px;padding-bottom:33px}
 .kinetic-home .product-hero-copy{max-width:640px}
 .kinetic-home .product-hero-copy h1{font-size:48px;max-width:20ch;margin:11px 0 15px}
 .kinetic-home .product-hero-copy .product-hero-description{max-width:58ch;font-size:14px}
 .kinetic-home .product-hero-copy .product-hero-actions{margin-top:18px}
 .kinetic-home .hero-motion-stage{grid-template-rows:auto auto;height:auto;gap:11px}
 .kinetic-home .hero-motion-card{aspect-ratio:2/1}
 .kinetic-home .hero-motion-card:first-child{aspect-ratio:2.1/1}
 .kinetic-home .product-features .featured-rail{grid-auto-columns:57%;gap:14px}
 .kinetic-home .world-overview{padding:27px 0 42px}
 .kinetic-home .world-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 14px}
 .kinetic-home .world-caption{display:block;padding-top:10px}
 .kinetic-home .world-caption>span{display:block;margin-top:4px}
 .kinetic-home .motion-cinema{padding:23px;margin-top:20px;margin-bottom:38px;border-radius:17px}
 .kinetic-home .motion-heading{align-items:start;gap:22px}
 .kinetic-home .motion-heading h2{font-size:36px}
 .kinetic-home .motion-heading p:not(.narrative-eyebrow){font-size:12px}
 .kinetic-home .motion-heading>a{font-size:11px;padding:10px 13px;gap:12px;flex-shrink:0}
 .kinetic-home .motion-film-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .kinetic-home .motion-film-card,.kinetic-home .motion-film-card:nth-child(-n+2){grid-column:span 1;aspect-ratio:4/3}
 .kinetic-home .motion-film-card:first-child{grid-column:span 2;aspect-ratio:16/9}
 .kinetic-home .motion-film-card:nth-child(9){grid-column:1/-1;aspect-ratio:16/9}
 .kinetic-home .motion-film-card:nth-child(-n+2) .motion-film-label>strong{font-size:19px}
 .kinetic-home .motion-film-card:first-child .motion-film-label>strong{font-size:25px}
 .kinetic-home .kinetic-divider{padding:15px 0;margin:10px 0 20px;letter-spacing:-1.6px}
}
@media(max-width:480px){
 .kinetic-home .product-hero{gap:25px;padding:25px 0 32px}
 .kinetic-home .product-hero-copy h1{font-size:37px;line-height:1.06;letter-spacing:-1.7px;max-width:20ch}
 .kinetic-home .product-hero-copy .product-hero-description{font-size:13px;line-height:1.65;max-width:37ch}
 .kinetic-home .product-hero-copy .product-hero-actions{gap:9px 17px;margin-top:20px}
 .kinetic-home .product-hero-copy .signup-note{font-size:10px;max-width:35ch;margin-left:0}
 .kinetic-home .hero-motion-stage{gap:9px}
 .kinetic-home .hero-motion-card{border-radius:10px}
 .kinetic-home .hero-motion-card:first-child{aspect-ratio:16/9}
 .kinetic-home .hero-motion-card>.hero-motion-caption,.kinetic-home .hero-motion-card>span,.kinetic-home .hero-motion-card>figcaption{inset:auto 10px 10px;font-size:9px;gap:7px}
 .kinetic-home .hero-motion-card:first-child>.hero-motion-caption,.kinetic-home .hero-motion-card:first-child>span,.kinetic-home .hero-motion-card:first-child>figcaption{inset:auto 13px 12px;font-size:13px}
 .kinetic-home .product-features .featured-rail{grid-auto-columns:83%;gap:13px}
 .kinetic-home .product-features .feature-media{aspect-ratio:4/3}
 .kinetic-home .world-cover{border-radius:10px}
 .kinetic-home .world-cover:after{width:29px;height:29px;right:9px;bottom:9px;font-size:19px}
 .kinetic-home .world-caption strong,.kinetic-home .world-caption h3{font-size:12px;line-height:1.4}
 .kinetic-home .world-caption>span{font-size:9px}
 .kinetic-home .world-overview .narrative-heading{margin-bottom:21px}
 .kinetic-home .motion-cinema{padding:16px;margin-inline:-7px;border-radius:14px}
 .kinetic-home .motion-heading{display:block;margin-bottom:19px}
 .kinetic-home .motion-heading h2{font-size:33px;letter-spacing:-1.3px}
 .kinetic-home .motion-heading>a{margin-top:16px;min-height:41px}
 .kinetic-home .motion-film-grid{gap:10px}
 .kinetic-home .motion-film-card,.kinetic-home .motion-film-card:nth-child(-n+2){aspect-ratio:4/5;border-radius:9px}
 .kinetic-home .motion-film-card:first-child{aspect-ratio:16/10}
 .kinetic-home .motion-film-card:nth-child(9){aspect-ratio:16/10}
 .kinetic-home .motion-film-label{inset:auto 11px 12px;grid-template-columns:1fr;gap:5px}
 .kinetic-home .motion-film-kind{font-size:8px;letter-spacing:.8px}
 .kinetic-home .motion-film-label>strong,.kinetic-home .motion-film-card:nth-child(-n+2) .motion-film-label>strong{font-size:16px;line-height:1.15}
 .kinetic-home .motion-film-card:first-child .motion-film-label>strong{font-size:22px}
 .kinetic-home .motion-film-play{grid-column:1;grid-row:auto;justify-self:start;min-width:0;min-height:25px;padding:5px 9px;font-size:9px;margin-top:4px}
 .kinetic-home .motion-film-card:first-child .motion-film-label{grid-template-columns:minmax(0,1fr) auto}
 .kinetic-home .motion-film-card:first-child .motion-film-play{grid-column:2;grid-row:1/span 2;min-width:36px;min-height:36px;margin:0}
 .kinetic-home .sound-bars{gap:3px}
 .kinetic-home .kinetic-divider{font-size:38px;letter-spacing:-1.3px}
}
@media(prefers-reduced-motion:reduce){
 .kinetic-home .motion-animated{animation:none!important;transition:none!important}
 .kinetic-home .motion-sequence>.motion-frame{opacity:0;transform:none}
 .kinetic-home .motion-sequence>.motion-frame:first-child{opacity:1}
 .kinetic-home .auto-edit-after{clip-path:inset(0 50% 0 0)}
 .kinetic-home .auto-edit-line{transform:translateX(50%)}
 .kinetic-home .sound-bars>span{transform:none;opacity:1}
 .kinetic-home .kinetic-divider>span{transform:none}
}
