/* C's process line and preview portal. No content or media substitutions. */
body.aster #approach { --experience-rgb:239 54 193; --experience-bright:255 164 232; position:relative; isolation:isolate; background:radial-gradient(ellipse at 20% 55%,#6b2c9014,transparent 62%),#030207; }
#approach .process { position:relative; gap:24px; }
#approach .process::before { content:''; position:absolute; z-index:-1; left:3%; right:3%; top:20px; height:1px; background:linear-gradient(90deg,#526fff44,#dd56c599,#647fffa6); box-shadow:0 0 14px #8d4add44; }
body.aster #approach .process article { position:relative; overflow:hidden; padding:0 0 27px; border:1px solid #9c57c756; border-top-color:#e973d58c; border-bottom-color:#5e72d47a; border-radius:18px 5px 18px 5px; background:linear-gradient(145deg,#25102d90,#090713 60%,#101127); box-shadow:inset 0 1px 0 #e4a7ff17,0 16px 38px #0005; animation:none; transition:transform .35s,border-color .35s,box-shadow .35s; }
#approach .process article::before { content:''; position:absolute; z-index:2; inset:0 0 auto; height:2px; width:auto; background:linear-gradient(90deg,transparent,#657fff,#ef55c6,#ffb2e7,transparent); background-size:200% 100%; opacity:.8; animation:c-flow-trace 7s linear infinite; animation-delay:calc(var(--process-order,0) * -2s); }
#approach .process article::after { content:none; animation:none; box-shadow:none; }
body.aster #approach .process article:hover,body.aster #approach .process article:focus-within { transform:translateY(-5px); border-color:#db82e3a3; box-shadow:-7px 4px 26px #b52eb01f,7px -3px 26px #4569db20; }
body.aster #approach .process article > img { display:block; width:100%; height:auto; aspect-ratio:16/9; max-height:none; object-fit:contain; background:#040712; margin:0 0 24px; border-bottom:1px solid #9b62b733; }
body.aster #approach .process article > span { position:absolute; z-index:3; top:15px; left:17px; display:grid; place-items:center; width:39px; height:36px; margin:0; border:1px solid #d279db8c; border-radius:8px 2px 8px 2px; background:#100b21e8; color:#ffc9f0; font:14px/1 monospace; letter-spacing:.1em; box-shadow:-3px 2px 13px #c735ac29,3px -2px 13px #4c6fff32; }
body.aster #approach .process article > h3 { margin:0 22px 12px; font-size:21px; line-height:1.5; color:#f4e9fb; }
body.aster #approach .process article > p { margin:0 22px; font-size:14px; line-height:1.9; color:#c7b8d5; }
#approach .process article.is-motion-paused::before { animation-play-state:paused; }
@keyframes c-flow-trace { to { background-position:200% 0; } }
/* The actual images move through a layered portal; the grid is decorative only. */
body.aster [data-showcase] { --experience-rgb:236 51 191; --experience-bright:255 169 236; position:relative; isolation:isolate; overflow:hidden; padding:24px 20px 22px; border:1px solid #a968c456; border-top-color:#dd71d38c; border-bottom-color:#6278dd73; border-radius:24px 7px 24px 7px; background:radial-gradient(ellipse at 50% 48%,#70216d32,#090613 62%,#04030a); box-shadow:inset 0 1px 0 #e7b6ff15,0 24px 50px #0004; }
[data-showcase]::before { content:''; position:absolute; z-index:-1; width:80%; height:34%; left:10%; top:27%; border:1px solid #db58c43b; border-left-color:#ee6bd275; border-right-color:#607dff80; border-radius:50%; transform:rotate(-17deg); box-shadow:0 0 50px #c12aae15,inset 0 0 45px #5360ed15; pointer-events:none; }
[data-showcase]::after { content:''; position:absolute; z-index:-1; inset:auto -20% 16px; height:190px; transform:perspective(460px) rotateX(60deg); transform-origin:center bottom; background-image:linear-gradient(#b24bce24 1px,transparent 1px),linear-gradient(90deg,#5d73e12a 1px,transparent 1px); background-size:54px 36px; mask-image:radial-gradient(ellipse,#000,transparent 72%); pointer-events:none; }
body.aster [data-showcase] .showcase-tabs { display:flex; justify-content:center; width:fit-content; max-width:100%; gap:10px; padding:0; margin:0 auto 18px; border:0; border-radius:0; background:none; }
body.aster [data-showcase] .showcase-tabs button { display:flex; align-items:center; justify-content:center; gap:12px; min-width:150px; min-height:51px; padding:12px 24px; border:1px solid #7a589e75; border-radius:11px 3px 11px 3px; background:#110b20; color:#bcafcf; font-size:15px; line-height:1.5; transition:border-color .25s,background .25s,box-shadow .25s; }
[data-showcase] .showcase-tabs button::before { content:''; display:block; flex-shrink:0; width:12px; height:20px; border:1.5px solid currentColor; border-radius:3px; box-shadow:inset 0 -3px 0 #0003; }
[data-showcase] .showcase-tabs button:nth-child(2)::before { width:23px; height:15px; border-radius:2px; }
body.aster [data-showcase] .showcase-tabs button[aria-selected=true] { color:#ffe1f7; border-color:#ea81d5b8; background:linear-gradient(120deg,#762454b3,#33265ea1); box-shadow:inset 0 1px 0 #f6b7e826,-5px 2px 20px #df28a421,5px -2px 20px #4d6efb21; }
[data-showcase] .showcase-panel { min-width:0; }
[data-showcase] .showcase-media { padding:0; }
[data-showcase] .showcase-carousel { position:relative; min-width:0; }
[data-showcase] .showcase-carousel .swiper { overflow:hidden; padding:25px 0 25px; perspective:1400px; touch-action:pan-y pinch-zoom; }
[data-showcase] .swiper .swiper-slide { height:auto; }
body.aster [data-showcase] .showcase-slide-surface { position:relative; width:min(74%,820px); max-width:none; padding:12px; margin:auto; border:1px solid #6e69ae6b; border-radius:18px 5px 18px 5px; background:linear-gradient(140deg,#27123460,#080613b0); box-shadow:0 18px 36px #0007; transition:border-color .7s,box-shadow .7s; }
body.aster [data-showcase] .is-mobile .showcase-slide-surface { width:min(35%,260px); max-width:none; padding:10px; border-radius:30px 12px 30px 12px; }
[data-showcase] .showcase-slide-surface::before { content:''; position:absolute; inset:-1px; border-radius:inherit; border:1px solid transparent; border-top-color:#7e9cfac2; border-left-color:#f38dd98c; pointer-events:none; }
body.aster [data-showcase] .swiper-slide-active .showcase-slide-surface { border-color:#e787d7c2; box-shadow:-9px 5px 35px #d43bb835,9px -5px 35px #536df333,0 22px 45px #0009; }
body.aster [data-showcase] .showcase-slide-surface > img { width:100%; height:340px; max-height:none; object-fit:contain; border-radius:4px; }
body.aster [data-showcase] .is-mobile .showcase-slide-surface > img { height:410px; border-radius:18px; }
[data-showcase] .showcase-slide-surface h3 { font-size:18px; color:#f4dff8; }
[data-showcase] .showcase-slide-surface p { font-size:14px; line-height:1.8; color:#c5b4d3; }
body.aster [data-showcase] .carousel-controls { display:grid; grid-template-columns:44px 58px minmax(0,360px) 44px; align-items:center; justify-content:center; gap:17px; width:fit-content; max-width:100%; padding:12px 17px; margin:8px auto 0; border:1px solid #9562b35e; border-radius:13px 4px 13px 4px; background:linear-gradient(115deg,#27102bbf,#090714e8 52%,#101634b8); }
body.aster [data-showcase] .carousel-controls > button { width:44px; height:44px; border-radius:9px 2px 9px 2px; border-color:#b273c279; background:#1c102a; color:#ffbcec; font-size:21px; }
[data-showcase] .carousel-controls > button:hover { border-color:#eb9bdf; box-shadow:inset 0 0 16px #b944b12a; }
[data-showcase] .c-demo-counter { display:flex; align-items:baseline; gap:5px; font-family:monospace; white-space:nowrap; color:#ab92b9; font-size:12px; }
[data-showcase] .c-demo-counter strong { color:#ffd3f2; font-size:25px; font-weight:500; text-shadow:0 0 14px #e634ad63; }
[data-showcase] .carousel-pagination { display:grid; grid-template-columns:repeat(var(--c-demo-count,4),minmax(0,1fr)); gap:8px; width:100% !important; min-width:0; flex-wrap:nowrap; }
[data-showcase] .carousel-pagination .swiper-pagination-bullet { display:flex; position:relative; justify-content:center; align-items:center; min-width:0; width:100%; height:53px; margin:0!important; padding:3px; border:1px solid #7752916b; border-radius:6px 2px 6px 2px; background:#130b20; opacity:.5; overflow:hidden; cursor:pointer; }
[data-showcase] .carousel-pagination .swiper-pagination-bullet img { display:block; width:100%; height:40px; object-fit:contain; opacity:.7; }
[data-showcase] .carousel-pagination .swiper-pagination-bullet span { position:absolute; right:4px; bottom:4px; color:#ebc2e5; background:#11051dcc; padding:1px 3px; font:9px/1 monospace; border-radius:2px; }
[data-showcase] .carousel-pagination .swiper-pagination-bullet-active { opacity:1; border-color:#ed83d7b0; box-shadow:0 0 14px #da33b62c; }
[data-showcase] .carousel-pagination .swiper-pagination-bullet-active img { opacity:1; }
[data-showcase] .carousel-pagination .swiper-pagination-bullet-active::after { content:''; position:absolute; inset:auto 0 0; height:2px; background:linear-gradient(90deg,#6384ff,#ff56d0,#ffc6ef); transform:scaleX(var(--c-demo-progress,0)); transform-origin:left; box-shadow:0 0 8px #f85ed6; }
[data-showcase] :is(button,[tabindex]):focus-visible { outline:2px solid #ffb5e8; outline-offset:4px; }
@media(max-width:760px) {
 #approach .process { gap:20px; padding-left:14px; }
 #approach .process::before { top:25px; bottom:25px; left:0; right:auto; width:1px; height:auto; background:linear-gradient(#5e7fff77,#e45fcf99,#536de244); }
 body.aster #approach .process article > h3 { font-size:20px; }
 body.aster #approach .process article > p { font-size:14px; }
 body.aster [data-showcase] { padding:22px 9px 20px; border-radius:18px 5px 18px 5px; }
 body.aster [data-showcase] .showcase-tabs { width:100%; gap:8px; margin-bottom:13px; }
 body.aster [data-showcase] .showcase-tabs button { flex:1; min-width:0; min-height:47px; padding:10px 12px; font-size:14px; gap:10px; }
 [data-showcase] .showcase-carousel .swiper { padding:23px 0 25px; }
 body.aster [data-showcase] .showcase-slide-surface { width:82%; padding:7px; }
 body.aster [data-showcase] .is-mobile .showcase-slide-surface { width:64%; padding:6px; border-radius:22px 8px 22px 8px; }
 body.aster [data-showcase] .showcase-slide-surface > img { height:210px; }
 body.aster [data-showcase] .is-mobile .showcase-slide-surface > img { height:310px; border-radius:14px; }
 body.aster [data-showcase] .carousel-controls { grid-template-columns:36px minmax(0,1fr) 36px; width:calc(100% - 12px); gap:9px; padding:10px 10px 9px; }
 body.aster [data-showcase] .carousel-controls > button { width:36px; height:36px; font-size:19px; }
 [data-showcase] [data-slide-prev] { grid-column:1; grid-row:1; }
 [data-showcase] [data-slide-next] { grid-column:3; grid-row:1; }
 [data-showcase] .c-demo-counter { grid-column:2; grid-row:1; justify-content:center; }
 [data-showcase] .carousel-pagination { grid-column:1 / -1; grid-row:2; gap:6px; }
 [data-showcase] .carousel-pagination .swiper-pagination-bullet { height:44px; }
 [data-showcase] .carousel-pagination .swiper-pagination-bullet img { height:33px; }
 body:has([data-c-demo-controls-visible=true]) .back-to-top,body:has([data-c-demo-controls-visible=true]) .migration-editor-note { visibility:hidden; pointer-events:none; }
}
@media(prefers-reduced-motion:reduce) {
 #approach .process article::before { animation:none!important; }
 body.aster #approach .process article:hover,body.aster #approach .process article:focus-within { transform:none; }
 [data-showcase] .showcase-slide-surface,[data-showcase] .showcase-tabs button { transition:none; }
}
/* User refinement: open stage and frameless preview images. */
body.aster [data-showcase] { border:0; border-radius:0; background:transparent; box-shadow:none; }
body.aster [data-showcase] .showcase-slide-surface,
body.aster [data-showcase] .is-mobile .showcase-slide-surface,
body.aster [data-showcase] .swiper-slide-active .showcase-slide-surface { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; transition:none; }
[data-showcase] .showcase-slide-surface::before { content:none; border:0; box-shadow:none; }
body.aster [data-showcase] .showcase-slide-surface > img,
body.aster [data-showcase] .is-mobile .showcase-slide-surface > img { border-radius:0; filter:drop-shadow(0 18px 22px #0007); }
body.aster [data-showcase] .carousel-controls { border:0; background:transparent; box-shadow:none; }
