/* V4 shared scene system. Homepage header safety is the only rule outside #work. */
body:has(#work.solutions-showcase)>header{z-index:100;background:#080f11;backdrop-filter:none;-webkit-backdrop-filter:none;top:0;height:auto;min-height:76px;padding-top:env(safe-area-inset-top,0px);padding-bottom:4px}
html:has(#work.solutions-showcase){scroll-padding-top:calc(var(--excedit-header-height,116px) + 12px)}
#work.solutions-showcase{--story-min:112px;--story-pad:17px;--story-gap:12px;--story-radius:15px;--story-font:14px;--story-label:10px;--travel-sign:1;max-width:1440px;padding:72px 5%;margin-inline:auto;min-width:0;isolation:isolate;scroll-margin-top:12px}
#work [hidden]{display:none!important}
#work .solutions-heading{max-width:780px;margin:0 0 23px}
#work .solutions-heading h2{font-size:clamp(30px,3.8vw,50px);line-height:1.08;letter-spacing:-.045em;margin:12px 0}
#work .solutions-heading p{font-size:15px;margin:0;color:#a6b5ae}
#work .chapter-navigation{display:flex;justify-content:space-between;align-items:center;gap:12px;position:relative;z-index:1;margin-bottom:8px}
#work .chapter-tabs{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
#work .chapter-tabs button{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px;border:1px solid #ffffff12;border-radius:999px;background:transparent;color:#a7b8b0;font-size:12px;transition:background .2s,color .2s,border-color .2s}
#work .chapter-tabs button span{font-size:10px;color:#8fa99a}
#work .chapter-tabs button[aria-pressed=true]{background:#19372c;color:#e8fff3;border-color:#78dfca66}
#work .chapter-arrows{display:flex;gap:7px;flex-shrink:0}
#work .chapter-arrows button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff26;border-radius:50%;color:#e2ebe6;background:#141c18;padding:0;font-size:19px}
#work .chapter-arrows button:disabled{opacity:.3;cursor:default}
#work .chapter-hint{font-size:11px;color:#9aada2;margin:0 0 12px}
#work .solutions-track{display:grid;grid-auto-flow:column;grid-auto-columns:100%;align-items:start;gap:24px;width:100%;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;position:relative;cursor:grab;overflow-anchor:none}
#work .solutions-track::-webkit-scrollbar{display:none}
#work .solutions-track.is-controlled{scroll-snap-type:none}
#work .solutions-track.is-dragging{cursor:grabbing;user-select:none}
#work .solution-chapter{--chapter-accent:#ffab70;--app-accent:var(--chapter-accent);--app-rgb:255,171,112;--story-side:1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);grid-template-areas:'heading heading' 'visual story' 'footer footer';gap:18px 22px;width:100%;min-width:0;padding:13px 2px 8px;scroll-snap-align:start;scroll-snap-stop:always;box-sizing:border-box;position:relative}
#work .solution-chapter.scene-mirrored{--story-side:-1;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);grid-template-areas:'heading heading' 'story visual' 'footer footer'}
#work .chapter-voltest{--chapter-accent:#82caff;--app-rgb:130,202,255}
#work .chapter-jomstay{--chapter-accent:#dec09a;--app-rgb:222,192,154}
#work .chapter-teach{--chapter-accent:#85d4bf;--app-rgb:133,212,191}
#work .chapter-heading{grid-area:heading;min-width:0;display:grid;grid-template-columns:1fr 1.5fr;gap:3px 22px;align-items:center}
#work .chapter-label{display:flex;align-items:center;gap:9px;font-size:17px;margin:0;line-height:1.3}
#work .chapter-number{display:grid;place-items:center;width:25px;height:25px;border:1px solid rgba(var(--app-rgb),.4);border-radius:50%;color:var(--chapter-accent);font-size:10px;flex-shrink:0}
#work .chapter-category{font-size:11px;line-height:1.4;color:var(--chapter-accent);margin:3px 0 0;grid-row:2}
#work .chapter-heading h3{grid-column:2;grid-row:1/3;font-size:clamp(26px,2.8vw,39px);line-height:1.12;letter-spacing:-.04em;margin:0;text-wrap:balance;max-width:640px}
#work .chapter-visual{grid-area:visual;position:relative;min-width:0;margin:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:9px;align-self:stretch}
#work .chapter-media{position:relative;isolation:isolate;min-height:0;height:100%;overflow:hidden;border:1px solid #ffffff18;border-radius:17px;background:#101715}
#work .chapter-photo{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}
#work .chapter-agent .chapter-photo{object-position:49% center}
#work .chapter-voltest .chapter-photo{object-position:40% center}
#work .chapter-visual figcaption{display:flex;flex-direction:column;gap:3px;min-width:0}
#work .chapter-visual figcaption strong{font-size:10px;line-height:1.4;font-weight:500;letter-spacing:1px;color:var(--chapter-accent)}
#work .chapter-visual figcaption small{font-size:9px;line-height:1.3;color:#92a198}
#work .chapter-story{grid-area:story;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--story-gap);min-width:0;align-self:start}
#work .story-card{height:var(--story-height,auto);min-height:var(--story-min);padding:var(--story-pad);border:1px solid rgba(var(--app-rgb),.22);border-radius:var(--story-radius);background:linear-gradient(130deg,rgba(var(--app-rgb),.07),#10171499);display:flex;align-items:center;min-width:0;text-align:left;box-sizing:border-box}
#work .story-card-content{width:100%;min-width:0}
#work .story-card h4{font-size:var(--story-label);line-height:1.25;letter-spacing:.08em;text-transform:uppercase;color:var(--chapter-accent);font-weight:600;margin:0 0 6px}
#work .story-card p{font-size:var(--story-font);line-height:1.45;color:#c2cec8;margin:0;overflow-wrap:anywhere}
#work .chapter-footer{grid-area:footer;display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;min-width:0}
#work .chapter-features{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;flex:1;min-width:0}
#work .chapter-features li{font-size:11px;line-height:1.35;color:#c7d4cc;border:1px solid #ffffff16;border-radius:8px;padding:7px 10px;background:#ffffff04}
#work .chapter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
#work .chapter-cta{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;max-width:100%;padding:10px 17px;border:1px solid var(--chapter-accent);border-radius:999px;background:rgba(var(--app-rgb),.04);color:var(--chapter-accent);font-size:12px;line-height:1.4;text-align:center;transition:background .2s}
#work .chapter-cta:hover{background:rgba(var(--app-rgb),.13)}
#work .chapter-cta.learn-app::before{animation:none;display:none}
#work .chapter-promo{font-size:11px;min-height:44px;display:inline-flex;align-items:center;color:#ffc399;border-bottom:1px solid #ffab7040}
#work .chapter-details{border:0;padding:0;margin:0;min-width:0}
#work .chapter-details[open]{flex-basis:100%}
#work .chapter-details>summary{list-style:none;padding-right:33px}
#work .chapter-details>summary::-webkit-details-marker{display:none}
#work .chapter-details>summary::after{content:'⌄';position:absolute;right:13px}
#work .chapter-details[open]>summary::after{content:'⌃'}
#work .chapter-details>div{margin-top:12px;padding:16px;border:1px solid #85d4bf33;border-radius:12px;max-width:850px}
#work .chapter-details h4{font-size:13px;margin:0 0 6px}
#work .chapter-details p{font-size:12px;line-height:1.6;margin:6px 0 0;color:#b3c7bc}
#work .screen-frame{position:relative;overflow:hidden;border:1px solid #65716a;border-radius:10px;background:#f4f0e8;max-width:100%}
#work .chapter-jomstay .chapter-media{display:grid;place-items:center;padding:14px;background:linear-gradient(#15171180,#151711b0),url('/assets/solutions/jomstay-1200.webp') center/cover}
#work .jomstay-frame{width:100%;max-height:100%;display:flex;flex-direction:column}
#work .jomstay-frame img{display:block;width:100%;height:auto;min-height:0;object-fit:contain}
#work .screen-bar{display:flex;align-items:center;gap:3px;padding:0 7px;height:22px;flex-shrink:0;background:#222b27;color:#c4ccc7}
#work .screen-bar i{height:4px;width:4px;border-radius:50%;background:#74867c}
#work .screen-bar span{font-size:8px;margin:auto}
#work .teacher-context{object-position:28% center;filter:brightness(.7)}
#work .teach-frame{position:absolute;right:5%;top:5%;width:52%;height:90%;border:4px solid #1d2520;border-radius:12px;background:#edf5f1}
#work .teach-frame img{display:block;width:100%;height:100%;object-fit:contain;object-position:top}
#work .chapter-status{display:flex;align-items:center;gap:18px;margin-top:15px}
#work .chapter-status p{display:flex;gap:12px;align-items:center;margin:0;font-size:11px;color:#c2d2c8}
#work [data-chapter-count]{font-size:10px;font-variant-numeric:tabular-nums;color:#94b4a2}
#work .chapter-progress{height:2px;flex:1;background:#ffffff18;overflow:hidden;border-radius:999px}
#work .chapter-progress span{display:block;width:25%;height:100%;background:#78dfca;transform:translateX(var(--progress-offset,0%));transition:transform .3s ease}
#work .solutions-closing{max-width:780px;margin:28px auto 0;font-size:16px;line-height:1.6;color:#bccdc2;text-align:center}
#work :is(button,a,summary,.solutions-track):focus-visible{outline:2px solid var(--chapter-accent,#78dfca);outline-offset:3px}
#work :is(h3,p,li,button,summary,a){overflow-wrap:break-word}
/* Each scene reveals once as it enters; the image and story share the site's section easing. */
#work.story-enhanced .solution-chapter :is(.chapter-heading,.chapter-media,.chapter-visual figcaption,.story-card,.chapter-footer){opacity:0;transform:translate3d(0,-32px,0);transition:opacity .9s cubic-bezier(.2,.65,.25,1),transform .9s cubic-bezier(.2,.65,.25,1);transition-delay:var(--arrival,0ms)}
#work.story-enhanced .solution-chapter.is-settled :is(.chapter-heading,.chapter-media,.chapter-visual figcaption,.story-card,.chapter-footer){opacity:1;transform:translate3d(0,0,0)}
#work .chapter-heading{--arrival:0ms}
#work .story-card:nth-child(1){--arrival:0ms}
#work .story-card:nth-child(2){--arrival:35ms}
#work .story-card:nth-child(3){--arrival:70ms}
#work .chapter-footer{--arrival:105ms}
@media(min-width:600px) and (max-width:1023px){
 #work.solutions-showcase{--story-min:108px;--story-pad:13px;--story-gap:10px;--story-font:13px;padding:54px 4%}
 #work .solution-chapter{column-gap:15px}
 #work .chapter-heading h3{font-size:29px}
 #work .chapter-label{font-size:16px}
 #work .chapter-features li{font-size:10px;padding:6px 8px}
}
@media(max-width:1000px){body:has(#work.solutions-showcase)>header{min-height:112px;padding-top:calc(8px + env(safe-area-inset-top,0px));padding-bottom:8px}}
@media(max-width:599px){
 #work.solutions-showcase{--story-min:105px;--story-pad:10px;--story-gap:8px;--story-radius:12px;--story-font:12px;--story-label:9px;padding:44px 4%}
 #work .solutions-heading h2{font-size:30px}
 #work .solutions-heading p{font-size:13px}
 #work .chapter-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1;gap:4px}
 #work .chapter-tabs button{font-size:11px;padding:7px 8px;border-radius:9px;gap:5px}
 #work .chapter-tabs button span{font-size:9px}
 #work .chapter-arrows{flex-direction:column;gap:4px}
 #work .chapter-hint{font-size:10px;margin-bottom:8px}
 #work .solutions-track{gap:14px}
 #work .solution-chapter,#work .solution-chapter.scene-mirrored{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 9px;padding-top:10px}
 #work .chapter-heading{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
 #work .chapter-label{font-size:14px;gap:7px}
 #work .chapter-number{height:22px;width:22px;font-size:9px}
 #work .chapter-category{font-size:10px;margin:0}
 #work .chapter-heading h3{font-size:25px;line-height:1.1;max-width:410px;margin-top:4px}
 #work .chapter-media{border-radius:12px}
 #work .chapter-visual{gap:6px}
 #work .chapter-visual figcaption strong{font-size:8px;letter-spacing:.4px}
 #work .chapter-visual figcaption small{font-size:8px;line-height:1.3}
 #work .chapter-jomstay .chapter-media{padding:6px}
 #work .screen-bar{height:17px;padding:0 4px}
 #work .screen-bar span{font-size:6px}
 #work .screen-bar i{display:none}
 #work .teach-frame{right:4%;width:78%;border-width:3px;border-radius:8px}
 #work .chapter-footer{gap:10px}
 #work .chapter-features{flex-basis:100%;gap:5px}
 #work .chapter-features li{font-size:10px;padding:5px 7px}
 #work .chapter-cta{font-size:11px;padding:9px 13px}
 #work .solutions-closing{font-size:14px;text-align:left;margin-top:23px}
}
/* Very narrow screens keep legible text; mirrored order is retained in a two-row fallback. */
@media(max-width:349px){
 #work .solution-chapter{grid-template-columns:1fr;grid-template-areas:'heading' 'visual' 'story' 'footer'}
 #work .solution-chapter.scene-mirrored{grid-template-columns:1fr;grid-template-areas:'heading' 'story' 'visual' 'footer'}
 #work .chapter-visual{height:200px}
 #work .chapter-story{grid-template-columns:1fr}
 #work .chapter-heading h3{font-size:23px}
}
@media(prefers-reduced-motion:reduce){
 #work .chapter-progress span{transition:none}
 #work.story-enhanced .solution-chapter :is(.chapter-heading,.chapter-media,.chapter-visual figcaption,.story-card,.chapter-footer){opacity:1;transform:none!important;transition:none!important}
}
/* Real Agent Insight screens composed in HTML: no regenerated interface or altered figures. */
#work .chapter-agent .ai-product-composition{display:grid;grid-template-rows:25% minmax(0,1fr);background:linear-gradient(#09080635,#09080680),url('/assets/ai-batik-mobile-portrait.png') center/cover;padding:12px 10px 10px}
#work .ai-showcase-brand{display:flex;align-items:center;justify-content:center;gap:12px;min-height:0;color:#ffc191;letter-spacing:2px;font-size:11px;font-weight:600}
#work .ai-showcase-brand img{width:auto;height:100%;max-width:30%;object-fit:contain}
#work .ai-showcase-screens{position:relative;min-height:0;width:100%;max-width:390px;margin-inline:auto}
#work .ai-screen{position:absolute;display:block;overflow:hidden;background:#090909;border:2px solid #6c5141;border-radius:13px;box-shadow:0 9px 25px #0009;aspect-ratio:945/2048;height:88%;max-width:48%;bottom:3%;transition:border-color .2s}
#work .ai-screen img{display:block;width:100%;height:100%;object-fit:contain}
#work .ai-screen-home{left:5%;transform:rotate(-6deg);z-index:1}
#work .ai-screen-unit{right:5%;transform:rotate(6deg);z-index:1}
#work .ai-screen-performance{left:50%;transform:translateX(-50%);height:97%;bottom:1%;z-index:2;border-color:#c8793a}
#work .ai-screen:hover,#work .ai-screen:focus-visible{z-index:3;border-color:#ffab70}
@media(max-width:700px){
 #work.story-enhanced .solution-chapter :is(.chapter-heading,.chapter-media,.chapter-visual figcaption,.story-card,.chapter-footer){transform:translate3d(0,-22px,0)}
 #work.story-enhanced .solution-chapter.is-settled :is(.chapter-heading,.chapter-media,.chapter-visual figcaption,.story-card,.chapter-footer){transform:translate3d(0,0,0)}
 #work .chapter-agent .ai-product-composition{padding:10px 5px 8px;grid-template-rows:25% minmax(0,1fr)}
 #work .ai-showcase-brand{flex-direction:column;gap:2px;font-size:7px;letter-spacing:1px}
 #work .ai-showcase-brand img{height:75%;max-width:65%}
 #work .ai-screen{height:auto;width:55%;max-width:none;border-width:1px;border-radius:8px;bottom:12%}
 #work .ai-screen-home{left:0}
 #work .ai-screen-unit{right:0}
 #work .ai-screen-performance{width:68%;height:auto;bottom:8%}
}

/* Approved showcase posters: display their complete original composition. */
#work .chapter-media:has(> .chapter-poster){display:grid;place-items:center;padding:0;background:#0a0c0e}
#work .chapter-media > .chapter-poster{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
