/* AI application case studies, inside the established KONGWO black/red world. */
/* :root raises these extension selectors above the source runtime's scoped reset. */
:root body:has(.case-study) #leftencart .title-container h2,
:root body:has(.case-study) #leftencart .title-container h3,
:root body:has(.case-study) #leftencart .title-container h4 { visibility: hidden; }
:root body:has(.case-study) .fps-text { display: none; }
:root .case-study .case-statement-part { display: block; }
:root .case-study {
  --case-red: #ff0033;
  --case-ink: #f1f0ec;
  --case-muted: #a4a3a5;
  --case-rule: #2c2427;
  font-family: forma-djr-display, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--case-ink);
  box-sizing: border-box;
}
:root .infos .case-backdrop { background: #050405; opacity: .98 !important; }
:root .infos .case-close {
  position: absolute; top: 35px; left: auto; right: 45px; transform: none;
  width: auto; height: 36px; padding: 0 12px; border: 1px solid #ff00334a;
  color: #ff0033; background: #080607; font: 14px forma-djr-display, "PingFang SC", sans-serif;
  letter-spacing: .04em; z-index: 1000; cursor: pointer;
}
:root .infos .case-close:hover { color: #080607; background: #ff0033; }
:root .infos .kongwo-project.case-study {
  top: 104px; bottom: 76px; width: calc(100% - 104px); max-width: 1480px;
  padding: 0 36px 0; scroll-behavior: smooth; scroll-padding-top: 24px;
  scrollbar-color: #ff0033 #141014; outline: none;
}
:root .case-study *, :root .case-study *::before, :root .case-study *::after { box-sizing: border-box; }
:root .case-study button, :root .case-study a { -webkit-tap-highlight-color: transparent; }
:root .case-study button { cursor: pointer; }
:root .case-study a { color: inherit; text-decoration: none; }
:root .case-study button:focus-visible, :root .case-study a:focus-visible, :root .work-case-meta button:focus-visible {
  outline: 2px solid #ff0033; outline-offset: 5px;
}
:root .case-study .case-eyebrow { display: block; font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--case-muted); }
:root .case-hero { padding: 32px 0 0; }
:root .case-hero-topline, :root .case-product-label, :root .case-product-view figcaption, :root .case-flow-topline, :root .case-ending-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
:root .case-hero-topline .case-eyebrow { color: var(--case-red); }
:root .case-hero-category { color: #777276; font-size: 10px; letter-spacing: .13em; }
:root .infos .case-study h1.case-title {
  margin: 35px 0 34px; color: var(--case-red); font-family: forma-djr-display, sans-serif;
  font-size: clamp(58px, 9.7vw, 160px); line-height: .83; letter-spacing: -.025em;
  font-weight: 600; text-align: left; max-width: 100%; overflow-wrap: normal;
}
:root .case-hero-copy { display: grid; grid-template-columns: 1.05fr 1fr; gap: 7%; padding: 14px 0 28px; }
:root .infos .case-study h2.case-statement {
  color: var(--case-ink); font-size: clamp(25px, 2.65vw, 42px); font-weight: 500;
  line-height: 1.4; padding: 0; margin: 0; text-align: left; max-width: 15em; text-wrap: balance;
}
:root .infos .case-study p.case-summary { color: #b7b3b6; font-size: 15px; line-height: 1.85; margin: 0 0 22px; text-align: left; }
:root .case-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
:root .case-study .case-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 42px; padding: 11px 0; color: var(--case-ink); background: transparent;
  border: none; border-bottom: 1px solid #66545b; border-radius: 0;
  font-family: inherit; font-weight: 500; font-size: 12px; letter-spacing: .02em;
}
:root .case-study .case-action-primary { background: var(--case-red); color: #080607; border-color: var(--case-red); padding: 12px 19px; }
:root .case-study .case-action:hover { color: var(--case-red); border-color: var(--case-red); }
:root .case-study .case-action-primary:hover { color: #fff; }
:root .case-role-line { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--case-rule); padding: 18px 0 23px; }
:root .case-role-line > span:not(.case-eyebrow) { color: #d1cdd0; font-size: 12px; }
:root .case-product-view { margin: 4px 0 0; position: relative; }
:root .case-product-label { padding: 12px 16px; border: 1px solid var(--case-rule); border-bottom: none; background: #110a0d; font-size: 10px; color: var(--case-red); letter-spacing: .11em; }
:root .case-product-label > span:last-child { color: #b4a8ae; letter-spacing: .03em; }
:root .case-product-view > a { display: block; position: relative; background: #161316; overflow: hidden; border: 1px solid #423039; }
:root .case-product-view img { display: block; width: 100%; height: auto; max-height: none; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
:root .case-product-view > a:hover img { transform: scale(1.015); }
:root .case-image-open { position: absolute; right: 16px; bottom: 16px; padding: 10px 14px; background: #090608ed; color: #fff; border: 1px solid #ff003350; font-size: 11px; }
:root .case-product-view figcaption { padding: 12px 0; color: #8d858b; font-size: 10px; letter-spacing: .04em; line-height: 1.6; }
:root .case-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--case-rule); border-bottom: 1px solid var(--case-rule); margin: 36px 0 0; }
:root .case-facts > div { padding: 25px 24px 25px 0; }
:root .case-facts strong { display: block; margin-top: 10px; font-size: 15px; font-weight: 500; line-height: 1.5; }
:root .case-section { padding-top: 78px; scroll-margin-top: 24px; }
:root .case-section-heading { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 35px; }
:root .case-section-index { color: var(--case-red); font-size: 16px; line-height: 1.2; }
:root .infos .case-study .case-section-heading h2 { padding: 8px 0 0; margin: 0; color: #e8e5e7; text-align: left; font-size: 26px; font-weight: 500; line-height: 1.4; }
:root .case-challenge-body { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; padding: 0 0 0 46px; }
:root .case-study .case-challenge-body h3 { font-size: clamp(24px, 2.55vw, 38px); font-weight: 400; line-height: 1.45; margin: 0; max-width: 14em; }
:root .infos .case-study .case-challenge-body p { font-size: 15px; line-height: 1.9; color: #aaa3a8; text-align: left; margin: 0; }
:root .case-flow-stage { position: relative; border: 1px solid #49313a; background: #100a0e; padding: 24px 28px 0; overflow: hidden; }
:root .case-flow-topline { color: #9b8a93; font-size: 10px; letter-spacing: .1em; margin-bottom: 26px; }
:root .case-flow-topline > span:first-child { color: #ff476c; }
:root .case-flow-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #42272f; }
:root .case-flow-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; position: relative; font-family: inherit; background: transparent; border: 0; border-bottom: 2px solid transparent; color: #9a858e; text-align: left; padding: 17px 12px 22px; transition: background .2s, color .2s; }
:root .case-flow-tabs button[aria-selected="true"] { color: #ff0033; border-bottom-color: #ff0033; background: #ff003309; }
:root .case-flow-tabs button:hover { color: #f4e9ed; }
:root .case-step-number { font-size: 11px; letter-spacing: .1em; }
:root .case-step-title { font-size: 16px; font-weight: 500; }
:root .case-flow-panels > div { min-height: 240px; display: flex; align-items: center; gap: 60px; padding: 24px 32px; }
:root .case-flow-panels > div[hidden] { display: none; }
:root .case-flow-big-number { color: #ff0033; opacity: .9; font-size: clamp(90px, 12vw, 180px); font-weight: 500; line-height: 1; letter-spacing: -.07em; }
:root .case-flow-description { max-width: 470px; }
:root .case-study .case-flow-description h3 { color: var(--case-ink); font-size: 30px; font-weight: 500; line-height: 1.35; margin: 0 0 16px; }
:root .infos .case-study .case-flow-description p { font-size: 15px; line-height: 1.85; color: #ada0a8; text-align: left; margin: 0; }
:root .case-output-line { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #42272f; color: #d0bac5; }
:root .case-output-line > span { display: flex; align-items: center; gap: 16px; padding: 19px 12px; font-size: 13px; }
:root .case-output-line small { color: #ff0033; font-size: 10px; }
:root .case-decision { display: grid; grid-template-columns: 44px 1fr 1.1fr; gap: 28px; padding: 29px 0; border-top: 1px solid var(--case-rule); }
:root .case-decision-number { color: var(--case-red); font-size: 12px; }
:root .case-study .case-decision h3 { font-size: 22px; font-weight: 400; margin: 0; line-height: 1.45; }
:root .infos .case-study .case-decision p { font-size: 14px; color: #aaa0a7; line-height: 1.85; margin: 0; text-align: left; }
:root .case-ending { margin: 84px 0 0; border-top: 1px solid #ff0033; padding: 35px 0 30px; }
:root .case-ending > .case-eyebrow { color: var(--case-red); }
:root .infos .case-study .case-ending h2 { font-size: clamp(30px, 4vw, 56px); line-height: 1.3; font-weight: 400; margin: 26px 0 45px; max-width: 17em; color: #eee8eb; text-align: left; padding: 0; }
:root .case-ending-bottom > span { color: #8a7d85; font-size: 10px; letter-spacing: .12em; }
:root .work-case-meta { position: absolute; right: 4.3vw; top: 31%; width: 245px; z-index: 24; pointer-events: auto; color: #ff0033; font-family: forma-djr-display, "PingFang SC", sans-serif; animation: work-case-enter .5s ease both; }
:root .work-case-eyebrow, :root .work-case-collection { display: block; font-size: 10px; letter-spacing: .09em; line-height: 1.5; }
:root #works-container .work-case-meta h2 { display: block; font-size: 25px; line-height: 1.45; font-weight: 500; margin: 14px 0; }
:root .work-case-meta p { font-size: 13px; line-height: 1.7; max-width: 19em; color: #e5bdc7; margin: 0 0 22px; }
:root .work-case-meta button { font-family: inherit; background: #ff0033; color: #070405; border: 1px solid #ff0033; padding: 12px 18px; font-size: 12px; cursor: pointer; }
:root .work-case-meta button:hover { color: #fff; }
:root .work-case-collection { border-top: 1px solid #ff00334a; padding-top: 19px; margin-top: 30px; color: #b97586; }
:root #works-container:has(.case-study) .works-bottom-left-container,
:root #works-container:has(.case-study) .works-bottom-container { visibility: hidden; opacity: 0 !important; pointer-events: none; }
:root #works-container:has(.case-study) .work-case-meta { visibility: hidden; }
:root #works-container .bar-wrapper:nth-child(4) { margin-left: 20px; }
:root #works-container .bar-wrapper:nth-child(4)::before { content: ""; height: 15px; border-left: 1px solid #ff003350; position: absolute; margin-left: -15px; margin-top: 7px; }
@keyframes work-case-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1650px) { .work-case-meta { right: 7vw; width: 280px; } }
@media (max-width: 1050px) {
  :root .work-case-meta { right: 25px; top: 32%; width: 190px; }
  :root #works-container .work-case-meta h2 { font-size: 20px; }
  :root .work-case-meta p { font-size: 12px; }
  :root .work-case-collection { display: none; }
  :root .infos .kongwo-project.case-study { width: calc(100% - 60px); max-width: none; padding: 0 12px; }
  :root .case-hero-copy { gap: 5%; }
  :root .case-facts { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  :root body:has(.case-study) #leftencart .title-container { top: 22px !important; left: 22px !important; }
  :root body:has(.case-study) #leftencart .title-container h1 { font-size: 27px; line-height: 1; }
  :root .infos .case-close { top: 22px; right: 20px; font-size: 12px; min-height: 40px; }
  :root .infos .kongwo-project.case-study { top: 85px; bottom: 68px; width: calc(100% - 36px); max-width: none; padding: 0 4px 0; }
  :root .case-hero { padding-top: 24px; }
  :root .case-hero-category { display: none; }
  :root .infos .case-study h1.case-title { font-size: clamp(45px, 10.8vw, 80px); margin: 28px 0 25px; line-height: .93; letter-spacing: -.015em; }
  :root .case-hero-copy { display: block; padding-top: 0; }
  :root .infos .case-study h2.case-statement { font-size: 26px; line-height: 1.45; margin: 0 0 20px; max-width: 16em; }
  :root .infos .case-study p.case-summary { font-size: 14px; margin-bottom: 18px; }
  :root .case-role-line { gap: 10px 18px; padding: 15px 0 19px; }
  :root .case-role-line > .case-eyebrow { width: 100%; }
  :root .case-product-label { padding: 10px; font-size: 8px; letter-spacing: .04em; gap: 12px; }
  :root .case-product-view figcaption { align-items: flex-start; font-size: 9px; gap: 10px; }
  :root .case-product-view figcaption > span:last-child { white-space: nowrap; }
  :root .case-image-open { right: 8px; bottom: 8px; padding: 7px; font-size: 9px; }
  :root .case-facts { margin-top: 22px; }
  :root .case-facts > div { padding: 19px 15px 19px 0; }
  :root .case-facts strong { font-size: 13px; margin-top: 8px; }
  :root .case-section { padding-top: 50px; }
  :root .case-section-heading { gap: 14px; margin-bottom: 24px; }
  :root .infos .case-study .case-section-heading h2 { font-size: 22px; }
  :root .case-challenge-body { display: block; padding-left: 0; }
  :root .case-study .case-challenge-body h3 { font-size: 25px; max-width: 18em; margin-bottom: 20px; }
  :root .infos .case-study .case-challenge-body p { font-size: 14px; }
  :root .case-flow-stage { padding: 17px 12px 0; }
  :root .case-flow-topline { font-size: 8px; gap: 12px; letter-spacing: .02em; margin-bottom: 15px; }
  :root .case-flow-tabs button { gap: 10px; padding: 13px 5px 16px; min-height: 72px; }
  :root .case-step-title { font-size: 11px; line-height: 1.45; }
  :root .case-step-number { font-size: 10px; }
  :root .case-flow-panels > div { min-height: 225px; gap: 24px; padding: 22px 4px; align-items: flex-start; }
  :root .case-flow-big-number { font-size: 78px; }
  :root .case-study .case-flow-description h3 { font-size: 21px; margin: 6px 0 12px; }
  :root .infos .case-study .case-flow-description p { font-size: 13px; }
  :root .case-output-line > span { font-size: 10px; padding: 15px 2px; gap: 6px; }
  :root .case-output-line small { font-size: 8px; }
  :root .case-decision { grid-template-columns: 25px 1fr; gap: 12px; padding: 23px 0; }
  :root .case-study .case-decision h3 { font-size: 19px; }
  :root .infos .case-study .case-decision p { grid-column: 2; font-size: 13px; }
  :root .case-ending { margin-top: 50px; }
  :root .infos .case-study .case-ending h2 { font-size: 30px; margin: 24px 0 30px; }
  :root .case-ending-bottom { align-items: flex-start; gap: 15px; }
  :root .case-ending-bottom > span { font-size: 8px; margin-top: 14px; }
  :root .case-ending-bottom .case-action { font-size: 11px; white-space: nowrap; }
  :root .work-case-meta { top: auto; bottom: 100px; left: 22px; right: 22px; width: auto; display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: center; }
  :root .work-case-eyebrow { grid-column: 1 / -1; font-size: 9px; }
  :root #works-container .work-case-meta h2 { font-size: 17px; margin: 5px 0; }
  :root .work-case-meta p { grid-column: 1; font-size: 11px; margin: 0; max-width: 23em; }
  :root .work-case-meta button { grid-column: 2; grid-row: 2 / 4; padding: 13px 12px; min-height: 44px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  :root .work-case-meta { animation: none; }
  :root .case-product-view img { transition: none; }
  :root .infos .kongwo-project.case-study { scroll-behavior: auto; }
}

/* V2: portrait-first collection; real product imagery as the opening experience. */
:root .infos .kongwo-project.case-study { top: 94px; bottom: 48px; width: calc(100% - 96px); max-width: 1540px; padding: 0 18px; overflow-x: hidden; }
:root .case-reading-progress { position: sticky; top: 0; height: 2px; width: 100%; background: #ff0033; transform: scaleX(var(--read-progress,0)); transform-origin: left; z-index: 6; }
:root .case-hero { padding-top: 22px; }
:root .case-hero-topline { border-bottom: 1px solid #302328; padding-bottom: 18px; }
:root .case-motion-toggle { border: none; background: none; color: #9e9599; font: 11px inherit; font-family: inherit; padding: 6px 0 6px 16px; min-height: 32px; cursor: pointer; }
:root .case-hero-layout { display: grid; grid-template-columns: 42% 58%; min-height: 590px; position: relative; align-items: center; }
:root .case-hero-narrative { position: relative; z-index: 2; padding: 30px 0; pointer-events: auto; }
:root .infos .case-study h1.case-title { font-size: clamp(62px,7.3vw,124px); color: #efede8; font-weight: 600; margin: 0 0 27px; line-height: .83; letter-spacing: -.045em; }
:root .case-title > span { display: block; }
:root .case-title > span.case-title-accent { color: #ff0033; margin-top: 4px; }
:root .case-matrix .case-title > span { display: inline; }
:root .infos .case-matrix h1.case-title { font-size: clamp(98px,12vw,188px); }
:root .infos .case-commerce h1.case-title { font-size: clamp(54px,6.6vw,105px); }
:root .infos .case-study h2.case-statement { font-size: clamp(22px,2vw,30px); line-height: 1.5; margin: 0 0 18px; max-width: 17em; }
:root .infos .case-study p.case-summary { font-size: 13px; max-width: 29em; color: #a8a2a5; line-height: 1.9; margin-bottom: 23px; }
:root .case-role-line { gap: 24px; padding: 20px 0; margin-top: 0; }
:root .case-scroll-cue { margin-left: auto; font-size: 10px !important; letter-spacing: .12em; color: #9b8e94 !important; }
:root .case-scene { height: 570px; position: relative; min-width: 0; isolation: isolate; transform: translate(var(--scene-x,0px),var(--scene-y,0px)); transition: transform .4s ease-out; }
:root .case-scene img { display: block; width: 100%; max-height: none; }
:root .scene-word { position: absolute; top: 34px; right: -18px; font-size: clamp(66px,9vw,140px); font-weight: 600; letter-spacing: -.045em; color: #2b141b; white-space: nowrap; z-index: -1; line-height: .85; }
:root .scene-coordinate { position: absolute; right: 5%; bottom: 17px; font-size: 9px; color: #ba858e; letter-spacing: .15em; }
:root .scene-float { animation: scene-float 7s ease-in-out infinite alternate; }
:root .platform-screen { position: absolute; width: 88%; left: 7%; top: 136px; transform: perspective(1000px) rotateY(-13deg) rotateX(6deg) rotateZ(-4deg); border: 1px solid #7c3345; box-shadow: -18px 26px 0 #3d0b17, -19px 27px 0 #ff0033, 0 35px 70px #000 !important; animation-name: screen-float; }
:root .scene-window-bar { display: flex; justify-content: space-between; padding: 12px 15px; background: #150b10; color: #edc4cd; font-size: 9px; letter-spacing: .13em; }
:root .platform-screen img { filter: saturate(.8); }
:root .scene-note { position: absolute; background: #130c10; border: 1px solid #61313e; padding: 20px 24px; box-shadow: 0 18px 50px #0008 !important; }
:root .platform-note { left: 1%; bottom: 48px; transform: rotate(-3deg); }
:root .scene-note span { display: block; color: #ff345c; font-size: 9px; letter-spacing: .12em; }
:root .scene-note strong { display: block; margin: 10px 0; color: #f0e7e9; font-size: 20px; font-weight: 500; }
:root .scene-note small { color: #a68b96; font-size: 11px; }
:root .matrix-tile { position: absolute; width: 35%; margin: 0; top: 100px; border: 1px solid #5e3842; box-shadow: 0 24px 55px #000b !important; background: #150d11; }
:root .matrix-tile img { aspect-ratio: 3/4; object-fit: cover; }
:root .matrix-tile-1 { left: 0; top: 120px; transform: rotate(-12deg); --rest-angle:-12deg; }
:root .matrix-tile-2 { left: 32%; top: 56px; transform: rotate(4deg); --rest-angle:4deg; z-index: 2; animation-delay: -2s; }
:root .matrix-tile-3 { left: 64%; top: 163px; transform: rotate(13deg); --rest-angle:13deg; animation-delay: -4s; }
:root .matrix-tile figcaption { padding: 13px; display: flex; flex-direction: column; gap: 5px; }
:root .matrix-tile figcaption span { color: #ff4567; font-size: 8px; letter-spacing: .1em; }
:root .matrix-tile figcaption strong { color: #e7dde1; font-size: 13px; font-weight: 400; }
:root .scene-commerce .scene-word { font-size: clamp(60px,8vw,120px); top: 28px; }
:root .commerce-look { position: absolute; margin: 0; border: 1px solid #574149; box-shadow: 0 26px 55px #000a !important; }
:root .commerce-look img { aspect-ratio: 3/4; object-fit: cover; }
:root .commerce-look-main { width: 47%; left: 42%; top: 48px; transform: rotate(6deg); --rest-angle:6deg; z-index: 2; }
:root .commerce-look-back { width: 38%; left: 13%; top: 108px; transform: rotate(-11deg); --rest-angle:-11deg; filter: brightness(.72); animation-delay:-3s; }
:root .commerce-look figcaption, :root .commerce-input figcaption { padding: 10px 12px; background: #170b10; color: #ffc4d1; font-size: 9px; letter-spacing: .1em; }
:root .commerce-input { position: absolute; z-index: 3; left: 7%; bottom: 28px; width: 23%; transform: rotate(-5deg); border: 2px solid #ff0033; box-shadow: 0 18px 40px #0009 !important; }
:root .commerce-input img { aspect-ratio: 3/4; object-fit: cover; }
:root .commerce-input figcaption { padding: 8px; font-size: 8px; }
:root .case-experience { padding-top: 70px; scroll-margin-top: 25px; }
:root .case-demo { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 6%; padding: 50px; border-top: 1px solid #49313b; border-bottom: 1px solid #49313b; background: #110b0e; min-height: 500px; }
:root .case-demo .demo-intro h3 { white-space: pre-line; font-size: clamp(28px,3vw,45px); color: #f0e9ec; font-weight: 500; line-height: 1.45; margin: 20px 0; }
:root .infos .case-study .demo-intro p { color: #a99aa2; font-size: 14px; line-height: 1.9; text-align: left; max-width: 27em; margin: 0 0 23px; }
:root .demo-disclaimer { display: block; color: #99818b; font-size: 10px; line-height: 1.7; margin-top: 26px; max-width: 28em; }
:root .case-demo .case-eyebrow { color: #ff4168; }
:root .platform-demo { grid-template-columns: .8fr 1.2fr; }
:root .platform-demo-image { display: block; transform: perspective(800px) rotateY(-7deg); border: 1px solid #61313f; box-shadow: -12px 16px 0 #400e1a !important; }
:root .platform-demo-image img { width: 100%; display: block; }
:root .platform-demo-image span { display: block; color: #dca8b6; background: #1c1016; padding: 13px; font-size: 10px; letter-spacing: .1em; }
:root .demo-switch { display: flex; gap: 0; width: max-content; border-bottom: 1px solid #59303b; }
:root .demo-switch button { border: 0; padding: 12px 22px; color: #b9a1ab; background: transparent; font-family: inherit; font-size: 13px; }
:root .demo-switch button[aria-pressed="true"] { background: #ff0033; color: #fff; }
:root .demo-content-preview { display: grid; grid-template-columns: 48% 52%; background: #ebe7e4; color: #160e12; box-shadow: 13px 18px 0 #3c0c18 !important; transform: rotate(2deg); }
:root .demo-content-preview > img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
:root .demo-content-copy { padding: 25px 22px; }
:root .case-demo .demo-content-copy .case-eyebrow { color: #b4002a; font-size: 10px; }
:root .demo-content-copy h4 { font-size: 21px; line-height: 1.6; color: #1d1417; margin: 21px 0 15px; font-weight: 500; }
:root .infos .case-study .demo-content-copy p { color: #63565c; font-size: 12px; line-height: 1.9; text-align: left; margin: 0; }
:root .demo-tag { display: block; margin-top: 24px; padding-top: 12px; border-top: 1px solid #c4b9bd; font-size: 10px; color: #a60029; }
:root .commerce-demo { --reveal:62%; }
:root .compare-stage { position: relative; height: 500px; background: #e4e0de; overflow: hidden; }
:root .compare-stage img { position: absolute; width: 100%; height: 100%; object-fit: contain; display: block; }
:root .compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--reveal,62%)); background: #b9b5b4; }
:root .compare-line { position: absolute; top: 0; bottom: 0; left: var(--reveal,62%); width: 2px; background: #ff0033; }
:root .compare-caption { position: absolute; bottom: 14px; background: #100a0de0; color: #eee4e7; font-size: 9px; padding: 8px 10px; letter-spacing: .1em; }
:root .compare-caption-before { left: 14px; }
:root .compare-caption-after { right: 14px; }
:root .compare-label { display: block; color: #ecbac8; margin-top: 30px; font-size: 12px; }
:root .compare-range { display: block; width: min(100%,300px); margin-top: 17px; accent-color: #ff0033; height: 28px; cursor: ew-resize; }
:root .case-study .case-facts { margin-top: 35px; }
:root .case-study .case-section-heading { padding-bottom: 20px; border-bottom: 1px solid #2a2024; }
:root .case-study .case-flow-stage { background: #0c090b; }
:root .case-study .case-section, :root .case-study .case-demo, :root .case-study .case-ending { transition: transform .8s ease, opacity .8s ease; }
:root .case-study .is-revealed { animation: case-reveal .7s ease both; }
:root #works-container .bar-wrapper:nth-child(4) { margin-left: 0; }
:root #works-container .bar-wrapper:nth-child(4)::before { display: none; }
:root #works-container .bar-wrapper:nth-child(2), :root #works-container .bar-wrapper:nth-child(5) { margin-left: 15px; }
:root #works-container .bar-wrapper:nth-child(2)::before, :root #works-container .bar-wrapper:nth-child(5)::before { content: ""; height: 15px; border-left: 1px solid #ff003350; position: absolute; margin-left: -10px; margin-top: 7px; }
:root .case-study[data-motion="off"] *, :root .case-study[data-motion="off"] *::before { animation: none !important; transition: none !important; }
:root .case-study[data-motion="off"] .case-scene { transform: none; }
@keyframes scene-float { from { transform: translateY(0) rotate(var(--rest-angle,0deg)); } to { transform: translateY(-12px) rotate(var(--rest-angle,0deg)); } }
@keyframes screen-float { from { transform: perspective(1000px) rotateY(-13deg) rotateX(6deg) rotateZ(-4deg) translateY(0); } to { transform: perspective(1000px) rotateY(-10deg) rotateX(4deg) rotateZ(-3deg) translateY(-10px); } }
@keyframes case-reveal { from { transform: translateY(22px); opacity: .35; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 1050px) {
  :root .case-hero-layout { grid-template-columns: 45% 55%; min-height: 520px; }
  :root .case-scene { height: 480px; }
  :root .platform-screen { top: 125px; }
  :root .platform-note { bottom: 55px; padding: 16px; }
  :root .scene-note strong { font-size: 15px; }
  :root .matrix-tile-3 { top: 150px; }
  :root .case-demo { padding: 30px; gap: 5%; }
  :root .demo-content-preview { grid-template-columns: 45% 55%; }
  :root .demo-content-copy { padding: 16px; }
  :root .demo-content-copy h4 { font-size: 17px; }
  :root .compare-stage { height: 420px; }
  :root .case-scroll-cue { display: none; }
}
@media (max-width: 720px) {
  :root .infos .kongwo-project.case-study { top: 78px; bottom: 35px; width: calc(100% - 36px); padding: 0 4px; }
  :root .case-hero { padding-top: 8px; }
  :root .case-hero-topline { gap: 10px; padding-bottom: 10px; }
  :root .case-hero-topline .case-eyebrow { font-size: 9px; letter-spacing: .08em; }
  :root .case-motion-toggle { font-size: 10px; flex-shrink: 0; }
  :root .case-hero-layout { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  :root .case-hero-narrative { padding: 26px 0 0; }
  :root .infos .case-study h1.case-title { font-size: clamp(45px,11.6vw,82px); margin: 0 0 20px; line-height: .95; }
  :root .case-title > span { display: inline; }
  :root .case-title > span.case-title-accent { margin-left: 6px; }
  :root .infos .case-matrix h1.case-title { font-size: 82px; }
  :root .infos .case-commerce h1.case-title { font-size: clamp(38px,9.8vw,64px); }
  :root .infos .case-study h2.case-statement { font-size: 22px; margin-bottom: 14px; line-height: 1.5; }
  :root .infos .case-study p.case-summary { font-size: 12px; max-width: 29em; margin-bottom: 16px; }
  :root .case-study .case-action { font-size: 11px; min-height: 40px; }
  :root .case-actions { gap: 14px; }
  :root .case-scene { width: 100%; height: 360px; margin-top: 15px; }
  :root .scene-word { font-size: 68px; top: 12px; right: 0; }
  :root .platform-screen { width: 87%; left: 8%; top: 65px; box-shadow: -10px 16px 0 #3d0b17,-11px 17px 0 #ff0033,0 25px 40px #000 !important; }
  :root .scene-window-bar { font-size: 6px; padding: 8px; }
  :root .platform-note { left: 2%; bottom: 38px; padding: 13px 16px; }
  :root .scene-note strong { font-size: 16px; margin: 7px 0; }
  :root .scene-note span { font-size: 7px; }
  :root .scene-note small { font-size: 9px; }
  :root .scene-coordinate { font-size: 7px; bottom: 8px; }
  :root .matrix-tile { width: 38%; }
  :root .matrix-tile-1 { top: 84px; left: 2%; }
  :root .matrix-tile-2 { top: 32px; left: 31%; }
  :root .matrix-tile-3 { top: 109px; left: 60%; }
  :root .matrix-tile figcaption { padding: 8px; }
  :root .matrix-tile figcaption span { font-size: 6px; }
  :root .matrix-tile figcaption strong { font-size: 10px; }
  :root .commerce-look-main { width: 49%; top: 29px; }
  :root .commerce-look-back { width: 40%; top: 69px; left: 12%; }
  :root .commerce-input { bottom: 30px; left: 4%; width: 25%; }
  :root .commerce-look figcaption, :root .commerce-input figcaption { font-size: 6px; padding: 7px; }
  :root .scene-commerce .scene-word { font-size: 62px; top: 8px; }
  :root .case-role-line { gap: 9px 16px; padding: 17px 0; }
  :root .case-role-line > span:not(.case-eyebrow) { font-size: 10px; }
  :root .case-experience { padding-top: 33px; }
  :root .case-demo { display: flex; flex-direction: column; align-items: stretch; padding: 25px 18px; gap: 30px; min-height: 0; }
  :root .case-demo .demo-intro h3 { font-size: 28px; margin: 15px 0; }
  :root .infos .case-study .demo-intro p { font-size: 13px; margin-bottom: 18px; }
  :root .demo-disclaimer { margin-top: 18px; font-size: 9px; }
  :root .platform-demo-image { transform: none; box-shadow: -6px 8px 0 #400e1a !important; }
  :root .platform-demo-image span { font-size: 8px; padding: 10px; }
  :root .demo-content-preview { grid-template-columns: 45% 55%; transform: none; box-shadow: 6px 8px 0 #3c0c18 !important; }
  :root .demo-content-preview > img { min-height: 280px; }
  :root .demo-content-copy { padding: 15px 12px; }
  :root .demo-content-copy h4 { font-size: 16px; margin: 14px 0 10px; }
  :root .infos .case-study .demo-content-copy p { font-size: 10px; }
  :root .demo-tag { font-size: 8px; margin-top: 15px; }
  :root .compare-stage { height: 400px; }
  :root .compare-range { width: 100%; }
  :root .case-study .case-section-heading { padding-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  :root .case-study *, :root .case-study *::before { animation: none !important; transition: none !important; }
  :root .case-scene { transform: none; }
}
@media (max-width: 720px) {
  :root .matrix-tile { width: 34%; }
  :root .matrix-tile-1 { left: 6%; }
  :root .matrix-tile-2 { left: 33%; }
  :root .matrix-tile-3 { left: 60%; }
}
