@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');
:root{--bg:#080a0e;--text:#f6f6f6;--muted:#8d919d;--line:#292c35}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Manrope,'Helvetica Neue',Arial,sans-serif;font-weight:300;overflow-x:hidden}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}.ambient{position:fixed;pointer-events:none;border-radius:50%;filter:blur(110px);opacity:.17;z-index:-1}.ambient-a{width:450px;height:450px;background:#8a2cba;top:14%;left:-180px}.ambient-b{width:430px;height:430px;background:#ec4b3b;top:40%;right:-220px}.topbar{max-width:1300px;margin:auto;padding:27px 30px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:19px;font-weight:800;letter-spacing:-1.3px}.brand span{font-size:10px;vertical-align:top;color:#a6a7b2}.topbar nav{display:flex;align-items:center;gap:31px;font-size:12px}.topbar nav a{color:#b4b7c0}.topbar nav a:hover{color:#fff}.contact{border:1px solid #5a5e69;padding:10px 16px;border-radius:30px}main{min-height:70vh}.wrap{max-width:1240px;margin:auto;padding:0 30px}.hero{min-height:640px;padding:90px 0 45px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.eyebrow{font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:#a7aab3}.hero h1{font-size:clamp(45px,8.3vw,115px);letter-spacing:-.085em;line-height:.97;font-weight:500;margin:24px 0 15px}.hero h1 em{font-style:normal;background:linear-gradient(110deg,#fff,#a8b3ca);background-clip:text;color:transparent}.hero .subtitle{font-size:13px;color:#a3a7b3;max-width:460px;line-height:1.9}.hero .explore{display:inline-block;margin-top:28px;padding:12px 24px;border-radius:40px;background:#fff;color:#090b10;font-size:11px;font-weight:700}.orbit{height:250px;width:min(620px,100%);position:relative;margin-bottom:20px}.orb{position:absolute;left:50%;top:50%;width:76px;height:84px;border-radius:20px;display:flex;align-items:center;justify-content:center;transform:translate(-50%,-50%) translate(var(--x),var(--y)) rotate(var(--r));box-shadow:0 10px 35px var(--glow),inset 0 0 25px #fff3;border:1px solid #ffffff50;font-weight:800;letter-spacing:-.1em;font-size:20px;transition:transform .35s}.orb:hover{transform:translate(-50%,-50%) translate(var(--x),calc(var(--y) - 15px)) rotate(0deg) scale(1.1)}.orbit:after{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:70%;height:30px;border-radius:50%;background:#da3e9e30;filter:blur(30px);z-index:-1}.section-head{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:22px 0;margin-top:20px;font-size:11px;letter-spacing:.12em;text-transform:uppercase}.section-head span:last-child{color:var(--muted)}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 32px}.filters button{border:1px solid #333844;color:#b6bac5;background:transparent;border-radius:30px;padding:9px 15px;font-size:11px}.filters button.active,.filters button:hover{background:#fff;color:#101115;border-color:#fff}.machine{border:8px solid #333943;border-radius:25px;padding:18px;background:linear-gradient(120deg,#1a2029,#090c13 28%,#141923 80%,#343a45);box-shadow:inset 0 0 0 3px #656b72,0 30px 90px #0009;position:relative}.machine:before{content:"";position:absolute;inset:9px;border:1px solid #ffffff1b;border-radius:13px;pointer-events:none}.machine-label{font-size:11px;letter-spacing:.2em;color:#b4bdca;display:flex;justify-content:space-between;padding:10px 13px 22px}.shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 17px;padding:0 9px 24px}.product{min-width:0;background:transparent;color:inherit;border:0;padding:0;text-align:left}.display{height:300px;background:linear-gradient(145deg,#171c24,#090b10);border-radius:9px;display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden;box-shadow:inset 0 0 20px #000}.display:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 70%,var(--glow),transparent 65%);opacity:.55}.sku{position:absolute;top:13px;left:13px;font-size:10px;color:#c8cbd2;z-index:2}.product .artifact{transition:transform .35s}.product:hover .artifact{transform:translateY(-13px) rotate(0deg) scale(1.05)}.artifact{width:69%;height:74%;border-radius:13px 13px 7px 7px;position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:18px;transform:rotate(-6deg);background:linear-gradient(145deg,var(--tone),#1b1d29);box-shadow:15px 18px 12px #0007,inset -14px 0 20px #0002,inset 8px 0 10px #fff3;overflow:hidden}.artifact:after{content:"";position:absolute;left:10%;top:0;width:18%;height:100%;background:#ffffff20;transform:skewX(-13deg)}.artifact .small{font-size:9px;letter-spacing:.14em;z-index:1}.artifact strong{font-size:clamp(27px,4vw,60px);letter-spacing:-.095em;line-height:.95;font-weight:800;z-index:1;overflow-wrap:anywhere}.artifact .stamp{font-size:10px;letter-spacing:.15em;z-index:1}.shelf-bar{height:19px;background:linear-gradient(#77828f,#333a46 38%,#121821);border-top:2px solid #a7afbb;border-radius:0 0 6px 6px;margin:-7px 0 13px;box-shadow:0 12px 13px #0008}.product-info{padding:12px 2px 0}.product-info h3{font-size:17px;font-weight:600;letter-spacing:-.04em;margin:0 0 5px}.product-info p{font-size:11px;line-height:1.65;color:#a3a6b2;margin:0}.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.tag{font-size:9px;color:#b9bec8;border:1px solid #454b55;border-radius:20px;padding:5px 8px}.machine-bottom{display:flex;align-items:center;justify-content:space-between;padding:25px 13px 10px;color:#b0b6c0;font-size:10px;letter-spacing:.1em}.machine-bottom b{font-size:20px;letter-spacing:-.08em;color:#fff}.about{padding:110px 0}.about h2{font-size:clamp(45px,7vw,92px);letter-spacing:-.08em;font-weight:500;line-height:1.05;margin:20px 0}.about p{max-width:630px;font-size:15px;line-height:1.9;color:#aeb2bd}.about .skills{font-size:12px;color:#9ca3b1;margin-top:25px}.back{border:0;background:transparent;color:#bec4d0;padding:30px 0;font-size:12px}.case{padding-bottom:100px}.case h1{font-size:clamp(50px,9vw,120px);font-weight:500;letter-spacing:-.09em;line-height:1;margin:20px 0}.case-intro{display:flex;justify-content:space-between;gap:25px;align-items:end;margin-bottom:40px}.case-intro p{font-size:15px;max-width:480px;color:#b4b9c4;line-height:1.8}.case-stage{min-height:420px;border-radius:12px;background:radial-gradient(ellipse at 50% 75%,var(--glow),transparent 55%),linear-gradient(130deg,#1c202a,#0a0d14);display:flex;align-items:center;justify-content:center}.case-stage .artifact{width:240px;height:320px}.case-rows{margin:60px 0}.case-row{display:grid;grid-template-columns:1fr 2fr;gap:40px;padding:29px 0;border-top:1px solid var(--line)}.case-row h2{font-size:11px;text-transform:uppercase;letter-spacing:.18em;font-weight:500}.case-row p{font-size:15px;line-height:1.85;color:#b3b8c4;margin:0;max-width:700px}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px}.placeholder{min-height:300px;border:1px dashed #424954;background:#131720;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#9097a5;gap:12px;text-align:center;padding:20px}.placeholder:first-child{grid-column:span 2;min-height:390px}.placeholder span{font-size:32px}.placeholder small{font-size:11px}.next{display:inline-block;margin-top:40px;border:1px solid #525965;border-radius:30px;padding:14px 20px;font-size:12px}.next:hover{background:#fff;color:#101015}footer{max-width:1300px;margin:auto;padding:30px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);color:#818895;font-size:10px;letter-spacing:.1em}@media(max-width:760px){.topbar{padding:20px}.topbar nav{gap:12px;font-size:10px}.topbar nav a:nth-child(2){display:none}.wrap{padding:0 17px}.hero{min-height:580px;padding:70px 0 35px}.orbit{transform:scale(.7);width:600px;max-width:none;left:50%;margin-left:-300px}.shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px;padding:0 2px 20px}.machine{padding:10px;border-width:5px}.display{height:240px}.artifact{width:77%;height:73%;padding:12px}.artifact strong{font-size:28px}.product-info h3{font-size:14px}.machine-bottom{font-size:8px}.case-intro{display:block}.case-row{grid-template-columns:1fr;gap:12px}.gallery{grid-template-columns:1fr}.placeholder:first-child{grid-column:span 1}.about{padding:65px 0}footer{flex-wrap:wrap;padding:25px 17px}}@media(max-width:420px){.display{height:190px}.artifact strong{font-size:23px}.artifact .small{font-size:7px}.product-info p{font-size:10px}.hero h1{font-size:48px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
/* Русская типографика и редакционная обложка */
.eyebrow,.section-head,.machine-label,.machine-bottom,.sku,.artifact .small,.artifact .stamp,footer,.tag,.back,.case-row h2,.placeholder small{font-size:clamp(12px,1vw,14px);letter-spacing:.055em}
.topbar nav{font-size:14px}.topbar .brand{font-size:20px;letter-spacing:-.05em}
.product-info p{font-size:13px}.product-info h3{font-size:18px}.filters button{font-size:13px}.tag{font-size:11px}
.hero-editorial{min-height:770px;display:block;padding:44px 0 65px;text-align:left}
.hero-heading{position:relative;z-index:2}.hero-heading h1{font-size:clamp(68px,12.3vw,173px);letter-spacing:-.095em;line-height:.9;font-weight:700;margin:0;white-space:nowrap}.hero-heading-meta{display:flex;justify-content:space-between;font-size:clamp(16px,2vw,28px);font-weight:300;letter-spacing:.04em;margin-top:13px}
.hero-composition{height:550px;position:relative;margin-top:-12px}
.hero-portrait{position:absolute;left:50%;top:0;transform:translateX(-50%);width:42%;height:500px;z-index:1;display:flex;align-items:center;justify-content:center}
.portrait-placeholder{width:100%;height:100%;background:radial-gradient(ellipse at 50% 42%,#828d9b88,transparent 60%),linear-gradient(130deg,#232833,#0d111a);border-radius:44% 44% 20% 20%;border:1px dashed #69727e;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#e1e6ee;text-align:center}
.portrait-placeholder span{font-size:22px;letter-spacing:.08em}.portrait-placeholder small{font-size:13px;line-height:1.7;color:#b3b9c6}
.glass-panel{position:absolute;z-index:3;background:#dce1e9d9;color:#141820;border:1px solid #ffffffb0;backdrop-filter:blur(24px);box-shadow:0 16px 55px #0004;border-radius:25px;padding:22px}
.intro-panel{left:2%;top:190px;width:31%}.panel-kicker{font-size:12px;letter-spacing:.08em;color:#4b596c;font-weight:700}
.intro-panel h2{font-size:26px;letter-spacing:-.05em;margin:13px 0}.intro-panel p{font-size:13px;line-height:1.7;margin:0 0 18px}.intro-panel a{display:block;text-align:center;background:#f4f6fa;padding:12px;border-radius:30px;font-size:13px;font-weight:700}
.skills-panel{right:2%;top:120px;width:27%}.skills-panel>div{background:#f2f3f7a8;border-radius:20px;padding:11px 13px;font-size:13px;margin-top:9px}
.software-dock{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:8px;padding:10px;background:#dce1e7c9;border:1px solid #fff8;backdrop-filter:blur(20px);border-radius:20px;z-index:4}
.software-dock>span{width:67px;height:65px;background:#151e2d;color:#b1d9ff;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:25px;font-weight:700;line-height:1.1}.software-dock>span:nth-child(2){color:#ffc17b}.software-dock>span:nth-child(3){color:#f7b6ff}.software-dock>span:nth-child(4){color:#ffa97e}.software-dock>span:nth-child(5){color:#f5e879}.software-dock>span:nth-child(6){color:#9bffc7}
.software-dock small{font-size:9px;color:#e6e9f2;font-weight:400;margin-top:4px}
.hero-note{text-align:center;color:#9ba2ae;font-size:12px;letter-spacing:.1em;margin-top:7px}
@media(max-width:850px){.hero-editorial{min-height:auto;padding:45px 0}.hero-heading h1{font-size:clamp(42px,11vw,90px)}.hero-composition{height:auto;display:flex;flex-direction:column;gap:16px;margin-top:30px}.hero-portrait,.intro-panel,.skills-panel,.software-dock{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;width:100%}.hero-portrait{height:340px;order:0}.portrait-placeholder{max-width:330px}.intro-panel{order:1}.skills-panel{order:2}.software-dock{order:3;justify-content:center;flex-wrap:wrap}.hero-note{margin-top:25px}.glass-panel{padding:20px}.skills-panel{display:grid;grid-template-columns:1fr 1fr;gap:8px}.skills-panel .panel-kicker{grid-column:span 2}.skills-panel>div{margin:0}.software-dock>span{width:58px;height:60px}}
@media(max-width:420px){.hero-heading-meta{font-size:13px}.hero-heading h1{font-size:11vw}.skills-panel>div{font-size:11px}.software-dock>span{width:47px;height:52px;font-size:20px}.software-dock small{font-size:7px}}

/* Фотография в центральной композиции */
.hero-portrait{width:62%;height:550px;pointer-events:none}.portrait-photo{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 20px 35px #0006)}.hero-heading{z-index:2}.hero-portrait{z-index:2}.intro-panel,.skills-panel{z-index:3}.software-dock{z-index:4}@media(max-width:850px){.hero-portrait{width:100%;height:390px}.portrait-photo{object-fit:contain}}

/* Официальные графические знаки программ вместо текстовых псевдоиконок */
.software-dock>span{overflow:hidden}
.software-dock>span img{width:43px;height:43px;object-fit:contain;display:block;flex:none}
.software-dock>span:has(img){background:transparent}
.software-dock>span small{white-space:nowrap}
@media(max-width:850px){.software-dock>span img{width:36px;height:36px}}
@media(max-width:420px){.software-dock>span img{width:29px;height:29px}}

/* Единая система квадратных иконок в духе Adobe Creative Cloud */
.software-dock{align-items:flex-start;gap:11px}
.software-dock>.software-item{width:70px;height:auto;min-height:76px;background:transparent!important;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;overflow:visible;color:#e8ecf4;font-size:inherit;line-height:1.2}
.software-dock .app-icon{width:56px;height:56px;flex:none;border-radius:13px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#071c32;border:1px solid #ffffff1b;box-shadow:inset 0 1px 1px #ffffff14,0 5px 12px #0002}
.software-dock .app-icon img{width:37px;height:37px;display:block;object-fit:contain}
.software-dock .app-ps{background:#001e36}
.software-dock .app-ai{background:#330000}
.software-dock .app-figma{background:#17171c}
.software-dock .app-blender{background:#231b13}
.software-dock .app-js{background:#26260d}
.software-dock .app-neural{background:#112a23;color:#85e9c3}
.software-dock .app-neural b{font-size:25px;font-weight:700;letter-spacing:-.07em}
.software-dock>.software-item small{font-size:10px;color:#252b34;font-weight:600;margin-top:7px;text-align:center;white-space:nowrap}
@media(max-width:850px){.software-dock>.software-item{width:62px;min-height:70px}.software-dock .app-icon{width:50px;height:50px}.software-dock .app-icon img{width:33px;height:33px}}
@media(max-width:420px){.software-dock{gap:5px}.software-dock>.software-item{width:46px;min-height:58px}.software-dock .app-icon{width:41px;height:41px;border-radius:10px}.software-dock .app-icon img{width:27px;height:27px}.software-dock>.software-item small{font-size:8px}.software-dock .app-neural b{font-size:19px}}

/* Социальные сети и загрузка медиа */
.social-links{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-top:24px}
.social-links a,.social-links .social-pending{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid #434b59;border-radius:30px;font-size:12px;color:#d9dfe8;text-decoration:none;white-space:nowrap}
.social-links a:hover{background:#ffffff18}
.social-links img{width:20px;height:20px;object-fit:contain}
.social-links .social-pending{opacity:.65;cursor:help}
footer .social-links{margin-top:0}
footer .social-links a,footer .social-links .social-pending{padding:7px 9px;font-size:11px}
footer .social-links img{width:17px;height:17px}
.project-image-slot{min-height:300px;overflow:hidden;border-radius:6px;background:#121720}
.project-image-slot:first-child{grid-column:span 2;min-height:390px}
.project-image-slot>img{display:block;width:100%;height:100%;max-height:720px;object-fit:contain}
.project-image-slot>.placeholder{width:100%;height:100%}
.software-dock .app-js{background:#15231f;color:#88e7bb}
.software-dock .app-js b{font-size:25px;font-weight:700;letter-spacing:-.07em}
.software-dock .app-blender{background:#101820}
@media(max-width:760px){footer{align-items:flex-start}footer .social-links{order:3;width:100%}.project-image-slot:first-child{grid-column:span 1}}

/* Контакты, увеличенный портрет и единый стиль программ */
.hero-portrait{width:77%;height:610px;top:-35px}
.hero-composition{height:610px}
.portrait-photo{width:100%;height:100%;object-fit:contain;object-position:center bottom}
.intro-panel,.skills-panel{z-index:5}
.software-dock{z-index:6}
.software-dock .app-js{background:#112a23!important;color:#85e9c3!important}
.software-dock .app-js b{font-size:25px;font-weight:700;letter-spacing:-.07em}
.software-dock .app-blender{background:#101820!important}
.social-links{margin:26px 0 0}
.about .social-links a{color:#d9dfe8;border:1px solid #485160;padding:13px 17px;font-size:14px}
.about .social-links img{width:23px;height:23px}
.mail-symbol{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;font-size:21px}
.machine-label{justify-content:flex-start}
.machine-bottom{justify-content:space-between}
@media(max-width:850px){.hero-composition{height:auto}.hero-portrait{width:100%;height:460px;top:auto}}
@media(max-width:500px){.hero-portrait{height:350px}.about .social-links a{font-size:12px;padding:10px 12px}}

/* Изображения берутся из assets; загружаемые версии определяются по SHA файла. */
.portrait-photo{display:block;max-width:100%;max-height:100%}

/* Раздельные страницы кейсов и общий адаптивный каталог. */
#catalog,.about{scroll-margin-top:32px}
.machine-bottom{justify-content:flex-start}
.hero-portrait>.placeholder{width:100%;height:100%}
.case .gallery .project-image-slot{min-height:320px}
.case .gallery .project-image-slot:first-child{grid-column:span 2}
@media(max-width:760px){.case .gallery .project-image-slot:first-child{grid-column:span 1}}

/* Единая система значков приложений и видимые контакты. */
.software-dock .app-icon{background:#111a2a;border-radius:12px}
.software-dock .app-ps{background:#001e36;color:#31a8ff}
.software-dock .app-ai{background:#330000;color:#ff9a00}
.software-dock .app-js{background:#171717;color:#f7df1e}
.software-dock .app-figma{background:#17171c}
.software-dock .app-blender{background:#201b18}
.software-dock .app-icon b{font-size:27px;line-height:1;font-weight:700;letter-spacing:-.06em}
.software-dock .app-blender img{width:44px;height:44px;object-fit:contain}
.machine-bottom{display:none!important}
.artifact .stamp{display:none!important}
.about .contact-links{margin-top:34px;display:block;position:relative;z-index:5}
.about .contact-links .social-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:0}
.about .contact-links .social-links a{display:inline-flex;align-items:center;gap:10px;padding:14px 18px;border:1px solid #5a6170;border-radius:30px;font-size:15px;color:#fff;background:#ffffff0a;min-height:50px}
.about .contact-links .social-links a:hover{background:#ffffff20;border-color:#fff}
.about .contact-links .social-links img{width:22px;height:22px}
.about .next{display:inline-flex;align-items:center;min-height:46px}

/* Общий минимальный размер шрифта интерактивных элементов — 15px. */
.topbar nav a,.filters button,.intro-panel a,.about .next,
.about .social-links a,.case .next,.case .back,.social-links a,
button,.contact{font-size:15px;line-height:1.4}
.about .next{display:inline-flex;margin-top:18px;padding:14px 22px;min-height:50px;align-items:center;justify-content:center;font-size:15px;font-weight:600}
.about .contact-links{margin-top:34px}
@media(max-width:500px){
  .topbar nav a,.filters button,.intro-panel a,.about .next,
  .about .social-links a,.case .next,.case .back,.social-links a,
  button,.contact{font-size:15px}
}

/* Модульные секции кейса: текст и пример работы. */
.case-showcase{margin:72px 0 90px}
.showcase-item{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);align-items:center;gap:clamp(25px,5vw,85px);padding:42px 0;border-bottom:1px solid #ffffff22}
.showcase-item:nth-child(odd) .showcase-copy{order:2}
.showcase-item:nth-child(odd) .project-image-slot{order:1}
.showcase-copy h2{font-size:clamp(30px,4vw,60px);font-weight:500;letter-spacing:-.06em;line-height:1.1;margin:15px 0 20px}
.showcase-copy p{color:#b4b9c4;font-size:16px;line-height:1.75;max-width:550px}
.case-showcase .project-image-slot{min-height:350px;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center}
.case-showcase .project-image-slot img{width:100%;height:100%;object-fit:contain}
.case-showcase .project-image-slot .placeholder{min-height:350px}
@media(max-width:760px){.showcase-item{grid-template-columns:1fr;gap:24px}.showcase-item:nth-child(odd) .showcase-copy,.showcase-item:nth-child(odd) .project-image-slot{order:initial}.case-showcase .project-image-slot{min-height:240px}}

/* Карусели работ в стиле многослойных карточек: тёмная сцена, соседние слайды и стрелки. */
.showcase-media{position:relative;min-width:0;overflow:hidden;border:1px solid #ffffff20;border-radius:18px;background:radial-gradient(ellipse at 55% 42%,#2b2638 0%,#14131c 55%,#08090d 100%);box-shadow:0 18px 45px #0005}
.showcase-track{display:flex;transition:transform .5s cubic-bezier(.22,1,.36,1);will-change:transform}
.showcase-slide{position:relative;flex:0 0 100%;height:clamp(340px,46vw,620px);display:flex;align-items:center;justify-content:center;padding:25px 34px 70px;min-width:0}
.showcase-slide img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 16px 24px #0008)}
.showcase-slide .placeholder{position:absolute;inset:20px 20px 70px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.showcase-controls{position:absolute;bottom:15px;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:22px}
.showcase-controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff6b;border-radius:50%;background:#16151cbb;color:white;cursor:pointer;font-size:22px}
.showcase-controls button:hover{background:#ffffff25}
.showcase-counter{color:#e6e2eb;font-size:13px;letter-spacing:.13em;min-width:72px;text-align:center}
@media(max-width:760px){.showcase-slide{height:440px;padding:16px 15px 70px}}

/* Объёмная карусель по референсу: три перекрывающиеся карточки в перспективе. */
.showcase-media.is-3d-deck{background:#050505;border:0;border-radius:0;box-shadow:none;overflow:hidden;min-height:530px;perspective:1100px;perspective-origin:50% 42%}
.is-3d-deck .showcase-track{position:relative;width:100%;height:530px;display:block;transform:none!important;transition:none;transform-style:preserve-3d}
.is-3d-deck .showcase-slide{position:absolute;top:10%;left:10%;width:59%;height:76%;min-height:0;padding:0;flex:none;border-radius:14px;background:#151519;box-shadow:0 22px 55px #000b;overflow:hidden;cursor:pointer;transform-origin:center;transform:translate3d(var(--deck-x,0%),0,var(--deck-depth,0px)) rotateY(var(--deck-rotate,0deg)) scale(var(--deck-scale,1));transition:transform .65s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease,filter .35s ease;filter:brightness(calc(1 - var(--deck-offset,0)*.12));backface-visibility:hidden}
.is-3d-deck .showcase-slide img{width:100%;height:100%;object-fit:cover;filter:none;pointer-events:none}
.is-3d-deck .showcase-slide:hover{transform:translate3d(var(--deck-x,0%),-12px,var(--deck-depth,0px)) rotateY(var(--deck-rotate,0deg)) scale(calc(var(--deck-scale,1)*1.09));box-shadow:0 35px 75px #000e;filter:brightness(1.12)}
.is-3d-deck .showcase-slide:focus-visible{outline:2px solid #fff;outline-offset:3px}
.is-3d-deck .showcase-controls{z-index:10;bottom:12px}
.is-3d-deck .showcase-slide .placeholder{inset:0}
@media(max-width:760px){.showcase-media.is-3d-deck{min-height:360px}.is-3d-deck .showcase-track{height:360px}.is-3d-deck .showcase-slide{top:10%;left:6%;width:64%;height:75%}}
@media(prefers-reduced-motion:reduce){.is-3d-deck .showcase-slide{transition:none}.is-3d-deck .showcase-slide:hover{transform:translate3d(var(--deck-x,0%),0,var(--deck-depth,0px)) rotateY(var(--deck-rotate,0deg)) scale(var(--deck-scale,1))}}

/* Вертикальный формат 9:16 для карточек в объёмной карусели Laser&Beauty. */
.is-3d-deck .showcase-slide{width:auto;height:82%;aspect-ratio:9/16;left:15%;top:5%;padding:0}
.is-3d-deck .showcase-slide img{width:100%;height:100%;object-fit:cover}
@media(max-width:760px){.is-3d-deck .showcase-slide{height:78%;left:8%;top:7%}}

/* Убираем чёрную подложку; оставляем свободно парящие вертикальные карточки. */
.showcase-media.is-3d-deck{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;isolation:isolate}
.is-3d-deck .showcase-track{background:transparent!important;overflow:visible}
.is-3d-deck .showcase-slide{background:transparent!important;border:0!important;box-shadow:0 15px 38px #0005;overflow:hidden}
.is-3d-deck .showcase-slide:hover{box-shadow:0 25px 55px #0008}
.is-3d-deck .showcase-controls{bottom:-8px}
.is-3d-deck .showcase-controls button{display:flex;align-items:center;justify-content:center;padding:0;line-height:0}
.is-3d-deck .showcase-controls button svg{display:block;width:22px;height:22px;flex:none}

/* Коррекция композиции: вся 3D-стопка сдвинута левее и визуально центрирована. */
.is-3d-deck .showcase-slide{left:4%}
@media(max-width:760px){.is-3d-deck .showcase-slide{left:1%}}

/* Позиционирование всей карусели целиком по разметке: вправо вместе с навигацией. */
@media(min-width:761px){.showcase-media.is-3d-deck{transform:translateX(43%)}}
@media(max-width:760px){.showcase-media.is-3d-deck{transform:translateX(5%)}}

/* Навигация под центром видимой стопки, не под центром широкого контейнера. */
@media(min-width:761px){
  .is-3d-deck .showcase-controls{
    left:0;
    right:auto;
    width:72%;
    justify-content:center;
    transform:none;
  }
}
@media(max-width:760px){
  .is-3d-deck .showcase-controls{
    left:0;
    right:auto;
    width:85%;
    justify-content:center;
  }
}

/* Финальная двухколоночная композиция: текст слева, вся карусель справа. */
@media(min-width:761px){
  .case-showcase .showcase-item:has(.is-3d-deck){
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    gap:clamp(24px,4vw,72px);
  }
  .case-showcase .showcase-item:has(.is-3d-deck) .showcase-copy{
    order:0;
    grid-column:1;
  }
  .case-showcase .showcase-item:has(.is-3d-deck) .showcase-media{
    order:1;
    grid-column:2;
    transform:none!important;
    width:100%;
    margin:0;
  }
  .is-3d-deck .showcase-slide{left:16%}
  .is-3d-deck .showcase-controls{
    left:16%;
    right:auto;
    width:68%;
    transform:none;
    justify-content:center;
  }
}
@media(max-width:760px){
  .case-showcase .showcase-item:has(.is-3d-deck) .showcase-copy,
  .case-showcase .showcase-item:has(.is-3d-deck) .showcase-media{order:initial}
  .case-showcase .showcase-item:has(.is-3d-deck) .showcase-media{transform:none!important}
  .is-3d-deck .showcase-controls{left:5%;right:auto;width:90%}
}

/* Кнопки навигации полностью удалены из карусели. */
.is-3d-deck .showcase-controls{display:none!important}

/* Мерч: все три кадра показываются в пропорциях первой фотографии (841:1111). */
.case-showcase .showcase-item:has(.showcase-media.is-3d-deck) .showcase-slide img{object-fit:cover}
.case-showcase .showcase-item:has(.showcase-media.is-3d-deck):nth-of-type(2) .showcase-slide{aspect-ratio:841/1111}

/* Email-рассылки: сохраняем исходные пропорции макетов без обрезки. */
.case-showcase .showcase-item:has(.showcase-media.is-email) .showcase-slide{aspect-ratio:var(--email-ratio,9/16);height:82%;width:auto}
.case-showcase .showcase-item:has(.showcase-media.is-email) .showcase-slide img{object-fit:contain}

/* Галерея разноформатных рекламных баннеров Уфы — без карусели и обрезки. */
.ufa-gallery{margin:65px 0 90px}
.ufa-gallery .section-head{margin-bottom:24px}
.ufa-banner{margin:0 0 26px;width:100%;display:block}
.ufa-banner img{display:block;width:100%;height:auto;object-fit:contain;border-radius:12px}
.ufa-banner .placeholder{min-height:140px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;border:1px dashed #ffffff55;border-radius:12px;color:#bbb}
@media(max-width:760px){.ufa-banner{margin-bottom:16px}.ufa-banner img{border-radius:7px}}

/* Презентации ЗП: постоянное фото слева, слайды справа без обрезки. */
.zp-presentations{margin:72px 0}
.zp-presentations .section-head{margin-bottom:24px}
.zp-presentation-layout{display:grid;grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr);gap:24px;align-items:center}
.zp-presentation-photo{margin:0}
.zp-presentation-photo img{display:block;width:100%;height:auto;border-radius:12px}
.zp-presentation-right{min-width:0}
.zp-presentation-slides{display:flex;align-items:center;justify-content:center}
.zp-presentation-slides img{display:block;width:100%;height:auto;object-fit:contain;border-radius:12px}
.zp-presentation-slides img[hidden]{display:none}
.zp-presentation-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:16px}
.zp-presentation-controls button{border:1px solid #777;border-radius:50%;width:40px;height:40px;background:transparent;color:inherit;cursor:pointer}
.zp-count{font-size:13px;letter-spacing:.1em}
@media(max-width:760px){.zp-presentation-layout{grid-template-columns:1fr}.zp-presentations{margin:48px 0}}

/* ЗП: направления в стиле Laser&Beauty, без обрезки макетов */
.zp-direction{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:44px;align-items:center;padding:72px 0;border-top:1px solid rgba(255,255,255,.13)}
.zp-direction-copy h2{font-size:clamp(34px,5vw,66px);font-weight:400;letter-spacing:-.045em;line-height:1.06;margin:25px 0}
.zp-direction-copy p{font-size:clamp(16px,1.5vw,21px);line-height:1.7;color:#a5a4af;max-width:620px}
.zp-direction .zp-banner-stack{display:grid;gap:16px;min-width:0}
.zp-direction .zp-banner-stack img{display:block;width:100%;height:auto;object-fit:contain;border-radius:10px}
.zp-direction .zp-presentation-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:16px;align-items:center;min-width:0}
.zp-direction .zp-presentation-photo img,.zp-direction .zp-presentation-slides img{width:100%;height:auto;object-fit:contain}
@media(max-width:900px){.zp-direction{grid-template-columns:1fr;gap:26px;padding:48px 0}}

/* Единый формат кейсов ЗП — как направления Laser&Beauty */
.zp-cases .zp-case{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:44px;align-items:center;padding:65px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.zp-cases .zp-case .showcase-copy{min-width:0}
.zp-cases .zp-case .showcase-media{position:relative;min-width:0;width:100%;height:auto;overflow:visible}
.zp-cases .zp-banner-stack{display:grid;gap:14px}
.zp-cases .zp-banner-stack img{width:100%;height:auto;object-fit:contain}
.zp-cases .zp-presentation-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:14px;align-items:center}
.zp-cases .zp-presentation-layout img{max-width:100%;height:auto;object-fit:contain}
@media(max-width:900px){.zp-cases .zp-case{grid-template-columns:1fr;gap:28px;padding:42px 0}}

/* Крупные слайды презентации с перспективой */
.zp-cases .zp-presentation-layout{grid-template-columns:minmax(0,.34fr) minmax(0,.66fr);gap:12px;overflow:visible}
.zp-cases .zp-presentation-photo img{width:100%;height:auto;object-fit:contain}
.zp-cases .zp-presentation-right{min-width:0;overflow:visible}
.zp-cases .zp-presentation-slides{position:relative;height:clamp(190px,24vw,380px);perspective:1000px;overflow:visible}
.zp-cases .zp-presentation-slides img{position:absolute;left:9%;top:0;width:82%;height:100%;object-fit:contain;transition:transform .5s ease,opacity .5s ease;backface-visibility:hidden;filter:drop-shadow(0 16px 25px #0008)}
.zp-cases .zp-presentation-slides img[hidden]{display:none}
.zp-cases .zp-merch{min-height:460px}
.zp-cases .zp-merch .showcase-slide img{object-fit:contain!important}
@media(max-width:900px){.zp-cases .zp-presentation-slides{height:clamp(220px,60vw,420px)}.zp-cases .zp-merch{min-height:380px}}

/* ZP layout repair: isolated from the Laser&Beauty deck rules. */
.zp-cases .zp-case{grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:clamp(28px,4vw,64px);align-items:center;overflow:hidden}
.zp-cases .zp-case .showcase-copy{order:1!important;position:relative;z-index:1}
.zp-cases .zp-case .showcase-media{order:2!important;transform:none!important;min-width:0}
.zp-cases .zp-presentation-layout{display:grid!important;grid-template-columns:minmax(0,.22fr) minmax(0,.78fr)!important;gap:18px!important;align-items:center;padding:0;border:0;background:transparent;box-shadow:none;overflow:hidden!important}
.zp-cases .zp-presentation-photo{margin:0;min-width:0;align-self:center}
.zp-cases .zp-presentation-photo img{display:block;width:100%;height:auto;max-height:270px;object-fit:contain;border-radius:8px}
.zp-cases .zp-presentation-right{min-width:0;overflow:hidden!important}
.zp-cases .zp-presentation-slides{position:relative;display:block;height:clamp(235px,25vw,400px);perspective:950px;overflow:hidden!important;isolation:isolate}
.zp-cases .zp-presentation-slides img{position:absolute;top:50%;left:8%;width:84%;height:auto;max-height:94%;object-fit:contain;transform:translateY(-50%) translateX(calc(var(--slide-offset,0)*58%)) rotateY(calc(var(--slide-offset,0)*-24deg)) scale(var(--slide-scale,1));opacity:.38;transition:transform .5s ease,opacity .5s ease;filter:drop-shadow(0 12px 20px #0008)}
.zp-cases .zp-presentation-slides img.is-active{opacity:1}
.zp-cases .zp-presentation-slides img[hidden]{display:none}
.zp-cases .zp-presentation-controls{margin:8px 0 0;position:relative;z-index:4}
.zp-cases .zp-merch{min-height:620px!important;overflow:hidden!important}
.zp-cases .zp-merch .showcase-track{height:620px!important}
.zp-cases .zp-merch .showcase-slide{height:86%!important;aspect-ratio:4/5!important;left:3%!important;top:5%!important;width:auto!important;max-width:75%;overflow:hidden}
.zp-cases .zp-merch .showcase-slide img{width:100%;height:100%;object-fit:contain!important}
@media(max-width:900px){.zp-cases .zp-case{grid-template-columns:1fr;overflow:hidden}.zp-cases .zp-presentation-layout{grid-template-columns:minmax(0,.22fr) minmax(0,.78fr)!important}.zp-cases .zp-merch,.zp-cases .zp-merch .showcase-track{height:470px!important;min-height:470px!important}}
@media(max-width:540px){.zp-cases .zp-presentation-layout{grid-template-columns:1fr!important}.zp-cases .zp-presentation-photo img{max-height:200px;width:auto;max-width:100%;margin:auto}.zp-cases .zp-presentation-slides{height:240px}.zp-cases .zp-merch,.zp-cases .zp-merch .showcase-track{height:370px!important;min-height:370px!important}}

/* Hard layout lock: presentation copy always on the left, media always on the right. */
@media (min-width: 761px) {
  .zp-cases .zp-presentation-case {
    display:grid!important;
    grid-template-columns:minmax(0, 40%) minmax(0, 60%)!important;
    gap:0!important;
    align-items:center!important;
    direction:ltr!important;
    overflow:hidden!important;
  }
  .zp-cases .zp-presentation-case > .showcase-copy {
    grid-column:1!important;
    grid-row:1!important;
    order:0!important;
    width:100%!important;
    padding-right:clamp(20px,3vw,50px)!important;
    transform:none!important;
    position:relative!important;
    z-index:3!important;
  }
  .zp-cases .zp-presentation-case > .zp-presentation-layout {
    grid-column:2!important;
    grid-row:1!important;
    order:0!important;
    width:100%!important;
    max-width:100%!important;
    transform:none!important;
    position:relative!important;
    z-index:1!important;
    overflow:hidden!important;
  }
}
@media (max-width:760px) {
  .zp-cases .zp-presentation-case{display:flex!important;flex-direction:column!important;gap:24px!important}
  .zp-cases .zp-presentation-case > .showcase-copy{order:0!important;width:100%!important;transform:none!important}
  .zp-cases .zp-presentation-case > .zp-presentation-layout{order:1!important;width:100%!important;transform:none!important}
}

/* ZP print case: two original-ratio images, no carousel. */
.zp-cases .zp-print-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:center;overflow:hidden!important;transform:none!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.zp-cases .zp-print-gallery img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:10px}
@media(max-width:540px){.zp-cases .zp-print-gallery{grid-template-columns:1fr;gap:14px}.zp-cases .zp-print-gallery img{max-height:none}}

/* Larger print portfolio visuals: preserve original proportions. */
@media(min-width:901px){
.zp-cases .zp-print-case{grid-template-columns:minmax(0,32%) minmax(0,68%)!important;gap:0!important;overflow:visible!important}
.zp-cases .zp-print-case>.showcase-copy{padding-right:38px;grid-column:1!important;order:0!important}
.zp-cases .zp-print-case>.zp-print-gallery{grid-column:2!important;order:1!important;width:100%!important}
.zp-cases .zp-print-gallery{gap:12px!important}
.zp-cases .zp-print-gallery img{max-height:750px!important}
}
@media(max-width:900px){.zp-cases .zp-print-gallery img{max-height:680px!important}}

/* Large two-image print carousel, preserving natural aspect ratios. */
.zp-cases .zp-print-carousel{display:flex!important;flex-direction:column;align-items:stretch;justify-content:center;overflow:hidden!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;padding:0!important;min-width:0}
.zp-cases .zp-print-slides{width:100%;min-height:300px;display:flex;align-items:center;justify-content:center}
.zp-cases .zp-print-slides img{display:block;width:100%;height:auto;max-height:720px;object-fit:contain;border-radius:12px}
.zp-cases .zp-print-slides img[hidden]{display:none!important}
.zp-cases .zp-print-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:18px}
.zp-cases .zp-print-controls button{width:42px;height:42px;border:1px solid #777;border-radius:50%;background:transparent;color:inherit;cursor:pointer}
.zp-cases .zp-print-count{font-size:13px;letter-spacing:.1em}

/* Print carousel: balanced smaller images, original aspect ratio. */
.zp-cases .zp-print-carousel .zp-print-slides{min-height:0!important}
.zp-cases .zp-print-carousel .zp-print-slides img{width:auto!important;max-width:78%!important;max-height:440px!important;height:auto!important;object-fit:contain!important;margin:0 auto}
@media(max-width:760px){.zp-cases .zp-print-carousel .zp-print-slides img{max-width:88%!important;max-height:350px!important}}

/* BABUSHKA: single realistic open-magazine gallery */
.zin-section{margin:90px 0 100px}
.zin-reader{max-width:1120px;margin:36px auto 0}
.zin-book{position:relative;width:100%;aspect-ratio:1.48;perspective:2200px;filter:drop-shadow(0 24px 24px #0005)}
.zin-book:after{content:"";position:absolute;left:49.65%;top:0;bottom:0;width:.7%;z-index:7;pointer-events:none;background:linear-gradient(90deg,#0004,#fff5,#0003)}
.zin-spread{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;visibility:hidden;z-index:0}
.zin-spread.is-visible{visibility:visible}
.zin-page{min-width:0;overflow:hidden;background:#eee;box-shadow:inset 0 0 18px #0002}
.zin-page img{width:100%;height:100%;display:block;object-fit:fill}
.zin-page-left{border-radius:5px 0 0 5px}
.zin-page-right{border-radius:0 5px 5px 0}
.zin-turn-sheet{display:none;position:absolute;top:0;bottom:0;left:50%;width:50%;z-index:8;transform-style:preserve-3d;transform-origin:left center}
.zin-turn-front,.zin-turn-back{position:absolute;inset:0;background-position:center;background-size:100% 100%;backface-visibility:hidden;box-shadow:inset 0 0 20px #0003}
.zin-turn-back{transform:rotateY(180deg)}
.zin-turn-sheet.is-turning{animation:zinFlip .85s cubic-bezier(.35,.05,.65,.95) forwards}
.zin-turn-sheet.is-reverse{left:0;transform-origin:right center;transform:rotateY(-180deg)}
.zin-turn-sheet.is-reverse.is-turning{animation:zinFlipReverse .85s cubic-bezier(.35,.05,.65,.95) forwards}
@keyframes zinFlip{from{transform:rotateY(0)}to{transform:rotateY(-180deg)}}
@keyframes zinFlipReverse{from{transform:rotateY(-180deg)}to{transform:rotateY(0)}}
.zin-controls{display:flex;justify-content:center;align-items:center;gap:32px;margin-top:30px}
.zin-controls button{height:48px;width:48px;border-radius:50%;border:1px solid currentColor;background:transparent;color:inherit;cursor:pointer;font-size:22px}
.zin-controls button:disabled{opacity:.25;cursor:default}
.zin-count{font-size:14px;letter-spacing:.13em;min-width:70px;text-align:center}
@media(max-width:700px){.zin-section{margin:55px 0}.zin-reader{margin-top:20px}.zin-book{aspect-ratio:1.4}.zin-controls{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.zin-turn-sheet.is-turning{animation-duration:.01ms}}

/* BABUSHKA: graceful empty-page state until the 20 JPGs are uploaded */
.zin-page{position:relative;isolation:isolate}
.zin-page-fallback{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;background:#e9e2d6;color:#403b35;font-size:clamp(10px,1.7vw,22px);letter-spacing:.14em;text-align:center}
.zin-page-fallback strong{font-size:clamp(32px,7vw,100px);font-weight:500;line-height:1}
.zin-page-fallback small{font-size:clamp(8px,1vw,12px);letter-spacing:0}
.zin-page img{position:relative;z-index:2}
.zin-book{overflow:visible}

/* Reveal the next spread underneath the turning paper, not beneath the old page. */
.zin-spread.zin-leaving-forward>.zin-page-right{visibility:hidden}
.zin-spread.zin-leaving-backward>.zin-page-left{visibility:hidden}
.zin-spread.zin-leaving-forward>.zin-page-left,.zin-spread.zin-leaving-backward>.zin-page-right{visibility:visible}
.zin-book{isolation:isolate}
.zin-turn-sheet{pointer-events:none}
@media(prefers-reduced-motion:reduce){.zin-turn-sheet.is-turning{animation-duration:.85s}}

/* Shared project navigation and breathing room below return link */
.case > .back{display:inline-flex;margin-bottom:54px!important}
.project-navigation{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:76px 0 35px;padding-top:24px;border-top:1px solid rgba(255,255,255,.15)}
.project-navigation a{display:inline-flex;align-items:center;justify-content:center;padding:15px 20px;border:1px solid rgba(255,255,255,.26);border-radius:999px;color:inherit;text-decoration:none;transition:background .2s,border-color .2s}
.project-navigation a:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.6)}
@media(max-width:620px){.case > .back{margin-bottom:36px!important}.project-navigation{gap:12px;margin-top:50px}.project-navigation a{padding:12px;font-size:12px;text-align:center}}

/* Uniform project footer navigation and return-link spacing */
.case > .back{display:inline-flex!important;align-items:center;margin-bottom:72px!important;color:#a5a7b2!important;text-decoration:none!important;font-size:clamp(15px,1.35vw,21px)!important;font-weight:400!important}
.case > .back:hover{color:#fff!important}
.project-navigation{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:24px!important;margin:80px 0 42px!important;padding-top:32px!important;border-top:1px solid rgba(255,255,255,.16)!important}
.project-navigation a{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:19px 26px!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:999px!important;background:transparent!important;color:#e7e7eb!important;text-decoration:none!important;font-size:clamp(15px,1.35vw,21px)!important;font-weight:400!important;line-height:1.2!important;white-space:nowrap!important}
.project-navigation a:hover{border-color:rgba(255,255,255,.65)!important;background:rgba(255,255,255,.06)!important}
@media(max-width:620px){.case > .back{margin-bottom:48px!important}.project-navigation{gap:12px!important;margin-top:56px!important;padding-top:24px!important}.project-navigation a{padding:13px 12px!important;font-size:13px!important;white-space:normal!important;text-align:center!important}}

/* DANCE SOUL case studies */
.dance-cases{margin-top:80px}
.dance-cases .dance-case{display:grid;grid-template-columns:minmax(240px,36%) minmax(0,1fr);gap:48px;padding:54px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.dance-case-copy h2{font-size:clamp(28px,3vw,44px);margin:16px 0}
.dance-case-copy p{color:#a8aab4;line-height:1.7;max-width:450px}
.dance-branding-media,.dance-merch-media{min-width:0}
.dance-logos{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.dance-logos figure{margin:0;min-width:0}
.dance-logos figcaption{font-size:11px;letter-spacing:.08em;color:#aaa;margin-bottom:12px}
.dance-image{position:relative;width:100%;min-height:160px;background:#191b22;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.dance-image img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain}
.dance-image img[hidden]{display:none}
.dance-image-placeholder{padding:32px 14px;text-align:center;color:#b4b5bf;font-size:14px;line-height:1.8}
.dance-image-placeholder small{overflow-wrap:anywhere;font-size:11px;color:#858692}
.dance-poster{margin-top:32px}
.dance-poster p,.dance-merch-media>h3{font-size:18px;font-weight:500;margin:0 0 14px}
.dance-poster .dance-image{max-width:550px}
.dance-merch-media>h3:not(:first-child){margin-top:48px}
.dance-merch-media>p{color:#a8aab4;margin:0 0 20px}
.dance-carousel-slide[hidden]{display:none!important}
.dance-carousel-slides{min-width:0}
.dance-carousel-research .dance-image{aspect-ratio:16/9}
.dance-carousel-research .dance-image img{height:100%;max-height:none}
.dance-carousel-photos .dance-image{min-height:480px}
.dance-carousel-photos .dance-image img{width:auto;max-width:100%;max-height:650px}
.dance-carousel-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:18px}
.dance-carousel-controls button{width:44px;height:44px;border:1px solid #777;border-radius:50%;background:transparent;color:inherit;font-size:19px;cursor:pointer}
.dance-carousel-count{font-size:13px;letter-spacing:.1em}
@media(max-width:800px){.dance-cases .dance-case{grid-template-columns:1fr;gap:28px}.dance-carousel-photos .dance-image{min-height:320px}}

/* Dance Soul: transparent image presentation, branding stacked vertically. */
.dance-cases .dance-logos{display:flex!important;flex-direction:column!important;gap:30px!important}
.dance-cases .dance-logos figure{width:100%!important}
.dance-cases .dance-image,
.dance-cases .dance-carousel-slide,
.dance-cases .dance-carousel-slides,
.dance-cases .dance-poster,
.dance-cases .dance-branding-media,
.dance-cases .dance-merch-media{background:transparent!important;background-color:transparent!important;box-shadow:none!important;border:0!important}
.dance-cases .dance-image{border-radius:0!important;overflow:visible!important;min-height:0!important;padding:0!important}
.dance-cases .dance-image img{border-radius:0!important;box-shadow:none!important;object-fit:contain!important}
.dance-cases .dance-poster .dance-image{max-width:100%!important}
.dance-cases .dance-carousel-research .dance-image{aspect-ratio:auto!important}
.dance-cases .dance-carousel-research .dance-image img{height:auto!important;max-height:none!important;width:100%!important}
.dance-cases .dance-carousel-photos .dance-image{min-height:0!important}

/* Sevstar: UI screenshots displayed inside a TV frame. */
.sevstar-case{margin:76px auto 90px;max-width:1120px}
.sevstar-tv{position:relative;width:100%;aspect-ratio:740/493}
.sevstar-tv-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;z-index:2}
.sevstar-screen{position:absolute;left:10.5%;top:10.6%;width:79%;height:68.5%;background:#080808;overflow:hidden;z-index:1;overscroll-behavior:contain;scrollbar-width:thin}
.sevstar-screen.is-scrollable{overflow-y:auto;overflow-x:hidden}
.sevstar-slide[hidden]{display:none!important}
.sevstar-slide{width:100%;min-height:100%}
.sevstar-slide img{display:block;width:100%;height:auto;object-fit:contain}
.sevstar-controls{display:flex;align-items:center;justify-content:center;gap:28px;margin-top:8px}
.sevstar-controls button{width:46px;height:46px;border:1px solid rgba(255,255,255,.4);border-radius:50%;background:transparent;color:inherit;font-size:20px;cursor:pointer}
.sevstar-counter{font-size:13px;letter-spacing:.12em}
.sevstar-hint{text-align:center;color:#9b9ca8;font-size:13px;margin-top:14px}

/* Full-length landing page presentation for Owl and Fox. */
.owl-visual{width:100%;max-width:1100px;margin:64px auto 90px;background:transparent}
.owl-visual img{display:block;width:100%;height:auto;max-width:100%;border:0;border-radius:0;box-shadow:none;object-fit:contain}

/* Six-screen game UI carousel */
.baker-case{margin:72px auto 90px;max-width:1120px}
.baker-description{max-width:740px;color:#a9aab6;line-height:1.7;margin:28px 0}
.baker-carousel{display:flex;flex-direction:column;align-items:center}
.baker-slides{display:flex;justify-content:center;align-items:center;width:100%;min-height:320px}
.baker-slides img{display:block;width:auto;max-width:100%;max-height:740px;height:auto;object-fit:contain;border-radius:0;box-shadow:none}
.baker-slides img[hidden]{display:none!important}
.baker-controls{display:flex;align-items:center;justify-content:center;gap:26px;margin-top:24px}
.baker-controls button{width:46px;height:46px;border:1px solid rgba(255,255,255,.4);border-radius:50%;background:transparent;color:inherit;font-size:20px;cursor:pointer}
.baker-count{font-size:13px;letter-spacing:.12em}

/* Extra portfolio: independent illustration, 3D and retouch carousels */
.extra-cases{margin:75px 0 90px}
.extra-case{display:grid;grid-template-columns:minmax(0,36%) minmax(0,64%);gap:28px;padding:52px 0;border-bottom:1px solid rgba(255,255,255,.14);align-items:start}
.extra-case-copy h2{font-size:clamp(28px,3vw,44px);margin:18px 0}
.extra-case-copy p{max-width:330px;color:#a7a7b2;line-height:1.65}
.extra-carousel{min-width:0}
.extra-slides{display:flex;justify-content:center;align-items:center;min-height:240px}
.extra-slides img{display:block;max-width:100%;width:auto;height:auto;max-height:680px;object-fit:contain;box-shadow:none;border-radius:0}
.extra-slides img[hidden]{display:none!important}
.extra-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:22px}
.extra-controls button{width:44px;height:44px;border:1px solid rgba(255,255,255,.4);border-radius:50%;background:transparent;color:inherit;font-size:20px;cursor:pointer}
.extra-count{font-size:13px;letter-spacing:.12em}
@media(max-width:760px){.extra-case{grid-template-columns:1fr;gap:22px;padding:38px 0}.extra-case-copy p{max-width:none}}

/* Final unified image viewing and perspective carousels. */
.portfolio-zoomable{cursor:zoom-in}
.portfolio-lightbox{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:5vh 5vw;background:rgba(3,4,8,.94);backdrop-filter:blur(10px)}
.portfolio-lightbox.is-open{display:flex}
.portfolio-lightbox img{max-width:100%;max-height:90vh;width:auto;height:auto;object-fit:contain}
.portfolio-lightbox-close{position:absolute;top:20px;right:24px;border:1px solid #777;background:#15161a;color:white;border-radius:50%;width:48px;height:48px;font-size:28px;z-index:2}
body.lightbox-open{overflow:hidden}
.portfolio-perspective .dance-carousel-slides,.portfolio-perspective .extra-slides,.portfolio-perspective .baker-slides,.portfolio-perspective .showcase-track{position:relative!important;display:block!important;height:clamp(300px,48vw,580px)!important;min-height:0!important;perspective:1400px!important;overflow:visible!important}
.portfolio-perspective .dance-carousel-slide,.portfolio-perspective .extra-slides>img,.portfolio-perspective .baker-slides>img,.portfolio-perspective .showcase-slide{position:absolute!important;top:50%!important;left:50%!important;width:68%!important;height:88%!important;max-height:88%!important;max-width:68%!important;display:flex!important;align-items:center!important;justify-content:center!important;opacity:1!important;visibility:visible!important;transform:translate(calc(-50% + var(--perspective-offset)*48%),-50%) rotateY(calc(var(--perspective-offset)*-19deg)) scale(calc(1 - var(--perspective-offset)*var(--perspective-offset)*.15))!important;transition:transform .45s ease,opacity .45s ease!important;transform-origin:center!important;pointer-events:auto!important;box-shadow:none!important;background:transparent!important}
.portfolio-perspective .extra-slides>img,.portfolio-perspective .baker-slides>img{object-fit:contain!important}
.portfolio-perspective .dance-carousel-slide .dance-image{height:100%!important;min-height:0!important}
.portfolio-perspective .dance-carousel-slide img,.portfolio-perspective .showcase-slide img{max-width:100%!important;max-height:100%!important;width:100%!important;height:100%!important;object-fit:contain!important}
.portfolio-perspective .portfolio-offstage{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
.portfolio-perspective .portfolio-active{z-index:25!important}
.portfolio-perspective .showcase-track .showcase-slide{--deck-offset:0;--deck-depth:0px;--deck-x:0%;--deck-scale:1;--deck-rotate:0deg}
.portfolio-perspective-controls{display:flex;justify-content:center;align-items:center;gap:24px;margin:18px 0 0}
.portfolio-perspective-controls button{border:1px solid rgba(255,255,255,.4);border-radius:50%;background:transparent;color:inherit;width:44px;height:44px;font-size:20px}
.portfolio-perspective-count{font-size:13px;letter-spacing:.12em}
.dance-cases .dance-logos{align-items:start!important}
.dance-cases .dance-logos figure{max-width:380px!important;margin:0 auto!important}
.dance-cases .dance-logos .dance-image img{max-height:230px!important;width:100%!important;object-fit:contain!important}
.dance-cases .dance-logos .dance-image{min-height:0!important}
.dance-cases .dance-case{border-bottom:0!important}
.dance-cases .dance-case + .dance-case{border-top:0!important}
.zp-cases .zp-merch .showcase-slide img{border-radius:18px!important}
.sevstar-screen{left:10.3%!important;top:10.3%!important;width:80.3%!important;height:69.5%!important;overflow:hidden}
.sevstar-screen .sevstar-slide img{width:102%!important;max-width:none!important;margin-left:-1%!important}
.sevstar-screen.is-scrollable{overflow-y:auto!important;overflow-x:hidden!important}
@media(max-width:650px){.portfolio-perspective .dance-carousel-slides,.portfolio-perspective .extra-slides,.portfolio-perspective .baker-slides,.portfolio-perspective .showcase-track{height:330px!important}.portfolio-perspective .dance-carousel-slide,.portfolio-perspective .extra-slides>img,.portfolio-perspective .baker-slides>img,.portfolio-perspective .showcase-slide{width:78%!important;max-width:78%!important;transform:translate(calc(-50% + var(--perspective-offset)*36%),-50%) rotateY(calc(var(--perspective-offset)*-15deg)) scale(calc(1 - var(--perspective-offset)*var(--perspective-offset)*.15))!important}}

/* Portfolio slider stabilization: prevent overflow, cumulative dark stacking, and competing legacy transformations. */
.portfolio-perspective .showcase-track,
.portfolio-perspective .dance-carousel-slides,
.portfolio-perspective .extra-slides,
.portfolio-perspective .baker-slides {isolation:isolate!important;overflow:hidden!important;border-radius:14px}
.portfolio-perspective .showcase-slide,
.portfolio-perspective .dance-carousel-slide,
.portfolio-perspective .extra-slides>img,
.portfolio-perspective .baker-slides>img {filter:none!important;opacity:1!important;box-shadow:none!important}
.portfolio-perspective .portfolio-offstage {visibility:hidden!important;opacity:0!important}
.portfolio-perspective .showcase-slide.portfolio-active,
.portfolio-perspective .dance-carousel-slide.portfolio-active,
.portfolio-perspective .extra-slides>img.portfolio-active,
.portfolio-perspective .baker-slides>img.portfolio-active {filter:none!important;opacity:1!important;z-index:50!important}
.portfolio-perspective .showcase-slide:not(.portfolio-active),
.portfolio-perspective .dance-carousel-slide:not(.portfolio-active),
.portfolio-perspective .extra-slides>img:not(.portfolio-active),
.portfolio-perspective .baker-slides>img:not(.portfolio-active) {filter:brightness(.78)!important}
.portfolio-showcase-deck {overflow:visible!important;min-height:0!important;display:block!important}
.portfolio-showcase-deck .showcase-track {width:100%!important;max-width:100%!important;transform:none!important;min-height:0!important}
.portfolio-showcase-deck .showcase-slide {overflow:hidden!important;border-radius:14px!important}
.portfolio-showcase-deck .showcase-slide img {width:100%!important;height:100%!important;object-fit:contain!important;max-width:100%!important;max-height:100%!important}
.portfolio-showcase-deck .showcase-slide::before,
.portfolio-showcase-deck .showcase-slide::after {display:none!important}
.portfolio-showcase-deck .portfolio-perspective-controls {position:relative!important;z-index:60!important}
.zp-cases .zp-print-carousel {overflow:visible!important}
.zp-cases .zp-print-carousel .zp-print-slides {position:relative!important;min-height:360px!important;perspective:1000px!important;display:flex!important;justify-content:center!important;align-items:center!important}
.zp-cases .zp-print-carousel .zp-print-slides img {transition:transform .45s ease,opacity .45s ease!important;transform:rotateY(-5deg)!important;border-radius:14px}
.zp-cases .zp-print-carousel .zp-print-slides img[hidden] {display:none!important}
.zp-cases .zp-print-carousel .zp-print-controls {margin-top:18px!important}
.sevstar-screen {cursor:pointer}
.sevstar-screen.is-scrollable {cursor:ns-resize}
.owl-visual img {display:block!important;opacity:1!important;visibility:visible!important}

/* Television clickable screen zones; remain inside the outer frame. */
.sevstar-hotspots{position:absolute;inset:10.3% 9.4% 20.2% 10.3%;z-index:5;display:flex;justify-content:space-between;pointer-events:none}
.sevstar-hotspots button{pointer-events:auto;align-self:stretch;width:13%;min-width:32px;border:0;background:transparent;color:transparent;cursor:pointer;font-size:32px}
.sevstar-hotspots button:focus-visible,.sevstar-hotspots button:hover{background:rgba(255,255,255,.13);color:#fff}
.dance-website-preview{margin:72px 0 96px}
.dance-website-preview p{max-width:740px;color:#b0b2bd;line-height:1.65;margin:24px 0}
.dance-site-preview{width:100%;height:clamp(360px,55vw,660px);border:1px solid rgba(255,255,255,.18);border-radius:14px;overflow:hidden;background:#fff}
.dance-site-preview iframe{display:block;width:100%;height:100%;border:0}
.dance-site-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px}
.dance-site-links a{padding:12px 18px;border:1px solid rgba(255,255,255,.3);border-radius:999px}

/* Three animated dance posters linked to the original Drive videos. */
.dance-posters-case{margin:72px 0 100px}
.dance-posters-case>p{color:#b3b5bf;line-height:1.7}
.dance-posters-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px}
.dance-posters-grid figure{margin:0;min-width:0}
.dance-posters-grid figcaption{font-size:16px;font-weight:600;margin-bottom:12px}
.dance-posters-grid iframe{display:block;width:100%;height:490px;max-height:70vh;border:1px solid rgba(255,255,255,.17);border-radius:12px;background:#16171c}
.dance-posters-grid figure>a{display:inline-flex;margin-top:14px;padding:10px 15px;border:1px solid rgba(255,255,255,.3);border-radius:999px}
@media(max-width:850px){.dance-posters-grid{grid-template-columns:1fr}.dance-posters-grid iframe{height:70vh}}

/* ZP merch: keep the complete carousel in the right-hand column, vertically aligned with its copy. */
.zp-cases .zp-case:has(.zp-merch) {
  display:grid!important;
  grid-template-columns:minmax(0, 42%) minmax(0, 58%)!important;
  align-items:center!important;
  column-gap:0!important;
  min-height:560px!important;
  height:auto!important;
  position:relative!important;
  overflow:visible!important;
}
.zp-cases .zp-case:has(.zp-merch) > .showcase-copy {
  grid-column:1!important;grid-row:1!important;
  position:relative!important;top:auto!important;left:auto!important;
  transform:none!important;width:auto!important;max-width:100%!important;
  margin:0!important;align-self:center!important;z-index:2!important;
}
.zp-cases .zp-case:has(.zp-merch) > .zp-merch {
  grid-column:2!important;grid-row:1!important;
  position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  transform:none!important;align-self:center!important;
  width:100%!important;max-width:100%!important;
  min-height:0!important;height:auto!important;
  margin:0!important;padding:0 0 0 24px!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;
}
.zp-cases .zp-merch .showcase-track {
  width:100%!important;max-width:100%!important;
  height:clamp(360px,39vw,550px)!important;
  position:relative!important;inset:auto!important;
  margin:0!important;overflow:hidden!important;
}
.zp-cases .zp-merch .showcase-slide {
  position:absolute!important;top:50%!important;left:50%!important;
  margin:0!important;max-height:86%!important;
}
.zp-cases .zp-merch .showcase-slide img {border-radius:18px!important;object-fit:contain!important}
.zp-cases .zp-merch .portfolio-perspective-controls {
  width:100%!important;position:relative!important;
  margin:12px auto 0!important;align-self:center!important;
}
@media(max-width:800px) {
 .zp-cases .zp-case:has(.zp-merch) {grid-template-columns:minmax(0,1fr)!important;min-height:0!important;row-gap:22px!important}
 .zp-cases .zp-case:has(.zp-merch) > .showcase-copy {grid-column:1!important;grid-row:1!important}
 .zp-cases .zp-case:has(.zp-merch) > .zp-merch {grid-column:1!important;grid-row:2!important;padding:0!important}
 .zp-cases .zp-merch .showcase-track {height:360px!important}
}

/* Illustration and 3D: no unnecessary separator rules between galleries. */
.extra-cases .extra-case{border:0!important;border-bottom:0!important;border-top:0!important}
.extra-cases .extra-case::before,.extra-cases .extra-case::after{border:0!important;display:none!important}
.extra-cases .extra-case+.extra-case{border-top:0!important}
.extra-cases .section-head{border-bottom:0!important}
/* Motion video frames: no extra cards, background, outlines or Drive links. */
.dance-posters-grid figure,.dance-posters-grid iframe{background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important}
.dance-posters-grid figure>a{display:none!important}
.dance-posters-grid iframe{border-radius:0!important}

/* Actual dance school screenshot in project and storefront. */
.dance-site-preview{height:auto!important;max-height:none!important;background:transparent!important;border:0!important;overflow:visible!important}
.dance-site-preview img{display:block;width:100%;height:auto;border-radius:10px;object-fit:contain}
.dance-website-artwork{width:100%!important;height:100%!important;display:block!important;padding:0!important;overflow:hidden!important;background:#f5d6ed!important}
.dance-website-artwork img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}

/* Print gallery uses the exact same 3D deck engine as all showcase carousels. */
.zp-cases .zp-print-carousel.portfolio-showcase-deck{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;width:100%!important;min-height:0!important;overflow:visible!important;padding:0!important}
.zp-cases .zp-print-carousel.portfolio-showcase-deck .showcase-track{position:relative!important;inset:auto!important;width:100%!important;height:clamp(330px,38vw,540px)!important;overflow:hidden!important;perspective:1100px!important;min-height:0!important}
.zp-cases .zp-print-carousel.portfolio-showcase-deck .showcase-slide{position:absolute!important;top:50%!important;left:50%!important;width:72%!important;height:86%!important;max-height:86%!important;transform-origin:center!important;transition:transform .48s ease,opacity .48s ease!important}
.zp-cases .zp-print-carousel.portfolio-showcase-deck .showcase-slide img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:14px!important}
.zp-cases .zp-print-carousel.portfolio-showcase-deck .portfolio-perspective-controls{position:relative!important;margin:16px auto 0!important;z-index:65!important}
.dance-posters-grid .dance-poster-player{width:100%;height:490px;max-height:70vh;position:relative;background:transparent;border:0;box-shadow:none}
.dance-posters-grid .dance-poster-player iframe{width:100%;height:100%;border:0;display:block;background:transparent}
.dance-poster-play{width:100%;height:100%;border:1px solid rgba(255,255,255,.18);background:transparent;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:14px;flex-direction:column;font:inherit}
.dance-poster-play span:first-child{font-size:32px}
.dance-poster-play:hover{border-color:rgba(255,255,255,.5)}
.dance-poster-play[hidden]{display:none!important}
@media(max-width:850px){.dance-posters-grid .dance-poster-player{height:70vh}}

/* Video posters show their real Google Drive thumbnails before playback. */
.dance-posters-grid .dance-poster-play{position:relative;display:block;width:100%;height:100%;overflow:hidden;padding:0;border:0!important;border-radius:10px;background:#17131f!important}
.dance-posters-grid .dance-poster-thumbnail{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center;transition:transform .35s ease}
.dance-posters-grid .dance-poster-play:hover .dance-poster-thumbnail{transform:scale(1.035)}
.dance-posters-grid .dance-poster-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#fff;text-shadow:0 1px 12px #000;background:linear-gradient(0deg,rgba(0,0,0,.5),transparent 55%)}
.dance-posters-grid .dance-poster-play-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:rgba(0,0,0,.5);backdrop-filter:blur(6px);font-size:28px;padding-left:4px}

/* Motion posters: preserve the full vertical composition and remove text overlays. */
.dance-posters-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:26px}
.dance-posters-grid figure{min-width:0}
.dance-posters-grid .dance-poster-player{width:100%;height:auto!important;max-height:none!important;aspect-ratio:9/16;overflow:hidden;border:0!important;border-radius:12px;background:transparent!important}
.dance-posters-grid .dance-poster-play{height:100%!important;width:100%!important;border:0!important;border-radius:12px!important;background:transparent!important;overflow:hidden}
.dance-posters-grid .dance-poster-thumbnail{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important}
.dance-posters-grid .dance-poster-play:hover .dance-poster-thumbnail{transform:none!important}
.dance-posters-grid .dance-poster-overlay{background:transparent!important;text-shadow:none!important;gap:0!important}
.dance-posters-grid .dance-poster-play-icon{width:66px;height:66px;border-radius:50%;background:rgba(0,0,0,.65);font-size:27px}
.dance-posters-grid .dance-poster-player iframe{width:100%!important;height:100%!important;aspect-ratio:9/16;max-height:none!important;border:0!important;border-radius:12px!important}
@media(max-width:850px){.dance-posters-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;gap:24px}.dance-posters-grid .dance-poster-player{height:auto!important;max-height:none!important}}

.project-cover-artwork{display:flex!important;align-items:center;justify-content:center;width:100%;height:100%;padding:16px;background:transparent!important;overflow:hidden}
.project-cover-artwork img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;filter:none}


/* Laser&Beauty packaging: a single authoritative layout, no conflicting overrides. */
.product .display .laser-packaging-artwork{
  position:relative!important;display:block!important;box-sizing:border-box;
  height:92%!important;width:auto!important;max-width:100%!important;
  aspect-ratio:1385/1136!important;margin:0 auto!important;padding:0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:transparent!important;overflow:hidden!important;transform:none!important;
  container-type:inline-size;
}
.product .display .laser-packaging-artwork::after{display:none!important}
.product .display .laser-packaging-artwork>img{
  position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:contain;
}
.product .display .laser-packaging-year{
  position:absolute;top:18%;left:13%;color:white;font-weight:300!important;
  font-size:clamp(9px,3.7cqw,16px)!important;letter-spacing:.01em!important;
  line-height:1.1!important;text-shadow:none!important;
}
.product .display .laser-packaging-name{
  position:absolute!important;top:64%!important;left:17%!important;
  width:76%!important;max-width:76%!important;margin:0!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  color:#fff!important;font-size:clamp(20px,10cqw,56px)!important;
  font-family:Manrope,'Helvetica Neue',Arial,sans-serif!important;font-weight:800!important;line-height:.89!important;letter-spacing:-.07em!important;
  white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;
  text-shadow:none!important;transform:none!important;
}
.product .display .laser-packaging-name span{display:block!important;white-space:nowrap!important;max-width:100%}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .product .display .laser-packaging-artwork{transition:transform .45s cubic-bezier(.2,.8,.2,1)!important;transform:rotate(-6deg)!important;transform-origin:center center!important}
  .product:hover .display .laser-packaging-artwork{transform:translateY(-13px) rotate(0deg) scale(1.05)!important}
}


/* Readable two-line labels on the original shelf artifacts. */
.product .display .artifact:not(.laser-packaging-artwork) strong{white-space:pre-line;overflow-wrap:normal;word-break:normal;font-size:clamp(18px,2.2vw,32px);line-height:1.08;letter-spacing:-.055em}

/* Shelf labels: contain long project names at every viewport width. */
.product .display .artifact:not(.laser-packaging-artwork){min-width:0!important;max-width:calc(100% - 24px)!important;box-sizing:border-box!important}
.product .display .artifact:not(.laser-packaging-artwork) strong{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;hyphens:auto!important;font-size:clamp(13px,2vw,26px)!important;line-height:1.12!important;letter-spacing:-.045em!important}
@media(max-width:600px){.product .display .artifact:not(.laser-packaging-artwork){padding:12px!important;width:78%!important}.product .display .artifact:not(.laser-packaging-artwork) strong{font-size:clamp(12px,4vw,21px)!important;line-height:1.12!important;letter-spacing:-.045em!important}}

/* Unified SVG arrows across desktop and iOS, including project navigation. */
.ui-arrow{display:inline-block;flex:0 0 auto;width:20px;height:20px;vertical-align:middle;stroke:currentColor}
.case > .back{display:inline-flex;align-items:center;gap:9px}
.project-navigation a{display:inline-flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
.project-navigation a .ui-arrow{width:21px;height:21px}
@media(max-width:620px){.project-navigation{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.project-navigation a{width:100%!important;min-width:0!important;padding:12px 8px!important;gap:7px!important;font-size:clamp(11px,3vw,13px)!important;line-height:1.2!important}.project-navigation a span{min-width:0}.project-navigation a .ui-arrow{width:17px;height:17px}}

/* Identical SVG external-link arrows on all devices; never use emoji glyphs. */
.product-info h3 .ui-arrow{width:.8em;height:.8em;vertical-align:baseline;margin-left:.15em;display:inline-block;stroke:currentColor;flex-shrink:0}
.topbar .ui-arrow,.next .ui-arrow,.explore .ui-arrow,.dance-site-links .ui-arrow{width:1em;height:1em;vertical-align:middle;margin-left:.2em}

/* Neutral vector icons for the skills panel, consistent across iOS and desktop. */
.skills-panel>div{display:flex;align-items:center;gap:9px;min-width:0}
.skills-panel>div .skill-icon{display:block;flex:0 0 18px;width:18px;height:18px;color:inherit}
.skills-panel>div span{min-width:0;overflow-wrap:break-word}
@media(max-width:420px){.skills-panel>div{gap:6px}.skills-panel>div .skill-icon{flex-basis:15px;width:15px;height:15px}}

/* Mobile hero: remove the oversized blank space between heading and portrait. */
@media(max-width:850px){
  .hero-composition{margin-top:0!important;gap:12px!important}
  .hero-portrait{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1.18!important;top:auto!important;align-items:flex-end!important;overflow:hidden!important}
  .hero-portrait .portrait-photo{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important}
}
@media(max-width:500px){.hero-composition{margin-top:-8px!important}.hero-portrait{aspect-ratio:1.22!important}.hero-editorial{padding-top:34px!important}}


/* Shelf: three separate non-overlapping regions (metadata / image / title). */
.product .display:has(.shelf-artwork-region){
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:36px minmax(0,1fr) auto!important;
  align-items:stretch!important;justify-items:stretch!important;
  padding:0 14px 12px!important;overflow:hidden!important;
}
.product .display .sku,.product .display .shelf-year{
  position:absolute!important;top:13px!important;z-index:3!important;
  font-family:Manrope,'Helvetica Neue',Arial,sans-serif!important;
  font-size:clamp(10px,1.1vw,14px)!important;font-weight:300!important;
  color:#c8cbd2!important;line-height:1.2!important;
}
.product .display .sku{left:14px!important}
.product .display .shelf-year{right:14px!important;text-align:right!important}
.product .display .shelf-artwork-region{
  grid-column:1;grid-row:2;min-width:0;min-height:0;
  position:relative;display:flex;align-items:center;justify-content:center;
  overflow:visible;
}
.product .display .cover-packaging{
  position:relative!important;display:block!important;box-sizing:border-box!important;
  height:100%!important;width:100%!important;max-width:100%!important;
  padding:0!important;margin:0!important;aspect-ratio:auto!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;overflow:visible!important;
  transform:rotate(-5deg)!important;transform-origin:center!important;
  transition:transform .42s cubic-bezier(.2,.8,.2,1)!important;
}
.product .display .cover-packaging::after{display:none!important}
.product .display .cover-packaging .cover-packaging-image{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:contain!important;display:block!important;pointer-events:none!important;
}
.product:hover .display .cover-packaging{transform:translateY(-5px) rotate(0deg) scale(1.035)!important}
.product .display .shelf-cover-title{
  grid-column:1;grid-row:3;position:relative!important;z-index:2!important;
  display:block!important;width:100%!important;max-width:100%!important;
  padding:8px 0 0!important;margin:0!important;
  color:#fff!important;font-family:Manrope,'Helvetica Neue',Arial,sans-serif!important;
  font-size:clamp(13px,2vw,25px)!important;font-weight:800!important;
  letter-spacing:-.055em!important;line-height:1.08!important;
  white-space:normal!important;word-break:normal!important;
  overflow-wrap:normal!important;hyphens:none!important;
  text-transform:uppercase!important;text-align:left!important;
  text-shadow:none!important;
}
@media(max-width:760px){
  .product .display:has(.shelf-artwork-region){grid-template-rows:29px minmax(0,1fr) auto!important;padding:0 8px 10px!important}
  .product .display .sku,.product .display .shelf-year{top:9px!important;font-size:10px!important}
  .product .display .sku{left:9px!important}
  .product .display .shelf-year{right:9px!important}
  .product .display .shelf-cover-title{font-size:clamp(11px,3vw,18px)!important;padding-top:5px!important;line-height:1.1!important}
}
@media(max-width:420px){
  .product .display .shelf-cover-title{font-size:clamp(10px,2.85vw,13px)!important}
}
@media(prefers-reduced-motion:reduce){.product .display .cover-packaging{transition:none!important}}

/* Image-only packages: remove legacy fake artifact panels on both shelf and project pages. */
.product .display:has(.shelf-artwork-region){
  grid-template-rows:36px minmax(0,1fr)!important;
  padding:0 12px 12px!important;
}
.product .display .shelf-cover-title{display:none!important}
.product .display .shelf-artwork-region{grid-row:2!important;overflow:hidden!important}
.product .display .cover-packaging,
.case-stage .cover-packaging{
  display:block!important;position:relative!important;box-sizing:border-box!important;
  width:100%!important;height:100%!important;max-width:100%!important;
  padding:0!important;margin:0!important;aspect-ratio:auto!important;
  background:none!important;background-image:none!important;
  border:0!important;border-radius:0!important;
  box-shadow:none!important;overflow:visible!important;
}
.product .display .cover-packaging::before,
.product .display .cover-packaging::after,
.case-stage .cover-packaging::before,
.case-stage .cover-packaging::after{content:none!important;display:none!important}
.product .display .cover-packaging .cover-packaging-image,
.case-stage .cover-packaging .cover-packaging-image{
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;max-width:100%!important;
  object-fit:contain!important;object-position:center!important;
}
.case-stage .cover-packaging{
  width:min(75%,760px)!important;height:min(68vw,520px)!important;
  transform:none!important;
}
@media(max-width:760px){
  .product .display:has(.shelf-artwork-region){grid-template-rows:29px minmax(0,1fr)!important;padding:0 8px 8px!important}
  .case-stage .cover-packaging{width:94%!important;height:clamp(230px,70vw,420px)!important}
}

/* Compact bilingual navigation; RU remains the default language. */
.topbar nav .language-switch{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;white-space:nowrap;font-size:12px;letter-spacing:.035em}
.topbar nav .language-switch a{display:inline-flex;align-items:center;justify-content:center;padding:5px 2px;color:#8c919d;text-decoration:none;transition:color .2s}
.topbar nav .language-switch a.is-active{color:#fff;font-weight:800}
.topbar nav .language-switch a:hover{color:#fff}
.topbar nav .language-switch span{color:#5b606d}
@media(max-width:680px){
  .topbar nav{gap:clamp(7px,2vw,16px)!important;flex-wrap:nowrap!important}
  .topbar nav .language-switch{font-size:11px;gap:3px}
  .topbar nav .language-switch a{padding:5px 1px}
}
@media(max-width:420px){
  .topbar nav{gap:7px!important}
  .topbar nav .language-switch{font-size:10px}
}

/* Keep the language selector compact even when mobile link sizes increase. */
.topbar nav .language-switch a{font-size:inherit!important;line-height:1.2!important}
@media(max-width:500px){.topbar .brand{font-size:clamp(15px,4.5vw,20px)!important}.topbar nav>a{font-size:clamp(11px,3.2vw,15px)!important}.topbar nav .language-switch{font-size:11px!important}}

/* СУПЕРТЯЖ: редакционный кейс */
.supertyazh-story{margin:90px 0}.supertyazh-feature{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(24px,5vw,90px);padding:48px 0;border-bottom:1px solid #ffffff26}.supertyazh-feature-copy{max-width:560px}.supertyazh-feature-copy h2{font-size:clamp(27px,3.4vw,54px);line-height:1.07;margin:18px 0 24px}.supertyazh-feature-copy p{line-height:1.75;color:#c5c8cf}.supertyazh-palette{display:flex;height:260px;border-radius:24px;overflow:hidden;transform:rotate(-3deg)}.supertyazh-palette span{flex:1}.supertyazh-visual{border-radius:26px;background:#1a1b1d;overflow:hidden}.supertyazh-visual img{display:block;width:100%;height:auto}.supertyazh-price{background:#f9ca19;color:#101010;border-radius:24px;min-height:260px;display:flex;align-items:center;justify-content:center;font-size:clamp(85px,11vw,170px);font-weight:900;letter-spacing:-.09em;position:relative}.supertyazh-price small{font-size:.42em;align-self:center;margin-left:12px}.supertyazh-price span{position:absolute;bottom:18px;font-size:16px;letter-spacing:.07em}@media(max-width:720px){.supertyazh-story{margin:55px 0}.supertyazh-feature{grid-template-columns:1fr;padding:30px 0}.supertyazh-palette,.supertyazh-price{min-height:190px;height:190px}}

/* СУПЕРТЯЖ — презентация и галереи */
.supertyazh-deck{max-width:1080px;margin:30px auto 0}.supertyazh-slides{position:relative;border-radius:18px;overflow:hidden;background:#17191d}.supertyazh-slide{width:100%;text-align:center}.supertyazh-slide[hidden]{display:none!important}.supertyazh-slide img{display:block;width:100%;height:auto;max-height:78vh;object-fit:contain;margin:auto}.supertyazh-controls{display:flex;justify-content:center;align-items:center;gap:28px;padding:22px 0}.supertyazh-controls button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #ffffff4a;border-radius:50%;background:transparent;color:inherit;cursor:pointer}.supertyazh-controls button:hover{background:#ffffff1c}.supertyazh-counter{min-width:75px;text-align:center;font-variant-numeric:tabular-nums}.supertyazh-section-head{margin-top:76px}.supertyazh-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}.supertyazh-mockups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:26px}.supertyazh-work{margin:0;min-width:0}.supertyazh-work img{display:block;width:100%;height:auto;border-radius:14px}.supertyazh-work figcaption{padding-top:12px;color:#a9adb7;font-size:13px}.supertyazh-missing{display:block;box-sizing:border-box;padding:45px 18px;text-align:center;border:1px dashed #ffffff50;border-radius:14px;color:#b4b7bf;overflow-wrap:anywhere}.supertyazh-missing[hidden]{display:none!important}@media(max-width:700px){.supertyazh-results{grid-template-columns:1fr;gap:28px}.supertyazh-mockups{grid-template-columns:1fr}.supertyazh-section-head{margin-top:46px}}

/* СУПЕРТЯЖ — общий перспективный стиль каруселей */
.supertyazh-deck.portfolio-perspective .supertyazh-slides{position:relative!important;display:block!important;height:clamp(310px,47vw,620px)!important;overflow:hidden!important;perspective:1100px!important;background:transparent!important;border-radius:14px!important;isolation:isolate!important}
.supertyazh-deck.portfolio-perspective .supertyazh-slide{position:absolute!important;top:50%!important;left:50%!important;width:min(75%,850px)!important;height:92%!important;max-width:none!important;display:flex!important;align-items:center!important;justify-content:center!important;transform:translate(calc(-50% + var(--perspective-offset)*42%),-50%) rotateY(calc(var(--perspective-offset)*-17deg)) scale(calc(1 - var(--perspective-offset)*var(--perspective-offset)*.14))!important;transition:transform .45s ease,filter .45s ease,opacity .45s ease!important;backface-visibility:hidden!important;cursor:pointer}
.supertyazh-deck.portfolio-perspective .supertyazh-slide[hidden]{display:flex!important}
.supertyazh-deck.portfolio-perspective .supertyazh-slide.portfolio-offstage{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.supertyazh-deck.portfolio-perspective .supertyazh-slide:not(.portfolio-active){filter:brightness(.78)!important}
.supertyazh-deck.portfolio-perspective .supertyazh-slide.portfolio-active{filter:none!important;opacity:1!important;z-index:50!important}
.supertyazh-deck.portfolio-perspective .supertyazh-slide img{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;border-radius:12px!important;box-shadow:none!important}
.supertyazh-deck .supertyazh-controls{position:relative!important;z-index:60!important;margin:14px auto 0!important}
.supertyazh-mockups{align-items:stretch}
.supertyazh-mockups .supertyazh-work{display:flex;min-width:0;align-items:stretch;overflow:hidden;border-radius:14px;background:#17191d}
.supertyazh-mockups .supertyazh-work img{display:block;width:100%!important;height:100%!important;aspect-ratio:4/3;object-fit:cover!important;border-radius:14px}
@media(max-width:700px){.supertyazh-deck.portfolio-perspective .supertyazh-slides{height:clamp(250px,76vw,420px)!important}.supertyazh-deck.portfolio-perspective .supertyazh-slide{width:78%!important;transform:translate(calc(-50% + var(--perspective-offset)*36%),-50%) rotateY(calc(var(--perspective-offset)*-15deg)) scale(calc(1 - var(--perspective-offset)*var(--perspective-offset)*.15))!important}.supertyazh-mockups .supertyazh-work img{aspect-ratio:4/3}}

/* Мокапы СУПЕРТЯЖ: одинаковая высота без обрезки исходников */
.supertyazh-mockups{align-items:stretch!important}
.supertyazh-mockups .supertyazh-work{height:clamp(300px,37vw,570px)!important;align-items:center!important;justify-content:center!important;background:#121316!important}
.supertyazh-mockups .supertyazh-work img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;border-radius:0!important}
@media(max-width:700px){.supertyazh-mockups .supertyazh-work{height:auto!important;min-height:0!important;aspect-ratio:auto!important}.supertyazh-mockups .supertyazh-work img{height:auto!important;max-height:none!important}}

/* Уменьшенная обложка СУПЕРТЯЖ на витрине */
.product:has(.cover-packaging-image[src*="cover-12.png"]) .display .cover-packaging-image{inset:10% 12%!important;width:76%!important;height:80%!important;object-fit:contain!important}
@media(max-width:600px){.product:has(.cover-packaging-image[src*="cover-12.png"]) .display .cover-packaging-image{inset:12% 13%!important;width:74%!important;height:76%!important}}

/* Мобильная витрина: заголовки не выходят за границы соседних карточек */
.shelf .product,.shelf .product-info,.shelf .product-info h3{min-width:0;max-width:100%}
.shelf .product-info h3{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;hyphens:auto!important;line-height:1.25!important}
.shelf .product-info h3 .ui-arrow{display:inline-block!important;white-space:nowrap!important;vertical-align:baseline!important}
@media(max-width:760px){.shelf .product-info h3{font-size:clamp(13px,3.5vw,18px)!important;letter-spacing:-.035em!important}.shelf .product-info{overflow-wrap:anywhere!important}}

/* Видеоафиши: локальные MP4, одинаковые вертикальные плееры */
.dance-posters-grid .dance-poster-player video{display:block;width:100%!important;height:100%!important;aspect-ratio:9/16;object-fit:contain;background:#0b0c10;border-radius:12px}
.dance-posters-grid .dance-poster-player{background:#0b0c10!important}

/* Видеоафиши: две карточки в ряд, включая планшеты и телефоны */
.dance-posters-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px!important}
@media(max-width:600px){.dance-posters-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.dance-posters-grid figure figcaption{font-size:13px!important;overflow-wrap:anywhere}}

/* Видеоафиши: две карточки в строке на широких экранах */
.dance-posters-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px!important}
@media(max-width:850px){.dance-posters-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}}
@media(max-width:540px){.dance-posters-grid{grid-template-columns:1fr!important;gap:24px!important}}

/* Анимированная обложка видеоафиш: покой — PNG, наведение — GIF */
.cover-packaging--animated .cover-packaging-still{opacity:1!important;transition:opacity .12s ease}
.cover-packaging--animated .cover-packaging-motion{opacity:0!important;transition:opacity .12s ease;pointer-events:none}
.cover-packaging--animated.is-animated .cover-packaging-motion{opacity:1!important}
.cover-packaging--animated.is-animated .cover-packaging-still{opacity:0!important}
@media(prefers-reduced-motion:reduce){.cover-packaging--animated .cover-packaging-motion{display:none!important}.cover-packaging--animated .cover-packaging-still{opacity:1!important}}

/* Видеоафиши: компактные вертикальные ролики, целиком помещаются в экран */
.dance-posters-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;max-width:860px;margin-left:auto;margin-right:auto}
.dance-posters-grid figure{width:100%;min-width:0;max-width:340px;justify-self:center}
.dance-posters-grid .dance-poster-player{width:100%!important;height:min(62vh,540px)!important;max-height:540px!important;aspect-ratio:9/16!important;margin-inline:auto;overflow:hidden}
.dance-posters-grid .dance-poster-player video{width:100%!important;height:100%!important;object-fit:contain!important;max-height:100%!important}
@media(max-width:700px){.dance-posters-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.dance-posters-grid figure{max-width:100%}.dance-posters-grid .dance-poster-player{height:min(55vh,440px)!important}}
@media(max-width:440px){.dance-posters-grid{grid-template-columns:1fr!important;max-width:330px}.dance-posters-grid .dance-poster-player{height:min(62vh,480px)!important}}
