/* One canonical footer across every portfolio and case page, based on Home. */
footer.samsel-site-footer{
  display:block!important;position:relative;clear:both;width:100%!important;
  margin:0!important;padding:150px 0 32px!important;min-height:0;
  border:0!important;border-radius:0!important;background:#111318!important;
  color:#fff!important;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,Arial,sans-serif!important;
  font-weight:400!important;text-align:left!important;
  -webkit-font-smoothing:antialiased;overflow:hidden;isolation:isolate;
}
footer.samsel-site-footer,footer.samsel-site-footer *{box-sizing:border-box}
footer.samsel-site-footer .wrap{
  display:block;width:min(1200px,calc(100% - 60px))!important;max-width:1400px!important;
  margin:0 auto!important;padding:0!important;position:relative;
}
footer.samsel-site-footer h2{
  font-family:inherit!important;color:#fff!important;
  font-size:clamp(72px,9.5vw,152px)!important;line-height:.86!important;
  letter-spacing:-.07em!important;font-weight:700!important;text-transform:none!important;
  max-width:1380px!important;margin:0 0 130px!important;padding:0!important;
  overflow-wrap:break-word;
}
footer.samsel-site-footer .footer-actions{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  gap:70px!important;align-items:end!important;justify-items:stretch!important;
  padding:0!important;margin:0!important;border:0!important;
}
footer.samsel-site-footer .footer-pill{
  appearance:none;display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:14px;width:min(520px,100%)!important;max-width:100%!important;
  min-height:96px!important;height:96px!important;border:1px solid rgba(255,255,255,.7)!important;
  border-radius:50px!important;padding:0 18px 0 34px!important;
  background:transparent!important;color:#fff!important;text-decoration:none!important;
  font-family:inherit!important;font-weight:500!important;font-size:20px!important;line-height:1!important;
  letter-spacing:normal!important;text-transform:none!important;white-space:nowrap;
  transition:background .28s ease,color .28s ease!important;
}
footer.samsel-site-footer .footer-pill span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}
footer.samsel-site-footer .footer-pill i{
  flex:0 0 58px;display:grid!important;place-items:center!important;
  width:58px!important;height:58px!important;background:#fff!important;color:#111318!important;
  border-radius:50%!important;font-size:22px!important;font-style:normal!important;
  transition:transform .35s cubic-bezier(.2,.7,.2,1),background .28s ease,color .28s ease!important;
}
footer.samsel-site-footer .footer-pill:hover{background:#fff!important;color:#111318!important}
footer.samsel-site-footer .footer-pill:hover i{
  background:#111318!important;color:#fff!important;transform:rotate(45deg)
}
footer.samsel-site-footer .footer-pill:focus-visible{outline:2px solid #fff!important;outline-offset:5px!important}
footer.samsel-site-footer .footer-meta{
  color:#9499a1!important;font-family:inherit!important;
  font-size:13px!important;font-weight:600!important;line-height:1.55!important;
  text-align:right!important;letter-spacing:normal!important;text-transform:none!important;
  margin:0!important;padding:0!important;
}
footer.samsel-site-footer .footer-bottom{
  display:flex!important;flex-direction:row!important;align-items:flex-start!important;
  justify-content:space-between!important;gap:35px!important;
  margin:120px 0 0!important;padding:22px 0 0!important;
  border:0!important;border-top:1px solid rgba(255,255,255,.12)!important;
  color:#898f98!important;font-family:inherit!important;font-size:13px!important;
  font-weight:700!important;line-height:1.55!important;text-align:left!important;
}
footer.samsel-site-footer .footer-bottom span{color:inherit!important;font:inherit!important}
footer.samsel-site-footer .footer-bottom span:last-child{max-width:420px;text-align:right!important}
@media(max-width:900px){
  footer.samsel-site-footer{padding:100px 0 26px!important}
  footer.samsel-site-footer .wrap{width:calc(100% - 36px)!important}
  footer.samsel-site-footer h2{font-size:58px!important;line-height:.9!important;letter-spacing:-.052em!important;margin-bottom:76px!important}
  footer.samsel-site-footer .footer-actions{grid-template-columns:1fr!important;gap:32px!important}
  footer.samsel-site-footer .footer-pill{height:76px!important;min-height:76px!important;font-size:16px!important;padding-left:24px!important}
  footer.samsel-site-footer .footer-pill i{flex-basis:46px;width:46px!important;height:46px!important}
  footer.samsel-site-footer .footer-meta{text-align:left!important}
  footer.samsel-site-footer .footer-bottom{margin-top:74px!important}
}
@media(max-width:560px){
  footer.samsel-site-footer{padding:88px 0 26px!important}
  footer.samsel-site-footer .wrap{width:calc(100% - 28px)!important}
  footer.samsel-site-footer h2{font-size:clamp(48px,11.4vw,58px)!important;line-height:.91!important;margin-bottom:66px!important}
  footer.samsel-site-footer .footer-pill{max-width:100%!important;width:100%!important}
  footer.samsel-site-footer .footer-bottom{flex-direction:column!important;gap:8px!important}
  footer.samsel-site-footer .footer-bottom span:last-child{text-align:left!important}
}
@media(prefers-reduced-motion:reduce){
  footer.samsel-site-footer .footer-pill,
  footer.samsel-site-footer .footer-pill i{transition:none!important}
}
/* Replace only old Tilda corporate footer; the preceding next-project card stays. */
#allrecords > #rec836855977,#allrecords > #rec836855978{display:none!important}

/* SAMSEL / Collaborate: layout reproduced from donor I’MON #collaborate popup. */
.sc-collaborate{position:fixed;inset:0;z-index:300000;background:#fff;color:#1c1d1f;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;display:none;opacity:0;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','SF Pro Text',Inter,Arial,sans-serif;font-weight:400;font-size:16px;-webkit-font-smoothing:antialiased}
.sc-collaborate,.sc-collaborate *{box-sizing:border-box}
/* Modal stays mounted during the close animation so it can fade out completely. */
.sc-collaborate[data-state='opening'],
.sc-collaborate[data-state='open'],
.sc-collaborate[data-state='closing']{display:block}
.sc-collaborate[data-state='open']{opacity:1;transform:translate3d(0,0,0)}
.sc-collaborate[data-state='opening']{
  animation:sc-collab-arrive .58s cubic-bezier(.22,.78,.2,1) both
}
.sc-collaborate[data-state='closing']{
  pointer-events:none;
  animation:sc-collab-leave .42s cubic-bezier(.45,0,.78,.42) both
}
@keyframes sc-collab-arrive{
  from{opacity:0;transform:translate3d(0,20px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@keyframes sc-collab-leave{
  from{opacity:1;transform:translate3d(0,0,0)}
  to{opacity:0;transform:translate3d(0,15px,0)}
}
.sc-collaborate .sc-wrap{width:min(1200px,calc(100% - 80px));margin:0 auto;min-height:max(1050px,100dvh);padding:96px 0 72px}
.sc-collaborate .sc-top{display:flex;align-items:center;justify-content:space-between;gap:15px}
.sc-collaborate .sc-tag{background:#e9eaed;border-radius:40px;min-height:42px;padding:0 18px;display:flex;align-items:center;white-space:nowrap;font-size:12px;font-weight:700}
.sc-collaborate .sc-close{appearance:none;border:1px solid #1c1d1f;background:transparent;border-radius:40px;min-height:42px;padding:0 17px;color:inherit;font-family:inherit;font-size:12px;font-weight:500;line-height:1;cursor:pointer;white-space:nowrap;transition:background .22s ease,color .22s ease}
.sc-collaborate .sc-close:hover{background:#1c1d1f;color:#fff}
.sc-collaborate .sc-main{display:grid;grid-template-columns:minmax(0,520px) minmax(0,592px);gap:88px;margin-top:44px;align-items:start}
.sc-collaborate .sc-intro h2{margin:0;font-size:56px;letter-spacing:-.062em;line-height:1.04;font-weight:700;color:#1b1c1e;max-width:540px}
.sc-collaborate .sc-intro h2 em{font-style:normal;color:#aeb5c0}
.sc-collaborate .sc-mobile-br{display:none}
.sc-collaborate .sc-subtitle{font-size:20px;line-height:1.45;letter-spacing:-.023em;max-width:490px;margin:23px 0 0}
.sc-collaborate .sc-contacts{display:grid;grid-template-columns:130px minmax(0,1fr);row-gap:23px;margin-top:69px;align-items:center;font-size:23px;letter-spacing:-.035em}
.sc-collaborate .sc-contact-label{font-size:23px;line-height:1.4;color:#27282a}
.sc-collaborate .sc-contact-value{display:flex;align-items:center;gap:10px;min-width:0}
.sc-collaborate .sc-contact-value a{color:#1b1c1e!important;text-decoration:none!important;font-weight:600!important;font-size:23px!important;letter-spacing:-.06em;white-space:nowrap}
.sc-collaborate .sc-contact-value a:hover{text-decoration:underline!important}
.sc-collaborate .sc-contact-arrow{border-radius:100%;width:28px;height:28px;display:grid;place-items:center;background:#e9eaee;color:#17181b;font-size:13px;flex:none}
.sc-collaborate .sc-form{margin:0;min-width:0}
.sc-collaborate .sc-field,.sc-collaborate .sc-textarea-field{position:relative;display:block;margin:0}
.sc-collaborate .sc-field-title{display:block;color:#969ba3;font-size:20px;line-height:1.2;margin-bottom:9px}
.sc-collaborate .sc-select,.sc-collaborate .sc-input,.sc-collaborate .sc-message{display:block;width:100%;min-width:0;border:0!important;border-bottom:1px solid #b4b5b8!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#1b1c1e!important;outline:none;padding:10px 0 13px;font-family:inherit;font-size:16px;font-weight:400;line-height:1.35;letter-spacing:-.01em;appearance:none;-webkit-appearance:none}
.sc-collaborate .sc-select{height:41px;padding:6px 24px 12px 0;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%231b1c1e' d='m2 2 5 6 5-6z'/%3E%3C/svg%3E")!important;background-position:right center!important;background-repeat:no-repeat!important}
.sc-collaborate .sc-select:invalid{color:#323336}
.sc-collaborate .sc-select option{color:#1b1c1e}
.sc-collaborate .sc-message{height:85px;min-height:85px;resize:none;padding-top:10px}
.sc-collaborate .sc-message::placeholder,.sc-collaborate .sc-input::placeholder{color:#96999e;opacity:1}
.sc-collaborate .sc-select:focus-visible,.sc-collaborate .sc-input:focus-visible,.sc-collaborate .sc-message:focus-visible{border-bottom-color:#1b1c1e!important;border-bottom-width:2px!important}
.sc-collaborate .sc-description{margin-top:39px}
.sc-collaborate .sc-file-wrap{margin-top:27px;min-height:40px;display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.sc-collaborate .sc-file-button{display:inline-flex;align-items:center;justify-content:center;min-height:39px;background:#1a1b1d;border-radius:24px;color:#fff!important;padding:0 21px;cursor:pointer;font-size:16px;white-space:nowrap;transition:background .2s ease}
.sc-collaborate .sc-file-button:hover{background:#414448}
.sc-collaborate .sc-file-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.sc-collaborate .sc-file-button:focus-within{outline:2px solid #1c1d1f;outline-offset:3px}
.sc-collaborate .sc-file-names{font-size:12px;color:#62676e;max-width:360px;overflow-wrap:anywhere}
.sc-collaborate .sc-name{margin-top:89px}
.sc-collaborate .sc-input{height:50px;padding:12px 0 10px}
.sc-collaborate .sc-contact-hint{font-size:13px;color:#969ba3;margin:26px 0 25px}
.sc-collaborate .sc-ways{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:28px}
.sc-collaborate .sc-ways .sc-input{height:50px}
.sc-collaborate .sc-agree{display:flex;align-items:flex-start;gap:10px;color:#868b91;font-size:13px;line-height:1.2;margin-top:28px;cursor:pointer;max-width:550px}
.sc-collaborate .sc-agree input{width:19px;height:19px;flex:0 0 19px;accent-color:#1c1d1f;cursor:pointer;margin:1px 0 0}
.sc-collaborate .sc-submit{appearance:none;border:none;border-radius:999px;min-width:254px;height:65px;background:#1b1c1e;color:#fff;font-family:inherit;font-size:16px;font-weight:600;line-height:1;padding:0 28px;cursor:pointer;transition:background .25s ease,transform .25s ease;margin-top:59px}
.sc-collaborate .sc-submit:hover{background:#3c3e42;transform:translateY(-2px)}
.sc-collaborate .sc-status{font-size:13px;line-height:1.45;color:#535960;max-width:470px;min-height:18px;margin:14px 0 0}
.sc-collaborate .sc-privacy-note{font-size:12px;color:#82868c;margin-top:12px;max-width:550px}
.sc-collaborate :focus-visible{outline:2px solid #24262a;outline-offset:3px}
@media(max-width:959px){.sc-collaborate .sc-wrap{width:calc(100% - 40px);padding-top:35px;padding-bottom:66px;min-height:100dvh}.sc-collaborate .sc-main{grid-template-columns:1fr;gap:73px;margin-top:32px}.sc-collaborate .sc-intro h2{font-size:clamp(40px,5.8vw,56px);line-height:1.03;letter-spacing:-.056em}.sc-collaborate .sc-subtitle{margin-top:13px;font-size:18px;line-height:1.4}.sc-collaborate .sc-contacts{margin-top:48px;font-size:16px;grid-template-columns:111px minmax(0,1fr);row-gap:15px}.sc-collaborate .sc-contact-label{font-size:16px}.sc-collaborate .sc-contact-value a{font-size:17px!important}.sc-collaborate .sc-contact-arrow{margin-left:auto}.sc-collaborate .sc-field-title{font-size:18px}.sc-collaborate .sc-description{margin-top:39px}.sc-collaborate .sc-file-wrap{margin-top:27px}.sc-collaborate .sc-name{margin-top:99px}.sc-collaborate .sc-ways{grid-template-columns:1fr;gap:24px}.sc-collaborate .sc-submit{width:100%;margin-top:38px}.sc-collaborate .sc-agree{margin-top:28px}.sc-collaborate .sc-contact-hint{margin:26px 0 25px}}
@media(max-width:520px){.sc-collaborate .sc-tag{padding:0 14px;min-height:42px;font-size:11px;white-space:normal}.sc-collaborate .sc-close{padding:0 15px}.sc-collaborate .sc-intro h2{font-size:40px}.sc-collaborate .sc-contacts{grid-template-columns:111px minmax(0,1fr)}.sc-collaborate .sc-contact-value a{font-size:17px!important}.sc-collaborate .sc-file-button{font-size:14px}.sc-collaborate .sc-privacy-note{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.sc-collaborate[data-state='opening'],.sc-collaborate[data-state='closing']{animation:none!important}.sc-collaborate .sc-submit,.sc-collaborate .sc-close,.sc-collaborate .sc-file-button{transition:none!important}}

@media(max-width:520px){.sc-collaborate .sc-mobile-br{display:initial}.sc-collaborate .sc-desktop-br{display:none}.sc-collaborate .sc-main{margin-top:28px;gap:63px}.sc-collaborate .sc-subtitle{margin-top:11px}.sc-collaborate .sc-contacts{margin-top:44px}}

/* The public form now submits automatically to the secure mail relay. */
.sc-collaborate .sc-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.sc-collaborate .sc-submit[disabled]{cursor:wait;opacity:.65;transform:none!important}
.sc-collaborate .sc-status[data-state='success']{color:#236b4a}
.sc-collaborate .sc-status[data-state='error']{color:#b32a2a}


/* Russian typography: compact two-line invitation, balanced on all screens.
   The English typography and form grid are left untouched. */
html[lang="ru"] footer.samsel-site-footer h2{
  max-width:1180px!important;
  line-height:.91!important;
  letter-spacing:-.061em!important;
  text-wrap:balance;
}
.sc-collaborate[lang="ru"] .sc-intro h2{
  max-width:540px;
  font-size:clamp(54px,4.9vw,66px);
  line-height:.99;
  letter-spacing:-.058em;
  text-wrap:balance;
}
.sc-collaborate[lang="ru"] .sc-subtitle{
  max-width:460px;
  margin-top:22px;
}
.sc-collaborate[lang="ru"] .sc-contacts{margin-top:58px}
@media(max-width:959px){
  .sc-collaborate[lang="ru"] .sc-intro h2{font-size:clamp(44px,6vw,60px)}
  .sc-collaborate[lang="ru"] .sc-contacts{margin-top:48px}
}
@media(max-width:520px){
  html[lang="ru"] footer.samsel-site-footer h2{
    font-size:clamp(43px,10.8vw,58px)!important;
    line-height:.96!important;
    margin-bottom:54px!important;
  }
  .sc-collaborate[lang="ru"] .sc-intro h2{
    font-size:clamp(43px,11vw,49px);
    line-height:.99;
    letter-spacing:-.06em;
  }
  .sc-collaborate[lang="ru"] .sc-subtitle{margin-top:17px}
  .sc-collaborate[lang="ru"] .sc-contacts{margin-top:40px}
}
