:root{color-scheme:dark;--orange:#f15a00;--text:#f6f4f1}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:#000;color:var(--text);font-family:Arial,Helvetica,sans-serif;font-weight:400}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:2px solid #ff9c42;outline-offset:5px}img{display:block;max-width:100%;height:auto}.wrap{width:76%;max-width:1460px;margin-inline:auto}.intro{background:radial-gradient(ellipse at -22% 47%,#f05200 0%,#6b1900 27%,#230500 45%,#000 69%);padding-bottom:180px}.header{width:66%;max-width:1270px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding-top:55px}.logo{width:129px}.logo img{width:100%;mix-blend-mode:screen}nav{display:flex;gap:12px}nav a{border:1px solid #777;border-radius:40px;padding:10px 37px;font-size:24px;transition:background .25s,color .25s}nav a:hover,nav a.active{background:#fff;color:#222}.hero{width:66%;max-width:1270px;margin:105px auto 0;min-height:1180px}.hero h1{font-size:clamp(66px,9.1vw,175px);line-height:.95;letter-spacing:-.075em;font-weight:400;margin:0}.hero h1 em{display:block;text-align:right;font-family:Georgia,'Times New Roman',serif;font-size:1.1em;font-weight:400;letter-spacing:-.075em;line-height:.9}.chips{position:relative;height:530px;margin-top:35px}.chip{position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;border:1px solid #c0a59c;border-radius:100px;padding:23px 42px;font-size:clamp(18px,2.05vw,39px);line-height:1.15;transform:rotate(var(--angle));transition:filter .3s;will-change:transform}.chip:hover,.chip:focus-visible{animation:chip-vibrate .55s ease-in-out infinite alternate;filter:brightness(1.12)}.orange{background:var(--orange);border-color:var(--orange)}.chip-1{left:5%;top:0;--angle:18deg;font-size:clamp(16px,1.6vw,31px)}.chip-2{left:27%;top:120px;--angle:-9deg}.chip-3{left:-2%;top:167px;--angle:6deg}.chip-4{left:49%;top:235px;--angle:30deg;z-index:2}.chip-5{right:-2%;top:148px;--angle:-24deg;font-size:clamp(16px,1.7vw,33px)}.chip-6{left:33%;top:250px;--angle:-25deg;font-size:clamp(15px,1.6vw,31px)}.chip-7{left:2%;top:365px;--angle:-3deg}.chip-8{left:41%;top:355px;--angle:6deg}.chip-9{right:1%;top:420px;--angle:-21deg;font-size:clamp(14px,1.4vw,27px)}.about{display:grid;grid-template-columns:35.4% 1fr;gap:40px;align-items:stretch}.portrait{width:100%;height:100%;object-fit:cover;border-radius:40px}.glass{position:relative;isolation:isolate;overflow:hidden;padding:46px 44px;border:1px solid #966c5a;border-radius:40px;background:linear-gradient(110deg,#f2480020,#39100880);backdrop-filter:blur(18px);box-shadow:inset 0 1px 1px #ffffff2b;transition:box-shadow .5s}.glass:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 5% 100%,#ff6a00 0%,#a52a0060 45%,transparent 80%);transition:filter .5s,opacity .5s}.glass:hover{box-shadow:inset 0 0 90px #ff8b2238,0 0 35px #ff5d001f}.glass:hover:before{filter:brightness(1.6)}blockquote{margin:0;font-size:clamp(22px,2.6vw,50px);line-height:1.03;letter-spacing:-.025em}.stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;margin:65px 0 100px}.stats dt{font-size:clamp(42px,5.2vw,100px);letter-spacing:-.05em;line-height:1}.stats dd{margin:0;font-size:clamp(12px,1.22vw,24px);line-height:1.2;color:#ead8cb}.signature{font-size:30px;margin:0 0 12px}.role{font-size:14px;letter-spacing:3px;line-height:1.6;margin:0}.projects{padding:120px 0 245px}.projects h2{font-weight:400;font-size:clamp(36px,4vw,78px);letter-spacing:-.06em;margin:0 0 20px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-card{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:1.125;border:1px solid #6f4830;border-radius:18px;background:radial-gradient(ellipse at 70% 90%,#642600,#120700 70%,#050403);transition:box-shadow .4s,border-color .4s}.project-card h3{position:relative;z-index:2;font-weight:400;font-size:clamp(20px,2.1vw,40px);line-height:1.22;margin:26px 36px;letter-spacing:-.025em}.project-card img{position:absolute;z-index:0;bottom:0;width:100%;height:69%;object-fit:fill;transition:filter .4s,transform .4s}.project-card:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 55% 65%,#ff9b284f,transparent 75%);opacity:0;transition:opacity .4s;pointer-events:none}.project-card:hover,.project-card:focus-visible{border-color:#ff9a3c;box-shadow:inset 0 0 70px #ff8d282b,0 0 24px #ff6a0028}.project-card:hover:after,.project-card:focus-visible:after{opacity:1}.project-card:hover img{filter:brightness(1.2);transform:scale(1.025)}.contacts{position:relative;isolation:isolate;overflow:hidden;min-height:1140px;display:flex;align-items:center}.contact-glow{position:absolute;z-index:-2;inset:0;background:radial-gradient(ellipse at 0 30%,#ff5800,#7f1a00 27%,#210500 48%,#000 72%);animation:light-drift 14s ease-in-out infinite alternate}.contact-panels{position:absolute;z-index:-1;inset:0;background:repeating-linear-gradient(90deg,#0000 0,#0000 55px,#0004 56px,#0000 115px)}.contact-content{display:grid;grid-template-columns:66% 34%;align-items:center;gap:0}.contact-content h2{font-size:clamp(65px,8.7vw,167px);line-height:1.03;letter-spacing:-.065em;font-weight:400;margin:0}.contact-content h2 span{display:block;text-align:right}.contact-action{padding-left:20px}.telegram{display:grid;grid-template-columns:1.25fr 1fr;align-items:stretch;margin-left:-100px;font-size:clamp(17px,1.5vw,29px);letter-spacing:-.03em}.telegram>span:first-child{padding:20px 30px;border:1px solid #99897f;border-radius:24px;background:#10090778;backdrop-filter:blur(9px);line-height:1.1}.telegram-icon{border-radius:24px;background:#cb3000;display:flex;justify-content:center;align-items:center;font-size:64px;transition:background .3s;transform:none}.telegram:hover .telegram-icon{background:#f55d00}.contact-action p{font-size:clamp(32px,4.4vw,84px);letter-spacing:-.065em;line-height:1.02;margin:45px 0 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.case-header{padding-bottom:55px}.case-main{padding:50px 0 140px}.back{display:inline-block;color:#dfb49a;margin-bottom:35px}.case-main h1{font-weight:400;font-size:clamp(40px,5.4vw,96px);line-height:1.04;letter-spacing:-.05em;margin:0 0 55px;overflow-wrap:anywhere}.case-body{max-width:1100px;margin:0 auto}.case-body>p{font-size:clamp(18px,1.8vw,27px);line-height:1.6;max-width:900px;margin:25px 0}.case-body h2,.case-body h3{font-weight:400;line-height:1.15;letter-spacing:-.03em;margin:70px 0 25px;font-size:clamp(28px,3vw,52px)}.case-body figure{margin:35px 0}.case-body figure img{width:100%;border-radius:15px;background:#17110e}.case-body figcaption{color:#b9a69a;font-size:16px;margin:12px 0}.case-body video{display:block;width:100%;max-height:760px;border-radius:16px;background:#140b06}.case-body .document{padding:25px;border:1px solid #644536;border-radius:15px;margin:30px 0;background:#28100655}.document img{max-height:520px;width:100%;object-fit:contain}.document a{display:inline-block;margin-top:18px;color:#ffb46b;text-decoration:underline;text-underline-offset:4px;font-size:20px}.case-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:60px}.case-link{display:flex;flex-direction:column;justify-content:space-between;border:1px solid #69402a;border-radius:18px;overflow:hidden;background:#211006;transition:border-color .3s}.case-link:hover{border-color:#ff9f49}.case-link h2{font-size:25px;margin:25px}.case-link img{width:100%;height:240px;object-fit:cover}.case-link span{margin:0 25px 20px;color:#ffb46b}.case-footer{border-top:1px solid #44291b;padding:50px 0;display:flex;justify-content:space-between}.case-footer a{color:#ffb46b}@keyframes chip-vibrate{0%{transform:translate(0,0) rotate(var(--angle))}50%{transform:translate(1px,-2px) rotate(calc(var(--angle) + 2deg))}100%{transform:translate(-1px,1px) rotate(calc(var(--angle) - 1deg))}}@keyframes light-drift{from{transform:translateX(-40px)}to{transform:translateX(110px)}}
@media(max-width:1500px){.header{padding-top:38px}.logo{width:85px}nav a{font-size:16px;padding:8px 26px}.hero{margin-top:75px;min-height:780px}.chips{height:380px;margin-top:22px}.chip{padding:15px 27px}.chip-2{top:80px}.chip-3{top:112px}.chip-4{top:157px}.chip-5{top:99px}.chip-6{top:167px}.chip-7{top:243px}.chip-8{top:237px}.chip-9{top:280px}.about{gap:27px}.portrait,.glass{border-radius:28px}.glass{padding:30px}.stats{margin:45px 0 65px;gap:15px}.signature{font-size:21px}.role{font-size:9px;letter-spacing:2px}.intro{padding-bottom:120px}.projects{padding:80px 0 165px}.project-grid{gap:12px}.project-card{border-radius:13px}.project-card h3{margin:20px 25px}.contacts{min-height:760px}.telegram{margin-left:-65px}.telegram>span:first-child{padding:15px 20px;border-radius:17px}.telegram-icon{border-radius:17px;font-size:43px}.contact-action p{margin-top:30px}}
@media(max-width:900px){.wrap{width:88%}.header,.hero{width:82%}.hero{min-height:650px}.hero h1{font-size:11vw}.chip{font-size:2.5vw;padding:14px 23px}.chip-1{font-size:2vw}.chip-5,.chip-6{font-size:2.1vw}.chip-9{font-size:1.8vw}.glass{padding:22px}.stats{gap:8px;margin:30px 0 40px}.stats dd{font-size:11px}.role{font-size:8px;letter-spacing:1px}.project-card h3{font-size:22px;margin:18px}.contacts{min-height:620px}.contact-content h2{font-size:9.8vw}.contact-action p{font-size:4.8vw}.telegram{font-size:15px;margin-left:-48px}.telegram>span:first-child{padding:13px}.telegram-icon{font-size:35px}}
@media(max-width:600px){.wrap{width:90%}.header{width:90%;padding-top:24px;align-items:center;gap:15px}.logo{width:67px;flex-shrink:0}nav{gap:5px}nav a{font-size:12px;padding:7px 10px}.hero{width:90%;margin-top:67px;min-height:470px}.hero h1{font-size:14vw;letter-spacing:-.075em}.hero h1 em{font-size:1.13em;margin-top:5px}.chips{height:260px;margin-top:33px}.chip{font-size:15px;padding:12px 18px}.chip-1{font-size:12px;left:6%;top:0}.chip-2{left:32%;top:55px}.chip-3{left:0;top:81px}.chip-4{left:49%;top:107px;font-size:14px}.chip-5{right:-1%;top:30px;font-size:12px}.chip-6{left:30%;top:127px;font-size:11px}.chip-7{left:0;top:183px;font-size:14px}.chip-8{left:47%;top:182px;font-size:13px}.chip-9{right:0;top:240px;font-size:11px}.about{grid-template-columns:1fr;gap:18px}.portrait{width:65%;height:auto;justify-self:center;border-radius:22px}.glass{padding:24px;border-radius:24px}blockquote{font-size:26px;line-height:1.12}.stats{margin:35px 0 45px;gap:10px}.stats dt{font-size:47px}.stats dd{font-size:11px;line-height:1.3}.signature{font-size:21px}.role{font-size:8px;line-height:1.6}.intro{padding-bottom:60px}.projects{padding:25px 0 85px}.projects h2{font-size:42px;margin-bottom:20px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.project-card{aspect-ratio:.88;border-radius:12px}.project-card h3{font-size:17px;margin:16px 12px}.project-card img{height:64%;object-fit:cover}.contacts{min-height:550px}.contact-content{grid-template-columns:1fr;gap:35px;padding:80px 0}.contact-content h2{font-size:14vw}.contact-content h2 span{text-align:left}.contact-action{padding:0}.telegram{margin:0;max-width:330px;font-size:19px}.telegram>span:first-child{padding:16px 20px}.telegram-icon{font-size:43px}.contact-action p{font-size:39px;margin-top:28px}.contact-panels{background:repeating-linear-gradient(90deg,#0000 0,#0000 23px,#0004 24px,#0000 58px)}.case-header{padding-bottom:30px}.case-main{padding:20px 0 70px}.case-main h1{font-size:42px;margin-bottom:35px}.case-body>p{font-size:18px;line-height:1.5}.case-body h2,.case-body h3{margin-top:45px;font-size:29px}.case-links{grid-template-columns:1fr;gap:20px}.case-link img{height:auto;max-height:260px;object-fit:cover}.case-footer{font-size:15px;gap:20px}.document{padding:15px!important}.document a{font-size:17px}.case-body figure{margin:24px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

.project-card img{mask-image:linear-gradient(to bottom,transparent,#000 18%)}.telegram-icon svg{width:45%;height:auto}

.case-body>p{white-space:pre-line}.case-body>p a{color:#ffb46b;text-decoration:underline;text-underline-offset:4px}

/* Закреплённая стеклянная шапка и первый экран. */
html{scroll-padding-top:110px}
.header{position:fixed;z-index:20;top:16px;left:50%;transform:translateX(-50%);width:calc(76% + 40px);max-width:1500px;margin:0;padding:12px 20px;gap:20px;border:1px solid #ffffff28;border-radius:24px;background:#140b0873;backdrop-filter:blur(22px) saturate(135%);-webkit-backdrop-filter:blur(22px) saturate(135%);box-shadow:0 8px 32px #0003}
.header .logo{width:85px;flex-shrink:0}.header nav a{font-size:16px;padding:8px 26px}
.hero{width:76%;max-width:1460px;height:100svh;min-height:0;margin:0 auto;padding:140px 0 38px;display:flex;flex-direction:column;justify-content:center;gap:28px;container-type:size}
.hero h1{font-size:min(12cqw,20cqh);flex:none;line-height:.95}.hero h1 em{font-size:1.1em}
.chips{flex:none;container-type:inline-size;width:min(100%,130cqh);height:auto;aspect-ratio:2.35;margin:0 auto;position:relative}
.chip{font-size:3cqw;padding:1.7cqw 3cqw;line-height:1.15;will-change:auto}
.chip-1{left:8%;top:5%;--angle:18deg;font-size:3cqw}
.chip-2{left:30%;top:33%;--angle:-9deg}
.chip-3{left:0;top:42%;--angle:6deg}
.chip-4{left:53%;top:57%;--angle:30deg}
.chip-5{left:auto;right:0;top:38%;--angle:-24deg;font-size:3cqw}
.chip-6{left:36%;top:60%;--angle:-25deg;font-size:3cqw}
.chip-7{left:4%;top:82%;--angle:-3deg}
.chip-8{left:44%;top:88%;--angle:6deg}
.chip-9{left:auto;right:0;top:94%;--angle:-21deg;font-size:3cqw}
.chip:hover,.chip:focus-visible{animation:none;filter:brightness(1.12)}
/* Полосы неподвижны: меняются только яркость и прозрачность света. */
.contact-glow{animation:glow-pulse 18s ease-in-out infinite;background:radial-gradient(ellipse at 0 30%,#ff5800,#7f1a00 27%,#210500 48%,#000 72%)}
.contact-panels{display:flex;background:none}
.contact-panels span{flex:1;height:100%;background:linear-gradient(90deg,#0003,#0000 95%);animation:panel-light 13s ease-in-out infinite;animation-delay:var(--delay)}
@keyframes panel-light{0%,100%{opacity:.6;filter:brightness(.94)}50%{opacity:.8;filter:brightness(1.06)}}
@keyframes glow-pulse{0%,100%{opacity:.88;filter:brightness(.96)}50%{opacity:1;filter:brightness(1.04)}}
@media(max-width:900px){.header{width:92%}.hero{width:88%;padding-top:135px}.header nav a{padding:8px 18px}}
@media(max-width:600px){html{scroll-padding-top:95px}.header{top:10px;padding:10px 12px;border-radius:19px;gap:10px}.header .logo{width:60px}.header nav{gap:5px}.header nav a{font-size:12px;padding:7px 9px}.hero{width:90%;padding:112px 0 40px;gap:35px;justify-content:center}.hero h1{font-size:min(14cqw,18cqh)}.hero h1 em{margin-top:5px}.chips{width:100%;aspect-ratio:1.05}.chip{font-size:4cqw;padding:3cqw 5cqw}.chip-1{left:4%;top:3%;font-size:4cqw;--angle:14deg}.chip-2{left:52%;top:21%;--angle:-9deg}.chip-3{left:0;top:31%;--angle:6deg}.chip-4{left:43%;top:52%;font-size:4cqw;--angle:24deg}.chip-5{right:0;top:1%;font-size:3.7cqw;--angle:-18deg}.chip-6{left:9%;top:53%;font-size:4cqw;--angle:-20deg}.chip-7{left:0;top:74%;font-size:4cqw}.chip-8{left:47%;top:84%;font-size:4cqw}.chip-9{right:1%;top:69%;font-size:4cqw;--angle:-16deg}.contact-panels{background:none}}
@media(max-height:650px) and (max-width:600px){.hero{padding-top:95px;gap:18px}.chips{width:min(100%,75cqh)}}
@media(prefers-reduced-motion:reduce){.contact-glow,.contact-panels span{animation:none}}

.case-main{padding-top:145px}
@media(max-width:600px){.case-main{padding-top:115px}}

@media(max-width:600px){.chip-8{left:43%;top:96%}.chip-9{top:75%}}

/* Композиция баннера: размеры и координаты пропорциональны макету. */
.hero{width:66.8%;max-width:none;height:auto;min-height:0;padding:140px 0 30px;display:block;container-type:normal}
.hero-composition{position:relative;width:100%;aspect-ratio:1368/900;container-type:inline-size}
.hero h1{position:absolute;inset:0 0 auto;margin:0;font-size:14cqw;line-height:.95;letter-spacing:-.065em}
.hero h1 em{font-family:'Times New Roman',serif;font-size:1em;line-height:.9;letter-spacing:-.065em;margin:0;text-align:right}
.hero .chips{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;margin:0;container-type:normal}
.hero .chip{font-size:3cqw;line-height:1.15;padding:0;height:7.6cqw;border-color:#d8cec8;transform:rotate(var(--angle));transition:filter .2s}
.hero .orange{background:#f15a00;border-color:#f15a00}
.hero .chip-1{left:8.55%;top:33.2%;width:26.9%;--angle:18deg}
.hero .chip-2{left:26%;top:49.1%;width:23.4%;--angle:-9deg}
.hero .chip-3{left:1.5%;top:55.3%;width:25.9%;--angle:6deg}
.hero .chip-4{left:45.8%;top:63%;width:32.8%;--angle:30deg;z-index:2}
.hero .chip-5{left:66.7%;right:auto;top:52.3%;width:27.8%;--angle:-24deg}
.hero .chip-6{left:30.2%;top:61.8%;width:17.7%;--angle:-25deg}
.hero .chip-7{left:5.8%;top:78.9%;width:32.3%;--angle:-3deg}
.hero .chip-8{left:38%;top:75.7%;width:28.2%;--angle:6deg}
.hero .chip-9{left:69%;right:auto;top:80.9%;width:21.1%;--angle:-21deg}
.hero .chip:hover,.hero .chip:focus-visible{animation:chip-vibrate .24s ease-in-out infinite alternate;filter:brightness(1.1)}
@media(max-width:900px){.hero{width:82%;padding-top:125px}}
@media(max-width:600px){.hero{width:90%;min-height:0;padding:120px 0 50px}.hero-composition{aspect-ratio:1368/900}.hero h1{font-size:14cqw}.hero h1 em{font-size:1em}.hero .chip{font-size:max(11px,3cqw);height:7.6cqw}}
@media(prefers-reduced-motion:reduce){.hero .chip:hover,.hero .chip:focus-visible{animation:none}}

/* Кнопка совпадает с высотой прописных букв, контакты завершают подвал. */
.contacts{flex-direction:column;justify-content:center;gap:120px;padding:140px 0 55px}
.contact-content{align-items:start}
.contact-action{padding-top:1.58vw}
.telegram{height:6.35vw;max-height:122px}
.telegram>span:first-child{display:flex;align-items:center;padding-block:0}
.contact-action p{margin-top:2vw}
.contact-details{display:flex;justify-content:center;align-items:center;gap:40px;font-size:clamp(22px,2.65vw,42px);line-height:1.4;letter-spacing:-.025em}
.contact-details a:hover{text-decoration:underline;text-underline-offset:6px}
@media(min-width:1920px){.contact-action{padding-top:30px}}
@media(max-width:900px) and (min-width:601px){.telegram{height:7.15vw;font-size:13px}.telegram>span:first-child{padding-inline:10px}.contact-action{padding-top:1.78vw}.contact-details{gap:22px;font-size:2.65vw}}
@media(max-width:600px){.contacts{gap:45px;padding:65px 0 35px}.contact-content{padding:0}.contact-action{padding-top:0}.telegram{height:70px;max-height:none}.contact-action p{margin-top:28px}.contact-details{flex-direction:column;gap:10px;font-size:23px}.contact-details>span{display:none}}
/* Главная страница и каталоги портфолио интерфейсов. */
[hidden]{display:none!important}
.header{position:relative;top:auto;left:auto;transform:none;width:76%;max-width:1460px;margin:auto;padding:38px 0 0;border:0;border-radius:0;background:none;backdrop-filter:none;box-shadow:none}
.header .logo{width:85px}.header nav a{font-size:16px;padding:8px 26px}
.hero{width:76%;max-width:1460px;height:auto;min-height:800px;margin:0 auto;padding:45px 0 35px;display:block;container-type:normal}
.hero h1{text-align:center;font-size:clamp(70px,11.25vw,216px);font-weight:500;line-height:.94;letter-spacing:-.065em;margin:0}
.hero h1 em{font-size:.83em;line-height:1.05;text-align:center;font-weight:400;letter-spacing:-.07em;margin:0 0 4px}
.hero .chips{container-type:normal;width:92%;height:350px;aspect-ratio:auto;margin:130px auto 0}
.hero .chip{font-size:clamp(14px,1.8vw,34px);padding:15px 29px;line-height:1.15}
.hero .chip-1{left:16%;top:0;--angle:18deg;font-size:1.65vw}.hero .chip-2{left:30%;top:65px;--angle:-9deg}.hero .chip-3{left:0;top:100px;--angle:6deg}.hero .chip-4{left:45%;top:150px;--angle:30deg;z-index:2;font-size:1.6vw}.hero .chip-5{right:0;top:75px;--angle:-24deg;font-size:1.65vw}.hero .chip-6{left:30%;top:170px;--angle:-25deg;font-size:1.6vw}.hero .chip-7{left:5%;top:240px;--angle:-3deg}.hero .chip-8{left:36%;top:235px;--angle:6deg;font-size:1.55vw}.hero .chip-9{right:0;top:280px;--angle:-21deg;font-size:1.55vw}
.about{grid-template-columns:35.4% 1fr;gap:27px}.portrait,.glass{border-radius:28px}.glass{padding:30px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:50px 0 80px;gap:15px}.stats dt{font-size:4.7vw}.stats dd{font-size:1.1vw}.role{letter-spacing:1px;font-size:9px;line-height:1.5}.signature{font-size:21px}.intro{padding-bottom:120px}.projects{padding:140px 0 170px}
.filters,.tags{display:flex;flex-wrap:wrap;gap:9px 12px}.filters{margin:30px 0 50px}.filter,.tags span,.tags>a{border:1px solid #81786f;border-radius:30px;padding:3px 15px;font-size:16px;line-height:1.2;color:#dedad5}.filter:hover,.filter.selected,.tags>a:hover{background:var(--orange);border-color:var(--orange);color:white}.tags{gap:8px;margin:20px 0}.tags span,.tags>a{font-size:13px;padding:4px 11px}
.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-card{aspect-ratio:1;min-width:0;border-color:#574633}.project-card.product{grid-column:span 2;aspect-ratio:2.05}.project-card h3{font-size:clamp(20px,2.1vw,40px);margin:32px;line-height:1.16}.project-card p{position:relative;z-index:2;font-size:clamp(15px,1.4vw,26px);margin:0 32px;line-height:1.24}.project-card img{height:69%;width:100%;object-fit:fill;mask-image:linear-gradient(to bottom,transparent,#000 15%)}.project-card.product img{width:52%;right:0;height:83%;object-fit:contain;object-position:bottom right}.project-card.mobile h3{font-size:clamp(18px,1.9vw,36px)}
.inner{background:radial-gradient(ellipse at 0 0,#3d1100,transparent 700px),#000}.inner .header{margin-bottom:70px}.case-main{padding-top:10px}.case-main h1{max-width:1100px;margin-bottom:25px}.case-lead{font-size:clamp(20px,2vw,30px);line-height:1.5;max-width:900px;color:#d9c9bd;margin:30px 0 65px}.case-body{max-width:1100px}.case-body p,.case-body li,.story-section>p{font-size:clamp(18px,1.7vw,26px);line-height:1.6}.case-body li{margin:10px 0}.case-body a{color:#ffb46b;overflow-wrap:anywhere}.case-body hr{border:0;border-top:1px solid #5e3a25;margin:65px 0}.case-body figure img{border-radius:14px;width:100%;height:auto}.case-body figure a{display:block}.case-body video{max-height:800px;border:1px solid #4f3020;margin:35px 0}.story-section{margin:70px 0}.story-section>p{max-width:900px}.case-links{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:28px}.case-link{display:block}.case-link img{width:100%;height:auto;aspect-ratio:1.9;object-fit:cover;background:#140b06}.case-link>div{padding:28px}.case-link h2{font-size:28px;line-height:1.15;margin:0 0 18px;letter-spacing:-.025em}.case-link p{font-size:17px;line-height:1.45;margin:0;color:#d9c9bd}.case-link span{margin:0}.case-link>div>span{display:inline-block;color:#ffb46b;margin-top:12px}.case-link .tags span{color:#d9c9bd}.case-link:hover{box-shadow:0 0 30px #ff5a0015}.results-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.results-top>a{color:#ffad6b;text-decoration:underline}.filtered{scroll-margin-top:30px}.case-footer{gap:20px}.contacts{min-height:760px}
@media(min-width:1600px){.hero{min-height:1180px;padding-top:65px}.hero .chips{height:530px;margin-top:190px}.hero .chip{padding:23px 42px}.hero .chip-2{top:100px}.hero .chip-3{top:150px}.hero .chip-4{top:225px}.hero .chip-5{top:110px}.hero .chip-6{top:250px}.hero .chip-7{top:360px}.hero .chip-8{top:350px}.hero .chip-9{top:420px}.header{padding-top:55px}.header .logo{width:129px}.header nav a{font-size:24px}.about{gap:40px}.glass{padding:46px}.stats{margin:65px 0 100px}.signature{font-size:30px}.role{font-size:13px}.intro{padding-bottom:180px}.projects{padding:200px 0 245px}.contacts{min-height:1140px}}
@media(max-width:900px) and (min-width:601px){.hero{min-height:660px}.hero .chip{padding:12px 20px}.glass{padding:22px}.stats{gap:8px;margin:35px 0 45px}.stats dd{font-size:10px}.role{font-size:7px}.project-card h3{margin:20px;font-size:20px}.project-card p{margin:0 20px;font-size:12px}.project-card.mobile h3{font-size:17px}}
@media(max-width:600px){.header{width:90%;padding:24px 0 0;gap:10px}.header .logo{width:60px}.header nav{gap:5px}.header nav a{font-size:12px;padding:7px 9px}.hero{width:90%;min-height:510px;padding:50px 0 30px}.hero h1{font-size:13.5vw;line-height:1}.hero h1 em{font-size:1.15em;line-height:.95;margin-bottom:10px}.hero .chips{width:100%;height:255px;margin:75px auto 0}.hero .chip{font-size:12px;padding:10px 17px}.hero .chip-1{left:14%;top:0;font-size:11px}.hero .chip-2{left:31%;top:40px}.hero .chip-3{left:0;top:72px}.hero .chip-4{left:39%;top:110px;font-size:11px}.hero .chip-5{right:0;top:40px;font-size:11px}.hero .chip-6{left:30%;top:119px;font-size:12px}.hero .chip-7{left:2%;top:174px;font-size:12px}.hero .chip-8{left:37%;top:182px;font-size:10px}.hero .chip-9{right:0;top:224px;font-size:11px}.about{grid-template-columns:1fr;gap:18px}.portrait{width:65%;height:auto;justify-self:center;border-radius:22px}.glass{padding:24px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 20px;margin:35px 0 40px}.stats dt{font-size:50px}.stats dd{font-size:12px}.role{font-size:9px}.intro{padding-bottom:70px}.projects{padding:40px 0 90px}.filters{gap:8px;margin:25px 0 30px}.filter{font-size:13px;padding:5px 10px}.project-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.project-card.product{grid-column:span 2;aspect-ratio:1.5}.project-card{aspect-ratio:.85}.project-card h3{font-size:17px;margin:18px 14px;line-height:1.2}.project-card p{font-size:12px;margin:0 14px}.project-card.product img{width:58%;height:75%}.project-card.mobile h3{font-size:15px}.project-card.graphic{grid-column:auto;aspect-ratio:.85}.project-card.graphic img{width:100%;height:69%;right:0;object-fit:cover}.inner .header{margin-bottom:45px}.case-main h1{font-size:40px;overflow-wrap:normal;hyphens:auto}.case-lead{font-size:20px;margin-bottom:40px}.case-links{grid-template-columns:1fr;gap:20px}.case-link>div{padding:22px}.case-link h2{font-size:26px}.case-link p{font-size:16px}.results-top{display:block}.results-top h2{font-size:32px}.results-top>a{display:block;margin:15px 0}.case-body p,.case-body li,.story-section>p{font-size:18px}.case-body ul{padding-left:22px}.story-section{margin-top:45px}.case-body figure img{border-radius:8px}.contacts{min-height:550px}.case-footer{font-size:14px}}

.hero h1{position:static;inset:auto}.hero .chip{width:auto;height:auto}.hero .chips{position:relative;inset:auto}.hero .chip-5{left:auto;right:0}.hero .chip-9{left:auto;right:0}.project-card.product img{mask-image:linear-gradient(130deg,transparent 5%,#000 50%)}
/* Галереи экранов: мобильные макеты открываются в полном размере. */
.case-body .phone-screen{max-width:390px;margin-inline:auto}.screen-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;align-items:start;margin:35px 0}.screen-gallery figure{margin:0!important;min-width:0}.screen-gallery .phone-screen{width:100%}.case-body .screen-gallery figure a{display:block}.screen-gallery figure:last-child:nth-child(odd){grid-column:1/-1}.case-body figure a:hover{filter:brightness(1.06)}
@media(max-width:600px){.screen-gallery{gap:12px}.case-body .phone-screen{max-width:290px}.screen-gallery:has(figure:not(.phone-screen)){grid-template-columns:1fr}.screen-gallery figure:last-child:nth-child(odd){grid-column:auto}}

/* Правки по макетам: шапка, баннер, типографика и карточки. */
@font-face{font-family:Actay;src:url('assets/actay-regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Actay Wide';src:url('assets/actay-wide-bold.otf') format('opentype');font-weight:700;font-style:normal;font-display:swap}
html{scroll-padding-top:110px}
.header{position:fixed;z-index:50;top:15px;left:50%;transform:translateX(-50%);width:94%;max-width:1920px;margin:0;padding:15px 22px;border:1px solid #ffffff30;border-radius:26px;background:#100b0880;backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%);box-shadow:0 8px 32px #0003}
.header .logo{width:85px}.header nav a{font-size:16px;padding:8px 26px}
.hero{width:66.8%;max-width:1400px;min-height:0;height:auto;margin:0 auto;padding:135px 0 55px;display:block}
.hero-composition{position:relative;aspect-ratio:1368/1044;width:100%;container-type:inline-size}
.hero h1{position:absolute;inset:0 0 auto;margin:0;text-align:center;font-family:'Actay Wide',Arial,sans-serif;font-size:15.2cqw;font-weight:700;line-height:1;letter-spacing:-.078em}
.hero h1 em{display:block;font-family:'Times New Roman',serif;font-size:16cqw;font-weight:400;line-height:1.03;letter-spacing:-.065em;text-align:center;margin:0 0 1.1cqw}
.hero h1>span{display:block}
.hero .chips{position:absolute;inset:0;width:100%;height:100%;margin:0;container-type:normal}
.hero .chip{font-family:Actay,Arial,sans-serif;font-size:3cqw;line-height:1;white-space:nowrap;padding:0;height:7.6cqw;border:1px solid #d8cec8;background:transparent;transform:rotate(var(--angle));transition:filter .2s;will-change:auto}
.hero .orange{background:#ee5b00;border-color:#ee5b00}
.hero .chip-1{left:18.2%;right:auto;top:47.2%;width:16.5%;--angle:18deg}
.hero .chip-2{left:30.9%;right:auto;top:56.7%;width:18%;--angle:-9deg}
.hero .chip-3{left:1.9%;right:auto;top:62.9%;width:29%;--angle:6deg}
.hero .chip-4{left:45.7%;right:auto;top:70.7%;width:36.3%;--angle:30deg;z-index:2}
.hero .chip-5{left:67%;right:auto;top:60.2%;width:27.8%;--angle:-24deg}
.hero .chip-6{left:30%;right:auto;top:69%;width:18.1%;--angle:-25deg}
.hero .chip-7{left:7.9%;right:auto;top:83%;width:30.6%;--angle:-3deg}
.hero .chip-8{left:38.4%;right:auto;top:81%;width:28.7%;--angle:6deg}
.hero .chip-9{left:70%;right:auto;top:89%;width:23.4%;--angle:-21deg}
.hero .chip:hover,.hero .chip:focus-visible{animation:chip-sway .75s ease-in-out infinite;filter:brightness(1.1)}
@keyframes chip-sway{0%,100%{transform:rotate(var(--angle))}30%{transform:translateY(-1px) rotate(calc(var(--angle) + 1.5deg))}70%{transform:translateY(1px) rotate(calc(var(--angle) - 1deg))}}
.filter,.tags span,.tags>a,.project-card h3,.project-card p{font-family:Actay,Arial,sans-serif;font-weight:400}
.project-card h3{font-size:clamp(20px,2.15vw,40px);line-height:1.25}.project-card.mobile h3{font-size:clamp(20px,2.15vw,40px)}
/* Прозрачность по двум краям убирает прямоугольную границу изображения. */
.project-card.product img{mask-image:linear-gradient(to bottom,transparent,#000 24%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 24%);height:88%;width:56%;object-fit:contain;object-position:right bottom}
.contacts{scroll-margin-top:0}
.inner .header{margin:0}.inner .case-main{padding-top:155px}
@media(min-width:1600px){.header{top:24px;padding:20px 34px;border-radius:38px}.header .logo{width:129px}.header nav a{font-size:24px;padding:10px 37px}.hero{padding-top:185px}}
@media(max-width:900px){.hero{width:82%;padding-top:125px}.header{width:94%}.header nav a{padding:8px 18px}}
@media(max-width:600px){html{scroll-padding-top:90px}.header{top:10px;width:94%;padding:10px 12px;border-radius:20px;gap:10px}.header .logo{width:60px}.header nav{gap:5px}.header nav a{font-size:12px;padding:7px 9px}.hero{width:94%;padding:115px 0 55px;min-height:0}.hero h1{font-size:15.2cqw;line-height:1}.hero h1 em{font-size:16cqw;line-height:1.03;margin:0 0 1.1cqw}.hero .chip{font-size:3cqw;height:7.6cqw;min-height:0}.project-card h3,.project-card.mobile h3{font-size:17px;margin:18px 14px}.project-card p{font-size:12px}.inner .case-main{padding-top:120px}.project-card.product img{height:85%;width:58%}}
@media(prefers-reduced-motion:reduce){.hero .chip:hover,.hero .chip:focus-visible{animation:none}}
/* Маска начинается у самого растра, без пустого поля object-fit. */
.hero h1{font-size:16.5cqw}
.project-card.product img{height:auto;max-height:88%;object-fit:fill;mask-image:linear-gradient(to bottom,transparent,#000 23%),linear-gradient(to right,transparent,#000 13%);mask-composite:intersect;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 23%),linear-gradient(to right,transparent,#000 13%);-webkit-mask-composite:source-in}
/* Контакты начинаются у верхнего края окна под стеклянной навигацией. */
html:has(#contacts:target){scroll-padding-top:0}
.contacts{min-height:100svh}
.case-link h2,.case-link p,.case-link>div>span{font-family:Actay,Arial,sans-serif;font-weight:400}

/* Единые пропорции превью во всех каталогах и результатах фильтрации. */
.case-link>img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:1.9;object-fit:cover;object-position:center}
