/* A mobile layout with comfortable type, touch controls and the same printed character. */
@media(max-width:767px){
 html{scroll-padding-top:90px}
 body{font-size:16px;line-height:1.5}
 .header{position:sticky;top:0;min-height:72px;padding:10px 20px;gap:12px;box-shadow:0 3px 12px #0002;isolation:isolate}
 .header:after{bottom:-5px;height:9px}
 .header .logo{font-size:31px;letter-spacing:-1px}
 .header .button.small{font-size:12px;min-height:44px;padding:10px 13px;gap:10px;line-height:1.2;margin-left:auto}
 .header .button span{font-size:20px}
 .menu{width:44px;height:44px;min-width:44px;border:1px solid #79766c;display:flex;align-items:center;justify-content:center;font-size:0;position:relative}
 .menu:before,.menu:after{content:"";position:absolute;width:19px;height:2px;background:#eee9df;left:11px;transition:transform .2s}
 .menu:before{top:15px;box-shadow:0 6px 0 #eee9df}
 .menu:after{top:27px}
 .menu[aria-expanded=true]:before{top:21px;transform:rotate(45deg);box-shadow:none}
 .menu[aria-expanded=true]:after{top:21px;transform:rotate(-45deg)}
 .mobile-nav{position:fixed;top:72px;left:0;right:0;width:100%;padding:18px 24px 25px;z-index:25;background:#171914 url(assets/ink.svg);border-bottom:3px solid #df3a14;box-shadow:0 15px 30px #0004}
 .mobile-nav a{font:500 24px/1.2 Oswald;padding:16px 0;border-bottom:1px solid #ffffff26;min-height:52px}
 .mobile-nav a:last-child{color:#ff794f}
 .hero{display:flex;flex-direction:column}
 .hero-copy{padding:35px 24px 29px}
 .hero h1{font-size:clamp(47px,15.6vw,84px);letter-spacing:-1.7px;line-height:1.02;width:125%;margin:0 0 26px;transform:rotate(-3deg)}
 .hero h1>span{transform:scaleX(.84)}
 .hero h1>span:nth-child(3){font-size:.74em;letter-spacing:-1px}
 .hero-note{top:32px;right:8%;font-size:12px;width:72px;line-height:1.45;transform:rotate(-10deg)}
 .hero-note img{width:31px;height:25px;margin-left:32px}
 .intro{font-size:17px;line-height:1.4;font-weight:550;transform:none;width:100%;margin-bottom:22px}
 .hero-copy>.button{font-size:16px;min-height:54px;padding:16px 23px;transform:rotate(-2deg);gap:26px;max-width:100%}
 .hero-copy>.button span{font-size:23px}
 .hero-image{height:270px;width:calc(100% - 32px);margin:0 16px;inset:auto;position:relative}
 .hero-image img{object-position:center 45%;mask-size:100% 100%}
 .hero-image:before{left:-6px;top:0;bottom:0;width:37px;transform:none;background:url(assets/source-orange-ref.svg) center/100% 100%}
 .hero-image figcaption{font-size:9px;line-height:1.2;padding:5px 7px;bottom:12px;right:10px}
 .reassurance{margin:-2px 8px 0;padding:22px 17px 25px;gap:19px;transform:none}
 .reassurance article{gap:15px;align-items:flex-start}
 .reassurance .line-icon{width:48px;min-width:48px;height:48px;object-fit:contain;transform:rotate(-3deg);margin-top:2px}
 .reassurance h2{font-size:16px;line-height:1.25;font-weight:650;margin-bottom:5px;letter-spacing:-.3px}
 .reassurance p{font-size:14px;line-height:1.45;color:#47443d;max-width:470px}
 .reassurance h2 br,.reassurance p br{display:none}
 .section{margin-left:16px;margin-right:16px;padding:31px 8px}
 .services{padding-top:7px;padding-bottom:34px}
 .service-grid{grid-template-columns:1fr;gap:25px}
 .service{padding:0 9px 18px;filter:drop-shadow(0 3px 2px #0002)}
 .service:before{inset:-3px -3px 0}
 .service-photo{aspect-ratio:1.7;margin:0 -4px}
 .service-photo img{object-position:center 50%}
 .service h3{font-size:34px;margin:-27px 0 16px;padding:9px 15px;letter-spacing:-.6px}
 .service>p{font-size:15px;line-height:1.5;padding:0 5px;max-width:95%}
 .service .image-label{bottom:32px;right:9px;font-size:9px;padding:3px 5px}
 .service .text-button{position:relative;inset:auto;width:calc(100% - 10px);margin:14px 5px 0;border:0;border-top:1px solid #b5ada0;padding:12px 0 0;min-height:44px;font-size:14px;color:#ad2b0d;background:transparent;display:flex;justify-content:space-between;align-items:center;text-align:left;text-decoration:none;line-height:1.3}
 .service .text-button span{font-size:22px}
 .service .text-button:hover{color:#84220e;background:transparent}
 .service .text-button:focus-visible{outline-offset:4px}
 .leaf{right:-8px;bottom:8px;width:39px;height:65px;opacity:.8}
 .section h2{font-size:clamp(37px,10.6vw,53px);line-height:1.03;letter-spacing:-.7px}
 .section-heading{margin-bottom:30px}
 .underline:after{height:6px;bottom:-8px;right:-3px}
 .process{padding-top:9px;padding-bottom:31px}
 .process .section-heading{margin-bottom:32px}
 .steps{grid-template-columns:1fr 1fr;gap:12px}
 .steps li{min-height:280px;padding:17px 13px 78px;transform:rotate(-.6deg)}
 .steps li:nth-child(even){transform:rotate(.6deg)}
 .steps li>span{font-size:58px;line-height:1;margin:0 8px 0 0}
 .steps h3{font-size:18px;line-height:1.12;min-height:55px;margin-bottom:13px;letter-spacing:0}
 .steps p{font-size:13px;line-height:1.45}
 .steps p br{display:none}
 .step-art{width:68px;height:58px;bottom:11px;right:24%;object-fit:contain;transform:none}
 .steps li:nth-child(2) .step-art{width:85px;height:58px;right:17%}
 .steps li:nth-child(3) .step-art{width:86px;height:58px;right:16%}
 .steps li:nth-child(4) .step-art{width:83px;height:64px;right:18%}
 .steps:after{display:none}
 .works{padding-top:13px;padding-bottom:29px}
 .works .section-heading{margin-bottom:10px;display:flex;align-items:center;gap:10px}
 .works .section-heading>div{min-width:0;flex:1}
 .works .section-heading h2{white-space:nowrap;font-size:clamp(33px,9.2vw,47px)}
 .works .section-heading>p{font-size:0;flex:none;margin:0;transform:rotate(-10deg)}
 .works .section-heading>p img{width:44px;height:44px;min-width:0;margin:0;transform:none}
 .work-grid{display:grid;grid-auto-flow:column;grid-auto-columns:82%;grid-template-columns:none;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:23px 12px 22px;margin:0 -8px;scrollbar-width:thin;scrollbar-color:#a9957f transparent}
 .placeholder{aspect-ratio:1.8;outline-width:8px;outline-offset:0;margin:8px;scroll-snap-align:start;scroll-margin-left:12px}
 .placeholder p{font-size:17px;max-width:170px;line-height:1.3;margin-top:4px}
 .placeholder-icon{width:46px;height:46px;opacity:.65}
 .placeholder:before{width:65px;height:22px;right:-18px;top:-12px}
 .placeholder:first-child:before{left:-17px;bottom:-9px}
 .works:before{content:"Фотографии добавим позже · листайте →";display:block;position:static;font-size:12px;color:#625b50;margin:0 0 12px;order:2}
 .works{display:flex;flex-direction:column}
 .works .section-heading{order:0}
 .works .work-grid{order:1}
 .contact{margin:0 8px;padding:30px 16px 35px;grid-template-columns:1fr;gap:27px}
 .contact h2{font-size:clamp(45px,12.5vw,64px);line-height:1.03;letter-spacing:-1px;margin-bottom:28px}
 .contact-intro{font-size:15px;line-height:1.5;max-width:100%}
 .contact-arrow,.contact .hand{display:none}
 .contact form{padding:0}
 .contact form>label,.form-row label{font-size:14px;line-height:1.4;font-weight:550;margin-bottom:8px}
 .contact textarea,.contact input{font-size:16px;line-height:1.5;padding:13px 12px;border:1px solid #a9a193;background:#f7f4edc9;border-radius:2px;min-height:48px;box-shadow:inset 0 1px 2px #00000005}
 .contact textarea{min-height:120px}
 .contact input::placeholder,.contact textarea::placeholder{font-size:14px;color:#797368}
 .form-row{gap:18px;margin:18px 0 22px;grid-template-columns:1fr}
 .contact form>.button{min-height:54px;font-size:16px;padding:16px 18px;justify-content:space-between}
 .contact form>.button span{font-size:24px}
 .form-note{font-size:12px;line-height:1.5;margin-top:12px;color:#655e51}
 .contact form>p#selected-service{font-size:13px;background:#df3a1412;padding:8px 10px;margin-bottom:16px;border-left:2px solid #d43a17}
 #result{padding:16px;margin-top:20px;scroll-margin-top:96px}
 #result h3{font:600 24px/1.2 Oswald;margin-bottom:10px}
 #result p{font-size:14px;line-height:1.5}
 #result textarea{min-height:190px}
 #copy{min-height:46px;font-size:14px;text-align:left;align-items:center}
 main:before,main:after{width:12px;opacity:.65}
 .services:before{left:-23px;top:190px;width:20px;height:120px}
 .services:after{right:-23px;top:20px;width:22px;height:110px}
 .works:after{display:none}
 footer{padding:25px 24px 22px;gap:20px;align-items:center}
 footer .logo{font-size:31px}
 footer .button.small{font-size:12px;min-height:44px;padding:11px 14px;white-space:nowrap}
 footer small{font-size:10px;line-height:1.4;color:#b9b2a6}
}
@media(min-width:481px) and (max-width:767px){
 .hero-copy{padding:41px 36px 32px}
 .hero h1{font-size:clamp(74px,13.3vw,94px);width:120%;max-width:770px}
 .hero-note{right:12%;top:45px;font-size:16px;width:95px}
 .hero-image{height:345px;margin:0 24px;width:calc(100% - 48px)}
 .reassurance{padding-left:29px;padding-right:29px}
 .reassurance article{gap:22px}
 .reassurance .line-icon{width:58px;min-width:58px;height:58px}
 .reassurance h2{font-size:18px}
 .reassurance p{font-size:15px}
 .section{margin-left:25px;margin-right:25px;padding-left:11px;padding-right:11px}
 .service-photo{aspect-ratio:1.95}
 .service h3{font-size:40px}
 .steps li{min-height:265px;padding:20px 20px 85px}
 .steps p{font-size:15px}
 .steps h3{font-size:22px}
 .steps li>span{font-size:68px}
 .contact{margin:0 18px;padding:35px 20px}
 .contact h2{font-size:64px}
 .contact textarea{min-height:115px}
 .contact-intro{font-size:16px}
 .work-grid{grid-auto-columns:66%}
}
@media(max-width:359px){
 .header{padding-left:16px;padding-right:16px;gap:9px}
 .header .logo{font-size:27px}
 .header .button.small{display:none}
 .menu{margin-left:auto}
 .hero-copy{padding-left:20px;padding-right:20px}
 .hero h1{font-size:15.6vw}
 .hero-note{font-size:10px;right:9%;width:62px}
 .intro{font-size:15px}
 .hero-copy>.button{font-size:14px;width:100%;padding-left:18px;padding-right:18px}
 .hero-image{height:235px}
 .reassurance{padding-left:13px;padding-right:13px}
 .reassurance article{gap:12px}
 .reassurance .line-icon{width:42px;min-width:42px;height:44px}
 .reassurance h2{font-size:15px}
 .reassurance p{font-size:13px}
 .section{margin-left:12px;margin-right:12px}
 .steps{grid-template-columns:1fr}
 .steps li{min-height:170px;padding:18px 20px 22px}
 .steps li>span{font-size:62px}
 .steps h3{font-size:23px;min-height:56px;margin-bottom:13px}
 .steps p{font-size:14px;padding-right:50px}
 .step-art,.steps li:nth-child(2) .step-art,.steps li:nth-child(3) .step-art,.steps li:nth-child(4) .step-art{width:53px;height:47px;bottom:15px;right:13px}
 .contact{padding-left:14px;padding-right:14px}
 .contact h2{font-size:44px}
 footer{padding-left:20px;padding-right:20px}
 footer .logo{font-size:26px}
 footer .button.small{font-size:10px;padding:10px}
}
