main > section.home-cases { padding: 12px 0 48px; scroll-margin-top: 96px; }
.home-cases-heading { text-align: center; margin: 0 auto 24px; max-width: 620px; }
.home-cases-heading h2 { margin: 12px 0 16px; color: #14243b; font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.1; }
.home-cases-heading h2 em { font-style: normal; color: #0789f4; }
.home-cases-heading p { color: #748399; font-size: .95rem; line-height: 1.6; }
.case-carousel { outline: none; container-type: inline-size; }
.case-carousel:focus-visible { outline: 2px solid #f5b321; outline-offset: 4px; border-radius: 24px; }
.case-stage { position: relative; isolation: isolate; perspective: 1400px; height: calc(min(36cqw, 382.5px) + 135px); overflow: hidden; touch-action: pan-y; }
.case-card { position: absolute; top: 18px; left: 50%; width: min(64%, 680px); border: 1px solid #dfebf7; border-radius: 24px; background: #fff; box-shadow: 0 24px 40px -25px #274c7659; transition: transform .55s cubic-bezier(.22,.7,.25,1), opacity .45s, box-shadow .45s; transform-origin: center center; }
.case-card[data-position="center"] { z-index: 3; transform: translateX(-50%); opacity: 1; }
.case-card[data-position="left"] { z-index: 1; transform: translateX(-108%) scale(.84) rotateY(10deg); opacity: .68; }
.case-card[data-position="right"] { z-index: 1; transform: translateX(8%) scale(.84) rotateY(-10deg); opacity: .68; }
.case-card[data-position="center"] { box-shadow: 0 24px 45px -25px #274c7680; }
.case-media { position: relative; aspect-ratio: 16 / 9; border-radius: 23px 23px 0 0; overflow: hidden; background: #e7eff7; }
.case-preview { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.case-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; transform: translate(-50%,-50%); background: #ffc528; box-shadow: 0 8px 24px #07172840; color: #14243b; transition: background .2s; }
.case-play svg { display: block; width: 25px; height: 25px; margin: 0; fill: currentColor; }
.case-preview:hover .case-play { background: #ffda6c; }
.case-preview:focus-visible { outline: 3px solid #ffc528; outline-offset: -4px; }
.case-duration { position: absolute; right: 14px; bottom: 12px; padding: 3px 7px; border-radius: 6px; background: #0c192bd9; color: #fff; font: 600 .75rem var(--body); font-variant-numeric: tabular-nums; }
.case-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 90px; padding: 18px 22px; }
.case-type { display: block; margin-bottom: 7px; color: #7588a0; font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.case-caption h3 { margin: 0; color: #172b45; font-size: clamp(.95rem, 1.3vw, 1.15rem); line-height: 1.25; letter-spacing: -.025em; }
.case-youtube { display: flex; align-items: center; gap: 6px; flex: none; color: #55779a; font-size: .68rem; white-space: nowrap; }
.case-youtube svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.case-youtube:focus-visible, .case-stop:focus-visible, .case-arrow:focus-visible, .case-dots button:focus-visible { outline: 2px solid #f5b321; outline-offset: 4px; }
.case-media iframe { display: block; width: 100%; height: 100%; border: 0; }
.case-stop { position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #dbe7f4; border-radius: 50%; background: #fffffff2; color: #213e5d; cursor: pointer; }
.case-stop svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.home-cases [hidden] { display: none !important; }
.case-navigation { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 0; }
.case-arrow { display: grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0; border: 1px solid #d5e4f5; border-radius: 50%; color: #244465; background: #fff; cursor: pointer; }
.case-arrow:hover { background: #edf6ff; }
.case-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.case-dots { display: flex; align-items: center; gap: 10px; }
.case-dots button { width: 10px; height: 10px; flex: none; padding: 0; border: 1px solid #a9c6e2; border-radius: 50%; background: #fff; cursor: pointer; }
.case-dots button[aria-current="true"] { background: #168af2; border-color: #168af2; }
.case-status { margin: 13px 0 0; color: #7b8ca1; text-align: center; font-size: .65rem; line-height: 1.5; }
@media(max-width:800px) { .case-caption { display: block; padding: 14px 18px; min-height: 105px; } .case-youtube { margin-top: 12px; width: fit-content; } .case-stage { height: calc(min(36cqw, 382.5px) + 155px); } }
@media(max-width:600px) { main > section.home-cases { padding-top: 8px; padding-bottom: 32px; } .home-cases-heading p { font-size: .88rem; } .case-card { width: calc(100% - 48px); border-radius: 19px; } .case-media { border-radius: 18px 18px 0 0; } .case-stage { height: calc(56.25cqw + 130px); } .case-card[data-position="left"] { transform: translateX(-108%) scale(.86) rotateY(8deg); } .case-card[data-position="right"] { transform: translateX(8%) scale(.86) rotateY(-8deg); } .case-play { width: 48px; height: 48px; } .case-play svg { width: 21px; height: 21px; } .case-caption { min-height: 102px; padding: 14px 16px; } .case-caption h3 { font-size: 1rem; } .case-type { font-size: .53rem; } .case-status { font-size: .61rem; } }
@media(prefers-reduced-motion:reduce) { .case-card, .case-play { transition: none; } }
