/* V0.2: scoped presentation motion; shared homepage tokens stay unchanged. */
.dev-hero { grid-template-columns: .85fr 1.35fr; gap:36px; padding-bottom:38px; }
.hero-deck { min-width:0; padding:0 44px; }
.deck-window {position:relative;overflow:visible;}
.deck-arrow {position:absolute;top:50%;transform:translateY(-50%);z-index:6;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e9edf3;border:0;box-shadow:none;opacity:.65;transition:background .2s,opacity .2s;}
.deck-arrow-prev {left:-40px;}
.deck-arrow-next {right:-40px;}
.deck-arrow img {width:14px;height:14px;opacity:.65;}
.hero-deck:hover .deck-arrow,.hero-deck:focus-within .deck-arrow {opacity:1;}
.deck-arrow:hover {background:#dce6f5;}
.deck-slide[data-slot="1"] {cursor:pointer;}
.deck-slide[data-slot="1"] img {transition:filter .2s;}
.deck-slide[data-slot="1"]:hover img {filter:brightness(1.08);}
.deck-arrow:focus-visible {outline:2px solid var(--blue);outline-offset:3px;}
.deck-stage { aspect-ratio:1.8; position:relative; overflow:hidden; border-radius:4px; }
.deck-slide { position:absolute; margin:0; left:0; top:0; bottom:0; width:84%; border-radius:6px; overflow:hidden; background:#163444; transform-origin:left center; box-shadow:none; will-change:transform; }
.deck-slide img { width:100%; height:100%; object-fit:cover; }
.deck-slide figcaption { position:absolute; bottom:0; left:0; right:0; padding:14px 18px; background:#122b42e6; color:white; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.deck-slide figcaption strong { font-size:16px; font-weight:500; }
.deck-slide figcaption small { font-size:11px; color:#d4e0e9; }
.deck-slide figcaption { display:none; }
.deck-meta {width:84%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 6px;color:var(--ink);font-size:15px;}
.deck-controls { display:flex; gap:10px; align-items:center; justify-content:flex-end; width:84%; padding-top:10px; color:#65717f; font-size:12px; }
.deck-controls button { font-size:12px; padding:6px 8px; border-radius:3px; }
.deck-controls button:hover { color:var(--blue); background:#e6edf7; }
.deck-dots { display:flex; gap:7px; margin-right:12px; }
.deck-dots button { width:20px; height:3px; padding:0; background:#ced6e0; border-radius:0; transition:width .3s,background .3s; }
.deck-dots button[aria-pressed="true"] { width:36px; background:var(--blue); }
.hero-deck .deck-meta,.hero-deck .deck-controls {width:100%;}
.hero-deck .deck-controls {padding-top:6px;}
.hero-deck .deck-dots {margin-right:auto;}

.scene-gallery { display:flex; gap:16px; }
.scene-card { flex:1; min-width:0; height:360px; border-radius:6px; overflow:hidden; background:white; transition:flex .6s cubic-bezier(.22,.7,.2,1),background .4s; position:relative; }
.scene-card.is-active { flex:2.6; background:#eaf1fc; }
.scene-card > img { width:100%; height:210px; object-fit:cover; display:block; transition:height .6s; }
.scene-toggle { width:100%; text-align:left; padding:22px 22px 10px; color:var(--ink); }
.scene-toggle h3 { font-size:20px; line-height:1.4; margin:0; font-weight:600; }
.scene-short { margin:0; padding:0 22px; font-size:13px; color:var(--muted); }
.scene-details { opacity:0; visibility:hidden; padding:0 24px; transition:opacity .3s; }
.scene-card.is-active > img { width:43%; height:calc(100% - 48px); position:absolute; left:24px; top:24px; border-radius:4px; }
.scene-card.is-active .scene-toggle,.scene-card.is-active .scene-short,.scene-card.is-active .scene-details { margin-left:calc(43% + 24px); width:auto; }
.scene-card.is-active .scene-toggle { padding-top:54px; }
.scene-card.is-active .scene-details { opacity:1; visibility:visible; }
.scene-details p { color:#566576; font-size:14px; line-height:1.9; margin:18px 0; }
.scene-details button { color:var(--blue); font-size:14px; padding:8px 0; }
.dev-process li { transition:background .25s,border-color .25s; }
.dev-process li:hover { background:#f5f8fd; border-color:var(--blue); }
.scope-rows article { transition:background .25s; }
.scope-rows article:hover { background:#f7f9fc; }
@media(max-width:1300px) { body:has(.hero-deck) .side-tools {display:none;} }



@media(prefers-reduced-motion:reduce) { .deck-slide,.deck-dots button,.scene-card,.scene-card>img,.scene-details,.dev-process li,.scope-rows article{transition:none;} html{scroll-behavior:auto;} }
