﻿.case-edition{--base:#16242b;--ink:#f7f1df;--accent:#d4dca1;--surface:#34474c;background:var(--base);color:var(--ink);padding:0 max(5vw,calc((100vw - 1480px)/2));}
.ce-sfc{--base:#241d31;--accent:#eed0f7;--surface:#493752}.ce-social{--base:#132b26;--accent:#beef9c;--surface:#325647}.ce-edu{--base:#f1ebd6;--ink:#263f49;--accent:#265879;--surface:#ccdfdf}.ce-cards{--base:#142923;--accent:#f5d09a;--surface:#2c5047}.ce-news{--base:#eee8db;--ink:#352c28;--accent:#813e34;--surface:#d1bcae}.ce-mobile{--base:#172d27;--accent:#c0eebc}.ce-air{--base:#152735;--surface:#344f63;--accent:#c6e3f4}.ce-sky{--base:#e1ebee;--ink:#23394c;--surface:#b8c9d1;--accent:#334f67}.ce-label,.ce-service{--base:#e8e3d6;--ink:#302f24;--surface:#ccbea1;--accent:#744433}
.ce-header{padding:clamp(36px,5vw,86px) 0 24px;border-bottom:1px solid currentColor;display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px 24px}.ce-header h1,.ce-notes h2{color:inherit;font-weight:800;letter-spacing:-.06em;line-height:1.12;margin:0}.ce-header h1{grid-column:1/-1;font-size:clamp(40px,6vw,95px)}.ce-header p,.ce-notes p{color:inherit;line-height:1.85;max-width:38em;margin:8px 0}.case-edition a,.ce-header small{color:var(--accent);font-weight:650;text-underline-offset:5px}
.ce-scene{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;gap:6vw;padding:clamp(25px,5vw,72px) 0;border-bottom:1px solid #89928b66;scroll-margin-top:82px;perspective:1000px}
.ce-visual{margin:0;position:relative;overflow:hidden;background:var(--surface);aspect-ratio:1.8;display:grid;place-items:center}.ce-visual img{width:100%;height:100%;position:absolute;inset:0;object-fit:contain;padding:6px 6px 30px}.ce-visual figcaption{position:absolute;bottom:0;left:0;right:0;background:#10191fe8;color:#f3f2df;padding:5px 12px;font:600 12px/1.45 monospace}
.ce-notes h2{font-size:clamp(29px,3.8vw,60px)}.ce-notes a{display:inline-block;margin-top:8px}
.ce-prop{width:72%;padding:4% 6%;line-height:1.2;background:#f0dfbe;color:#352730;box-shadow:5px 8px 0 #101a2744;transform:rotate(-4deg);display:grid;gap:6px}.ce-prop small,.ce-prop span{font:650 clamp(10px,1vw,15px)/1.3 monospace}.ce-prop strong{font:800 clamp(22px,4vw,65px)/1.1 Georgia,serif}.ce-prop i{height:8px;background:repeating-linear-gradient(90deg,currentColor 0 2px,transparent 2px 5px)}
.ce-sfc .ce-prop{background:#ecd4f5;border-right:3px dashed #604d6f}.ce-news .ce-prop{background:#24282f;color:#f0d8b5}.ce-news .ce-prop i{height:18px;clip-path:polygon(0 50%,10% 20%,20% 70%,30% 0,40% 50%,50% 10%,60% 70%,70% 0,80% 55%,90% 20%,100% 50%,100% 80%,0 90%)}.ce-label .ce-prop{background:repeating-linear-gradient(#ece6d5 0 2px,#e4decc 2px 3px);border-block:2px dashed #7b7663}
.ce-demo{width:min(90%,850px);margin:48px auto}
@supports(animation-timeline:view()){ @media(prefers-reduced-motion:no-preference){.ce-visual{animation:case-unfold linear both;animation-timeline:view();animation-range:entry 0% entry 100%}}}
@keyframes case-unfold{from{transform:rotateX(9deg) translateY(12px) scale(.96)}to{transform:none}}
@media(max-width:760px){.ce-header,.ce-scene{display:block}.ce-header small{display:block;margin:14px 0 7px}.ce-header h1{margin-bottom:12px}.ce-header p{margin-bottom:12px}.ce-visual{margin-bottom:16px;aspect-ratio:1.55}.ce-notes h2{font-size:30px}.ce-scene{padding:26px 0}.ce-prop{gap:3px}}

.ce-original{position:absolute;inset:0 0 28px}.ce-original img{padding:6px}.ce-original:focus-visible{outline:3px solid var(--accent);outline-offset:-4px}.ce-visual figcaption{pointer-events:none}
.ce-social .ce-visual,.ce-mobile .ce-visual{background:radial-gradient(ellipse at 28% 28%,#75b98e44,transparent 65%),repeating-linear-gradient(135deg,transparent 0 20px,#e9ffd50e 20px 21px),var(--surface)}
.ce-sky .ce-visual,.ce-air .ce-visual{background:repeating-linear-gradient(90deg,transparent 0 29px,#bbcbd12b 29px 30px),var(--surface);border-block:2px solid var(--accent)}
.ce-cards .ce-visual{background:radial-gradient(ellipse,#47665b,#172e28);border:5px solid #6c543f;border-radius:11px}
@media(min-width:761px){.ce-social .ce-scene:nth-of-type(2),.ce-cards .ce-scene:nth-of-type(2),.ce-sky .ce-scene:nth-of-type(2){direction:rtl}.ce-scene>*{direction:ltr}.ce-news .ce-scene{grid-template-columns:1fr 1fr}.ce-label .ce-prop{width:52%;outline:1px solid #a5967a;outline-offset:4px}}
@supports(animation-timeline:view()){ @media(prefers-reduced-motion:no-preference){.ce-label .ce-prop,.ce-service .ce-prop,.ce-sfc .ce-prop{animation:case-slip linear both;animation-timeline:view();animation-range:entry 0% cover 65%}.ce-cards .ce-original img,.ce-sky .ce-original img{animation:case-close linear both;animation-timeline:view();animation-range:entry 10% cover 70%}}}
@keyframes case-slip{from{transform:perspective(800px) rotateY(-28deg) rotateZ(-8deg) translateY(10%)}to{transform:perspective(800px) rotateY(4deg) rotateZ(-2deg)}}
@keyframes case-close{from{transform:scale(.93)}to{transform:scale(1.04)}}
